/* Armad Weegapparatuur & Advies — versie 2
   Huisstijl uit het logo: Armad-groen (#7ac043), antraciet en het grijs van de golflijn.
   Donkere openingsruimte en voettekst (dezelfde achtergrond), daartussen rustige lichte inhoud
   met afwisselend beeld/tekst op zachte panelen. */

@font-face { font-family: "Advent Pro"; font-weight: 300; font-display: swap; src: url("/assets/fonts/advent-pro-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Advent Pro"; font-weight: 400; font-display: swap; src: url("/assets/fonts/advent-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Advent Pro"; font-weight: 500; font-display: swap; src: url("/assets/fonts/advent-pro-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 400; font-display: swap; src: url("/assets/fonts/quicksand-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 500; font-display: swap; src: url("/assets/fonts/quicksand-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url("/assets/fonts/quicksand-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand: #86ad62;          /* gedempt groen uit de achtergrond */
  --brand-ink: #557d3a;      /* donker achtergrondgroen voor koppen en knoppen op licht */
  --brand-hover: #45682e;
  --char: #161c18;           /* antraciet uit de achtergrond */
  --char-2: #222b25;
  --wave: #737a7d;           /* grijs van de golflijn in het logo */
  --text: #343a36;
  --muted: #687069;
  --bg: #ffffff;
  --panel: #f3f5f2;
  --line: #e1e6e1;
  --danger: #b42318;
  --f-display: "Advent Pro", "Arial Narrow", Arial, sans-serif;
  --f-body: "Quicksand", "Trebuchet MS", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(22,28,24,.06), 0 10px 30px rgba(22,28,24,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 1rem; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--brand-ink); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; color: #000; padding: .5rem 1rem; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- donkere vlakken (opening en voettekst) ---------- */
.kv, .footer {
  background-color: var(--char);
  background-image: url("/assets/img/achtergrond.jpg");
  background-image: image-set(url("/assets/img/achtergrond.webp") type("image/webp"), url("/assets/img/achtergrond.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}

/* ---------- openingsruimte ---------- */
.kv { position: relative; color: #fff; text-align: center; min-height: min(100svh, 860px); display: flex; flex-direction: column; }
.kv--sub { min-height: min(62svh, 560px); }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.8rem; padding: 1.4rem 1rem .5rem; }
.nav a { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: .02em; color: #e9efe9; text-decoration: none; padding: .25rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -3px; height: 2px; background: var(--brand); transition: left .25s, right .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { left: 0; right: 0; }
.nav a[aria-current="page"] { color: #fff; }
.kv-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 1rem 1rem; }
.kv-logo { width: min(620px, 82vw); height: auto; }
.kv--sub .kv-logo { width: min(460px, 74vw); }
.kv h1 { font-size: clamp(1.9rem, 4.8vw, 3.2rem); color: var(--brand); font-weight: 300; max-width: 24ch; margin-top: 1.4rem; letter-spacing: .01em; }
.kv .slogan { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dfe6df; }
.kv .slogan::before, .kv .slogan::after { content: ""; display: inline-block; width: 2.2rem; height: 1px; background: var(--wave); vertical-align: middle; margin: 0 .8rem; }
.scroll { display: inline-block; margin: .8rem auto 1.4rem; color: var(--brand); }
.scroll svg { width: 32px; height: 32px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- kerncijfers onder de opening ---------- */
.facts { background: var(--char-2); color: #e7ece7; border-top: 1px solid rgba(134,173,98,.35); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.facts li { padding: 1.2rem 1rem; text-align: center; font-size: .9rem; color: #c9d1ca; }
.facts li + li { border-left: 1px solid rgba(255,255,255,.08); }
.facts b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; color: var(--brand); line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .facts li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); } }

/* ---------- inhoud ---------- */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section[data-pt0] { padding-top: 0; }
.section--panel { background: var(--bg); }
.page-h, .intro h2 { text-align: center; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.page-h::after, .intro h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--brand); margin: .9rem auto 0; border-radius: 2px; }
.text { display: grid; gap: 1rem; font-size: 1rem; }
.text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.text h3 { font-size: 1.5rem; margin-top: .8rem; }

.feature { display: grid; gap: 1.8rem; align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 7vw, 5rem); }
.feature h2, .feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.feature h2::before, .feature h3::before { content: ""; display: block; width: 40px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: .9rem; }
.feature > * { min-width: 0; }
.feature figure { margin: 0; background: #eef1ee; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.feature figure img { width: 100%; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature:nth-of-type(even) > figure { order: 2; }
}
.cta { text-align: center; margin-top: 2.8rem; }
.btn { display: inline-block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; letter-spacing: .02em; color: #fff; background: var(--brand-ink); border: 0; border-radius: 6px; padding: .75rem 1.8rem; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(69,104,46,.22); transition: background .2s, transform .2s; }
.btn:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* ---------- formulier ---------- */
form.contact { display: grid; gap: 1.1rem; margin-top: 2rem; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: clamp(1.2rem, 4vw, 2.2rem); }
.row-2 { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .3rem; min-width: 0; }
.field label { font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { font: inherit; color: var(--text); width: 100%; border: 1px solid #cdd5cf; border-radius: 6px; padding: .6rem .75rem; background: #fff; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(134,173,98,.25); }
.field .err { color: var(--danger); font-size: .85rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.consent input { margin-top: .35rem; accent-color: var(--brand-ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: .85rem; color: var(--muted); }
.form-status { padding: .8rem 1rem; border-left: 3px solid var(--brand); background: var(--panel); }

/* ---------- voettekst ---------- */
.footer { color: #dfe6df; text-align: center; border-top: 3px solid var(--brand); background-position: center 80%; }
.footer .wrap { padding-block: 3.4rem 2rem; display: grid; gap: .45rem; justify-items: center; }
.footer-logo { width: 200px; height: auto; margin-bottom: 1.2rem; }
.footer h2 { color: var(--brand); font-weight: 500; font-size: 1.7rem; letter-spacing: .14em; margin-bottom: .5rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--brand); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.4rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); width: 100%; font-size: .9rem; }
.footer-nav a { color: #c9d1ca; }
.copy { font-size: .8rem; color: #9aa59c; margin-top: .4rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kv .slogan { margin-top: .6rem; }
.kv .slogan { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--brand); letter-spacing: .03em; margin-top: 1.4rem; }
.kv .slogan::before, .kv .slogan::after { background: rgba(134,173,98,.55); width: 3rem; }
@media (max-width: 520px) { .kv .slogan::before, .kv .slogan::after { width: 1.2rem; margin: 0 .5rem; } }
