/* ================================================
   SASKIA HESSBECK — V5
   PALORAH Web Design
   Palette: Deep Violet / Warm Ivory / Gold Accent
   Fonts:   Playfair Display + Outfit (V3)
   ================================================ */

/* === CSS Custom Properties === */
:root {
    --color-primary:          #2E1B4F;
    --color-primary-rgb:      46, 27, 79;
    --color-primary-dark:     #180C2A;
    --color-primary-dark-rgb: 24, 12, 42;
    --color-accent:           #C8A87A;
    --color-accent-rgb:       200, 168, 122;
    --color-bg:               #FAF7F2;
    --color-surface:          #F0E8DC;
    --color-text:             #1A1020;
    --color-text-muted:       #5B4D6B;
    --color-text-muted-rgb:   91, 77, 107;
    --color-text-light:       rgba(255,255,255,0.92);
    --color-text-dim:         rgba(255,255,255,0.6);
    --color-border:           #DDD0BE;
    --color-heading:          #1A1020;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

    --nav-height:         80px;
    --container-width:    1200px;
    --container-padding:  clamp(1.25rem, 5vw, 2.5rem);
    --section-padding:    clamp(4rem, 8vw, 7rem);

    --tr-fast:   200ms ease;
    --tr-normal: 300ms ease;
    --tr-slow:   500ms ease;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    min-height: 100svh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--color-heading);
}

p { max-width: 70ch; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: none; border: none; }
button, a, input, select, textarea, label { touch-action: manipulation; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .nav__cta:focus-visible, .cookie-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.4);
}
::selection { background: var(--color-accent); color: var(--color-primary); }

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    font-weight: 600;
    z-index: 9999;
    transition: top var(--tr-fast);
}
.skip-link:focus { top: 0; }

/* === Layout === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section { padding: var(--section-padding) 0; }

/* === Typography === */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.9vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.875rem;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.section-sub {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 58ch;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform var(--tr-fast), box-shadow var(--tr-fast),
                background var(--tr-fast), color var(--tr-fast);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary);
    border: 2px solid var(--color-accent);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

@media (hover: hover) {
    .btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(var(--color-accent-rgb), 0.4);
    }
    .btn--primary:active { transform: translateY(0); box-shadow: none; }

    .btn--ghost:hover {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.85);
        transform: translateY(-2px);
    }
    .btn--ghost:active { transform: translateY(0); }

    .btn--ghost-dark:hover {
        background: var(--color-primary);
        color: #fff;
        transform: translateY(-2px);
    }
}

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: background var(--tr-normal), backdrop-filter var(--tr-normal),
                box-shadow var(--tr-normal), transform 400ms ease;
}

.nav.scrolled {
    background: rgba(var(--color-primary-rgb), 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav__container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: var(--nav-height);
    gap: 1.5rem;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
    white-space: nowrap;
}

.nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2vw, 2.25rem);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    position: relative;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
    transition: color var(--tr-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--color-accent);
    transition: width 220ms ease;
}

@media (hover: hover) {
    .nav__link:hover { color: #fff; }
    .nav__link:hover::after { width: 100%; }
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

@media (hover: hover) {
    .nav__cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(var(--color-accent-rgb), 0.35);
    }
    .nav__cta:active { transform: translateY(0); }
}

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    background: none; border: none;
    cursor: pointer; padding: 0;
    z-index: 1100;
}

.nav__burger span {
    display: block;
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    transition: transform 300ms ease, opacity 300ms ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Desktop: hide the panel-only CTA and close button */
@media (min-width: 769px) {
    .nav__links .nav__cta { display: none; }
    .nav__close { display: none; }
}

.nav__close { display: none; }

@media (max-width: 768px) {
    .nav__burger { display: flex; }
    .nav__container { grid-template-columns: 1fr auto; }
    /* Mobile: hide the desktop CTA (panel CTA handles it inside the slide-in menu) */
    .nav__actions .nav__cta { display: none; }

    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        width: 44px; height: 44px;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
    }

    .nav__links {
        position: fixed;
        top: 0; right: 0;
        width: min(320px, 85vw);
        height: 100svh;
        background: var(--color-primary-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 350ms cubic-bezier(0.4,0,0.2,1);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav__links.is-open { transform: translateX(0); }

    .nav__link {
        font-size: 1.25rem;
        width: 100%;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-shadow: none;
    }

    .nav__cta {
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms ease;
    z-index: 999;
}
.nav__overlay.is-active { opacity: 1; pointer-events: all; }

/* ================================================
   HERO — V2 content, V3 style
   ================================================ */
.hero {
    position: relative;
    height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-primary-dark);
}

.hero__media { position: absolute; inset: 0; }

.hero__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 60% 20%;
}
@media (max-width: 768px) {
    .hero__img { object-position: 50% 20%; }
    .hero__overlay {
        background:
            linear-gradient(to bottom, rgba(var(--color-primary-rgb),0.82) 0%, rgba(var(--color-primary-rgb),0) 28%),
            linear-gradient(to right,
                rgba(var(--color-primary-dark-rgb),0.97) 0%,
                rgba(var(--color-primary-dark-rgb),0.97) 20%,
                rgba(var(--color-primary-dark-rgb),0.80) 35%,
                rgba(var(--color-primary-dark-rgb),0.55) 55%,
                rgba(var(--color-primary-dark-rgb),0.25) 100%);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(var(--color-primary-rgb),0.82) 0%, rgba(var(--color-primary-rgb),0) 28%),
        linear-gradient(to right,
            rgba(var(--color-primary-dark-rgb),0.97) 0%,
            rgba(var(--color-primary-dark-rgb),0.90) 25%,
            rgba(var(--color-primary-dark-rgb),0.70) 42%,
            rgba(var(--color-primary-dark-rgb),0.50) 58%,
            rgba(var(--color-primary-dark-rgb),0.35) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 var(--container-padding) clamp(4rem,8vh,6rem);
    margin-left: calc((100vw - var(--container-width)) / 2);
    color: #fff;
}

@media (max-width: 1240px) {
    .hero__content { margin-left: 0; padding-left: var(--container-padding); }
}

.hero__eyebrow {
    font-size: clamp(0.75rem, 0.9vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__title {
    font-size: clamp(2.8rem, 5.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.375rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.hero__title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero__sub {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 50ch;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
    .hero__img { animation: kenBurns 12s ease-in-out forwards; }
    @keyframes kenBurns {
        from { transform: scale(1); }
        to   { transform: scale(1.07); }
    }
    .hero__eyebrow, .hero__title, .hero__sub, .hero__ctas {
        opacity: 0;
        animation: heroFadeRise 0.75s ease forwards;
    }
    .hero__eyebrow { animation-delay: 80ms; }
    .hero__title   { animation-delay: 200ms; }
    .hero__sub     { animation-delay: 360ms; }
    .hero__ctas    { animation-delay: 520ms; }
    @keyframes heroFadeRise {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: none; }
    }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem; right: var(--container-padding);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
}

@media (max-width: 768px) { .hero__scroll { display: none; } }

/* ================================================
   FÜR WEN — V2 two-column layout
   ================================================ */
.fuer-wen { background: var(--color-surface); }

.fuer-wen__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.fuer-wen__header .section-sub { margin: 0 auto; }

.fuer-wen__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.fuer-wen__col-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
}

.fuer-wen__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.fuer-wen__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 1rem;
    line-height: 1.6;
}

.fuer-wen__item--ja::before {
    content: '';
    display: block;
    width: 14px; height: 14px;
    min-width: 14px;
    border-radius: 50%;
    background: rgba(var(--color-accent-rgb), 0.15);
    border: 1.5px solid var(--color-accent);
    margin-top: 0.25rem;
}

.fuer-wen__item--nein {
    opacity: 0.65;
    font-size: 0.875rem;
}

.fuer-wen__item--nein::before {
    content: '×';
    color: var(--color-text-muted);
    font-weight: 600;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.fuer-wen__grid > div:first-child { padding-top: 1.75rem; }

.fuer-wen__nicht {
    padding: 1.75rem;
    background: var(--color-bg);
    border-radius: 10px;
    border-left: 3px solid rgba(var(--color-text-muted-rgb), 0.25);
    margin-top: 0.25rem;
}

.fuer-wen__nicht-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) { .fuer-wen__grid { grid-template-columns: 1fr; } }

/* ================================================
   ZUSAMMENARBEIT — V2 USP content, 6 icon cards (V3 layout)
   ================================================ */
.zusammenarbeit { background: var(--color-primary-dark); }

.zusammenarbeit__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.zusammenarbeit__header .section-heading { color: var(--color-bg); }
.zusammenarbeit__header .section-sub { margin: 0 auto; color: rgba(250,247,242,0.65); }

.zam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.zam-card {
    padding: 2rem 1.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-top: 2px solid rgba(255,255,255,0.1);
    transition: border-color var(--tr-fast), transform 250ms ease, box-shadow 250ms ease;
}

.zam-card__icon {
    width: 28px; height: 28px;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.zam-card__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.zam-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-bg);
    margin-bottom: 0.625rem;
    line-height: 1.25;
}

.zam-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(250,247,242,0.65);
    max-width: none;
}

@media (hover: hover) {
    .zam-card:hover {
        border-top-color: var(--color-accent);
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
        background: rgba(255,255,255,0.08);
    }
}

@media (max-width: 1024px) { .zam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .zam-grid { grid-template-columns: 1fr; }
    .zam-card { padding: 1.5rem; }
}

/* ================================================
   PAKETE — V3 + V1 combined
   ================================================ */
.pakete { background: var(--color-bg); }

.pakete__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pakete__header .section-sub { margin: 0 auto; }

.pakete__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.paket-card {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
}

.paket-card--featured {
    border-color: var(--color-accent);
    box-shadow: 0 8px 40px rgba(var(--color-accent-rgb), 0.15);
    padding-top: 3rem;
}

.paket-card__badge {
    display: none;
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}
.paket-card--featured .paket-card__badge { display: block; }

.paket-card__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 0.375rem;
}

.paket-card__price {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.paket-card--featured .paket-card__price { color: var(--color-accent); }

.paket-card__price-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.paket-card__tagline {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

.paket-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex: 1;
}

.paket-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.paket-card__feature::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    margin-top: 0.45rem;
}

.paket-card .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
}

.paket-card__note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-top: 2.5rem;
    max-width: 65ch;
    margin-left: auto; margin-right: auto;
    line-height: 1.6;
}

@media (hover: hover) {
    .paket-card:hover {
        box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.1);
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .pakete__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ================================================
   ABLAUF — V2 content, side-by-side 3-col grid (nebeneinander)
   ================================================ */
.ablauf { background: var(--color-surface); }

.ablauf__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.ablauf__header .section-sub { margin: 0 auto; }

.ablauf__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

@media (min-width: 901px) {
    .ablauf__step:not(:nth-child(3n))::after {
        content: '';
        position: absolute;
        top: 28px;
        left: 100%;
        width: 2rem;
        height: 1px;
        background: linear-gradient(to right, var(--color-accent), rgba(var(--color-accent-rgb), 0.2));
        pointer-events: none;
    }
}

.ablauf__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.ablauf__step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ablauf__step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 0.375rem;
}

.ablauf__step-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: none;
}

.ablauf__cta {
    text-align: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 900px) {
    .ablauf__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ablauf__steps { grid-template-columns: 1fr; }
    .ablauf__step { flex-direction: row; text-align: left; align-items: flex-start; }
}

/* ================================================
   GALERIE — V1 aesthetic grid, V3 text
   ================================================ */
.galerie { background: var(--color-bg); }

.galerie__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.galerie__header .section-sub { margin: 0 auto; }

.galerie__grid {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr;
    grid-auto-rows: 280px;
    gap: 0.75rem;
}

.galerie__item {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.galerie__item--feature { grid-row: span 2; }

.galerie__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    transition: transform 550ms ease;
    display: block;
}

.galerie__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--color-primary-rgb), 0);
    transition: background 300ms ease;
}

/* Image switch on hover — no zoom */
.galerie__img--hover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 450ms ease;
    z-index: 1;
}

@media (hover: hover) {
    .galerie__item:hover .galerie__img--hover { opacity: 1; }
}

/* Legacy before/after support */
.galerie__img--before {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 450ms ease;
    z-index: 1;
}

@media (hover: hover) {
    .galerie__item:has(.galerie__img--before):hover .galerie__img--before { opacity: 1; }
}

/* Per-image crop adjustments */
.galerie__item:nth-child(1) img { object-position: 50% 25%; }
.galerie__item:nth-child(1) .galerie__img--hover { object-position: 65% 20%; }

.galerie__item:nth-child(4) img:not(.galerie__img--before):not(.galerie__img--hover) { object-position: 50% 50%; }
.galerie__item:nth-child(4) .galerie__img--before,
.galerie__item:nth-child(4) .galerie__img--hover { object-position: 50% 35%; }

.galerie__item:nth-child(7) img:not(.galerie__img--before):not(.galerie__img--hover) { object-position: 35% 20%; }

.galerie__item:nth-child(8) img:not(.galerie__img--hover) { object-position: 38% 55%; }
.galerie__item:nth-child(8) .galerie__img--hover { object-position: 50% 5%; }

@media (max-width: 768px) {
    .galerie__item:nth-child(1) img { object-position: 50% 15%; }
    .galerie__item:nth-child(4) img:not(.galerie__img--before):not(.galerie__img--hover) { object-position: 50% 42%; }
    .galerie__item:nth-child(7),
    .galerie__item:nth-child(8) { grid-row: span 2; }
    .galerie__item:nth-child(7) img:not(.galerie__img--before):not(.galerie__img--hover) { object-position: 35% 0%; }
    .galerie__item:nth-child(8) img:not(.galerie__img--hover) { object-position: 38% 50%; }
    .galerie__img--hover,
    .galerie__img--before { display: none !important; }
}

@media (hover: none) {
    .galerie__img--hover,
    .galerie__img--before { display: none !important; }
}

.galerie__note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 1.75rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .galerie__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .galerie__item--feature { grid-row: span 1; }
}
@media (max-width: 480px) {
    .galerie__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
}

/* ================================================
   DEINE WIRKUNG — 2×2 icon grid
   ================================================ */
.deine-wirkung { background: #FAF7F2; }

.deine-wirkung__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.deine-wirkung__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.deine-wirkung__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(107, 76, 154, 0.1);
}

.deine-wirkung__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.deine-wirkung__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 640px) {
    .deine-wirkung__grid { grid-template-columns: 1fr; }
}

/* ================================================
   ÜBERGANGSBRÜCKE — single centered invite sentence
   ================================================ */
.uebergangsbruecke {
    background: var(--color-primary);
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.uebergangsbruecke__text {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: rgba(255,255,255,0.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ================================================
   VERTRAUENSSIGNAL — social proof block
   ================================================ */
.vertrauen { background: #E8E0F5; padding: clamp(2.67rem, 5.33vw, 4.67rem) 0; }

.vertrauen__inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.vertrauen__text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

.vertrauen__zahl {
    font-weight: 700;
    color: #2E1B4F;
    font-size: 1.3em;
}

.vertrauen__naechste {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}

/* ================================================
   TESTIMONIALS — V2 content, "Ihre Worte" heading
   ================================================ */
.testimonials { background: var(--color-primary); color: #fff; }

.testimonials__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.testimonials__header .eyebrow { color: var(--color-accent); }

.testimonials__header .section-heading { color: #fff; }

.testimonials__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    margin-left: auto;
    margin-right: auto;
}
.testimonials__grid::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 clamp(280px, 38%, 400px);
    scroll-snap-align: start;
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card__quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0;
    color: var(--color-accent);
    opacity: 0.35;
    position: absolute;
    top: 1.75rem; left: 1.5rem;
    font-style: normal;
    pointer-events: none;
    user-select: none;
}

.testimonial-card__text {
    font-style: italic;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    flex: 1;
    padding-top: 2rem;
    max-width: none;
}

.testimonial-card__author {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff;
}

.testimonial-card__role {
    font-size: 0.8125rem;
    color: var(--color-accent);
    margin-top: 0.2rem;
    letter-spacing: 0.04em;
}

@media (max-width: 600px) {
    .testimonial-card { flex: 0 0 90vw; }
    .testimonial-card__text { flex: none; }
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.testimonials__dots { display: flex; gap: 0.5rem; align-items: center; }

.testimonials__dot {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    padding: 0; cursor: pointer;
    transition: background 200ms ease, width 200ms ease;
}
.testimonials__dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
}

.testimonials__dot--active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.testimonials__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: #fff;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease;
    flex-shrink: 0;
}

.testimonials__btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--color-accent);
}

.testimonials__btn:disabled { opacity: 0.3; cursor: default; }

/* ================================================
   ÜBER SASKIA — Image LEFT (person forward), text right
   ================================================ */
.ueber { background: var(--color-bg); }

.ueber__inner {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.ueber__image-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 10px 10px 0 rgba(var(--color-accent-rgb), 0.16);
}

.ueber__img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 85%;
    transition: transform 600ms ease;
}

@media (hover: hover) {
    .ueber__image-wrap:hover .ueber__img { transform: scale(1.03); }
}

.ueber__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
}

.ueber__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--color-heading);
    padding-left: 1.75rem;
    border-left: 3px solid var(--color-accent);
    margin-bottom: 0.5rem;
}

.ueber__body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 52ch;
}

.ueber__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-top: 0.5rem;
}

.ueber__title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .ueber__inner { grid-template-columns: 1fr; }
    .ueber__image-wrap { aspect-ratio: 4 / 5; }
}

/* ================================================
   FAQ — V3 8 questions
   ================================================ */
.faq-section { background: var(--color-surface); }

.faq-section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.faq-section__header .section-sub { margin: 0 auto; }

.faq {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-heading);
    list-style: none;
    user-select: none;
    transition: background var(--tr-fast), color var(--tr-fast);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { background: rgba(var(--color-accent-rgb), 0.06); }
.faq__item[open] .faq__question { color: var(--color-accent); background: rgba(var(--color-accent-rgb), 0.05); }
.faq__item[open] { border-color: var(--color-accent); }

.faq__icon {
    display: inline-block;
    width: 20px; height: 20px;
    flex-shrink: 0;
    position: relative;
}
.faq__icon::before, .faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px; height: 1.5px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: transform 250ms ease;
}
.faq__icon::before { right: calc(50% + 1px); transform: translateY(-50%) rotate(0deg); }
.faq__icon::after  { left:  calc(50% + 1px); transform: translateY(-50%) rotate(0deg); }
.faq__item[open] .faq__icon::before { transform: translateY(-50%) rotate(-45deg); }
.faq__item[open] .faq__icon::after  { transform: translateY(-50%) rotate(45deg); }

.faq__answer { padding: 0 1.5rem 1.25rem; animation: faqOpen 250ms ease; }
.faq__answer p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: none;
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* ================================================
   FINAL CTA — V4 style
   ================================================ */
.cta-section {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
    z-index: 1;
}

.cta-section__eyebrow { color: var(--color-accent); }

.cta-section__heading {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.125rem;
}

.cta-section__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.7);
    margin: 0 auto 2.5rem;
    max-width: 54ch;
    line-height: 1.65;
}

.cta-section__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section__note {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.4);
    margin: 1.5rem auto 0;
    text-align: center;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.7);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer__brand-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    max-width: 32ch;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    align-items: center;
    margin-top: 1.25rem;
}

.footer__col-heading {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: block;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--tr-fast);
}

@media (hover: hover) { .footer__link:hover { color: var(--color-accent); } }

.footer__legal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.footer__legal-strip a,
.footer__legal-strip button {
    color: rgba(255,255,255,0.6);
    background: none; border: none;
    padding: 0; font-size: inherit;
    cursor: pointer;
    transition: color var(--tr-fast);
}

@media (hover: hover) {
    .footer__legal-strip a:hover,
    .footer__legal-strip button:hover { color: rgba(255,255,255,0.75); }
}

@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 56px; height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 900;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: opacity 300ms ease, transform 300ms ease, box-shadow 200ms ease;
    pointer-events: none;
}

.whatsapp-float.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

@media (hover: hover) {
    .whatsapp-float:hover {
        box-shadow: 0 6px 28px rgba(37,211,102,0.55);
        transform: scale(1.08);
    }
}

@media (max-width: 768px) {
    .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; left: 2rem;
    width: 44px; height: 44px;
    background: var(--color-primary);
    color: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 300ms ease, transform 300ms ease, background 200ms ease;
    pointer-events: none;
}

.back-to-top:not([hidden]) { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top[hidden] { display: flex; }

@media (hover: hover) {
    .back-to-top:hover {
        background: var(--color-accent);
        color: var(--color-primary);
        border-color: transparent;
    }
}

@media (max-width: 768px) { .back-to-top { bottom: 1.25rem; left: 1.25rem; } }

@media (max-width: 768px) {
    body.footer-in-view .whatsapp-float.is-visible,
    body.footer-in-view .back-to-top:not([hidden]) {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.9);
    }
}

/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, calc(100% - 2rem));
    background: var(--color-primary-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    z-index: 9500;
    padding: 1.5rem 1.75rem;
}

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-banner__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.cookie-banner__text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: none;
}

.cookie-banner__text a { color: var(--color-accent); text-decoration: underline; }

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: transparent;
    color: rgba(255,255,255,0.8);
    transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast);
    white-space: nowrap;
}

@media (hover: hover) {
    .cookie-btn:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.5);
        color: #fff;
    }
}

@media (max-width: 560px) {
    .cookie-banner { bottom: 0; left: 0; right: 0; width: 100%; transform: none; border-radius: 12px 12px 0 0; }
    .cookie-banner__actions { flex-direction: column; }
    .cookie-btn { text-align: center; }
}

/* ================================================
   COOKIE MODAL
   ================================================ */

/* display: flex and display: block both override the [hidden] attribute's
   browser default of display:none — this rule re-establishes it at high
   specificity so hideModal() / hideBanner() actually close the elements. */
.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal__box {
    background: var(--color-primary-dark);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-modal__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0;
}

.cookie-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--tr-fast), color var(--tr-fast);
}

@media (hover: hover) {
    .cookie-modal__close:hover {
        background: rgba(255,255,255,0.16);
        color: #fff;
    }
}

.cookie-modal__intro {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-modal__category {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cookie-modal__cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-modal__cat-header strong { font-size: 0.9375rem; color: #fff; }
.cookie-modal__always-on { font-size: 0.75rem; color: var(--color-accent); letter-spacing: 0.05em; }
.cookie-modal__cat-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: none; }

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.cookie-toggle__input { position: absolute; opacity: 0; width: 0; height: 0; }

.cookie-toggle__slider {
    position: relative;
    width: 40px; height: 22px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    transition: background 200ms ease;
    flex-shrink: 0;
}

.cookie-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 200ms ease;
}

.cookie-toggle__input:checked + .cookie-toggle__slider { background: var(--color-accent); }
.cookie-toggle__input:checked + .cookie-toggle__slider::after { transform: translateX(18px); }

.cookie-modal__footer {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ================================================
   LEGAL PAGES
   ================================================ */
body.subpage .nav {
    background: rgba(var(--color-primary-rgb), 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.legal-breadcrumb {
    padding: calc(var(--nav-height) + 1.5rem) 0 0;
}

.legal-breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.legal-breadcrumb a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity var(--tr-fast);
}

@media (hover: hover) { .legal-breadcrumb a:hover { opacity: 0.75; } }

.legal-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-border);
}

.legal-content {
    padding: 2rem 0 var(--section-padding);
    max-width: 760px;
}

.legal-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: 0.5rem; }

.legal-updated {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    display: block;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-top: 2.5rem;
    margin-bottom: 0.875rem;
    color: var(--color-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content p,
.legal-content li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    max-width: none;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 0.75rem; }

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 1.25rem 0;
    overflow-x: auto;
    display: block;
}

.legal-content th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    font-weight: 600;
    color: var(--color-heading);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.legal-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    vertical-align: top;
}

.legal-placeholder {
    background: rgba(var(--color-accent-rgb), 0.12);
    border: 1px dashed var(--color-accent);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.875em;
    color: var(--color-primary);
    white-space: normal;
    word-break: break-word;
}

/* ================================================
   PRINT
   ================================================ */
@media print {
    .nav, .whatsapp-float, .back-to-top, .cookie-banner, .cookie-modal { display: none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; }
}
