@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --groen: #008c67;        /* merkkleur: vlakken, knoppen met grote vette tekst */
  --groen-tekst: #00725a;  /* donkerder, voor kleine groene tekst */
  --groen-licht: #e4f3ee;
  --inkt: #0f1a17;
  --grijs: #586661;
  --vlak: #f3f6f5;
  --lijn: #d8e0dd;
  --wit: #fff;
  --rand: clamp(20px, 4vw, 48px);
  --sectie: clamp(96px, 13vw, 184px);
  --breed: 1200px;
  --zacht: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wit); color: var(--inkt);
  font: 400 19px/1.5 "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ol, fieldset { margin: 0; padding: 0; border: 0; }
ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-weight: 700; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(42px, 6.4vw, 84px); }
h3 { font-size: clamp(25px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--groen); outline-offset: 3px; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 50; padding: 12px 20px; background: var(--inkt); color: var(--wit); border-radius: 12px; }
.skip:focus { top: 12px; }

/* Merk */
.merk { display: inline-flex; align-items: center; min-height: 44px; font-size: 30px; font-weight: 800; letter-spacing: -.055em; line-height: 1; text-decoration: none; color: var(--inkt); }
.merk-i { position: relative; margin-left: .07em; }
.merk-i::before { content: ""; position: absolute; left: 50%; top: .2em; width: .21em; height: .21em; margin-left: -.08em; border-radius: 50%; background: var(--groen); }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--groen); color: var(--wit);
  font: inherit; font-weight: 700; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s, transform .2s var(--zacht);
}
.knop:hover { background: #007a5a; }
.knop:active { transform: scale(.97); }

/* Balk */
.balk { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
.balk-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--breed) + 2 * var(--rand)); height: 64px; margin: auto; padding: 0 var(--rand); }
.balk nav { display: flex; gap: 34px; }
.balk nav a { display: flex; align-items: center; min-height: 44px; color: var(--inkt); font-size: 16px; font-weight: 500; text-decoration: none; }
.balk nav a:hover { color: var(--groen-tekst); }
.balk-knop { display: flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--groen-licht); color: #005c48; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s; }
.balk-knop:hover { background: #cfe9e0; }

/* Hero */
.hero { padding: clamp(44px, 5.5vw, 76px) var(--rand) 0; }
.hero-tekst { max-width: 1000px; margin: auto; text-align: center; animation: binnen .8s var(--zacht) both; }
.hero h1 { font-size: clamp(46px, 7.2vw, 96px); letter-spacing: -.048em; line-height: .98; }
.hero-sub { max-width: 33em; margin: clamp(18px, 2vw, 26px) auto 0; color: var(--grijs); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; text-wrap: balance; }
.naamveld { display: flex; max-width: 580px; margin: clamp(26px, 2.6vw, 36px) auto 0; padding: 6px; border: 2px solid var(--inkt); border-radius: 999px; background: var(--wit); transition: border-color .2s, box-shadow .2s; }
.naamveld:focus-within { border-color: var(--groen); box-shadow: 0 0 0 5px var(--groen-licht); }
.naamveld input { flex: 1; min-width: 0; padding: 0 12px 0 22px; border: 0; background: none; color: var(--inkt); font: inherit; font-size: 20px; font-weight: 500; }
.naamveld input:focus { outline: 0; }
input::placeholder { color: #64716c; opacity: 1; }

.proef { max-width: var(--breed); margin: clamp(38px, 4vw, 56px) auto 0; animation: binnen .9s .12s var(--zacht) both; }
.branches { display: flex; justify-content: center; gap: 4px; width: fit-content; min-width: 0; margin: 0 auto 20px; padding: 4px; border-radius: 999px; background: var(--vlak); }
.branches label { position: relative; cursor: pointer; }
.branches input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.branches span { display: flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; color: var(--grijs); font-size: 16px; font-weight: 600; transition: background .25s, color .25s; }
.branches label:hover span { color: var(--inkt); }
.branches input:checked + span { background: var(--wit); color: var(--inkt); box-shadow: 0 1px 4px rgb(15 26 23 / .14); }
.branches input:focus-visible + span { outline: 3px solid var(--groen); outline-offset: 1px; }

.venster { overflow: hidden; border-radius: clamp(16px, 2vw, 26px); background: var(--vlak); box-shadow: 0 0 0 1px rgb(15 26 23 / .09), 0 36px 80px -32px rgb(15 26 23 / .34); }
.adresbalk { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 16px; }
.adresbalk span { overflow: hidden; min-width: min(340px, 74%); max-width: 100%; padding: 5px 18px; border-radius: 9px; background: var(--wit); color: var(--grijs); font-size: 14px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.scherm { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; background: var(--wit); }

/* De vier schetsen: elk een eigen opbouw. Maten in cqw, zodat ze meeschalen als een echt scherm. */
.site { --maat: min(var(--max), calc(var(--ruimte) / var(--tekens, 12))); position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity .5s, transform .8s var(--zacht), visibility 0s .5s; }
.site.actief { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.site-menu { position: absolute; z-index: 1; inset: 0 0 auto; display: flex; align-items: center; gap: 2.6cqw; padding: 2.5cqw 4cqw; font-size: 1.25cqw; line-height: 1.2; }
.site-menu b { margin-right: auto; font-size: 1.6cqw; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.site-menu i { font-style: normal; font-weight: 500; }
.site-tekst { position: absolute; z-index: 1; }
.site-tekst strong { display: block; font-size: var(--maat); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; white-space: nowrap; }
.site-tekst p { margin-top: 1.3cqw; font-size: 2cqw; line-height: 1.35; }
.site-tekst em { display: inline-block; margin-top: 2.4cqw; padding: 1.15cqw 2.2cqw; font-size: 1.35cqw; font-style: normal; font-weight: 700; line-height: 1.2; }

.site-agrarisch { --max: 8.4cqw; --ruimte: 132cqw; color: #fff; background: #45505a; }
.site-agrarisch > img { object-position: 60% 74%; }
.site-agrarisch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(19 28 33 / .68), rgb(19 28 33 / .34) 46%, rgb(19 28 33 / 0) 72%); }
.site-agrarisch .site-tekst { top: 8.6cqw; left: 4cqw; }
.site-agrarisch em { border-radius: .5cqw; background: #f5cf2e; color: #20270f; }

.site-schilder { --max: 6cqw; --ruimte: 72cqw; background: #f1eee8; color: #232b3b; }
.site-schilder > img { right: 0; width: 54%; object-position: 100% 50%; }
.site-schilder .site-menu { right: 54%; gap: 1.8cqw; }
.site-schilder .site-menu b { display: none; }
.site-schilder .site-tekst { left: 4cqw; bottom: 5cqw; width: 39cqw; }
.site-schilder em { background: #232b3b; color: #fff; }

.site-bouw { --max: 11cqw; --ruimte: 160cqw; background: #fff; color: #2b1d19; }
.site-bouw > img { top: auto; bottom: 0; height: 52%; object-position: 50% 62%; }
.site-bouw .site-menu b { color: #a3402a; }
.site-bouw .site-tekst { top: 8cqw; left: 4cqw; right: 4cqw; }
.site-bouw .site-tekst strong { line-height: 1.1; }
.site-bouw .site-tekst p { display: flex; align-items: center; justify-content: space-between; margin-top: .6cqw; }
.site-bouw em { margin: 0; border-radius: 9cqw; background: #a3402a; color: #fff; }

.site-hovenier { --max: 9cqw; --ruimte: 150cqw; background: #26452b; color: #fff; text-align: center; font-family: Georgia, "Times New Roman", serif; }
.site-hovenier::after { content: ""; position: absolute; inset: 0; background: rgb(18 46 24 / .56); }
.site-hovenier .site-menu { font-family: "Hanken Grotesk", sans-serif; }
.site-hovenier .site-tekst { inset: 17cqw 4cqw auto; }
.site-hovenier .site-tekst strong { font-weight: 400; letter-spacing: -.03em; line-height: 1.12; }
.site-hovenier em { border: 1px solid #fff; border-radius: 9cqw; font-family: "Hanken Grotesk", sans-serif; }

.proef-noot { max-width: 40em; margin: 22px auto 0; color: var(--grijs); font-size: 16px; text-align: center; text-wrap: balance; }

/* Werkwijze */
section:not(.hero, .aanvraag) { max-width: calc(var(--breed) + 2 * var(--rand)); margin: var(--sectie) auto 0; padding: 0 var(--rand); }
.werkwijze { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.werkwijze h2 { position: sticky; top: 112px; }
.werkwijze h2 span { color: var(--groen); }
.werkwijze li { padding: 34px 0 42px; border-top: 2px solid var(--inkt); }
.wanneer { margin-bottom: 14px; color: var(--groen-tekst); font-weight: 700; }
.werkwijze li div p { max-width: 30em; margin-top: 10px; color: var(--grijs); }

/* Werk */
.kop { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.kop p { padding-bottom: .4em; color: var(--grijs); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.42; }
.werk-beeld { overflow: hidden; border-radius: clamp(16px, 2vw, 28px); }

/* Wat je krijgt */
.krijgt > h2 { max-width: 12em; margin-bottom: clamp(32px, 4vw, 56px); }
.tegels { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.tegel { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 330px; padding: clamp(28px, 3vw, 44px); overflow: hidden; border-radius: 28px; background: var(--vlak); }
.tegel p { max-width: 23em; margin-top: 12px; color: var(--grijs); }
.tegel-mobiel { grid-row: span 2; align-items: center; padding-bottom: 0; text-align: center; }
.tegel-mobiel p { margin-inline: auto; }
.telefoon { width: min(310px, 88%); height: 500px; padding: 9px 9px 0; overflow: hidden; border-radius: 46px 46px 0 0; background: var(--inkt); }
.telefoon img { width: 100%; border-radius: 37px 37px 0 0; }
.tegel-bel { background: var(--groen-licht); }
.tegel-bel p { color: #3d544c; }
.belknop { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--groen); }
.belknop svg { width: 42px; fill: var(--wit); }
.tegel-eigen { justify-content: flex-end; background: var(--inkt); color: var(--wit); }
.tegel-eigen h3 { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.05; }
.tegel-eigen p { color: #b9c7c2; }

/* Prijs */
.keuzes { display: grid; grid-template-columns: 1fr 1fr; border-block: 2px solid var(--inkt); }
.keuzes article { padding: 40px clamp(0px, 4vw, 56px) 48px 0; }
.keuzes article + article { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--lijn); }
.keuzes h3 { font-size: 22px; }
.keuzes p { color: var(--grijs); }
.keuzes .bedrag { margin: 22px 0 18px; color: var(--inkt); font-size: clamp(40px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.bedrag small { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.klein { color: var(--grijs); font-size: 16px; }
.keuzes .klein { margin-top: 16px; }
.btw { margin-top: 20px; color: var(--grijs); font-size: 16px; }

/* Vragen */
.vragen { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.vragen h2 { font-size: clamp(40px, 4.8vw, 62px); }
details { border-bottom: 1px solid var(--lijn); }
details:first-child { border-top: 1px solid var(--lijn); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 16px 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--groen) 0 0) center / 100% 2.5px no-repeat, linear-gradient(var(--groen) 0 0) center / 2.5px 100% no-repeat; transition: transform .3s var(--zacht); }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 36em; padding: 0 40px 28px 0; color: var(--grijs); }

/* Aanvraag */
.aanvraag { margin-top: var(--sectie); background: var(--groen); color: var(--wit); }
.aanvraag-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; max-width: calc(var(--breed) + 2 * var(--rand)); margin: auto; padding: clamp(72px, 10vw, 148px) var(--rand); }
.aanvraag h2 { overflow-wrap: anywhere; }
.aanvraag-tekst p { margin-top: 24px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; text-wrap: balance; }
.kaart { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--wit); color: var(--inkt); }
.kaart label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600; }
.kaart label span { color: var(--grijs); font-weight: 400; }
.kaart input { width: 100%; height: 56px; margin-bottom: 22px; padding: 0 18px; border: 1px solid #83918c; border-radius: 14px; background: var(--wit); color: var(--inkt); font: inherit; }
.kaart input:focus { border-color: var(--groen); outline: 3px solid #b9dfd2; outline-offset: 0; }
.kaart .knop { width: 100%; padding: 0 12px; }
.kaart .klein { margin-top: 14px; text-align: center; text-wrap: balance; }
.liever { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--lijn); text-align: center; }
.liever a { display: inline-flex; align-items: center; min-height: 44px; color: var(--groen-tekst); font-weight: 700; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: calc(var(--breed) + 2 * var(--rand)); margin: auto; padding: 36px var(--rand); color: var(--grijs); font-size: 16px; }
footer > a:last-child { display: flex; align-items: center; min-height: 44px; }

.onderbalk { display: none; }

/* Beweging */
@keyframes binnen { from { opacity: 0; transform: translateY(22px); } }
/* Alleen een kleine verschuiving: inhoud is nooit onzichtbaar, ook niet bij snel scrollen. */
@supports (animation-timeline: view()) {
  .op { animation: schuif linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes schuif { from { transform: translateY(44px); } }

@media (max-width: 860px) {
  .balk nav { display: none; }
  .werkwijze, .kop, .vragen, .aanvraag-in { grid-template-columns: 1fr; }
  .werkwijze h2 { position: static; }
  .tegels { grid-template-columns: 1fr; }
  .tegel { min-height: 280px; }
  .telefoon { height: 440px; }
  .keuzes { grid-template-columns: 1fr; }
  .keuzes article { padding: 32px 0 36px; }
  .keuzes article + article { padding-left: 0; border-top: 1px solid var(--lijn); border-left: 0; }

  .onderbalk { position: fixed; z-index: 30; inset: auto 0 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); box-shadow: 0 -1px 0 var(--lijn); visibility: hidden; transform: translateY(100%); transition: transform .35s var(--zacht), visibility 0s .35s; }
  .onderbalk.toon { visibility: visible; transform: none; transition-delay: 0s; }
  .onderbalk .knop { flex: 1; }
  .onder-bel { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--groen-licht); }
  .onder-bel svg { width: 25px; fill: var(--groen-tekst); }
}

@media (max-width: 600px) {
  .naamveld { flex-direction: column; gap: 10px; padding: 0; border: 0; border-radius: 0; }
  .naamveld:focus-within { box-shadow: none; }
  .naamveld input { flex: none; height: 60px; padding: 0 22px; border: 2px solid var(--inkt); border-radius: 999px; text-align: center; }
  .naamveld input:focus { border-color: var(--groen); box-shadow: 0 0 0 4px var(--groen-licht); }
  .branches { width: 100%; justify-content: space-between; gap: 0; }
  .branches span { padding: 0 clamp(5px, 2.4vw, 12px); font-size: 15px; }
  .adresbalk { height: 42px; }

  /* Op de telefoon tonen de schetsen ook echt een telefoonindeling */
  .scherm { aspect-ratio: 4 / 5; }
  .site-menu { padding: 5cqw 6cqw; }
  .site-menu b { font-size: 4.4cqw; }
  .site-menu i { display: none; }
  .site-menu::after { content: ""; width: 6cqw; height: 2.2cqw; border-block: 2px solid; }
  .site-tekst strong { white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
  .site-tekst p { margin-top: 2.5cqw; font-size: 4.8cqw; }
  .site-tekst em { margin-top: 5cqw; padding: 3cqw 5cqw; font-size: 4cqw; }
  .site-agrarisch, .site-schilder, .site-bouw, .site-hovenier { --max: 13cqw; --ruimte: 240cqw; }
  .site-agrarisch > img { top: 20%; height: 90%; object-position: 72% 50%; -webkit-mask-image: linear-gradient(transparent, #000 24%); mask-image: linear-gradient(transparent, #000 24%); }
  .site-agrarisch .site-tekst { top: 18cqw; left: 6cqw; right: 6cqw; }
  .site-schilder > img { top: 0; width: 100%; height: 45%; }
  .site-schilder .site-menu { display: none; }
  .site-schilder .site-tekst { left: 6cqw; right: 6cqw; bottom: 6cqw; width: auto; }
  .site-bouw > img { height: 41%; }
  .site-bouw .site-tekst { top: 17cqw; left: 6cqw; right: 6cqw; }
  .site-bouw .site-tekst p { display: block; }
  .site-bouw em { display: table; margin-top: 4cqw; }
  .site-hovenier .site-tekst { inset: 42cqw 5cqw auto; }

  footer { flex-wrap: wrap; }
  footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
