@charset "UTF-8";
/*
 * Estrel Tower — Kontakt page-level overrides
 * Sets dark-mode background + adapts the room-hero for the contact page
 * (no category-nav, no booking-pill).
 */

body.is-kontakt {
    background: #14172D;
    color: #FEF5EC;
}

body.is-kontakt .estrel-page {
    background: #14172D;
}

/* Override page-content's 1100px clamp + padding — contact sections are full-bleed.
   page-content.css uses !important on max-width/margin/padding, so we match it. */
body.is-kontakt.page-content .mod_article,
body.is-kontakt .mod_article {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #14172D;
}

body.is-kontakt [class^="content-estrel"],
body.is-kontakt [class*=" content-estrel"] {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* layout.css applies `padding: var(--section-gap) var(--container-padding)`
   = ~120px 80px to every `<section class="estrel-...">`, which shrinks the
   container-query inline-size and makes our --u (100cqi/1920) 9% too small.
   Reset these 5 contact sections to full-bleed so --u maps cleanly. */
body.is-kontakt section.estrel-contact-intro,
body.is-kontakt section.estrel-anfahrt,
body.is-kontakt section.estrel-map,
body.is-kontakt section.estrel-persons,
body.is-kontakt section.estrel-form-block {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide category-nav and booking pill on contact page */
body.is-kontakt .estrel-zimmer-hero__nav,
body.is-kontakt .estrel-zimmer-hero__cat-sentinel,
body.is-kontakt .estrel-sticky-booking { display: none !important; }

/* Contact-page hero shouldn't reserve nav-bottom space */
body.is-kontakt .estrel-zimmer-hero { padding-bottom: 0 !important; }

/* Theme-toggle (Sunset/Sunrise pill) doesn't make sense on the dark contact page */
body.is-kontakt .estrel-theme-toggle { display: none !important; }

/* Force night palette regardless of any persisted sunset/sunrise class */
body.is-kontakt.sunrise,
body.is-kontakt.sunset {
    --bg-primary: #14172D;
    --text-primary: #FEF5EC;
}

/* ============================================================
   Hero overrides — Kontakt-spezifisch
   Figma 682:374 verwendet:
     "Estrel Tow"  Söhne 400  270/284   x=475  y=254  inside hero frame
     "er"          Söhne 400  270/284   x=0    y=475  (left-bleed via x-offset)
     "Kontakt"     GT Alpina 250 italic 280/274   x=303  y=494
   ============================================================ */

/* Desktop: shrink size 300 → 270 + smaller bleed */
@media (min-width: 1025px) {
    body.is-kontakt .estrel-zimmer-hero__title-line1 {
        font-size: calc(270 * var(--u));
        line-height: calc(284 * var(--u));
        padding-left: calc(560 * var(--u));
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2 {
        line-height: calc(284 * var(--u));
        padding-left: calc(85 * var(--u));
        gap: calc(60 * var(--u));
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2-prefix {
        font-size: calc(270 * var(--u));
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2-accent {
        font-size: calc(280 * var(--u));
    }
}

/* Tablet (≤1024) + Mobile (≤767): no bleed, no absolute oversize.
   Render as a single contained title centered under the hero image.
   Re-flow .estrel-zimmer-hero__title to a normal block. */
@media (max-width: 1024px) {
    body.is-kontakt .estrel-zimmer-hero__title {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        padding: 24px 24px 32px;
        text-align: center;
        line-height: 1;
    }
    body.is-kontakt .estrel-zimmer-hero__title-line1 {
        font-size: clamp(40px, 7vw, 64px);
        line-height: 1.05;
        padding-left: 0;
        white-space: normal;
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2 {
        display: block;
        padding-left: 0;
        line-height: 1.05;
        margin-top: 6px;
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2-prefix {
        font-size: clamp(40px, 7vw, 64px);
        margin-right: 0.4em;
    }
    body.is-kontakt .estrel-zimmer-hero__title-line2-accent {
        font-size: clamp(44px, 7.5vw, 72px);
    }
}

@media (max-width: 767px) {
    body.is-kontakt .estrel-zimmer-hero__title { padding: 20px 16px 24px; }
}

/* On contact page, the global Footer-Above (estrel-contact) keeps its pink BG —
   no override needed; cream copyright bar lives inside its own scope. */
