/* =========================================================================
   Comfort Bouw & Techniek — Verduurzaming
   Design-systeem + secties
   ========================================================================= */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin.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: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0a1220;
  --ink-2: #0e1829;
  --ink-3: #142135;
  --ink-4: #1b2b44;
  --navy: #142f54;
  --navy-2: #1f4476;
  --navy-3: #2d5c98;
  --green: #6cb33f;
  --green-2: #86c95a;
  --green-3: #b9e292;
  --green-deep: #3b7636;
  --bone: #efefea;
  --bone-2: #e4e5de;
  --bone-3: #d4d6cc;
  --paper: #f8f8f4;
  --text-d: #eef0ea;
  --muted-d: #9aa5b6;
  --line-d: rgba(238, 240, 234, 0.12);
  --line-d2: rgba(238, 240, 234, 0.2);
  --text-l: #0a1220;
  --muted-l: #535d6e;
  --line-l: rgba(10, 18, 32, 0.12);
  --heat: #f07b3f;
  --cold: #4f98f5;
  --sun: #f6c343;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3, .h4 {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(44px, 6.2vw, 96px); line-height: 0.93; }
.h1 { font-size: clamp(40px, 6vw, 86px); line-height: 0.95; }
.h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 0.98; }
.h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; }
.h4 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; font-stretch: 112%; font-weight: 700; }
/* smalle telefoons: koppen schalen mee, zodat lange Nederlandse woorden op één regel passen */
@media (max-width: 420px) {
  .display { font-size: min(44px, 11.7vw); }
  .h1 { font-size: min(40px, 10.6vw); }
  .h2 { font-size: min(34px, 9.4vw); }
  .h1--long { font-size: min(40px, 8.6vw); }
  .display, .h1, .h2, .h3 { overflow-wrap: break-word; }
}
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted-d); max-width: 46ch; }
.section--bone .lead, .on-light .lead { color: var(--muted-l); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-2);
}
.section--bone .eyebrow { color: var(--green-deep); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0; }
.muted { color: var(--muted-d); }
.section--bone .muted { color: var(--muted-l); }
.accent { color: var(--green-2); }
.section--bone .accent { color: var(--green-deep); }

/* ---------- Knoppen ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 5px; border: 1px solid var(--b);
  font-weight: 650; font-size: 15px; line-height: 1.1; letter-spacing: 0.005em;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--ink); --b: var(--green); }
.btn--primary:hover { background: var(--green-2); --b: var(--green-2); box-shadow: 0 10px 30px -10px rgba(108, 179, 63, 0.6); }
.btn--ghost { --b: var(--line-d2); color: var(--text-d); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { --b: rgba(238, 240, 234, 0.55); background: rgba(255, 255, 255, 0.06); }
.section--bone .btn--ghost, .on-light .btn--ghost { --b: rgba(10, 18, 32, 0.22); color: var(--text-l); background: transparent; }
.section--bone .btn--ghost:hover, .on-light .btn--ghost:hover { --b: var(--text-l); background: rgba(10, 18, 32, 0.04); }
.btn--dark { background: var(--ink); color: var(--text-d); --b: var(--ink); }
.btn--dark:hover { background: var(--navy); --b: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-2); border-bottom: 1px solid transparent; transition: border-color 0.2s, gap 0.25s var(--ease); }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.section--bone .link-arrow { color: var(--green-deep); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid, .site-header.menu-open {
  background: rgba(10, 18, 32, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line-d);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { height: 46px; width: auto; }
.brand__word { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 6px;
  font-size: 15px; font-weight: 500; color: rgba(238, 240, 234, 0.86);
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded='true'] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.site-header .btn { margin-left: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 8px; margin-left: auto; position: relative; border: 1px solid var(--line-d2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text-d); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mega-menu */
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: rgba(10, 18, 32, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-d);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 32px; padding: 34px 0 40px; }
.mega__col h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-2); font-weight: 700; }
.mega__item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 10px; transition: background-color 0.2s; }
.mega__item:hover { background: rgba(255, 255, 255, 0.05); }
.mega__item svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(108, 179, 63, 0.12); color: var(--green-2); }
.mega__item strong { display: block; font-size: 15px; font-weight: 650; }
.mega__item span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted-d); }
.mega__cta { border-radius: var(--radius); padding: 24px; background: linear-gradient(160deg, var(--navy) 0%, var(--ink-3) 100%); border: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 14px; }
.mega__cta p { margin: 0; color: var(--muted-d); font-size: 14.5px; }

/* Mobiel menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  padding: 18px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu h3 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-2); margin: 22px 0 6px; }
.mobile-menu a:not(.btn) { display: block; padding: 11px 0; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line-d); }
.mobile-menu .btn { margin-top: 26px; width: 100%; }

@media (max-width: 1080px) {
  .nav, .site-header .btn--header, .mega { display: none; }
  .burger { display: block; }
  .brand__mark { height: 40px; } .brand__word { height: 30px; }
}

/* ---------- Secties ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 148px) 0; }
.section--dark { background: var(--ink); color: var(--text-d); }
.section--dark2 { background: var(--ink-2); color: var(--text-d); }
.section--navy { background: var(--ink-3); color: var(--text-d); }
.section--bone { background: var(--bone); color: var(--text-l); }
.section__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head .lead { justify-self: end; }
.section__head--stack { grid-template-columns: 1fr; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; gap: 20px; } .section__head .lead { justify-self: start; } }
.grid-lines {
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Reveal-animaties */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; } .reveal-delay-2 { transition-delay: 0.16s; } .reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding-top: var(--header-h);
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 700px at 72% 52%, rgba(31, 68, 118, 0.55), transparent 60%),
    radial-gradient(700px 500px at 80% 85%, rgba(108, 179, 63, 0.16), transparent 70%),
    linear-gradient(180deg, #0b1424 0%, var(--ink) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 600px at 70% 55%, #000 0%, transparent 75%);
  mask-image: radial-gradient(900px 600px at 70% 55%, #000 0%, transparent 75%);
  opacity: 0.55;
}
.hero__grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 0; }
.hero__copy { position: relative; z-index: 3; padding: clamp(22px, 3.5vh, 56px) 0 22px; }
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero h1 .hl { color: var(--green-2); position: relative; }
.hero__sub { margin: 22px 0 28px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted-d); max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; align-self: stretch; min-height: 560px; margin-right: calc(var(--gutter) * -1); }
.hero__canvas { position: absolute; inset: -30px 0 0 -6%; }
.hero__canvas canvas { width: 100%; height: 100%; touch-action: pan-y; }
.page-hero .hero__canvas { inset: -20px 0 0 0; }
.hero__canvas {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%), linear-gradient(0deg, transparent 0, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%), linear-gradient(0deg, transparent 0, #000 10%);
  mask-composite: intersect;
}
/* smalle schermen: een verloop eroverheen i.p.v. een masker op het bewegende canvas (veel lichter voor de GPU) */
@media (max-width: 1080px) {
  .hero__canvas { -webkit-mask-image: none; mask-image: none; }
  .hero__visual::after { content: ''; position: absolute; inset: auto 0 0 0; height: 12%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, var(--ink), rgba(10, 18, 32, 0)); }
}
.anno-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__fig {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 3;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted-d); letter-spacing: 0.02em;
}
.hero__fig b { color: var(--green-2); font-weight: 500; }
.hero__toggle {
  position: absolute; right: var(--gutter); top: 26px; z-index: 4;
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(14, 24, 41, 0.72); border: 1px solid var(--line-d2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__toggle button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted-d); transition: color 0.2s, background-color 0.25s; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.hero__toggle button[aria-pressed='true'] { background: var(--green); color: var(--ink); }
.hero__toggle svg { width: 15px; height: 15px; }

/* Klok-widget (installatiedag) */
.dayclock {
  margin-top: 26px; padding-left: 18px; border-left: 1px solid rgba(108, 179, 63, 0.55);
  max-width: 420px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: end;
}
.dayclock__label { grid-column: 1 / -1; font-size: 13px; color: var(--muted-d); margin-bottom: 4px; }
.dayclock__time { grid-row: 2 / span 3; font-stretch: 125%; font-weight: 800; font-size: clamp(38px, 3.6vw, 52px); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.dayclock__bar { position: relative; height: 2px; background: var(--line-d2); border-radius: 2px; align-self: center; }
.dayclock__bar i { position: absolute; inset: 0; background: var(--green); border-radius: 2px; box-shadow: 0 0 12px rgba(108, 179, 63, 0.8); transform: scaleX(0); transform-origin: left; }
.dayclock__ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-d); margin-top: 6px; font-variant-numeric: tabular-nums; }
.dayclock__msg { grid-column: 2; grid-row: 2; font-size: 14px; font-weight: 600; min-height: 1.4em; transition: opacity 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dayclock__ends { grid-column: 2; }
.dayclock__bar { grid-column: 2; }

.hero__stats { position: relative; z-index: 3; border-top: 1px solid var(--line-d); }
.hero__stats ul { list-style: none; margin: 0; padding: 16px 0 18px; display: flex; flex-wrap: wrap; gap: 14px 42px; font-size: 14px; color: var(--muted-d); }
.hero__stats li { display: flex; align-items: center; gap: 10px; }
.hero__stats li b { color: var(--text-d); font-weight: 650; }
.hero__stats svg { width: 18px; height: 18px; color: var(--green-2); flex: none; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual { min-height: 64vh; margin: 0 calc(var(--gutter) * -1); order: 2; }
  .hero__canvas { inset: 0; }
  .hero__toggle { top: 4px; bottom: auto; right: 50%; transform: translateX(50%); }
  .hero__fig { right: 50%; transform: translateX(50%); bottom: 16px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .hero__visual { min-height: 58vh; }
  .hero__stats ul { gap: 10px 22px; font-size: 13px; }
  .dayclock { display: none; }
}

/* ---------- Annotaties (labels in 3D) ---------- */
.anno-lines { position: absolute; inset: 0; overflow: visible; }
.anno-line { fill: none; stroke: rgba(238, 240, 234, 0.55); stroke-width: 1; transition: opacity 0.4s; }
.anno-line--accent { stroke: var(--green-2); stroke-width: 1.25; opacity: 0.9; }
.anno-dot { fill: var(--green-2); transition: opacity 0.4s; }
.anno-ring { fill: none; stroke: var(--green-2); stroke-width: 1; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: anno-pulse 2.4s ease-out infinite; }
@keyframes anno-pulse { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
.anno-line.is-hidden, .anno-dot.is-hidden, .anno-ring.is-hidden { opacity: 0; animation: none; }
.anno {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; gap: 1px;
  padding: 7px 11px 8px; border-radius: 6px;
  background: rgba(10, 18, 32, 0.74); border: 1px solid var(--line-d2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); white-space: nowrap;
  transition: opacity 0.45s var(--ease);
  will-change: transform;
}
.anno.is-hidden { opacity: 0; }
.anno__k { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-2); }
.anno__v { font-size: 12.5px; color: var(--text-d); font-variant-numeric: tabular-nums; }
.on-light .anno { background: rgba(255, 255, 255, 0.82); border-color: var(--line-l); }
.on-light .anno__v { color: var(--text-l); }
.on-light .anno__k { color: var(--green-deep); }
.on-light .anno-line { stroke: rgba(10, 18, 32, 0.45); }
@media (max-width: 560px) { .anno { padding: 5px 8px 6px; } .anno__k { font-size: 9.5px; } .anno__v { font-size: 11px; } }

/* ---------- Diensten ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.services__col { display: flex; flex-direction: column; }
.services__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 0 16px; border-bottom: 2px solid var(--text-l); margin-bottom: 8px; }
.services__label h3 { margin: 0; font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.services__label span { font-size: 13px; color: var(--muted-l); white-space: nowrap; }
@media (max-width: 1200px) { .services__label h3 { font-size: 22px; } .services__label span { display: none; } }
.svc {
  position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start;
  padding: 22px 6px 22px 0; border-bottom: 1px solid var(--line-l);
  transition: padding 0.35s var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 0 -14px; border-radius: 12px; background: #fff; opacity: 0; transform: scale(0.98); transition: opacity 0.3s var(--ease), transform 0.35s var(--ease); z-index: 0; box-shadow: 0 20px 40px -24px rgba(10, 18, 32, 0.35); }
.svc:hover::before { opacity: 1; transform: none; }
.svc > * { position: relative; z-index: 1; }
.svc__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--green-2); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.svc:hover .svc__icon { background: var(--green); color: var(--ink); transform: rotate(-6deg); }
.svc__icon svg { width: 28px; height: 28px; }
.svc h4 { margin: 2px 0 4px; font-size: 19px; font-stretch: 112%; font-weight: 750; letter-spacing: -0.005em; }
.svc p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted-l); }
.svc__price { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.svc__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease); margin-top: 6px; }
.svc__arrow svg { width: 15px; height: 15px; }
.svc:hover .svc__arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Installatiedag (sticky klok) ---------- */
.dayline { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.dayline__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.dayline__clock { font-stretch: 125%; font-weight: 800; font-size: clamp(84px, 13vw, 196px); line-height: 0.85; letter-spacing: -0.02em; margin: 16px 0 26px; font-variant-numeric: tabular-nums; }
.dayline__clock span { display: inline-block; }
.dayline__intro { max-width: 34ch; color: var(--muted-l); font-size: 17px; }
.dayline__progress { margin-top: 34px; max-width: 360px; }
.dayline__list { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; }
.dayline__list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--bone-3); }
.dayline__fill { position: absolute; left: 7px; top: 8px; width: 2px; margin-left: -0.5px; background: var(--green); height: calc(100% - 16px); transform: scaleY(0); transform-origin: top; transition: transform 0.2s linear; border-radius: 2px; }
.dayline__item { position: relative; padding: 0 0 clamp(56px, 9vh, 104px); opacity: 0.4; transition: opacity 0.4s var(--ease); }
.dayline__item:last-child { padding-bottom: 0; }
.dayline__item.is-active, .dayline__item.is-past { opacity: 1; }
.dayline__item::before { content: ''; position: absolute; left: -38px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bone); border: 2px solid var(--bone-3); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.dayline__item.is-active::before, .dayline__item.is-past::before { background: var(--green); border-color: var(--green); }
.dayline__item.is-active::before { box-shadow: 0 0 0 6px rgba(108, 179, 63, 0.2); }
.dayline__time { font-size: 13px; font-weight: 700; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.dayline__item h3 { margin: 6px 0 10px; font-stretch: 125%; font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.01em; }
.dayline__item p { margin: 0; color: var(--muted-l); max-width: 46ch; }
@media (max-width: 860px) { .dayline { grid-template-columns: 1fr; } .dayline__sticky { position: relative; top: 0; } }

/* ---------- Werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 8px; }
.step { border-top: 2px solid var(--text-l); padding-top: 22px; }
.step__n { font-size: 13px; font-weight: 600; color: var(--green-deep); }
.step h3 { margin: 10px 0 10px; font-size: 20px; font-stretch: 112%; font-weight: 750; }
.step p { margin: 0 0 14px; color: var(--muted-l); font-size: 15px; }
.step__meta { font-size: 13px; font-weight: 650; display: inline-flex; gap: 8px; align-items: center; }
.step__meta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Scroll-verhaal (stages) ---------- */
.story { position: relative; background: var(--ink); }
.story__track { position: relative; }
.story__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story__canvas { position: absolute; inset: 0; }
.story__canvas::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 640px at 62% 52%, rgba(31, 68, 118, 0.5), transparent 70%);
}
.story__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__ui { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.story__head { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 28px); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; }
.story__head .eyebrow { pointer-events: auto; }
.story__count { font-family: var(--mono); font-size: 13px; color: var(--muted-d); }
.story__count b { color: var(--text-d); font-weight: 500; }
.story__cards { position: absolute; left: var(--gutter); bottom: clamp(36px, 8vh, 90px); width: min(460px, calc(100% - var(--gutter) * 2)); height: 330px; }
.story__card {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 26px 24px; border-radius: var(--radius);
  background: rgba(10, 18, 32, 0.78); border: 1px solid var(--line-d2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.story__card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__stage { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--green-2); text-transform: uppercase; }
.story__card h3 { margin: 10px 0 10px; font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.01em; }
.story__card p { margin: 0 0 16px; color: var(--muted-d); font-size: 15.5px; }
.story__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.story__facts span { font-family: var(--mono); font-size: 12px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-d2); color: var(--text-d); }
.story__progress { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; pointer-events: auto; }
.story__progress button { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-size: 12px; color: var(--muted-d); font-family: var(--mono); }
.story__progress button i { width: 22px; height: 2px; background: var(--line-d2); border-radius: 2px; transition: width 0.35s var(--ease), background-color 0.3s; }
.story__progress button span { opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.35s var(--ease); }
.story__progress button.is-active i { width: 44px; background: var(--green); }
.story__progress button.is-active span, .story__progress button:hover span { opacity: 1; transform: none; color: var(--text-d); }
.story__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted-d); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.story__hint i { width: 1px; height: 26px; background: linear-gradient(var(--green), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@media (max-width: 860px) {
  .story__progress, .story__hint { display: none; }
  /* kop leesbaar houden boven het model: zacht verloop onder de header */
  .story__pin::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 170px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--ink) 45%, rgba(10, 18, 32, 0)); }
  .story__cards { height: 300px; bottom: 24px; }
  .story__card { padding: 20px; }
  .story__card p { font-size: 14.5px; }
}

/* ---------- Systemen vergelijken (accordeon) ---------- */
.systems { display: flex; gap: 10px; height: clamp(460px, 62vh, 600px); }
.sys {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-d);
  background: var(--ink-3); cursor: pointer;
  transition: flex-grow 0.7s var(--ease), border-color 0.3s;
}
.sys.is-open { flex-grow: 4.2; border-color: var(--line-d2); cursor: default; }
.sys__art { position: absolute; inset: 0; }
.sys__art svg { width: 100%; height: 100%; }
.sys__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, 0) 30%, rgba(10, 18, 32, 0.92) 100%); }
.sys__tab { position: absolute; left: 50%; top: 22px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 14px; font-weight: 650; white-space: nowrap; transition: opacity 0.3s; letter-spacing: 0.01em; }
.sys.is-open .sys__tab { opacity: 0; }
.sys__body { position: absolute; inset: auto 0 0 0; padding: 28px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s; min-width: 360px; }
.sys.is-open .sys__body { opacity: 1; transform: none; }
.sys__body h3 { margin: 0 0 8px; font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.sys__body p { margin: 0 0 18px; color: var(--muted-d); max-width: 44ch; font-size: 15px; }
.sys__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 28px; justify-content: start; margin-bottom: 18px; }
.sys__facts dt { font-size: 12px; color: var(--muted-d); }
.sys__facts dd { margin: 0; font-weight: 700; font-size: 15px; }
.sys__facts dd.accent { color: var(--green-2); }
.systems-note { margin-top: 18px; font-size: 13px; color: var(--muted-d); max-width: 90ch; }
@media (max-width: 900px) {
  .systems { flex-direction: column; height: auto; }
  .sys { flex: none; height: 74px; transition: height 0.45s var(--ease); }
  .sys.is-open { height: 430px; }
  .sys__art { bottom: auto; height: 430px; opacity: 0; transition: opacity 0.35s var(--ease); } /* vaste hoogte: de illustratie hoeft tijdens het openklappen niet steeds opnieuw getekend te worden */
  .sys.is-open .sys__art { opacity: 1; }
  .sys__shade { background: linear-gradient(180deg, rgba(10, 18, 32, 0) 12%, rgba(10, 18, 32, 0.86) 42%, rgba(10, 18, 32, 0.97) 100%); }
  .sys__tab { writing-mode: horizontal-tb; transform: none; left: 22px; top: 25px; }
  .sys__body { min-width: 0; padding: 22px; }
}

/* ---------- Besparingscalculator ---------- */
.calc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 40px 80px -50px rgba(10, 18, 32, 0.5); border: 1px solid var(--line-l); }
.calc__in { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.calc__out { padding: clamp(24px, 3vw, 40px); background: var(--ink); color: var(--text-d); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.calc__out::after { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 179, 63, 0.28), transparent 70%); pointer-events: none; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; font-size: 15px; margin-bottom: 10px; }
.field-label output, .field-label .val { font-stretch: 112%; font-weight: 750; font-variant-numeric: tabular-nums; }
.field-hint { font-size: 12.5px; color: var(--muted-l); margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 14px; font-weight: 550; background: #fff; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.pill:hover { border-color: rgba(10, 18, 32, 0.4); }
.pill[aria-pressed='true'], .pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tcard { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px; border: 1px solid var(--line-l); text-align: left; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.tcard:hover { border-color: rgba(10, 18, 32, 0.35); }
.tcard[aria-pressed='true'] { border-color: var(--green-deep); background: #f3f8ee; box-shadow: inset 0 0 0 1px var(--green-deep); }
.tcard i { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(10, 18, 32, 0.35); display: grid; place-items: center; margin-top: 1px; transition: background-color 0.2s, border-color 0.2s; }
.tcard[aria-pressed='true'] i { background: var(--green-deep); border-color: var(--green-deep); }
.tcard i::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.tcard[aria-pressed='true'] i::after { opacity: 1; }
.tcard strong { display: block; font-size: 14.5px; }
.tcard small { display: block; font-size: 12.5px; color: var(--muted-l); line-height: 1.4; }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; --p: 50%; --track: rgba(10, 18, 32, 0.15); --fill: var(--ink); --thumb: var(--ink); }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--fill) var(--p), var(--track) var(--p)); }
.range::-moz-range-track { height: 3px; border-radius: 3px; background: var(--track); }
.range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--fill); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--thumb); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--fill), 0 4px 12px rgba(0, 0, 0, 0.25); margin-top: -9.5px; transition: transform 0.2s; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--thumb); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--fill); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-l); margin-top: 2px; }
.calc__big { font-stretch: 125%; font-weight: 800; font-size: clamp(48px, 5.4vw, 76px); line-height: 0.95; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.calc__big small { display: block; font-size: 15px; font-stretch: 100%; font-weight: 500; color: var(--muted-d); letter-spacing: 0; margin-top: 10px; }
.calc__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 10px; overflow: hidden; }
.calc__kpis div { background: var(--ink); padding: 14px 16px; }
.calc__kpis dt { font-size: 12px; color: var(--muted-d); }
.calc__kpis dd { margin: 3px 0 0; font-weight: 750; font-size: 20px; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 10px; }
.bars__row { display: grid; grid-template-columns: 64px 1fr 86px; align-items: center; gap: 12px; font-size: 13px; }
.bars__row b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.bars__track { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); display: flex; overflow: hidden; }
.bars__track i { height: 100%; transition: width 0.7s var(--ease); }
.bars__track i.gas { background: var(--heat); }
.bars__track i.el { background: var(--cold); }
.bars__track i.sun { background: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted-d); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.calc__note { font-size: 12px; color: var(--muted-d); line-height: 1.5; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .toggles { grid-template-columns: 1fr; } }

/* ---------- Eén aanspreekpunt ---------- */
.one { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.one__num { font-stretch: 125%; font-weight: 800; font-size: clamp(260px, 36vw, 520px); line-height: 0.75; color: transparent; -webkit-text-stroke: 2px var(--green-deep); letter-spacing: -0.04em; user-select: none; }
.one__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.one__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-l); }
.one__list li:last-child { border-bottom: 1px solid var(--line-l); }
.one__list svg { width: 26px; height: 26px; color: var(--green-deep); }
.one__list strong { display: block; font-size: 16.5px; }
.one__list span { color: var(--muted-l); font-size: 14.5px; }
@media (max-width: 860px) { .one { grid-template-columns: 1fr; } .one__num { font-size: clamp(150px, 60vw, 240px); } }
/* rasters mogen nooit breder worden dan het scherm (anders schuift de pagina op telefoons opzij) */
.one > *, .faq > *, .split > *, .dayline > *, .cta__inner > *, .services > *, .calc > *, .steps > *, .footer__grid > * { min-width: 0; }

/* ---------- Werkgebied ---------- */
.area { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.area__map { position: relative; aspect-ratio: 0.86; max-height: 640px; width: 100%; }
.area__map svg { width: 100%; height: 100%; }
.area__map .dot { fill: rgba(238, 240, 234, 0.18); }
.area__map .dot.is-on { fill: var(--green); }
.area__map .ping { fill: none; stroke: var(--green-2); stroke-width: 1.5; }
.area__map .city { fill: var(--green-2); }
.area__map svg { overflow: visible; }
.area__map .city-label { fill: var(--muted-d); font-size: 9.5px; font-family: var(--mono); paint-order: stroke; stroke: var(--ink-3); stroke-width: 3px; stroke-linejoin: round; }
.pc-form { display: flex; gap: 10px; margin: 30px 0 14px; max-width: 460px; }
.pc-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line-d2); background: rgba(255, 255, 255, 0.04); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-form input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted-d); }
.pc-form input:focus { outline: none; border-color: var(--green-2); background: rgba(255, 255, 255, 0.07); }
.pc-result { min-height: 52px; font-size: 15.5px; max-width: 46ch; }
.pc-result strong { color: var(--green-2); }
.area__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 12px; overflow: hidden; margin-top: 30px; }
.area__facts div { background: var(--ink-3); padding: 18px; }
.area__facts b { display: block; font-stretch: 125%; font-weight: 800; font-size: 26px; }
.area__facts span { font-size: 13px; color: var(--muted-d); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } .area__map { max-width: 520px; margin: 0 auto; } }
.area > * { min-width: 0; }
@media (max-width: 480px) {
  .area__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area__facts div { padding: 14px 10px; }
  .area__facts b { font-size: 21px; }
  .area__facts span { display: block; font-size: 12px; line-height: 1.35; hyphens: auto; overflow-wrap: break-word; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; color: var(--green-deep); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 40px 24px 0; color: var(--muted-l); }
.faq details > div p { margin: 0 0 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 30%, rgba(108, 179, 63, 0.22), transparent 70%), radial-gradient(800px 600px at 10% 100%, rgba(31, 68, 118, 0.6), transparent 70%); }
.cta__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.cta__mark { justify-self: end; width: min(320px, 70%); opacity: 0.95; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)); }
.cta .hero__ctas { margin-top: 34px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } .cta__mark { justify-self: start; width: 200px; } }

/* ---------- Footer ---------- */
.site-footer { background: #070d18; color: var(--muted-d); padding: 72px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 32ch; margin: 0; }
.site-footer h3 { color: var(--green-2); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--text-d); }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin-top: 12px; font-size: 13.5px; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; font-size: 13px; }
.footer__tag { letter-spacing: 0.32em; font-size: 12px; color: var(--green-2); font-weight: 600; }
.footer__legal { display: flex; gap: 20px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Modal (vraag stellen) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease), visibility 0.25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 9, 16, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); color: var(--text-l); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); transform: translateY(14px) scale(0.98); transition: transform 0.35s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); }
.modal__close svg { width: 16px; height: 16px; }

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; border-radius: 6px; border: 1px solid rgba(10, 18, 32, 0.18); background: #fff; font-size: 15.5px; font-weight: 400; transition: border-color 0.2s, box-shadow 0.2s; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(108, 179, 63, 0.18); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--muted-l); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-deep); flex: none; }
.form .hp-field { position: absolute; left: -9999px; }
.form__ok { display: none; text-align: center; padding: 20px 0; }
.form__ok svg { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--green-deep); }
.form.is-sent .form__fields { display: none; }
.form.is-sent .form__ok { display: block; }
.form__error { color: #b42318; font-size: 13.5px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Dienstpagina's ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: var(--header-h); min-height: min(92svh, 860px); display: flex; flex-direction: column; background: radial-gradient(1100px 650px at 70% 55%, rgba(31, 68, 118, 0.55), transparent 62%), linear-gradient(180deg, #0b1424, var(--ink)); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(800px 560px at 70% 55%, #000, transparent 75%); mask-image: radial-gradient(800px 560px at 70% 55%, #000, transparent 75%); opacity: 0.5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-d); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text-d); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.price-tag { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 30px; padding-left: 18px; border-left: 1px solid rgba(108, 179, 63, 0.55); }
.price-tag small { color: var(--muted-d); font-size: 13px; }
.price-tag b { font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1.1; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden; }
.merken { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.merk { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line-d2); background: rgba(255, 255, 255, 0.03); }
.merk b { display: block; font-stretch: 112%; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 10px; }
.merk p { margin: 0; color: var(--muted-d); font-size: 14.5px; }
@media (max-width: 900px) { .merken { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .merken { grid-template-columns: 1fr; } }
.feature { background: var(--bone); padding: 28px; }
.feature svg { width: 30px; height: 30px; color: var(--green-deep); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-stretch: 112%; font-weight: 750; }
.feature p { margin: 0; color: var(--muted-l); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 16px; color: var(--muted-l); font-size: 16.5px; }
.section--dark .prose p { color: var(--muted-d); }
.prose h3 { margin: 30px 0 10px; font-size: 21px; font-stretch: 112%; font-weight: 750; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 18px; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 28px; color: var(--muted-l); }
.section--dark .prose li { color: var(--muted-d); }
.prose li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.ptable th { font-weight: 500; color: var(--muted-d); }
.ptable td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 20px; }
.ptable caption { caption-side: bottom; text-align: left; padding-top: 14px; font-size: 12.5px; color: var(--muted-d); }
.price-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: var(--text-d); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; box-shadow: 0 40px 80px -50px rgba(10, 18, 32, 0.6); }
.price-card h3 { margin: 0; font-stretch: 112%; font-weight: 800; font-size: 24px; }
.price-card .muted { margin: 0; }
.page-hero .h1 .hl { font-size: 0.62em; line-height: 1.05; margin-top: 10px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-l); background: #fff; font-weight: 650; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.related a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(10, 18, 32, 0.4); }
.related svg { width: 18px; height: 18px; color: var(--green-deep); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--bone); }
.contact-list svg { width: 24px; height: 24px; color: var(--green-deep); flex: none; margin-top: 2px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted-l); margin-bottom: 3px; }
.contact-list a, .contact-list b { font-weight: 650; font-size: 17px; }
.contact-list a:hover { color: var(--green-deep); }
.contact-card { background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: 0 40px 80px -50px rgba(10, 18, 32, 0.45); }

/* =========================================================================
   Telefoons en touch: soepeler scrollen en tikken
   ========================================================================= */
/* Vervaging (backdrop-filter) boven bewegende 3D-beelden wordt elk frame opnieuw berekend;
   op telefoons gebruiken we daarom (bijna) dekkende achtergronden. */
@media (pointer: coarse), (max-width: 760px) {
  .site-header.is-scrolled, .site-header.is-solid, .site-header.menu-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .anno, .hero__toggle, .story__card, .modal__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .anno { background: rgba(10, 18, 32, 0.88); }
  .on-light .anno { background: rgba(255, 255, 255, 0.94); }
  .hero__toggle { background: rgba(14, 24, 41, 0.92); }
  .story__card { background: rgba(10, 18, 32, 0.93); }
  .modal__backdrop { background: rgba(5, 9, 16, 0.84); }
}
@media (pointer: coarse) and (prefers-reduced-motion: no-preference), (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(18px); transition-duration: 0.7s; }
}
/* iPhones zoomen in op invoervelden met tekst kleiner dan 16px */
@media (pointer: coarse) {
  .form input, .form textarea, .form select { font-size: 16px; }
}
/* Geen "blijvende" hover-effecten na een tik; wel directe feedback tijdens het tikken. */
@media (hover: none) {
  .svc:hover::before { opacity: 0; transform: scale(0.98); }
  .svc:hover .svc__icon { background: var(--ink); color: var(--green-2); transform: none; }
  .svc:hover .svc__arrow { background: none; border-color: var(--line-l); color: inherit; transform: none; }
  .svc:active::before { opacity: 1; transform: none; transition-duration: 0.05s; }
  .related a:hover { transform: none; box-shadow: none; }
  .btn:hover svg { transform: none; }
  .btn:active { transform: scale(0.97); }
  .btn--primary:active { background: var(--green-2); }
  .related a:active, .pill:active, .tcard:active, .sys:active { transform: scale(0.985); }
}
/* smalle telefoons: lange knoppen en kopjes mogen afbreken in plaats van buiten beeld te lopen */
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .site-footer h3 { letter-spacing: 0.06em; }
  .footer__grid { column-gap: 16px; }
}
@media (max-width: 360px) {
  .story__card h3, .sys__body h3 { font-size: 22px; }
  .story__card { padding: 18px 16px; }
}
