/* ============================================================
   Terralingua – designsysteem en stylesheet (één bestand, alle talen)
   Opzet volgens PvE Responsive website v2.0:
   - design tokens als CSS custom properties (kleur, typografie, spacing)
   - 8-punts spacingschaal, typografische schaal, regellengte max 70ch
   - alle interactiestatussen (default/hover/focus-visible/active/disabled/
     loading/error/success/empty)
   - mobile-first, 320 px, 200 % zoom, touchdoelen ≥ 24 px (primair 44 px)
   - alleen transform/opacity-animaties, prefers-reduced-motion
   - donkere modus: bewust uitgesloten (color-scheme: light only)
   Contrastwaarden staan in 01 Opgeleverd/Designsysteem.
   ============================================================ */

/* ---------- Webfonts (lokaal, SIL OFL, font-display: swap) ---------- */
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light only;

  /* Kleur – primair / secundair / accent / neutraal */
  --kleur-primair: #ef8a10;        /* Terralingua-oranje: vlakken, knoppen (met donkere tekst) */
  --kleur-primair-tekst: #a85a00;  /* oranje voor tekst en iconen op licht (≥ 4,5:1) */
  --kleur-primair-licht: #fff1de;  /* zachte oranje achtergrond */
  --kleur-secundair: #2b2620;      /* antraciet: koppen, donkere secties, footer */
  --kleur-accent: #ffb75c;         /* accent op donker */
  --kleur-creme: #fbf6ee;          /* afwisselende sectieachtergrond */
  --kleur-wit: #ffffff;
  --kleur-tekst: #3a342d;
  --kleur-tekst-zacht: #6f675e;
  --kleur-tekst-op-donker: #e9e2d8;
  --kleur-tekst-zacht-op-donker: #b9b0a4;
  --kleur-lijn: #e6ddd0;
  --kleur-lijn-sterk: #857c72;   /* formulierranden, ≥ 3:1 op wit */
  --kleur-knoptekst: #1e1a15;

  /* Statuskleuren */
  --status-fout: #b3261e;
  --status-fout-licht: #fdecea;
  --status-succes: #1f6b3a;
  --status-succes-licht: #e6f4ea;
  --status-info: #234e70;
  --status-info-licht: #e8f0f7;
  --status-waarschuwing: #7a4b00;
  --status-waarschuwing-licht: #fff4dd;

  /* Typografie – schaal (major second/third gemengd), regelhoogte, regellengte */
  --font-tekst: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-kop: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fs-klein: 0.875rem;   /* 14 px – onderschriften, meta */
  --fs-basis: 1.0625rem;  /* 17 px – lopende tekst */
  --fs-lead: 1.2rem;      /* 19 px – intro's */
  --fs-h4: 1.0625rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --lh-tekst: 1.65;
  --lh-kop: 1.2;
  --maat: 70ch;           /* regellengte-maximum lopende tekst (45–80 tekens) */

  /* Spacing – 8-puntsschaal */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;

  /* Vorm */
  --radius-s: 8px; --radius-m: 12px; --radius-l: 16px; --radius-pil: 999px;
  --schaduw: 0 10px 30px rgba(43, 38, 32, 0.08);
  --schaduw-s: 0 2px 0 rgba(43, 38, 32, 0.03);
  --focus: 3px solid var(--kleur-secundair);

  /* Layout */
  --max: 1120px;
  --marge: clamp(1rem, 4vw, 1.5rem);

  /* Beweging */
  --duur: 300ms;
  --easing: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-tekst);
  font-size: var(--fs-basis);
  line-height: var(--lh-tekst);
  color: var(--kleur-tekst);
  background: var(--kleur-wit);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
h1, h2, h3, h4 {
  font-family: var(--font-kop);
  color: var(--kleur-secundair);
  line-height: var(--lh-kop);
  margin: 0 0 .5em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p, li, dd, dt { max-width: var(--maat); }
p { margin: 0 0 1em; }
a { color: var(--kleur-primair-tekst); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
a:active { opacity: .85; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
.donker :focus-visible, .cta-band :focus-visible, footer.site :focus-visible, .topbar :focus-visible { outline-color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--marge); }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--kleur-primair-tekst); margin-bottom: .8em;
}
.lead { font-size: var(--fs-lead); color: var(--kleur-tekst-zacht); max-width: 62ch; }
.zacht { color: var(--kleur-tekst-zacht); }
.klein { font-size: var(--fs-klein); }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0; }
.h2-klein { font-size: 1.5rem; }
.max-42 { max-width: 42ch; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--kleur-secundair); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--kleur-secundair); color: var(--kleur-tekst-zacht-op-donker); font-size: var(--fs-klein); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #f3ede4; text-decoration: none; padding: 6px 0; display: inline-block; }
.topbar a:hover { text-decoration: underline; }
.topbar .contact-inline { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.lang { display: flex; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.lang a {
  display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: var(--radius-pil);
  font-weight: 700; letter-spacing: .06em; font-size: .78rem; color: #f3ede4; border: 1px solid transparent; text-decoration: none;
}
.lang a:hover { border-color: #6b6258; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--kleur-primair); color: var(--kleur-knoptekst); }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--kleur-lijn);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s-5); position: relative; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--kleur-primair); display: grid; place-items: center;
  color: #fff; font-family: var(--font-kop); font-weight: 700; font-size: 1.15rem;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.logo .word { font-family: Arial, Helvetica, sans-serif; font-size: 1.25rem; letter-spacing: .22em; text-transform: uppercase; color: var(--kleur-secundair); line-height: 1; }
.logo .word span { color: var(--kleur-primair-tekst); }
.logo small { display: block; letter-spacing: .1em; font-size: .62rem; color: var(--kleur-tekst-zacht); margin-top: 5px; text-transform: uppercase; }

nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-1); }
nav.main a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; white-space: nowrap; border-radius: var(--radius-s);
  color: var(--kleur-secundair); font-weight: 600; font-size: .98rem; text-decoration: none;
}
nav.main a:hover { background: var(--kleur-primair-licht); }
nav.main a[aria-current="page"] { color: var(--kleur-primair-tekst); box-shadow: inset 0 -3px 0 var(--kleur-primair-tekst); border-radius: var(--radius-s) var(--radius-s) 0 0; }
nav.main .cta a { background: var(--kleur-primair); color: var(--kleur-knoptekst); }
nav.main .cta a:hover { background: var(--kleur-primair-tekst); color: #fff; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--kleur-lijn-sterk); border-radius: var(--radius-s);
  width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--kleur-secundair); transition: transform var(--duur) var(--easing), opacity var(--duur); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Knoppen (alle statussen) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 10px 24px;
  border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--kleur-primair); color: var(--kleur-knoptekst); border: 2px solid var(--kleur-primair);
  transition: background var(--duur) var(--easing), color var(--duur) var(--easing), transform var(--duur) var(--easing);
}
.btn:hover { background: var(--kleur-primair-tekst); border-color: var(--kleur-primair-tekst); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: #8f4c00; border-color: #8f4c00; color: #fff; }
.btn:focus-visible { outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(30,26,21,.25); border-top-color: var(--kleur-knoptekst); animation: draai .8s linear infinite;
}
.btn.ghost { background: transparent; color: var(--kleur-secundair); border-color: var(--kleur-secundair); }
.btn.ghost:hover { background: var(--kleur-secundair); color: #fff; }
.btn.ghost:active { background: #000; border-color: #000; }
.btn.klein { min-height: 40px; padding: 6px 16px; font-size: .95rem; }
.btn-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
@keyframes draai { to { transform: rotate(360deg); } }

/* ---------- Meldingen ---------- */
.melding { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--radius-m); border: 1px solid; margin: 0 0 var(--s-5); max-width: var(--maat); }
.melding p { margin: 0; }
.melding.fout { background: var(--status-fout-licht); border-color: var(--status-fout); color: #6a1710; }
.melding.succes { background: var(--status-succes-licht); border-color: var(--status-succes); color: #17462a; }
.melding.info { background: var(--status-info-licht); border-color: var(--status-info); color: #1c3a52; }
.melding.waarschuwing { background: var(--status-waarschuwing-licht); border-color: var(--status-waarschuwing); color: #5a3800; }
.melding ul { margin: .4em 0 0; }
.leeg { padding: var(--s-6); text-align: center; color: var(--kleur-tekst-zacht); border: 1px dashed var(--kleur-lijn-sterk); border-radius: var(--radius-m); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--kleur-creme) 0%, var(--kleur-wit) 100%); padding: var(--s-8) 0 var(--s-7); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-7); align-items: center; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .ring {
  width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd9a6, var(--kleur-primair) 70%);
  display: grid; place-items: center; box-shadow: var(--schaduw);
}
.hero-visual .ring img { width: 78%; height: auto; aspect-ratio: 250 / 249; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hero-visual .badge { position: absolute; right: 0; bottom: -8px; background: #fff; padding: 10px 12px; border-radius: var(--radius-m); box-shadow: var(--schaduw); border: 1px solid var(--kleur-lijn); }
.hero-visual .badge img { width: 150px; aspect-ratio: 2 / 1; }
.pijlers { display: flex; gap: var(--s-4) var(--s-5); flex-wrap: wrap; margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.pijlers li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.pijlers li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--kleur-primair-tekst); flex: none; }

/* ---------- Secties ---------- */
section { padding: var(--s-8) 0; }
section.alt { background: var(--kleur-creme); }
section.donker { background: var(--kleur-secundair); color: var(--kleur-tekst-op-donker); }
section.donker h2, section.donker h3 { color: #fff; }
section.donker .kicker { color: var(--kleur-accent); }
section.donker a { color: #fff; }
.sectiekop { max-width: var(--maat); margin-bottom: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.uitlijn-start { align-items: start; }
.kaart { background: #fff; border: 1px solid var(--kleur-lijn); border-radius: var(--radius-l); padding: var(--s-5) var(--s-5) var(--s-5); box-shadow: var(--schaduw-s); }
.kaart h3 { margin-top: .2em; }
.kaart .ic {
  width: 44px; height: 44px; border-radius: var(--radius-m); background: var(--kleur-primair-licht); color: var(--kleur-primair-tekst);
  display: grid; place-items: center; font-weight: 700; margin-bottom: var(--s-3); font-family: var(--font-kop); font-size: 1.2rem;
}
.kaart p:last-child { margin-bottom: 0; }
.kaart ul { margin: .4em 0 0; padding-left: 1.1em; color: var(--kleur-tekst-zacht); }
.kaart ul li { margin-bottom: .25em; }

/* ---------- Profiel ---------- */
.profiel { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-7); align-items: start; }
.profiel figure { margin: 0; }
.profiel figure img { border-radius: var(--radius-l); box-shadow: var(--schaduw); width: 100%; aspect-ratio: 200 / 235; object-fit: cover; }
.profiel figcaption { margin-top: var(--s-3); font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); }
.feiten { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-2); }
.feiten li { display: flex; gap: var(--s-3); align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--kleur-lijn); border-radius: 10px; max-width: none; }
.feiten li strong { color: var(--kleur-secundair); }
.feiten .vink { color: var(--kleur-primair-tekst); font-weight: 700; flex: none; }

/* ---------- Waarom ---------- */
.waarom { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-6); list-style: none; padding: 0; margin: 0; }
.waarom li { padding-left: 36px; position: relative; max-width: none; }
.waarom li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--kleur-primair); color: var(--kleur-knoptekst); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.waarom strong { display: block; color: inherit; margin-bottom: .15em; }

/* ---------- Tarieven ---------- */
.tabel-scroll { overflow-x: auto; }
table.tarief { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--schaduw); }
table.tarief caption { text-align: left; font-weight: 600; color: var(--kleur-tekst-zacht); padding: 0 0 var(--s-3); font-size: var(--fs-klein); }
table.tarief th, table.tarief td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--kleur-lijn); vertical-align: top; }
table.tarief thead th { background: var(--kleur-secundair); color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
table.tarief tbody th { font-weight: 400; color: var(--kleur-tekst); }
table.tarief tbody th strong { display: block; color: var(--kleur-secundair); font-size: 1.05rem; }
table.tarief td.prijs { font-family: var(--font-kop); font-size: 1.25rem; color: var(--kleur-primair-tekst); white-space: nowrap; font-weight: 600; }
table.tarief tbody tr:last-child th, table.tarief tbody tr:last-child td { border-bottom: 0; }
table.tarief th small, table.tarief td small { display: block; color: var(--kleur-tekst-zacht); font-size: var(--fs-klein); margin-top: 2px; }
.voorwaarden { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.voorwaarden .kaart { padding: var(--s-5); }
.voorwaarden .kaart strong { display: block; color: var(--kleur-primair-tekst); font-family: var(--font-kop); font-size: 1.35rem; margin-bottom: .2em; }
.noot { font-size: .95rem; color: var(--kleur-tekst-zacht); margin-top: var(--s-5); }

/* ---------- Portfolio ---------- */
.klanten { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.klanten li { background: #fff; border: 1px solid var(--kleur-lijn); border-radius: 10px; padding: 14px 16px; font-weight: 600; color: var(--kleur-secundair); display: flex; align-items: center; min-height: 64px; max-width: none; }
.klanten li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kleur-primair-tekst); margin-right: 12px; flex: none; }
.sectoren { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.sectoren li { background: var(--kleur-primair-licht); color: var(--kleur-primair-tekst); padding: 6px 14px; border-radius: var(--radius-pil); font-weight: 600; font-size: .9rem; }

/* ---------- FAQ (accordeon, werkt zonder JS via details/summary) ---------- */
.faq { display: grid; gap: var(--s-3); max-width: 78ch; }
.faq details { background: #fff; border: 1px solid var(--kleur-lijn); border-radius: var(--radius-m); padding: 0 var(--s-5); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--kleur-secundair); padding: var(--s-4) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--kleur-primair-tekst); flex: none; width: 28px; text-align: center; transition: transform var(--duur) var(--easing); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--kleur-primair-tekst); }
.faq details > div { padding: 0 0 var(--s-4); color: var(--kleur-tekst); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact en formulieren ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: start; }
.contact-blok dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); }
.contact-blok dt { color: var(--kleur-tekst-zacht); font-size: var(--fs-klein); padding-top: 3px; }
.contact-blok dd { margin: 0; font-weight: 600; color: var(--kleur-secundair); }
.contact-blok dd a { color: var(--kleur-secundair); }
.contact-blok dd a:hover { color: var(--kleur-primair-tekst); }
form.aanvraag { background: #fff; border: 1px solid var(--kleur-lijn); border-radius: var(--radius-l); padding: var(--s-6); box-shadow: var(--schaduw); }
.veld { margin-bottom: var(--s-4); }
.veld label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--kleur-secundair); }
.veld label .optioneel { font-weight: 400; color: var(--kleur-tekst-zacht); }
.veld input, .veld select, .veld textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--kleur-lijn-sterk); border-radius: var(--radius-s);
  font: inherit; color: var(--kleur-tekst); background: #fff;
}
.veld textarea { min-height: 140px; resize: vertical; }
.veld input:hover, .veld select:hover, .veld textarea:hover { border-color: var(--kleur-tekst-zacht); }
.veld input:focus-visible, .veld select:focus-visible, .veld textarea:focus-visible { outline: var(--focus); outline-offset: 1px; border-color: var(--kleur-secundair); }
.veld input[disabled], .veld select[disabled], .veld textarea[disabled] { background: #f3efe8; color: var(--kleur-tekst-zacht); cursor: not-allowed; }
.veld.is-fout input, .veld.is-fout select, .veld.is-fout textarea { border-color: var(--status-fout); border-width: 2px; background: #fffafa; }
.veld .fout { display: none; color: var(--status-fout); font-size: .92rem; margin-top: 6px; font-weight: 600; }
.veld.is-fout .fout { display: flex; gap: 6px; }
.veld.is-fout .fout::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--status-fout); color: #fff; font-size: .75rem; display: grid; place-items: center; margin-top: 3px; }
.veld.is-goed input, .veld.is-goed textarea { border-color: var(--status-succes); }
.veld .hulp { font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); margin-top: 6px; }
.rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
form.aanvraag .btn { width: 100%; }
form.aanvraag .privacy { font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); margin: var(--s-3) 0 0; }

/* ---------- Juridische / tekstpagina's ---------- */
.tekst { max-width: var(--maat); }
.tekst h2 { font-size: 1.45rem; margin-top: var(--s-6); }
.tekst h3 { font-size: 1.15rem; margin-top: var(--s-5); }
.tekst table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: var(--s-4) 0; }
.tekst th, .tekst td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--kleur-lijn); vertical-align: top; }
.tekst th { background: var(--kleur-creme); font-weight: 600; }
.versie { font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); }

/* ---------- Kruimelpad ---------- */
.kruimels { font-size: var(--fs-klein); margin: 0 0 var(--s-4); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--kleur-tekst-zacht); }
.kruimels li { max-width: none; }
.kruimels li + li::before { content: "›"; margin-right: 6px; }
.kruimels a { color: var(--kleur-tekst-zacht); display: inline-block; padding: 4px 0; }

/* ---------- CTA-band ---------- */
.cta-band { background: var(--kleur-primair); color: var(--kleur-knoptekst); padding: var(--s-7) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.cta-band h2 { color: var(--kleur-knoptekst); margin: 0 0 .2em; }
.cta-band p { margin: 0; }
.cta-band .btn { background: var(--kleur-secundair); border-color: var(--kleur-secundair); color: #fff; }
.cta-band .btn:hover { background: #000; border-color: #000; }

/* ---------- Paginakop ---------- */
.paginakop { background: var(--kleur-creme); padding: var(--s-6) 0 var(--s-6); border-bottom: 1px solid var(--kleur-lijn); }
.paginakop h1 { margin-bottom: .3em; }
.paginakop p { max-width: 64ch; color: var(--kleur-tekst-zacht); font-size: var(--fs-lead); margin: 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--kleur-secundair); color: var(--kleur-tekst-zacht-op-donker); padding: var(--s-7) 0 var(--s-5); font-size: .95rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
footer.site h2 { color: #fff; font-family: var(--font-tekst); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8em; }
footer.site a { color: #efe8dd; display: inline-block; padding: 3px 0; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .2em; max-width: none; }
footer.site .onder { grid-column: 1 / -1; border-top: 1px solid #453e36; padding-top: var(--s-4); margin-top: var(--s-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); font-size: .85rem; }
footer.site .logo .word { color: #fff; }
footer.site .logo .word span { color: var(--kleur-accent); }
footer.site .logo small { color: var(--kleur-tekst-zacht-op-donker); }
footer.site .over { margin-top: var(--s-4); max-width: 42ch; }

/* ---------- 404 ---------- */
.p404 { text-align: center; padding: var(--s-9) 0; }
.p404 .code { font-family: var(--font-kop); font-size: clamp(4rem, 12vw, 8rem); color: var(--kleur-primair); line-height: 1; margin-bottom: var(--s-4); }
.p404 .talen { display: grid; gap: var(--s-6); max-width: 60ch; margin: var(--s-6) auto 0; text-align: left; }

/* ---------- Beweging ---------- */
/* Paginaovergang (View Transitions API, progressive enhancement; browsers zonder ondersteuning negeren dit) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 180ms var(--easing) both uit; }
::view-transition-new(root) { animation: 260ms var(--easing) both in; }
@keyframes uit { to { opacity: 0; } }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }
/* Sectie-onthulling: alleen actief als JS draait (html.js), content is zonder JS direct zichtbaar */
html.js .onthul { opacity: 0; transform: translateY(14px); transition: opacity 450ms var(--easing), transform 450ms var(--easing); }
html.js .onthul.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html.js .onthul { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Responsive (mobile-first uitzonderingen per formaat) ---------- */
@media (max-width: 1200px) and (min-width: 768px) {
  nav.main a { padding: 8px 9px; font-size: .93rem; }
  nav.main ul { gap: 0; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  nav.main .cta { display: none; }
}
@media (max-width: 1023px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual { grid-template-columns: auto auto; gap: var(--s-4); justify-content: center; align-items: center; }
  .hero-visual .ring { width: min(220px, 50vw); }
  .hero-visual .badge { position: static; }
  .hero-visual .badge img { width: 120px; }
  .grid-3, .waarom, .voorwaarden { grid-template-columns: 1fr 1fr; }
  .klanten { grid-template-columns: 1fr 1fr 1fr; }
  .profiel { grid-template-columns: 240px 1fr; gap: var(--s-6); }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  nav.main a { padding: 8px 10px; font-size: .95rem; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  section { padding: var(--s-7) 0; }
  .hero { padding: var(--s-6) 0 var(--s-6); }
  .grid-3, .grid-2, .waarom, .voorwaarden, .contact-grid, .profiel { grid-template-columns: 1fr; }
  .klanten { grid-template-columns: 1fr 1fr; }
  .profiel figure { max-width: 260px; }
  .rij { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .topbar .contact-inline { display: none; }
  .menu-btn { display: flex; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--kleur-lijn); box-shadow: var(--schaduw); max-height: calc(100dvh - 72px); overflow-y: auto; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding: var(--s-2) var(--s-4) var(--s-4); gap: 2px; }
  nav.main a { display: flex; }
  nav.main a[aria-current="page"] { box-shadow: none; background: var(--kleur-primair-licht); border-radius: var(--radius-s); }
  nav.main .cta { margin-top: var(--s-2); }
  nav.main .cta a { justify-content: center; }
  .contact-blok dl { grid-template-columns: 1fr; gap: var(--s-1) 0; }
  .contact-blok dt { margin-top: var(--s-3); }
  form.aanvraag { padding: var(--s-5); }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 400px) {
  .klanten { grid-template-columns: 1fr; }
  .logo .word { font-size: 1.05rem; letter-spacing: .18em; }
  table.tarief th, table.tarief td { padding: var(--s-3); }
}
@media print {
  .topbar, nav.main, .menu-btn, .cta-band, form.aanvraag, .skip { display: none !important; }
  header.site { position: static; }
  section { padding: var(--s-5) 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Woordenteller (woordenteller.html / fr/compteur-de-mots.html / ru/schetchik-slov.html) ---------- */
.wt-werkblad { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-5); align-items: start; }
.wt-drop { border: 2px dashed var(--kleur-lijn-sterk); border-radius: var(--radius-m); background: var(--kleur-creme); padding: var(--s-6) var(--s-5); text-align: center; transition: background var(--duur) var(--easing), border-color var(--duur) var(--easing); }
.wt-drop.actief { background: var(--kleur-primair-licht); border-color: var(--kleur-primair-tekst); }
.wt-drop svg { width: 40px; height: 40px; margin: 0 auto var(--s-3); color: var(--kleur-primair-tekst); }
.wt-drop h2 { font-size: var(--fs-h3); margin-bottom: .3em; }
.wt-drop p { margin: 0 auto; font-size: .95rem; color: var(--kleur-tekst-zacht); }
.wt-drop .btn { margin: var(--s-4) 0 var(--s-3); }
.wt-drop .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.wt-help { display: flex; gap: var(--s-2); align-items: flex-start; font-size: .95rem; color: var(--kleur-tekst-zacht); margin: var(--s-4) 0 0; max-width: none; }
.wt-help svg { width: 20px; min-width: 20px; height: 22px; color: var(--status-succes); }
.wt-status { min-height: 1.6em; font-size: .95rem; color: var(--kleur-tekst-zacht); margin: var(--s-3) 0 0; max-width: none; }
.wt-totaal { background: var(--kleur-secundair); color: var(--kleur-tekst-op-donker); border-radius: var(--radius-l); padding: var(--s-5); position: sticky; top: var(--s-4); }
.wt-totaal .label { color: var(--kleur-tekst-zacht-op-donker); font-size: .95rem; margin: 0; max-width: none; }
.wt-totaal .groot { font-family: var(--font-kop); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1.1; color: var(--kleur-accent); font-weight: 600; margin: .15em 0 .1em; overflow-wrap: anywhere; max-width: none; }
.wt-totaal hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: var(--s-5) 0 var(--s-4); }
.wt-metric { display: flex; justify-content: space-between; gap: var(--s-3); margin: var(--s-2) 0; font-size: .95rem; }
.wt-metric strong { color: #fff; font-weight: 600; }
.wt-totaal small { display: block; font-size: var(--fs-klein); color: var(--kleur-tekst-zacht-op-donker); margin-top: var(--s-4); }
.wt-resultaten { margin-top: var(--s-5); }
.wt-resultaten-kop { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.wt-resultaten-kop h2 { font-size: var(--fs-h3); margin: 0; }
.wt-empty { border: 1px solid var(--kleur-lijn); border-radius: var(--radius-m); padding: var(--s-5); color: var(--kleur-tekst-zacht); background: #fff; }
.wt-file { border: 1px solid var(--kleur-lijn); border-radius: var(--radius-m); background: #fff; margin-bottom: var(--s-3); overflow: hidden; box-shadow: var(--schaduw-s); }
.wt-file-top { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); }
.wt-file-icon { background: var(--kleur-primair-licht); color: var(--kleur-primair-tekst); border-radius: var(--radius-s); padding: 8px 6px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; min-width: 48px; text-align: center; }
.wt-file-info { flex: 1; min-width: 0; }
.wt-filename { font-weight: 600; color: var(--kleur-secundair); overflow-wrap: anywhere; }
.wt-file-meta { font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); margin-top: 2px; }
.wt-count { text-align: right; white-space: nowrap; font-family: var(--font-kop); font-weight: 600; font-size: 1.5rem; color: var(--kleur-primair-tekst); }
.wt-count small { display: block; font-family: var(--font-tekst); font-weight: 400; font-size: var(--fs-klein); color: var(--kleur-tekst-zacht); }
.wt-remove { border: 0; background: transparent; color: var(--kleur-tekst-zacht); font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; border-radius: var(--radius-s); cursor: pointer; }
.wt-remove:hover { background: var(--kleur-creme); color: var(--kleur-secundair); }
.wt-notice { margin: 0; padding: var(--s-3) var(--s-4); background: var(--status-waarschuwing-licht); color: var(--status-waarschuwing); border-top: 1px solid var(--kleur-lijn); font-size: .95rem; max-width: none; }
.wt-notice.wt-error { background: var(--status-fout-licht); color: var(--status-fout); }
.wt-preview { padding: 0 var(--s-4) var(--s-3); font-size: .95rem; }
.wt-preview summary { cursor: pointer; color: var(--kleur-primair-tekst); padding: var(--s-1) 0; }
.wt-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; background: var(--kleur-creme); padding: var(--s-4); border-radius: var(--radius-s); font: .95rem/1.6 var(--font-tekst); margin: var(--s-2) 0 0; }
.wt-methode { margin-top: var(--s-6); border-top: 1px solid var(--kleur-lijn); padding-top: var(--s-5); font-size: .95rem; color: var(--kleur-tekst-zacht); }
.wt-methode summary { font-weight: 600; color: var(--kleur-secundair); cursor: pointer; font-size: var(--fs-basis); }
.wt-methode p { margin-top: var(--s-3); }
.wt-methode strong { color: var(--kleur-secundair); }
@media (max-width: 767px) {
  .wt-werkblad { grid-template-columns: 1fr; }
  .wt-totaal { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
  .wt-totaal hr { display: none; }
  .wt-totaal .stats { border-left: 1px solid rgba(255,255,255,.18); padding-left: var(--s-4); }
  .wt-totaal small { grid-column: 1 / -1; }
  .wt-drop { padding: var(--s-5) var(--s-3); }
  .wt-file-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wt-drop { transition: none; } }
@media print { .wt-drop, .wt-remove, .wt-resultaten-kop button { display: none; } }
