/* ==========================================================================
   24SETH KLUS + SOLAR
   Stijl: technisch dossier. Hard afgesneden vlakken, condensed grotesk,
   monospace meetlabels, huisstijlblauw #293F8A en warm zwart #14130F.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --ink:        #14130F;
  --ink-2:      #1E1C17;
  --ink-3:      #2B2822;
  --paper:      #F2EEE5;
  --paper-2:    #E6E1D4;
  --blue:       #293F8A;
  --blue-hi:    #5B78E6;
  --blue-lt:    #9FB0EE;
  --blue-dim:   #1B2A5E;
  --sun:        #F0B429;
  --white:      #FFFFFF;

  --fg:         var(--ink);
  --bg:         var(--paper);
  --hair:       rgba(20, 19, 15, .16);
  --hair-soft:  rgba(20, 19, 15, .08);

  --gut:        clamp(18px, 4.5vw, 56px);
  --rail:       0px;
  --maxw:       1380px;

  /* Radiusschaal. Zacht waar je klikt en kijkt, scherp waar we meten. */
  --r-s:    9px;
  --r-m:    16px;
  --r-l:    26px;
  --r-pill: 999px;

  --f-disp: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, .84, .28, 1);
  --dur:  .5s;
}

@media (min-width: 1180px) { :root { --rail: 54px; } }

/* Donkere secties draaien de tokens om, zodat componenten overal werken. */
.on-ink {
  --fg: var(--paper);
  --bg: var(--ink);
  --hair: rgba(242, 238, 229, .18);
  --hair-soft: rgba(242, 238, 229, .09);
  background: var(--ink);
  color: var(--paper);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100, "wght" 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
}
.on-ink :focus-visible { outline-color: var(--sun); }

/* --- 3. Typografie ------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 76, "wght" 800;
  text-transform: uppercase;
  line-height: .87;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

.d1 { font-size: clamp(2.5rem, 9.2vw, 7.7rem); }
.d2 { font-size: clamp(2rem, 5.9vw, 4.7rem); }
.d3 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }
.d4 { font-size: clamp(1.06rem, 1.8vw, 1.35rem); font-variation-settings: "wdth" 84, "wght" 700; }

/* Kop van een binnenpagina, iets ingetogener dan de hero. */
.d-page { font-size: clamp(2.2rem, 6.4vw, 5.2rem); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.06rem, 1.55vw, 1.3rem);
  line-height: 1.55;
  font-variation-settings: "wdth" 96, "wght" 400;
  max-width: 62ch;
}
.prose { max-width: 68ch; }
.prose p + p { margin-top: 0; }

/* Monospace meetlabel */
.mono {
  font-family: var(--f-mono);
  font-size: .688rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}

.tag {
  font-family: var(--f-mono);
  font-size: .688rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .62em;
  color: var(--blue);
}
.on-ink .tag { color: var(--sun); }
.tag::before {
  content: "";
  width: .5em; height: .5em;
  background: currentColor;
  flex: none;
}

.num {
  font-family: var(--f-mono);
  font-size: .688rem;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--blue);
}
.on-ink .num { color: var(--blue-lt); }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap {
  width: min(100% - (var(--gut) * 2), var(--maxw));
  margin-inline: auto;
}

.shell { padding-left: var(--rail); }

section { position: relative; }
.band { padding-block: clamp(64px, 9vw, 132px); }
.band-sm { padding-block: clamp(44px, 5.5vw, 76px); }

.grid { display: grid; gap: clamp(24px, 3.4vw, 56px); }
.g-12 { grid-template-columns: repeat(12, 1fr); }
@media (max-width: 860px) { .g-12 { grid-template-columns: repeat(6, 1fr); } }

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
@media (max-width: 860px) {
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: 1 / -1; }
}

/* Streepjeslijn met maatverdeling */
.rule {
  height: 1px;
  background: var(--hair);
  position: relative;
  margin-block: clamp(28px, 3.4vw, 52px);
}
.rule::after {
  content: "";
  position: absolute; inset: -3px 0 auto 0;
  height: 7px;
  background-image: linear-gradient(to right, var(--hair) 1px, transparent 1px);
  background-size: 44px 100%;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(30px, 4vw, 58px);
}

/* --- 5. Rails ------------------------------------------------------------ */
.railbar {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--rail);
  border-right: 1px solid rgba(242, 238, 229, .16);
  background: var(--ink);
  color: var(--paper);
  z-index: 70;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
@media (min-width: 1180px) { .railbar { display: flex; } }

.railbar__mark {
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(242, 238, 229, .55);
}
.railbar__ticks {
  flex: 1;
  width: 100%;
  margin-block: 18px;
  background-image: linear-gradient(to bottom, rgba(242, 238, 229, .22) 1px, transparent 1px);
  background-size: 100% 26px;
  position: relative;
}
.railbar__dot {
  position: absolute;
  left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  background: var(--sun);
  top: 0;
  transition: top .18s linear;
}
.railbar__pct {
  writing-mode: vertical-rl;
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .18em;
  color: var(--sun);
}

/* --- 6. Header ----------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: var(--rail); right: 0;
  height: 2px;
  z-index: 95;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: var(--blue-hi);
  transform-origin: left;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(242, 238, 229, .9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--hair);
  transition: padding .3s var(--ease);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  padding-block: 11px;
  transition: padding-block .3s var(--ease);
}
.site-head.is-tight .site-head__in { padding-block: 7px; }

.brand { flex: none; display: block; line-height: 0; }
.brand img {
  height: clamp(40px, 4.8vw, 58px);
  width: auto;
  transition: height .3s var(--ease);
}
.site-head.is-tight .brand img { height: clamp(34px, 4vw, 46px); }

.nav { margin-left: auto; display: none; align-items: center; gap: clamp(10px, 1.5vw, 24px); }
@media (min-width: 1020px) { .nav { display: flex; } }

.nav a {
  font-family: var(--f-mono);
  font-size: .719rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .55em 0;
  position: relative;
  white-space: nowrap;
  color: var(--ink);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: .15em;
  height: 2px;
  background: var(--blue);
  transition: right .34s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { right: 0; }

.head-tel {
  display: none;
  font-family: var(--f-mono);
  font-size: .719rem;
  letter-spacing: .1em;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 1280px) { .head-tel { display: block; } }
.head-tel span { color: var(--blue); }

.head-cta {
  display: none;
  flex: none;
  padding: .82em 1.1em;
  font-size: .688rem;
}
@media (min-width: 1020px) { .head-cta { display: inline-flex; } }

/* Hamburger */
.burger {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 46px; height: 40px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  border-radius: var(--r-pill);
}
@media (min-width: 1020px) { .burger { display: none; } }
.burger i { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .28s var(--ease);
}
.burger i::before { top: -5.5px; }
.burger i::after  { top:  5.5px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] i::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobiel paneel */
.drawer {
  position: fixed;
  inset: 0 0 0 var(--rail);
  background: var(--ink);
  color: var(--paper);
  z-index: 89;
  padding: 96px var(--gut) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer ol { list-style: none; margin: 0; padding: 0; }
.drawer li { border-top: 1px solid rgba(242, 238, 229, .16); }
.drawer li:last-child { border-bottom: 1px solid rgba(242, 238, 229, .16); }
.drawer a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .62em 0;
  text-decoration: none;
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 78, "wght" 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 6.6vw, 2.35rem);
  line-height: 1.05;
}
.drawer a span { font-family: var(--f-mono); font-size: .688rem; color: var(--sun); font-variation-settings: normal; }
.drawer__foot { margin-top: 34px; display: grid; gap: 6px; }
.drawer__foot a { font-family: var(--f-mono); font-size: .82rem; text-transform: none; letter-spacing: .04em; }

/* --- 7. Knoppen ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9em;
  padding: 1.05em 1.5em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: .719rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--r-pill);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--blue);
  transform: translateX(-101%);
  transition: transform .42s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn svg { flex: none; transition: transform .42s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; }
.btn--blue::before { background: var(--ink); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.btn--sun::before { background: var(--ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tekstlink met pijl */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-mono);
  font-size: .719rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .35em;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
}
.on-ink .tlink { color: var(--sun); }
.tlink svg { transition: transform .34s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }

/* --- 8. Hero ------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(46px, 6vw, 84px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(242,238,229,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,238,229,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}
.hero__in { position: relative; }

.hero__title {
  font-size: clamp(2.5rem, 9.9vw, 8.3rem);
  line-height: .82;
  letter-spacing: -.02em;
  font-variation-settings: "wdth" 70, "wght" 800;
}
.hero__title em {
  font-style: normal;
  color: var(--blue-hi);
  display: block;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(242, 238, 229, .16);
  border: 1px solid rgba(242, 238, 229, .16);
  border-radius: var(--r-m);
  overflow: hidden;
  margin-top: clamp(32px, 4vw, 56px);
}
.hero__meta div { background: var(--ink); padding: 18px 20px 20px; }
.hero__meta dt {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(242,238,229,.5); margin-bottom: .5em;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 82, "wght" 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1;
}
.hero__meta dd small { font-size: .58em; opacity: .55; }

/* PV-celraster dat oplicht */
.pvframe {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: var(--r-l);
}
.pvframe > img { width: 100%; height: 100%; object-fit: cover; }
.pvframe__cells {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  pointer-events: none;
}
.pvframe__cells i {
  display: block;
  background: var(--ink);
  opacity: 1;
  transition: opacity .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.pvframe.is-lit .pvframe__cells i { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .pvframe__cells i { transition: none; opacity: 0; }
}
.pvframe__stamp {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .55em .95em;
  border-radius: var(--r-pill);
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--hair);
  overflow: hidden;
  background: var(--bg);
  padding-block: 13px;
  --gap: 3.2rem;
}
.ticker__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: slide 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
@keyframes slide { to { transform: translateX(calc(-50% - (var(--gap) / 2))); } }
.ticker span {
  font-family: var(--f-mono);
  font-size: .719rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
}
.ticker span::after { content: "◆"; font-size: .6em; color: var(--blue); letter-spacing: 0; }
.on-ink .ticker span::after { color: var(--sun); }

/* --- 9. Dienstenlijst ---------------------------------------------------- */
.dlist { border-top: 1px solid var(--hair); }
.dlist__item { border-bottom: 1px solid var(--hair); }
.dlist__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(20px, 2.6vw, 34px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: color .3s var(--ease);
}
.dlist__btn:hover { color: var(--blue); }
.on-ink .dlist__btn:hover { color: var(--blue-lt); }
.dlist__btn h3 {
  font-size: clamp(1.18rem, 2.9vw, 2.1rem);
  font-variation-settings: "wdth" 76, "wght" 700;
}
.dlist__sign {
  width: 36px; height: 36px;
  position: relative;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.dlist__item.is-open .dlist__sign { background: var(--blue); color: #fff; box-shadow: none; }
.dlist__sign::before, .dlist__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.dlist__sign::before { width: 13px; height: 1.5px; }
.dlist__sign::after  { width: 1.5px; height: 13px; }
.dlist__item.is-open .dlist__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.dlist__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.dlist__item.is-open .dlist__panel { grid-template-rows: 1fr; }
.dlist__panel > div { overflow: hidden; }
.dlist__body {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding-bottom: clamp(24px, 3vw, 44px);
}
@media (max-width: 800px) {
  .dlist__body { grid-template-columns: 1fr; }
  .dlist__body > .dlist__spacer { display: none; }
}
.dlist__body ul { margin: 1.1em 0 0; padding: 0; list-style: none; display: grid; gap: .45em; }
.dlist__body li {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  padding-left: 1.5em;
  position: relative;
}
.dlist__body li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: .62em; height: 1px;
  background: var(--blue);
}
.on-ink .dlist__body li::before { background: var(--sun); }
.dlist__shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: var(--r-m);
}
.dlist__shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter .5s var(--ease); }
.dlist__item.is-open .dlist__shot img { filter: none; }

/* --- 10. Statistieken ---------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-m);
  overflow: hidden;
}
.stats > div { background: var(--bg); padding: clamp(20px, 2.6vw, 32px); }
.stats dt {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; opacity: .58; margin-bottom: .9em;
}
.stats dd {
  margin: 0;
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 72, "wght" 800;
  font-size: clamp(2.1rem, 4.3vw, 3.2rem);
  line-height: .84;
  letter-spacing: -.02em;
}
.stats dd small {
  display: block;
  font-size: .21em;
  font-variation-settings: "wdth" 100, "wght" 400;
  letter-spacing: .04em;
  text-transform: none;
  margin-top: 1.2em;
  opacity: .62;
  line-height: 1.45;
}
.stats dd b { color: var(--blue); font-weight: inherit; }
.on-ink .stats dd b { color: var(--sun); }

/* --- 11. Werkwijze ------------------------------------------------------- */
.steps { counter-reset: st; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 54px);
  padding-block: clamp(28px, 3.4vw, 46px);
  border-top: 1px solid var(--hair);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--hair); }
@media (max-width: 780px) { .step { grid-template-columns: 1fr; } }
.step__k { display: flex; align-items: flex-start; gap: 1rem; }
.step__n {
  font-family: var(--f-mono);
  font-size: .719rem;
  font-weight: 600;
  color: var(--blue);
  padding-top: .35em;
  flex: none;
}
.on-ink .step__n { color: var(--sun); }
.step h3 { font-size: clamp(1.15rem, 2.35vw, 1.65rem); }
.step__t { max-width: 58ch; }
.step__t ul { margin: 1em 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.step__t li {
  font-family: var(--f-mono);
  font-size: .656rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42em .85em;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--hair);
}

/* --- 12. Projecten ------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: clamp(22px, 3vw, 38px);
}
.filters button {
  font-family: var(--f-mono);
  font-size: .688rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .68em 1.15em;
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--hair);
  cursor: pointer;
  transition: background .26s var(--ease), color .26s var(--ease), box-shadow .26s var(--ease);
}
.filters button:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.filters button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.filters em { font-style: normal; opacity: .55; margin-left: .5em; }

.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink-2);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-m);
}
.shot.is-tall { aspect-ratio: 3 / 4; }
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.92);
  transform: scale(1.03);
  transition: filter .55s var(--ease), transform .7s var(--ease);
}
.shot:hover img, .shot:focus-visible img { filter: none; transform: scale(1.005); }
.shot__id {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .594rem;
  letter-spacing: .14em;
  padding: .45em .75em;
  border-radius: var(--r-pill);
  z-index: 2;
}
.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4em .9em .8em;
  background: linear-gradient(to top, rgba(20,19,15,.92), transparent);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .656rem;
  letter-spacing: .05em;
  text-align: left;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot[hidden] { display: none; }

/* Lightbox */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(12, 11, 9, .96);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .34s var(--ease), visibility .34s;
}
.lbox.is-open { opacity: 1; visibility: visible; }
.lbox__top, .lbox__bot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .688rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 4px;
}
.lbox__fig { display: grid; place-items: center; min-height: 0; }
.lbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-m); }
.lbox button {
  background: none; border: 0; color: var(--paper); cursor: pointer;
  font-family: var(--f-mono); font-size: .688rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6em 1.05em;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(242,238,229,.28);
  transition: background .24s var(--ease);
}
.lbox button:hover { background: var(--blue); }
.lbox__nav { display: flex; gap: 7px; }

/* --- 13. Calculator ------------------------------------------------------ */
.calc {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-l);
  overflow: hidden;
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc__in, .calc__out { background: var(--bg); padding: clamp(22px, 3vw, 40px); }
.calc__out { background: var(--ink); color: var(--paper); }

.fld { margin-bottom: 26px; }
.fld:last-child { margin-bottom: 0; }
.fld__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .55em; }
.fld label {
  font-family: var(--f-mono); font-size: .688rem; letter-spacing: .14em; text-transform: uppercase;
}
.fld output {
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 80, "wght" 700;
  font-size: 1.28rem;
  color: var(--blue);
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; background: none; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; background: var(--hair); border-radius: var(--r-pill);
}
input[type="range"]::-moz-range-track { height: 4px; background: var(--hair); border-radius: var(--r-pill); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; background: var(--blue);
  margin-top: -8px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(20, 19, 15, .28);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; background: var(--blue);
  border: 3px solid var(--bg); border-radius: 50%;
  box-shadow: 0 1px 6px rgba(20, 19, 15, .28);
}

.seg { display: flex; flex-wrap: wrap; gap: 5px; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label {
  font-family: var(--f-mono); font-size: .656rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .62em .95em; cursor: pointer;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .24s var(--ease), color .24s var(--ease);
}
.seg input:checked + label { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }
.seg input:focus-visible + label { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

.readout { border-top: 1px solid rgba(242,238,229,.18); padding-top: 18px; margin-top: 18px; }
.readout:first-child { border: 0; padding-top: 0; margin-top: 0; }
.readout dt {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(242,238,229,.55); margin-bottom: .45em;
}
.readout dd {
  margin: 0;
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 72, "wght" 800;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: .88;
  letter-spacing: -.02em;
}
.readout dd u { text-decoration: none; font-size: .32em; opacity: .55; margin-left: .4em; letter-spacing: .06em; }
.readout--sun dd { color: var(--sun); }

.chart { margin-top: 26px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart rect { fill: var(--blue-hi); transition: height .5s var(--ease), y .5s var(--ease); }
.chart text { font-family: var(--f-mono); font-size: 7px; fill: rgba(242,238,229,.5); letter-spacing: .06em; }

.disclaim {
  font-family: var(--f-mono); font-size: .656rem; line-height: 1.6; letter-spacing: .03em;
  color: rgba(242,238,229,.5); margin-top: 20px;
}

/* --- 14. Formulier ------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--f-mono); font-size: .688rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .55em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85em 1em;
  background: transparent;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--hair);
  border-radius: var(--r-s);
  font-size: .95rem;
  transition: box-shadow .24s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--blue);
}
.field textarea { resize: vertical; min-height: 132px; }
.field small { display: block; margin-top: .5em; font-family: var(--f-mono); font-size: .625rem; opacity: .55; }

.formnote {
  padding: 16px 20px;
  background: var(--paper-2);
  border-radius: var(--r-s);
  font-family: var(--f-mono);
  font-size: .688rem;
  line-height: 1.65;
  letter-spacing: .02em;
}
.on-ink .formnote { background: var(--ink-3); }

/* --- 15. Contactblok ----------------------------------------------------- */
.spec { border-top: 1px solid var(--hair); }
.spec > div {
  display: grid;
  grid-template-columns: minmax(110px, .34fr) 1fr;
  gap: 1rem;
  padding: .95em 0;
  border-bottom: 1px solid var(--hair);
}
.spec dt {
  font-family: var(--f-mono); font-size: .656rem; letter-spacing: .16em;
  text-transform: uppercase; opacity: .58;
}
.spec dd { margin: 0; font-size: .95rem; }
.spec dd a { text-decoration: none; box-shadow: inset 0 -1px 0 var(--hair); }
.spec dd a:hover { box-shadow: inset 0 -1px 0 var(--blue); color: var(--blue); }

/* --- 16. Specificatietabel ----------------------------------------------- */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--hair);
  border-radius: var(--r-m);
}
table.spectable { width: 100%; border-collapse: collapse; min-width: 620px; }
.spectable th, .spectable td {
  padding: .82em 1em;
  text-align: right;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: .75rem;
  white-space: nowrap;
}
.spectable th:first-child, .spectable td:first-child { text-align: left; white-space: normal; }
.spectable thead th {
  background: var(--ink);
  color: var(--paper);
  font-size: .656rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: sticky; top: 0;
}
.spectable tbody tr:hover td { background: var(--paper-2); }
.spectable td.hi { color: var(--blue); font-weight: 600; }

/* --- 17. Kaarten (hard) -------------------------------------------------- */
.slab {
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--hair);
  padding: clamp(22px, 2.8vw, 36px);
  border-radius: var(--r-m);
  height: 100%;
}
.slab--ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.slab--blue { background: var(--blue); color: #fff; box-shadow: none; }
.slab h3 { margin-bottom: .6em; }
.slab .num { display: block; margin-bottom: 1.4em; }

.duo { position: relative; overflow: hidden; border-radius: var(--r-l); }
.duo img { width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.duo:hover img { filter: none; }
.figcap {
  font-family: var(--f-mono);
  font-size: .656rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .6;
  margin-top: .85em;
  display: block;
}

/* --- 18. Uitgelicht citaat ----------------------------------------------- */
.pull {
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 84, "wght" 600;
  font-size: clamp(1.15rem, 2.5vw, 1.85rem);
  line-height: 1.14;
  text-transform: none;
  letter-spacing: -.01em;
  max-width: 24ch;
}
.pull span { color: var(--blue); }
.on-ink .pull span { color: var(--sun); }

/* --- 19. CTA-band -------------------------------------------------------- */
.cta {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 13px);
}
.cta__in { position: relative; }
.cta h2 { color: #fff; }
.cta .btn { --btn-bg: var(--ink); --btn-fg: #fff; }
.cta .btn::before { background: #fff; }
.cta .btn:hover { color: var(--ink); }

/* --- 20. Footer ---------------------------------------------------------- */
.foot { background: var(--ink); color: var(--paper); }
.foot a { text-decoration: none; }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(44px, 5vw, 76px);
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }
.foot .foot__kop {
  font-family: var(--f-mono);
  font-variation-settings: normal;
  font-weight: 500;
  font-size: .625rem;
  letter-spacing: .2em;
  color: rgba(242,238,229,.5);
  margin-bottom: 1.3em;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.foot ul a { font-size: .9rem; opacity: .86; }
.foot ul a:hover { color: var(--sun); opacity: 1; }
.foot__logo img { height: 66px; width: auto; margin-bottom: 1.3em; }

.foot__word {
  font-family: var(--f-disp);
  font-variation-settings: "wdth" 62, "wght" 800;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 14.5vw, 12.4rem);
  line-height: .78;
  letter-spacing: -.02em;
  color: rgba(242, 238, 229, .085);
  padding-bottom: .04em;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.foot__base {
  border-top: 1px solid rgba(242,238,229,.16);
  padding-block: 18px 22px;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-family: var(--f-mono); font-size: .656rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(242,238,229,.5);
}

/* --- 21. Zwevende acties ------------------------------------------------- */
.dock {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dock a, .dock button {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(20, 19, 15, .22);
  transition: background .26s var(--ease), color .26s var(--ease), transform .26s var(--ease);
}
.dock a:hover, .dock button:hover { transform: translateY(-2px); }
.dock a:hover, .dock button:hover { background: var(--sun); color: var(--ink); }
.dock .is-wa { background: var(--blue); color: #fff; }
.dock .is-wa:hover { background: var(--sun); color: var(--ink); }
.dock button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

/* Blauwdrukraster */
.blueprint {
  position: fixed; inset: 0;
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
  background-image:
    linear-gradient(to right, rgba(41,63,138,.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(41,63,138,.5) 1px, transparent 1px),
    linear-gradient(to right, rgba(41,63,138,.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(41,63,138,.18) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
body.grid-on .blueprint { opacity: 1; }

/* --- 22. Reveal ---------------------------------------------------------- */
/* Zonder JS blijft alles gewoon zichtbaar: de .js klasse wordt in de head gezet. */
.js .rv { opacity: 0; transform: translateY(22px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .72s var(--ease), transform .72s var(--ease);
  transition-delay: var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
}

/* --- 23. Hulpklassen ----------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 1em 1.4em; z-index: 200;
  font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em;
}
.skip:focus { left: var(--rail); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.mt-s { margin-top: 1.2rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(2.4rem, 4vw, 4rem); }
.tr { text-align: right; }
.nowrap { white-space: nowrap; }

.pagehead {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(44px, 5.5vw, 84px);
  padding-bottom: clamp(34px, 4.4vw, 62px);
  position: relative;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(242,238,229,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,238,229,.045) 1px, transparent 1px);
  background-size: 68px 68px;
}
.pagehead__in { position: relative; }
.crumbs {
  font-family: var(--f-mono); font-size: .656rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(242,238,229,.5); margin-bottom: clamp(20px, 3vw, 40px);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.crumbs span { margin-inline: .6em; }

@media print {
  .site-head, .railbar, .dock, .drawer, .progress, .blueprint, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
  .shell { padding-left: 0; }
}
