@charset "UTF-8";
/*
 * Estrel Tower — Meetings & Events Section
 * Pixel-perfect Figma implementation (1920 design frame).
 *
 * Layout (within 1815 container):
 *   Section frame   1621 × 938  centered, 1px Watermelon border
 *   Image           646 × 938   left side
 *   Content panel   813 × 694   right side, top 30, left 808
 *     Title "Meetings\n& Events"  673 × 216  top 0
 *       "Meetings"  Söhne 400  124 / 105  #FEF5EC
 *       "& Events"  Alpina 250i 124 / 105  #FEF5EC
 *     Body text     813 × 332  top 263, Söhne 400 24/32 #FEF5EC
 *     CTA "Buchen"  117 × 30   top 664, radius 41.5, bg #FED3CD
 *     CTA "Mehr erfahren" 167 × 30  top 664, left 138, outline #FED3CD
 *
 *   Tab bar on image: 279 × 19, bottom 51 from section bottom
 *     Söhne 300 12/8 #14172D, inactive 50% opacity
 *
 * Scaling: --u = 100cqi / 1815 (container-based, same as intro).
 */

.estrel-meetings {
    container-type: inline-size;
    margin: 0 auto !important;
    padding: 0 !important;
    padding-top: calc(304 * 100vw / 1920) !important;  /* Figma gap: News → Meetings = 304px */
    background: transparent;
}

.estrel-meetings__row {
    --u: calc(100cqi / 1920);
    position: relative;
    width: calc(1621 * var(--u));
    height: calc(938 * var(--u));
    margin: 0 auto;
    border: none;
    background: transparent;
    display: flex;
    gap: calc(60 * var(--u));
    overflow: hidden;
}


/* ============================
   LEFT: Image + Tab bar
   ============================ */

.estrel-meetings__media {
    position: relative;
    flex: 0 0 calc(646 * var(--u));
    height: 100%;
    overflow: hidden;
    border-radius: calc(3 * var(--u));
}

.estrel-meetings__tab-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.estrel-meetings__tab-image.is-active {
    opacity: 1;
}

/* Tab bar — overlaid at bottom of image */
.estrel-meetings__tabs {
    position: absolute;
    bottom: calc(51 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(254, 245, 236, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: calc(30 * var(--u));
    padding: calc(10 * var(--u)) calc(20 * var(--u));
    height: calc(36 * var(--u));
}

.estrel-meetings__tab {
    display: inline-flex;
    align-items: center;
    padding: 0 calc(18 * var(--u));
    font-family: var(--font-soehne);
    font-weight: 300;
    font-size: calc(16 * var(--u));
    line-height: 1.2;
    letter-spacing: 0;
    color: #14172D;
    opacity: 0.5;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.estrel-meetings__tab:hover {
    opacity: 0.75;
}

.estrel-meetings__tab.is-active {
    opacity: 1;
    font-weight: 400;
}


/* ============================
   RIGHT: Content panel
   ============================ */

.estrel-meetings__content {
    position: relative;
    flex: 1;
    padding: calc(30 * var(--u)) calc(40 * var(--u)) calc(40 * var(--u));
}

/* Title — uses theme-aware colors */
.estrel-meetings__heading {
    margin: 0 0 calc(47 * var(--u));
    color: var(--text-primary, #FEF5EC);
    font-size: calc(124 * var(--u));
    line-height: calc(105 * var(--u));
    letter-spacing: 0;
}

.estrel-meetings__heading-line1 {
    display: block;
    margin-left: calc(155 * var(--u));
    font-family: var(--font-soehne);
    font-weight: 400;
    font-style: normal;
}

.estrel-meetings__heading-line2 {
    display: block;
    font-family: var(--font-alpina);
    font-weight: 250;
    font-style: italic;
}

/* Tab panels */
.estrel-meetings__tab-panel {
    display: none;
}

.estrel-meetings__tab-panel.is-active {
    display: block;
}

/* Body text */
.estrel-meetings__tab-text {
    width: 100%;
    font-family: var(--font-soehne);
    font-weight: 400;
    font-size: calc(24 * var(--u));
    line-height: calc(32 * var(--u));
    letter-spacing: 0;
    color: var(--text-primary, #FEF5EC);
}

.estrel-meetings__tab-text p {
    margin: 0;
}

.estrel-meetings__tab-text p + p {
    margin-top: calc(32 * var(--u));
}

/* CTAs */
.estrel-meetings__tab-ctas {
    display: flex;
    gap: calc(21 * var(--u));
    margin-top: calc(69 * var(--u));
}

.estrel-meetings__tab-ctas .estrel-btn,
.estrel-meetings__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: calc(30 * var(--u));
    padding: 0;
    border-radius: calc(41.5 * var(--u));
    font-family: var(--font-alpina);
    font-weight: 250;
    font-style: italic;
    font-size: calc(19 * var(--u));
    line-height: calc(22 * var(--u));
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.estrel-meetings__tab-ctas .estrel-btn--primary,
.estrel-meetings__btn--primary {
    width: calc(117 * var(--u));
    background: #FED3CD;
    border: none;
    color: #14172D;
    letter-spacing: 0.11em;
}

.estrel-meetings__tab-ctas .estrel-btn--secondary,
.estrel-meetings__btn--secondary {
    width: calc(167 * var(--u));
    background: transparent;
    border: 1px solid #FED3CD;
    color: var(--text-primary, #FEF5EC);
    letter-spacing: 0.05em;
}

.estrel-meetings__tab-ctas .estrel-btn:hover,
.estrel-meetings__btn:hover {
    opacity: 0.85;
    text-decoration: none;
}


/* ============================
   MOBILE (<768)
   ============================ */

/* Tablet: stack vertically */
@media (max-width: 1024px) {
    .estrel-meetings__row {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .estrel-meetings__media {
        flex: none;
        width: 100%;
        height: 450px;
    }

    .estrel-meetings__content {
        padding: 40px var(--container-padding);
    }

    .estrel-meetings__heading {
        font-size: clamp(3rem, 8vw, 5rem);
        line-height: 0.85;
        margin-bottom: 2rem;
    }

    .estrel-meetings__tab-text {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .estrel-meetings__tab-ctas .estrel-btn,
    .estrel-meetings__btn {
        height: 36px;
        font-size: 1rem;
        border-radius: 18px;
    }

    .estrel-meetings__tab-ctas .estrel-btn--primary,
    .estrel-meetings__btn--primary { width: auto; padding: 0 1.5rem; }

    .estrel-meetings__tab-ctas .estrel-btn--secondary,
    .estrel-meetings__btn--secondary { width: auto; padding: 0 1.5rem; }
}

@media (max-width: 1024px) {
    .estrel-meetings__tabs {
        bottom: 18px;
        padding: 12px 18px;
        height: auto;
        border-radius: 28px;
        gap: 4px;
    }

    .estrel-meetings__tab {
        font-size: 0.95rem;
        line-height: 1.3;
        padding: 2px 14px;
    }
}

@media (max-width: 767px) {
    .estrel-meetings__media {
        height: 300px;
    }

    .estrel-meetings__tabs {
        bottom: 14px;
        padding: 10px 14px;
        border-radius: 24px;
    }

    .estrel-meetings__tab {
        font-size: 0.875rem;
        padding: 2px 12px;
    }

    .estrel-meetings__content {
        padding: 30px 20px;
    }

    .estrel-meetings__heading {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .estrel-meetings__tab-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .estrel-meetings__tab-ctas {
        margin-top: 1.5rem;
    }

    .estrel-meetings__tab-ctas .estrel-btn,
    .estrel-meetings__btn {
        height: 36px;
        font-size: 0.875rem;
    }
}
