/* Het Groen Advies Buro — "Kavelkaart", lichte uitvoering
   Layout: de pagina als kaart van de openbare ruimte op warm papier. Een fijn kaartraster,
   brede kavels van inhoud, mono-labels als kaartlegenda. Kleuren uit het logo. */
:root {
  --ink: #f3f0e9;          /* warm gebroken wit, achtergrond */
  --ink-2: #ebe7de;        /* steengrijs, verhoogd vlak */
  --ink-3: #e2ddd1;        /* steen, actief vlak */
  --card: #fbfaf6;         /* kaart / invoerveld */
  --line: rgba(102, 78, 66, 0.12);
  --line-strong: rgba(102, 78, 66, 0.24);
  --paper: #2a2521;        /* hoofdtekst, warm donker */
  --text-2: #463f38;       /* lopende tekst */
  --muted: #6e655b;        /* secundaire tekst */
  --forest: #415c29;       /* bosgroen (logo) */
  --forest-dark: #33481f;
  --accent: #3d5a22;       /* groen voor tekstaccenten */
  --moss: #93ae5d;         /* mosgroen (logo), vlakken */
  --moss-ink: #587530;     /* mosgroen leesbaar als tekst */
  --lime: #dce89c;         /* limegroen highlight (logo), alleen als vlak */
  --bark: #664e42;         /* bruin uit het logo */
  --danger: #a8402a;

  --f-display: "Poppins", "Helvetica Neue", Arial, sans-serif;   /* zelfde letter als het logo */
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: var(--f-body);                                         /* labels in de broodletter */
  --f-mark: "Poppins", "Helvetica Neue", Arial, sans-serif;

  /* Rustige typeschaal (ca. 1.2) */
  --step--1: 0.8125rem;
  --step-0: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.2rem + 0.45vw, 1.55rem);
  --step-3: clamp(1.55rem, 1.35rem + 0.8vw, 1.95rem);
  --step-4: clamp(1.8rem, 1.5rem + 1.3vw, 2.5rem);
  --step-5: clamp(2.1rem, 1.6rem + 2.2vw, 3.25rem);

  --gutter: clamp(1rem, 0.6rem + 2.2vw, 2.5rem);
  --max: 1320px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Kaartraster op de achtergrond */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, rgba(0,0,0,.35));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, rgba(0,0,0,.35));
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; max-width: 65ch; text-wrap: pretty; }
em.hl { font-style: normal; color: var(--accent); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--forest); color: #fff; padding: .6rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss-ink);
  display: inline-flex; align-items: center; gap: .6rem;
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); color: var(--paper); line-height: 1.5; max-width: 52ch; }
.muted { color: var(--muted); }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(243, 240, 233, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; }
.brand-name { font-family: var(--f-mark); font-size: 1.05rem; letter-spacing: .005em; color: var(--bark); white-space: nowrap; }
.nav-primary { display: flex; align-items: center; gap: .25rem; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-link, .nav-toggle-sub {
  font: 500 .95rem/1 var(--f-body);
  color: var(--paper); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: .7rem .8rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-toggle-sub:hover { color: var(--accent); }
.nav-link[aria-current="page"], .nav-toggle-sub.is-current { color: var(--accent); }
.nav-link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.nav-toggle-sub svg { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: -1rem;
  width: min(560px, 80vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-strong); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -24px rgba(60,45,30,.25);
}
.sub-menu a {
  display: grid; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--card); text-decoration: none;
  transition: background-color .2s;
}
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--ink-3); }
.sub-menu a[aria-current="page"] { background: var(--ink-3); }
.sub-menu strong { font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; }
.sub-menu span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.sub-menu a:hover strong, .sub-menu a[aria-current="page"] strong { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em;
  padding: 1rem 1.35rem; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--moss-ink); color: var(--accent); }
.nav-cta { padding: .8rem 1.05rem; margin-left: .6rem; }

.menu-button {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--paper);
  padding: .65rem .85rem; border-radius: var(--radius); cursor: pointer;
  font: 500 .9rem/1 var(--f-body); align-items: center; gap: .6rem;
}
.menu-button .bars { width: 18px; height: 10px; position: relative; }
.menu-button .bars::before, .menu-button .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s;
}
.menu-button .bars::before { top: 0; }
.menu-button .bars::after { top: 8px; }
.menu-button[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-panel { display: none; }

@media (max-width: 1060px) {
  .nav-primary { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-panel {
    display: block; border-top: 1px solid var(--line);
    max-height: calc(100dvh - 72px); overflow-y: auto; padding-block: 1rem 2rem;
  }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
  .mobile-panel a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
    font-family: var(--f-display); font-size: 1.35rem;
  }
  .mobile-panel a[aria-current="page"] { color: var(--accent); }
  .mobile-panel .group-label { margin-top: 1.4rem; margin-bottom: .2rem; }
  .mobile-panel .sub a { font-size: 1.1rem; padding-left: 1rem; }
  .mobile-panel .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }
}
@media (max-width: 420px) { .brand-name { font-size: .92rem; } .brand svg { width: 34px; height: 34px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 70% at 0% 100%, rgba(243,240,233,.94), transparent 70%),
    linear-gradient(90deg, rgba(243,240,233,.9) 0%, rgba(243,240,233,.4) 55%, rgba(243,240,233,.1) 100%);
}
.hero-home .hero-inner { padding-block: clamp(4.5rem, 3rem + 7vw, 9.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-inner { display: grid; gap: 2.5rem; position: relative; }
.hero h1 .line { display: block; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero .hero-sub { animation: fade 1s .3s var(--ease) both; display: grid; gap: 2rem; }
@keyframes rise { from { transform: translateY(0.35em); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: .4; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.coords {
  position: absolute; right: var(--gutter); top: 1.25rem;
  font: 400 .72rem/1.4 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-align: right;
  font-variant-numeric: tabular-nums;
}
.coords b { color: var(--accent); font-weight: 400; }
@media (max-width: 640px) { .coords { display: none; } }

/* Kaartlegenda */
.legend { background: rgba(251, 250, 246, 0.88); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.legend-head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legend ul { list-style: none; margin: 0; padding: 0; }
.legend a {
  display: grid; grid-template-columns: 14px 1fr auto; gap: .85rem; align-items: center;
  padding: .85rem 1rem; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background-color .2s;
}
.legend li:last-child a { border-bottom: 0; }
.legend a:hover, .legend a:focus-visible, .legend a.is-active { background: rgba(220,232,156,.35); }
.legend .swatch { width: 14px; height: 14px; border: 1px solid var(--bark); }
.legend .name { font-weight: 500; font-size: .95rem; }
.legend .arrow { color: var(--muted); font-family: var(--f-mono); font-size: .8rem; transition: transform .2s, color .2s; }
.legend a:hover .arrow, .legend a.is-active .arrow { color: var(--accent); transform: translateX(3px); }
.sw-1 { background: var(--lime); } .sw-2 { background: var(--moss); } .sw-3 { background: var(--forest); } .sw-4 { background: #ffffff; }

/* Subpagina hero */
.page-hero .hero-inner { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .page-hero .hero-grid { grid-template-columns: 1fr; } }
.crumbs { font: 400 .78rem/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.plate { border: 1px solid var(--line-strong); background: rgba(251,250,246,.8); position: relative; }
.plate svg { width: 100%; height: auto; }
.plate-cap { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-top: 1px solid var(--line); font: 400 .7rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plate-cap b { color: var(--accent); font-weight: 400; }

/* ---------- Secties ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); border-bottom: 1px solid var(--line); }
.section-tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.section-head .label { grid-column: 1 / -1; }
.section-head p { color: var(--muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Uitdagingen (home) */
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.issue { padding: 2rem clamp(1rem, 2vw, 2rem) 2rem 0; display: grid; gap: 1rem; align-content: start; }
.issue + .issue { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.issue .k { font: 400 .75rem/1 var(--f-mono); color: var(--moss-ink); letter-spacing: .08em; text-transform: uppercase; }
.issue p { color: var(--muted); }
@media (max-width: 820px) {
  .issues { grid-template-columns: 1fr; }
  .issue, .issue + .issue { padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Dienstkaarten */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.service-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1.4rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--ink); text-decoration: none; overflow: hidden;
  min-height: 330px; transition: background-color .35s var(--ease);
}
.service-card:hover, .service-card:focus-visible { background: var(--card); }
.service-card .top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.service-card .tile { width: 46px; height: 46px; flex-shrink: 0; }
.service-card h3 { font-size: var(--step-3); font-weight: 400; transition: color .25s; }
.service-card:hover h3 { color: var(--accent); }
.service-card p { color: var(--muted); }
.service-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font: 400 .72rem/1 var(--f-mono); letter-spacing: .05em; padding: .45rem .6rem; border: 1px solid var(--line-strong); color: var(--paper); border-radius: 100px; }
.service-card .more { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; color: var(--accent); }
.service-card .more svg { width: 16px; transition: transform .25s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: transform .6s var(--ease), border-color .4s;
}
.service-card:hover::after { transform: scale(1.25); border-color: rgba(65,92,41,.4); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* Stappen-strip (home) */
.steps-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.steps-strip li { list-style: none; padding: 1.5rem 1.25rem 0 0; border-top: 1px solid var(--line-strong); position: relative; display: grid; gap: .6rem; align-content: start; }
.steps-strip li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font: 400 .78rem/1 var(--f-mono); color: var(--moss-ink); letter-spacing: .06em;
}
.steps-strip li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--moss); }
.steps-strip h4 { font-size: 1.15rem; }
.steps-strip p { color: var(--muted); font-size: .93rem; }
.steps-strip { padding: 0; margin: 0 0 2.5rem; }
@media (max-width: 900px) { .steps-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 520px) { .steps-strip { grid-template-columns: 1fr; } }

/* Split / tekst + lijst */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > * { min-width: 0; }
.split .sticky { position: sticky; top: 110px; display: grid; gap: 1.5rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }
.prose { display: grid; gap: 1.2rem; color: var(--paper); }
.prose p { color: var(--text-2); }
.prose h3 { margin-top: 1rem; font-size: var(--step-2); }

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.ledger li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.ledger h4 { color: var(--paper); }
.ledger p { color: var(--muted); }
.ledger .code { display: block; font: 400 .72rem/1 var(--f-mono); color: var(--moss-ink); letter-spacing: .08em; margin-bottom: .55rem; text-transform: uppercase; }
@media (max-width: 640px) { .ledger li { grid-template-columns: 1fr; gap: .6rem; } }

/* Doelgroepen / chips grid */
.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.audience { background: var(--ink); padding: 1.6rem 1.4rem; display: grid; gap: .7rem; align-content: start; }
.audience h4 { font-size: 1.1rem; }
.audience p { font-size: .93rem; color: var(--muted); }
@media (max-width: 960px) { .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; } }

/* Principes met beeldmerk-tegels */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.principle { display: grid; gap: 1rem; align-content: start; }
.principle .tile { width: 54px; height: 54px; }
.principle p { color: var(--muted); }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* Callout / kader */
.callout { border: 1px solid var(--line-strong); background: var(--card); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.callout .label { color: var(--accent); }
.callout p { color: var(--text-2); }

/* Deliverables */
.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.deliver div { background: var(--card); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.deliver h4 { font-size: 1.08rem; }
.deliver p { color: var(--muted); font-size: .93rem; }
.deliver .ico { width: 22px; height: 22px; color: var(--accent); }
@media (max-width: 860px) { .deliver { grid-template-columns: 1fr; } }

/* FAQ / vraagstukken */
.qa { border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  font-family: var(--f-display); font-size: var(--step-1); font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), border-color .2s; }
.qa summary .pm::before { content: "+"; font: 400 1rem/1 var(--f-mono); color: var(--accent); }
.qa details[open] summary .pm { transform: rotate(45deg); border-color: var(--moss-ink); }
.qa summary:hover { color: var(--accent); }
.qa .ans { padding: 0 0 1.6rem; color: var(--muted); display: grid; gap: .8rem; }

/* Werkwijze tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); padding: clamp(2rem, 3vw, 3rem) 0; border-top: 1px solid var(--line-strong); }
.timeline .num { font: 300 var(--step-4)/0.9 var(--f-display); color: var(--moss-ink); font-variant-numeric: tabular-nums; }
.timeline h3 { margin-bottom: .9rem; }
.timeline p { color: var(--text-2); }
.timeline ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.timeline ul li { display: block; padding: 0 0 0 1.3rem; border: 0; position: relative; color: var(--muted); font-size: .95rem; }
.timeline ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border: 1px solid var(--moss); }
.timeline .out { font: 400 .74rem/1.5 var(--f-mono); letter-spacing: .05em; color: var(--accent); text-transform: uppercase; margin-top: 1rem; display: block; }
@media (max-width: 900px) { .timeline li { grid-template-columns: 1fr; gap: 1rem; } }

/* Projecten */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  font: 500 .88rem/1 var(--f-body); color: var(--paper); background: transparent; border: 1px solid var(--line-strong);
  padding: .7rem 1rem; border-radius: 100px; cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--moss-ink); }
.filter[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.type-card { background: var(--ink); padding: 1.75rem; display: grid; gap: .9rem; align-content: start; }
.type-card[hidden] { display: none !important; }
.type-card .cat { font: 400 .72rem/1 var(--f-mono); color: var(--moss-ink); letter-spacing: .08em; text-transform: uppercase; }
.type-card h4 { font-size: 1.2rem; }
.type-card p { color: var(--muted); font-size: .95rem; }
.type-card .q { font-size: .88rem; color: var(--paper); border-left: 2px solid var(--forest); padding-left: .8rem; }
@media (max-width: 960px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } }
.empty-note { padding: 2rem; color: var(--muted); border: 1px dashed var(--line-strong); }

.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ref-card { border: 1px dashed rgba(65,92,41,.4); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; background: repeating-linear-gradient(135deg, var(--card) 0 14px, rgba(65,92,41,.05) 14px 15px); }
.ref-card .status { font: 400 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ref-card dl { margin: 0; display: grid; gap: .55rem; }
.ref-card dl div { display: grid; grid-template-columns: 8rem 1fr; gap: .5rem; font-size: .9rem; }
.ref-card dt { color: var(--muted); }
.ref-card dd { margin: 0; font-family: var(--f-mono); font-size: .82rem; color: var(--paper); }
@media (max-width: 960px) { .ref-grid { grid-template-columns: 1fr; } }

/* Placeholder-markering (vóór publicatie invullen) */
.ph { font-family: var(--f-mono); font-size: .88em; color: var(--forest-dark); background: rgba(220,232,156,.6); border: 1px dashed rgba(65,92,41,.45); padding: .05em .35em; border-radius: 2px; white-space: normal; }

/* Over */
.about-mark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-mark svg.big { width: min(380px, 100%); height: auto; margin-inline: auto; }
@media (max-width: 860px) { .about-mark { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--card); padding: 1.2rem 1.4rem; display: grid; gap: .35rem; }
.facts dt { font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: .5rem; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .93rem; }
.field .req { color: var(--accent); }
.field .hint { font-size: .83rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--paper);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .9rem 1rem; transition: border-color .2s, background-color .2s;
}
.textarea { min-height: 170px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--moss) 50%), linear-gradient(135deg, var(--moss) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(65,92,41,.45); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(147,174,93,.3); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .84rem; min-height: 0; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .93rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--forest); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between; }
.form-status { grid-column: 1 / -1; padding: 1.1rem 1.25rem; border: 1px solid; display: grid; gap: .3rem; font-size: .95rem; }
.form-status.ok { border-color: var(--moss-ink); background: rgba(147,174,93,.18); }
.form-status.bad { border-color: var(--danger); background: rgba(168,64,42,.06); }
.form-status.info { border-color: var(--line-strong); background: var(--card); }
.form-status strong { font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; }
.btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }
.contact-card { border: 1px solid var(--line-strong); background: var(--card); display: grid; }
.contact-card > div { padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); display: grid; gap: .35rem; }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card dt { font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 0; font-size: 1.02rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.cta-band .wrap { padding-block: clamp(4rem, 3rem + 5vw, 8rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: var(--muted); margin-top: 1.2rem; }
.cta-band .rings { position: absolute; right: -8%; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); z-index: -1; opacity: 1; }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .rings { width: 420px; height: 420px; right: -40%; } }

/* Footer */
.site-footer { padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { font: 400 .74rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; color: var(--text-2); font-size: .95rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { display: grid; gap: 1.25rem; align-content: start; }
.footer-brand .logo-full { width: min(320px, 100%); height: auto; }
.footer-brand p { color: var(--muted); font-size: .93rem; max-width: 36ch; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font: 400 .75rem/1.5 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* Generieke tekstpagina (privacy, 404) */
.doc { max-width: 72ch; display: grid; gap: 1.1rem; }
.doc h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.doc p, .doc li { color: var(--text-2); }

/* Reveal: elementen zijn standaard zichtbaar; JS voegt alleen een lichte beweging toe */
.js .reveal { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .reveal.pre { transform: translateY(18px); opacity: .35; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal.pre { transform: none; opacity: 1; }
}

/* Tegels uit het beeldmerk: vaste maat */
.tile { width: 46px; height: 46px; flex-shrink: 0; }
.principle .tile { width: 54px; height: 54px; }
.service-card > *, .audience > *, .type-card > * { min-width: 0; }

.footer-links { display: inline-flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; }
.footer-bottom a:hover { color: var(--accent); }

/* Donkere bosgroene lagen: afsluitende oproep en footer */
.cta-band, .site-footer {
  --paper: #f1efe6;
  --text-2: #dcdccf;
  --muted: #b5bba5;
  --accent: #dce89c;
  --line: rgba(220, 232, 156, 0.14);
  --line-strong: rgba(220, 232, 156, 0.26);
  color: var(--paper);
}
.cta-band { background: #2a3b1d; border-bottom: 1px solid rgba(220, 232, 156, 0.14); }
.site-footer { background: #1f2b16; }
.cta-band .btn-primary, .site-footer .btn-primary { background: var(--lime); color: #1f2b16; }
.cta-band .btn-primary:hover { background: #eef5c2; }
.cta-band .rings circle { stroke: rgba(220, 232, 156, 0.1); }
.cta-band .rings circle:nth-child(4n+1) { stroke: rgba(220, 232, 156, 0.24); }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.site-footer .ph { color: #1f2b16; }

/* Pauzeknop kaartanimatie */
.anim-toggle {
  position: absolute; right: var(--gutter); top: 4.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  font: 400 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--paper); background: var(--card); border: 1px solid var(--line-strong);
  padding: .55rem .7rem; border-radius: var(--radius); cursor: pointer;
}
.anim-toggle:hover { border-color: var(--forest); color: var(--accent); }
.anim-toggle svg { width: 10px; height: 10px; }
.anim-toggle .ic-play { display: none; }
.anim-toggle[aria-pressed="true"] .ic-play { display: block; }
.anim-toggle[aria-pressed="true"] .ic-pause { display: none; }
@media (max-width: 640px) { .anim-toggle { top: 1rem; } }

/* Portret */
.portrait { margin: 0 0 14px 14px; max-width: 360px; border: 1px solid var(--line-strong); background: #fff; position: relative; isolation: isolate; }
.portrait img { width: 100%; height: auto; display: block; }
.portrait::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; background: var(--moss); z-index: -1; pointer-events: none; }
@media (max-width: 900px) { .portrait { max-width: 280px; } }

.nowrap, .nowrap .ph { white-space: nowrap; }
@media (max-width: 600px) {
  .footer-bottom [aria-hidden="true"] { display: none; }
  .footer-bottom .footer-links { gap: .35rem 1.1rem; }
}

/* ---------- Kennisbank ---------- */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }
.kb-card { display: grid; gap: .9rem; align-content: start; padding: 1.75rem; background: var(--card); border: 1px solid var(--line-strong); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.kb-card:hover { border-color: var(--forest); transform: translateY(-2px); }
.kb-card .cat { font: 400 .72rem/1 var(--f-mono); color: var(--moss-ink); letter-spacing: .08em; text-transform: uppercase; }
.kb-card h3 { font-size: var(--step-2); }
.kb-card p { color: var(--muted); }
.kb-card .more { display: inline-flex; gap: .6rem; align-items: center; font-weight: 600; font-size: .92rem; color: var(--accent); }
.kb-card .more svg { width: 16px; }
.byline { font: 400 .78rem/1.4 var(--f-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.article-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(2rem, 6vw, 6rem); justify-content: center; }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 1rem; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: .1rem; border-left: 1px solid var(--line-strong); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; text-decoration: none; color: var(--text-2); font-size: .93rem; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--accent); border-left-color: var(--forest); }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
.article-body { display: grid; gap: 1.15rem; min-width: 0; }
.article-body h2 { font-size: var(--step-3); margin-top: 2.2rem; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li, .article-body dd { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.article-body strong, .article-body b { color: var(--paper); font-weight: 600; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.levels { margin: .5rem 0; display: grid; border-top: 1px solid var(--line-strong); }
.levels > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.levels dt { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; display: flex; align-items: center; gap: .8rem; }
.levels dd { margin: 0; }
.lv { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; font: 500 1.05rem/1 var(--f-display); border: 1px solid rgba(102,78,66,.35); }
.lv-ap { background: #33481f; color: #fff; } .lv-a { background: #415c29; color: #fff; } .lv-b { background: #93ae5d; color: #1f2b16; } .lv-c { background: #c9d98a; color: #1f2b16; } .lv-d { background: #ebe7de; color: #2a2521; }
@media (max-width: 600px) { .levels > div { grid-template-columns: 1fr; gap: .5rem; } }
.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.steps-list { margin: 0; padding-left: 1.4rem; display: grid; gap: .8rem; }
.steps-list li::marker { color: var(--moss-ink); font-family: var(--f-mono); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--moss); border: 1px solid var(--forest); }
.fig { margin: 1rem 0; padding: clamp(1rem, 3vw, 1.75rem); background: var(--card); border: 1px solid var(--line-strong); display: grid; gap: 1rem; }
.fig figcaption { display: grid; gap: .5rem; color: var(--text-2); }
.fig-chart { overflow-x: auto; }
.fig-chart svg { min-width: 480px; width: 100%; height: auto; }

/* ---------- Quickscan ---------- */
.qs-band { background: var(--ink-2); }
.qs-band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.qs-band h2 { font-size: var(--step-3); margin: 1rem 0; }
.qs-band p { color: var(--text-2); }
@media (max-width: 760px) { .qs-band-in { grid-template-columns: 1fr; } }
.qs-wrap { max-width: 860px; }
.qs { display: grid; gap: 1rem; }
.qs-progress { height: 4px; background: var(--ink-3); position: sticky; top: 72px; z-index: 5; }
.qs-progress span { display: block; height: 100%; width: 0; background: var(--forest); transition: width .3s var(--ease); }
.qs-count { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; margin-bottom: .5rem; }
.qs-q { border: 1px solid var(--line-strong); background: var(--card); padding: 1.4rem 1.5rem; margin: 0; display: grid; gap: 1rem; transition: border-color .2s; }
.qs-q.is-done { border-color: rgba(65,92,41,.45); }
.qs-q.has-error { border-color: var(--danger); }
.qs-q legend { float: left; width: 100%; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; font-family: var(--f-display); font-size: var(--step-1); font-weight: 500; line-height: 1.3; }
.qs-q legend + * { clear: both; }
.qs-n { grid-row: span 2; font: 300 1.9rem/1 var(--f-display); color: var(--moss-ink); }
.qs-t { font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qs-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.qs-opt { position: relative; }
.qs-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qs-opt span { display: inline-block; padding: .65rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 100px; font-weight: 500; font-size: .93rem; background: var(--ink); transition: all .15s; }
.qs-opt:hover span { border-color: var(--forest); }
.qs-opt input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.qs-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1rem; }
.qs-result { display: grid; gap: 1rem; outline: none; }
.qs-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; margin-top: .5rem; }
.qs-score h2 { font-size: var(--step-4); margin-bottom: .6rem; }
.qs-score p { color: var(--text-2); font-size: 1.05rem; }
.qs-dial { width: 150px; height: 150px; border-radius: 50%; border: 10px solid var(--moss); display: grid; place-content: center; text-align: center; background: var(--card); }
.qs-dial b { font: 400 3rem/1 var(--f-display); }
.qs-dial span { font: 400 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) { .qs-score { grid-template-columns: 1fr; gap: 1rem; } .qs-dial { width: 120px; height: 120px; } }
.qs-themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1rem; }
.qs-th { background: var(--card); padding: .8rem .9rem; display: grid; gap: .3rem; border-top: 4px solid var(--ink-3); }
.qs-th span { font: 400 .68rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qs-th b { font-weight: 600; font-size: .92rem; }
.qs-th.ok { border-top-color: var(--forest); } .qs-th.mid { border-top-color: #c9d98a; } .qs-th.low { border-top-color: var(--danger); }
@media (max-width: 760px) { .qs-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qs-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.qs-tips li { background: var(--card); padding: 1.2rem 1.4rem; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
.qs-tips h4 { font-size: 1.1rem; margin-bottom: .35rem; }
.qs-tips p { color: var(--text-2); font-size: .95rem; margin-bottom: .5rem; }
.qs-tips a { color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.qs-tips a:hover { text-decoration: underline; }
.qs-tag { align-self: start; font: 400 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: .45rem .6rem; border: 1px solid var(--line-strong); text-align: center; }
@media (max-width: 600px) { .qs-tips li { grid-template-columns: 1fr; gap: .6rem; } .qs-tag { justify-self: start; } }
.qs-prefill { font-size: .85rem; color: var(--forest-dark); background: rgba(220,232,156,.5); padding: .6rem .8rem; border-left: 3px solid var(--forest); }

/* ---------- Schouw-rekenhulp ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: grid; gap: 1.2rem; border: 1px solid var(--line-strong); background: var(--card); padding: clamp(1.25rem, 3vw, 2rem); }
.calc-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.calc-h { font-size: var(--step-2); }
.seg-t { display: inline-flex; border: 1px solid var(--line-strong); }
.seg-t button { font: 500 .85rem/1 var(--f-body); padding: .6rem .85rem; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.seg-t button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.calc-fields { display: grid; gap: .8rem; }
.calc-fields .field { grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: center; gap: 1rem; }
.calc-fields label { display: flex; align-items: center; gap: .7rem; }
.calc-fields .lv { width: 2.1rem; height: 2.1rem; font-size: .95rem; }
.c-in { display: flex; align-items: center; gap: .5rem; }
.c-in .input { text-align: right; font-variant-numeric: tabular-nums; padding: .7rem .8rem; }
.c-in span { font: 400 .8rem/1 var(--f-mono); color: var(--muted); min-width: 4.2rem; }
.calc-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.calc-warn { font-size: .88rem; color: var(--danger); background: rgba(168,64,42,.06); padding: .6rem .8rem; border-left: 3px solid var(--danger); }
.calc-out { display: grid; gap: 1.4rem; position: sticky; top: 100px; }
@media (max-width: 920px) { .calc-out { position: static; } }
.calc-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.calc-big { display: grid; place-items: center; width: 7.5rem; height: 7.5rem; font: 400 4rem/1 var(--f-display); background: var(--forest); color: #fff; }
.calc-verdict { font: 500 var(--step-2)/1.15 var(--f-display); margin-bottom: .4rem; }
.calc-verdict.ok { color: var(--accent); } .calc-verdict.bad { color: var(--danger); }
.calc-score p:not(.calc-verdict) { color: var(--text-2); }
.calc-bar { position: relative; display: flex; height: 54px; border: 1px solid var(--line-strong); background: var(--ink-2); margin-top: 1.4rem; }
.calc-bar .seg { display: grid; place-items: center; font-weight: 600; font-size: .82rem; white-space: nowrap; overflow: hidden; border-right: 1px solid var(--ink); transition: width .3s var(--ease); }
.seg-0 { background: #33481f; color: #fff; } .seg-1 { background: #415c29; color: #fff; } .seg-2 { background: #93ae5d; color: #1f2b16; } .seg-3 { background: #c9d98a; color: #1f2b16; } .seg-4 { background: #ebe7de; color: #2a2521; }
.calc-bar .norm { position: absolute; top: -1.4rem; bottom: -6px; width: 0; border-left: 2px dashed var(--danger); }
.calc-bar .norm b { position: absolute; top: 0; right: 6px; font: 500 .72rem/1 var(--f-mono); color: var(--danger); }
.calc-table { overflow-x: auto; }
.calc-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.calc-table th, .calc-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.calc-table thead th { font: 400 .72rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc-table tr.is-score td, .calc-table tr.is-score th { background: rgba(220,232,156,.45); font-weight: 600; }
.calc-table .lv { width: 2rem; height: 2rem; font-size: .9rem; }

/* ---------- Begrippenlijst ---------- */
.gl { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 48rem); gap: clamp(2rem, 6vw, 5rem); justify-content: center; }
@media (max-width: 900px) { .gl { grid-template-columns: 1fr; } }
.gl-tools { position: sticky; top: 100px; align-self: start; display: grid; gap: 1.2rem; }
@media (max-width: 900px) { .gl-tools { position: static; } }
.gl-az { display: flex; flex-wrap: wrap; gap: .3rem; }
.gl-az a { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid var(--line-strong); text-decoration: none; font: 500 .9rem/1 var(--f-display); }
.gl-az a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.gl-list { display: grid; gap: 2.5rem; min-width: 0; }
.gl-letter { font-size: var(--step-3); color: var(--moss-ink); border-bottom: 1px solid var(--line-strong); padding-bottom: .5rem; scroll-margin-top: 100px; }
.gl-group dl { margin: 0; }
.gl-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1.25rem; scroll-margin-top: 100px; }
.gl-item dt { font: 500 1.08rem/1.3 var(--f-display); }
.gl-item dd { margin: 0; color: var(--text-2); }
.gl-more { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; font-size: .88rem; text-decoration: none; margin-left: .25rem; white-space: nowrap; }
.gl-more svg { width: 13px; }
.gl-more:hover { text-decoration: underline; }
@media (max-width: 600px) { .gl-item { grid-template-columns: 1fr; gap: .4rem; } }

/* Referenties */
.ref-card.real { border: 1px solid var(--line-strong); background: var(--card); }
.ref-card.real p { color: var(--text-2); font-size: .95rem; }
.ref-card.real h4 { font-size: 1.25rem; }
.ref-card.real dd { font-family: var(--f-body); font-size: .9rem; }
.ref-card.real dd a { color: var(--accent); }
@media (min-width: 961px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.exp-band { border-bottom: 1px solid var(--line); background: var(--card); }
.exp-in { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; padding-block: 1.25rem; }
.exp-in ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.exp-in li { font: 500 1.05rem/1.2 var(--f-display); }
.exp-link { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 600; font-size: .92rem; text-decoration: none; }
.exp-link svg { width: 15px; }
.exp-link:hover { text-decoration: underline; }
@media (max-width: 700px) { .exp-link { margin-left: 0; } }
.exp-in li { white-space: nowrap; }
@media (max-width: 700px) { .exp-in ul { flex-direction: column; gap: .35rem; } .exp-in li { font-size: 1rem; } }

/* Header altijd vast bovenin (ook in Safari en ingesloten weergaven) */
html, body { overflow-x: clip; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  padding-top: env(safe-area-inset-top, 0px);
}
body { padding-top: calc(73px + env(safe-area-inset-top, 0px)); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(60, 45, 30, .35); background: rgba(243, 240, 233, 0.94); }
@media (max-width: 1060px) { .mobile-panel { background: var(--ink); } }

/* Drie dienstkaarten naast elkaar, zonder leeg vak */
.services.services-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .services.services-3 { grid-template-columns: 1fr; } }
.services.services-3 .service-card h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.service-card .top h3 { min-width: 0; }
.services.services-3 .service-card .top { flex-direction: column-reverse; align-items: flex-start; gap: 1.1rem; }
.services.services-3 .service-card h3 { font-size: clamp(1.45rem, 1rem + 1vw, 1.9rem); hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
@media (max-width: 600px) {
  .service-card .top { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .service-card h3 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2rem); }
}
.service-card .more { white-space: nowrap; }

/* Afsluitende oproep: netjes uitgelijnd */
.cta-band { isolation: isolate; }
.cta-band .rings { z-index: 0; }
.cta-band .wrap { position: relative; z-index: 1; display: block; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.cta-body { display: grid; gap: 1.25rem; max-width: 44rem; }
.cta-band h2 { max-width: 18ch; margin: 0; }
.cta-band p { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: 40rem; }
.cta-band .label { color: var(--accent); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.cta-band .btn-ghost { color: var(--paper); border-color: rgba(220, 232, 156, .4); }
.cta-band .btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.cta-band .rings { right: -6%; width: 560px; height: 560px; }
@media (max-width: 700px) {
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-band .rings { right: -55%; width: 420px; height: 420px; opacity: .5; }
}


/* ===== Cohesie: één schaal, minder contrast, compactere pagina's ===== */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: var(--step-5); letter-spacing: -0.02em; font-weight: 500; }
h2 { font-size: var(--step-4); font-weight: 500; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.005em; }
.page-hero h1 { font-size: var(--step-5); }
.label { font-weight: 600; letter-spacing: 0.1em; font-size: .75rem; }
.lede { font-size: var(--step-1); }
.brand-name { font-weight: 400; }

/* Witruimte */
.section { padding-block: clamp(2.75rem, 2rem + 2.5vw, 4.5rem); }
.section-tight { padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem); }
.section-head { margin-bottom: clamp(1.5rem, 1.25rem + 1vw, 2.5rem); gap: .75rem clamp(1.5rem, 4vw, 4rem); }
.hero-home .hero-inner { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-hero .hero-inner { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.hero-inner { gap: 1.75rem; }
.hero .hero-sub { gap: 1.4rem; }
.cta-band .wrap { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.cta-band h2 { font-size: var(--step-4); }
.site-footer { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.75rem; }

/* Componenten in dezelfde schaal */
.service-card { min-height: 0; gap: 1.1rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.service-card h3, .services.services-3 .service-card h3 { font-size: var(--step-3); font-weight: 500; }
.service-card::after { width: 160px; height: 160px; right: -50px; bottom: -50px; }
.issue { padding-block: 1.5rem; }
.ledger li { padding: 1.25rem 0; }
.qa summary { font-size: var(--step-1); padding: 1.1rem 0; }
.timeline li { padding: clamp(1.5rem, 2vw, 2rem) 0; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr); }
.timeline .num { font: 500 var(--step-3)/1 var(--f-display); }
@media (max-width: 900px) { .timeline li { grid-template-columns: 1fr; gap: .75rem; } }
.principles { gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.principle .tile { width: 44px; height: 44px; }
.article-body h2 { font-size: var(--step-3); margin-top: 1.5rem; }
.article-body p, .article-body li, .article-body dd { font-size: 1.0625rem; }
.levels dt, .gl-item dt, .qs-q legend, .sub-menu strong, .form-status strong, .calc-verdict { font-weight: 500; }
.qs-n { font: 500 1.35rem/1 var(--f-display); }
.qs-score h2 { font-size: var(--step-4); }
.qs-dial b { font: 500 2.4rem/1 var(--f-display); }
.calc-big { font: 500 3rem/1 var(--f-display); width: 6rem; height: 6rem; }
.lv { font-family: var(--f-display); font-weight: 500; }
.mobile-panel a { font-size: 1.15rem; font-weight: 500; }
.mobile-panel .sub a { font-size: 1.02rem; }
.footer-grid h2 { font-size: .75rem; }
.plate-cap, .legend-head, .coords, .byline, .crumbs { letter-spacing: .06em; }
.exp-in li { font-weight: 500; font-size: 1rem; }
@media (max-width: 600px) {
  .service-card .tags { display: none; }
  .issue, .issue + .issue { padding: 1.25rem 0; }
  .audience { padding: 1.25rem; }
  .steps-strip { row-gap: 1.25rem; }
}

/* Groter logo in de header, in verhouding met de koppen */
:root { --hdr: 88px; }
@media (max-width: 600px) { :root { --hdr: 72px; } }
.nav-bar { min-height: var(--hdr); }
body { padding-top: calc(var(--hdr) + 1px + env(safe-area-inset-top, 0px)); }
html { scroll-padding-top: calc(var(--hdr) + 16px); }
.brand { gap: .9rem; }
.brand svg { width: 58px; height: 58px; }
.brand-name { font-size: 1.3rem; }
@media (max-width: 600px) { .brand svg { width: 44px; height: 44px; } .brand-name { font-size: 1.05rem; } }
@media (max-width: 380px) { .brand-name { font-size: .95rem; } }
.qs-progress { top: var(--hdr); }
.mobile-panel { max-height: calc(100dvh - var(--hdr)); }

/* Geen dubbele ruimte bovenin (safe-area werd twee keer opgeteld) */
body { padding-top: calc(var(--hdr) + 1px); }

/* Compacter op mobiel */
@media (max-width: 600px) {
  .hero-home .hero-inner { padding-block: 1.75rem 2rem; }
  .page-hero .hero-inner { padding-block: 1.5rem 2rem; }
  .hero-inner { gap: 1.25rem; }
  .hero .hero-sub { gap: 1.1rem; }
  .section { padding-block: 2.25rem; }
  .section-head { margin-bottom: 1.25rem; }
  .cta-band .wrap { padding-block: 2.5rem; }
  .label { font-size: .7rem; letter-spacing: .08em; }
  .hero-actions { gap: .6rem; }
}

/* Logo nog iets groter */
:root { --hdr: 96px; }
@media (max-width: 600px) { :root { --hdr: 80px; } }
.brand svg { width: 70px; height: 70px; }
.brand-name { font-size: 1.45rem; }
@media (max-width: 600px) { .brand svg { width: 54px; height: 54px; } .brand-name { font-size: 1.12rem; } .brand { gap: .7rem; } }
@media (max-width: 380px) { .brand svg { width: 48px; height: 48px; } .brand-name { font-size: 1rem; } .menu-button { padding: .6rem .7rem; } }
@media (max-width: 600px) {
  .nav-bar { gap: .75rem; }
  .menu-button { flex-shrink: 0; }
}
@media (max-width: 440px) {
  .menu-button .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-button { padding: .8rem .75rem; }
}

/* ===== Kleinere, rustigere koppen (zoals gevraagd) ===== */
:root {
  --step-1: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
  --step-2: clamp(1.15rem, 1.1rem + 0.25vw, 1.3rem);
  --step-3: clamp(1.3rem, 1.2rem + 0.45vw, 1.55rem);
  --step-4: clamp(1.5rem, 1.35rem + 0.7vw, 1.9rem);
  --step-5: clamp(1.75rem, 1.5rem + 1.2vw, 2.4rem);
}
h1, h2 { color: var(--accent); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
h3, h4 { line-height: 1.3; letter-spacing: 0; }
h1 em.hl { color: var(--moss-ink); }
.cta-band h2, .site-footer h2 { color: var(--paper); }
.footer-grid h2 { color: var(--muted); }
.lede { font-size: var(--step-1); line-height: 1.65; }
.section-head p, .prose p { font-size: 1rem; }
.service-card h3, .services.services-3 .service-card h3 { font-size: var(--step-3); }
.timeline .num { font-size: var(--step-3); }
.qs-score h2 { font-size: var(--step-4); }
.calc-big { font-size: 2.4rem; width: 5rem; height: 5rem; }
.qs-dial { width: 120px; height: 120px; }
.qs-dial b { font-size: 2rem; }
.article-body h2 { font-size: var(--step-3); }
.gl-letter { font-size: var(--step-3); }
.sw-5 { background: repeating-linear-gradient(45deg, var(--moss) 0 3px, #fff 3px 6px); } .sw-6 { background: linear-gradient(var(--forest) 0 40%, #fff 40%); }
.ledger p a { color: var(--accent); }
.nav-primary .sub-menu { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 1px; width: min(600px, 80vw); }
.nav-primary .sub-menu[hidden] { display: none; }
.nav-primary .sub-menu li { display: flex; }
.nav-primary .sub-menu a { width: 100%; }

/* Beweging terug, met een kleine, onopvallende pauzeknop */
.anim-toggle {
  top: auto; bottom: 1rem; right: var(--gutter);
  width: 36px; height: 36px; padding: 0; justify-content: center;
  border-radius: 50%; background: rgba(251, 250, 246, .85); color: var(--forest);
  border: 1px solid var(--line-strong); opacity: .8;
}
.anim-toggle:hover, .anim-toggle:focus-visible { opacity: 1; border-color: var(--forest); }
.anim-toggle svg { width: 11px; height: 11px; }
@media (max-width: 640px) { .anim-toggle { top: auto; bottom: .75rem; width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .anim-toggle { display: none; } }
.anim-toggle { top: 3.75rem; bottom: auto; }
@media (max-width: 640px) { .anim-toggle { top: .75rem; bottom: auto; } }

/* Werkwijze-strip: 5 naast elkaar op breed scherm, anders één nette lijst */
@media (max-width: 1000px) {
  .steps-strip { grid-template-columns: 1fr; row-gap: 0; }
  .steps-strip li { grid-template-columns: 2.5rem minmax(0, 12rem) minmax(0, 1fr); column-gap: 1rem; align-items: baseline; padding: 1rem 0; }
  .steps-strip li::before { grid-row: 1 / span 2; }
  .steps-strip li h4 { grid-column: 2; }
  .steps-strip li p { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) {
  .steps-strip li { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: .3rem; }
  .steps-strip li::before { grid-row: 1 / span 2; }
  .steps-strip li h4 { grid-column: 2; }
  .steps-strip li p { grid-column: 2; grid-row: 2; }
}

/* Groot logo bovenaan, krimpt rustig mee bij scrollen */
:root { --hdr: 112px; }
@media (max-width: 600px) { :root { --hdr: 88px; } }
.brand svg, .brand-name, .nav-bar { transition: width .25s var(--ease), height .25s var(--ease), font-size .25s var(--ease), min-height .25s var(--ease); }
.brand svg { width: 88px; height: 88px; }
.brand-name { font-size: 1.6rem; }
.site-header.is-scrolled .nav-bar { min-height: 76px; }
.site-header.is-scrolled .brand svg { width: 56px; height: 56px; }
.site-header.is-scrolled .brand-name { font-size: 1.3rem; }
@media (max-width: 600px) {
  .brand svg { width: 64px; height: 64px; }
  .brand-name { font-size: 1.15rem; }
  .site-header.is-scrolled .nav-bar { min-height: 66px; }
  .site-header.is-scrolled .brand svg { width: 46px; height: 46px; }
  .site-header.is-scrolled .brand-name { font-size: 1.05rem; }
}
@media (max-width: 380px) { .brand svg { width: 54px; height: 54px; } .brand-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .brand svg, .brand-name, .nav-bar { transition: none; } }

/* Logo nog groter bovenaan (krimpt bij scrollen) */
:root { --hdr: 136px; }
@media (max-width: 600px) { :root { --hdr: 100px; } }
.brand { gap: 1.1rem; }
.brand svg { width: 112px; height: 112px; }
.brand-name { font-size: 1.85rem; }
@media (max-width: 1100px) and (min-width: 1061px) { .brand-name { font-size: 1.5rem; } }
@media (max-width: 600px) {
  .brand { gap: .75rem; }
  .brand svg { width: 76px; height: 76px; }
  .brand-name { font-size: 1.2rem; }
}
@media (max-width: 380px) { .brand svg { width: 64px; height: 64px; } .brand-name { font-size: 1.05rem; } }
