/* Gerovit, voorbeeldsite. Basis uit ui-ux-pro-max (landbouwverhuur: Swiss, stappen naar de actie, groen voor de plek);
   kleuren van het veld: donker loofgroen, licht stoppelgroen, maïsgeel alleen voor cijfers. */

@font-face { font-family: "Bitter"; font-style: normal; font-display: swap; font-weight: 500 800; src: url("fonts/bitter-var.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("fonts/source-sans-3-var.woff2") format("woff2"); }

:root {
  --ground: #eef1ec;
  --surface: #ffffff;
  --step: #dfe6db;
  --ink: #14261a;
  --ink-2: #3a4c40;
  --action: #2f6b3a;
  --action-press: #24562e;
  --field: #1f4a2b;
  --field-2: #173a21;
  --maize: #f0c23a;
  --font-d: "Bitter", Georgia, serif;
  --font-t: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --t-h1: clamp(2.375rem, 1.2rem + 5vw, 5.5rem);
  --t-h1-split: clamp(2.375rem, 1.4rem + 2.6vw, 3.5rem);
  --t-h2: clamp(1.875rem, 1.3rem + 1.8vw, 2.875rem);
  --t-h3: 1.625rem;
  --t-body: 1.1875rem;
  --t-small: 1rem;
  --gap-section: clamp(88px, 7vw + 48px, 168px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-t); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--action); }
h1, h2, h3 { font-family: var(--font-d); margin: 0; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; font-weight: 800; }
h2 { font-size: var(--t-h2); line-height: 1.06; }
h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 14px 12px; margin: 0 -12px; white-space: nowrap; color: inherit; text-decoration: underline; }
.demo-note a:hover { color: inherit; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -10px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 2px; font-family: var(--font-t); font-weight: 700; font-size: var(--t-body); text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.btn svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease-out); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-press); color: #fff; }
.btn-quiet { background: var(--step); color: var(--ink); }
.btn-quiet:hover { background: #cdd7c8; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); color: var(--ink); }
.btn-big { min-height: 60px; padding: 0 26px; }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); }
.bar { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.wordmark:hover { color: var(--ink); }
.wordmark svg { width: 30px; height: 36px; flex: none; }
.wm-text { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: var(--font-d); font-weight: 800; font-size: var(--t-h3); letter-spacing: .01em; }
.wm-sub { font-size: 1rem; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.nav-links { display: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links a[aria-current="page"] { color: var(--action); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.head-call { min-height: 44px; padding: 0 14px; }
.head-call .num { display: none; }
.head-mail { min-width: 44px; min-height: 44px; padding: 0 12px; }
.head-mail .label { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--surface); box-shadow: 0 18px 40px rgba(20, 38, 26, .2); /* taste-skill-ignore: menu is a real overlay */ display: flex; flex-direction: column; padding: 8px; }
.menu-panel a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--ground); }
@media (max-width: 479px) { .wm-sub { display: none; } }
@media (min-width: 560px) { .head-mail .label { display: inline; } }
@media (min-width: 720px) { .head-call .num { display: inline; } .head-call .short { display: none; } }
@media (min-width: 1220px) { .nav-links { display: flex; gap: 2px; margin-right: 12px; } .menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 4vw, 64px); }
.hero-grid { display: grid; gap: 28px; }
.hero-grid h1 { font-size: var(--t-h1-split); line-height: 1.04; }
.lead { margin-top: 20px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-pic { margin: 0; }
.frame { overflow: hidden; background: var(--step); aspect-ratio: 3 / 2; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: var(--t-small); color: var(--ink-2); margin-top: 10px; }
.since { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; margin-top: 30px; }
.since b { font-family: var(--font-d); font-weight: 800; font-size: var(--t-h2); line-height: 1; grid-row: span 2; color: var(--action); }
.since span { font-weight: 600; line-height: 1.3; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .hero-pic .frame { aspect-ratio: 1 / 1; }
  .lead { font-size: var(--t-h3); line-height: 1.42; }
}
@media (prefers-reduced-motion: no-preference) { .js .hero-pic .frame img { animation: settle 2.6s var(--ease-out) both; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }

/* ---------- Secties ---------- */
.section { padding-top: var(--gap-section); }
.section-head { display: grid; gap: 18px; }
@media (min-width: 980px) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; } }
main > section:last-child:not(.close) { padding-bottom: var(--gap-section); }

/* ---------- Twee vakken ---------- */
.duo { display: grid; gap: 56px; margin-top: 40px; }
.duo article { display: grid; gap: 18px; align-content: start; }
.duo figure { margin: 0; }
.duo h3 { font-size: var(--t-h3); font-weight: 800; }
.duo ul { display: grid; gap: 8px; }
.duo li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.duo li svg { width: 22px; height: 22px; margin-top: 3px; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Drooghulp ---------- */
.dry-band { background: var(--field); color: #fff; margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 128px) 0; }
.dry-band a { color: #fff; }
.dry-band ::selection { background: var(--maize); color: var(--ink); }
.dry-grid { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 980px) { .dry-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } }
.d-field + .d-field { margin-top: 22px; }
.d-field > label, .d-field > legend { display: block; font-family: var(--font-t); font-weight: 700; font-size: var(--t-body); margin-bottom: 10px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.crops { display: flex; flex-wrap: wrap; gap: 8px; }
.crops label { position: relative; }
.crops input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.crops span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--field-2); font-weight: 600; border-radius: 2px; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.crops input:checked + span { background: var(--maize); color: var(--ink); }
.crops input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.crops label:hover span { background: #0f2c18; }
.crops label:hover input:checked + span { background: var(--maize); }
.num-in { display: flex; align-items: center; gap: 10px; }
.num-in input { width: 7.5ch; min-height: 52px; padding: 0 12px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); font-family: var(--font-d); font-weight: 700; font-size: var(--t-h3); text-align: right; font-variant-numeric: tabular-nums; }
.num-in span { font-weight: 600; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.d-out { background: var(--field-2); padding: clamp(22px, 3vw, 36px); border-radius: 2px; }
.d-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.d-big strong { font-family: var(--font-d); font-weight: 800; font-size: var(--t-h2); line-height: 1; color: var(--maize); font-variant-numeric: tabular-nums; }
.d-big span { font-family: var(--font-d); font-weight: 700; font-size: var(--t-h3); }
.d-sub { margin-top: 10px; }
.bar-split { display: flex; height: 44px; margin-top: 26px; border-radius: 2px; overflow: hidden; background: #0f2c18; }
.bar-split i { display: block; height: 100%; transition: flex-grow 420ms var(--ease-out); }
.bar-split .dry { background: var(--maize); flex: 85 1 0; }
.bar-split .water { background: #7fb2e5; flex: 15 1 0; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.bar-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bar-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 2px; background: var(--maize); }
.bar-legend span.w::before { background: #7fb2e5; }
.d-out .btn { margin-top: 26px; }
.d-note { margin-top: 18px; max-width: 62ch; color: #dbe7dc; }
.nojs-note { margin-top: 14px; }
.js .nojs-note { display: none; }

/* ---------- Sinds 1986 ---------- */
.heritage { display: grid; gap: 32px; }
.heritage figure { margin: 0; }
.heritage .year { font-family: var(--font-d); font-weight: 800; font-size: clamp(4rem, 1.5rem + 12vw, 13rem); line-height: 1; letter-spacing: -0.03em; color: var(--action); margin-top: 28px; }
.heritage > figure:first-child { order: 2; }
@media (min-width: 980px) { .heritage { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; } .heritage > figure:first-child { order: 0; } }

/* ---------- Werkwijze ---------- */
.steps-band { background: var(--step); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 120px) 0; }
.steps { display: grid; gap: 32px; margin-top: 40px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps svg { width: 56px; height: 56px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Werkgebied ---------- */
.area { display: grid; gap: 32px; }
.area figure { margin: 0; }
.area .frame { aspect-ratio: 4 / 5; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.towns li { background: var(--surface); padding: 8px 14px; border-radius: 2px; font-weight: 600; }
.towns li.home { background: var(--action); color: #fff; }
@media (min-width: 980px) { .area { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; } .area .frame { aspect-ratio: 1 / 1; } }

/* ---------- Vragen ---------- */
.faq { display: grid; gap: 28px; }
.faq-list details { background: var(--surface); border-radius: 2px; }
.faq-list details + details { margin-top: 8px; }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 20px; font-family: var(--font-d); font-weight: 700; font-size: var(--t-body); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 24px; height: 24px; transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details > div { padding: 0 20px 22px; max-width: 44rem; }
@media (min-width: 640px) { .faq-list summary { font-size: var(--t-h3); line-height: 1.25; } }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } }

/* ---------- Slot en voet ---------- */
.close { background: var(--action); color: #fff; margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 128px) 0; }
.close a { color: #fff; }
.close-grid { display: grid; gap: 32px; }
.tel-big { display: inline-block; font-family: var(--font-d); font-weight: 800; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.01em; margin-top: 22px; padding-block: 8px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .14em; white-space: nowrap; }
.close .btn-light { margin-top: 24px; }
.close-facts { display: grid; gap: 22px; align-content: start; }
.close-facts h3 { margin-bottom: 4px; }
@media (min-width: 700px) { .close-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } .close-facts { padding-top: 12px; } }
@media (min-width: 1000px) { .close-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; } }
.site-footer { background: var(--ink); color: #c8d3cb; padding: 80px 0 40px; }
.foot-mark { font-family: var(--font-d); font-weight: 800; color: var(--ground); font-size: clamp(4rem, 1.5rem + 12vw, 13rem); line-height: .85; letter-spacing: -0.03em; margin: 0; }
.foot-grid { display: grid; gap: 24px; margin-top: 40px; font-size: var(--t-small); }
.foot-grid b { color: var(--ground); display: block; font-weight: 700; }
.foot-grid a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }
.foot-grid a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.credits { margin-top: 32px; font-size: var(--t-small); color: #a8b6ac; max-width: 72ch; }
.credits a { color: inherit; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Fotorij en contact ---------- */
.strip { display: grid; gap: 16px; margin-top: 36px; }
.strip figure { margin: 0; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-grid { display: grid; gap: 40px; margin-top: 36px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-row + .form-row { margin-top: 18px; }
.field-l label { display: block; font-weight: 700; margin-bottom: 6px; }
.field-l .hint { font-weight: 400; color: var(--ink-2); }
.field-l input, .field-l select, .field-l textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #9fb0a3; border-radius: 2px; background: var(--surface); font-size: 1.0625rem; }
.field-l textarea { min-height: 128px; resize: vertical; }
.field-l input:focus, .field-l select:focus, .field-l textarea:focus { outline: 3px solid rgba(47, 107, 58, .35); outline-offset: 0; border-color: var(--action); }
.field-l [aria-invalid="true"] { border-color: #b42318; }
.err { color: #b42318; font-weight: 600; margin-top: 6px; display: none; }
.err.show { display: block; }
.hp { position: absolute; left: -9999px; overflow: hidden; }
.form .btn { margin-top: 24px; }
.form-done { display: none; }
.form-done.show { display: block; background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.form-done h2 { font-size: var(--t-h3); line-height: 1.2; }
.form-done p { margin-top: 12px; }
.aside-block + .aside-block { margin-top: 32px; }
.aside-block h2 { font-size: var(--t-h3); line-height: 1.2; }
.aside-block p { margin-top: 10px; }
.aside-block .big-link { font-family: var(--font-d); font-weight: 800; font-size: var(--t-h3); text-decoration: underline; text-decoration-thickness: 2px; display: inline-block; margin-top: 8px; padding-block: 8px; overflow-wrap: anywhere; }

/* ---------- Beweging ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.close .btn-light, .close .btn-light:hover { color: var(--ink); }
.pair { margin-top: 22px; }
.pair .d-field + .d-field { margin-top: 0; }
@media (max-width: 399px) { .head-mail { display: none; } }
.dry-grid { grid-template-columns: minmax(0, 1fr); }
.dry-grid > * { min-width: 0; }
.num-in input { width: 100%; max-width: 7.5ch; min-width: 0; }
@media (min-width: 980px) { .dry-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
