/**
 * EDEN01 · Brand 3.0 Layer (Nov 2026)
 * Lädt NACH allen bestehenden Styles. Ändert keine Layouts/Effekte des Heros,
 * sondern setzt die Details aus dem Styleguide um:
 *   – Typo-Rollen: Cormorant (Headlines, gern kursiv) · Literata (Text)
 *                  Inter VERSAL +0.3em (Labels/Claims) · JetBrains Mono (Daten, Codes)
 *   – Neue Signatur, Siegel, feine Linien-Icons, Ton-in-Ton-Muster, Bogenrahmen
 *   – Voyage-Komponenten: Abflugtafel (Departures), Routen-Codes, Status-Chips
 * Regel: Gold gehört Eden01, Lagoon gehört Voyage. Illustrationen immer einfarbig.
 */

/* ==========================================================================
   1. TOKENS (aus Website/eden01-brand-tokens.css)
   ========================================================================== */
:root {
    /* Eden01 – Garten */
    --color-bg-velvet: #1F3A2E;
    --color-cream: #F4F2ED;
    --color-sand: #E8E3D3;
    --tone-night: #0E140E;
    --tone-velvet: #2C4D3F;
    --color-text-primary: #F4F2ED;

    /* Voyage – Reise */
    --voyage-ink: #111111;
    --voyage-cream: #F4F2ED;
    --voyage-sand: #E8E3D3;
    --voyage-lagoon: #1F6F6B;
    --voyage-lagoon-light: #8FC9C3;

    /* Routen (nur kleine Akzente) */
    --dest-hse: #1F6F6B;
    --dest-dsc: #C2452D;
    --dest-afr: #E9A23B;
    --dest-urb: #4A5AA8;
    --dest-mld: #7FA6C2;
    --voyage-accent: var(--dest-hse);

    /* Typo-Rollen */
    --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ls-claim: 0.3em;
    --fs-label: clamp(0.62rem, 0.58rem + 0.15vw, 0.72rem);
}

/* ==========================================================================
   2. TYPO-DETAILS
   ========================================================================== */

/* Kursiv-Akzent in Headlines: „Conquer the Jungle“, „Der Garten“ */
h1 em,
h2 em,
h3 em {
    font-family: var(--font-headline);
    font-style: italic;
    font-weight: 400;
    color: var(--color-accent-gold);
    letter-spacing: 0;
    font-variant-numeric: lining-nums;
}

/* Folio „N° 01“ — Mono, wie im Styleguide */
.b-folio {
    font-family: var(--font-mono);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-accent-gold);
    margin-right: 0.9em;
    padding-right: 0.9em;
    border-right: 1px solid rgba(201, 169, 97, 0.35);
}

/* Kicker / Label — Inter VERSAL, Laufweite +0.3em */
.b-kicker,
.atmosphere__meta,
.contact__meta {
    font-family: var(--font-ui) !important;
    font-size: var(--fs-label) !important;
    font-weight: 500 !important;
    letter-spacing: var(--ls-claim) !important;
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.62);
    opacity: 1 !important;
}

.b-kicker {
    display: block;
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}

.b-kicker--center { text-align: center; }

.atmosphere__meta,
.contact__meta--gold {
    color: rgba(244, 242, 237, 0.62) !important;
}

/* Kleine Tags („Forbidden Fruit“) */
.b-tag {
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: var(--ls-claim);
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin: 0 0 0.6rem;
}

/* ==========================================================================
   3. BUTTONS & LINKS — Inter Versal
   ========================================================================== */
.btn--primary,
.btn--secondary {
    font-family: var(--font-ui) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.26em !important;
    padding: 0.85rem 1.7rem 0.85rem calc(1.7rem + 0.26em) !important;
    border-radius: 0 !important;
}

.drinks__link,
.atmosphere__cta,
.events__cta {
    font-family: var(--font-ui) !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase;
}

.events__cta { border-radius: 0 !important; }

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
.nav__link {
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    gap: 0.55em;
}

.nav__num {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--color-accent-gold);
    opacity: 0.75;
}

/* Voyage-Link: Lagoon gehört Voyage */
.nav__link--voyage .nav__num { color: var(--voyage-lagoon-light); opacity: 1; }
.nav__link--voyage:hover { color: var(--voyage-lagoon-light); }
.nav__link--voyage::after { background: var(--voyage-lagoon-light) !important; }

/* Reservieren als feiner Rahmen-CTA (Desktop) */
@media (min-width: 769px) {
    .nav__link--cta {
        border: 1px solid rgba(201, 169, 97, 0.45);
        padding: 0.55rem 0.9rem 0.55rem calc(0.9rem + 0.24em) !important;
        transition: background var(--motion-base) var(--ease-luxury), color var(--motion-base) var(--ease-luxury);
    }
    .nav__link--cta::after { display: none; }
    .nav__link--cta:hover {
        background: var(--color-accent-gold);
        color: var(--color-bg-primary) !important;
    }
    .nav__link--cta:hover .nav__num { color: var(--color-bg-primary); }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav__links { gap: 1.4rem !important; }
    .nav__num { display: none; }
}

/* Neue Signatur ist breiter (2.03:1) → Höhe leicht reduzieren */
.nav__logo-img { height: 40px !important; width: auto; }
.nav--scrolled .nav__logo-img { height: 34px !important; }

/* Mobile-Menü: großzügige Liste mit Hairlines */
@media (max-width: 768px) {
    .nav__links {
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0.5rem var(--padding-inline) 1.5rem !important;
        border-bottom: 1px solid var(--color-hairline);
        background:
            url('../images/brand/muster/Muster_Night_Gold.webp') center / 420px repeat,
            rgba(10, 15, 10, 0.98) !important;
        background-blend-mode: soft-light, normal;
    }
    .nav__link {
        font-size: 0.72rem;
        padding: 1.05rem 0 !important;
        border-bottom: 1px solid rgba(201, 169, 97, 0.12);
    }
    .nav__link::after { display: none; }
    .nav__num { min-width: 2.6em; }
    .nav__logo-img { height: 34px !important; }
}

/* ==========================================================================
   5. SPLASH → eigenes Stylesheet styles/splash-3.css
   ========================================================================== */

/* ==========================================================================
   6. HERO — nur Details, Effekt bleibt unverändert
   ========================================================================== */
.hero__logo-img {
    height: clamp(80px, 9vw, 128px) !important;
    filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.45));
}

.hero__description {
    font-family: var(--font-ui) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: var(--ls-claim) !important;
    text-transform: uppercase;
    color: var(--color-cream) !important;
}

.hero__scroll-indicator {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

/* ==========================================================================
   7. ATMOSPHERE · DER GARTEN
   ========================================================================== */
.atmosphere__headline {
    font-weight: 400 !important;
}

.atmosphere__chapter-num {
    letter-spacing: 0.14em !important;
}

.atmosphere__chapter-icon {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 0 0.75rem -4px;
    opacity: 0.85;
}

.atmosphere__chapter-title em { font-size: 1em; }

.atmosphere__fact {
    letter-spacing: 0.1em;
}

/* Palmen-Lottie am Sektionsrand */
.b-edge-lottie {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
}

.b-edge-lottie--atmo {
    top: clamp(2rem, 6vw, 5rem);
    right: clamp(-1rem, 2vw, 3rem);
    width: clamp(120px, 14vw, 210px);
    aspect-ratio: 1;
}

@media (max-width: 768px) {
    .b-edge-lottie--atmo {
        top: 1.5rem;
        right: -0.5rem;
        width: 96px;
        opacity: 0.4;
    }
}

/* Bogenrahmen (Gate-Form) für Hochformat-Fotos */
.b-arch {
    border-radius: 100vmax 100vmax 2px 2px !important;
    overflow: hidden;
    isolation: isolate;
}

.b-arch::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 169, 97, 0.45);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
}

/* ==========================================================================
   8. DRINKS & KITCHEN
   ========================================================================== */
.drinks__header .b-kicker { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }

.drinks__lottie {
    width: clamp(92px, 9vw, 128px);
    aspect-ratio: 1;
    margin: 0 0 0.5rem -10px;
}

.drinks__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 0 1rem -4px;
    opacity: 0.85;
}

.drinks__number { letter-spacing: 0.14em !important; }

.drinks__description { font-weight: 300; }

/* ==========================================================================
   9. EVENTS
   ========================================================================== */
.events__headline {
    color: var(--color-text-primary) !important;
    font-weight: 400 !important;
    letter-spacing: -0.005em !important;
}

.events__headline em { font-size: 1em; }

.events__signature {
    font-style: italic;
    opacity: 0.8 !important;
}

.events__icon {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    opacity: 0.85;
}

.events__facts {
    font-family: var(--font-ui) !important;
    font-size: var(--fs-label) !important;
    letter-spacing: var(--ls-claim) !important;
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.5) !important;
}

/* ==========================================================================
   10. VOYAGE · DEPARTURES (Abflugtafel) — auch auf voyage.html genutzt
   ========================================================================== */
.departures {
    position: relative;
    margin: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.5rem);
    background: var(--voyage-ink);
    border: 1px solid rgba(244, 242, 237, 0.08);
    border-left: 4px solid var(--voyage-lagoon);
    color: var(--voyage-cream);
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

.departures.is-visible { opacity: 1; transform: none; }

/* feines Lagoon-Muster als Prägung */
.departures::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/brand/muster/Muster_Voyage_Lagoon.webp') center / 480px repeat;
    opacity: 0.05;
    pointer-events: none;
}

.departures > * { position: relative; }

.departures__head {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "kicker plane"
        "logo   plane"
        "claim  plane";
    align-items: center;
    column-gap: 2rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.departures__kicker {
    grid-area: kicker;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: var(--ls-claim);
    text-transform: uppercase;
    color: var(--voyage-lagoon-light);
}

.departures__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--voyage-lagoon-light);
    box-shadow: 0 0 0 0 rgba(143, 201, 195, 0.6);
    animation: b3Pulse 2.2s ease-out infinite;
}

@keyframes b3Pulse {
    0%   { box-shadow: 0 0 0 0 rgba(143, 201, 195, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(143, 201, 195, 0); }
    100% { box-shadow: 0 0 0 0 rgba(143, 201, 195, 0); }
}

.departures__logo {
    grid-area: logo;
    display: block;
    width: clamp(170px, 22vw, 260px);
}

.departures__logo img { width: 100%; height: auto; display: block; }

.departures__claim {
    grid-area: claim;
    margin: 0.9rem 0 0;
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: var(--ls-claim);
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.75);
}

.departures__plane {
    grid-area: plane;
    justify-self: end;
    width: min(100%, 360px);
    aspect-ratio: 2 / 1;
    opacity: 0.9;
}

/* Board */
.board {
    border-top: 1px solid rgba(244, 242, 237, 0.18);
    font-family: var(--font-mono);
}

.board__row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.6fr 0.5fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(244, 242, 237, 0.1);
    color: var(--voyage-cream);
    font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.95rem);
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background var(--motion-base) var(--ease-luxury);
}

a.board__row:hover {
    background: rgba(31, 111, 107, 0.16);
    color: var(--voyage-cream);
}

.board__flight { color: var(--voyage-lagoon-light); }

[data-flap] { white-space: pre; }
.is-flapping { color: var(--voyage-lagoon-light); }

.board__dest {
    font-family: var(--font-headline);
    font-size: 1.3em;
    letter-spacing: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
}

.board__status {
    justify-self: start;
    display: inline-block;
    padding: 0.32rem 0.7rem;
    border: 1px solid rgba(244, 242, 237, 0.35);
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.75);
    white-space: nowrap;
}

.board__status--boarding {
    background: var(--voyage-cream);
    border-color: var(--voyage-cream);
    color: var(--voyage-ink);
    animation: b3Blink 2.4s steps(1) infinite;
}

@keyframes b3Blink {
    0%, 70% { opacity: 1; }
    85%     { opacity: 0.55; }
}

.departures__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.departures__route {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    flex: 1;
    max-width: 340px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    color: rgba(244, 242, 237, 0.7);
}

.departures__route-line {
    flex: 1;
    height: 1px;
    background-image: linear-gradient(90deg, rgba(244, 242, 237, 0.45) 50%, transparent 50%);
    background-size: 10px 1px;
    animation: b3Dash 1.4s linear infinite;
}

@keyframes b3Dash { to { background-position: 10px 0; } }

.departures__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.85rem 1.4rem 0.85rem calc(1.4rem + 0.24em);
    background: var(--voyage-lagoon);
    color: var(--voyage-cream);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--motion-base) var(--ease-luxury);
}

.departures__cta:hover { background: #26857f; color: var(--voyage-cream); }
.departures__cta svg { transition: transform var(--motion-base) var(--ease-luxury); }
.departures__cta:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
    .departures {
        margin-left: calc(-1 * var(--padding-inline) + 8px);
        margin-right: calc(-1 * var(--padding-inline) + 8px);
        border-left-width: 3px;
    }
    .departures__head {
        grid-template-columns: 1fr;
        grid-template-areas: "kicker" "logo" "claim" "plane";
    }
    .departures__plane {
        justify-self: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto -0.5rem;
    }
    .board__row {
        grid-template-columns: 3.8em 1fr auto;
        gap: 0.2rem 0.75rem;
        font-size: 0.74rem;
    }
    .board__hide-sm { display: none; }
    /* Destination rutscht in eine zweite Zeile unter Datum */
    .board__dest { grid-column: 2 / 4; grid-row: 2; font-size: 1.15em; }
    .board__row > :last-child { grid-column: 3; grid-row: 1; }
    
    .departures__foot { flex-direction: column; align-items: stretch; }
    .departures__route { max-width: none; }
    .departures__cta { justify-content: center; }
}

/* ==========================================================================
   11. KONTAKT · GATE 01
   ========================================================================== */
.contact__gate {
    width: clamp(84px, 8vw, 112px);
    aspect-ratio: 1;
    margin: 0 auto 0.75rem;
}

.contact__headline { font-weight: 400 !important; }
.contact__headline em { font-size: 1em; }

.contact__badge {
    font-family: var(--font-ui) !important;
    letter-spacing: 0.2em !important;
    border-radius: 0 !important;
}

.contact__option-label {
    font-family: var(--font-headline) !important;
}

/* ==========================================================================
   12. FOOTER — Siegel, Signatur, „Flights by Voyage“, Ton-in-Ton-Muster
   ========================================================================== */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/brand/muster/Muster_Night_Gold.webp') center top / 560px repeat;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
    pointer-events: none;
    z-index: 0;
}

.footer__container { position: relative; z-index: 1; }

.footer__seal {
    display: block;
    width: clamp(96px, 10vw, 128px);
    height: auto;
    margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
    opacity: 0.95;
    transform: rotate(-6deg);
    transition: transform 0.8s var(--ease-luxury);
}

.footer__closing:hover .footer__seal { transform: rotate(0deg) scale(1.03); }

.footer__logo {
    height: clamp(44px, 5.5vw, 62px) !important;
    opacity: 1 !important;
}

.footer__flights {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: var(--ls-claim);
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.6);
    text-decoration: none;
    transition: color var(--motion-base) var(--ease-luxury);
}

.footer__flights img {
    height: 34px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--motion-base) var(--ease-luxury), transform var(--motion-base) var(--ease-luxury);
}

.footer__flights:hover { color: var(--voyage-lagoon-light); }
.footer__flights:hover img { opacity: 1; transform: rotate(-3deg); }

.footer__info-label {
    font-family: var(--font-ui) !important;
    letter-spacing: var(--ls-claim) !important;
}

.footer__info-text { font-weight: 300; }

/* ==========================================================================
   13. PRIVACY / POPUPS — Inter-Buttons
   ========================================================================== */
.privacy-banner__btn,
.summer-notice__btn {
    font-family: var(--font-ui) !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
}

/* ==========================================================================
   14. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .departures { opacity: 1; transform: none; transition: none; }
    .departures__dot,
    .board__status--boarding,
    .departures__route-line { animation: none !important; opacity: 1; }
}

/* ==========================================================================
   15. ZEITLOSE TAFEL & INSTAGRAM-HINWEIS (kein CMS → Termine auf Instagram)
   ========================================================================== */
.board--info { border-top: 1px solid rgba(244, 242, 237, 0.18); }
.board--info .board__row { grid-template-columns: 1fr 1.8fr 1fr auto; }
.board--info .board__flight { letter-spacing: 0.14em; }

@media (max-width: 768px) {
    .board--info .board__row { grid-template-columns: 1fr auto; }
    .board--info .board__dest { grid-column: 1 / -1; grid-row: 2; }
    .board--info .board__row > :last-child { grid-column: 2; grid-row: 1; }
}

.events__ig {
    margin: 1.25rem 0 0;
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(244, 242, 237, 0.55);
}

.events__ig a {
    color: var(--color-accent-gold);
    border-bottom: 1px solid rgba(201, 169, 97, 0.4);
    padding-bottom: 2px;
}

/* Aktive Seite in der Navigation (z. B. Voyage) */
.nav__link.is-current { color: var(--voyage-lagoon-light); }
.nav__link.is-current::after { transform: scaleX(1); }
