/* Layout: white above ground, green below. The ground line cuts through the hero as a cross-section;
   everything after it stays quiet and left-aligned. The call button is the loudest element on every screen. */
:root {
  --wit: #ffffff;
  --mist: #eef6f0;        /* pale green surface */
  --olie: #c9de3f;        /* the fat layer, and the phone number on dark */
  --olie-zacht: #f4f8db;  /* surface behind the frying-oil block */
  --blad: #127a40;        /* brand green: call buttons and links */
  --blad-licht: #2fb56e;
  --diep: #0b3b2a;        /* underground, headings */
  --diep-2: #0f4a36;
  --nacht: #072a1e;       /* footer */
  --inkt: #10291f;        /* running text */
  --zacht: #476053;       /* secondary text */
  --lijn: #d3e3d8;
  --pijp: #9fc9b0;
  --pand: #d6e8dc;
  --op-diep: #c5dccd;     /* running text on the dark green */
  --rand: #a9c4b4;        /* form borders */
  --water-licht: #cfe6d8; /* water in the small pictograms */
  --olie-lijn: #dfe7a6;
  --lijn-mist: #c3d9cb;   /* hairline on the pale green surface */
  --leaf-1: #d9ece0;      /* the large pale leaf behind the truck */
  --leaf-2: #e5f2e9;
  --leaf-3: #eef4cf;
  --fout: #b3261e;
  --kop: "Special Gothic Expanded One", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --tekst: "Special Gothic", "Helvetica Neue", Arial, system-ui, sans-serif;
  --max: 76rem;
  --goot: clamp(1.125rem, 4vw, 2.5rem);
  --rond: 1.25rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wit);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 48em) { body { font-size: 1.125rem; } }

h1, h2, h3 { font-family: var(--kop); font-weight: 400; color: var(--diep); margin: 0; text-wrap: balance; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.8vw, 3rem); line-height: 1.04; }
h3 { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.18; letter-spacing: -0.005em; }
p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--blad); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--blad); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--olie); }
::selection { background: var(--olie); color: var(--diep); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--goot); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Parts of a call button that are hidden at some widths stay readable for screen readers */
.btn--header .btn__nr, .fab__nr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; background: var(--diep); color: var(--wit); padding: 0.7rem 1rem; border-radius: 0.6rem; }
.skip:focus { top: 0.75rem; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.7rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1.0625rem/1.1 var(--tekst); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--blad); color: var(--wit); }
.btn--call:hover { background: var(--diep); }
.btn--big { min-height: 4rem; padding: 0.85rem 1.7rem; font-size: 1.125rem; }
.btn__nr { font-family: var(--kop); font-weight: 400; font-size: 1.04em; white-space: nowrap; }
.btn--big .btn__nr { font-size: 1.16em; }
.btn__stack { display: flex; align-items: baseline; gap: 0.55em; }
@media (max-width: 29.99em) {
  .btn--big { gap: 0.9rem; min-height: 4.5rem; }
  .btn--big svg { width: 1.6rem; height: 1.6rem; }
  .btn--big .btn__stack { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .btn--big .btn__label { font-size: 0.875rem; font-weight: 600; opacity: 0.92; }
  .btn--big .btn__nr { font-size: 1.4rem; line-height: 1; }
}
@media (max-width: 22.49em) {
  .btn--big { padding-inline: 1.1rem; gap: 0.7rem; }
  .btn--big .btn__nr { font-size: 1.25rem; }
}

/* One-line call prompt that closes a section */
.call-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-top: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.call-line a { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--kop); font-size: 1.12em; color: var(--blad); text-decoration: none; white-space: nowrap; border-bottom: 2px solid currentColor; padding-bottom: 0.1em; }
.call-line a:hover { color: var(--diep); }
.call-line svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--wit); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.is-stuck { border-bottom-color: var(--lijn); }
.site-header__in { display: flex; align-items: center; gap: 0.75rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: auto; color: var(--diep); text-decoration: none; }
.logo svg { width: 2.4rem; height: 2.4rem; }
.logo__name { font: 400 1.125rem/1 var(--kop); letter-spacing: -0.015em; }
.logo .logo__img { display: block; width: auto; height: 2.4rem; max-width: 11rem; object-fit: contain; }
.site-footer .logo__img { height: 2.75rem; }
.lm-olie { fill: var(--olie); }
.lm-blad { fill: var(--blad); }
.lm-diep { fill: var(--diep); }
.lm-steel { fill: none; stroke: var(--diep); stroke-width: 3; stroke-linecap: round; }
.site-footer .lm-blad { fill: var(--blad-licht); }
.site-footer .lm-diep { fill: var(--wit); }
.site-footer .lm-steel { stroke: var(--wit); }
.site-nav { display: none; gap: 1.75rem; margin-right: 1.25rem; font-size: 1rem; }
.site-nav a { color: var(--inkt); font-weight: 500; text-decoration: none; padding-block: 0.35rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="true"] { border-bottom-color: var(--blad); }
.btn--header { min-height: 2.75rem; padding: 0.4rem 1rem; font-size: 0.9375rem; }
@media (max-width: 22.49em) {
  .site-header__in { gap: 0.5rem; }
  .logo { gap: 0.4rem; }
  .logo svg { width: 2.1rem; height: 2.1rem; }
  .logo__name { font-size: 1rem; }
  .btn--header { padding-inline: 0.8rem; }
}
@media (min-width: 30em) {
  .logo svg { width: 2.75rem; height: 2.75rem; }
  .logo .logo__img { height: 2.75rem; }
  .logo__name { font-size: 1.3125rem; }
  .btn--header .btn__nr { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .btn--header .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (min-width: 62em) {
  .site-nav { display: flex; }
  .site-header__in { min-height: 4.75rem; }
  .logo__name { font-size: 1.4375rem; }
  .btn--header { min-height: 3rem; padding-inline: 1.2rem; font-size: 1rem; }
  .btn--header .btn__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__stage { display: flex; flex-direction: column; }
.hero__in { flex: 1; display: grid; gap: clamp(1.25rem, 3vw, 2rem); padding-top: clamp(1.5rem, 4.5vw, 3.75rem); }
.hero__in > * { min-width: 0; }
.hero__copy { display: grid; gap: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
/* The heading text is edited in the admin, so its size adapts. index.php measures it in em:
   --fit is the widest word or kept-together line, --len the whole heading. The heading keeps its normal
   size unless the widest piece would not fit the column, or the text would run past about four lines.
   It never goes below 1.75rem; a word too long even then breaks rather than overflowing. */
.hero h1 {
  --fit: 7.5; --len: 25;
  --kolom: calc(min(100vw, var(--max)) - 2 * var(--goot));
  font-size: max(1.75rem, min(clamp(2.1rem, 9.4vw, 4.5rem), calc(var(--kolom) * 0.99 / var(--fit)), calc(var(--kolom) * 4.3 / var(--len))));
  line-height: 0.98; letter-spacing: -0.02em; overflow-wrap: anywhere;
}
.hero__side { display: grid; gap: 1.25rem; justify-items: start; }
.lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); line-height: 1.45; max-width: 36ch; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 1rem; color: var(--zacht); }
.hero__notes a { font-weight: 600; }
.hero__open { display: inline-flex; align-items: center; gap: 0.55em; }
.hero__open::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--blad-licht); box-shadow: 0 0 0 0.22em rgba(47, 181, 110, 0.25); }
.hero .btn--big { width: 100%; }
@media (min-width: 30em) { .hero .btn--big { width: auto; } }

/* The truck parks on the road; a large pale version of the logo leaf stands behind it */
.hero__visual { position: relative; margin-top: clamp(0.75rem, 4vw, 2rem); }
.hero__backdrop { position: absolute; z-index: 0; inset: 0; }
.hero__leaf { position: absolute; right: -10%; bottom: 10%; width: 74%; height: auto; }
.hl-onder { fill: var(--leaf-1); }
.hl-midden { fill: var(--leaf-2); }
.hl-boven { fill: var(--leaf-3); }
.truck { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
/* An uploaded photo takes the place of the drawn truck */
.hero__photo { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 26rem; object-fit: cover; border-radius: var(--rond) var(--rond) 0 0; }
@media (min-width: 36em) and (max-width: 61.99em) {
  .hero__visual { width: min(100%, 42rem); justify-self: end; }
}
@media (max-width: 35.99em) {
  .hero__visual { margin-top: 1.5rem; }
  .hero__leaf { width: 56%; right: -6%; bottom: 18%; }
}
/* Desktop: text in the left half, truck in the right half. The hero is as tall as its text
   plus even spacing above and below, so the truck and leaf fill the right half. */
@media (min-width: 62em) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); align-items: end; padding-top: 0; }
  .hero__copy { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
  .hero h1 {
    --kolom: calc((min(100vw, var(--max)) - 2 * var(--goot) - clamp(2rem, 4vw, 4rem)) / 2);
    font-size: max(1.75rem, min(clamp(2.75rem, 4.4vw, 4.5rem), calc(var(--kolom) * 0.99 / var(--fit)), calc(var(--kolom) * 4.3 / var(--len))));
  }
  .hero h1 .ln--heel { white-space: nowrap; }
  /* the truck may run into the gap on its left and into the page margin on its right */
  .hero__visual { --bleed: clamp(0px, (100vw - 71rem) / 2 - 1.5rem, 10rem); margin: 0 calc(-1 * var(--bleed)) 0 -2rem; }
  .hero__leaf { width: 72%; right: -4%; bottom: 20%; }
}

/* Two photos instead of the truck (admin "Beeld naast de kop"). They stand clear of the road with room
   to breathe below, the second one larger and overlapping the first; the pale leaf peeks out behind. */
.hero--fotos .hero__visual { padding-bottom: clamp(2rem, 6vw, 3rem); }
.hero__kaarten { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.hero__kaart { position: relative; margin: 0; min-width: 0; }
.hero__kaart img {
  display: block; width: 100%; height: auto; object-fit: cover; object-position: 50% 50%;
  border-radius: var(--rond); box-shadow: 0 1rem 2rem -1rem rgba(11, 59, 42, 0.45);
}
.hero__kaart--1 { margin-bottom: clamp(1rem, 3vw, 1.75rem); }
.hero__kaart--1 img { aspect-ratio: 805 / 640; }
.hero__kaart--2 { z-index: 2; margin-left: -12%; }
.hero__kaart--2 img { aspect-ratio: 698 / 770; box-shadow: 0 0 0 0.375rem var(--wit), 0 1rem 2rem -1rem rgba(11, 59, 42, 0.45); }
.hero__kaart figcaption {
  position: absolute; left: 0.75rem; top: 0.75rem; max-width: calc(100% - 1.5rem); padding: 0.3em 0.75em; border-radius: 999px;
  background: var(--wit); color: var(--diep); font: 600 0.875rem/1.2 var(--tekst); box-shadow: 0 2px 8px rgba(11, 59, 42, 0.18);
}
.hero__kaart--2 figcaption { left: auto; right: 0.75rem; }
@media (max-width: 35.99em) {
  .hero__kaart img { border-radius: 0.875rem; }
  .hero__kaart--2 img { box-shadow: 0 0 0 0.25rem var(--wit), 0 0.75rem 1.5rem -0.75rem rgba(11, 59, 42, 0.45); }
  .hero__kaart figcaption { left: 0.45rem; top: 0.45rem; max-width: calc(100% - 0.9rem); font-size: 0.75rem; }
  .hero__kaart--2 figcaption { left: auto; right: 0.45rem; }
  .hero--fotos .hero__leaf { width: 50%; right: -8%; bottom: 52%; }
}
@media (min-width: 62em) {
  /* the photos sit level with the text, with the same room above and below as the text has */
  .hero--fotos .hero__in { align-items: center; }
  .hero--fotos .hero__visual { padding-block: clamp(2.5rem, 5vw, 4.5rem); margin-left: 0; }
  .hero--fotos .hero__leaf { width: 58%; right: 0; bottom: 42%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__kaart { animation: kaart-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__kaart--2 { animation-delay: 0.15s; }
}
@keyframes kaart-in { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }

.road {
  height: 1.5rem; background-color: var(--diep-2);
  background-image: repeating-linear-gradient(90deg, var(--pijp) 0 2.5rem, transparent 2.5rem 4.25rem);
  background-size: 100% 3px; background-position: 0 50%; background-repeat: no-repeat;
}
.usp-band { background: var(--diep); color: var(--mist); }

.t-paint { fill: var(--blad); }
.t-dark { fill: var(--diep); }
.t-mid { fill: var(--diep-2); }
.t-light, .t-rim { fill: var(--pand); }
.t-white { fill: var(--wit); }
.t-glass { fill: var(--mist); }
.t-glint { fill: var(--wit); opacity: 0.85; }
.t-sheen { fill: var(--wit); opacity: 0.16; }
.t-shade, .t-seam { fill: var(--diep); opacity: 0.17; }
.t-face { fill: var(--diep); opacity: 0.22; }
.t-lamp { fill: var(--olie); }
.t-vent { fill: none; stroke: var(--pijp); stroke-width: 3; stroke-linecap: round; }
.t-rail, .t-arm { fill: none; stroke: var(--diep); stroke-width: 4; stroke-linecap: round; }
.t-door { fill: none; stroke: var(--diep); stroke-width: 2.5; opacity: 0.3; }
.t-guard { fill: none; stroke: var(--diep); stroke-width: 9; stroke-linecap: round; }
.t-hose { fill: var(--blad-licht); }
.t-hose-line { fill: none; stroke: var(--wit); stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; opacity: 0.8; }
.t-leaf-mid { fill: var(--blad-licht); }
.t-leaf-top { fill: var(--olie); }
.t-brand { font: 400 30px var(--kop); letter-spacing: -0.015em; fill: var(--wit); }
.t-phone { font: 400 16px var(--kop); fill: var(--olie); }
.t-shadow { fill: var(--diep); opacity: 0.22; }

/* One moment of motion: the truck rolls in and parks. Its wheels turn exactly as far as it travels. */
@media (prefers-reduced-motion: no-preference) {
  .truck { animation: truck-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .truck .wheel { transform-box: fill-box; transform-origin: center; animation: wheel-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .truck__body { animation: truck-settle 1.9s ease-out both; }
}
@keyframes truck-in { from { transform: translateX(22%); } to { transform: none; } }
@keyframes wheel-in { from { transform: rotate(252deg); } to { transform: none; } }
@keyframes truck-settle { 0%, 78% { transform: none; } 87% { transform: translateY(2px); } 100% { transform: none; } }

/* ---------- USP band ---------- */
.usps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem); }
.usps li { padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.2); min-width: 0; }
.usps li:last-child { grid-column: 1 / -1; }
.usps b { display: block; font: 400 1rem/1.15 var(--kop); color: var(--olie); }
.usps span { display: block; margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.4; color: var(--op-diep); }
@media (min-width: 36em) {
  .usps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .usps li { grid-column: span 2; }
  .usps li:nth-child(n + 4), .usps li:last-child { grid-column: span 3; }
  .usps b { font-size: 1.0625rem; }
}
@media (min-width: 62em) {
  .usps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
  .usps li, .usps li:nth-child(n + 4), .usps li:last-child { grid-column: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--mist { background: var(--mist); }
.section--olie { background: var(--olie-zacht); }
.section__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.intro { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5; color: var(--zacht); max-width: 40rem; }

/* Signals, with the two limits beside them */
.duo { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56em) { .duo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.signals { display: grid; gap: 1.75rem; }
.signals li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.35rem 1.1rem; align-items: start; }
.signals h3, .signals p { grid-column: 2; }
.signals p { max-width: 34rem; }
/* Small tank whose fat layer grows from the top down, as it does in the separator */
.fill { grid-row: 1 / span 2; width: 3rem; height: 3rem; border: 2.5px solid var(--diep); border-radius: 0.6rem; background: linear-gradient(to bottom, var(--olie) 0 var(--vol), var(--water-licht) var(--vol) 100%); }

.fullness { background: var(--diep); color: var(--op-diep); border-radius: var(--rond); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1.5rem; }
.fullness h3 { color: var(--wit); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.fullness p { font-size: 1.0625rem; line-height: 1.55; }
.gauge { display: grid; gap: 0.55rem; }
.gauge__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; color: var(--wit); }
.gauge__at { font-weight: 400; color: var(--op-diep); white-space: nowrap; }
.gauge__at b { margin-left: 0.3em; font: 400 1.5rem/1 var(--kop); color: var(--olie); }
.gauge__track { position: relative; height: 1.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.gauge__track i { position: absolute; inset: 0 auto 0 0; width: var(--tot); border-right: 3px solid var(--wit); }
.gauge--vet i { background: var(--olie); }
.gauge--slib i { background: var(--pijp); }

/* Steps */
.steps { display: grid; gap: 2rem; counter-reset: stap; }
.steps li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.4rem 1.1rem; counter-increment: stap; }
.steps li::before { content: counter(stap); grid-row: 1 / span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--diep); color: var(--olie); font: 400 1.25rem/1 var(--kop); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.5rem - 2px); top: 3rem; bottom: -2rem; width: 4px; background: var(--blad-licht); }
.steps h3, .steps p { grid-column: 2; }
.steps h3 { align-self: center; }
.steps p { font-size: 1.0625rem; line-height: 1.55; }
.steps a { font-family: var(--kop); white-space: nowrap; text-decoration: none; border-bottom: 2px solid currentColor; }
@media (min-width: 62em) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; align-content: start; }
  .steps li::before { grid-row: auto; margin-bottom: 0.5rem; }
  .steps li:not(:last-child)::after { left: 3rem; right: -2.5rem; top: calc(1.5rem - 2px); bottom: auto; width: auto; height: 4px; }
  .steps h3, .steps p { grid-column: 1; }
}
.steps-cta { margin-top: clamp(2.25rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.steps-cta p { color: var(--zacht); }

/* Tiles */
.tiles { display: grid; gap: 1rem; }
.tiles li { background: var(--mist); border-radius: var(--rond); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.6rem; align-content: start; }
.tiles p { font-size: 1.0625rem; line-height: 1.55; color: var(--inkt); }
.tiles li:nth-child(-n + 2) { background: var(--diep); }
.tiles li:nth-child(-n + 2) h3 { color: var(--wit); }
.tiles li:nth-child(-n + 2) p { color: var(--op-diep); }
@media (min-width: 40em) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .tiles li { grid-column: span 3; }
  .tiles li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 62em) {
  .tiles li:nth-child(n + 3), .tiles li:last-child { grid-column: span 2; }
  .tiles li:nth-child(-n + 2) { padding: 2.5rem; }
  .tiles li:nth-child(-n + 2) h3 { font-size: 1.625rem; }
  .tiles li:nth-child(-n + 2) p { font-size: 1.125rem; max-width: 30rem; }
}

/* Photo for the frying-oil block (admin: Foto bij Frituurolie). index.php places the same image twice.
   Phones: .team-photo, the whole photo between "Voor wie" and "Frituurolie".
   From 56em: .olie-photo, a tall column on the right of the frying-oil block, beside the stacked services. */
.team-photo { margin-top: calc(-1 * clamp(1.5rem, 5vw, 3.5rem)); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
.team-photo__frame { width: min(100%, 26rem); margin-inline: auto; }
.team-photo img { display: block; width: 100%; height: auto; border-radius: var(--rond); background: var(--mist); }
.olie-photo { display: none; }
@media (min-width: 56em) {
  .team-photo { display: none; }
  .section--met-foto .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .section--met-foto .wrap > :not(.olie-photo) { grid-column: 1; }
  .olie-photo {
    display: block; grid-column: 2; grid-row: 1 / span 4; position: relative; margin: 0; min-height: 30rem;
    border-radius: var(--rond); overflow: hidden; background: var(--mist); box-shadow: 0 1.25rem 2.5rem -1.5rem rgba(11, 59, 42, 0.45);
  }
  .olie-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--uitsnede, 53%); }
}

/* Frying oil */
.oil { display: grid; gap: 1.75rem; }
.oil li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.4rem 1.25rem; align-items: start; }
.oil svg { grid-row: 1 / span 2; width: 4rem; height: 4rem; }
.oil h3, .oil p { grid-column: 2; }
.oil p { font-size: 1.0625rem; line-height: 1.55; }
@media (min-width: 56em) {
  .oil { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .oil li { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; align-content: start; }
  .oil svg { grid-row: auto; width: 4.5rem; height: 4.5rem; margin-bottom: 0.4rem; }
  .oil h3, .oil p { grid-column: 1; }
}
@media (min-width: 56em) {
  .section--met-foto .oil { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .section--met-foto .oil li { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.4rem 1.25rem; }
  .section--met-foto .oil svg { grid-row: 1 / span 2; width: 4rem; height: 4rem; margin-bottom: 0; }
  .section--met-foto .oil h3, .section--met-foto .oil p { grid-column: 2; }
}
.oil-note { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1.5px solid var(--olie-lijn); max-width: 46rem; font-weight: 500; }
.pic-diep { fill: var(--diep); }
.pic-blad { fill: var(--blad); }
.pic-olie { fill: var(--olie); }
.pic-lijn { fill: none; stroke: var(--diep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Reviews */
.reviews { display: grid; gap: 1.25rem; }
.reviews li { display: grid; }
@media (min-width: 56em) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { display: grid; grid-template-rows: auto 1fr auto; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--rond); background: var(--mist); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.stars { display: inline-flex; gap: 0.15rem; color: var(--blad); }
.stars svg { width: 1.35rem; height: 1.35rem; }
.review blockquote p { font-size: 1.125rem; line-height: 1.5; }
.review figcaption { display: grid; gap: 0.15rem; padding-top: 1rem; border-top: 1.5px solid var(--lijn-mist); font-size: 0.9375rem; color: var(--zacht); }
.review figcaption b { font: 400 1rem/1.25 var(--kop); color: var(--diep); }

/* FAQ */
.faq-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 62em) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .faq-grid__side { position: sticky; top: 7rem; }
}
.faq-grid__side { display: grid; gap: 1.25rem; justify-items: start; }
.faq-grid__side p { color: var(--zacht); }
.faq details { border-top: 1.5px solid var(--lijn-mist); }
.faq details:last-child { border-bottom: 1.5px solid var(--lijn-mist); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; padding-block: 1.3rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }
.faq summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.1rem;
  background: linear-gradient(var(--blad), var(--blad)) center / 100% 3px no-repeat, linear-gradient(var(--blad), var(--blad)) center / 3px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; max-width: 60ch; }

/* ---------- Contact: call first, form beside it ---------- */
.call { background: var(--diep); color: var(--mist); }
.call h2 { color: var(--wit); }
.call__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.call__main { display: grid; gap: 1.5rem; justify-items: start; }
@media (min-width: 62em) {
  .call__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  /* the number stays in view while someone fills in the form */
  .call__main { position: sticky; top: 7rem; }
}
.call__number { display: inline-flex; align-items: center; gap: 0.35em; font: 400 clamp(1.75rem, 7.8vw, 4rem)/1 var(--kop); color: var(--olie); text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.call__number svg { width: 0.72em; height: 0.72em; }
.call__number:hover { color: var(--wit); }
@media (min-width: 62em) { .call__number { font-size: clamp(2.25rem, 3.9vw, 3.6rem); } }
.call__points { display: grid; gap: 0.6rem; font-size: 1.0625rem; }
.call__points li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.call__points svg { width: 1.5rem; height: 1.5rem; margin-top: 0.12em; color: var(--olie); }
.call__other { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); display: grid; gap: 0.5rem; width: 100%; color: var(--op-diep); }
.call__other a { color: var(--wit); font-weight: 600; }

.contact-form { background: var(--wit); color: var(--inkt); border-radius: var(--rond); padding: clamp(1.4rem, 3.5vw, 2.25rem); display: grid; gap: 1.1rem; }
.contact-form h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.contact-form > p { color: var(--zacht); font-size: 1rem; }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--rand); border-radius: 0.75rem; background: var(--wit); color: var(--inkt);
  font: 400 1rem/1.3 var(--tekst);
}
.field textarea { min-height: 7.5rem; padding-block: 0.75rem; line-height: 1.5; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blad); outline-offset: 1px; border-color: var(--blad); }
.field [aria-invalid="true"] { border-color: var(--fout); }
.field .hint { font-size: 0.875rem; color: var(--zacht); }
.field .error { color: var(--fout); font-size: 0.9375rem; font-weight: 500; }
.field-row { display: grid; gap: 1.1rem; align-items: start; }
@media (min-width: 30em) { .field-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.7rem; align-items: start; font-size: 1rem; cursor: pointer; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; accent-color: var(--blad); }
.contact-form .btn { width: 100%; }
.contact-form__status { font-weight: 600; }
.contact-form__status[data-kind="error"] { color: var(--fout); }
.contact-form__status[data-kind="ok"] { color: var(--blad); }
.contact-form__status:empty { display: none; }
.contact-form__privacy { font-size: 0.875rem; color: var(--zacht); }

/* ---------- Footer ---------- */
.site-footer { background: var(--nacht); color: var(--op-diep); padding-block: clamp(2.5rem, 6vw, 4rem) clamp(6rem, 10vw, 7rem); font-size: 1rem; }
.site-footer a { color: var(--wit); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 3rem; } }
.site-footer .logo { color: var(--wit); margin-bottom: 1rem; }
.site-footer h2 { font: 600 0.9375rem/1.3 var(--tekst); letter-spacing: 0; color: var(--pijp); margin-bottom: 0.75rem; }
.site-footer__grid li + li { margin-top: 0.4rem; }
.site-footer__about { max-width: 26rem; }
.site-footer__tel { font-family: var(--kop); font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.site-footer__legal { margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.9375rem; }

/* ---------- Floating call button ---------- */
.fab {
  position: fixed; z-index: 60;
  right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1.2rem 0.5rem 0.5rem; border-radius: 999px;
  background: var(--blad); color: var(--wit); text-decoration: none;
  box-shadow: 0 0 0 3px var(--wit), 0 0.75rem 1.75rem rgba(7, 42, 30, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
}
.fab:hover { background: var(--diep); }
.fab__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--olie); color: var(--diep); }
.fab__icon svg { width: 1.4rem; height: 1.4rem; }
.fab__text { display: grid; line-height: 1.1; }
.fab__label { font-weight: 700; font-size: 1.0625rem; }
.fab__nr { font: 400 1.125rem/1.15 var(--kop); white-space: nowrap; }
.fab.is-away { opacity: 0; transform: translateY(0.75rem); pointer-events: none; }
@media (min-width: 48em) {
  .fab { right: 1.5rem; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); padding-right: 1.4rem; }
  .fab__label { font-size: 0.875rem; font-weight: 600; opacity: 0.92; }
  .fab__nr { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: fab-pulse 6s ease-out 2.5s infinite; }
}
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 3px rgba(47, 181, 110, 0.55); }
  16%, 100% { box-shadow: 0 0 0 1.25rem rgba(47, 181, 110, 0); }
}

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

/* Cookie consent banner */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  padding: 1rem; background: rgba(7, 42, 30, 0.96);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
}
.cookie-consent__inner {
  max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.cookie-consent__text { margin: 0; color: rgba(255,255,255,0.92); font-size: 0.9375rem; line-height: 1.5; flex: 1 1 280px; }
.cookie-consent__text a { color: var(--olie); text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-consent__btn {
  border: none; border-radius: 10px; padding: 0.65rem 1.1rem;
  font-size: 0.875rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.cookie-consent__btn--primary { background: var(--olie); color: var(--diep); }
.cookie-consent__btn--secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.cookie-consent__btn:hover { filter: brightness(1.08); }
@media (max-width: 575px) {
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__btn { flex: 1 1 auto; }
}
