:root {
    --cream: #f7f3ee;
    --warm-white: #fdfaf6;
    --sage: #7a9e7e;
    --sage-dark: #5a7a5e;
    --sage-light: rgba(122,158,126,0.12);
    --terracotta: #b5714a;
    --terracotta-light: rgba(181,113,74,0.1);
    --brown: #4a3728;
    --text: #2e2018;
    --text-muted: #7a6a5a;
    --border: #e0d5c8;
    --border-light: #ede8e0;

    --footer-bg: #d96f32;
    --footer-text: var(--border);
    --footer-heading: var(--warm-white);
    --footer-border: rgba(224, 213, 200, 0.15);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--warm-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--sage-dark); }
img { max-width: 100%; display: block; }

.container {
    width: 92%;
    max-width: 1080px;
    margin: 0 auto;
}

/*Header*/
header {
    background: rgba(253,250,246,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 20px;
}
.site-logo {
    display: flex;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 0.02em;
    white-space: nowrap;
    gap: 2px;
    flex-shrink: 0;
}
.site-logo-icon { height: 30px; width: auto; margin-right: 1px; }
.site-logo span { font-style: italic; font-weight: 300; color: var(--sage); margin-left: 6px; }

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
nav ul li a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    display: block;
}
nav ul li a:hover {
    color: var(--brown);
    background: var(--terracotta-light);
    text-decoration: none;
}

/*Hero (Startseite)*/
.hero {
    position: relative;
    background-color: var(--cream);
    background-image: url('hintergrund.webp');
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
    padding: 110px 0 6vw; 
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 55, 40, 0.15), rgba(74, 55, 40, 0.45));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 7.5vw, 80px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.hero h1 em {
    font-style: italic;
    color: var(--cream);
}
.hero-sub {
    font-size: 19px;
    color: var(--cream);
    max-width: 540px;
    line-height: 1.6;
    margin-top: 15px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/*hero (Praxis) */
.hero-praxis {
    padding: 90px 0 6vw; 
}
.hero-praxis h1 {
    margin-bottom: 15px;
}
.hero-praxis .hero-sub {
    margin: 0 auto;
    max-width: 600px;
}

/*herp welle */
.hero-wave-wrapper-top {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}
.hero-wave-wrapper-top svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* mobile topwelle*/
.hero-wave-top {
    position: absolute;
    top: -2px; 
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
    transform: rotate(180deg);
    display: none; 
}
.hero-wave-top svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* übermich*/
.intro-section {
    padding: 60px 0 30px 0;
    background: var(--warm-white);
}
.welcome-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--terracotta); 
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.35;
}
.praxis-intro {
    font-size: 20px; 
    color: var(--brown); 
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto; 
    text-align: center;
    line-height: 1.6;
}

/*Galerie */
.gallery-section {
    padding: 30px 0 80px 0; 
    background: var(--warm-white);
}
.gallery-outer {
    position: relative;
    padding: 0 60px;
}
.gallery-viewport {
    overflow: hidden;
}
.gallery-track {
    display: flex;
    gap: 24px; 
    will-change: transform;
    padding: 10px 0; 
}
.gallery-track img {
    flex: 0 0 auto;
    height: 320px;
    width: auto;
    max-width: none;
    border-radius: 8px;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-track img:hover {
    transform: scale(1.02);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(74,55,40,0.15);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.gallery-btn:hover {
    background: var(--terracotta);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(181,113,74,0.3);
}
.gallery-btn svg {
    width: 20px; height: 20px;
    stroke: currentColor; stroke-width: 2.5;
    fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.gallery-btn-prev { left: 0; }
.gallery-btn-next { right: 0; }

/* Karten*/
.section-indikationen {
    padding: 20px 0 100px;
}
.praxis-content h2 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 38px; color: var(--brown); margin-bottom: 15px;}

.indikationen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0 50px;
}

.indikation-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 20px rgba(74,55,40,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.indikation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(74,55,40,0.08);
    border-color: var(--sage);
}

.indikation-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; 
    font-weight: 600;
    color: var(--terracotta); 
    margin-bottom: 12px; 
    line-height: 1.3;
}

.indikation-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 !important;
}

.section-indikationen a:hover {
    background: var(--sage-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122,158,126,0.4) !important;
}

/*Kontakt*/
.kontakt-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; 
    gap: 40px;
    align-items: stretch; 
}
.kontakt-info-karte {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}
.kontakt-info-karte p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}
.kontakt-formular-karte {
    padding: 40px !important; 
    background: #fff;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

/*Kontaktformular*/
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--border); border-radius: 4px;
    background: var(--warm-white);
    font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300;
    color: var(--text); outline: none; resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(122,158,126,0.12);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--text-muted); line-height: 1.5; cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 16px; height: 16px; margin-top: 2px;
    flex-shrink: 0; accent-color: var(--sage-dark); cursor: pointer;
}
.contact-form button {
    align-self: flex-start; background: var(--sage); color: #fff; border: none;
    padding: 12px 28px; border-radius: 4px;
    font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
    transition: background 0.2s, transform 0.15s; margin-top: 5px;
}
.contact-form button:hover { background: var(--sage-dark); transform: translateY(-1px); }

/* Impressum; Datenschutz*/
.impressum-page { padding: 70px 0; }
.impressum-page h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px; font-weight: 400;
    color: var(--brown); margin-bottom: 10px;
}
.impressum-page .page-intro {
    font-size: 14px; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--sage);
    margin-bottom: 50px; font-weight: 500;
}
.impressum-page h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 600;
    color: var(--brown); margin: 40px 0 15px 0;
}
.impressum-page p { color: var(--text-muted); margin-bottom: 15px; font-size: 16px; line-height: 1.8; }
.impressum-page a { color: var(--sage-dark); }
.impressum-page a:hover { color: var(--terracotta); text-decoration: underline; }

/* Über mich*/
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; 
    gap: 80px;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    max-width: 420px; 
    margin: 0 auto; 
    margin-top: 25px; 
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--terracotta-light); 
    border-radius: 12px;
    z-index: 0;
}

.about-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5; 
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(74,55,40,0.1);
    display: block;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}


/*footer*/
html, body { min-height: 100%; }
.footer-wave-wrapper { display: block; line-height: 0; background: var(--warm-white); }
.footer-wave-wrapper svg { display: block; width: 100%; }
.wave-mobile { display: none !important; }

footer {
    background: var(--footer-bg);
    padding: 50px 0 0 0;
    border-top: none;
    margin-bottom: 0;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}
.site-footer-col h2, .site-footer-col h3 {
    font-family: 'Jost', sans-serif;
    font-size: 20px; font-weight: 500;
    color: var(--footer-heading); margin-bottom: 20px;
}
.site-footer-col p { font-size: 15px; color: var(--footer-text); line-height: 1.8; }
.site-footer-col a { color: var(--footer-text); font-weight: 400; transition: color 0.2s; }
.site-footer-col a:hover { color: #fff; }
.site-footer-col ul { list-style: none; }
.site-footer-col ul li { margin-bottom: 12px; }
.site-footer-col ul li a { color: var(--footer-text); font-size: 15px; }
.site-footer-col ul li a:hover { color: #fff; }
.copyright-inner {
    border-top: 1px solid var(--footer-border);
    padding: 24px 0 30px;
    display: flex; justify-content: center; gap: 15px;
    font-size: 13px; color: var(--footer-text);
}
.copyright-inner a { color: var(--footer-text); transition: color 0.2s; }
.copyright-inner a:hover { color: #fff; }

/*RESPONSIVE*/
@media (max-width: 900px) {
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
    header {
        border-bottom: none !important; 
    }

    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    
    .hero { 
        padding: 50px 0 8vw; 
        background-size: 300% auto !important; 
        background-position: 70% 15% !important;
        background-attachment: scroll !important;
    }
    .hero h1 { font-size: clamp(36px, 10vw, 44px); } 
    .hero-sub {
        font-size: 16px;
        margin-top: 10px;
    }

    .hero-praxis {
        padding: 40px 15px 12vw; 
    }
    .hero-praxis h1 {
        font-size: clamp(32px, 8.5vw, 44px); 
    }
    .hero-praxis .hero-sub {
        font-size: 16px;
        font-weight: 400;
    }

    .hero-wave-top {
        display: block !important;
    }
    
    .hero-wave-top svg,
    .hero-wave-wrapper-top svg {
        height: 20px; 
    }
    
    .intro-section { padding: 40px 0 20px 0; }
    .welcome-heading {
        font-size: 26px;
        text-align: left; 
        margin-bottom: 15px;
    }
    .praxis-intro {
        font-size: 16px; 
        text-align: left; 
        line-height: 1.6;
    }

    .gallery-track img { height: 220px; }
    .gallery-outer { padding: 0 44px; }
    .gallery-section { padding: 20px 0 40px; }
    
    .indikationen-grid { grid-template-columns: 1fr; gap: 16px; margin: 30px 0; }
    .indikation-card { padding: 24px 20px; }
    
    /* Kontaktseite Mobil */
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-row {
        grid-template-columns: 1fr; 
    }
    .kontakt-formular-karte, .kontakt-info-karte {
        padding: 25px !important;
    }

    /*Über-mich Seite Mobil*/
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image-wrapper {
        width: 75%; 
        max-width: 280px; 
        margin: 0 auto; 
        margin-top: 0; 
    }
    .about-image-wrapper::before {
        top: 15px;
        left: 15px; 
    }

    .site-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    nav ul { gap: 4px 6px; }
    .copyright-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .wave-desktop { display: none !important; }
    .wave-mobile { display: block !important; }
    .site-footer-col { text-align: center; }
}