:root {
    --accent: #ab5557;
    --bg: #f3f2ed;
    --card-bg: transparent;
    --text-main: #2c2c2c;
    --text-muted: #666666;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --max-width: 1120px;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

#preloader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #f3f2ed !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999 !important;
}

.logo {
  width: 150px;
  height: auto;
}

#preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease-out 0.7s !important;
}


/* Seite / Layout */
.page {
    min-height: 100vh;
    padding: 24px 16px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.shell {
    width: 100%;
    max-width: var(--max-width);
    background: var(--bg);
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    padding: 16px 20px 32px;
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-height) + 16px); 
}

/* FIXED HEADER */
.site-header-wrapper {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    z-index: 50;
    pointer-events: none;
}

.header {
    pointer-events: auto;
    padding: 10px 24px;
    border-radius: 40px;
    background: rgba(243, 242, 237, 0.96);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: var(--header-height);
}

.nav-desktop {
    display: flex;
}

.hamburger {
    display: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: transparent;
    flex-shrink: 0;
    position: relative;
}

.logo-placeholder img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 32px;
    width: auto;
    border-radius: 0;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

nav a {
    color: var(--text-muted);
    padding: 6px 0;
    border-radius: 999px;
}

nav a:hover {
    color: var(--text-main);
}

.nav-contact-btn {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(171, 85, 87, 0.35);
}

.nav-contact-btn:hover {
    opacity: 0.92;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(243, 242, 237, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 0 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 55;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.menu-link {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-main);
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(102,102,102,0.2);
}

.menu-link:hover {
    color: var(--accent);
}

.menu-contact {
    background: var(--accent);
    color: white !important;
    border-radius: var(--radius-pill);
    padding: 14px 24px !important;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(171,85,87,0.3);
}

/* Overlay backdrop */
.mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: -1;
}

.mobile-menu.active::before {
    opacity: 1;
    visibility: visible;
}

/* MAIN */
main {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 4px;
}

section {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 28px 26px;
}

.card.tight {
    padding: 24px 22px;
}

.card-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
}

.contact-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 28px 26px;
}

/* HOME */
#home {
    padding: 0;
    overflow: hidden;
}

.hero-logo-area {
    flex: 1;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 20px 0;
    color: var(--text-muted);
    font-size: 18px;
    background: transparent;
    padding: 360px 80px;
}

.hero-logo-area img {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    border-radius: 0px;
}

.hero-bottom {
    padding: 20px 20px 24px;
}

.therapists-photo-full {
    width: 100%;
    height: 500px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.therapists-photo-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top 80%;
    display: block;
}

.therapists-photo-full::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.therapists-names-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 16px 0 20px;
    width: 100%;
}

.therapist-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
    text-align: center;
    flex: 1;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.therapist-name:hover {
    color: var(--accent);
}

.home-blurb-box {
    margin-top: 18px;
    background: #fbfaf7;
    border-radius: 22px;
    padding: 16px 18px;
    border: 1px solid #efe6dd;
    text-align: center;
}

.home-blurb {
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 16px;
}

.contact-form-fullwidth {
    grid-column: 1 / -1;
}

label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

input,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e2ddd6;
    padding: 10px 11px;
    font-size: 14px;
    background: #fbfaf7;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(171, 85, 87, 0.25);
    background: #ffffff;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(171, 85, 87, 0.32);
    width: 100%;
}

.btn-primary:hover {
    opacity: 0.93;
}

.contact-card {
  text-align: left;
}

.contact-cta {
  margin-top: 24px;
  text-align: center;
}

.location-section {
  gap: 32px;
}

.map-container {
  margin-bottom: 24px
}

/* SCHWERPUNKTE */
.focus-heading {
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
}

.focus-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.focus-item {
    background: #fbfaf7;
    border-radius: 22px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.focus-image {
    height: 220px;
    border-radius: 18px;
    background: #f4edea;
}

.focus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.focus-title {
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.focus-text {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* INFO */
.info-text {
    margin-top: 10px;
    min-height: 140px;
    color: var(--text-muted);
    font-size: 15px;
}

.info-subcard {
  background: #fbfaf7;
  border-radius: 22px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid #efe6dd;
}

.info-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.info-subcard p {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ÜBER UNS */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.person-card {
    background: #fbfaf7;
    border-radius: 24px;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.person-photo {
    background: #f4edea;
    border-radius: 20px;
    height: 400px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.person-name {
    font-weight: 600;
    font-size: 16px;
}

.person-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* GALLERIE */
.gallery-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-item {
    background: #f4edea;
    border-radius: 18px;
    height: 200px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    display: block;
}

/* Kontaktformular */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 16px;
}

.contact-form-fullwidth {
    grid-column: 1 / -1;
}

label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

/* MAP */
.map-container {
  position: relative;
  height: 0;
  padding-bottom: 65.25%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(171, 85, 87, 0.12);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.transport-info {
  background: #fbfaf7;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #efe6dd;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transport-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.transport-item {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.transport-item strong {
  color: var(--text-main);
}



/* FOOTER */
.site-footer {
  width: 100%;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid #e2ddd6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}


/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .page {
        padding: 32px 24px 64px;
        gap: 40px;
    }
    
    .shell {
        padding: 24px 32px 48px;
    }
    
    .header {
        padding: 16px 32px;
        justify-content: space-between;
    }
    
    .hero-logo-area {
        padding: 280px 120px;
    }
    
    .therapists-photo-full {
        height: 400px;
    }
    
    .focus-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .location-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .person-photo {
        height: 300px;
    }
    
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
    .page {
        padding: 40px 32px 72px;
    }
    
    .shell {
        padding: 32px 40px 64px;
    }
    
    nav {
        gap: 24px;
        font-size: 15px;
    }
    
    .card {
        padding: 36px 32px;
    }
    
    .focus-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-logo-area {
        padding: 360px 80px;
    }
    
    .therapists-photo-full {
        height: 500px;
    }
    
    .person-photo {
        height: 400px;
    }
}

/* Large desktop (min-width: 1200px) */
@media (min-width: 1200px) {
    .card-title {
        font-size: 32px;
    }
    
    .focus-heading {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .header {
        justify-content: space-between;
    }

    .page {
        padding: 16px 12px 32px;
        gap: 24px;
    }
    
    .shell {
        padding: 12px 16px 24px;
        margin-top: calc(var(--header-height) + 12px);
        border-radius: 32px;
    }

    .nav-desktop {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        justify-content: space-between;
    }
    
    .header {
        padding: 8px 16px;
        height: 60px;
    }
    
    .logo-placeholder {
        width: 36px;
        height: 36px;
    }
    
    .logo-placeholder img {
        height: 28px;
    }
    
    nav {
        gap: 12px;
        font-size: 13px;
    }
    
    .nav-contact-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .hero-logo-area {
        padding: 200px 40px;
        margin: 12px 12px 0;
        font-size: 16px;
    }
    
    .therapists-photo-full {
        height: 280px;
        border-radius: 20px;
    }
    
    #home .therapists-names-full {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .card {
        padding: 20px 18px;
    }
    
    .card.tight {
        padding: 18px 16px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .focus-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .map-container {
        padding-bottom: 50%;
    }
    
    .location-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .person-photo {
        height: 240px;
    }
    
    input,
    textarea {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }

}

