@charset "UTF-8";
/*
 * Estrel Tower — FAQ-Page (Tabs + Akkordeon-Filter)
 * Figma 760:908 (1920×3891)
 *
 * Layout:
 *   Hero (1022)              info-hero.css
 *   Intro paragraph          y=1138, x=404, w=1112  Söhne 400 28/34
 *   Tabs (2 rows)            row1 y=1407, row2 y=1473
 *                            pill h=42, r=25, GT Alpina 250 italic 20/22
 *                            active fill #FED3CD, inactive stroke #FED3CD w=1
 *   Section heading          y=1679, "Gut informiert..." Söhne 300 35/35
 *   Accordion list           items spacing per Figma
 */

/* Body-Background für Info-Pages auf Figma-Frame-bg setzen.
   Hero hat eigenes #FEF5EC, alles darunter sitzt auf #FFFBF7. */
body:has(.estrel-faq-tabs),
body:has(.estrel-legal-tabs),
body:has(.estrel-legal-doc),
body:has(.estrel-info-hero):not(:has(.estrel-info-hero-dark)) {
    background: #FFFBF7 !important;
}


/* Header transparent mit Blur (wie Figma) — Info-Pages haben hellen Hero,
   Blur/Tint nach Shrink aktiv damit Logo + Pills lesbar bleiben.
   Match startpage pattern: blur + cream gradient live auf ::before mit
   Edge-Fade-Mask, statt hartem Rechteck direkt auf der Navbar.
   Override gegen header-pill.css das ::before auf Category-Pages ausblendet
   und backdrop-filter: none setzt. */
body:has(.estrel-info-hero) .estrel-page.has-category-pill .estrel-navbar.is-scrolled,
body:has(.estrel-info-hero) .estrel-navbar.is-scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 0 !important;
}

body:has(.estrel-info-hero) .estrel-page.has-category-pill .estrel-navbar::before,
body:has(.estrel-info-hero) .estrel-navbar::before {
    display: block;
}

body:has(.estrel-info-hero) .estrel-page.has-category-pill .estrel-navbar.is-scrolled::before,
body:has(.estrel-info-hero) .estrel-navbar.is-scrolled::before {
    background: linear-gradient(to bottom, rgba(254, 245, 236, 0.6) 0%, rgba(254, 245, 236, 0.3) 60%, transparent 100%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}


/* ============================
   Intro Paragraph (zwischen Hero und Tabs)
   ============================ */

.content-text.estrel-info-intro,
.estrel-info-intro {
    container-type: inline-size;
    --u: calc(100cqi / 1920);
    width: 100%;
    max-width: none !important;
    padding: calc(116 * var(--u)) calc(404 * var(--u)) 0 !important;
    margin: 0 !important;
    text-align: center;
}

.estrel-info-intro p {
    font-family: 'Söhne', sans-serif;
    font-weight: 400;
    font-size: calc(28 * var(--u));
    line-height: calc(34 * var(--u));
    color: #14172D;
    margin: 0 auto;
    max-width: calc(1112 * var(--u));
}

.estrel-info-intro em {
    font-family: 'GT Alpina', serif;
    font-style: italic;
    font-weight: 250;
}

@media (max-width: 1024px) {
    .content-text.estrel-info-intro,
    .estrel-info-intro {
        --u: calc(100cqi / 1024);
        padding: calc(60 * var(--u)) calc(40 * var(--u)) 0 !important;
    }
    .estrel-info-intro p {
        font-size: calc(20 * var(--u));
        line-height: calc(28 * var(--u));
    }
}

@media (max-width: 640px) {
    .content-text.estrel-info-intro,
    .estrel-info-intro {
        --u: calc(100cqi / 375);
        padding: calc(40 * var(--u)) calc(20 * var(--u)) 0 !important;
    }
    .estrel-info-intro p {
        font-size: calc(16 * var(--u));
        line-height: calc(24 * var(--u));
    }
}

/* ============================
   Tabs row (estrel_faq_tabs)
   ============================ */

.estrel-faq-tabs {
    container-type: inline-size;
    --u: calc(100cqi / 1920);
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: calc(60 * var(--u)) 0 0 !important;
    background: transparent;
}

.estrel-faq-tabs__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(15 * var(--u));
    max-width: calc(800 * var(--u));
    margin: 0 auto;
}

.estrel-faq-tabs__pill {
    appearance: none;
    background: transparent;
    border: 1px solid #FED3CD;
    border-radius: calc(25 * var(--u));
    padding: calc(10 * var(--u)) calc(35 * var(--u));
    height: calc(42 * var(--u));
    font-family: 'GT Alpina', serif;
    font-style: italic;
    font-weight: 250;
    font-size: calc(20 * var(--u));
    line-height: calc(22 * var(--u));
    color: #14172D;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.estrel-faq-tabs__pill:hover {
    background: rgba(254, 211, 205, 0.4);
}

.estrel-faq-tabs__pill.is-active {
    background: #FED3CD;
}


/* ============================
   FAQ filter — show only items matching active tab
   ============================ */

/* Default: show items without category. With active tab, hide non-matching */
body[data-faq-tab] .estrel-faq[data-faq-category] {
    display: none;
}

body[data-faq-tab="allgemein"] .estrel-faq[data-faq-category="allgemein"],
body[data-faq-tab="hotel"] .estrel-faq[data-faq-category="hotel"],
body[data-faq-tab="eroeffnung"] .estrel-faq[data-faq-category="eroeffnung"],
body[data-faq-tab="kulinarik"] .estrel-faq[data-faq-category="kulinarik"],
body[data-faq-tab="meetings-events"] .estrel-faq[data-faq-category="meetings-events"],
body[data-faq-tab="tower-offices"] .estrel-faq[data-faq-category="tower-offices"],
body[data-faq-tab="nachhaltigkeit"] .estrel-faq[data-faq-category="nachhaltigkeit"],
body[data-faq-tab="presse"] .estrel-faq[data-faq-category="presse"] {
    display: block;
}

/* When no tab is active (page just loaded, JS pending), show all */
body:not([data-faq-tab]) .estrel-faq[data-faq-category] {
    display: block;
}


/* ============================
   FAQ list visual override on FAQ-page (more compact spacing per Figma)
   ============================ */

body:has(.estrel-faq-tabs) .estrel-faq {
    background: transparent;
}

.faq-page .estrel-faq {
    container-type: inline-size;
    --u: calc(100cqi / 1920);
    max-width: none !important;
    padding: calc(40 * var(--u)) 0 !important;
    margin: 0 !important;
}

.faq-page .estrel-faq__list {
    max-width: calc(1292 * var(--u));
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.faq-page .estrel-faq__heading {
    max-width: calc(1292 * var(--u));
    margin: 0 auto calc(35 * var(--u));
    padding: 0;
    font-family: 'Söhne', sans-serif;
    font-weight: 300;
    font-size: calc(35 * var(--u));
    line-height: calc(35 * var(--u));
    color: #14172D;
}

.faq-page .estrel-faq__heading-accent {
    font-family: 'GT Alpina', serif;
    font-style: italic;
    font-weight: 250;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
    .estrel-faq-tabs {
        --u: calc(100cqi / 1024);
        padding: calc(40 * var(--u)) calc(20 * var(--u)) 0 !important;
    }
    .estrel-faq-tabs__pill {
        height: calc(36 * var(--u));
        font-size: calc(16 * var(--u));
        padding: calc(8 * var(--u)) calc(24 * var(--u));
        border-radius: calc(20 * var(--u));
    }
    .faq-page .estrel-faq {
        --u: calc(100cqi / 1024);
        padding: calc(30 * var(--u)) calc(20 * var(--u)) !important;
    }
}

@media (max-width: 640px) {
    .estrel-faq-tabs {
        --u: calc(100cqi / 375);
        padding: calc(28 * var(--u)) calc(16 * var(--u)) 0 !important;
    }
    .estrel-faq-tabs__row {
        gap: calc(8 * var(--u));
    }
    .estrel-faq-tabs__pill {
        height: calc(34 * var(--u));
        font-size: calc(14 * var(--u));
        padding: calc(6 * var(--u)) calc(16 * var(--u));
        border-radius: calc(18 * var(--u));
    }
    .faq-page .estrel-faq {
        --u: calc(100cqi / 375);
        padding: calc(20 * var(--u)) calc(16 * var(--u)) !important;
    }
}
