/* =============================================
   Section Intro Block — taubenloft/section-intro
   Figma 1:2581 (how it works → titles part)
   ─────────────────────────────────────────────
   Section frame:        1920×256 (within parent 1920×3024)
   Padding:              0 (vertical handled by section); 240/240 horizontal
   Background:           #EAEBE6 (inherits from parent in Figma)
   itemSpacing:          64 (title row → Line 11 below)
   ─────────────────────────────────────────────
   Title row:    1920×192, HORIZONTAL, padding 0/240, SPACE_BETWEEN
   Eyebrow:      dot 20×20, gap 12, text 16/21.82 weight 500 upper
   Right col:    650×192, VERTICAL, gap 48, primaryAxis MAX,
                 counterAxis MAX (right-aligned)
   Heading:      36/50.4 weight 500 #333A42
   CTA pill:     bg #333A42, radius 50, padding 10/20, gap 10
                 text 16/24 #EAEBE6, arrow icon
   ============================================= */

.tl-section-intro {
    background: #eaebe6;
    color: #333a42;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    padding: 96px 24px;
}

/* Bottom divider always — toggle removed from admin */
.tl-section-intro { border-bottom: 1px solid rgba(51, 58, 66, 0.5); }   /* Figma 2026-05: stroke #333A42@0.5 */

.tl-section-intro__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}

/* ── Eyebrow (LEFT) ──────────────────────────────── */
.tl-section-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    line-height: 21.824px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #333a42;
    flex: 0 0 auto;
    padding-top: 0;               /* Figma 2026-05: eyebrow + heading both top-aligned, no offset */
}

.tl-section-intro__eyebrow-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333a42;
    flex: 0 0 20px;
}

/* ── Right column (heading + CTA, right-aligned) ─── */
.tl-section-intro__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;          /* Figma counterAxisAlignItems MAX */
    gap: 48px;                      /* Figma itemSpacing */
    flex: 0 1 650px;                /* Figma right column width */
    max-width: 650px;
    text-align: right;
}

.tl-section-intro__heading {
    margin: 0;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, sans-serif;
    font-size: 36px;
    line-height: 50.4px;
    font-weight: 500;
    letter-spacing: 0;
    color: #333a42;
}

.tl-section-intro__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #333a42;
    color: #eaebe6 !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: opacity 0.2s, background 0.2s;
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: flex-end;
}
.tl-section-intro__cta:hover,
.tl-section-intro__cta:focus {
    background: #4a5159;
    color: #eaebe6 !important;
    opacity: 1;
}
.tl-section-intro__cta-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-left: -2px;             /* tighter optical gap */
    transition: transform 0.25s ease-out;
}
/* ↘ arrow nudges down-right on hover (matches Figma icon direction) */
.tl-section-intro__cta:hover .tl-section-intro__cta-icon,
.tl-section-intro__cta:focus .tl-section-intro__cta-icon {
    transform: translate(2px, 2px);
}

/* ── Laptop ≤1440 ─────────────────────────────────── */
@media (max-width: 1440px) {
    ; }
}

/* ── Tablet ≤1024 ─────────────────────────────────── */
@media (max-width: 1024px) {
    .tl-section-intro { padding: 64px 32px; }
    .tl-section-intro__heading { font-size: 24px; line-height: 28.8px; }   /* Figma mobile/tablet: 24/28.8 */
    .tl-section-intro__right { gap: 32px; flex-basis: 480px; max-width: 480px; }
}

/* ── Mobile ≤767 — stack vertically ───────────────── */
@media (max-width: 767px) {
    .tl-section-intro { padding: 48px 16px; }
    .tl-section-intro__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .tl-section-intro__eyebrow {
        gap: 12px;
        font-size: 14px;             /* Figma mobile 2026-05 verified: 14/19.1 weight 500 */
        line-height: 19.1px;
        padding-top: 0;
    }
    .tl-section-intro__eyebrow-dot {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
    .tl-section-intro__right {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        align-items: flex-start;        /* left-aligned on mobile */
        text-align: left;
        gap: 24px;
    }
    .tl-section-intro__heading {
        font-size: 24px;
        line-height: 28.8px;
    }
    .tl-section-intro__cta {
        align-self: stretch;
        justify-content: center;
    }
    /* allow long German words to break instead of horizontal overflow */
    .tl-section-intro__heading {
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* ── Narrow phones (≤480) — force-stack even if browser ignores 767 breakpoint ── */
@media (max-width: 480px) {
    .tl-section-intro__container {
        display: block;
    }
    .tl-section-intro__right,
    .tl-section-intro__eyebrow {
        width: 100%;
        max-width: 100%;
    }
    .tl-section-intro__right {
        margin-top: 24px;
    }
}

/* The two-column "header + description" variant moved to acf/section-header-split. */
