:root {
    --bg: #FAF7F2;
    --bg-soft: #F6F0E7;
    --green: #E3D5B8;
    --green-dark: #CBB78E;
    --text: #3A342C;
    --muted: #7A7166;
    --light: #F2EADF;
    --white: rgba(255, 251, 245, 0.74);
    --border: rgba(58, 52, 44, 0.08);
    --shadow: 0 10px 30px rgba(58, 52, 44, 0.08);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-up.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-bg-shape {
        animation: none;
    }

    .btn,
    .card,
    .faq-question,
    .desktop-nav a,
    .footer-links a,
    .kontakt-row a,
    .social-links a,
    .menu-toggle span {
        transition: none;
    }
}
/* Barrierefreier Skip link */
a[href="#main-content"] {
    position: absolute;
    left: -9999px; /* komplett aus dem Viewport */
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

a[href="#main-content"]:focus {
    position: absolute;
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    z-index: 9999;
}
/* Scroll Reveal */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #faf8f4 0%, #f7f5f1 100%);
    color: var(--text);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

p {
    color: var(--muted);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.container p{
    line-height: 1.7;
    color:#4f4338;
}

.section {
    padding: 110px 0;
}

.light {
    background: linear-gradient(180deg, #eee7dc 0%, #e9e2d8 100%);
}

.center-text {
    text-align: justify;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--muted);
}

/* NAV */
.nav {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 16px;
}

.nav-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow);
    border-radius: 999px;
    padding: 0 14px 0 24px;
    position: relative;
}

.logo {
    text-decoration: none;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1003;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.desktop-nav a:hover {
    background: rgba(227, 213, 184, 0.28);
    color: var(--text);
}

.nav-btn {
    margin-left: 8px;
}

.home-link {
    font-size: 0.95rem;
    opacity: 0.78;
}

.home-link:hover {
    opacity: 1;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/backgroundHero.png") center/cover no-repeat;
    filter: blur(6px);
    transform: scale(1.05);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(250, 247, 242, 0.45), rgba(250, 247, 242, 0.55));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.pre {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3.2rem, 6vw, 5.7rem);
    margin-bottom: 24px;
    color: var(--text);
}

.subtitle {
    max-width: 760px;
    margin: 0 auto 36px;
    font-size: 1.08rem;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-bg-shape {
    display: none;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--green);
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
    box-shadow: 0 10px 25px rgba(203, 183, 142, 0.22);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--green-dark);
}

.btn.outline {
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    border-color: rgba(58, 52, 44, 0.12);
    box-shadow: none;
}

.btn.outline:hover {
    background: white;
    color: var(--green-dark);
    border-color: rgba(203, 183, 142, 0.4);
}

/* TWO COLUMN */
.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.image-placeholder {
    min-height: 420px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15)),
        radial-gradient(circle at top left, rgba(227, 213, 184, 0.35), transparent 40%),
        linear-gradient(180deg, #ede7dd 0%, #e1d8cb 100%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(58, 52, 44, 0.1);
}

.card h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: var(--text);
}

.card p {
    font-size: 0.98rem;
}

/* STEPS */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.step {
    background: rgba(255, 255, 255, 0.72);
    padding: 28px 24px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(227, 213, 184, 0.28);
    color: var(--green-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.step p {
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

/* QUOTE */
.quote {
    padding: 130px 0;
    text-align: center;
}

.quote blockquote {
    max-width: 850px;
    margin: 0 auto 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.2;
    color: var(--text);
}

.quote .author {
    color: var(--green-dark);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* FAQ */
.faq-item {
    transition: background 0.3s ease;
    border-radius: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(58, 52, 44, 0.06);
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.65);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 18px;
    text-align: left;
    padding: 8px 0;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--green-dark);
}

.faq-question .icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--green-dark);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    font-size: 15px;
    line-height: 1.7;
    padding-right: 20px;
    color: var(--muted);
}

.faq-item.active .faq-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* FOOTER */
.footer {
    padding: 40px 0 60px;
    text-align: center;
}

.footer p {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--green-dark);
}

/* CONTACT */
.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
}

.kontakt-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: start;
}

.kontakt-intro h2 {
    text-align: left;
    margin-bottom: 18px;
}

.kontakt-intro p {
    max-width: 520px;
}

.kontakt-details {
    border-top: 1px solid rgba(58, 52, 44, 0.08);
}

.kontakt-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(58, 52, 44, 0.08);
}

.kontakt-row span {
    color: var(--green-dark);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kontakt-row p {
    color: var(--text);
    line-height: 1.7;
}

.kontakt-row a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-row a:hover {
    color: var(--green-dark);
}

.social-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.social-links a {
    position: relative;
    padding-bottom: 2px;
}

.social-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(203, 183, 142, 0.5);
    transition: background 0.3s ease;
}

.social-links a:hover::after {
    background: var(--green-dark);
}

.about-image {
    max-width: 420px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 50%;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.section.light .cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 560px;
    margin: 40px auto 0;
}

.section.light .card {
    padding: 24px 22px;
    border-radius: 24px;
}

.kids-highlight {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 24px 28px;
    border-radius: 24px;
    background: rgba(227, 213, 184, 0.25);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
}
.section h2 {
    text-wrap: balance;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: none;
    background: rgba(255, 251, 245, 0.72);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1003;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .nav {
        top: 10px;
        padding: 0 10px;
    }

    .nav-inner {
        min-height: 66px;
        border-radius: 24px;
        padding: 0 12px 0 18px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .desktop-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px; /* kleiner Abstand */
        padding: 12px; /* kleiner */
        margin: 0 10px;
        background: rgba(255, 251, 245, 0.95);
        backdrop-filter: blur(18px);
        border-radius: 20px; /* etwas kleiner */
        box-shadow: var(--shadow);
        border: 1px solid rgba(255, 255, 255, 0.5);
        z-index: 1001;
    }

    .desktop-nav.active {
        display: flex;
    }

    .desktop-nav a {
        width: 100%;
        padding: 9px 12px; /* kompakter */
        border-radius: 14px;
        font-size: 0.92rem;
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid rgba(58, 52, 44, 0.05);
    }

    .desktop-nav a:hover {
        background: rgba(227, 213, 184, 0.32);
        color: var(--text);
        transform: none;
    }

    /* FIX für Kontakt Button */
    .desktop-nav .nav-btn {
        min-height: auto;
        padding: 9px 12px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.45);
        color: var(--text);
        border: 1px solid rgba(58, 52, 44, 0.05);
        justify-content: flex-start;
    }

    .desktop-nav .nav-btn:hover {
        background: rgba(227, 213, 184, 0.32);
        color: var(--text);
    }

    .nav-btn {
        margin-left: 0;
    }

    .hero {
        padding-top: 160px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 90px 0;
    }

    .kontakt-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .kontakt-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .nav-inner {
        border-radius: 22px;
    }

    .hero {
        min-height: 92vh;
        padding-top: 170px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    h2 {
        margin-bottom: 16px;
    }

    .quote {
        padding: 100px 0;
    }

    .faq-question {
        font-size: 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Aufklappbarer Button */
.cranio-extra {
    margin-top: 2rem;
    text-align: center;
}

.info-toggle {
    background: transparent;
    border: 1px solid #bfae8f;
    color: #5c4a3d;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.info-toggle:hover {
    background: #f5efe6;
}

.cranio-info-box {
    max-width: 850px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem; /* wichtig: padding oben/unten erstmal 0 */
    background: #fffaf4;
    border: 1px solid rgba(191, 174, 143, 0.4);
    border-radius: 18px;
    text-align: justify;
    line-height: 1.8;
    color: #4f4338;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);

    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition: all 0.4s ease;
}

.cranio-info-box.show {
    max-height: 500px; /* genug groß wählen */
    opacity: 1;
    padding: 1.5rem;
}

.cranio-info-box p {
    margin-bottom: 1rem;
}

.cranio-info-box p:last-child {
    margin-bottom: 0;
}
