/* ==========================================================================
   MDAC Klussenbedrijf — stylesheet
   ========================================================================== */

:root {
  /* Groen thema: zacht salie, bosgroen en warm zand */
  --bg-rgb: 243, 244, 238;
  --fg-rgb: 44, 51, 46;
  --accent-rgb: 79, 122, 93;
  --surface-rgb: 250, 251, 247;
  --shadow-rgb: 46, 66, 52;

  --bg: #f3f4ee;
  --bg-2: #eaede4;
  --surface: #fafbf7;
  --surface-2: #eef1e9;
  --line: rgba(var(--fg-rgb), 0.09);
  --line-2: rgba(var(--fg-rgb), 0.16);
  --text: #2c332e;
  --text-2: #465049;
  --muted: #67726a;
  --dim: #939c94;
  --accent: #4f7a5d;
  --accent-2: #3f6a4d;
  --accent-hover: #44704f;
  --accent-soft: rgba(var(--accent-rgb), 0.12);
  --on-accent: #ffffff;
  --sage: #8fb08a;
  --sage-soft: rgba(143, 176, 138, 0.18);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --container: 1360px;
  --section: clamp(96px, 12vw, 190px);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 76px;
  --top-h: 40px;
  --head-h: calc(var(--nav-h) + var(--top-h));

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
  overflow-x: clip;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html.is-loading body, html.menu-open body { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; border-radius: 10px; font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- Typografie ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  color: var(--accent);
  padding-right: 12px;
  border-right: 1px solid var(--line-2);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.h2 em { color: var(--accent); }

.section { padding-block: var(--section); position: relative; }
.section__head { display: grid; gap: 26px; margin-bottom: clamp(48px, 6vw, 88px); max-width: 980px; }
.section__head--split {
  max-width: none;
  grid-template-columns: 1fr minmax(260px, 400px);
  align-items: end; gap: 40px;
}
.section__head--split > div { display: grid; gap: 26px; }
.section__intro { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 56ch; line-height: 1.55; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: color 0.3s, gap 0.4s var(--ease-out);
}
.link:hover { color: var(--accent); gap: 16px; }

/* ---------- Knoppen ---------- */

.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15.5px; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.45s, transform 0.5s var(--ease-out);
  will-change: transform;
}
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--lg { --h: 62px; padding: 0 30px; font-size: 16.5px; }
.btn:has(.btn__icon) { padding-right: 8px; }
.btn__icon {
  width: calc(var(--h) - 16px); height: calc(var(--h) - 16px);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); color: var(--text);
  transition: transform 0.5s var(--ease-out), background 0.35s, color 0.35s;
}
.btn:hover .btn__icon { transform: rotate(-45deg); }

.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 40px -12px rgba(var(--accent-rgb), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 16px 50px -10px rgba(var(--accent-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45); }

.btn--ghost {
  color: var(--text);
  background: rgba(var(--fg-rgb), 0.05);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(var(--fg-rgb), 0.1); border-color: rgba(var(--fg-rgb), 0.28); }

.btn--outline { border: 1px solid var(--line-2); color: var(--text); }
.btn--outline .btn__icon { background: var(--accent); color: var(--on-accent); }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Overlays: preloader, grain, progress, cursor ---------- */

.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: none; place-content: center; justify-items: center; gap: 28px;
}
.js .preloader { display: grid; transition: transform 1.1s var(--ease-in-out), visibility 0s 1.1s; }
html:not(.is-loading) .preloader { transform: translateY(-101%); visibility: hidden; }

.preloader__word {
  display: flex; overflow: hidden;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 15vw, 11rem); line-height: 0.9; letter-spacing: -0.05em;
}
.preloader__word span { transform: translateY(105%); animation: rise 0.9s var(--ease-out) forwards; }
.preloader__word span:nth-child(2) { animation-delay: 0.07s; }
.preloader__word span:nth-child(3) { animation-delay: 0.14s; }
.preloader__word span:nth-child(4) { animation-delay: 0.21s; color: var(--accent); }
@keyframes rise { to { transform: none; } }

.preloader__bar { width: min(280px, 60vw); height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: load 1.3s var(--ease-in-out) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.preloader__meta {
  display: flex; gap: 22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim);
}

.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none;
  width: 200%; height: 200%;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.25  0 0 0 0 0.2  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(var(--fg-rgb), 0.35); border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(var(--accent-rgb), 0.12); border-color: rgba(var(--accent-rgb), 0.7);
}
@media not ((hover: hover) and (pointer: fine)) { .cursor { display: none; } }

/* ---------- Navigatie ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: transform 0.6s var(--ease-out), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(var(--bg-rgb), 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
html.menu-open .nav { transform: none; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__inner {
  height: 100%;
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; transition: transform 0.6s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: grid; line-height: 1; }
.logo__text b { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo__text small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover { color: var(--text); background: rgba(var(--fg-rgb), 0.06); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text); transition: color 0.3s; }
.nav__phone .icon { color: var(--accent); }
.nav__phone:hover { color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--head-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0); }
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.menu__links a small { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.25s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.31s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.37s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.43s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.49s; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.menu__foot a { color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--head-h) + 40px) 0 clamp(28px, 4vw, 48px);
  overflow: clip;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(var(--accent-rgb), 0.17), transparent 70%),
    radial-gradient(50% 60% at 15% 100%, rgba(var(--fg-rgb), 0.05), transparent 70%),
    var(--bg);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--fg-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
}
.hero__canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero--3d .hero__canvas { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(var(--bg-rgb), 0.75) 16%, transparent 46%),
    linear-gradient(to right, rgba(var(--bg-rgb), 0.8) 0%, rgba(var(--bg-rgb), 0.3) 40%, transparent 62%);
}

.hero__content { display: grid; gap: clamp(22px, 2.6vw, 38px); will-change: transform, opacity; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.6rem, 10.2vw, 10.4rem);
  line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase;
}
.hero__title em { color: var(--accent); }
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line > span { display: block; }

.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero__lead { max-width: 46ch; color: var(--text-2); font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.55; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 34px;
  padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero__trust .icon { color: var(--sage); }
.hero__scroll { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__scroll i { width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollhint 2.2s var(--ease-in-out) infinite; }
@keyframes scrollhint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Hero intro-animatie */
.js .hero .line > span { transform: translateY(108%); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__trust { opacity: 0; transform: translateY(26px); }
.js.is-ready .hero .line > span { transform: none; transition: transform 1.25s var(--ease-out) calc(0.05s + var(--i) * 0.1s); }
.js.is-ready .hero__eyebrow, .js.is-ready .hero__lead, .js.is-ready .hero__cta, .js.is-ready .hero__trust {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js.is-ready .hero__eyebrow { transition-delay: 0s; }
.js.is-ready .hero__lead { transition-delay: 0.5s; }
.js.is-ready .hero__cta { transition-delay: 0.62s; }
.js.is-ready .hero__trust { transition-delay: 0.78s; }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em;
  color: var(--bg-2); -webkit-text-stroke: 2px rgba(var(--fg-rgb), 0.36); paint-order: stroke fill;
  padding-inline: clamp(18px, 2.4vw, 36px);
}
.marquee span:nth-of-type(3n + 1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal & split ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.03em 0.1em; margin: -0.14em -0.03em -0.1em; }
.w__i { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
.is-in .w__i { transform: none; }

/* ---------- Diensten ---------- */

.services { background: linear-gradient(to bottom, var(--bg-2), var(--bg)); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }

.service { perspective: 1100px; }
.service__inner {
  position: relative; height: 100%; min-height: 430px;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(var(--fg-rgb), 0.055), rgba(var(--fg-rgb), 0.012) 45%),
    var(--surface);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  overflow: hidden;
}
.service.is-tilting .service__inner { transition: transform 0.12s linear, border-color 0.4s, box-shadow 0.5s; }
.service:hover .service__inner { border-color: rgba(var(--accent-rgb), 0.45); box-shadow: 0 40px 80px -40px rgba(var(--shadow-rgb), 0.29), 0 0 0 1px rgba(var(--accent-rgb), 0.08); }

.service__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--fg-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(75% 55% at 78% 22%, #000, transparent 75%);
  mask-image: radial-gradient(75% 55% at 78% 22%, #000, transparent 75%);
}
.service__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.2), transparent 62%);
}
.service:hover .service__glare { opacity: 1; }
.service__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 85%); mask-image: linear-gradient(to bottom, #000 20%, transparent 85%); }

.service__top { display: flex; justify-content: space-between; align-items: center; transform: translateZ(26px); }
.service__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--dim); }
.service__go {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
}
.service:hover .service__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }

.service__icon {
  margin: clamp(26px, 3vw, 44px) 0 auto;
  width: 92px; height: 92px; border-radius: 24px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.03));
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 24px 40px -18px rgba(var(--accent-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateZ(64px);
  transition: transform 0.7s var(--ease-out);
}
.service:hover .service__icon { transform: translateZ(84px) scale(1.04); }
.service__icon svg { width: 46px; height: 46px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service__icon svg.is-24 { stroke-width: 0.85; }

.service__title {
  margin-top: 34px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.1vw, 1.95rem); letter-spacing: -0.025em; line-height: 1.1;
  transform: translateZ(40px);
}
.service__text { margin-top: 12px; min-height: calc(1.55em * 3); color: var(--muted); font-size: 15.5px; line-height: 1.55; transform: translateZ(30px); }
.service__tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; transform: translateZ(22px); }
.service__tags li {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; color: var(--text-2);
  background: rgba(var(--fg-rgb), 0.045); border: 1px solid var(--line);
}

.services__foot {
  margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap;
  color: var(--muted);
}

/* ---------- Statement ---------- */

.statement { padding-block: clamp(80px, 11vw, 180px); background: var(--bg); }
.statement__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 4.6rem); line-height: 1.08; letter-spacing: -0.035em;
  max-width: 1180px;
  text-wrap: balance;
}
.statement__text .word { opacity: var(--o, 0.14); transition: opacity 0.25s linear; }
.statement__text .word.is-accent { color: var(--accent); }

/* ---------- Projecten / vergelijker ---------- */

.projects { background: var(--bg-2); border-block: 1px solid var(--line); }

.compare {
  position: relative; overflow: hidden;
  aspect-ratio: 1200 / 720;
  border-radius: clamp(16px, 2vw, 28px);
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 60px 120px -60px rgba(var(--shadow-rgb), 0.29);
  touch-action: pan-y;
  cursor: ew-resize;
  -webkit-user-select: none; user-select: none;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer svg { width: 100%; height: 100%; display: block; }
.compare__layer--idea { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label {
  position: absolute; top: clamp(12px, 2vw, 24px); z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(var(--bg-rgb), 0.7); color: var(--text); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  pointer-events: none;
}
.compare__label--idea { left: clamp(12px, 2vw, 24px); }
.compare__label--result { right: clamp(12px, 2vw, 24px); background: var(--accent); color: var(--on-accent); border-color: transparent; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; margin-left: -1px; background: var(--accent);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.8);
  pointer-events: none;
}
.compare__handle i {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.16), 0 0 0 8px rgba(var(--accent-rgb), 0.2);
  transition: transform 0.4s var(--ease-out);
}
.compare__handle svg { width: 26px; height: 26px; }
.compare.is-dragging .compare__handle i { transform: scale(0.9); }
.compare__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }

.projects__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 5vw, 72px); }
.projects__points li { display: flex; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.projects__points span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; padding-top: 4px; }
.projects__points b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.projects__points p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* ---------- Werkwijze ---------- */

.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.process__head { position: sticky; top: calc(var(--head-h) + 48px); display: grid; gap: 26px; justify-items: start; }

.process__list { position: relative; display: grid; --p: 0; }
.process__list::before, .process__list::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px;
}
.process__list::before { background: var(--line-2); }
.process__list::after { background: var(--accent); transform: scaleY(var(--p)); transform-origin: top; box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.8); }

.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 40px); padding-block: clamp(26px, 3.4vw, 46px); }
.step__num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--dim);
  transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease-out);
}
.step__body { opacity: 0.38; transition: opacity 0.6s; padding-top: 6px; }
.step__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.step__body p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.step.is-active .step__num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.14); transform: scale(1.04); }
.step.is-active .step__body { opacity: 1; }
html:not(.js) .step__body { opacity: 1; }

/* ---------- Over / bento ---------- */

.about { background: var(--bg-2); border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); }

.card {
  position: relative; overflow: hidden;
  padding: clamp(24px, 2.6vw, 38px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--fg-rgb), 0.05), rgba(var(--fg-rgb), 0.01) 50%), var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 230px;
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.card:hover { border-color: var(--line-2); }
.card__tag {
  align-self: flex-start; margin-bottom: auto;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); padding: 6px 11px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.card h3 { margin-top: 36px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.12; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 44ch; }

.card--a, .card--b { grid-column: span 5; }
.card--a { grid-row: 1; }
.card--b { grid-row: 2; }
.card--map { grid-column: 6 / span 7; grid-row: 1 / span 2; }
.card--c, .card--d, .card--e { grid-column: span 4; }
.card--a { background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.02) 55%), var(--surface); border-color: rgba(var(--accent-rgb), 0.22); }

.card--map { flex-direction: row; align-items: stretch; gap: 24px; min-height: 480px; }
.card__maptext { flex: 1 1 46%; display: flex; flex-direction: column; min-width: 0; }
.card__maptext h3 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.towns li {
  font-size: 13.5px; padding: 7px 13px; border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.045); border: 1px solid var(--line); color: var(--text-2);
}
.towns li:first-child { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }

.radar {
  position: relative; flex: 0 0 auto; align-self: center;
  width: min(46%, 400px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.02) 60%, transparent 70%);
  border: 1px solid var(--line-2);
}
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--accent-rgb), 0.38), transparent 26%);
  animation: sweep 6s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__ring { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(var(--fg-rgb), 0.13); }
.radar__dot, .radar__home { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--text); }
.radar__dot b, .radar__home b {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--text-2);
}
.radar__dot--l b { left: auto; right: 14px; }
.radar__home { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); animation: pulse 2.4s infinite; }
.radar__home b { color: var(--accent); font-weight: 500; left: 20px; top: 150%; }

/* ---------- Contact ---------- */

.contact { background: var(--bg); overflow: clip; }
.contact__glow {
  position: absolute; left: 50%; top: 0; width: min(1100px, 120vw); aspect-ratio: 1; transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2), transparent 62%);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 26px; }

.contact__list { margin-top: 18px; display: grid; border-top: 1px solid var(--line); }
.contact__list li > * { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-out); }
.contact__list li > a:hover { padding-left: 10px; }
.contact__list i {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent);
  transition: background 0.4s, color 0.4s;
}
.contact__list a:hover i { background: var(--accent); color: var(--on-accent); }
.contact__list span { display: grid; min-width: 0; }
.contact__list small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.contact__list b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; overflow-wrap: anywhere; }

.form {
  position: relative;
  padding: clamp(24px, 3vw, 44px);
  border-radius: clamp(20px, 2vw, 30px);
  background: linear-gradient(165deg, rgba(var(--fg-rgb), 0.06), rgba(var(--fg-rgb), 0.015) 40%), var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -60px rgba(var(--shadow-rgb), 0.30);
  display: grid; gap: 22px;
}
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form__head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.025em; line-height: 1.15; white-space: nowrap; }
.form__head span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); }

.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { width: 100%; margin-bottom: 12px; font-size: 14px; color: var(--muted); padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(var(--fg-rgb), 0.04); border: 1px solid var(--line-2); color: var(--text-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.chip:hover span { border-color: rgba(var(--fg-rgb), 0.3); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; display: block;
  font: inherit; font-size: 16px; color: var(--text);
  background: rgba(var(--fg-rgb), 0.035);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 26px 16px 10px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field label {
  position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform 0.3s var(--ease-out), color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(var(--accent-rgb), 0.05); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.72); color: var(--accent);
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px var(--surface-2) inset; caret-color: var(--text); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c25a52; }
.field__error { display: block; min-height: 0; font-size: 13px; color: #b0503f; margin-top: 6px; }
.field__error:empty { display: none; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 4px; }
.form__note { flex: 1 1 200px; font-size: 13px; color: var(--dim); line-height: 1.45; }

.form__done {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  background: var(--surface);
  display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 32px;
}
.form__done[hidden] { display: none; }
.form__done i { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 28px; animation: pop 0.7s var(--ease-out); }
.form__done h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.025em; }
.form__done p { color: var(--muted); max-width: 36ch; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 72px); background: var(--bg); overflow: clip; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { color: var(--muted); font-size: 15px; transition: color 0.3s; }
.footer__nav a:hover { color: var(--text); }

.footer__word {
  margin-top: clamp(24px, 4vw, 56px);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 30.5vw, 27rem); line-height: 0.8; letter-spacing: -0.055em;
  text-align: center; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.footer__word span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(to bottom, rgba(var(--fg-rgb), 0.22), rgba(var(--fg-rgb), 0.02) 85%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(var(--fy, 0));
}
.footer__bottom {
  position: relative;
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
  background: var(--bg);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Mobiele actiebalk ---------- */

.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: none; gap: 8px; padding: 8px;
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.86); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), 0.19);
  transform: translateY(140%); transition: transform 0.7s var(--ease-out);
}
.dock.is-on { transform: none; }
.dock a { height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.dock__call { padding: 0 20px; background: rgba(var(--fg-rgb), 0.07); }
.dock__cta { flex: 1; background: var(--accent); color: var(--on-accent); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .nav__phone span { display: none; }
  .nav__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; }
}

@media (max-width: 1020px) {
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .card--a, .card--b { grid-column: span 6; grid-row: auto; }
  .card--map { grid-column: 1 / -1; grid-row: auto; }
  .card--c, .card--d, .card--e { grid-column: span 4; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --nav-h: 68px; }
  .nav__actions .btn { display: none; }
  .dock { display: flex; }
  .footer { padding-bottom: 84px; }

  .hero { padding-bottom: 24px; }
  .hero__title { font-size: clamp(3.2rem, 17.5vw, 6rem); }
  .hero__shade {
    background: linear-gradient(to top, var(--bg) 0%, rgba(var(--bg-rgb), 0.9) 36%, rgba(var(--bg-rgb), 0.74) 54%, rgba(var(--bg-rgb), 0.3) 65%, transparent 77%);
  }
  .hero__bg { background: radial-gradient(90% 40% at 50% 26%, rgba(var(--accent-rgb), 0.2), transparent 70%), var(--bg); }
  .hero__bg::after { -webkit-mask-image: radial-gradient(90% 45% at 50% 25%, #000, transparent 75%); mask-image: radial-gradient(90% 45% at 50% 25%, #000, transparent 75%); }
  .hero__content { gap: 18px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero__eyebrow .hide-sm { display: none; }
  .hero__lead { font-size: 1rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cta .btn--primary { justify-content: space-between; }
  .hero__cta .btn--ghost { display: none; }
  .hero__trust { gap: 8px 16px; font-size: 12.5px; padding-top: 16px; }
  .hero__trust li { gap: 7px; }
  .hero__scroll { display: none !important; }

  .services__grid { grid-template-columns: 1fr; }
  .service__inner { min-height: 0; }
  .service__icon { margin-bottom: 0; width: 78px; height: 78px; border-radius: 20px; }
  .service__icon svg { width: 40px; height: 40px; }
  .service__title { margin-top: 28px; }
  .service__text { min-height: 0; }

  .compare { aspect-ratio: 4 / 3.4; }
  .compare__handle i { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .projects__points { grid-template-columns: 1fr; }

  .step { grid-template-columns: 48px 1fr; }
  .step__num { width: 48px; height: 48px; }
  .process__list::before, .process__list::after { left: 23px; }

  .bento { grid-template-columns: 1fr; }
  .card--a, .card--b, .card--c, .card--d, .card--e, .card--map { grid-column: 1 / -1; }
  .card { min-height: 0; }
  .card--map { flex-direction: column; min-height: 0; }
  .radar { width: min(100%, 340px); margin-top: 12px; }

  .form__row { grid-template-columns: 1fr; gap: 22px; }
  .form__head h3 { font-size: 1.35rem; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .w__i, .js .hero .line > span,
  .js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__trust { opacity: 1 !important; transform: none !important; }
  .statement__text .word { opacity: 1 !important; }
  .step__body { opacity: 1; }
  .marquee__track { animation: none; }
  .cursor { display: none; }
}

/* ==========================================================================
   Subpagina's
   ========================================================================== */

@view-transition { navigation: auto; }

.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark .btn__icon { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #4a423b; }

/* ---------- Paginakop ---------- */

.phead {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--head-h) + clamp(48px, 8vw, 120px)) 0 clamp(56px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}
.phead__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 85% at 84% 14%, rgba(var(--accent-rgb), 0.17), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(var(--fg-rgb), 0.045), transparent 70%),
    var(--bg);
}
.phead__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--fg-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 90% at 80% 20%, #000, transparent 75%);
  mask-image: radial-gradient(60% 90% at 80% 20%, #000, transparent 75%);
}
.phead__ghost {
  position: absolute; z-index: -1; right: -1.5vw; bottom: -0.16em; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(6rem, 21vw, 21rem); line-height: 0.8; letter-spacing: -0.055em; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.phead__ghost span {
  display: inline-block; color: transparent; will-change: transform;
  background: linear-gradient(to bottom, rgba(var(--fg-rgb), 0.085), rgba(var(--fg-rgb), 0.01) 80%);
  -webkit-background-clip: text; background-clip: text;
}
.phead .container { display: grid; gap: 26px; justify-items: start; }
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: clamp(8px, 2vw, 28px); }
.crumbs a { color: var(--muted); transition: color 0.3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; color: var(--line-2); }
.crumbs span { color: var(--text); }
.h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 8.6vw, 8.4rem); line-height: 0.94; letter-spacing: -0.045em;
  text-wrap: balance; max-width: 13ch;
}
.h1 em { color: var(--accent); }
.phead__lead { color: var(--text-2); font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.55; max-width: 54ch; }
.phead__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Diensten-overzicht ---------- */

.srow {
  display: grid; grid-template-columns: 120px minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 72px); align-items: start;
  padding-block: clamp(40px, 5.5vw, 84px);
  border-top: 1px solid var(--line);
}
.srow:first-child { border-top: 0; padding-top: 0; }
.srow__side { display: grid; gap: 22px; justify-items: start; }
.srow__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.srow .service__icon { margin: 0; transform: none; }
.srow h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; }
.srow__text { margin-top: 20px; color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.15rem); max-width: 50ch; }
.srow .btn { margin-top: 30px; }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.checks li:last-child { border-bottom: 0; }
.checks .icon { color: var(--sage); margin-top: 0.22em; }

/* ---------- Dienstpagina ---------- */

.block { padding-block: clamp(72px, 9vw, 140px); position: relative; }
.block--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.block__head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.h2--md { font-size: clamp(2.1rem, 4.6vw, 4rem); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.feature {
  position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--fg-rgb), 0.05), rgba(var(--fg-rgb), 0.01) 50%), var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.feature:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-4px); }
.feature span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.feature h3 { margin-top: 30px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.7vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.15; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); counter-reset: s; }
.steps3 li { padding-top: 26px; border-top: 1px solid var(--line-2); position: relative; }
.steps3 li::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 1px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.8); }
.steps3 b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), 0.3); }
.steps3 h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; }
.steps3 p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 38ch; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.split__head { position: sticky; top: calc(var(--head-h) + 40px); display: grid; gap: 22px; justify-items: start; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.5s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.faq details p { color: var(--muted); padding: 0 66px 28px 0; max-width: 68ch; }

.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), 0.035); font-weight: 500; font-size: 15px;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--ease-out);
}
.others a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }

/* ---------- CTA-band ---------- */

.cta { padding-block: clamp(56px, 8vw, 120px); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(22px, 3vw, 40px);
  padding: clamp(32px, 6vw, 92px);
  background: radial-gradient(120% 150% at 0% 0%, #dbe8d6, #b3cdae 46%, #94b590);
  color: var(--text);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap;
  box-shadow: 0 50px 120px -50px rgba(var(--accent-rgb), 0.55);
}
.cta__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(var(--fg-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 100% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(70% 100% at 100% 0%, #000, transparent 75%);
}
.cta__panel > div:first-child { flex: 1 1 420px; min-width: 0; }
.cta__panel h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.8vw, 5.2rem); line-height: 0.96; letter-spacing: -0.045em; max-width: 13ch; text-wrap: balance; }
.cta__panel p { margin-top: 18px; max-width: 42ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(var(--fg-rgb), 0.78); font-weight: 500; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; height: 62px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(var(--fg-rgb), 0.3); font-family: var(--font-display); font-weight: 600; transition: background 0.3s; }
.cta__phone:hover { background: rgba(var(--fg-rgb), 0.07); }

/* ---------- Projecten ---------- */

.types { border-bottom: 1px solid var(--line-2); }
.types a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) 52px; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line-2);
  transition: padding 0.6s var(--ease-out), background 0.4s;
}
.types a:hover { padding-inline: clamp(10px, 1.6vw, 24px); background: rgba(var(--fg-rgb), 0.03); }
.types small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.types b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.05; transition: color 0.3s; }
.types a:hover b { color: var(--accent); }
.types p { color: var(--muted); font-size: 15.5px; }
.types i { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); justify-self: end; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out); }
.types a:hover i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }

/* Projectkaarten — klaar voor echte projectfoto's */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pcard { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover img { transform: scale(1.05); }
.pcard__meta { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(to top, rgba(var(--bg-rgb), 0.92), transparent); }
.pcard__meta small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pcard__meta h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 6px; }

/* ---------- Over MDAC ---------- */

.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.story__big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.story__big em { color: var(--accent); }
.story__text { display: grid; gap: 20px; color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.15rem); }
.facts { margin-top: 18px; border-top: 1px solid var(--line-2); }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.facts b { font-family: var(--font-display); font-weight: 600; color: var(--text); text-align: right; }

/* ---------- Contactpagina ---------- */

.contact--page { padding-top: calc(var(--head-h) + clamp(48px, 7vw, 110px)); }
.contact--page .h2--xl { font-weight: 700; }

/* ---------- Tekstpagina's ---------- */

.prose { max-width: 74ch; display: grid; gap: 18px; color: var(--text-2); }
.prose h2 { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; color: var(--text); line-height: 1.15; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose mark { background: var(--accent-soft); color: var(--accent-2); padding: 1px 6px; border-radius: 6px; }
.notice { padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid rgba(var(--accent-rgb), 0.35); background: var(--accent-soft); color: var(--accent-2); font-size: 15px; }

.form__note a, .footer__bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ---------- 404 ---------- */

.nf { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: calc(var(--head-h) + 40px) var(--gutter) 80px; position: relative; isolation: isolate; overflow: clip; }
.nf__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 32vw, 24rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; background: linear-gradient(to bottom, var(--accent), rgba(var(--accent-rgb), 0.05) 92%); -webkit-background-clip: text; background-clip: text; }
.nf h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.nf p { color: var(--muted); max-width: 44ch; }

/* ---------- Responsive (subpagina's) ---------- */

@media (max-width: 1020px) {
  .srow { grid-template-columns: 96px minmax(0, 1fr); }
  .srow .checks { grid-column: 2; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .story { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .types a { grid-template-columns: 40px minmax(0, 1fr) 48px; }
  .types p { grid-column: 2; grid-row: 2; }
  .types i { grid-row: 1 / span 2; grid-column: 3; }
}

@media (max-width: 760px) {
  .phead__ghost { font-size: 34vw; bottom: -0.1em; }
  .h1 { font-size: clamp(2.7rem, 14.5vw, 4.6rem); }
  .srow { grid-template-columns: 1fr; gap: 24px; }
  .srow__side { grid-auto-flow: column; align-items: center; justify-content: space-between; width: 100%; }
  .srow .checks { grid-column: auto; }
  .srow .btn { width: 100%; justify-content: space-between; }
  .features, .steps3, .pgrid { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .cta__panel { align-items: flex-start; }
  .cta__actions, .cta__actions .btn, .cta__phone { width: 100%; }
  .cta__actions .btn { justify-content: space-between; }
  .cta__phone { justify-content: center; }
  .types i { display: none; }
  .types a { grid-template-columns: 34px minmax(0, 1fr); }
  .phead__actions .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ==========================================================================
   Recensies
   ========================================================================== */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sterren (weergave): elke ster vult zich via --f */
.stars { display: inline-flex; gap: 3px; }
.stars i {
  width: 16px; height: 16px; display: block;
  background: linear-gradient(90deg, var(--accent) var(--f, 0%), var(--line-2) var(--f, 0%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stars--lg i { width: 24px; height: 24px; }

/* Overzicht */
.rsum {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 3.4vw, 48px); margin-bottom: clamp(24px, 3vw, 40px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.rsum__score { display: flex; align-items: center; gap: 24px; }
.rsum__score > b { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 8vw, 6.4rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--text); }
.rsum__score > div { display: grid; gap: 10px; }
.rsum__score small { color: var(--muted); font-size: 14.5px; }
.rsum__bars { display: grid; gap: 8px; }
.rsum__bars li { display: grid; grid-template-columns: 14px 1fr 28px; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.rsum__bars i { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rsum__bars b { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.rsum__bars small { text-align: right; }

/* Kaarten */
.reviews { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 22px); }
.review {
  break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px);
  display: grid; gap: 18px; padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.review:hover { border-color: rgba(var(--accent-rgb), 0.35); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review__src { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.review__text { color: var(--text-2); font-size: 16px; line-height: 1.6; white-space: pre-line; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__who span:last-child { display: grid; min-width: 0; }
.review__who b { font-family: var(--font-display); font-weight: 600; }
.review__who small { color: var(--muted); font-size: 13.5px; }
.review__avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); font-family: var(--font-display); font-weight: 700; }

/* Lege staat */
.rempty {
  display: grid; justify-items: center; text-align: center; gap: 16px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--surface);
}
.rempty__stars { display: flex; gap: 6px; }
.rempty__stars svg { width: 26px; height: 26px; fill: var(--line-2); }
.rempty__stars svg:nth-child(-n+5) { animation: twinkle 3.2s var(--ease-in-out) infinite; }
.rempty__stars svg:nth-child(2) { animation-delay: 0.15s; }
.rempty__stars svg:nth-child(3) { animation-delay: 0.3s; }
.rempty__stars svg:nth-child(4) { animation-delay: 0.45s; }
.rempty__stars svg:nth-child(5) { animation-delay: 0.6s; }
@keyframes twinkle { 0%, 60%, 100% { fill: var(--line-2); } 25% { fill: var(--accent); } }
.rempty h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.025em; }
.rempty p { color: var(--muted); max-width: 52ch; }
.rempty .btn { margin-top: 8px; }

/* Formulier: sterren kiezen */
.rate legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { cursor: pointer; padding: 2px; border-radius: 8px; }
.rate__stars svg { width: 34px; height: 34px; fill: var(--line-2); transition: fill 0.2s, transform 0.4s var(--ease-out); }
.rate__stars label:hover svg, .rate__stars label:hover ~ label svg,
.rate__stars input:checked ~ label svg { fill: var(--accent); }
.rate__stars label:hover svg { transform: scale(1.12); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.rate.is-invalid .rate__stars svg { fill: rgba(194, 90, 82, 0.35); }

.field--select select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(var(--fg-rgb), 0.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2367726a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 18px 44px 18px 16px; -webkit-appearance: none; appearance: none;
}
.field--select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14); }

.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.consent.is-invalid span { color: #b0503f; }

@media (max-width: 760px) {
  .rsum { grid-template-columns: 1fr; }
  .rsum__score { gap: 18px; }
}

/* ==========================================================================
   Uitgebreide footer & WhatsApp
   ========================================================================== */

.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer__col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.footer__col h2 {
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 6px;
}
.footer__col a, .footer__col > span { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; transition: color 0.3s; min-width: 0; }
.footer__col a span, .footer__col > span span { overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--accent); }
.footer__col .icon { color: var(--accent); }

/* Zwevende WhatsApp-knop (desktop) */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 34px -12px rgba(var(--accent-rgb), 0.65);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.4s, background 0.3s;
}
.wa-float .icon { width: 22px; height: 22px; }
.wa-float:hover { background: var(--accent-hover); }
.wa-float.is-on { transform: none; opacity: 1; }

.dock__wa { width: 48px; flex: none; background: rgba(var(--fg-rgb), 0.07); }

@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wa-float { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   24/7 spoedservice
   ========================================================================== */

/* Tab in de navigatie */
.nav__links a.nav__sos {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-2); background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.22); margin-left: 4px; font-weight: 600;
}
.nav__links a.nav__sos:hover, .nav__links a.nav__sos.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.nav__links a.nav__sos.is-active::after { display: none; }
.nav__sos i, .sos-live i, .sosbar__live i {
  width: 8px; height: 8px; border-radius: 50%; background: #3fa36b; flex: none;
  box-shadow: 0 0 0 0 rgba(63, 163, 107, 0.6); animation: sospulse 2s infinite;
}
@keyframes sospulse { 0% { box-shadow: 0 0 0 0 rgba(63, 163, 107, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(63, 163, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 163, 107, 0); } }
@media (max-width: 1280px) { .nav__links a { padding: 10px 12px; } .nav__links { gap: 2px; } }

/* Balk op de homepage */
.sosbar {
  display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap;
  width: min(var(--container), 100% - var(--gutter) * 2); margin: 0 auto clamp(20px, 3vw, 36px);
  padding: 16px 16px 16px 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px -26px rgba(var(--shadow-rgb), 0.5);
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.sosbar:hover { border-color: rgba(var(--accent-rgb), 0.45); transform: translateY(-2px); }
.sosbar__live { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; }
.sosbar__text { flex: 1 1 320px; color: var(--text-2); font-size: 15.5px; }
.sosbar__text b { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.sosbar__go { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; white-space: nowrap; }

/* Paginakop spoedservice */
.sos-live { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--text-2); }
.phead--sos .h1 { max-width: 14ch; }
.sos-call b { font-weight: 700; }
.sos-trust { border-top: 0; padding-top: 4px; }
.steps3 p a { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Rij in het diensten-overzicht */
.srow--sos { margin-top: clamp(16px, 2vw, 24px); padding: clamp(28px, 4vw, 56px); border: 1px solid rgba(var(--accent-rgb), 0.25); border-radius: var(--radius); background: linear-gradient(150deg, var(--accent-soft), transparent 60%), var(--surface); }
.srow--sos .srow__num { font-weight: 500; }

@media (max-width: 760px) {
  .sosbar { border-radius: var(--radius); padding: 18px; }
  .sosbar__go { width: 100%; justify-content: center; }
  .sos-call { font-size: 15px; }
}

/* ==========================================================================
   Spoedbalk bovenaan (24/7 loodgieterservice)
   ========================================================================== */

.nav { height: auto; }
.nav__inner { height: var(--nav-h); }

.topbar {
  height: var(--top-h);
  background: var(--accent); color: var(--on-accent);
  font-size: 13.5px;
}
.topbar__in {
  height: 100%;
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__info { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; flex: 1 1 auto; overflow: hidden; }
.topbar__live {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
}
.topbar__live i { width: 7px; height: 7px; border-radius: 50%; background: #9be3b4; animation: sospulse 2s infinite; }
.topbar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.92; }
.topbar__more { flex: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.45); }
.topbar__info:hover .topbar__more { text-decoration-color: currentColor; }
.topbar__call { display: inline-flex; align-items: center; gap: 8px; flex: none; font-family: var(--font-display); font-weight: 600; color: inherit; }
.topbar__call:hover { opacity: 0.85; }

/* Glazen navigatie: de groene balk blijft vol van kleur */
.nav.is-scrolled .topbar { box-shadow: none; }

@media (max-width: 1020px) {
  .topbar__more { display: none; }
}
@media (max-width: 760px) {
  :root { --top-h: 38px; }
  .topbar { font-size: 12.5px; }
  .topbar__text { display: none; }
  .topbar__info { gap: 10px; }
}

/* Spoedlampje: knippert groen – rood – groen – rood */
.topbar__live i, .sos-live i, .nav__sos i, .sosbar__live i {
  animation: sosblink 1.2s steps(1, end) infinite;
}
@keyframes sosblink {
  0%   { background: #3fd07a; box-shadow: 0 0 0 3px rgba(63, 208, 122, 0.35), 0 0 10px rgba(63, 208, 122, 0.9); }
  50%  { background: #ff3b3b; box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.35), 0 0 10px rgba(255, 59, 59, 0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar__live i, .sos-live i, .nav__sos i, .sosbar__live i { animation: none; background: #ff3b3b; }
}

/* ==========================================================================
   Mobiel & tablet: geen hamburgermenu, maar een kleine menubalk onder het logo
   ========================================================================== */

@media (max-width: 1020px) {
  :root { --links-h: 46px; --head-h: calc(var(--nav-h) + var(--top-h) + var(--links-h)); }

  .burger, .menu { display: none !important; }

  .nav { background: rgba(var(--bg-rgb), 0.9); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
  .nav__inner { height: auto; flex-wrap: wrap; row-gap: 0; }
  .nav__inner > .logo, .nav__actions { height: var(--nav-h); }

  .nav__links {
    display: flex; order: 3; width: 100%; height: var(--links-h);
    align-items: center; gap: 4px;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    border-top: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
    mask-image: linear-gradient(to right, #000 88%, transparent);
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { flex: none; padding: 7px 12px; font-size: 14px; white-space: nowrap; }
  .nav__links a.is-active { background: var(--accent-soft); color: var(--accent-2); }
  .nav__links a.is-active::after { display: none; }
}

@media (max-width: 760px) {
  .nav__actions .btn { display: inline-flex; --h: 40px; padding: 0 16px; font-size: 13.5px; }
  .nav__links a { padding: 7px 10px; font-size: 13.5px; }
  .nav__links { gap: 2px; margin-inline: -6px; width: calc(100% + 12px); }
}
@media (max-width: 760px) { .hide-xs { display: none; } }
/* Telefoon: alle menu-items in één keer zichtbaar, zonder scrollen */
@media (max-width: 760px) {
  .nav__links { justify-content: space-between; gap: 0; margin-inline: -4px; width: calc(100% + 8px); -webkit-mask-image: none; mask-image: none; }
  .nav__links a { padding: 7px 6px; font-size: 13px; letter-spacing: -0.01em; }
}
@media (max-width: 350px) {
  .nav__links a { padding: 6px 4px; font-size: 12px; }
}
.show-xs { display: none; }
@media (max-width: 760px) {
  .show-xs { display: inline; }
  .nav__links a { padding: 7px 4px; }
}
@media (max-width: 350px) {
  .nav__links a { padding: 6px 3px; font-size: 11.5px; }
}

/* Fotoveld in het offerteformulier */
.file {
  position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px dashed var(--line-2); background: rgba(var(--fg-rgb), 0.025);
  transition: border-color 0.3s, background 0.3s;
}
.file:hover, .file:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.file__icon svg { width: 22px; height: 22px; }
.file__text { display: grid; min-width: 0; }
.file__text b { font-weight: 600; font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__text small { font-size: 12.5px; color: var(--muted); }
.file.has-file { border-style: solid; border-color: var(--accent); }
.field--file.is-invalid .file { border-color: #c25a52; }

/* Spoedregel in het contactblok */
.contact__list i.is-sos { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.field--file label.file { position: relative; left: auto; top: auto; pointer-events: auto; transform: none; color: inherit; }
.field--file input[type="file"] { padding: 0; border: 0; height: 100%; }
