/* ==========================================================================
   NOVA-MED · Stylesheet
   Struktur & Farben laut Mockup, Schrift (Mona Sans) laut Brandwall
   ========================================================================== */

:root {
    /* Markenfarben (Brandwall) */
    --ink: #11161F;
    --grey: #999999;
    --paper: #EEEFEC;
    --mist: #E2E8FA;
    --blue: #0872F5;
    --royal: #0D358D;
    --navy: #111D47;
    --yellow: #FFEA4E;
    --olive: #6B721F;
    --lime: #E1F7A3;
    --white: #FFFFFF;

    /* Farben aus dem Mockup */
    --accent: #1A35E8;        /* Menü aktiv, Eyebrows, Links, Icons, Timeline */
    --button: #0A3BD6;        /* Buttons, aktiver Tab */
    --button-hover: #0830B4;
    --badge: #0838CF;         /* Preis-Badge, Footer */
    --heading: #0B0D35;       /* Überschriften */
    --nav: #2E3358;           /* Menüpunkte inaktiv */
    --muted: #4A4D6B;         /* Fließtext / Leads */
    --muted-2: #5C5F78;       /* Kartentexte */
    --sky: #4DA8FF;           /* Icons im Hero */
    --cta: #FCEF0A;           /* Gelbe Buttons */
    --hero-tint: 10, 40, 170; /* Blau-Überlagerung Hero/Banner (RGB) */

    --text: var(--heading);
    --line: rgba(11, 13, 53, .12);
    --surface: #EDEEF1;

    --font-sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(56px, 7vw, 104px);
    --header-h: 76px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --shadow: 0 1px 2px rgba(17, 29, 71, .06), 0 12px 32px -12px rgba(17, 29, 71, .2);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--white);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) - 1px); /* Ankersprünge: Sektion beginnt direkt unter dem Header */
    scrollbar-gutter: stable; /* Platz für die Scrollleiste immer reservieren – sonst springt das Layout zwischen langen und kurzen Seiten */
}

/* Startseite: Dokument-Hintergrund blau, damit der Overscroll-Bounce oben nicht weiß ist */
html.has-overlay-header { background: rgb(var(--hero-tint)); }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-h);
    overflow-x: clip;
}
body.has-overlay-header { padding-top: 0; }
body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
    margin: 0;
    color: var(--heading);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3, .h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 600;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.media { width: 100%; height: 100%; object-fit: cover; background: var(--mist); }

@media (max-width: 640px) {
    h1, h2 { hyphens: auto; overflow-wrap: break-word; }
}

/* --------------------------------------------------------------------------
   Buttons, Eyebrow, Links
   -------------------------------------------------------------------------- */

.btn {
    --btn-bg: var(--button);
    --btn-fg: var(--white);
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    min-height: 48px;
    padding: .75em 1.5em;
    border: 1.5px solid var(--btn-border);
    border-radius: var(--radius-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }

.btn--blue { --btn-bg: var(--button); --btn-fg: var(--white); }
.btn--blue:hover { --btn-bg: var(--button-hover); }
.btn--yellow { --btn-bg: var(--cta); --btn-fg: var(--heading); }
.btn--yellow:hover { --btn-bg: #fff53d; box-shadow: 0 10px 30px -10px rgba(252, 239, 10, .7); }
.btn--outline-light { --btn-bg: rgba(11, 13, 53, .55); --btn-fg: var(--white); --btn-border: var(--button); }
.btn--outline-light:hover { --btn-bg: var(--button); }
.btn.is-disabled { cursor: default; }
.btn.is-disabled:hover { transform: none; }

.btn--sm { min-height: 42px; padding: .55em 1.2em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.0625rem; }

.eyebrow {
    margin: 0 0 .75rem;
    color: var(--accent);
    font-size: clamp(.9375rem, 1.1vw, 1.0625rem);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--muted); }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    color: var(--heading);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color .3s, color .3s, border-color .3s;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-header__brand { display: block; flex: none; color: inherit; }
.site-header__brand .logo { width: clamp(138px, 14vw, 172px); height: auto; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav__link {
    position: relative;
    display: block;
    padding: 8px 0;
    color: var(--nav);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.site-nav__link::after {
    content: "";
    position: absolute;
    inset: auto 0 -2px;
    height: 2.5px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
/* Breite für den fetten Schnitt reservieren, damit die Navigation nicht springt */
.site-nav__link::before {
    content: attr(data-label);
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: 700;
}
.site-nav__link:hover { color: var(--accent); }
.site-nav__link:hover::after,
.site-nav__link[aria-current]::after { transform: scaleX(1); }
.site-nav__link[aria-current] { color: var(--accent); font-weight: 700; }
.site-nav__mobile-footer { display: none; }

/* Überlagernder Header auf der Startseite */
.site-header--overlay:not(.is-scrolled) { color: var(--white); background: transparent; backdrop-filter: none; border-color: transparent; }
.site-header--overlay:not(.is-scrolled) .site-nav__link { color: var(--white); }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px 0 12px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
}
.nav-toggle__icon { display: inline-flex; }
.nav-toggle__icon--close { display: none; }

@media (max-width: 1023px) {
    .site-header__cta { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; position: relative; z-index: 2; }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 0;
        padding: calc(var(--header-h) + 24px) var(--gutter) max(32px, env(safe-area-inset-bottom));
        background: linear-gradient(rgba(var(--hero-tint), .85), rgba(var(--hero-tint), .85)), url("../img/gradient-1000.jpg") center / cover;
        visibility: hidden;
        opacity: 0;
        transition: opacity .3s var(--ease), visibility 0s .3s;
        overflow-y: auto;
    }
    .site-nav__list { flex-direction: column; gap: 4px; }
    .site-nav__link,
    .site-header--overlay:not(.is-scrolled) .site-nav__link {
        padding: 10px 0;
        color: var(--white);
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        font-weight: 600;
        letter-spacing: -.02em;
    }
    .site-nav__link::after { display: none; }
    .site-nav__link[aria-current],
    .site-header--overlay:not(.is-scrolled) .site-nav__link[aria-current] { color: var(--cta); }
    .site-nav__mobile-footer { display: grid; gap: 16px; margin-top: 40px; }
    .site-nav__meta { margin: 0; color: var(--mist); }

    .nav-open .site-header { color: var(--white); background: transparent; border-color: transparent; backdrop-filter: none; }
    .nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
    .nav-open .site-header__brand { position: relative; z-index: 2; }
    .nav-open .nav-toggle__icon--open { display: none; }
    .nav-open .nav-toggle__icon--close { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   1) Startseite – Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: max(640px, min(100svh, 960px));
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 36px;
    color: var(--white);
    background: rgb(var(--hero-tint));
    overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(var(--hero-tint), .85) 0%, rgba(var(--hero-tint), .55) 45%, rgba(var(--hero-tint), .2) 100%),
        linear-gradient(180deg, rgba(var(--hero-tint), .5) 0%, rgba(var(--hero-tint), 0) 25%, rgba(var(--hero-tint), 0) 60%, rgba(11, 13, 53, .6) 100%);
}
.hero__video, .hero__image { width: 100%; height: 100%; object-fit: cover; }

.hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: clamp(40px, 7vh, 80px);
}
.hero__content { max-width: 760px; }

.hero__meta {
    display: flex;
    align-items: center;
    gap: .6em;
    margin-bottom: clamp(16px, 2.5vh, 24px);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 500;
}
.hero__meta .icon { color: var(--cta); width: 1.2em; height: 1.2em; }

.hero__title {
    color: var(--white);
    font-size: clamp(2.2rem, 5.6vw, 4.75rem);
    line-height: 1.02;
    hyphens: manual;
}

.hero__lead {
    max-width: 19em; /* bricht wie im Mockup: "… für alle 8 / Medizinuniversitäten …" */
    margin: clamp(18px, 3vh, 26px) 0 clamp(26px, 4vh, 36px);
    color: var(--white);
    font-size: clamp(1.125rem, 1.9vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.hero__stats li { display: flex; align-items: flex-start; gap: 16px; color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.3; }
.hero__stats .icon { width: 44px; height: 44px; color: var(--sky); stroke-width: 1.5; }
.hero__stats strong { display: block; color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

.hero__video-toggle {
    position: absolute;
    right: var(--gutter);
    top: calc(var(--header-h) + 16px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(17, 22, 31, .25);
    color: var(--white);
    cursor: pointer;
}
.hero__video-play { display: none; }
.hero__video-toggle.is-paused .hero__video-play { display: inline-flex; }
.hero__video-toggle.is-paused .hero__video-pause { display: none; }

@media (max-width: 900px) {
    .hero__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .hero__stats { grid-template-columns: 1fr; gap: 16px; }
    .hero__stats .icon { width: 32px; height: 32px; }
}

/* Preis-Badge */
.price-badge {
    flex: none;
    display: grid;
    place-content: center;
    justify-items: center;
    width: clamp(160px, 14vw, 196px);
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    background: var(--badge);
    color: var(--white);
    text-align: center;
    line-height: 1.1;
    outline: 1.5px solid rgba(150, 180, 255, .75);
    outline-offset: -5px;
    box-shadow: 0 18px 40px -18px rgba(5, 20, 90, .7);
}
.price-badge__from { font-size: 1.125rem; font-weight: 600; }
.price-badge__price { font-size: clamp(2.25rem, 3.2vw, 2.85rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.price-badge__unit { font-size: 1.125rem; font-weight: 600; }
.price-badge__note { margin-top: 2px; font-size: .8125rem; font-weight: 700; }

@media (max-width: 900px) {
    .hero .price-badge { width: 150px; align-self: flex-end; margin-top: -28px; }
    .hero .price-badge__price { font-size: 2rem; }
}

/* --------------------------------------------------------------------------
   Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */

.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.page-hero .lead { max-width: 820px; margin-top: 1.1rem; }

/* Was ist NOVA-MED: Bild rechts, weich in den Hintergrund auslaufend */
.page-hero--image { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 120px); }
.page-hero--image .page-hero__visual {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -1;
    width: 60%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.page-hero__text { max-width: 760px; }
.page-hero--image h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }

@media (max-width: 900px) {
    .page-hero--image { padding-top: 0; }
    .page-hero--image .page-hero__visual {
        position: relative;
        width: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 32px;
        -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    }
}

.section { padding-block: var(--section); }
.display { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
.section-head--wide { max-width: 980px; }

/* Was ist NOVA-MED: Bild rechts, weich in den Hintergrund auslaufend */
.section--intro-image { position: relative; isolation: isolate; }
.section--intro-image .lead { max-width: 580px; }
.section--intro-image .section-head { max-width: 760px; min-height: clamp(260px, 26vw, 380px); margin-bottom: clamp(32px, 4vw, 56px); }
.section__visual {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 60%;
    height: clamp(380px, 40vw, 560px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 70%, transparent 100%);
    mask-composite: intersect;
}
@media (max-width: 900px) {
    .section--intro-image { padding-top: 0; }
    .section--intro-image .section-head { min-height: 0; }
    .section__visual {
        position: relative;
        width: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 28px;
        -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    }
}

.rooms-head { margin-top: clamp(64px, 8vw, 112px); }
.area__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 1rem; }
.overview-card h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 700; margin-bottom: 10px; }
.cta-band { padding-top: 0; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 900px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head .lead { margin-top: .9rem; }

/* --------------------------------------------------------------------------
   Karten
   -------------------------------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .card-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .card-grid { grid-template-columns: 1fr; }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(17, 29, 71, .04);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media-wrap { position: relative; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media--short { aspect-ratio: 2 / 1; }
.card__icon {
    position: absolute;
    left: 18px;
    bottom: -26px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 6px 20px -6px rgba(17, 29, 71, .3);
}
.card__icon .icon { width: 26px; height: 26px; color: var(--accent); }
.card__media-wrap + .card__body { padding-top: 44px; }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px; }
.card__body p { color: var(--muted-2); font-size: .9375rem; line-height: 1.55; }
.card__body .link-arrow { margin-top: auto; padding-top: 12px; font-size: .9375rem; }

/* --------------------------------------------------------------------------
   3) Programm – Tabs, Zeitplan, Bereiche
   -------------------------------------------------------------------------- */

.tabs__bar {
    position: sticky;
    top: calc(var(--header-h) - 1px);
    z-index: 5;
    margin-bottom: clamp(28px, 3.5vw, 44px);
    padding-block: 12px;
    background: var(--white);
    /* weißer Streifen über die volle Breite, damit zwischen Header und Tabs nichts durchscheint */
    box-shadow: 0 0 0 100vmax var(--white);
    clip-path: inset(0 -100vmax);
}
.tabs__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(max-content, 1fr));
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }

.tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 4px;
    background: var(--surface);
    color: var(--heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s, color .25s;
}
.tabs__tab:hover { background: #E2E4EB; }
.tabs__tab[aria-selected="true"] { background: var(--button); color: var(--white); font-weight: 700; }

.tabs__panel + .tabs__panel { margin-top: var(--section); }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.js .tabs__panel[hidden] { display: none; }
.tabs__panel:focus { outline: none; }

.schedule {
    --tl-gap: clamp(28px, 3.6vw, 48px);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.timeline { display: grid; gap: var(--tl-gap); padding-top: 8px; }
.timeline__day { position: relative; display: grid; gap: 2px; padding-left: 34px; line-height: 1.35; }
.timeline__dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
}
/* Verbindungslinie von Punkt zu Punkt */
.timeline__day:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 3px;
    height: calc(100% + var(--tl-gap));
    background: var(--accent);
}
.timeline__label { color: var(--muted); font-size: 1.0625rem; font-weight: 500; }
.timeline__title { color: var(--muted); font-size: 1.0625rem; font-weight: 500; }

.overview-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(320px, 34vw, 440px);
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius);
    background: var(--heading);
    color: var(--white);
    overflow: hidden;
}
.overview-card__bg { position: absolute; inset: 0; z-index: -2; }
.overview-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 13, 53, 0) 25%, rgba(11, 13, 53, .85) 100%);
}
.overview-card__content { max-width: 620px; }
.overview-card h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: 10px; }
.overview-card p { color: rgba(255, 255, 255, .9); }
.overview-card .btn { margin-top: 20px; }

@media (max-width: 760px) {
    .schedule { grid-template-columns: 1fr; }
}

.program-teasers { margin-top: clamp(24px, 3vw, 40px); }
.card--link h3 { font-size: 1.375rem; }

.area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.area__text h2 { margin-bottom: 1rem; }
.area__text p { color: var(--muted); }
.area__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }

@media (max-width: 860px) {
    .area { grid-template-columns: 1fr; }
    .area__media { order: -1; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-list li {
    padding: .45em 1em;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--heading);
    font-size: .9375rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   4) Resort
   -------------------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 1600 / 520; }
.gallery__item { aspect-ratio: 800 / 520; }

@media (max-width: 640px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery__main { aspect-ratio: 16 / 9; }
    .gallery__item:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

.feature-icons { display: grid; gap: 24px 16px; margin-top: clamp(28px, 3.5vw, 44px); }
.feature-icons--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-icons--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; }
.feature-icons li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}
.feature-icons .icon { width: 46px; height: 46px; color: var(--accent); stroke-width: 1.7; }

@media (max-width: 900px) {
    .feature-icons--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-icons--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .feature-icons--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.room-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 1023px) { .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .room-grid { grid-template-columns: 1fr; } }

.room .card__body { gap: 8px; }
.room__features { padding-left: 1.1em; list-style: disc; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.room__features li::marker { color: var(--heading); }
.room__price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 0 0;
    padding-top: 12px;
    color: var(--heading);
    font-size: 1.3125rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.room__price .icon { width: 26px; height: 26px; color: var(--accent); stroke-width: 2.2; }
.room .btn { margin-top: 8px; width: 100%; }

.amenities-title { margin-top: clamp(48px, 6vw, 80px); font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* --------------------------------------------------------------------------
   5) Partner
   -------------------------------------------------------------------------- */

.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px clamp(16px, 3vw, 48px); }
.partner-logo {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 16px;
    color: #5d6170;
    text-decoration: none;
}
.partner-logo img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo__name { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; text-align: center; }

@media (max-width: 760px) {
    .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* CTA "Sei dabei" */
.cta-band { padding-bottom: var(--section); }
.cta-band__card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 4.5vw, 64px);
    border-radius: var(--radius);
    background: var(--badge);
    color: var(--white);
    overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(var(--hero-tint), .85) 0%, rgba(var(--hero-tint), .45) 60%, rgba(var(--hero-tint), .2) 100%);
}
.cta-band__content { max-width: 640px; }
.cta-band__meta { display: flex; align-items: center; gap: .5em; margin-bottom: .6rem; font-size: 1.125rem; font-weight: 500; }
.cta-band__meta .icon { color: var(--cta); }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.0625rem; }
.cta-band .btn { margin-top: 24px; }

@media (max-width: 800px) {
    .cta-band__card { flex-direction: column; align-items: flex-start; }
    .cta-band .price-badge { align-self: flex-end; width: 150px; }
    .cta-band .price-badge__price { font-size: 2rem; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    padding-block: 40px;
    background: var(--badge);
    color: rgba(255, 255, 255, .85);
    font-size: .9375rem;
}
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--cta); }
.site-footer__brand { color: var(--white) !important; }
.site-footer__brand .logo { width: 150px; height: auto; }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a[aria-current="page"] { color: var(--cta); }

/* --------------------------------------------------------------------------
   Rechtliches, Platzhalter
   -------------------------------------------------------------------------- */

.prose { max-width: 760px; color: var(--muted); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 32px; margin-bottom: 1.5em; }
.prose dt { color: var(--heading); font-weight: 700; }

.todo {
    padding: .1em .45em;
    border-radius: 6px;
    background: rgba(255, 234, 78, .6);
    color: var(--ink);
}
.todo-note {
    display: inline-block;
    margin-top: 24px;
    padding: .4em .8em;
    border-radius: 6px;
    background: rgba(255, 234, 78, .6);
    color: var(--ink);
    font-size: .875rem;
    font-weight: 500;
}

.draft-badge {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 600;
    box-shadow: 0 10px 30px -10px rgba(17, 22, 31, .5);
    pointer-events: none;
}
.draft-badge .star { width: 14px; height: auto; color: var(--olive); }

/* --------------------------------------------------------------------------
   Lightbox, 404
   -------------------------------------------------------------------------- */

.lightbox {
    max-width: min(1200px, 94vw);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--mist);
    overflow: visible;
}
.lightbox::backdrop { background: rgba(17, 22, 31, .85); backdrop-filter: blur(6px); }
.lightbox__img { max-height: 84vh; width: auto; border-radius: var(--radius) var(--radius) 0 0; }
.lightbox__caption { margin: 0; padding: 12px 16px; font-size: .9375rem; }
.lightbox__caption:empty { display: none; }
.lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.error-page { padding-block: clamp(80px, 14vw, 180px); text-align: center; }
.error-page .star { width: 64px; margin: 0 auto 28px; color: var(--accent); }
.error-page .lead { margin: 1.2rem auto 2rem; max-width: 520px; }

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
