/* =========================================================================
   Vakwerk Bouw & Renovatie — conceptontwerp door De Vilder Webdesign
   Designsysteem "Bestek & bouwtekening": grafiet, kalkwit en oker;
   smalle Archivo-koppen, Plex Mono voor maatvoering; nul afronding,
   lijnwerk zoals op een bouwtekening. Zie src/concepten/vakwerk-bouw/DESIGN.md
   Mobile-first. Pagina-specifieke stijl hoort in css/<pagina>.css.
   ========================================================================= */

/* ---------- Fonts (zelf gehost, SIL OFL — zie fonts/FONTS.txt) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Kleur — licht */
  --kalk: #EFECE6;        /* paginagrond */
  --kalk-2: #E4E0D7;      /* tweede grond (afwisselende secties) */
  --papier: #F8F6F2;      /* formulieren, kaarten op kalk */
  --beton: #5B5A56;       /* gedempte tekst op licht (5.9:1 op kalk) */
  --lijn: #CBC6BB;        /* decoratieve haarlijn op licht */
  --lijn-sterk: #85817A;  /* UI-randen op licht (≥3:1) */
  /* Kleur — donker */
  --grafiet: #1B1C1E;     /* tekst, donkere secties */
  --grafiet-2: #26282B;   /* verhoogd vlak op donker */
  --grafiet-3: #35373B;   /* rand op donker */
  --steen: #A8A49B;       /* gedempte tekst op donker (6.9:1 op grafiet) */
  --kalk-zacht: #DDD9D1;  /* lopende tekst op donker, iets zachter dan kalk (12.9:1 op grafiet) */
  --lijn-donker: rgba(239, 236, 230, .16);
  /* Accent */
  --oker: #E2A52F;        /* vlak-accent; altijd met grafiet tekst (7.8:1) */
  --oker-licht: #F0BC52;  /* hover */
  --oker-donker: #7F5205; /* accent-tekst op licht (5.7:1 op kalk) */
  --fout: #A3271B;        /* foutmeldingen (6.8:1 op papier) */
  --focus: var(--grafiet);

  /* Type */
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-mega: clamp(3.5rem, 1.4rem + 8.2vw, 9.25rem);
  --fs-h1: clamp(2.875rem, 1.5rem + 5.2vw, 6.5rem);
  --fs-h2: clamp(2.25rem, 1.45rem + 3vw, 4.25rem);
  --fs-h3: clamp(1.375rem, 1.15rem + .85vw, 1.875rem);
  --fs-h4: 1.1875rem;
  --fs-lead: clamp(1.125rem, 1.04rem + .4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* Ruimte (4px-basis) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --pad: clamp(16px, 4vw, 56px);                       /* paginamarge */
  --gap: clamp(16px, 2vw, 32px);                       /* kolomafstand */
  --content: 1360px;                                   /* max. inhoudsbreedte */
  --bleed: max(var(--pad), calc((100vw - var(--content)) / 2)); /* schermrand → inhoudskolom: voor beelden die tot de rand doorlopen */
  --section-y: clamp(72px, 4.5vw + 48px, 152px);       /* sectie-ritme */
  --head-gap: clamp(32px, 3.5vw, 64px);                /* sheet-head → inhoud */
  --head-top: clamp(24px, 1rem + 2.8vw, 56px);         /* headerrand → kruimelpad, op elke subpagina gelijk */
  --lh-display: .92;                                   /* grote koppen: strak, maar descenders raken de regel eronder niet */

  /* Overig */
  --header-h: 64px;
  --bar-h: 34px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --bg: var(--kalk);                                   /* achtergrond van de huidige sectie (voor labels op lijnen) */
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- Reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--kalk);
  color: var(--grafiet);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--oker); color: var(--grafiet); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: var(--s-4); top: -200px; z-index: 200;
  padding: 12px 18px; background: var(--oker); color: var(--grafiet);
  font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

/* ---------- Typografie ---------- */
.t-h1, .t-h2, .t-h3 {
  font-family: var(--f-sans);
  font-weight: 780;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.t-h1 { font-size: var(--fs-h1); font-stretch: 66%; line-height: var(--lh-display); }
.t-h2 { font-size: var(--fs-h2); font-stretch: 68%; line-height: .94; }
.t-h3 { font-size: var(--fs-h3); font-stretch: 78%; font-weight: 720; line-height: 1.05; letter-spacing: -.005em; }
.t-h4 { font-size: var(--fs-h4); font-weight: 650; line-height: 1.3; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 38em; }
.muted { color: var(--beton); }
.small { font-size: var(--fs-small); }

/* Mono label: projectnummers, maatvoering, kenmerken */
.label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  line-height: 1.35;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.label--accent { color: var(--oker-donker); }

.prose { max-width: 64ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--oker-donker); }
.prose a:hover { color: var(--oker-donker); }
.prose ul > li { position: relative; padding-left: 1.4em; }
.prose ul > li + li { margin-top: .4em; }
.prose ul > li::before { content: "–"; position: absolute; left: 0; top: 0; font-weight: 500; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
}
@media (min-width: 760px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.grid > * { grid-column: 1 / -1; }

.section { padding-block: var(--section-y); background: var(--bg); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--alt { --bg: var(--kalk-2); }
.section--paper { --bg: var(--papier); }
.section--dark {
  --bg: var(--grafiet);
  --focus: var(--oker);
  color: var(--kalk);
}
.section--dark .muted { color: var(--steen); }
.section--dark .label--accent { color: var(--oker); }

/* Sectiekop: "02 — Projecten ———————— Alle projecten →" */
.sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  padding-top: var(--s-4);
  margin-bottom: var(--head-gap);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.sheet-head::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform-origin: left center;
}
.sheet-head__no { color: var(--oker-donker); }
.section--dark .sheet-head__no { color: var(--oker); }
.sheet-head__no::after { content: "—"; margin-left: var(--s-4); color: var(--beton); }
.section--dark .sheet-head__no::after { color: var(--steen); }
.sheet-head__link {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; margin-block: -12px;
  text-decoration: none;
}
.sheet-head__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sheet-head__link:hover svg { transform: translateX(4px); }
.sheet-head__link:hover { color: var(--oker-donker); }
.section--dark .sheet-head__link:hover { color: var(--oker); }
/* Compacte variant: onder 480px alleen de pijl (44px), de tekst blijft voor schermlezers */
@media (max-width: 479px) {
  .sheet-head__link--compact { justify-content: flex-end; min-width: 44px; }
  .sheet-head__link--compact .sheet-head__txt {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .sheet-head__link--compact svg { width: 20px; height: 20px; }
}

/* Kop + intro naast elkaar */
.split-head { display: grid; gap: var(--s-5); margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: end; }
  .split-head > :last-child { padding-bottom: .35em; }
}

/* ---------- Pijl-icoon ---------- */
.i-arrow { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--grafiet); --btn-bd: var(--grafiet);
  --btn-cell-bg: transparent; --btn-cell-fg: currentColor; --btn-cell-bd: var(--btn-bd);
  display: inline-flex;
  align-items: stretch;
  min-height: 52px;
  padding: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 0;
  font-family: var(--f-sans);
  font-weight: 640;
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__label { display: flex; align-items: center; padding: 12px 20px; }
.btn__cell {
  display: grid; place-items: center;
  width: 50px; flex: none;
  background: var(--btn-cell-bg);
  color: var(--btn-cell-fg);
  border-left: 1.5px solid var(--btn-cell-bd);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn__cell .i-arrow, .btn__cell svg { transition: transform .25s var(--ease); }
.btn:hover .btn__cell .i-arrow { transform: translateX(3px); }
.btn__icon { width: 20px; height: 20px; flex: none; margin-right: 10px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* primair: okervlak + grafiet pijlvak */
.btn--primary { --btn-bg: var(--oker); --btn-fg: var(--grafiet); --btn-bd: var(--oker); --btn-cell-bg: var(--grafiet); --btn-cell-fg: var(--oker); --btn-cell-bd: var(--grafiet); }
.btn--primary:hover { --btn-bg: var(--oker-licht); --btn-bd: var(--oker-licht); }
.section--dark .btn--primary { --btn-cell-bg: var(--grafiet-2); --btn-cell-bd: var(--oker); }
.btn--dark { --btn-bg: var(--grafiet); --btn-fg: var(--kalk); --btn-bd: var(--grafiet); --btn-cell-fg: var(--oker); --btn-cell-bd: var(--grafiet-3); }
.btn--dark:hover { --btn-bg: var(--grafiet-2); }
.btn--outline { --btn-fg: var(--grafiet); --btn-bd: var(--grafiet); }
.btn--outline:hover { --btn-bg: var(--grafiet); --btn-fg: var(--kalk); --btn-cell-bd: var(--grafiet-3); }
.btn--light { --btn-fg: var(--kalk); --btn-bd: rgba(239, 236, 230, .55); --btn-cell-bd: rgba(239, 236, 230, .35); }
.btn--light:hover { --btn-bg: var(--kalk); --btn-fg: var(--grafiet); --btn-bd: var(--kalk); --btn-cell-bd: var(--lijn); }
.btn--sm { min-height: 44px; font-size: .9375rem; }
.btn--sm .btn__label { padding: 8px 16px; }
.btn--sm .btn__cell { width: 44px; }
.btn--block { display: flex; width: 100%; }
.btn--block .btn__label { flex: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (max-width: 599px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { width: 100%; }
  .btn-row--stack .btn__label { flex: 1; }
}

/* Tekstlink met pijl */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 640;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  text-decoration-color: var(--lijn-sterk);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.link-arrow .i-arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--oker-donker); text-decoration-color: currentColor; }
.link-arrow:hover .i-arrow { transform: translateX(4px); }
.section--dark .link-arrow { text-decoration-color: rgba(239, 236, 230, .4); }
.section--dark .link-arrow:hover { color: var(--oker); }

/* Vierkante knop (vorige/volgende, sluiten) */
.square-btn {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  background: transparent; color: inherit;
  border: 1.5px solid currentColor; border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.square-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.square-btn:hover:not(:disabled) { background: var(--oker); color: var(--grafiet); border-color: var(--oker); }
.square-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Conceptbalk ---------- */
.concept-bar {
  --focus: var(--oker);
  position: relative; z-index: 45;
  background: #121314;
  color: #C9C6BF;
  font-size: .8125rem;
  line-height: 1.3;
}
.concept-bar__inner {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--bar-h);
  padding-block: 4px;
}
.concept-bar__text { margin: 0; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concept-bar__link {
  display: inline-flex; align-items: center; min-height: 32px;
  color: #F2F0EC; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(242, 240, 236, .45);
}
.concept-bar__link:hover { text-decoration-color: currentColor; }
.concept-bar__demo {
  display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px;
  background: #ff5c29; color: #0a0a0a; font-weight: 650; white-space: nowrap; text-decoration: none;
}
.concept-bar__demo:hover { background: #ff7a50; }
.concept-bar__short { display: none; }
@media (max-width: 640px) {
  .concept-bar__long { display: none; }
  .concept-bar__short { display: inline; }
  .concept-bar__inner { gap: 10px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--kalk);
  border-bottom: 1px solid var(--grafiet);
}
.site-header__bar {
  display: flex; align-items: stretch;
  height: var(--header-h);
  max-width: calc(var(--content) + 2 * var(--pad));
  margin-inline: auto;
  padding-left: var(--pad);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  margin-right: auto;
  padding-right: var(--s-5);
  color: var(--grafiet);
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 830; font-stretch: 66%; font-size: 1.625rem;
  letter-spacing: .015em; text-transform: uppercase;
}
.brand__sub {
  margin-top: 4px;
  font-family: var(--f-mono); font-weight: 500; font-size: .625rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--beton);
}
.main-nav { display: none; }
.header-call { display: none; }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 var(--pad) 0 20px;
  background: transparent; border: 0; border-left: 1px solid var(--grafiet);
  font-weight: 640; font-size: 1rem; text-decoration: none; color: var(--grafiet);
}
.menu-btn__icon { position: relative; width: 22px; height: 12px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { bottom: 0; right: 6px; }
.js .menu-btn--nojs { display: none; }
html:not(.js) .menu-btn--js { display: none; }

@media (min-width: 1024px) {
  .site-header__bar { padding-right: 0; }
  .brand { padding-right: var(--s-6); border-right: 1px solid var(--grafiet); margin-right: 0; }
  .main-nav { display: flex; flex: 1; }
  .main-nav__list { display: flex; align-items: stretch; height: 100%; padding-left: var(--s-4); }
  .main-nav__list a {
    position: relative;
    display: flex; align-items: center; height: 100%;
    padding: 0 clamp(10px, 1.2vw, 20px);
    font-weight: 560; font-size: 1rem; text-decoration: none;
  }
  .main-nav__list a::after {
    content: ""; position: absolute; left: clamp(10px, 1.2vw, 20px); right: clamp(10px, 1.2vw, 20px); bottom: -1px;
    height: 3px; background: var(--oker);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .3s var(--ease);
  }
  .main-nav__list a:hover::after { transform: scaleX(1); }
  .main-nav__list a[aria-current="page"] { font-weight: 700; }
  .main-nav__list a[aria-current="page"]::after { transform: scaleX(1); background: var(--grafiet); }
  .header-call {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 0 22px;
    background: transparent; border: 0; border-left: 1px solid var(--grafiet);
    font-weight: 600; font-size: .9375rem;
  }
  .header-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .header-call:hover { background: var(--kalk-2); }
  .header-cta {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 0 clamp(20px, 2vw, 32px);
    background: var(--oker); color: var(--grafiet);
    font-weight: 700; font-size: 1rem; text-decoration: none;
    border-left: 1px solid var(--grafiet);
    transition: background-color .2s var(--ease);
  }
  .header-cta:hover { background: var(--oker-licht); }
  .header-cta .i-arrow { transition: transform .25s var(--ease); }
  .header-cta:hover .i-arrow { transform: translateX(4px); }
  .header-cta[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--grafiet); }
  .menu-btn { display: none !important; }
}
@media (min-width: 1440px) {
  .site-header__bar { max-width: none; }
}

/* ---------- Mobiel menu (volledig scherm) ---------- */
.mobile-nav {
  --focus: var(--oker);
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--grafiet); color: var(--kalk);
  overflow-y: auto; overscroll-behavior: contain;
}
.js .mobile-nav { opacity: 0; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.js .mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav__top {
  display: flex; align-items: stretch; justify-content: space-between;
  min-height: var(--header-h);
  padding-left: var(--pad);
  border-bottom: 1px solid var(--lijn-donker);
}
.mobile-nav__top .brand { color: var(--kalk); }
.mobile-nav__top .brand__sub { color: var(--steen); }
.mobile-nav__close {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 var(--pad) 0 20px;
  background: transparent; border: 0; border-left: 1px solid var(--lijn-donker);
  color: var(--kalk); font-weight: 640;
}
.mobile-nav__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.mobile-nav__list { padding: var(--s-3) var(--pad) 0; counter-reset: mnav; }
.mobile-nav__list li { border-bottom: 1px solid var(--lijn-donker); }
.mobile-nav__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  font-weight: 760; font-stretch: 68%; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1;
  text-decoration: none;
}
.mobile-nav__list a::before {
  counter-increment: mnav; content: counter(mnav, decimal-leading-zero);
  font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .07em; font-stretch: 100%;
  color: var(--oker); transform: translateY(-.9em);
}
.mobile-nav__list a[aria-current="page"] { color: var(--oker); }
.mobile-nav__foot { margin-top: auto; padding: var(--s-6) var(--pad) calc(var(--s-6) + env(safe-area-inset-bottom)); display: grid; gap: var(--s-3); }
.mobile-nav__meta { margin-top: var(--s-3); color: var(--steen); font-size: var(--fs-small); }
.mobile-nav__meta a { color: var(--kalk); padding-block: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* tikvlak ≥ 24px */
body.menu-open { overflow: hidden; }

/* ---------- Pagina-kop voor subpagina's ---------- */
.page-head { padding-top: var(--head-top); padding-bottom: clamp(48px, 6vw, 104px); }
.page-head__crumbs { margin-bottom: clamp(28px, 4vw, 56px); }
.page-head__title { max-width: 14ch; }
.page-head__lead { margin-top: var(--s-5); }
@media (min-width: 900px) {
  .page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: end; }
  .page-head__grid .page-head__lead { margin-top: 0; padding-bottom: .4em; }
}

/* Kruimelpad */
.crumbs { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .07em; text-transform: uppercase; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--beton); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--beton); text-decoration: none; }
.crumbs a:hover { color: var(--grafiet); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: var(--grafiet); }

/* ---------- Beeld ---------- */
.media { position: relative; overflow: hidden; background: var(--kalk-2); }
.media > img, .media > picture > img, .media > picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* Figuur met mono-onderschrift: "FIG. 03 — Staalportaal geplaatst" */
.fig figcaption {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: var(--s-3);
  font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-label);
  letter-spacing: .06em; text-transform: uppercase; color: var(--beton);
}
.fig figcaption b { font-weight: 500; color: var(--oker-donker); white-space: nowrap; }
.section--dark .fig figcaption { color: var(--steen); }
.section--dark .fig figcaption b { color: var(--oker); }

/* Labelplaatje op een foto ("Tijdens · week 6") */
.tag {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: var(--kalk); color: var(--grafiet);
  font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  line-height: 1.2;
}
.tag::before { content: ""; width: 8px; height: 8px; background: var(--oker); flex: none; }
.tag--dark { background: var(--grafiet); color: var(--kalk); }

/* ---------- Titelblok (projectgegevens, zoals op een bouwtekening) ---------- */
.tb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--lijn-sterk);
  border-left: 1px solid var(--lijn-sterk);
}
@media (min-width: 760px) { .tb { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.tb__cell { padding: 10px 14px 12px; border-right: 1px solid var(--lijn-sterk); border-bottom: 1px solid var(--lijn-sterk); min-width: 0; }
.tb__cell--wide { grid-column: 1 / -1; }
.tb dt {
  font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--beton);
}
.tb dd { margin-top: 4px; font-weight: 620; font-size: 1rem; line-height: 1.3; }
.section--dark .tb { border-color: var(--lijn-donker); }
.section--dark .tb .tb__cell { border-color: var(--lijn-donker); }
.section--dark .tb dt { color: var(--steen); }

/* ---------- Projectkaart ---------- */
.pcard { position: relative; }
.pcard__link { display: block; text-decoration: none; color: inherit; }
.pcard__media { position: relative; overflow: hidden; background: var(--kalk-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard__body {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  padding-top: 14px; margin-top: 0;
  border-top: 2px solid currentColor;
}
.pcard__body::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--oker);
  transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease);
}
.pcard__no { grid-column: 1 / -1; color: var(--oker-donker); }
.section--dark .pcard__no { color: var(--oker); }
.pcard__title { font-weight: 760; font-stretch: 74%; font-size: clamp(1.5rem, 1.25rem + .9vw, 2.125rem); line-height: 1; letter-spacing: -.005em; }
.pcard__meta { grid-column: 1; color: var(--beton); font-size: var(--fs-small); }
.section--dark .pcard__meta { color: var(--steen); }
.pcard__arrow { grid-column: 2; grid-row: 2 / span 2; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.pcard__link:hover .pcard__media img, .pcard__link:focus-visible .pcard__media img { transform: scale(1.035); }
.pcard__link:hover .pcard__body::before, .pcard__link:focus-visible .pcard__body::before { transform: scaleX(1); }
.pcard__link:hover .pcard__arrow { background: var(--oker); border-color: var(--oker); color: var(--grafiet); }
.pcard__link:focus-visible { outline-offset: 6px; }

/* ---------- Index-lijst (diensten als genummerde rijen) ---------- */
.index-list { border-bottom: 1px solid var(--lijn-sterk); }
.index-row { border-top: 1px solid var(--lijn-sterk); }
.index-row__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-areas: "no arrow" "title arrow" "text text" "media media";
  gap: 6px 16px;
  padding: 22px 0 26px;
  text-decoration: none; color: inherit;
}
.index-row__no { grid-area: no; font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .07em; color: var(--oker-donker); }
.index-row__title { grid-area: title; font-weight: 770; font-stretch: 68%; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: .95; letter-spacing: -.01em; }
.index-row__text { grid-area: text; margin-top: 6px; color: var(--beton); max-width: 34em; }
.index-row__media { grid-area: media; margin-top: 12px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--kalk-2); }
.index-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.index-row__arrow { grid-area: arrow; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.index-row__link:hover .index-row__arrow { background: var(--oker); border-color: var(--oker); }
.index-row__link:hover .index-row__media img { transform: scale(1.04); }
@media (min-width: 900px) {
  .index-row__link {
    grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr) clamp(180px, 17vw, 260px) 52px;
    grid-template-areas: "no title text media arrow";
    align-items: start;
    gap: var(--gap);
    padding: 30px 0 32px;
  }
  .index-row__no { padding-top: .5em; }
  .index-row__text { margin-top: .3em; }
  .index-row__media { margin-top: 0; aspect-ratio: 4 / 3; }
  .index-row__arrow { width: 52px; height: 52px; }
  .index-row__link::before {
    content: ""; position: absolute; left: -16px; right: -16px; top: 0; bottom: 0; z-index: -1;
    background: var(--papier); opacity: 0; transition: opacity .3s var(--ease);
  }
  .index-row__link:hover::before { opacity: 1; }
}

/* ---------- Bestek-lijst (genummerde afspraken) ---------- */
.spec-list { counter-reset: spec; border-bottom: 1px solid var(--lijn-sterk); }
.spec { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0 22px; border-top: 1px solid var(--lijn-sterk); }
.spec::before {
  counter-increment: spec; content: counter(spec, decimal-leading-zero);
  grid-row: span 2; padding-top: .35em;
  font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .07em; color: var(--oker-donker);
}
.spec__title { font-weight: 680; font-size: 1.125rem; line-height: 1.3; }
.spec__text { color: var(--beton); }
.section--dark .spec-list, .section--dark .spec { border-color: var(--lijn-donker); }
.section--dark .spec::before { color: var(--oker); }
.section--dark .spec__text { color: var(--steen); }

/* ---------- Maatlijn ("|——— Voorbereiding · 2 tot 6 weken ———|") ---------- */
.dim {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 22px;
  border-inline: 1.5px solid currentColor;
}
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.dim__label {
  position: relative; padding: 0 10px; background: var(--bg);
  font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Werkwijze-lijn (compacte tijdlijn, 6 stappen) ---------- */
.process-line { position: relative; display: grid; gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 0 28px 36px; }
.process-step::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 1.5px; background: var(--lijn-sterk);
}
.process-step:last-child::before { display: none; }
.process-step::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background: var(--bg); border: 1.5px solid var(--grafiet);
}
.process-step:first-child::after, .process-step--key::after { background: var(--oker); border-color: var(--grafiet); }
.process-step__no { display: block; color: var(--oker-donker); }
.process-step__title { margin-top: 2px; font-weight: 760; font-stretch: 74%; font-size: 1.625rem; line-height: 1.05; }
.process-step__text { margin-top: 6px; color: var(--beton); font-size: var(--fs-small); max-width: 30em; }
.process-dims { display: none; }
@media (min-width: 1024px) {
  .process-line { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 36px; }
  .process-line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: var(--grafiet); }
  .process-step { padding: 28px 0 0; }
  .process-step::before { display: none; }
  .process-step::after { left: 0; top: -36px; }
  .process-dims { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: 26px; }
  .process-dims .dim:first-child { grid-column: 1 / span 3; }
  .process-dims .dim:last-child { grid-column: 4 / span 3; }
}

/* ---------- Horizontale projectreeks ---------- */
.showcase__track {
  display: flex; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding-inline: var(--pad);
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--lijn-sterk) transparent;
}
.showcase__track:focus-visible { outline-offset: -3px; }
.showcase__item { flex: none; width: min(84vw, 420px); scroll-snap-align: start; }
.showcase__item--wide { width: min(88vw, 640px); }
@media (min-width: 1024px) {
  .showcase__track { padding-left: max(var(--pad), calc((100% - var(--content)) / 2)); scroll-padding-left: max(var(--pad), calc((100% - var(--content)) / 2)); }
  .showcase__item { width: clamp(300px, 26vw, 420px); }
  .showcase__item--wide { width: clamp(460px, 42vw, 680px); }
}
.showcase__controls { display: flex; align-items: center; gap: var(--s-3); }
html:not(.js) .showcase__controls { display: none; }
.showcase__count { margin-right: var(--s-3); }

/* ---------- Veelgestelde vragen (details/summary) ---------- */
.faq { border-bottom: 1px solid var(--lijn-sterk); }
.faq__item { border-top: 1px solid var(--lijn-sterk); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: 64px; padding: 16px 0;
  font-weight: 650; font-size: 1.125rem; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--oker-donker); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid currentColor; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--oker); border-color: var(--oker); color: var(--grafiet); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 22px; max-width: 62ch; color: var(--beton); }
.faq__a > * + * { margin-top: .8em; }
.section--dark .faq, .section--dark .faq__item { border-color: var(--lijn-donker); }
.section--dark .faq__a { color: var(--steen); }
.section--dark .faq__q:hover { color: var(--oker); }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-weight: 650; font-size: .9375rem; line-height: 1.3; }
.field__opt { margin-left: 6px; font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--beton); }
.field__hint { font-size: .875rem; color: var(--beton); }
.input {
  width: 100%; min-height: 52px;
  padding: 13px 15px;
  background: var(--papier);
  border: 1.5px solid var(--lijn-sterk); border-radius: 0;
  font-size: 1rem; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
textarea.input { min-height: 140px; resize: vertical; }
select.input {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231B1C1E' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.input::placeholder { color: #6E6B64; opacity: 1; }
.input:hover { border-color: var(--grafiet); }
/* focus: echte omlijning in --focus (grafiet, ≥ 3:1) die ook in forced colors blijft; oker alleen als binnenrand */
.input:focus { border-color: var(--grafiet); }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: inset 0 0 0 2px var(--oker); }
.field--error .input, .input[aria-invalid="true"] { border-color: var(--fout); }
.field__error { display: flex; gap: 8px; align-items: flex-start; color: var(--fout); font-size: .875rem; font-weight: 600; }
.field__error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--fout); color: #fff; font-size: .75rem; font-weight: 800; }
.field__error:empty { display: none; }

/* Keuzetegels (radio/checkbox als tegel) */
/* Het raster kijkt naar zijn eigen breedte, niet naar het scherm: ook in een smalle kolom blijven de tegels leesbaar */
.tiles { border: 0; padding: 0; margin: 0; min-width: 0; container-type: inline-size; }
.tiles legend { padding: 0; margin-bottom: 10px; font-weight: 650; font-size: .9375rem; }
.tiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@container (min-width: 560px) { .tiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  min-height: 72px; padding: 12px 14px;
  background: var(--papier); border: 1.5px solid var(--lijn-sterk);
  transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.tile__no { font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .07em; color: var(--beton); }
.tile__title { font-weight: 650; line-height: 1.25; }
.tile:hover .tile__box { border-color: var(--grafiet); }
.tile input:checked + .tile__box { border-color: var(--grafiet); box-shadow: inset 0 4px 0 var(--oker); background: #fff; }
.tile input:checked + .tile__box .tile__no { color: var(--oker-donker); }
.tile input:focus-visible + .tile__box { outline: 3px solid var(--grafiet); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-small); }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--grafiet); }

/* Melding na verzenden (concept: er wordt niets verstuurd) */
.form-status { padding: 18px 20px; border: 1.5px solid var(--grafiet); background: var(--papier); }
.form-status:empty { display: none; }
.form-status--ok { border-left: 6px solid var(--oker); }
.form-status--error { border-color: var(--fout); }
.form-status strong { display: block; font-weight: 700; margin-bottom: 4px; }

/* Conceptnotitie: een titelblokcel "Status" (sleutel met okerblokje | waarde) */
.concept-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  border: 1px solid var(--lijn-sterk);
  font-size: .875rem; line-height: 1.45; color: var(--beton);
}
.concept-note__key {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-right: 1px solid var(--lijn-sterk);
  font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--grafiet);
}
.concept-note__key::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--oker); outline: 1px solid var(--grafiet); }
.concept-note__val { padding: 10px 14px 11px; }
.concept-note__val b { font-weight: 680; color: var(--grafiet); }
.section--dark .concept-note, .section--dark .concept-note__key { border-color: rgba(239, 236, 230, .35); color: var(--steen); }
.section--dark .concept-note__key, .section--dark .concept-note__val b { color: var(--kalk); }

/* ---------- Afsluitende call-to-action met foto ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--kalk); background: var(--grafiet); --focus: var(--oker); --bg: var(--grafiet); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27, 28, 30, .84) 0%, rgba(27, 28, 30, .86) 55%, rgba(27, 28, 30, .94) 100%); /* oker-label boven ≥ 4,5:1 */
}
.cta-band__inner { padding-block: clamp(96px, 12vw, 200px) clamp(56px, 7vw, 112px); }
.cta-band__panel { max-width: 46rem; }
.cta-band__title { margin-top: var(--s-5); }
.cta-band__text { margin-top: var(--s-5); color: var(--kalk-zacht); }
.cta-band .btn-row { margin-top: var(--s-6); }
.cta-band__note { margin-top: var(--s-5); color: var(--steen); }
.cta-band .label--accent { color: var(--oker); }
@media (min-width: 1024px) {
  .cta-band::before { background: linear-gradient(90deg, rgba(27, 28, 30, .94) 0%, rgba(27, 28, 30, .82) 42%, rgba(27, 28, 30, .25) 75%, rgba(27, 28, 30, .1) 100%); }
}

/* ---------- Papieren documenten (offerte, weekplanning, update, opleverlijst) ----------
   Gedeeld door werkwijze (dossier) en home (stapel). Bedragen staan er bewust niet in. */
.ww-sheet {
  position: relative;
  display: flex; flex-direction: column;
  aspect-ratio: 1 / 1.36;
  padding: 16px 16px 0;
  background: var(--papier);
  border: 1px solid var(--lijn-sterk);
  font-size: .875rem; line-height: 1.4;
  transition: transform .35s var(--ease);
}
.ww-sheet__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--grafiet);
}
.ww-sheet__top .label { font-size: .625rem; color: var(--beton); text-align: right; }
.ww-sheet__brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 830; font-stretch: 66%; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.ww-sheet__brand svg { width: 16px; height: 16px; flex: none; }
.ww-sheet__title { margin: 14px 0 10px; font-weight: 770; font-stretch: 72%; font-size: 1.5rem; line-height: 1; }
.ww-sheet__small { margin-top: 10px; font-size: .8125rem; color: var(--beton); }
.ww-sheet__small b { font-weight: 650; color: var(--grafiet); }
.ww-sheet__tb {
  display: grid; grid-template-columns: .7fr 1.1fr 1fr;
  margin: auto -16px 0;
  padding-top: 0;
  border-top: 1px solid var(--grafiet);
}
.ww-sheet__small + .ww-sheet__tb, .ww-update__pics + .ww-sheet__tb, .ww-sign + .ww-sheet__tb { margin-top: auto; }
.ww-sheet__tb div { padding: 7px 10px 8px; border-left: 1px solid var(--lijn-sterk); min-width: 0; }
.ww-sheet__tb div:first-child { border-left: 0; }
.ww-sheet__tb dt { font-family: var(--f-mono); font-weight: 500; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--beton); }
.ww-sheet__tb dd { margin-top: 2px; font-weight: 650; font-size: .8125rem; line-height: 1.2; }
.ww-sheet__tb div:last-child dd { color: var(--oker-donker); }

/* doc 01 — offerteposten zonder bedragen */
.ww-quote { width: 100%; border-collapse: collapse; }
.ww-quote th, .ww-quote td { padding: 5px 0; border-bottom: 1px solid var(--lijn); text-align: left; vertical-align: baseline; }
.ww-quote th { font-weight: 500; font-size: .8125rem; }
.ww-quote th .label { display: inline-block; width: 20px; font-size: .625rem; color: var(--oker-donker); }
.ww-quote td { text-align: right; white-space: nowrap; }
.ww-amount { display: inline-flex; align-items: center; gap: 5px; }
.ww-amount::before { content: "€"; font-family: var(--f-mono); font-size: .6875rem; color: var(--beton); }
.ww-amount::after { content: ""; display: inline-block; width: 40px; height: 7px; background: var(--lijn); }
.ww-quote tr:nth-child(3n+2) .ww-amount::after { width: 30px; }
.ww-quote tr:nth-child(3n) .ww-amount::after { width: 48px; }
.ww-quote__stel th, .ww-quote__stel td { border-bottom-color: var(--lijn-sterk); }
.ww-quote__stel td .label { font-size: .625rem; color: var(--oker-donker); }

/* doc 02 — mini-weekplanning */
.ww-mini { font-size: .75rem; }
.ww-mini__axis, .ww-mini__row { display: grid; grid-template-columns: 84px repeat(12, minmax(0, 1fr)); align-items: center; }
.ww-mini__axis span { padding: 3px 0 4px; border-bottom: 1px solid var(--grafiet); text-align: center; font-family: var(--f-mono); font-weight: 500; font-size: .5625rem; color: var(--beton); }
.ww-mini__row {
  min-height: 34px; border-bottom: 1px solid var(--lijn);
  background-image: repeating-linear-gradient(90deg, rgba(203, 198, 187, .6) 0 1px, transparent 1px calc((100% - 84px) / 12));
  background-position: 84px 0; background-repeat: no-repeat; background-size: calc(100% - 84px) 100%;
}
.ww-mini__lbl { grid-column: 1; grid-row: 1; padding: 4px 6px 4px 0; font-weight: 620; font-size: .6875rem; line-height: 1.15; }
.ww-mini__lbl small { display: block; font-weight: 400; color: var(--beton); font-size: .625rem; }
.ww-mini__row i { grid-row: 1; height: 8px; background: var(--grafiet); }
.ww-mini__row--end i { height: 11px; background: var(--oker); border: 1.5px solid var(--grafiet); }

/* doc 03 — weekupdate */
.ww-update { border-top: 1px solid var(--lijn-sterk); }
.ww-update div { padding: 8px 0 9px; border-bottom: 1px solid var(--lijn); }
.ww-update dt { font-size: .625rem; color: var(--oker-donker); }
.ww-update dd { margin-top: 2px; font-size: .8125rem; line-height: 1.4; }
.ww-update__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 14px; }
.ww-update__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--kalk-2); }

/* doc 04 — opleverlijst */
.ww-punch { border-top: 1px solid var(--lijn-sterk); }
.ww-punch li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0 9px; border-bottom: 1px solid var(--lijn); font-size: .8125rem; line-height: 1.3; }
.ww-punch__box { position: relative; width: 15px; height: 15px; border: 1.5px solid var(--grafiet); }
.ww-punch li.is-done .ww-punch__box::after {
  content: ""; position: absolute; left: 3.5px; top: .5px; width: 4px; height: 8px;
  border: solid var(--grafiet); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ww-punch .label { font-size: .625rem; color: var(--beton); }
.ww-punch li.is-done .label { color: var(--oker-donker); }
.ww-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 14px; }
.ww-sign span { display: block; margin-top: 30px; padding-top: 5px; border-top: 1px solid var(--grafiet); font-family: var(--f-mono); font-weight: 500; font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--beton); }

/* ---------- Kaart werkgebied (SVG, zelf getekend) ---------- */
.area-map { width: 100%; height: auto; color: var(--grafiet); font-family: var(--f-mono); }
.area-map .m-grid { stroke: var(--lijn); stroke-width: 1; }
.area-map .m-radius { fill: none; stroke: var(--grafiet); stroke-width: 1.2; stroke-dasharray: 5 6; }
.area-map .m-zone { fill: none; }  /* geen zachte schijf: de straal is een maatlijn, de regio's zijn gearceerd */
.area-map .m-town { fill: var(--kalk); stroke: var(--grafiet); stroke-width: 1.5; }
.area-map .m-project { fill: var(--oker); stroke: var(--grafiet); stroke-width: 1.5; }
.area-map .m-base { fill: var(--grafiet); }
.area-map .m-label { font-size: 11.5px; font-weight: 500; letter-spacing: .04em; fill: var(--grafiet); }
.area-map .m-label--muted { fill: var(--beton); }
.area-map .m-region { font-size: 10px; letter-spacing: .14em; fill: var(--oker-donker); }
.area-map .m-line { stroke: var(--grafiet); stroke-width: 1.2; fill: none; }
.area-map .m-water { fill: #D6D9D8; }
/* Halo: lijnen, cirkels en rivieren lopen niet meer door de labels heen */
.area-map :is(.m-label, .m-region) { paint-order: stroke; stroke: var(--map-halo, var(--papier)); stroke-width: 3.5px; stroke-linejoin: round; }
.area-map .m-label--paper { stroke: var(--papier); }  /* labels buiten de zone (schaal, noordpijl) */

/* ---------- Footer: titelblok ---------- */
.site-footer {
  --focus: var(--oker);
  --bg: var(--grafiet);
  background: var(--grafiet); color: var(--kalk);
  padding-top: clamp(56px, 6vw, 96px);
}
.footer-sheet {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(239, 236, 230, .4); border-left: 1px solid var(--lijn-donker);
}
.footer-cell { padding: 18px 16px 22px; border-right: 1px solid var(--lijn-donker); border-bottom: 1px solid var(--lijn-donker); min-width: 0; }
.footer-cell--brand { grid-column: 1 / -1; }
.footer-cell__key { display: block; margin-bottom: 12px; color: var(--oker); }
.footer-cell__cta { margin-top: 20px; }
.footer-cell a:not(.btn)[href^="mailto:"] { display: inline; overflow-wrap: break-word; padding-block: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* tikvlak ≥ 24px per regel */
.footer-cell p, .footer-cell li { color: var(--kalk-zacht); font-size: var(--fs-small); line-height: 1.55; }
.footer-cell ul { display: grid; gap: 2px; }
.footer-cell a:not(.btn) { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--fs-small); text-decoration: none; color: var(--kalk); }
.footer-cell a:not(.btn):hover { color: var(--oker); text-decoration: underline; text-underline-offset: 3px; }
.footer-cell a[aria-current="page"] { color: var(--oker); }
.footer-cell .brand { color: var(--kalk); margin-bottom: var(--s-4); min-height: 44px; }
.footer-cell .brand__sub { color: var(--steen); }
.footer-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 6px; padding: 0;
  background: none; border: 0; color: var(--kalk); font-size: var(--fs-small); font-weight: 650;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(239, 236, 230, .4);
}
.footer-call:hover { color: var(--oker); }
@media (min-width: 760px) {
  .footer-sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-cell--brand { grid-column: span 2; }
  .footer-cell { padding: 22px 22px 26px; }
}
@media (min-width: 760px) and (max-width: 1199px) {
  /* tweede rij: Werkgebied onder het merk, Bereikbaar onder Navigatie + Diensten; geen lege cel */
  .footer-sheet > .footer-cell:nth-child(n+4) { grid-column: span 2; }
}
@media (min-width: 1200px) {
  .footer-sheet { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
  .footer-cell--brand { grid-column: auto; }
}
/* Onderste strook: titelblok met De Vilder-vermelding */
.footer-credit {
  display: grid; grid-template-columns: 1fr;
  border-left: 1px solid var(--lijn-donker);
  font-size: .8125rem; color: var(--steen);
}
.footer-credit > * { padding: 12px 16px; border-right: 1px solid var(--lijn-donker); border-bottom: 1px solid var(--lijn-donker); margin: 0; }
.footer-credit .label { display: block; margin-bottom: 2px; color: #8E8A82; font-size: .625rem; }
.footer-credit a { display: inline-block; padding-block: 5px; margin-block: -5px; color: var(--kalk); text-underline-offset: 3px; } /* tikvlak ≥ 24px */
.footer-credit a:hover { color: var(--oker); }
.footer-credit__demo { display: inline-block; padding-block: 5px; margin-block: -5px; color: #ff8a62 !important; } /* tikvlak ≥ 24px */
@media (min-width: 760px) {
  .footer-credit { grid-template-columns: 1.2fr 1.6fr 1fr; }
  .footer-credit > * { padding: 14px 22px; }
}
.footer-end { height: calc(28px + env(safe-area-inset-bottom)); }

/* ---------- Mobiele actiebalk ---------- */
.mobile-cta {
  --focus: var(--oker);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  background: var(--grafiet);
  border-top: 1px solid var(--grafiet);
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .3s var(--ease), visibility 0s;
}
.mobile-cta a, .mobile-cta button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 12px;
  border: 0; font-weight: 680; font-size: 1rem; text-decoration: none;
}
.mobile-cta__call { background: var(--grafiet); color: var(--kalk); }
.mobile-cta__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.mobile-cta__quote { background: var(--oker); color: var(--grafiet); }
/* buiten beeld ook niet focusbaar en niet voorgelezen: visibility pas na het wegschuiven */
.mobile-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
/* met JS start de balk verborgen; script.js beslist daarna (geen flits op het eerste scherm) */
.js .mobile-cta:not(.is-ready) { transform: translateY(110%); visibility: hidden; transition: none; }
@media (max-width: 1023px) {
  .footer-end { height: calc(84px + env(safe-area-inset-bottom)); }
  /* gefocuste elementen en ankerdoelen stoppen boven de actiebalk */
  html { scroll-padding-bottom: calc(56px + 16px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ---------- Toast (meldingen bij concept-acties) ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 150;
  width: max-content; max-width: min(92vw, 520px);
  padding: 14px 18px 14px 16px;
  background: var(--grafiet); color: var(--kalk);
  border-left: 5px solid var(--oker);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  font-size: .9375rem; line-height: 1.45;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- Reveal (alleen met JS + beweging toegestaan) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-ready [data-reveal="image"] {
  opacity: 1; transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-ready [data-reveal="line"]::before { transform: scaleX(0); transition: transform 1s var(--ease-io); }
.reveal-ready [data-reveal="line"] { opacity: 1; transform: none; }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal="line"].is-in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media print {
  .concept-bar, .site-header, .mobile-cta, .mobile-nav, .toast { display: none !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media (forced-colors: active) {
  .btn, .square-btn, .input, .tile__box, .faq__icon, .index-row__arrow, .pcard__arrow { border-color: CanvasText; }
  .btn--primary, .header-cta, .mobile-cta__quote { forced-color-adjust: none; }
  .tag::before, .process-step::after { forced-color-adjust: none; }
  .input:focus-visible { outline: 3px solid Highlight; outline-offset: 2px; }
}
