/* Self-hosted fonts (latin) — geen Google-CDN meer: sneller én AVG-proof */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/fraunces-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/karla.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/caveat-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --papier: #F5EFE3;
  --zand: #EADFC9;
  --wit: #FFFDF8;
  --inkt: #33291F;
  --grafiet: #57504A;
  --terra: #C05B2B;
  --terra-cta: #9A4620;
  --terra-cta-hover: #833B1B;
  --olijf: #5C6B45;
  --olijf-donker: #4A5737;
  --lijn: 1.5px solid rgba(51, 41, 31, 0.18);
  --schaduw-kaart: 0 1px 2px rgba(51, 41, 31, 0.08), 0 4px 12px rgba(51, 41, 31, 0.07);
  --schaduw-lift: 0 2px 4px rgba(51, 41, 31, 0.10), 0 10px 24px rgba(51, 41, 31, 0.10);
  --staal: #9AAEB8;
  --r-s: 3px;
  --r-m: 6px;
  /* Bewuste "hangende objecten"-radius: kaarten die aan gaatjes/schroeven hangen (.tool, .ladder) */
  --r-l: 10px;
  --f-kop: 'Fraunces', Georgia, serif;
  --f-body: 'Karla', system-ui, sans-serif;
  --f-hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Tap-highlight (iOS): geen grijze systeemflits maar een vleug terra uit de huisstijl */
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-tap-highlight-color: rgba(154, 70, 32, 0.15); }

body {
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--inkt);
  background-color: var(--papier);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
.sectie { padding: 88px 0; }

h1, h2, h3 { font-family: var(--f-kop); font-weight: 600; color: var(--inkt); }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.5rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.375rem); line-height: 1.18; margin-bottom: 14px; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); line-height: 1.3; }

/* Eyebrow-labelsysteem: alle uppercase-microlabels (.label, .logos-label, .platen-label,
   .bon-vel-soort) zijn 0.82rem + letter-spacing 1.5px. Bewuste uitzonderingen:
   .naamplaatje (machinekamer) houdt 3px als signatuur, .trede-mnd houdt 1px als tabel-kop. */
.label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--terra-cta); margin-bottom: 10px;
}
.sectie-intro { color: var(--grafiet); max-width: 56ch; margin-bottom: 40px; }
.micro { font-size: 0.9rem; color: var(--grafiet); }
.hand { font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.7rem); line-height: 1.3; color: var(--terra-cta); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

a { color: var(--terra-cta); }
:focus-visible { outline: 3px solid var(--inkt); outline-offset: 2px; }
::selection { background: var(--zand); color: var(--inkt); }

/* Skip-link: visueel verborgen tot toetsenbordfocus, dan als knop bovenin */
.skip-link {
  position: absolute;
  top: -100vh; left: 16px;
  z-index: 1000;
  display: inline-block;
  min-height: 48px;
  padding: 14px 26px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem;
  color: var(--inkt);
  background: var(--papier);
  border: 1.5px solid var(--inkt);
  border-radius: var(--r-s);
  box-shadow: var(--schaduw-lift);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Sketch-animatie — alleen mét JS, anders blijven de lijnen permanent onzichtbaar */
.js .sketch path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sketch.is-inview path { animation: sketch-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.js .sketch.is-inview path + path { animation-delay: 0.3s; }
@keyframes sketch-draw { to { stroke-dashoffset: 0; } }
html:not(.js) #schuifBlok { display: none; }

/* Knoppen */
.btn {
  display: inline-block;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-s);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  min-height: 48px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.08s linear;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--terra-cta); color: var(--papier); }
.btn-cta:hover { background: var(--terra-cta-hover); }
.btn-lijn { background: transparent; color: var(--inkt); border-color: var(--inkt); }
.btn-lijn:hover { background: var(--inkt); color: var(--papier); }
.btn-groot { padding: 17px 34px; font-size: 1.05rem; }
.btn-blok { display: block; width: 100%; }
.btn-nav { padding: 10px 18px; min-height: 44px; font-size: 0.92rem; }
.link-secundair {
  font-weight: 700; color: var(--inkt); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  align-self: center; padding: 12px 6px;
}
.link-secundair:hover { color: var(--terra-cta); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 227, 0.97);
  border-bottom: var(--lijn);
}
@supports (backdrop-filter: blur(4px)) {
  .nav { background: rgba(245, 239, 227, 0.9); backdrop-filter: blur(4px); }
}
.nav-inner { display: flex; align-items: center; gap: 26px; padding: 14px 22px; }
.nav-logo {
  font-family: var(--f-kop); font-weight: 600; font-size: 1.15rem;
  color: var(--inkt); text-decoration: none; white-space: nowrap;
}
.nav-van { font-family: var(--f-body); font-weight: 400; font-size: 0.85rem; color: var(--grafiet); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--inkt); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.nav-links a:hover { color: var(--terra-cta); }

/* Hero */
.hero { padding: 76px 0 64px; position: relative; }
/* Werkbank-context: flauwe ruitjes-band onderaan de hero, zelfde 24px-raster als de werkbon */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(87, 80, 74, 0.09) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(87, 80, 74, 0.09) 0 1px, transparent 1px 24px);
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 45%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
/* Badge als tape-labeltje uit de werkplaats — geen pill */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--inkt); background: var(--zand);
  padding: 9px 22px; margin-bottom: 22px;
  border-radius: 0;
  transform: rotate(-1.5deg); transform-origin: left center;
  clip-path: polygon(2% 0%, 98% 3%, 100% 34%, 97.5% 66%, 99% 100%, 2% 97%, 0% 63%, 1.5% 31%);
  filter: drop-shadow(0 1px 1px rgba(51, 41, 31, 0.14));
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olijf); display: inline-block; }
.underlined { position: relative; white-space: nowrap; }
.u-sketch { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: 0.28em; color: var(--terra); }
.hero-sub { font-size: 1.15rem; color: var(--grafiet); max-width: 52ch; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }
.hero .micro { margin-top: 16px; }

.hero-foto { position: relative; justify-self: end; width: min(100%, 400px); transform: rotate(-2.5deg); }
.hero-foto img {
  background: var(--wit); padding: 14px;
  border: 1px solid var(--zand);
  box-shadow: 0 12px 32px rgba(51, 41, 31, 0.12);
  width: 100%;
}
/* Tape: translucent met lichtstreep, rafelige afscheurrandjes links en rechts */
.tape {
  position: absolute; width: 92px; height: 28px; z-index: 3;
  background:
    linear-gradient(180deg, rgba(51, 41, 31, 0.10) 0%, rgba(51, 41, 31, 0) 20%, rgba(51, 41, 31, 0) 80%, rgba(51, 41, 31, 0.12) 100%),
    linear-gradient(105deg,
      rgba(234, 223, 201, 0.80) 0%,
      rgba(234, 223, 201, 0.58) 38%,
      rgba(255, 253, 248, 0.72) 50%,
      rgba(234, 223, 201, 0.58) 62%,
      rgba(224, 209, 181, 0.85) 100%);
  clip-path: polygon(
    3% 0%, 97% 2%, 100% 14%, 96.5% 30%, 99% 48%, 96% 62%, 99.5% 78%, 97% 100%,
    4% 98%, 0.5% 86%, 3.5% 68%, 1% 52%, 3% 34%, 0% 18%);
}
.tape-lb { top: -12px; left: -20px; transform: rotate(-38deg); }
.tape-ro { bottom: 24px; right: -26px; transform: rotate(35deg); }
.hero-foto figcaption { margin-top: 10px; text-align: center; }
.hero-foto figcaption.hand { font-size: 1.4rem; }

/* Herkenning */
.herkenning { background: var(--wit); border-top: var(--lijn); border-bottom: var(--lijn); }
.kaarten-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.kaart {
  background: var(--papier); border: var(--lijn); border-radius: var(--r-m);
  padding: 28px 26px;
}
.kaart h3 { margin-bottom: 10px; }
.kaart p { color: var(--grafiet); font-size: 0.98rem; }
.afsluiter { margin-top: 32px; font-weight: 700; text-align: center; }

/* Gereedschapskist */
.sectie-kop-rij { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.notitie {
  position: relative;
  max-width: 260px; background: var(--wit); padding: 18px 20px;
  border: 1px solid var(--zand); box-shadow: var(--schaduw-kaart);
  transform: rotate(-2deg); font-size: 1.35rem;
}
.tape-notitie { top: -13px; left: 50%; margin-left: -39px; width: 78px; height: 24px; transform: rotate(-4deg); }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; position: relative; isolation: isolate; }
/* Het bord: gatenraster alleen achter het kaarten-grid, randen faden via mask */
.tools::before {
  content: ""; position: absolute; inset: -30px -34px -34px; z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(51, 41, 31, 0.07) 1.1px, transparent 1.6px);
  background-size: 26px 26px; background-position: 13px 13px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 44px, #000 calc(100% - 44px), transparent), linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent, #000 44px, #000 calc(100% - 44px), transparent), linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
  mask-composite: intersect;
}
.tool {
  background: var(--zand); border: var(--lijn); border-radius: var(--r-l);
  padding: 30px 26px 28px; position: relative;
  box-shadow: 0 3px 5px -2px rgba(51, 41, 31, 0.12);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}
.tool-hoofd { border-top: 3px solid var(--terra-cta); }
@media (hover: hover) {
  .tool:hover { transform: translateY(-4px); box-shadow: var(--schaduw-lift); border-color: rgba(154, 70, 32, 0.4); }
  .tool:hover .icoon-accent { stroke: var(--terra-cta); fill: none; }
  .tool:hover circle.icoon-accent { fill: var(--terra-cta); stroke: none; }
}
.gaatjes { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); display: flex; gap: 26px; }
.gaatjes i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(51, 41, 31, 0.28);
  box-shadow: inset 0 1px 1px rgba(51, 41, 31, 0.4), 0 1px 0 rgba(255, 253, 248, 0.7);
}
.tool-icoon { width: 46px; height: 46px; color: var(--inkt); margin-bottom: 16px; }
.tool h3 { margin-bottom: 8px; }
.tool p { color: var(--grafiet); font-size: 0.95rem; }
.tools-voet { margin-top: 26px; text-align: center; }

/* Werkbon / prijzen */
.werkbon-sectie { border-top: var(--lijn); border-bottom: var(--lijn); }
.ruitjes {
  background-color: var(--papier);
  background-image:
    repeating-linear-gradient(0deg, rgba(87, 80, 74, 0.10) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(87, 80, 74, 0.10) 0 1px, transparent 1px 24px);
}
/* Eén bon-vel: de hele prijslijst is één document op het ruitjespapier */
.bon-vel {
  position: relative; max-width: 860px; margin: 0 auto;
  background: var(--wit); border: var(--lijn); border-radius: var(--r-s);
  box-shadow: var(--schaduw-lift);
  padding: 36px 44px 30px;
}
.bon-tape-l { top: -14px; left: 38px; transform: rotate(-5deg); }
.bon-tape-r { top: -14px; right: 38px; transform: rotate(4deg); }

.bon-vel-kop {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 24px;
  border-bottom: 2px solid var(--inkt); padding-bottom: 16px;
}
.bon-vel-titel { font-family: var(--f-kop); font-weight: 600; font-size: 1.35rem; line-height: 1.25; }
.bon-vel-van { font-family: var(--f-body); font-weight: 400; font-size: 0.85rem; color: var(--grafiet); }
.bon-vel-soort { font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grafiet); margin-top: 4px; }
.bon-vel-meta { font-size: 0.85rem; color: var(--grafiet); text-align: right; line-height: 1.5; }

/* Bonregels: naam + omschrijving links, puntjeslijn, prijs rechts, kleine Kies-knop */
.bonregels { list-style: none; }
.bonregel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 6px 28px;
  padding: 20px 14px;
}
.bonregel + .bonregel { border-top: 1.5px dashed rgba(51, 41, 31, 0.18); }
.bonregel-tekst { min-width: 0; }
.bonregel-lijn { display: flex; align-items: baseline; gap: 12px; }
.bonregel-naam { font-size: 1.2rem; }
.bonregel-stippels { flex: 1; min-width: 28px; border-bottom: 2px dotted rgba(51, 41, 31, 0.4); }
.bonregel-prijs {
  font-family: var(--f-kop); font-weight: 600; font-size: 1.75rem; line-height: 1.15;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right;
}
.bonregel-prijs small { font-family: var(--f-body); font-weight: 400; font-size: 0.9rem; color: var(--grafiet); }
.omcirkel-wrap { position: relative; display: inline-block; }
.omcirkel-wrap .sketch { position: absolute; inset: -22% -14%; width: 128%; height: 144%; color: var(--terra); pointer-events: none; }
.bonregel-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.bonregel-omschrijving { color: var(--grafiet); font-size: 0.95rem; max-width: 48ch; }
.bonregel-koop { font-size: 0.9rem; color: var(--grafiet); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* min-width 128px past ook om "Vraag ernaar" (127px): elke bonregel is z'n eigen grid,
   dus gelijke knopbreedtes zijn nodig om de prijzen op desktop exact rechts uit te lijnen */
.btn-bon { padding: 10px 18px; min-width: 128px; min-height: 44px; font-size: 0.92rem; white-space: nowrap; justify-self: end; }

/* Plus-regel: gemarkeerd op de bon (markeerstreep + stempel + omcirkelde prijs) */
.bonregel-ster { background: rgba(234, 223, 201, 0.55); border-radius: var(--r-m); }
.bon-stempel {
  align-self: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--terra-cta); border: 2px solid var(--terra-cta); border-radius: var(--r-s);
  padding: 3px 10px; transform: rotate(-2deg); white-space: nowrap;
}

/* Voetregels onderaan het vel */
.bon-voet { border-top: 2px solid var(--inkt); padding: 18px 14px 0; }
.bon-voet-uitleg { font-size: 0.95rem; color: var(--grafiet); max-width: 64ch; margin-bottom: 16px; }
.bon-voorwaarden { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.bon-voorwaarden li {
  position: relative; padding: 1px 0 1px 30px;
  font-size: 0.95rem; font-weight: 700; color: var(--inkt);
}
.bon-voorwaarden li::before {
  content: ""; position: absolute; left: 0; top: 0.18em;
  width: 18px; height: 18px;
  background: var(--wit);
  border: 1.5px solid var(--inkt); border-radius: 3px;
}
.bon-voorwaarden li::after {
  content: ""; position: absolute; left: 4px; top: 0.3em;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--terra-cta);
  border-bottom: 2.5px solid var(--terra-cta);
  transform: rotate(-50deg);
}

/* Bonregels stapelen op smalle schermen: naam boven prijs, knop full-width */
@media (max-width: 720px) {
  .bon-vel { padding: 28px 20px 24px; }
  .bon-vel-kop { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bon-vel-meta { text-align: left; }
  .bonregel { grid-template-columns: 1fr; gap: 12px; padding: 20px 4px; }
  .bonregel-ster { padding: 20px 14px; margin: 0 -10px; }
  .bonregel-lijn { flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .bonregel-stippels { display: none; }
  .bonregel-prijs { flex-basis: 100%; text-align: left; margin-top: 2px; }
  .bonregel-sub { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bonregel-koop { white-space: normal; }
  .btn-bon { display: block; width: 100%; justify-self: stretch; }
  .bon-voet { padding: 18px 4px 0; }
  .bon-voorwaarden { flex-direction: column; gap: 10px; }
}

/* Afkoopladder */
.ladder { margin-top: 56px; background: var(--wit); border: var(--lijn); border-radius: var(--r-l); padding: 40px 36px; box-shadow: var(--schaduw-kaart); }
.ladder-kop { margin-bottom: 10px; }
.ladder-definitie { color: var(--grafiet); max-width: 62ch; margin-bottom: 28px; }
.treden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.trede { border: var(--lijn); border-radius: var(--r-m); padding: 20px 18px; text-align: center; background: var(--papier); transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.trede.is-actief { border-color: var(--terra-cta); box-shadow: 0 0 0 2px var(--terra-cta), var(--schaduw-kaart); transform: translateY(-2px); }
.trede-vrij { background: var(--olijf-donker); border-color: var(--olijf-donker); }
.trede-vrij .trede-mnd, .trede-vrij .trede-pct, .trede-vrij .trede-txt { color: var(--papier); }
.trede-mnd { font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grafiet); }
.trede-pct { font-family: var(--f-kop); font-weight: 600; font-size: 2.4rem; line-height: 1.15; }
.trede-txt { font-size: 0.9rem; color: var(--grafiet); }

.schuif-blok { border-top: var(--lijn); padding-top: 28px; }
.schuif-uitleg { font-weight: 700; margin-bottom: 16px; }
.wb-pakketten { min-inline-size: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; padding-bottom: 6px; margin-bottom: 20px; }
.wb-pakketten label { scroll-snap-align: start; white-space: nowrap; }
.wb-pakketten input { position: absolute; opacity: 0; }
.wb-pakketten span {
  display: inline-block; padding: 10px 16px; min-height: 44px;
  border: 1.5px solid var(--inkt); border-radius: 999px; background: var(--papier);
  font-size: 0.92rem; font-weight: 700; cursor: pointer;
}
.wb-pakketten input:checked + span { background: var(--terra-cta); border-color: var(--terra-cta); color: var(--papier); }
.wb-pakketten input:focus-visible + span { outline: 3px solid var(--inkt); outline-offset: 2px; }

.schuif-label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.schuif-wrap { position: relative; padding-top: 38px; }
.schuif-bubbel {
  position: absolute; top: 0;
  left: clamp(33px, calc(17px + (100% - 34px) * var(--frac, 0.3333)), calc(100% - 33px));
  transform: translateX(-50%);
  background: var(--inkt); color: var(--papier);
  font-size: 0.82rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
  padding: 7px 11px; border-radius: 999px;
  white-space: nowrap; pointer-events: none;
}
.schuif-bubbel::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--inkt);
}
#wb-maand { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; background: transparent; cursor: pointer; }
#wb-maand::-webkit-slider-runnable-track {
  height: 10px; border-radius: 5px; border: 1px solid var(--inkt);
  background:
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) calc(100% / 3) 0 / 2px 100% no-repeat,
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) calc(200% / 3) 0 / 2px 100% no-repeat,
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) 100% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, var(--terra-cta) calc(var(--frac, 0.3333) * 100%), var(--papier) calc(var(--frac, 0.3333) * 100%));
}
#wb-maand::-webkit-slider-thumb {
  -webkit-appearance: none; width: 34px; height: 34px; margin-top: -13px;
  border-radius: 50%; background: var(--terra-cta); border: 3px solid var(--wit);
  box-shadow: 0 2px 4px rgba(51, 41, 31, 0.35);
}
#wb-maand::-moz-range-track {
  height: 10px; border-radius: 5px; border: 1px solid var(--inkt);
  background:
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) calc(100% / 3) 0 / 2px 100% no-repeat,
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) calc(200% / 3) 0 / 2px 100% no-repeat,
    linear-gradient(rgba(51, 41, 31, 0.45), rgba(51, 41, 31, 0.45)) 100% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, var(--terra-cta) calc(var(--frac, 0.3333) * 100%), var(--papier) calc(var(--frac, 0.3333) * 100%));
}
#wb-maand::-moz-range-thumb {
  width: 34px; height: 34px; border-radius: 50%; background: var(--terra-cta); border: 3px solid var(--wit);
  box-shadow: 0 2px 4px rgba(51, 41, 31, 0.35);
}
#wb-maand:focus-visible { outline: 3px solid var(--inkt); outline-offset: 4px; }
.schuif-as { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--grafiet); margin-bottom: 22px; }

.posten { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 40px; justify-content: start; margin-bottom: 12px; }
.posten dt { font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grafiet); }
.posten dd { font-family: var(--f-kop); font-weight: 600; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.post-groot { font-size: 2.2rem !important; color: var(--terra-cta); }
.schuif-blok.is-bouw .post-groot {
  font-family: var(--f-body); font-size: 1rem !important; font-weight: 700;
  line-height: 1.45; color: var(--grafiet); max-width: 30ch;
}
.vooruitblik { color: var(--olijf-donker); font-weight: 700; min-height: 1.65em; }
.stempel { font-size: 2.4rem; transform: rotate(-3deg); transform-origin: left center; }
.js .stempel:not([hidden]) { animation: stempel 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes stempel { from { transform: scale(1.4) rotate(-8deg); opacity: 0; } to { transform: scale(1) rotate(-3deg); opacity: 1; } }

/* Groeitrap: smalle brugstrook — site → vindbaarheid → campagnes in één regel */
.groeitrap { margin-top: 56px; }
.groeitrap-kop { text-align: center; max-width: 36ch; margin: 0 auto 18px; }
.groei-rij {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 8px 40px;
  padding: 16px 10px;
  border-top: var(--lijn); border-bottom: var(--lijn);
  text-align: center;
}
.groei-rij li { font-size: 0.93rem; color: var(--grafiet); max-width: 36ch; }
.groei-rij strong { font-family: var(--f-kop); font-weight: 600; font-size: 1.02rem; color: var(--inkt); white-space: nowrap; }
.groei-rij a { font-weight: 700; text-underline-offset: 3px; }
.groei-rij a:hover { color: var(--terra-cta-hover); }
.groei-tussen { text-align: center; max-width: 60ch; margin: 18px auto 0; color: var(--grafiet); font-size: 0.98rem; }

/* Het werk */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.case {
  background: var(--wit); border: var(--lijn); border-radius: var(--r-m);
  overflow: hidden; display: block; color: inherit; text-decoration: none;
  box-shadow: var(--schaduw-kaart);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease;
}
a.case { cursor: pointer; }
@media (hover: hover) {
  a.case:hover { transform: translateY(-4px); box-shadow: var(--schaduw-lift); }
}
/* Vaste 8:5-beeldbak: foto's (AVAK, Sams) vullen 'm; de BrokerKompas-SVG (cream-op-cream)
   krijgt zo een zand-achtergrond + naadlijn, zodat alle drie even hoog en even gekaderd ogen */
.case img {
  width: 100%; aspect-ratio: 8/5; object-fit: cover;
  background: var(--zand); border-bottom: var(--lijn);
}
.case-body { padding: 18px 22px 22px; }
.case-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.case-body p { color: var(--grafiet); font-size: 0.93rem; }
/* ↗-pijl op klikbare cases: iets kleiner, hangt met vaste ruimte aan de laatste kop-woord */
.ext { color: var(--terra-cta); font-size: 0.85em; margin-left: 0.15em; white-space: nowrap; }

.logos { margin-top: 48px; text-align: center; }
.logos-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grafiet); margin-bottom: 20px; }
.logos-rij { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center; }
.logo-kaartje {
  position: relative; background: var(--zand); border: var(--lijn); border-radius: var(--r-s);
  padding: 14px 22px 12px; font-weight: 700; font-size: 0.92rem; color: var(--grafiet);
  transform: rotate(-1.5deg);
}
.logo-kaartje:nth-child(even) { transform: rotate(1.5deg); }
.punaise {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--terra-cta);
  box-shadow: 0 1px 2px rgba(51, 41, 31, 0.4);
}
.logo-jij { background: transparent; border: 1.5px dashed var(--terra-cta); color: var(--terra-cta); }

/* Stappen — één afvinkstrook: genummerde bon-vakjes met verbindingslijn */
.stappen-sectie { background: var(--wit); border-top: var(--lijn); border-bottom: var(--lijn); }
.stappen { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.stap { position: relative; }
.stap-nr {
  font-family: var(--f-kop); font-weight: 600; font-size: 1.3rem; line-height: 1;
  width: 36px; height: 36px; border-radius: 3px;
  border: 1.5px solid var(--inkt); background: var(--wit);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.stap:not(:last-child)::before {
  content: ""; position: absolute; top: 18px; left: 46px; right: -18px;
  border-top: 1.5px dashed rgba(51, 41, 31, 0.3);
}
.stap h3 { font-size: 1.02rem; margin-bottom: 6px; }
.stap p { color: var(--grafiet); font-size: 0.92rem; }

/* Over */
.over-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.over-foto { position: relative; transform: rotate(-2deg); justify-self: start; }
.over-foto img {
  background: var(--wit); padding: 14px; border: 1px solid var(--zand);
  box-shadow: 0 12px 32px rgba(51, 41, 31, 0.12);
}
.over-foto figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--grafiet); text-align: center; }
.over-tekst p { color: var(--grafiet); margin-bottom: 16px; max-width: 56ch; }
.over-tekst .btn { margin-top: 8px; }

/* Vragen */
.vragen-inner { max-width: 760px; }
.vragen-sectie { background: var(--wit); border-top: var(--lijn); border-bottom: var(--lijn); }
.vragen-sectie details { background: var(--wit); border: var(--lijn); border-radius: var(--r-m); margin-bottom: 10px; }
.vragen-sectie summary {
  font-family: var(--f-kop); font-weight: 600; font-size: 1.05rem;
  padding: 18px 54px 18px 22px; cursor: pointer; list-style: none; position: relative; min-height: 48px;
  transition: background-color 0.2s ease;
}
.vragen-sectie summary:hover { background: var(--papier); }
.vragen-sectie summary::-webkit-details-marker { display: none; }
/* Indicator als terracotta potloodstreepjes: dicht = schuin plusje, open = één streepje */
.vragen-sectie summary::before,
.vragen-sectie summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 17px; height: 3px;
  border-radius: 2px 3px 2px 3px;
  background: var(--terra-cta);
  transform: translateY(-50%) rotate(-4deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.vragen-sectie summary::before { transform: translateY(-50%) rotate(84deg); }
.vragen-sectie details[open] summary::before { transform: translateY(-50%) rotate(-4deg) scaleX(0); opacity: 0; }
.vragen-sectie details[open] summary::after { transform: translateY(-50%) rotate(-9deg); }
.vragen-sectie details p { padding: 2px 22px 20px; color: var(--grafiet); font-size: 0.98rem; }

/* Contact */
.contact-sectie { background: var(--zand); border-top: var(--lijn); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-tekst > p { color: var(--grafiet); max-width: 46ch; }
.bel-blok { margin-top: 30px; padding-top: 24px; border-top: 1.5px solid rgba(51, 41, 31, 0.25); }
.bel-kop { font-weight: 700; margin-bottom: 14px; }
.bel-blok .btn { margin: 0 10px 10px 0; }
.bel-blok .micro { margin-top: 6px; }

.bon {
  background: var(--wit); border: 2px solid var(--inkt); border-radius: var(--r-s);
  padding: 30px 30px 26px; box-shadow: var(--schaduw-kaart); position: relative;
}
/* Perforatierand: gaatjes in de bon, sectie-achtergrond (zand) schijnt erdoor */
.bon::before {
  content: ""; position: absolute; top: 9px; left: 18px; right: 18px; height: 12px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--zand) 3px, rgba(51, 41, 31, 0.14) 3.6px, rgba(0, 0, 0, 0) 4.2px) 0 0 / 17px 12px repeat-x;
}
.bon-kop { font-family: var(--f-kop); font-weight: 600; font-size: 1.35rem; margin-bottom: 4px; }
.bon-kop:focus-visible { outline: 3px solid var(--inkt); outline-offset: 2px; }
.bon-kop:focus:not(:focus-visible) { outline: none; }
.bon-nr { font-family: var(--f-body); font-weight: 400; font-size: 0.85rem; color: var(--grafiet); }
.bon-status { font-size: 0.92rem; font-weight: 700; color: var(--olijf-donker); min-height: 1.5em; margin-bottom: 12px; }
.veld { margin-bottom: 16px; }
.veld label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.veld-hint { font-weight: 400; color: var(--grafiet); }
.veld input, .veld textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: var(--f-body);
  border: 1.5px solid rgba(51, 41, 31, 0.35); border-radius: var(--r-s);
  background: var(--papier); color: var(--inkt); min-height: 48px;
}
.veld textarea { min-height: 90px; resize: vertical; }
.veld input:focus, .veld textarea:focus { border-color: var(--inkt); background: #fff; }
.veld input:focus-visible, .veld textarea:focus-visible { outline: 3px solid var(--inkt); outline-offset: 2px; }
.veld input:focus:not(:focus-visible), .veld textarea:focus:not(:focus-visible) { outline: none; }
.bon-micro { text-align: center; margin-top: 12px; }
.hp { position: absolute; left: -9999px; }

/* Budget-indicatie (alleen zichtbaar bij campagne-intent) */
.budget-veld { border: 0; padding: 0; margin-bottom: 16px; }
.budget-veld[hidden] { display: none; }
.budget-veld legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; padding: 0; }
.budget-opties { display: flex; flex-wrap: wrap; gap: 8px; }
.budget-veld input { position: absolute; opacity: 0; }
.budget-veld span {
  display: inline-block; padding: 10px 16px; min-height: 44px;
  border: 1.5px solid var(--inkt); border-radius: 999px; background: var(--papier);
  font-size: 0.92rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.budget-veld input:checked + span { background: var(--terra-cta); border-color: var(--terra-cta); color: var(--papier); }
.budget-veld input:focus-visible + span { outline: 3px solid var(--inkt); outline-offset: 2px; }

/* Footer */
.voet { background: var(--inkt); color: #CFC7BA; padding: 44px 0 30px; font-size: 0.92rem; }
.voet a { color: #EDE6D8; text-decoration: none; }
.voet a:hover { color: var(--zand); text-decoration: underline; }
/* Inkt-outline van de globale :focus-visible is onzichtbaar op de inkt-voet */
.voet :focus-visible { outline-color: var(--papier); }
.voet-naam { font-family: var(--f-kop); font-weight: 600; font-size: 1.15rem; color: var(--papier); margin-bottom: 22px; }
.voet-kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 26px; }
.voet-kolommen strong { color: var(--papier); }
.voet-onder { border-top: 1px solid rgba(245, 239, 227, 0.18); padding-top: 18px; color: #A69C8C; }

/* Sticky mobiele balk */
.plakbalk {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 239, 227, 0.97); border-top: var(--lijn);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.plakbalk.is-zichtbaar { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.plak-bel { flex: 2; }
.plak-bon { flex: 3; }

/* Responsief */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-foto { justify-self: center; width: min(78%, 340px); }
  .sectie-kop-rij { grid-template-columns: 1fr; }
  .notitie { transform: rotate(-1deg); max-width: 100%; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .over-grid { grid-template-columns: 1fr; gap: 40px; }
  .over-foto { justify-self: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .sectie { padding: 68px 0; }
  .treden { grid-template-columns: 1fr; }
  .posten { grid-template-columns: 1fr 1fr; }
  /* Groeitrap-brugstrook: items onder elkaar */
  .groei-rij { flex-direction: column; align-items: center; gap: 12px; }
  /* Stappen verticaal: vakjes links, lijn loopt langs de linkerkant door */
  .stappen { grid-template-columns: 1fr; gap: 30px; }
  .stap { padding-left: 54px; }
  .stap-nr { position: absolute; left: 0; top: -2px; margin-bottom: 0; }
  .stap:not(:last-child)::before {
    top: 40px; bottom: -24px; left: 17px; right: auto;
    border-top: 0; border-left: 1.5px dashed rgba(51, 41, 31, 0.3);
  }
}

@media (max-width: 640px) {
  /* Smalle schermen: de nav-CTA kan over twee regels breken en de balk ~72px+ maken;
     ruimere scroll-padding zodat ankerdoelen nooit onder de sticky nav verdwijnen */
  html { scroll-padding-top: 96px; }
  .plakbalk { display: flex; }
  /* Plakbalk-knoppen: nooit over twee tekstregels ("Werkbon aanvragen" paste net niet op 375) */
  .plakbalk .btn { white-space: nowrap; font-size: 0.95rem; padding: 12px 14px; }
  .btn-nav { padding: 9px 14px; font-size: 0.85rem; min-height: 40px; }
  .wb-pakketten { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; }
  .tools { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 48px; }
  .hero-foto, .over-foto { transform: rotate(-1deg); }
  .logo-kaartje, .logo-kaartje:nth-child(even) { transform: rotate(0deg); }
  .ladder { padding: 28px 20px; }
  .posten { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .post-groot { font-size: 1.8rem !important; }
  /* Lange groei-tussenregel: gecentreerd is op smal scherm slecht scanbaar */
  .groei-tussen { text-align: left; }
}

@media (max-width: 480px) {
  .nav-van { display: none; }
  /* Krappere nav zodat logo + knop op één regel passen tot 320px */
  .nav-inner { gap: 14px; padding: 14px 16px; }
  .btn-nav { padding: 9px 12px; font-size: 0.8rem; white-space: nowrap; }
  .nav-logo { font-size: 1.05rem; }
}

@media (max-width: 360px) {
  .plakbalk .btn { font-size: 0.92rem; padding: 12px 12px; }
}

/* Afspraakregel onder de schuif */
.schuif-afspraak { margin-top: 14px; font-size: 0.95rem; color: var(--grafiet); max-width: 56ch; }

/* Overstapservice-blok */
.overstap {
  margin: 44px auto 0; max-width: 720px;
  background: var(--papier); border: var(--lijn); border-radius: var(--r-m);
  padding: 26px 28px;
}
.overstap h3 { font-size: 1.1rem; margin-bottom: 8px; }
.overstap p { color: var(--grafiet); font-size: 0.97rem; }

/* ===== Het grote werk — de machinekamer ===== */
.machinekamer {
  position: relative;
  background: var(--inkt);
  color: var(--papier);
  padding: 110px 0;
}
.machinekamer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: repeating-linear-gradient(-45deg, rgba(245, 239, 227, 0.03) 0 1px, transparent 1px 8px);
}
.machinekamer h2 {
  color: var(--papier);
  max-width: 24ch;
  margin-bottom: 16px;
}
.machinekamer .sectie-intro { color: #CFC7BA; max-width: 58ch; margin-bottom: 44px; }
.machinekamer-definitie { color: #CFC7BA; max-width: 58ch; font-size: 0.98rem; margin: -28px 0 44px; }
.machinekamer :focus-visible { outline-color: var(--papier); }
/* Selectie op het donkere register: staal-op-inkt haalt 6,2:1 (AA), terra haalt dat niet */
.machinekamer ::selection,
.case-pagina ::selection { background: var(--staal); color: var(--inkt); }

.naamplaatje {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--staal);
  background: rgba(154, 174, 184, 0.07);
  border: 1px solid rgba(154, 174, 184, 0.45);
  border-radius: 2px;
  padding: 10px 18px 9px;
  box-shadow: inset 0 1px 0 rgba(245, 239, 227, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  margin-bottom: 26px;
}

.gate-zin {
  max-width: 54ch;
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--terra);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--papier);
  margin-bottom: 22px;
}
.machinekamer-stopregel { max-width: 54ch; color: var(--papier); font-size: 0.98rem; margin-bottom: 22px; }

.leveringen {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(154, 174, 184, 0.28);
  border-radius: 2px;
  margin-bottom: 64px;
}
.levering { padding: 30px 28px 28px; }
.levering + .levering { border-left: 1px solid rgba(154, 174, 184, 0.28); }
.levering-nr {
  display: block;
  font-family: var(--f-kop); font-weight: 600;
  font-size: 1rem; letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  color: var(--staal);
  margin-bottom: 12px;
}
.levering p { color: var(--papier); font-size: 0.96rem; line-height: 1.55; }

.machinekamer-prijs {
  font-family: var(--f-kop); font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--papier);
  margin-bottom: 10px;
}
.machinekamer-prijsregel { color: #CFC7BA; font-size: 0.98rem; max-width: 48ch; margin-bottom: 30px; }

.btn-machinekamer {
  background: var(--papier); color: var(--inkt);
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.btn-machinekamer:hover { background: var(--wit); box-shadow: 0 2px 0 var(--terra); }

/* Coverage-band: geschroefde naamplaten (tegendeel van de geprikte kaartjes) */
.platen-blok { margin-top: 64px; text-align: center; }
.platen-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--staal); margin-bottom: 20px;
}
.platen-rij { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.naamplaat {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60px; min-width: 200px; padding: 12px 36px;
  border-radius: var(--r-s);
  border: 1px solid rgba(245, 239, 227, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(245, 239, 227, 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(172deg, #575B5E 0%, #43474B 55%, #4E5255 100%);
  box-shadow:
    inset 0 1px 0 rgba(245, 239, 227, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.35);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 239, 227, 0.85);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.55), 0 1px 0 rgba(245, 239, 227, 0.1);
}
.naamplaat::before, .naamplaat::after {
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 42%, rgba(15, 12, 9, 0.65) 42% 58%, transparent 58%),
    linear-gradient(135deg, transparent 42%, rgba(15, 12, 9, 0.65) 42% 58%, transparent 58%),
    radial-gradient(circle at 30% 28%, #CFD3D2 0%, #8E9396 45%, #52565A 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.naamplaat::before { top: 7px; left: 7px; }
.naamplaat::after { bottom: 7px; right: 7px; transform: rotate(22deg); }
.naamplaat-leeg { color: transparent; text-shadow: none; }
.plaat-sinds { display: block; font-size: 0.75rem; letter-spacing: 2px; color: rgba(245, 239, 227, 0.85); margin-top: 3px; }
.platen-micro { margin-top: 18px; font-size: 0.9rem; color: #CFC7BA; }

.machinekamer-brug { margin-top: 44px; color: #CFC7BA; font-size: 0.95rem; }
.machinekamer-brug a { color: var(--papier); }

@media (max-width: 920px) {
  .machinekamer { padding: 90px 0; }
  .leveringen { grid-template-columns: 1fr; margin-bottom: 48px; }
  .levering { padding: 24px 22px; }
  .levering + .levering { border-left: 0; border-top: 1px solid rgba(154, 174, 184, 0.28); }
}
@media (max-width: 640px) {
  .naamplaatje { letter-spacing: 2px; }
  /* Verlengde gate-zin (3 zinnen, 2 prijzen): iets compacter zodat het blok op 320 niet 12 regels hoog wordt.
     Niet vet op mobiel: 12 regels bold lezen als een muur — het terra-randje draagt het accent al */
  .gate-zin { font-size: 0.98rem; line-height: 1.55; font-weight: 400; }
  .platen-rij { gap: 10px; }
  .naamplaat { min-width: 0; flex: 0 1 calc(50% - 5px); padding: 12px 12px; font-size: 0.8rem; letter-spacing: 0.05em; }
  .machinekamer .btn-machinekamer { display: block; width: 100%; }
}

/* Prijslijst-sectie: definitie, veld-hint Vindbaarheid en btw-voetregel */
.werkbon-definitie { color: var(--grafiet); max-width: 62ch; margin: -24px 0 40px; }
.bonregel-hint { font-family: var(--f-body); font-size: 0.85rem; font-weight: 400; color: var(--grafiet); }
.bon-btw { font-size: 0.85rem; color: var(--grafiet); max-width: 64ch; margin-top: 14px; }

/* Afkoopladder: juridische voorwaarde-regel, 4e post ("Al opgebouwd") en CTA onder de schuif */
.ladder-voorwaarde { margin: -20px 0 26px; font-size: 0.88rem; color: var(--grafiet); max-width: 62ch; }
@media (min-width: 921px) { .posten { grid-template-columns: repeat(4, auto); } }
.schuif-cta { margin-top: 18px; }

/* Print: browsers printen geen achtergronden — donkere secties (machinekamer, footer)
   krijgen inkt-op-wit, schermelementen (nav, plakbalk) gaan weg, potloodlijnen staan vol getekend */
@media print {
  .nav, .plakbalk { display: none; }
  .machinekamer, .machinekamer *, .voet, .voet * {
    color: var(--inkt) !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  .naamplaat, .leveringen, .levering + .levering { border-color: rgba(51, 41, 31, 0.35); }
  .btn-machinekamer { border: 1.5px solid var(--inkt); }
  .js .sketch path { animation: none !important; stroke-dashoffset: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .sketch path { animation: none !important; stroke-dashoffset: 0; }
  .js .stempel:not([hidden]) { animation: none; }
  .hero-foto, .over-foto, .notitie, .logo-kaartje, .logo-kaartje:nth-child(even), .bon-stempel, .badge { transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Klantcase-link in de Machinekamer */
.machinekamer-case-link { margin-top: 16px; font-size: 0.98rem; }
.machinekamer-case-link a { color: #F5EFE3; text-decoration: underline; text-underline-offset: 3px; }
.machinekamer-case-link a:hover { color: #FFFDF8; }
