/* ============================================================
 * Branche landing — eigen template voor branche-specifieke
 * landingspagina's (horeca, retail, zorg, ...).
 *
 * Hergebruikt gedeelde patronen waar mogelijk:
 *  - .sec-num + .sec-title (global)
 *  - .faq-item (style.css)
 *  - .cta-final (dienst.css, via shared template-part)
 *  - .btn-primary / .btn-ghost
 *
 * Eigen styling alleen voor:
 *  - .bl-hero (compact tekst-only hero)
 *  - .bl-section-head (2-koloms grid, visueel identiek aan .sd2-section-head)
 *  - .bl-pijn (pijnpunten-lijst)
 *  - .bl-dst (diensten-mix grid)
 *  - .bl-cases (cases-strip)
 *
 * BEM-naamgeving, design-tokens uit tokens.css, light + dark mode.
 * ============================================================ */

/* ============================================================
 * Hero — compact, alleen tekst (geen image-kolom)
 * Typografie afgestemd op .sd2-hero/.hero--sd2 voor consistentie.
 * ============================================================ */
.bl-hero {
    background: var(--dark);
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--card-border);
}
.bl-hero .container {
    max-width: 880px;
}
.bl-hero__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 20px;
}
.bl-hero__titel {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--text);
    margin: 0 0 24px;
}
.bl-hero__titel .accent {
    color: var(--pink);
}
.bl-hero__sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-faint);
    max-width: 640px;
    margin: 0 0 32px;
}
.bl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.bl-hero__btn {
    /* btn-primary + btn-ghost komen uit style.css. .bl-hero__btn alleen voor
       optionele spacing-override als nodig. Voorlopig leeg, behouden voor
       toekomstige tweaks zonder cascade-conflicten. */
}

/* ============================================================
 * Section headers — 2-koloms grid, visueel identiek aan
 * .sd2-section-head zodat branche-pagina's matchen met subdienst-v2.
 * ============================================================ */
.bl-section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 56px;
}
.bl-section-head__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-faint);
    max-width: 460px;
    margin: 0;
    justify-self: end;
    text-align: right;
}
@media (max-width: 720px) {
    .bl-section-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bl-section-head__intro {
        text-align: left;
        justify-self: start;
    }
}

/* Sec-title kleuren binnen branche-pagina secties (dark mode default).
   .sec-title uit style.css zet zelf geen color, dus hier specifiek zetten. */
.bl-pijn .sec-title,
.bl-dst .sec-title,
.bl-cases .sec-title,
.bl-faq .sec-title {
    color: var(--text);
}
.bl-pijn .sec-num,
.bl-dst .sec-num,
.bl-cases .sec-num,
.bl-faq .sec-num {
    color: var(--text-faint);
}

/* ============================================================
 * 01: Pijnpunten — gestapelde lijst met pink check-icons
 * ============================================================ */
.bl-pijn {
    background: var(--dark);
    padding: 100px 0;
    border-bottom: 1px solid var(--card-border);
}
.bl-pijn__lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 880px;
}
.bl-pijn__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 24px 28px;
    transition: var(--card-transition);
}
.bl-pijn__item:hover {
    transform: translateX(4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--pink);
}
.bl-pijn__check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(196, 0, 88, 0.15);
    color: var(--pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bl-pijn__body {
    flex: 1;
    min-width: 0;
}
.bl-pijn__titel {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    margin: 0 0 6px;
    line-height: 1.3;
}
.bl-pijn__tekst {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-faint);
    margin: 0;
}

/* ============================================================
 * 02: Diensten-mix grid — kaartjes 3-koloms
 * ============================================================ */
.bl-dst {
    background: var(--dark);
    padding: 100px 0;
    border-bottom: 1px solid var(--card-border);
}
.bl-dst__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 900px) {
    .bl-dst__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .bl-dst__grid {
        grid-template-columns: 1fr;
    }
}
.bl-dst__card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 24px 24px 28px;
    transition: var(--card-transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.bl-dst__card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.bl-dst__card--link:hover {
    transform: var(--card-lift);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--pink);
}
.bl-dst__card--link:hover::after {
    transform: scaleX(1);
}
.bl-dst__card-titel {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    margin: 0 0 8px;
    line-height: 1.3;
}
.bl-dst__card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-faint);
    margin: 0;
}
.bl-dst__card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--pink);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: var(--t-base);
}
.bl-dst__card--link:hover .bl-dst__card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
 * 03: Cases uit branche — gebruikt gedeelde .cases-grid + .case-card
 * (template-parts/case-archive/card.php, CSS in style.css).
 * Deze sectie levert alleen wrapper + lege staat.
 * ============================================================ */
.bl-cases {
    background: var(--anthracite);
    padding: 100px 0;
}
.bl-cases__leeg {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-faint);
    text-align: center;
    margin: 0;
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px dashed var(--card-border);
    border-radius: var(--card-radius);
}

/* ============================================================
 * 04: FAQ-sectie wrapper (FAQ-items zelf gebruiken .faq-item
 * uit style.css, deze sectie levert alleen padding + section-head)
 * ============================================================ */
.bl-faq {
    background: var(--dark);
    padding: 100px 0;
    border-top: 1px solid var(--card-border);
}

/* ============================================================
 * Light-mode varianten (.is-hybrid scope)
 * ============================================================ */
.homepage-v2.is-hybrid .bl-hero,
.homepage-v2.is-hybrid .bl-pijn,
.homepage-v2.is-hybrid .bl-dst,
.homepage-v2.is-hybrid .bl-faq {
    background: var(--light-bg);
    border-color: var(--light-border);
}
.homepage-v2.is-hybrid .bl-cases {
    background: var(--anthracite);
    /* blijft donker als rust-zone ook in lightmode */
}
.homepage-v2.is-hybrid .bl-hero__titel,
.homepage-v2.is-hybrid .bl-pijn__titel,
.homepage-v2.is-hybrid .bl-dst__card-titel,
.homepage-v2.is-hybrid .bl-pijn .sec-title,
.homepage-v2.is-hybrid .bl-dst .sec-title,
.homepage-v2.is-hybrid .bl-faq .sec-title {
    color: var(--light-text);
}
.homepage-v2.is-hybrid .bl-hero__sub,
.homepage-v2.is-hybrid .bl-section-head__intro,
.homepage-v2.is-hybrid .bl-pijn__tekst,
.homepage-v2.is-hybrid .bl-dst__card-desc,
.homepage-v2.is-hybrid .bl-pijn .sec-num,
.homepage-v2.is-hybrid .bl-dst .sec-num,
.homepage-v2.is-hybrid .bl-faq .sec-num {
    color: var(--light-muted);
}
/* .bl-cases blijft anthracite ook in light mode → titel + num blijven licht. */
.homepage-v2.is-hybrid .bl-pijn__item,
.homepage-v2.is-hybrid .bl-dst__card {
    background: var(--card-bg-light);
    border-color: var(--light-border);
    box-shadow: var(--card-shadow-light);
}
.homepage-v2.is-hybrid .bl-pijn__item:hover,
.homepage-v2.is-hybrid .bl-dst__card--link:hover {
    box-shadow: var(--card-shadow-light-hover);
}
