/* Homepage (ontwerp E, gekozen door de eigenaar op 16-11-2026). Komt na stijl.css, warm.css en landing.css.
   Het ontwerp en de varianten staan op /ontwerp/home/. De voorbeeldinhoud in index.html (tussen <!-- gen:… -->)
   wordt gevuld door: node hulpmiddelen/ontwerp-home.mjs */

/* ═══ Voorbeeldinhoud uit de tool (vb-*): tabellen, planning, uitklapblokken ═══ */
/* Gemeenschappelijk */
.vb-leeg { color: var(--muted); }
.vb-stel { display: inline-block; font-size: .72em; font-weight: 800; color: var(--brand); background: var(--apricot); border-radius: 999px; padding: 0 .55em; margin-left: .35em; vertical-align: .12em; letter-spacing: .01em; }
.vb-sub { display: block; color: var(--muted); font-size: .86em; line-height: 1.35; margin-top: 1px; }
.vb-lijst { margin: 0; padding-left: 1.2rem; }
.vb-lijst li + li { margin-top: .35rem; }
.vb-pct { color: var(--muted); font-weight: 600; }

/* Tabellen */
.vb-specwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vb-spec, .vb-samen, .vb-stelposten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .875rem; line-height: 1.4; }
.vb-spec { min-width: 720px; }
.vb-spec th, .vb-spec td, .vb-samen th, .vb-samen td, .vb-stelposten td { padding: 7px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.vb-spec thead th, .vb-samen thead th { font-size: .75rem; font-weight: 800; color: var(--muted); white-space: nowrap; }
.vb-spec .r, .vb-samen .r, .vb-stelposten .r { text-align: right; white-space: nowrap; }
.vb-spec td:first-child { min-width: 260px; }
.vb-om { font-weight: 600; }
.vb-hv { color: var(--muted); }
.vb-tot { font-weight: 700; }
.vb-deelkop th { background: var(--apricot); font-weight: 800 !important; font-size: 1rem; padding: 10px 12px !important; border: 0 !important; }
.vb-deelkop .vb-nr { color: var(--brand); margin-right: .6em; }
.vb-kopbedrag { float: right; font-weight: 700; font-size: .9rem; }
.vb-vakkop th { color: var(--brand); font-weight: 800 !important; font-size: .8rem; padding-top: 16px !important; text-transform: none; }
.vb-subtot td { background: var(--zand); color: var(--inkt-2); font-style: italic; }
.vb-totaal td { font-weight: 800 !important; border-top: 2px solid var(--brand); }
.vb-spec tfoot td, .vb-samen tfoot td, .vb-stelposten tfoot td { font-weight: 800; border-bottom: 0; }
.vb-spec tfoot tr:first-child td { border-top: 2px solid var(--ink); }
.vb-som td { background: var(--ink); color: #fff; font-size: 1rem; }

/* Verdeling arbeid · materiaal · onderaanneming */
.vb-verdeelbalk { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.vb-verdeelbalk .vb-a { background: var(--brand); }
.vb-verdeelbalk .vb-m { background: #d98a62; }
.vb-verdeelbalk .vb-o { background: #e9bfa4; }
.vb-verdeling ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .9rem; }
.vb-verdeling li { display: flex; align-items: center; gap: .4em; }
.vb-verdeling li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.vb-verdeling li.vb-a::before { background: var(--brand); }
.vb-verdeling li.vb-m::before { background: #d98a62; }
.vb-verdeling li.vb-o::before { background: #e9bfa4; }

/* Onderzoekspunten */
.vb-onderzoek + .vb-onderzoek { margin-top: 14px; }
.vb-ondertag { font-size: .9rem; color: var(--muted); }
.vb-ondertag strong { color: var(--ink); background: var(--apricot); border-radius: 6px; padding: 1px 8px; margin-right: 6px; }
.vb-onderzoek ul { margin: 8px 0 0; padding-left: 1.2rem; font-size: .95rem; }
.vb-onderzoek li + li { margin-top: 6px; }

/* Planning: balken in weken vanaf de opdracht */
.vb-plan { --kol-tekst: minmax(220px, 300px); --kol-duur: 116px; --balkkleur: var(--brand); --lichtkleur: rgba(184, 68, 30, .22); --raster: rgba(53, 39, 31, .07); font-size: .9rem; }
.vb-as, .vb-rij { display: grid; grid-template-columns: var(--kol-tekst) 1fr var(--kol-duur); gap: 16px; align-items: center; }
.vb-asweken { display: grid; grid-template-columns: repeat(var(--weken), 1fr); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.vb-asweken i { font-style: normal; text-align: left; }
.vb-as { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.vb-rijen { list-style: none; margin: 0; padding: 0; }
.vb-rij { padding: 9px 0; border-bottom: 1px solid var(--line); }
.vb-rijtekst strong { font-weight: 700; }
.vb-rijinfo { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.vb-soort { display: inline-block; font-size: .7rem; font-weight: 800; border: 1px solid currentColor; color: var(--muted); border-radius: 999px; padding: 0 6px; vertical-align: .1em; }
.vb-balk { position: relative; height: 16px; background-image: linear-gradient(to right, var(--raster) 1px, transparent 1px); background-size: calc(100% / var(--weken)) 100%; border-radius: 3px; }
.vb-balk i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / var(--weken) * 100%); border-radius: 4px; }
.vb-licht { width: calc((var(--e) - var(--s)) / var(--weken) * 100%); background: var(--lichtkleur); }
.vb-vol { width: max(6px, calc(var(--v) / var(--weken) * 100%)); background: var(--balkkleur); }
.vb-wacht .vb-vol { background: repeating-linear-gradient(-45deg, var(--balkkleur) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 1.5px var(--balkkleur); }
.vb-wacht .vb-licht { background: repeating-linear-gradient(-45deg, var(--lichtkleur) 0 3px, transparent 3px 7px); }
.vb-duur { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vb-plangroep { margin: 16px 0 0; padding-bottom: 4px; font-size: .75rem; font-weight: 800; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.vb-legenda { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .82rem; color: var(--muted); }
.vb-legenda li { display: flex; align-items: center; gap: 8px; }
.vb-legenda i { width: 26px; height: 10px; border-radius: 3px; flex: none; }
.vb-lg-vol { background: var(--brand); }
.vb-lg-wacht { background: repeating-linear-gradient(-45deg, var(--brand) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 1.5px var(--brand); }
.vb-lg-licht { background: rgba(184, 68, 30, .22); }

/* Uitklapblok per vakgebied */
.vb-vakblok { border-bottom: 1px solid var(--line); }
.vb-vakblok summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto 22px; gap: 4px 16px; align-items: center; padding: 14px 0; min-height: 56px; }
.vb-vakblok summary::-webkit-details-marker { display: none; }
.vb-vakblok summary::after { content: "+"; font-size: 1.5rem; line-height: 1; text-align: center; grid-column: 4; grid-row: 1; }
.vb-vakblok[open] summary::after { content: "–"; }
.vb-vaknaam { font-weight: 700; }
.vb-vakaantal { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.vb-vakbedrag { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; min-width: 6.5em; }
.vb-vakbalk { grid-column: 1 / 4; height: 4px; background: var(--zand-2); border-radius: 2px; overflow: hidden; }
.vb-vakbalk i { display: block; height: 100%; width: calc(var(--aandeel) * 1%); background: var(--brand); border-radius: 2px; }
.vb-vakblok .vb-specwrap { padding-bottom: 16px; }

/* Smal: tabellen tonen omschrijving, hoeveelheid en totaal; planning onder elkaar */
@media (max-width: 767px) {
  .vb-vakblok .vb-spec { min-width: 0; }
  .vb-vakblok .vb-spec th:nth-child(3), .vb-vakblok .vb-spec th:nth-child(4), .vb-vakblok .vb-spec th:nth-child(5),
  .vb-vakblok .vb-spec td:nth-child(3), .vb-vakblok .vb-spec td:nth-child(4), .vb-vakblok .vb-spec td:nth-child(5) { display: none; }
  .vb-vakblok .vb-spec tfoot td:nth-child(2), .vb-vakblok .vb-spec tfoot td:nth-child(3), .vb-vakblok .vb-spec tfoot td:nth-child(4) { display: none; }
  .vb-vakblok .vb-spec tfoot td:nth-child(5) { display: table-cell; }
  .vb-vakblok .vb-spec td:first-child { min-width: 0; }
  .vb-vakblok summary { grid-template-columns: 1fr auto 22px; }
  .vb-vakaantal { grid-column: 1; grid-row: 2; }
  .vb-vakbedrag { grid-column: 2; grid-row: 1; }
  .vb-vakbalk { grid-column: 1 / 3; }
  .vb-as { grid-template-columns: 1fr; }
  .vb-as .vb-asleeg, .vb-as .vb-asleeg2 { display: none; }
  .vb-rij { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .vb-rijtekst { grid-column: 1 / -1; }
  .vb-balk { grid-column: 1; }
  .vb-duur { grid-column: 2; font-size: .82rem; }
  .vb-plan .vb-as { grid-template-columns: 1fr auto; }
  .vb-plan .vb-as .vb-asweken { grid-column: 1; }
  .vb-plan .vb-as::after { content: ""; width: var(--kol-duur-smal, 88px); }
  .vb-plan { --kol-duur-smal: 88px; }
  .vb-duur { min-width: var(--kol-duur-smal); }
}

/* ═══ Silhouetten, het voorbeelddocument en de schets ═══ */
/* Tegels met silhouetten */
.a-tegels .a-tekening { display: block; background: #EFE4D6; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.a-tegels svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.a-tegels a:hover .a-tekening { background: #EADCCB; }
.a-tegeluitleg { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: -4px; }
.a-grond { fill: #DCCDBD; }
.a-lijn { stroke: var(--ink); stroke-width: 2; fill: none; }
.a-bestaand { fill: #FFFCF8; stroke: #8f7d71; stroke-width: 2; }
.a-dak { fill: #D9C7B4; stroke: #8f7d71; stroke-width: 2; stroke-linejoin: round; }
.a-raam { fill: #E6DACD; stroke: #8f7d71; stroke-width: 1.5; }
.a-nieuw { fill: var(--brand); }
.a-dakrand { fill: #7f2c12; }
.a-glas { fill: #F7DDCB; stroke: #7f2c12; stroke-width: 1.5; }
.a-stijl { stroke: #7f2c12; stroke-width: 2; }
.a-oud { fill: none; stroke: #8f7d71; stroke-width: 2; stroke-dasharray: 6 6; }
.a-binnen { fill: #F8F3EB; stroke: none; }
.a-nieuwlijn { stroke: var(--brand); stroke-width: 4; fill: none; stroke-linecap: round; }
.a-nieuwlijn.dun { stroke-width: 2.5; }
.a-trap { stroke: var(--brand); stroke-width: 3; fill: none; stroke-linejoin: round; }
.a-tegelnoot { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 1rem; margin: -8px 0 8px; }
.a-sleutel { width: 18px; height: 12px; border-radius: 2px; background: var(--brand); flex: none; }

/* Voorbeeld: zijkolom met inhoud + het document */
.a-inhoud { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 24px; }
.a-inhoud p { font-weight: 800; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.a-inhoud ol { margin: 0; padding: 0; list-style: none; counter-reset: h; }
.a-inhoud li { counter-increment: h; }
.a-inhoud a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.a-inhoud a::before { content: counter(h); color: var(--brand); font-weight: 800; width: 1em; }
.a-inhoud a:hover { color: var(--brand); }

.a-documentkader { min-width: 0; background: #E9DDCF; border-radius: 14px; padding: 28px 28px 0; }
.a-document { position: relative; display: block; background: var(--surface); max-width: 1000px; margin: 0 auto; padding: 48px 52px 40px; border-radius: 4px 4px 0 0; box-shadow: 0 1px 2px rgba(53, 39, 31, .08), 0 18px 40px rgba(53, 39, 31, .12); height: 760px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; scroll-padding-top: 16px; font-size: .95rem; }
.a-document:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.a-documentkader.heel .a-document { height: auto; overflow: visible; }
.a-documentvoet { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1000px; margin: 0 auto; padding: 14px 0 18px; }
.a-documentvoet::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 72px; background: linear-gradient(rgba(255, 252, 248, 0), var(--surface)); pointer-events: none; }
.a-documentkader.heel .a-documentvoet::before { display: none; }
.a-scrolhint { font-weight: 700; font-size: .9rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.a-scrolhint::before { content: "↓"; font-size: 1.1rem; }
.a-documentkader.heel .a-scrolhint { visibility: hidden; }

/* Het document zelf: dezelfde opbouw en woorden als het klantdocument */
.a-doc-kop { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1.5px solid var(--ink); }
.a-doc-kop .merk { font-size: 1.35rem; }
.a-doc-datum { font-size: .82rem; color: var(--muted); }
.a-doc-boven { margin-top: 26px !important; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.a-doc-titel { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 2px; }
.a-doc-ondertitel { color: var(--inkt-2); }
.a-doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .88rem; }
.a-doc-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.a-doc-meta dt { color: var(--muted); }
.a-doc-meta dd { margin: 0; font-weight: 700; }
.a-doc-prijs { margin-top: 22px; background: #F4ECE2; border-radius: 10px; padding: 20px 24px; }
.a-doc-label { font-size: .8rem; color: var(--muted); }
.a-doc-bedrag { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px !important; font-variant-numeric: tabular-nums; }
.a-doc-bedrag span { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.a-doc-band { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.a-doc-bandbalk { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 8px; align-items: center; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.a-doc-bandbalk i { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f0c5ad, var(--brand)); }
.a-doc-bandbalk i + span + i { background: linear-gradient(90deg, var(--brand), #f0c5ad); }
.a-doc-inhoud { margin: 22px 0 0; padding: 14px 0 0 1.4rem; border-top: 1px solid var(--line); columns: 2; column-gap: 32px; font-size: .9rem; }
.a-doc-inhoud li { padding: 3px 0; }
.a-doc-inhoud li::marker { color: var(--brand); font-weight: 800; }
.a-doc-h { display: flex; align-items: baseline; gap: 12px; font-size: 1.3rem; font-weight: 800; margin: 44px 0 12px; padding-top: 22px; border-top: 1.5px solid var(--ink); letter-spacing: -.01em; }
.a-doc-h span { color: var(--brand); }
.a-document h5 { font-size: .95rem; font-weight: 800; margin: 20px 0 6px; }
.a-doc-noot { color: var(--muted); font-size: .88rem; margin-bottom: 10px !important; }
.a-doc-ruimte { margin: 16px 0; }
.a-doc-uitleg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 16px 0 0; font-size: .82rem; }
.a-doc-uitleg dt { font-weight: 800; }
.a-doc-uitleg dd { margin: 0; color: var(--inkt-2); }
.a-doc-kern { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.a-doc-kern li { background: #F4ECE2; border-radius: 8px; padding: 12px 14px; display: grid; gap: 2px; font-size: .82rem; color: var(--muted); }
.a-doc-kern strong { font-size: 1.25rem; color: var(--ink); font-weight: 800; }
.a-document .vb-plan { --kol-tekst: minmax(200px, 250px); --kol-duur: 104px; font-size: .84rem; }
.a-document .vb-detail { margin-top: 4px; }
.a-doc-voet { margin-top: 28px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* Plannen hoeven niet af: schets naar calculatie */
.a-schets svg { width: 100%; height: auto; display: block; }
.a-papier { fill: #FFFCF8; stroke: var(--line); stroke-width: 1.5; }
.a-potlood { fill: none; stroke: #6b5a4e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.a-potlood.dun { stroke-width: 1.6; }
.a-handschrift { font-family: "Segoe Print", "Comic Sans MS", var(--tekst); font-size: 15px; fill: #6b5a4e; }
.a-pijl { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-blad2 { fill: #FFFCF8; stroke: var(--line); stroke-width: 1.5; }
.a-blad2-schaduw { fill: rgba(53, 39, 31, .08); }
.a-blad2-titel { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.a-blad2-rij { stroke: #cdbcad; stroke-width: 5; stroke-linecap: round; }
.a-blad2-plan { stroke: var(--brand); stroke-width: 7; stroke-linecap: round; }


@media (max-width: 767px) {
  .a-tegels .a-tegeluitleg { font-size: .9rem; }
  .a-documentkader { padding: 12px 10px 0; margin-inline: calc(-1 * var(--goot) + 8px); }
  .a-document { padding: 24px 18px 28px; height: 620px; }
  .a-doc-titel { font-size: 1.6rem; }
  .a-doc-bedrag { font-size: 2rem; }
  .a-doc-meta, .a-doc-uitleg { grid-template-columns: 1fr; }
  .a-doc-meta div { grid-template-columns: 100px 1fr; }
  .a-doc-inhoud { columns: 1; }
  .a-doc-kern { grid-template-columns: 1fr; }
  .a-documentvoet { padding-inline: 4px; }
  .a-niet-af .a-schets { order: 2; }
}

/* ═══ Kop met calculatiekaart, donker voorbeeldvlak met lagen, prijs als bon ═══ */
.home { --nacht: #2A1E17; --nacht-2: #3a2b22; --licht: #F8F3EB; --licht-2: #d8c7b9; --gloed: #F2A27A; }

/* Calculatieregel: tekst ..... bedrag */
.c-regel { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 5px 0; font-variant-numeric: tabular-nums; }
.c-regel span { flex: none; }
.c-regel i { flex: 1; border-bottom: 2px dotted currentColor; opacity: .35; transform: translateY(-4px); min-width: 16px; }
.c-regel b { flex: none; font-weight: 800; }

/* Hero */
.c-held { display: grid; grid-template-columns: 42fr 58fr; gap: 56px; align-items: center; padding-top: 24px; padding-bottom: var(--sectie); }
.c-held .lead { margin-top: 20px; max-width: 32rem; }
.c-heldbeeld { margin: 0; position: relative; padding-bottom: 72px; }
.c-heldbeeld img { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-left: auto; }
.c-kaart { position: absolute; left: 0; bottom: 0; width: 330px; background: var(--surface); border-radius: 10px; padding: 18px 22px 16px; box-shadow: 0 1px 2px rgba(53, 39, 31, .08), 0 18px 44px rgba(53, 39, 31, .2); font-size: .9rem; }
.c-kaart p { margin: 0; }
.c-kaart-boven { font-size: .78rem; font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.c-kaart-bedrag { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 8px !important; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.c-kaart-bedrag span { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.c-regel-dim { color: var(--muted); }
.c-kaart-plan { display: flex; justify-content: space-between; margin-top: 8px !important; padding-top: 8px; border-top: 1px solid var(--line); }
.c-kaart-plan b { color: var(--brand); }

/* Tegels: woorden in plaats van foto's */
.c-tegels { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--goot); }
.c-tegels a { display: grid; align-content: start; gap: 10px; height: 100%; padding: 26px 26px 22px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.c-tegels a:hover { border-color: var(--brand); }
.c-tegels a:hover .c-tegelnaam { color: var(--brand); }
.c-ico { width: 48px; height: 48px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.c-tegelnaam { font-size: 1.5rem; font-weight: 800; display: inline-flex; gap: .4em; align-items: center; letter-spacing: -.01em; }
.c-tegeltekst { color: var(--muted); font-size: 1rem; }
.c-tegelregels { display: grid; border-top: 1.5px solid var(--ink); margin-top: 4px; }
.c-tegelregels span { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .98rem; }
.c-tegelregels span::after { content: ""; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.c-tegelregels span::before { content: ""; order: 2; width: 26px; height: 6px; border-radius: 3px; background: var(--apricot); }

/* Donker voorbeeldvlak */
.c-donker { background: var(--nacht); color: var(--licht); margin-top: var(--sectie); padding: var(--sectie) 0; }
.c-breder { max-width: calc(1440px + 2 * var(--goot)); margin-inline: auto; padding-inline: var(--goot); }
.c-voorbeeld { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.c-zij { position: sticky; top: 112px; }
.c-donker h2 { color: var(--licht); margin: 6px 0 16px; }
.c-bovenlabel { font-weight: 800; font-size: .9rem; color: var(--gloed); }
.c-zij > p { color: var(--licht-2); }
.c-ladder { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 8px; }
.c-ladder li { display: grid; gap: 1px; padding: 10px 14px; border-radius: 8px; background: var(--nacht-2); border-left: 4px solid var(--gloed); }
.c-ladder li:nth-child(2) { margin-left: 14px; } .c-ladder li:nth-child(3) { margin-left: 28px; } .c-ladder li:nth-child(4) { margin-left: 42px; }
.c-ladder li:nth-child(5) { border-left-color: var(--licht-2); }
.c-ladder strong { color: var(--licht); font-size: 1.05rem; }
.c-ladder span { color: var(--licht-2); font-size: .88rem; }
.c-klein { font-size: .85rem; color: var(--licht-2); }

.c-blad { background: var(--surface); color: var(--ink); border-radius: 12px; overflow: hidden; }
.c-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: 28px 32px 24px; border-bottom: 1.5px solid var(--ink); }
.c-top-label { font-size: .85rem; color: var(--muted); }
.c-top-bedrag { font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.c-top-band { font-weight: 700; margin-top: 4px !important; }
.c-top-feiten { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; color: var(--muted); }
.c-top-feiten strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.c-laag { border-bottom: 1px solid var(--line); }
.c-laag > summary, .c-laag-link a { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 28px; gap: 16px; align-items: center; padding: 20px 32px; min-height: 72px; color: var(--ink); text-decoration: none; }
.c-laag > summary::-webkit-details-marker { display: none; }
.c-laag > summary::after { content: "+"; font-size: 1.7rem; line-height: 1; text-align: center; }
.c-laag[open] > summary::after { content: "–"; }
.c-laag-link a::after { content: "→"; font-size: 1.4rem; text-align: center; }
.c-laag > summary:hover .c-laagkop, .c-laag-link a:hover .c-laagkop { color: var(--brand); }
.c-laagnr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--licht); font-weight: 800; }
.c-laag[open] .c-laagnr { background: var(--brand); }
.c-laagkop { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.c-laagkop small { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.c-laag-inhoud { padding: 0 32px 28px 92px; }
.c-laag-inhoud h3 { font-size: 1rem; margin: 18px 0 8px; }
.c-laag-inhoud h3:first-child { margin-top: 0; }
.c-hint { font-size: .9rem; color: var(--muted); margin: 18px 0 4px !important; }
.c-laag-inhoud .vb-verdeling { max-width: 560px; }
.c-dieper { margin-top: 10px; }
.c-dieper > summary { cursor: pointer; font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: .3em; }
.c-laag .vb-plan { --kol-tekst: minmax(220px, 290px); --kol-duur: 116px; }

/* Prijs als calculatieregels met totaalstreep */
.c-prijs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.c-prijs h2 { margin-bottom: 12px; }
.c-prijs > div:first-child p { margin-bottom: 24px; max-width: 28rem; }
.c-bon { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px 30px 22px; }
.c-bon-kop { font-weight: 800; font-size: 1.1rem; padding-bottom: 8px; margin-bottom: 4px !important; border-bottom: 1.5px solid var(--ink); }
.c-bon .c-regel b { color: var(--brand); }
.c-bon-totaal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px !important; padding-top: 10px; border-top: 1.5px solid var(--ink); font-weight: 800; font-size: 1.15rem; }
.c-bon-totaal b { font-size: 2rem; letter-spacing: -.02em; border-bottom: 5px double var(--ink); line-height: 1.1; }

/* Afsluiter */
.c-afsluiter { background: var(--apricot); margin-top: var(--sectie); padding: 72px 0; text-align: center; }
.c-afsluiter h2 { margin-bottom: 24px; }

@media (max-width: 1023px) {
  .c-held { grid-template-columns: 1fr; }
  .c-tegels { grid-template-columns: 1fr; }
  .c-voorbeeld { grid-template-columns: 1fr; gap: 32px; }
  .c-zij { position: static; }
  .c-ladder { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .c-ladder li { margin-left: 0 !important; }
  .c-prijs { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .c-heldbeeld { padding-bottom: 0; }
  .c-heldbeeld img { width: 100%; }
  .c-kaart { position: relative; width: auto; margin: -48px 12px 0; }
  .c-tegels a { padding: 20px 18px; }
  .c-donker { padding: 56px 0; }
  .c-ladder { grid-template-columns: 1fr; margin: 20px 0; }
  .c-blad { margin-inline: calc(-1 * var(--goot) + 8px); }
  .c-top { padding: 20px 16px; }
  .c-top-feiten { gap: 18px; }
  .c-laag > summary, .c-laag-link a { grid-template-columns: 34px 1fr 22px; gap: 12px; padding: 16px; }
  .c-laagnr { width: 32px; height: 32px; }
  .c-laagkop { font-size: 1.1rem; }
  .c-laag-inhoud { padding: 0 16px 20px; }
  .c-afsluiter .knop, .c-prijs .knop { width: 100%; }
  .c-bon { padding: 20px 18px; }
  .c-bon .c-regel span { flex: 1 1 auto; white-space: normal; }
  .c-bon .c-regel i { display: none; }
}

/* ═══ Tegels, mini-planning, het hele document als laag 5 ═══ */
/* Calculatiekaart in de held: met een mini-planning eronder */
.d-kaart-plan { display: grid; gap: 4px; margin-top: 8px; }
.d-kaart-plan i { display: block; height: 6px; border-radius: 3px; background: var(--brand); margin-left: calc(var(--l) * 1%); width: calc(var(--w) * 1%); }
.d-kaart-plan i:nth-child(2) { background: repeating-linear-gradient(-45deg, var(--brand) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--brand); }

/* Tegels: silhouet bovenaan, daaronder de vakgebieden die je in je calculatie terugziet */
.d-tegels a { display: grid; align-content: start; gap: 4px; height: 100%; padding: 14px 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); }
.d-tegels a:hover { border-color: var(--brand); }
.d-tegels .a-tekening { margin-bottom: 8px; }
.d-tegels .pijl { padding-inline: 6px; font-size: 1.4rem; }
.d-tegels .a-tegeluitleg { padding-inline: 6px; margin-top: -6px; }
.d-tegels .c-tegelregels { margin: 10px 6px 0; font-size: 1rem; }
.d-tegels .c-tegelregels span { font-weight: 600; font-size: .95rem; }

/* Laag 5: het hele document in de kaart */
.d-doc-inhoud { padding-left: 32px; }
.d-inhoud { border-top: 0; padding-top: 0; margin-bottom: 14px; }
.d-inhoud p { display: none; }
.d-inhoud ol { display: flex; flex-wrap: wrap; gap: 8px; }
.d-inhoud a { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; align-items: center; font-size: .92rem; }
.d-inhoud a:hover { border-color: var(--brand); }
.d-doc-inhoud .a-documentkader { padding: 22px 22px 0; }
.d-doc-inhoud .a-document { height: 720px; }
.d-doc-inhoud .a-document .a-doc-titel { font-size: 2.1rem; margin: 2px 0; }

@media (max-width: 1023px) {
  .d-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-tegels .c-tegelregels { display: none; }
}
@media (max-width: 767px) {
  .d-tegels a { padding: 10px 10px 14px; }
  .d-tegels .pijl { font-size: 1.15rem; }
  .d-tegels .a-tegeluitleg { font-size: .88rem; }
  .d-doc-inhoud { padding-left: 16px; }
  .d-inhoud ol { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .d-inhoud li { flex: none; }
  .d-inhoud a { padding: 6px 12px; font-size: .88rem; white-space: nowrap; }
  .d-doc-inhoud .a-documentkader { margin-inline: -8px; padding: 10px 8px 0; }
  .d-doc-inhoud .a-document { height: 600px; }
}
@media (max-width: 1023px) { .d-meer { display: none; } }

/* ═══ Kop met wisselende titel ═══ */
.home .c-held { align-items: center; }
.home .c-held .titel { margin: 0; }
.home .c-held .lead { margin-top: 20px; }

/* Wie wij zijn (LEGAL AE §1, besluit eigenaar 17-11): korte tekst, leesbare regellengte */
.c-wie p { max-width: 46rem; }
