/* ==========================================================================
   De Bruijn Tuinaanleg
   ========================================================================== */

:root {
  /* Huisstijl: groen als accent, diep groenzwart als basis */
  --green: #85ce19;
  --green-deep: #4d7a12;
  --ink: #11160d;
  --forest: #182013;
  --moss: #26301f;
  --paper: #f8f6f0;
  --ivory: #efebe2;
  --stone: #d9d3c5;
  --text: #2a2d25;
  --muted: #74736a;
  --line: rgba(17, 22, 13, .14);
  --line-light: rgba(239, 235, 226, .16);
  --on-dark: rgba(239, 235, 226, .72);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);

  --container: 1320px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --section: clamp(96px, 13vw, 200px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Subtiele korrel voor een papieren, analoge uitstraling */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, dt { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.04; letter-spacing: -.01em; }
p, figure { margin: 0; }
em { font-style: italic; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }
.hidden { display: none; }
::selection { background: var(--green); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--ivory); color: var(--ink); padding: 10px 16px; transition: top .4s var(--ease-out); }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* Typografie */
.h2 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--muted); max-width: 50ch; }
.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.label--light { color: var(--on-dark); }

/* Knoppen en links */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 38px; border: 1px solid currentColor; background: transparent;
  font-family: var(--sans); font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor;
  transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-in-out);
}
.btn span { position: relative; z-index: 1; transition: color .7s var(--ease-in-out); }
.btn:hover::before { transform: scaleY(1); }
.btn--light { color: var(--ivory); }
.btn--light:hover span { color: var(--ink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover span { color: var(--ivory); }

.link-line {
  position: relative; display: inline-block; padding-bottom: 8px;
  font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.link-line::before, .link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; }
.link-line::before { opacity: .3; }
.link-line::after { transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-in-out); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-line--light { color: var(--ivory); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .8s var(--ease-in-out), transform .8s var(--ease-in-out), border-color .8s var(--ease-in-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(17, 22, 13, .84);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line-light);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo img { height: 46px; width: auto; transform-origin: left center; transition: transform .8s var(--ease-in-out); }
.header.is-scrolled .header__logo img { transform: scale(.88); }

.nav__list { display: flex; gap: 42px; }
.nav__list a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark);
  transition: color .5s var(--ease-in-out);
}
.nav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--green); transform: scale(0); transition: transform .6s var(--ease-out);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--ivory); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scale(1); }
.nav__foot { display: none; }

.header__actions { display: flex; align-items: center; gap: 24px; }
.header__cta { color: var(--ivory); white-space: nowrap; }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-light); background: transparent; border-radius: 50%; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform .7s var(--ease-in-out), top .7s var(--ease-in-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--ivory); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; clip-path: inset(7% 7% 7% 7%); animation: heroClip 2s var(--ease-in-out) .1s forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 22, 13, .6) 0%, transparent 22%),
    linear-gradient(0deg, rgba(17, 22, 13, .92) 0%, rgba(17, 22, 13, .35) 45%, rgba(17, 22, 13, .2) 100%),
    linear-gradient(90deg, rgba(17, 22, 13, .55) 0%, transparent 60%);
}
.hero__img { width: 100%; height: 112%; object-fit: cover; object-position: center 60%; transform: scale(1.18); animation: heroZoom 3.2s var(--ease-out) .1s forwards; will-change: transform; }
@keyframes heroClip { to { clip-path: inset(0 0 0 0); } }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__label { opacity: 0; animation: fadeUp 1.2s var(--ease-out) 1.2s forwards; }
.hero__title {
  color: var(--ivory); font-size: clamp(3.6rem, 11.5vw, 11.5rem); line-height: .92; letter-spacing: -.025em; font-weight: 400;
  margin: 0 0 clamp(40px, 6vw, 80px) -.04em;
}
.hero__title em { color: var(--green); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.6s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: .9s; }
.hero__title .line:nth-child(2) > span { animation-delay: 1.05s; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero__bottom {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  padding-top: 32px; border-top: 1px solid var(--line-light);
  opacity: 0; animation: fadeUp 1.4s var(--ease-out) 1.45s forwards;
}
.hero__lead { max-width: 46ch; color: var(--on-dark); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.hero__buttons { display: flex; align-items: center; gap: 36px; }

.hero__scroll {
  position: absolute; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark);
  opacity: 0; animation: fadeIn 1.2s var(--ease-out) 1.8s forwards;
  translate: 0 -50%;
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 72px; background: var(--line-light); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--green); animation: scrollLine 2.4s var(--ease-in-out) infinite; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   Visie
   ========================================================================== */
.visie { background: var(--paper); }
.statement {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.9rem, 3.9vw, 3.6rem); line-height: 1.18; letter-spacing: -.01em;
  max-width: 24em; text-indent: 12%;
}
.statement em { color: var(--green-deep); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); }
.fact { padding: 36px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact dt { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 1; color: var(--ink); margin-bottom: 14px; }
.fact dd { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); max-width: 30ch; line-height: 1.7; }

/* ==========================================================================
   Aanpak
   ========================================================================== */
.aanpak { background: var(--ivory); }
.aanpak__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 9vw, 150px); align-items: center; }
.aanpak__media .mask { aspect-ratio: 4 / 5; }
.aanpak__media figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.aanpak__text .h2 { margin-bottom: 32px; }
.aanpak__text .lead { margin-bottom: 56px; }
.pillars { border-top: 1px solid var(--line); }
.pillars li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 24px; align-items: baseline; }
.pillars h3 { font-size: 1.6rem; }
.pillars p { color: var(--muted); font-size: .98rem; }

/* Afbeeldingsmasker: onthult van onder naar boven */
.mask { position: relative; overflow: hidden; background: var(--moss); }
.mask img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.js .mask[data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js .mask[data-mask] img { scale: 1.25; transition: scale 2.2s var(--ease-out); }
.js .mask[data-mask].is-visible { clip-path: inset(0 0 0 0); }
.js .mask[data-mask].is-visible img { scale: 1; }

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 8vw, 110px); }
.section-head__text { color: var(--muted); max-width: 40ch; justify-self: end; font-size: 1.02rem; }

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise { background: var(--forest); color: var(--on-dark); }
.expertise .h2 { color: var(--ivory); }
.expertise .section-head__text { color: var(--on-dark); }

.services { border-top: 1px solid var(--line-light); }
.service {
  position: relative; display: grid; grid-template-columns: 11rem 1fr minmax(0, 26rem); gap: 32px; align-items: center;
  padding: 38px 0; border-bottom: 1px solid var(--line-light);
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-in-out);
}
.service__idx { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(239, 235, 226, .45); transition: color .6s var(--ease-in-out); }
.service__title { color: var(--ivory); font-size: clamp(2rem, 3.6vw, 3.4rem); transition: transform .9s var(--ease-out), color .6s var(--ease-in-out); }
.service__text { font-size: .98rem; color: rgba(239, 235, 226, .6); transition: color .6s var(--ease-in-out); }
.service__img { display: none; }

@media (hover: hover) and (min-width: 961px) {
  .services .service.is-visible { transition: opacity .7s var(--ease-in-out), transform 1.4s var(--ease-out); }
  .services:hover .service.is-visible { opacity: .35; }
  .services .service.is-visible:hover { opacity: 1; }
  .service:hover::before { transform: scaleX(1); }
  .service:hover .service__title { transform: translateX(24px); font-style: italic; }
  .service:hover .service__idx { color: var(--green); }
  .service:hover .service__text { color: var(--on-dark); }
}

.services__preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden;
  opacity: 0; scale: .85; translate: -50% -50%;
  transition: opacity .6s var(--ease-in-out), scale .9s var(--ease-out);
  will-change: transform;
}
.services__preview img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; transition: scale 1.4s var(--ease-out); }
.services__preview.is-on { opacity: 1; scale: 1; }
.services__preview.is-on img { scale: 1; }

/* ==========================================================================
   Avond
   ========================================================================== */
.night { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--ivory); }
.night__media { position: absolute; inset: -10% 0; }
.night__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.night__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 22, 13, .75), rgba(17, 22, 13, .1) 70%); }
.night__content { position: relative; }
.night__quote { font-family: var(--serif); font-size: clamp(2.6rem, 6.2vw, 6.2rem); line-height: 1.02; max-width: 11em; letter-spacing: -.02em; }
.night__quote em { color: var(--green); }
.night__sub { margin-top: 32px; max-width: 38ch; color: var(--on-dark); }

/* ==========================================================================
   Werkwijze
   ========================================================================== */
.steps { background: var(--paper); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 40px 32px 0 0; border-top: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-in-out);
}
.step.is-visible::before { transform: scaleX(1); transition-delay: calc(var(--d, 0s) + .3s); }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--green-deep); margin-bottom: 40px; }
.step h3 { font-size: 1.75rem; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Impressie
   ========================================================================== */
.gallery { background: var(--paper); padding-top: 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.g figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.g .mask img { height: 100%; }
.g .mask.is-visible img { transition: scale 1.6s var(--ease-out); }
.g:hover .mask.is-visible img { scale: 1.05; }
.g--a { grid-column: 1 / span 5; grid-row: span 2; }
.g--a .mask { aspect-ratio: 3 / 4.2; }
.g--b { grid-column: 7 / span 6; }
.g--b .mask { aspect-ratio: 3 / 2; }
.g--c { grid-column: 7 / span 3; }
.g--c .mask { aspect-ratio: 4 / 5; }
.g--d { grid-column: 10 / span 3; margin-top: 18%; }
.g--d .mask { aspect-ratio: 4 / 5; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--ivory); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 9vw, 150px); align-items: start; }
.faq__intro { position: sticky; top: 130px; }
.faq__intro .h2 { margin-bottom: 28px; }
.faq__intro .lead { margin-bottom: 36px; }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 30px 0; border: 0; background: none; text-align: left;
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; color: var(--ink);
  transition: color .5s var(--ease-in-out);
}
.acc__q:hover { color: var(--green-deep); }
.acc__q i { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .7s var(--ease-in-out); }
.acc__q i::after { transform: rotate(90deg); }
.acc.is-open .acc__q i::after { transform: rotate(0); }
.acc.is-open .acc__q i::before { transform: rotate(180deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-in-out); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; min-height: 0; }
.acc__a p { padding: 0 48px 32px 0; color: var(--muted); max-width: 62ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease-in-out), transform .8s var(--ease-out); }
.acc.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .2s; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .16; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(17, 22, 13, .4)); }
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 9vw, 150px); align-items: start; }
.contact .h2 { color: var(--ivory); margin-bottom: 28px; }
.contact .lead { color: var(--on-dark); }
.contact__list { margin-top: 56px; border-top: 1px solid var(--line-light); }
.contact__list li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.contact__list small { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(239, 235, 226, .45); }
.contact__list a, .contact__list span { color: var(--ivory); font-size: 1.05rem; word-break: break-word; transition: color .5s var(--ease-in-out); }
.contact__list a:hover { color: var(--green); }

.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 12px; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0;
  background: transparent; color: var(--ivory); font: inherit; font-size: 1.05rem; font-weight: 300;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; display: block; }
.field span {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  font-size: 1rem; color: rgba(239, 235, 226, .5);
  transform-origin: left top; transition: transform .6s var(--ease-out), color .5s var(--ease-in-out);
}
.field::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-in-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field textarea:focus { outline: none; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-22px) scale(.72); color: var(--green);
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); transition: background-color 9999s; }

.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 16px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(239, 235, 226, .55); }
.choice__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--line-light);
  font-size: .9rem; color: var(--on-dark);
  transition: border-color .5s var(--ease-in-out), background-color .5s var(--ease-in-out), color .5s var(--ease-in-out);
}
.choice label:hover span { border-color: rgba(239, 235, 226, .45); }
.choice input:checked + span { border-color: var(--green); background: rgba(133, 206, 25, .1); color: var(--ivory); }
.choice input:focus-visible + span { outline: 1px solid var(--green); outline-offset: 3px; }

.form__foot { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 8px; }
.form__note { font-size: .9rem; color: rgba(239, 235, 226, .5); }
.form__note.is-success { color: var(--green); }
.form__note.is-error { color: #e9a58d; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(239, 235, 226, .55); border-top: 1px solid var(--line-light); padding-top: clamp(72px, 9vw, 130px); }
.footer__top { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-light); }
.footer__claim { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: 1; color: var(--ivory); letter-spacing: -.02em; }
.footer__claim em { color: var(--green); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-block: 56px; }
.footer__brand img { height: 52px; width: auto; opacity: .9; }
.footer h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; color: rgba(239, 235, 226, .4); margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .5s var(--ease-in-out); }
.footer a:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line-light); font-size: .8rem; letter-spacing: .06em; }
.credit svg { width: 1em; height: 1em; vertical-align: -.15em; color: var(--green); }

/* ==========================================================================
   Scroll-animaties
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease-in-out) var(--d, 0s), transform 1.4s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Woord-voor-woord onthulling (door script opgesplitst) */
.w { display: inline-block; overflow: hidden; text-indent: 0; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(115%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 28ms); }
.js [data-split].is-visible .w > span { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  /* Logo, menu en CTA passen net naast elkaar tot het burgermenu het overneemt */
  .header__inner { gap: 24px; }
  .nav__list { gap: clamp(18px, 2.2vw, 28px); }
  .service { grid-template-columns: 8rem 1fr minmax(0, 20rem); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .header__cta { display: none; }
  .burger { display: block; z-index: 2; }
  /* Logo blijft zichtbaar boven het geopende menu */
  .header__logo { position: relative; z-index: 2; flex-shrink: 0; display: flex; align-items: center; min-height: 44px; }

  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--ink);
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 130px var(--gutter) 40px;
    overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 1s var(--ease-in-out), visibility 0s linear 1s;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-in-out), visibility 0s; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list li { overflow: hidden; }
  .nav__list a {
    font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.6rem); letter-spacing: -.01em; text-transform: none; color: var(--ivory); line-height: 1.15;
    transform: translateY(110%); transition: transform 1s var(--ease-out), color .5s var(--ease-in-out);
  }
  .nav__list a::after { display: none; }
  .nav__list a:hover { color: var(--green); font-style: italic; }
  .menu-open .nav__list a { transform: none; }
  .menu-open .nav__list li:nth-child(1) a { transition-delay: .35s; }
  .menu-open .nav__list li:nth-child(2) a { transition-delay: .42s; }
  .menu-open .nav__list li:nth-child(3) a { transition-delay: .49s; }
  .menu-open .nav__list li:nth-child(4) a { transition-delay: .56s; }
  .menu-open .nav__list li:nth-child(5) a { transition-delay: .63s; }
  .nav__foot { display: grid; justify-items: start; gap: 0; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--on-dark); opacity: 0; transition: opacity .8s var(--ease-in-out); }
  .menu-open .nav__foot { opacity: 1; transition-delay: .7s; }
  .menu-open .header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero__scroll { display: none; }
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }

  .aanpak__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .aanpak__media { max-width: 560px; }
  .faq__intro { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head__text { justify-self: start; }

  .service { grid-template-columns: 1fr; gap: 10px; padding: 36px 0 40px; }
  .service__img { display: block; order: -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; }
  .services__preview { display: none; }

  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .step:nth-child(3) { padding-left: 0; }

  .gallery__grid { grid-template-columns: repeat(6, 1fr); }
  .g--a { grid-column: 1 / span 6; grid-row: auto; }
  .g--a .mask { aspect-ratio: 4 / 3; }
  .g--b { grid-column: 1 / span 6; }
  .g--c { grid-column: 1 / span 3; }
  .g--d { grid-column: 4 / span 3; margin-top: 0; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Tablet: beeld en tekst naast elkaar in plaats van zes schermvullende foto's onder elkaar */
@media (min-width: 641px) and (max-width: 960px) {
  .aanpak__media { max-width: none; }
  .aanpak__media .mask { aspect-ratio: 3 / 2; }

  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 36px; row-gap: 10px; padding: 32px 0; }
  .service__img { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 4 / 3; margin-bottom: 0; }
  .service__idx { grid-column: 2; grid-row: 2; }
  .service__title { grid-column: 2; grid-row: 3; }
  .service__text { grid-column: 2; grid-row: 4; }
}

/* Touchscreens en smalle schermen: tikdoelen van minimaal 44px hoog */
@media (max-width: 960px), (pointer: coarse) {
  .link-line { padding-top: 15px; }
  .nav__foot a { display: inline-block; padding-block: 9px; }
  .contact__list li { padding-block: 12px; }
  .contact__list a { display: inline-block; padding-block: 8px; }
  .footer ul { gap: 0; }
  .footer ul li { display: flex; align-items: center; min-height: 44px; }
  .footer ul a { display: inline-block; padding-block: 10px; }
  .footer__bottom a { display: inline-block; padding-block: 11px; margin-block: -11px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__logo img { height: 38px; }
  .hero__title { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero__buttons { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero__buttons .link-line { align-self: center; }
  .btn { width: 100%; padding: 20px 24px; }
  .statement { text-indent: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 16px; }
  .fact dt { margin: 0; font-size: 3.2rem; }
  .pillars li { grid-template-columns: 1fr; gap: 6px; }
  .steps__list { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step, .step:nth-child(3) { padding: 32px 0 36px; }
  .step__num { margin-bottom: 18px; }
  .gallery__grid { gap: 14px; }
  .g--c, .g--d { grid-column: span 3; }
  .g figcaption { font-size: .95rem; margin-top: 8px; }
  .night { min-height: 78vh; min-height: 78svh; }
  .acc__q { padding: 24px 0; }
  .acc__a p { padding-right: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Kleine telefoons (320-400px) */
@media (max-width: 400px) {
  .hero__title { font-size: clamp(3rem, 16vw, 5rem); }
  .fact, .fact + .fact { grid-template-columns: 6rem 1fr; }
  .fact dt { font-size: 2.8rem; }
  .fact dd { letter-spacing: .16em; }
  .choice span { padding-inline: 14px; }
}

/* Liggende telefoon: hero en menu passen op een lage viewport (staat na de 640px-regels zodat deze wint) */
@media (max-height: 560px) and (orientation: landscape) {
  .hero__content { padding-top: calc(var(--header-h) + 16px); padding-bottom: 28px; }
  .hero__title { font-size: clamp(2.8rem, 19vh, 6rem); margin-bottom: 28px; }
  .hero__bottom { gap: 20px; padding-top: 22px; }
  .hero__lead { font-size: .95rem; line-height: 1.6; }
  .hero__buttons { flex-direction: row; align-items: center; gap: 28px; }
  .hero__buttons .btn { width: auto; }
}
@media (max-height: 560px) and (orientation: landscape) and (min-width: 760px) {
  .hero__bottom { grid-template-columns: 1fr auto; gap: 32px; }
}
@media (max-height: 560px) and (orientation: landscape) and (max-width: 960px) {
  .nav { padding-top: calc(var(--header-h) + 8px); padding-bottom: 24px; }
  .nav__list a { font-size: clamp(1.9rem, 10vh, 2.6rem); line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
