/* ============================================================
   BouwEis — productpagina (ontwerp: Spation BouwEis). Prefix: be-
   ============================================================ */

.be-scroll, .be .cta-card { scroll-margin-top: var(--sticky-h); }

/* Relatiekleuren (eis-type en bijbehorende wanden) */
.be-k0 { --be-c: var(--orange); }
.be-k1 { --be-c: var(--blue-pale); }
.be-k2 { --be-c: #ffd27a; }

/* --- Subnavigatie ------------------------------------------- */
.be-nav {
    position: sticky; top: var(--banner-h); z-index: 30;
    background: var(--navy-2); border-bottom: 1px solid var(--navy-line); color: var(--on-dark);
    line-height: 1.3;
}
.be-nav__inner {
    display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center;
    gap: 12px clamp(20px, 3vw, 32px);
    padding-top: 10px; padding-bottom: 10px;
    overflow-x: auto; scrollbar-width: none;
}
.be-nav__inner::-webkit-scrollbar { display: none; }
.be-nav__left { flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 16px clamp(20px, 3vw, 32px); white-space: nowrap; }
.be-nav__name { font: 600 clamp(16px, 2vw, 18px) var(--font-display); color: var(--on-dark); }
.be-nav__links { display: flex; flex-wrap: nowrap; gap: 12px clamp(16px, 2.2vw, 24px); font-size: 14px; color: var(--on-dark-2); }
.be-nav__actions { flex: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.be-nav__btn { padding: 9px 16px; border-radius: 10px; font-size: clamp(14px, 1.7vw, 15px); }
.be-nav__btn--outline { border: 1px solid var(--navy-line); }
.be-nav__btn--orange { background: var(--orange); color: var(--navy); font-weight: 600; }

/* --- Hero --------------------------------------------------- */
.be-hero { background: var(--navy); color: var(--on-dark); }
.be-hero__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(28px, 4vw, 56px); align-items: center;
    padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(52px, 8.5vw, 104px);
}
.be-hero__copy { display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 28px); animation: rise .8s ease-out both; }
.be-hero__lead { max-width: 540px; }
.be-hero__note { font: 400 14px var(--font-mono); color: var(--on-dark-3); }
.be-hero__shot {
    background: var(--white); border-radius: 20px; padding: clamp(10px, 1.6vw, 18px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
    animation: rise 1s .15s ease-out both;
}
.be-hero__shot img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* --- Sectiekoppen ------------------------------------------- */
.be-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px clamp(28px, 4vw, 48px); }
.be-head__copy { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.be-head__copy--wide { max-width: 820px; }
.be-head__text { font-size: clamp(16px, 2vw, 18px); line-height: 1.55; color: var(--text-2); max-width: 400px; text-wrap: pretty; }

/* --- 01 · In actie ------------------------------------------ */
.be-actie {
    display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px);
    padding-top: var(--section-y); padding-bottom: var(--section-y);
}
.be-demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; align-items: stretch; }
.be-demo__list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.be-demo__label { font: 400 14px var(--font-mono); color: var(--text-3); padding: 0 4px 4px; }
.be-demo__hint { font-size: 13px; color: var(--text-3); font-style: italic; padding: 4px; }

/* Eis-type (klikbaar): licht, of donker als het actief is */
.be-type {
    width: 100%; margin: 0; text-align: left;
    display: flex; flex-direction: column; gap: 12px;
    padding: 18px 20px; border-radius: 14px;
    background: var(--card); color: var(--navy); border: 1px solid var(--line);
    --be-sub: var(--text-3); --be-chip: var(--blue-tint); --be-chip-fg: var(--blue-dark);
    transition: background-color .3s, border-color .3s, color .3s;
}
.be-type.is-active {
    background: var(--navy); color: var(--on-dark); border-color: var(--navy);
    --be-sub: var(--on-dark-2); --be-chip: var(--navy-2); --be-chip-fg: var(--on-dark);
}
.be-type__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.be-type__title { display: flex; align-items: center; gap: 12px; }
.be-type__bar { width: 22px; height: 6px; flex: none; border-radius: 3px; background: var(--be-c); }
.be-type__name { font: 600 clamp(16px, 2vw, 18px) var(--font-display); }
.be-type__count { flex: none; font: 400 13px var(--font-mono); color: var(--be-sub); transition: color .3s; }
.be-type__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.be-chip {
    padding: 5px 10px; border-radius: 6px;
    font: 500 13px var(--font-mono); background: var(--be-chip); color: var(--be-chip-fg);
    transition: background-color .3s, color .3s;
}

/* BIM-model */
.be-model {
    min-width: 0; display: flex; flex-direction: column; gap: 16px;
    background: var(--navy); border-radius: 20px; padding: clamp(18px, 3vw, 32px);
}
.be-model__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 400 14px var(--font-mono); }
.be-model__title { color: var(--blue-pale); }
.be-model__phase { color: var(--orange); }
.be-model__frame { padding: 6px; }
.be-plan { position: relative; aspect-ratio: 100 / 62; }
.be-room {
    position: absolute; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 10px; text-align: center;
}
.be-room--a { background: var(--navy-2); }
.be-room--b { background: #152c55; }
.be-room--gang { background: #0e2142; }
.be-room__name { max-width: 100%; font: 500 clamp(11px, 1.4vw, 14px) var(--font-body); color: var(--on-dark-4); overflow-wrap: anywhere; }
.be-room__nr { font: 400 clamp(10px, 1.2vw, 12px) var(--font-mono); color: var(--on-dark-3); }
.be-wall {
    position: absolute; border-radius: 3px; background: var(--navy-line);
    transition: background-color .5s, opacity .5s, box-shadow .5s;
}
.be-wall--h { height: 6px; }
.be-wall--v { width: 6px; }
.be-wall.is-on { background: var(--be-c); }
.be-wall.is-dim { opacity: .35; }
.be-wall.is-active { box-shadow: 0 0 14px var(--be-c); }
.be-model__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--on-dark-3); }
.be-model__key { display: flex; align-items: center; gap: 8px; }
.be-model__swatch { width: 16px; height: 5px; flex: none; border-radius: 3px; background: var(--navy-line); }

/* --- 02 · Hoe het werkt ------------------------------------- */
.be-werking { background: var(--blue-tint); }
.be-werking__inner {
    display: flex; flex-direction: column; gap: clamp(24px, 3.5vw, 40px);
    padding-top: var(--section-y); padding-bottom: var(--section-y);
}
.be-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.be-tab { background: var(--card); border: 1px solid #c9d8ea; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.be-tab__shot { aspect-ratio: 3 / 2; background: var(--navy); padding: 10px; display: flex; align-items: center; justify-content: center; }
.be-tab__shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; border-radius: 6px; }
.be-tab__body { padding: clamp(18px, 2.4vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.be-tab__label { font: 500 14px var(--font-mono); color: var(--blue-dark); }
.be-tab__body p { color: var(--text-2); line-height: 1.5; text-wrap: pretty; }

/* --- 03 · Waarom -------------------------------------------- */
.be-waarom__inner {
    display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px);
    padding-top: clamp(52px, 8.5vw, 104px); padding-bottom: clamp(52px, 8.5vw, 104px);
}
.be-reasons {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 32px);
    border-top: 1px solid #5b9be0; padding-top: clamp(24px, 3vw, 32px);
}
.be-reason { display: flex; flex-direction: column; gap: 8px; }
.be-reason b { font: 600 clamp(18px, 2.4vw, 22px) var(--font-display); }
.be-reason span { color: #e4eefa; line-height: 1.5; }

/* --- Licentie en demo --------------------------------------- */
.be-cta {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 20px;
    padding-top: var(--section-y); padding-bottom: var(--section-y);
}
.be-cta .kicker { font-size: 14px; }
