/* MRK ONE v2 - ontwerptokens (briefing hoofdstuk 12). Content bevat geen kleuren of maten. */
:root {
  --color-brand: #1e3a5f;
  --color-accent: #5a88b5;
  --color-surface-blue: #dceaf6;
  --color-warm: #4a2d22;
  --color-highlight: #8a4f3d;      /* kastanjebruin accent in koppen en tekst (MRK ONE, 23-09-2026) */
  --color-surface-warm: #f4eee7;
  --color-background: #ffffff;
  --color-text: #1e3a5f;
  --color-line: #c5d3e2;
  --color-note: #fff6d6;
  --color-note-line: #e2cf84;      /* rand van de conceptmelding */
  --color-pending-line: #c9a93a;   /* stippelrand van 'Nog te schrijven' */
  --color-pending-text: #8a6d1d;   /* 'Volgt' in het cijferblok */
  --color-on-brand: #fff;          /* tekst en lijnen op het donkerblauw */
  --color-brand-hover: #16304e;
  --color-status-open: #1d6337;
  --color-status-closed: #8a2a1f;
  --color-overlay: rgba(30, 58, 95, .35);   /* gedimde achtergrond onder het mobiele menu */
  --color-line-subtle: rgba(30, 58, 95, .12);
  /* Zeer lichte varianten van de merkkleuren, als mogelijke sectieachtergrond (config/section-tones.json).
     OKLCH met behoud van tint, lichtheid gestaffeld naar de bronkleur (0,950-0,980), binnen het sRGB-gamut. */
  --color-tint-brand: #e5f0ff;   /* van #1E3A5F */
  --color-tint-accent: #eaf4ff;  /* van #5A88B5 */
  --color-tint-blue: #f3f9fe;    /* van #DCEAF6 */
  --color-tint-warm: #faebe5;    /* van #4A2D22 */
  --color-tint-sand: #fcf8f3;    /* van #F4EEE7 */
  /* Themakleuren (config/section-tones.json, theme_colors): accent voor tekst en randjes (>= 5:1 op wit en op de
     tint), soft voor op het donkerblauw, tint als paginaachtergrond van het thema en zijn regelingen. */
  --color-theme-mens-accent: #a4502f;
  --color-theme-mens-soft: #e8a88e;
  --color-theme-mens-tint: #fbf2ed;
  --color-theme-duurzaam-accent: #2e7650;
  --color-theme-duurzaam-soft: #8ccba7;
  --color-theme-duurzaam-tint: #eef7f1;
  --color-theme-techniek-accent: #4a56a6;
  --color-theme-techniek-soft: #a9b2ea;
  --color-theme-techniek-tint: #f0f2fb;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif; /* H1 en H2, gewicht 600 */
  --content-width: 72rem;
  --reading-width: 68ch;
  --space-unit: .5rem;
  --space-1: var(--space-unit);
  --space-2: calc(var(--space-unit) * 2);
  --space-3: calc(var(--space-unit) * 3);
  --space-4: calc(var(--space-unit) * 4);
  --space-6: calc(var(--space-unit) * 6);
  --space-8: calc(var(--space-unit) * 8);
  --radius: .5rem;
  --radius-pill: 999px;
  /* schaduwen, allemaal in het merkblauw (30, 58, 95) */
  --shadow-card: 0 2px 8px rgba(30, 58, 95, .08);        /* kaarten, cyclusstappen */
  --shadow-dropdown: 0 8px 24px rgba(30, 58, 95, .12);   /* submenu */
  --shadow-panel: 0 16px 32px rgba(30, 58, 95, .14);     /* mobiel menupaneel */
  --shadow-raised: 0 12px 32px rgba(30, 58, 95, .18);    /* tekstkader op een herofoto, animatieblok */
  --shadow-float: 0 20px 50px rgba(30, 58, 95, .16);     /* zwevende widget op een herofoto */
  --focus-ring: 3px solid var(--color-warm);
}

/* Basis: typografie, links, focus. */
/* Poppins 600 voor H1 en H2, zelf gehost (CSP font-src 'self'; geen verzoeken naar Google). Bron: de woff2-bestanden van
   de vorige site (src/fonts/), Open Font License. swap: tekst is direct leesbaar in het systeemlettertype. */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/poppins-600-latin.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-background);
  overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 var(--space-2); font-weight: 650; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 2.75rem); letter-spacing: -.01em; } /* max 44 px (18-09-2026) */
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.15rem; }
/* H1 en H2 in Poppins 600; lange Nederlandse woorden breken met een afbreekstreepje in plaats van halverwege */
h1, h2 { font-family: var(--font-heading); font-weight: 600; hyphens: auto; -webkit-hyphens: auto; }
/* in de paginakop geen afbreekstreepjes: de kop is een zin, lange woorden breken alleen als het moet */
h1 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; text-wrap: balance; }
/* accent in koppen en tekst: [[tekst]] in de bron wordt deze span (MRK ONE, 23-09-2026) */
.hl { color: var(--color-highlight); }
p, ul, ol, dl, address { margin: 0 0 var(--space-2); }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .25rem; }
address { font-style: normal; }
img { max-width: 100%; height: auto; }
a { color: var(--color-brand); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
main:focus { outline: none; }
/* paginaachtergrond in de lichte themakleur (themapagina's en regelingen van dat thema) */
body.page-themed { background: var(--theme-tint, var(--color-background)); }
/* op een themapagina laten secties met een eigen toon de themakleur door; een dunne lijn scheidt ze (wint van .section.tone-*) */
body.page-themed .section { background: transparent; }
body.page-themed .section + .section { border-top: 1px solid var(--color-line); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-2); top: -4rem; z-index: 10;
  padding: var(--space-1) var(--space-2); background: var(--color-brand); color: var(--color-on-brand); border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-2); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Layout: container, header, navigatie, footer, secties. Mobiel eerst; geen horizontale overloop vanaf 320 px. */
.container { width: min(100% - 2rem, var(--content-width)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--color-line); background: var(--color-background); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); padding-block: var(--space-2); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-brand); line-height: 1.15; }
.brand__mark { display: block; width: 2.75rem; height: 2.75rem; flex: none; }
.site-header .brand__mark { width: 3.5rem; height: 3.5rem; }

.site-nav { width: 100%; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
.site-nav__item { margin: 0; position: relative; }
.site-nav__item + .site-nav__item { margin-top: 0; }
.site-nav__group[open] { flex-basis: 100%; }
.site-nav__link { display: block; padding: .3rem 0; font-weight: 600; text-decoration: none; color: var(--color-brand); cursor: pointer; }
.site-nav__link.is-active, .site-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.site-nav__group > summary { list-style: none; }
.site-nav__group > summary::-webkit-details-marker { display: none; }
.site-nav__group > summary::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.site-nav__group[open] > summary::after { transform: translateY(.05em) rotate(-135deg); }
.site-nav__sub { list-style: none; margin: 0 0 var(--space-1); padding: 0 0 0 var(--space-2); border-left: 2px solid var(--color-surface-blue); }
.site-nav__sub a { display: block; padding: .3rem 0; text-decoration: none; }
.site-nav__sub a[aria-current="page"] { text-decoration: underline; }

@media (min-width: 64rem) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav { width: auto; }
  /* vijf menu-items (sinds 22-09-2026) in de container van max. 72rem: compacte tussenruimte en letter, nooit afbreken */
  .site-nav__list { flex-wrap: nowrap; gap: 1.1rem; }
  .site-nav__link { font-size: .95rem; white-space: nowrap; }
  .site-nav__item--cta .button { white-space: nowrap; }
  .site-nav__group[open] { flex-basis: auto; }
  .site-nav__sub { position: absolute; top: calc(100% + .25rem); left: -1rem; z-index: 5; min-width: 16rem; padding: var(--space-1) var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-background); box-shadow: var(--shadow-dropdown); }
}

.breadcrumbs { font-size: .9rem; border-bottom: 1px solid var(--color-surface-blue); }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding-block: var(--space-1); margin-block: 0; }
.breadcrumbs__list li { margin: 0; }
.breadcrumbs__list li + li::before { content: "/"; margin-right: .5rem; color: var(--color-text); } /* staalblauw haalt 4,5:1 niet voor kleine tekst */

.section { padding-block: var(--space-6); }
.section + .section { border-top: 1px solid var(--color-surface-blue); }
/* Achtergrond per sectie: config/section-tones.json (de build voegt .section.tone-* toe) */
.section__intro { margin-bottom: var(--space-3); }

.site-footer { margin-top: 0; padding-block: var(--space-6); background: var(--color-brand); color: var(--color-on-brand); }
.site-footer a { color: var(--color-on-brand); }
.site-footer__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.site-footer__heading { font-size: 1rem; margin-bottom: var(--space-1); }
.site-footer ul { list-style: none; padding: 0; }
/* pay-off naast het beeldmerk, in header en footer (copy MRK ONE 21-09-2026) */
.brand__payoff { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.brand--footer { margin-bottom: var(--space-2); gap: .75rem; color: var(--color-on-brand); }
/* tussen 64 en 80rem past de pay-off niet naast het volledige menu op één regel; in de footer staat hij altijd */
@media (min-width: 64rem) and (max-width: 79.99rem) { .site-header .brand__payoff { display: none; } }

/* Mobiel menu (onder 64rem): een knop rechts in de header klapt een paneel met grote tikvlakken open.
   Zonder JavaScript blijft het menu onder het logo staan (zelfde opmaak, altijd open). */
.nav-toggle { display: none; }
.nav-toggle__icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle__cross { display: none; }
@media (max-width: 63.99rem) {
  .site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
  .site-header .brand__mark { width: 3rem; height: 3rem; }
  .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-background); color: var(--color-brand); font: inherit; font-weight: 600; cursor: pointer; }
  .nav-toggle:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }
  .nav-toggle[aria-expanded="true"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-on-brand); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__cross { display: inline; }

  .site-nav__list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--color-surface-blue); }
  .site-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: .75rem 0; font-size: 1.1rem; text-decoration: none; }
  .site-nav__link.is-active, .site-nav__link[aria-current="page"] { text-decoration: none; box-shadow: inset 3px 0 0 var(--color-brand); padding-left: .75rem; }
  .site-nav__group > summary::after { margin-left: auto; width: .55em; height: .55em; }
  .site-nav__sub { margin: 0 0 var(--space-1); padding: 0 0 0 var(--space-2); }
  .site-nav__sub a { display: flex; align-items: center; min-height: 2.75rem; padding: .35rem 0; }
  .site-nav__item--cta { border-bottom: 0; padding-top: var(--space-3); }
  .site-nav__item--cta .button { display: flex; justify-content: center; width: 100%; min-height: 3rem; }

  /* met JavaScript: ingeklapt tot de knop het opent */
  .site-header--js .site-nav { display: none; }
  .site-header--js.is-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 1; max-height: calc(100dvh - 100% - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; padding: var(--space-1) max(1rem, calc((100% - var(--content-width)) / 2)) var(--space-4); background: var(--color-background); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-panel); }
  /* gedimde achtergrond onder het paneel; een tik erop sluit het menu (nav.js) */
  .site-header--js.is-open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100dvh; background: var(--color-overlay); }
  .nav-open { overflow: hidden; }
}

/* Componenten: hero, knoppen, kaarten, processtappen, animatie, vergelijking, FAQ, contact, regelingen, conceptmarkering,
   cyclus, cijfers, hero-widget, partnerlogo's. Kleuren, schaduwen en radii komen uit tokens.css. */
.hero { padding-block: var(--space-6) var(--space-4); }
.hero__inner > * { max-width: var(--reading-width); }
.eyebrow { font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-warm); margin-bottom: var(--space-1); }
.hero__intro { font-size: 1.2rem; } /* net boven de lopende tekst */
/* Herofoto (page.hero_image) over de volle breedte. Mobiel: foto van rand tot rand onder de knoppen.
   Vanaf 64rem: foto achter de hele hero, tekst en knoppen links op een wit vlak (contrast gegarandeerd). */
.hero--with-media { padding-bottom: 0; }
.hero__media { display: block; margin-top: var(--space-4); }
.hero__media img { display: block; width: 100%; height: auto; }
@media (min-width: 64rem) {
  .hero--with-media { position: relative; isolation: isolate; padding-block: var(--space-8); }
  .hero--with-media .hero__media { position: absolute; inset: 0; z-index: -1; margin: 0; }
  .hero--with-media .hero__media img { height: 100%; object-fit: cover; }
  .hero--with-media .hero__text { max-width: 32rem; padding: var(--space-4); border-radius: var(--radius); background: var(--color-background); box-shadow: var(--shadow-raised); }
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); }

.button {
  display: inline-block; padding: .75rem 1.25rem; border-radius: var(--radius);
  background: var(--color-brand); color: var(--color-on-brand); font-weight: 600; text-decoration: none; line-height: 1.3;
}
.button:hover { background: var(--color-brand-hover); text-decoration: none; }
.button--small { padding: .5rem .9rem; }
/* secundaire actie: zelfde vorm, omlijnd; de rand zit binnen de knop zodat beide knoppen even hoog zijn */
.button--secondary { background: transparent; color: var(--color-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
.button--secondary:hover { background: var(--color-brand); color: var(--color-on-brand); }

.prose { max-width: var(--reading-width); font-size: 1.125rem; } /* lopende tekst 18 px (besluit 18-09-2026) */
.prose > :last-child { margin-bottom: 0; }

.cards { list-style: none; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.card { margin: 0; padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-background);
  display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.card > :last-child { margin-bottom: 0; }
/* knop onderaan, zodat de knoppen in een rij kaarten op één lijn staan */
.card__action { margin-top: auto; padding-top: var(--space-1); }
.card__meta { font-size: .9rem; font-weight: 600; color: var(--color-warm); }
.card__theme { font-size: .9rem; margin-bottom: var(--space-1); }
/* kaart met themakleur: zacht verloop over de hele kaart (tint linksboven naar wit) en een gekleurde themaregel met stip */
.card--themed { background: linear-gradient(150deg, var(--theme-tint) 0%, var(--color-background) 65%); }
.card--themed .card__theme { color: var(--theme-accent); font-weight: 600; }
.card--themed .card__theme::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .4em; border-radius: 50%; background: currentColor; }
/* uitgelichte afbeelding op een kaart: tot de rand van de kaart, 16:9 */
.card__media { display: block; margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-2); }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
/* Kaartenoverzicht (grant_overview, article_overview): teller boven de kaarten, knop eronder */
.overview__count { font-size: .95rem; font-weight: 600; }
.overview__more { margin: var(--space-3) 0 0; }
.overview__filters { display: grid; gap: var(--space-1); margin-bottom: var(--space-3); }
.overview__empty { max-width: var(--reading-width); }
.filter { margin: 0; }
.filter__options { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); margin: 0; padding: 0; border: 0; min-width: 0; }
/* uitklapknop (mobiel): zelfde vorm als .button--secondary, met pijltje; toont de huidige keuze */
.filter__summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: .6rem .9rem;
  border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--color-brand); font-weight: 600; line-height: 1.3;
  color: var(--color-brand); background: var(--color-background); cursor: pointer; list-style: none; }
.filter__summary::-webkit-details-marker { display: none; }
.filter__summary::after { content: ""; width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15em) rotate(45deg); flex: none; }
.filter[open] > .filter__summary::after { transform: translateY(.1em) rotate(-135deg); }
.filter[open] > .filter__summary + .filter__options { margin-top: var(--space-1); }
.chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .5rem .9rem; border-radius: var(--radius); background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-brand); font-weight: 600; line-height: 1.3; color: var(--color-brand); }
/* zelfde vorm als .button--secondary; gekozen = zoals de gevulde hoofdknop */
.chip:hover span { background: var(--color-brand); color: var(--color-on-brand); }
.chip input:checked + span { background: var(--color-brand); color: var(--color-on-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
.chip input:focus-visible + span { outline: var(--focus-ring); outline-offset: 2px; }

.process { list-style: none; counter-reset: stap; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
/* zes stappen: 2 x 3 op tablet, 3 x 2 vanaf desktop, zodat de rijen altijd vol zijn */
@media (min-width: 40rem) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .process { grid-template-columns: repeat(3, 1fr); } }
.process__step { counter-increment: stap; margin: 0; padding: var(--space-2) var(--space-2) var(--space-2) 3.25rem; position: relative; background: var(--color-background); border-radius: var(--radius); }
.process__step::before { content: counter(stap); position: absolute; left: var(--space-2); top: var(--space-2); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-brand); color: var(--color-on-brand); font-weight: 700; display: grid; place-items: center; line-height: 1; }
.process__label { font-size: 1.05rem; margin-bottom: .25rem; }
.process__outcome { margin: 0; }
.section__more { margin-top: var(--space-3); font-weight: 600; }

/* Wat we doen (sectie portfolio_flow): plannen -> subsidiemanager -> portfolio, als rustige lus van 14 s.
   Ruststand = het complete beeld; de animatie accentueert alleen. prefers-reduced-motion zet alles stil (base.css). */
.flow { position: relative; display: grid; justify-items: stretch; gap: var(--space-2); padding: var(--space-4) var(--space-3);
  border-radius: calc(var(--radius) * 2); background: var(--color-brand); color: var(--color-on-brand); overflow: hidden;
  box-shadow: var(--shadow-raised); }
.flow::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 32rem; height: 32rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 136, 181, .45), transparent); pointer-events: none; }
.flow > * { position: relative; }
.flow__label { margin-bottom: var(--space-1); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-surface-blue); }
.flow__plans, .flow__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.flow__plans { gap: .5rem; }
/* themakleur als zacht verloop (zoals op de kaarten); 35% zodat witte tekst >= 4,5:1 blijft. De animatie wisselt alleen
   de basiskleur, het verloop blijft staan. */
.flow__plan { margin: 0; padding: .6rem .9rem; border-radius: var(--radius); background-color: rgba(255, 255, 255, .08);
  background-image: linear-gradient(150deg, color-mix(in srgb, var(--theme-soft, transparent) 35%, transparent) 0%, transparent 75%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-weight: 600; animation: flow-plan 6s ease-in-out infinite; }
.flow__plan:nth-child(2) { animation-delay: 2s; }
.flow__plan:nth-child(3) { animation-delay: 4s; }
@keyframes flow-plan { 0%, 30%, 100% { background-color: rgba(255, 255, 255, .08); } 10%, 20% { background-color: rgba(255, 255, 255, .2); } }

/* verbindingslijn met een lopend signaal; mobiel verticaal, desktop horizontaal */
.flow__link { justify-self: center; width: 2px; height: 2.75rem; overflow: hidden;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px); }
/* het lopende signaal is de omtrek van het embleem (assets/images/brand/emblem-outline.svg, uit import_brand.py) */
.flow__link::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.25rem; height: 1.25rem; margin: -.625rem 0 0 -.625rem;
  background: url("/assets/images/brand/emblem-outline.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 .3rem rgba(255, 255, 255, .8)); animation: flow-down 2s ease-in-out infinite; }
@keyframes flow-down { from { top: 0; opacity: 0; } 20%, 80% { opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes flow-right { from { left: 0; opacity: 0; } 20%, 80% { opacity: 1; } to { left: 100%; opacity: 0; } }

/* middenvlak in de vorm van het embleem (emblem-shape.svg); de ringen volgen dezelfde vorm met een dunne lijn (emblem-ring.svg) */
.flow__hub { justify-self: center; display: grid; place-items: center; width: min(16rem, 100%); aspect-ratio: 1 / 1;
  background: url("/assets/images/brand/emblem-shape.svg") center / contain no-repeat; color: var(--color-brand); text-align: center; }
.flow__hub::before, .flow__hub::after { content: ""; position: absolute; inset: 0; opacity: 0;
  background: url("/assets/images/brand/emblem-ring.svg") center / contain no-repeat; animation: flow-pulse 3s ease-out infinite; }
.flow__hub::after { animation-delay: 1.5s; }
@keyframes flow-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.4); opacity: 0; } }
/* de tekst blijft binnen de cirkel: geen regel breder dan de bol (correctie MRK ONE, 23-09-2026) */
.flow__hub-text { margin: 0; padding: 0 1rem; max-width: 100%; min-width: 0; line-height: 1.25; text-wrap: balance; }
.flow__hub-text strong { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }
.flow__hub-text span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--color-warm); }

/* portfolio: de stappen lichten om de beurt op, de lijn links loopt mee */
.flow__steps { position: relative; gap: .15rem; }
.flow__steps::before, .flow__steps::after { content: ""; position: absolute; left: 1.4rem; top: 1rem; bottom: 1rem; width: 2px;
  margin-left: -1px; background: rgba(255, 255, 255, .2); }
.flow__steps::after { background: var(--color-on-brand); transform-origin: top; animation: flow-fill 14s linear infinite; }
@keyframes flow-fill { from { transform: scaleY(0); } 95% { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }
.flow__step { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .4rem .6rem; border-radius: var(--radius);
  font-weight: 600; animation: flow-step 14s ease-in-out infinite; }
.flow__num { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: var(--color-brand); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); font-size: .85rem;
  animation: flow-num 14s ease-in-out infinite; }
.flow__step:nth-child(2), .flow__step:nth-child(2) .flow__num { animation-delay: 2s; }
.flow__step:nth-child(3), .flow__step:nth-child(3) .flow__num { animation-delay: 4s; }
.flow__step:nth-child(4), .flow__step:nth-child(4) .flow__num { animation-delay: 6s; }
.flow__step:nth-child(5), .flow__step:nth-child(5) .flow__num { animation-delay: 8s; }
.flow__step:nth-child(6), .flow__step:nth-child(6) .flow__num { animation-delay: 10s; }
.flow__step:nth-child(7), .flow__step:nth-child(7) .flow__num { animation-delay: 12s; }
@keyframes flow-step { 0%, 16%, 100% { background: transparent; } 2%, 13% { background: rgba(255, 255, 255, .14); } }
@keyframes flow-num { 0%, 16%, 100% { background: var(--color-brand); color: var(--color-on-brand); } 2%, 13% { background: var(--color-on-brand); color: var(--color-brand); } }

@media (min-width: 64rem) {
  /* thema's en stappen elk op één regel: beide kolommen zo breed als hun langste regel, het geheel gecentreerd,
     zodat het portfolio even ver van het embleem staat als de thema's */
  .flow { grid-template-columns: max-content minmax(1.5rem, 6rem) auto minmax(1.5rem, 6rem) max-content; justify-content: center;
    align-items: center; gap: var(--space-3); padding: var(--space-6) var(--space-6); }
  .flow__plan, .flow__step { white-space: nowrap; }
  .flow__link { justify-self: stretch; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px); }
  .flow__link::after { top: 50%; left: 0; animation-name: flow-right; }
}

.table-scroll { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius); }
/* vaste kolommen: de onderdelen links, de drie vormen daarnaast even breed, zodat de kolommen gelijk uitlijnen */
.comparison { border-collapse: collapse; width: 100%; min-width: 44rem; table-layout: fixed; }
.comparison th, .comparison td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--color-line); }
.comparison thead th { background: var(--color-surface-blue); vertical-align: bottom; }
.comparison thead th:first-child { width: 22%; }
.comparison tbody th { font-weight: 600; }
.comparison tbody tr:nth-child(even) > * { background: color-mix(in srgb, var(--color-surface-blue) 35%, transparent); }
.comparison td + td, .comparison th + th { border-left: 1px solid var(--color-line); }
.comparison tr:last-child > * { border-bottom: 0; }

.faq { max-width: var(--reading-width); }
.faq__item { border-bottom: 1px solid var(--color-line); padding-block: var(--space-2); }
.faq__item > summary { cursor: pointer; font-weight: 600; }
.faq__item > .prose { margin-top: var(--space-1); }

.link-list { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.link-list a { font-weight: 600; }

.contact-direct__list { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.contact-direct__label { display: inline-block; min-width: 5.5rem; font-weight: 600; }
.contact-direct__value { font-size: 1.25rem; font-weight: 600; }
.contact-direct__topic { font-weight: 600; color: var(--color-warm); }
.section__action { margin: 0; }
button.button { border: 0; font-family: inherit; font-size: inherit; cursor: pointer; }

/* Extern contactformulier van Teamleader, direct als frame in de pagina */
.form-embed { max-width: 44rem; }
.form-embed > :last-child { margin-bottom: 0; }
.form-embed__frame { display: block; width: 100%; height: 600px; margin-bottom: var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-background); }
.form-embed__note { font-size: .9rem; }
/* smal scherm: frame tot de schermrand, anders valt de reCAPTCHA-controle buiten beeld */
@media (max-width: 30rem) {
  .form-embed__frame { width: calc(100% + 2rem); margin-inline: -1rem; border-inline: 0; border-radius: 0; }
}

.article-meta { font-size: .95rem; margin-bottom: var(--space-2); }

.facts { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: 0 0 var(--space-2); }
.facts__item { padding: var(--space-2); border-radius: var(--radius); background: var(--color-background); }
.facts__item dt { font-size: .9rem; font-weight: 600; color: var(--color-warm); }
.facts__item dd { margin: 0; }
.grant-summary__round { margin-top: var(--space-3); }
.grant-summary__source { max-width: var(--reading-width); font-size: .95rem; }
.status { font-weight: 700; }
.status--open, .status--continuous, .status--scheduled, .status--closes-today { color: var(--color-status-open); }
.status--closed, .status--withdrawn, .status--budget-exhausted { color: var(--color-status-closed); }

.concept-note { background: var(--color-note); border-bottom: 1px solid var(--color-note-line); font-size: .95rem; }
.concept-note p { margin: 0; padding-block: var(--space-1); }
.concept-note__details { padding-bottom: var(--space-1); }
.pending { max-width: var(--reading-width); padding: var(--space-2); border: 2px dashed var(--color-pending-line); border-radius: var(--radius); background: var(--color-note); }
.pending p { margin: 0; }
.pending-inline { display: inline-block; padding: 0 .4rem; border-radius: .25rem; background: var(--color-note); border: 1px dashed var(--color-pending-line); font-size: .85rem; }
/* trefwoorden op een themakaart en tekst na de inhoud van een blok (copy MRK ONE, 21-09-2026) */
.card__keywords { list-style: none; margin: 0 0 var(--space-1); padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.card__keywords li { margin: 0; padding: .15rem .6rem; border-radius: var(--radius-pill); font-size: .85rem; background: color-mix(in srgb, var(--theme-soft, var(--color-surface-blue)) 60%, transparent); }
.section__outro { margin-top: var(--space-3); }

/* Animatie: het label boven de thema's mag over twee regels lopen (feedback MRK ONE, 22-09-2026) */
.flow__col--plans .flow__label { max-width: 15rem; line-height: 1.35; }

/* Terugkerende cyclus (homepage "Zo werkt dat", feedback MRK ONE 22-09-2026).
   Mobiel: stappen onder elkaar met een pijl ertussen en een terugkeerregel. Desktop: zes stappen rond een ring met pijlen. */
.cycle { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.cycle__step { position: relative; margin: 0; padding: var(--space-2) var(--space-2) var(--space-2) 3.5rem; background: var(--color-background); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.cycle__num { position: absolute; left: var(--space-2); top: var(--space-2); width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--color-brand); color: var(--color-on-brand); font-weight: 700; line-height: 1; }
.cycle__label { font-size: 1.05rem; margin: 0 0 .25rem; }
.cycle__outcome { margin: 0; }
.cycle__step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--space-3) * -.78); width: .7rem; height: .7rem; border-right: 2px solid var(--color-brand); border-bottom: 2px solid var(--color-brand); transform: translateX(-50%) rotate(45deg); opacity: .6; }
.cycle__loop { margin: var(--space-3) 0 0; font-weight: 600; color: var(--color-brand); }
.cycle__loop::before { content: "\21BB" / ""; display: inline-block; margin-right: .5rem; font-size: 1.3em; line-height: 1; vertical-align: -.1em; }
@media (min-width: 64rem) {
  .cycle { grid-template-columns: minmax(0, 20rem) minmax(15rem, 19rem) minmax(0, 20rem); justify-content: center; grid-template-areas: ". s1 ." "s6 ring s2" "s5 ring s3" ". s4 ."; align-items: center; column-gap: var(--space-3); row-gap: var(--space-2); }
  .cycle::before { content: ""; grid-area: ring; width: 100%; aspect-ratio: 1; background: url("/assets/images/ui/cycle-ring.svg") center / contain no-repeat; }
  .cycle::after { content: "Doorlopende cyclus" / ""; grid-area: ring; place-self: center; max-width: 7rem; text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; line-height: 1.25; color: var(--color-brand); }
  .cycle__step:not(:last-child)::after { content: none; }
  .cycle__step--1 { grid-area: s1; } .cycle__step--2 { grid-area: s2; } .cycle__step--3 { grid-area: s3; }
  .cycle__step--4 { grid-area: s4; } .cycle__step--5 { grid-area: s5; } .cycle__step--6 { grid-area: s6; }
  .cycle__loop { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* de ring laat dit al zien */
}

/* Cijfers als bewijs (homepage "Wat het oplevert") */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.stats__item { margin: 0; display: flex; flex-direction: column; gap: .3rem; padding: var(--space-3) var(--space-2); background: var(--color-background); border-radius: var(--radius); }
.stats__value { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.stats__label { font-weight: 600; }
.stats__note { font-size: .9rem; }
.stats__value--pending { color: var(--color-pending-text); }
.stats__value.stats__value--pending { font-size: 1.4rem; line-height: 1.6; text-decoration: underline dashed; text-underline-offset: .25em; }
.stats__subhead { margin: var(--space-4) 0 var(--space-2); font-size: 1.15rem; }
.stats-themes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.stats-themes__col { margin: 0; padding: var(--space-3) var(--space-2); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--theme-soft) 55%, var(--color-background)), var(--color-background) 70%); }
.stats-themes__col { display: grid; gap: .25rem; justify-items: start; }
.stats-themes__share { font-family: var(--font-heading); font-weight: 600; font-size: 2.25rem; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--theme-accent); }
.stats-themes__name { margin: 0; font-size: 1.1rem; color: var(--color-brand); }

/* Widget in de hero (themapagina's, feedback MRK ONE 22-09-2026): een kaart in de themakleur met per rij een icoon,
   een naam en een voortgangsbalk (templates/components/hero-graphic-*.html.jinja). Staat altijd op een herofoto:
   mobiel onder de tekst, vanaf 64rem rechts, even hoog als het tekstkader en rechts uitgelijnd op de container. */
.hero__graphic { margin-top: var(--space-4); }
.hero--with-graphic .hero__inner > .hero__graphic { max-width: 34rem; }
@media (min-width: 64rem) {
  .hero--with-graphic { padding-block: var(--space-6); } /* iets compacter dan een foto-hero zonder widget (space-8) */
  .hero--with-graphic .hero__inner { display: grid; grid-template-columns: minmax(0, 32rem) minmax(0, 1fr); gap: var(--space-6); align-items: stretch; }
  .hero--with-graphic .hero__inner > * { max-width: none; }
  .hero__graphic { display: flex; justify-self: end; width: min(22rem, 100%); margin-top: 0; }
}
.tg { position: relative; padding: .9rem .9rem 1.1rem; background: var(--color-background); border: 1px solid var(--color-line); border-radius: 14px; box-shadow: var(--shadow-float); }
.tg__bar { display: flex; align-items: center; gap: .35rem; margin-bottom: .8rem; }
.tg__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #dfe4ec; }
.tg__title { margin-left: .5rem; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--color-brand); }
.tg__logo { margin-left: auto; width: 1.5rem; height: 1.5rem; }
.tg__cols { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.tg__col { display: flex; align-items: center; gap: .9rem; padding: .75rem .9rem; border-radius: 10px; background: linear-gradient(165deg, color-mix(in srgb, var(--theme-soft) 55%, var(--color-background)), var(--theme-tint)); }
.tg__icon { display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--color-background); color: var(--theme-accent); }
.tg__icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tg__name { flex: 1; min-width: 0; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--theme-accent); } /* lange namen breken af op de zachte afbreekstreep */
.tg__progress { position: relative; flex: none; width: 26%; height: .6rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .8); overflow: hidden; }
.tg__progress::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--theme-accent); }
.tg__progress--1::after { width: 78%; } .tg__progress--2::after { width: 62%; } .tg__progress--3::after { width: 70%; } .tg__progress--4::after { width: 55%; }
@media (max-width: 39.99rem) { .tg__name { font-size: .95rem; } }
@media (min-width: 64rem) {
  .tg { display: flex; flex-direction: column; width: 100%; }
  .tg__cols { flex: 1; grid-auto-rows: 1fr; }
  .tg__col { padding: .55rem .75rem; }
  .tg__name { font-size: .92rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .tg__progress::after { transform-origin: left; animation: tg-fill 1s ease-out both; }
  .tg__progress--2::after { animation-delay: .15s; } .tg__progress--3::after { animation-delay: .3s; } .tg__progress--4::after { animation-delay: .45s; }
}
@keyframes tg-fill { from { transform: scaleX(.1); } to { transform: scaleX(1); } }

/* Partnerlogo's (Partner ONE, "Een greep uit onze partners") */
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
.logos__item { margin: 0; display: grid; place-items: center; height: 6rem; padding: var(--space-2); background: var(--color-background); border: 1px solid var(--color-line); border-radius: var(--radius); }
.logos__item img { max-width: 100%; max-height: 3.4rem; width: auto; height: auto; object-fit: contain; }

/* Toestemmingsmelding onderaan het scherm; staat verborgen tot analytics.js hem toont (23-09-2026) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--color-background);
  border-top: 1px solid var(--color-line); box-shadow: var(--shadow-panel);
  padding-bottom: env(safe-area-inset-bottom, 0px); }
.consent__inner { max-width: var(--content-width); margin: 0 auto; padding: var(--space-2) max(1rem, calc((100% - var(--content-width)) / 2));
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.consent__text { margin: 0; flex: 1 1 22rem; font-size: .95rem; }
.consent__actions { margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.consent__actions .button { min-height: 2.75rem; }
.consent-change[hidden] { display: none; }

/* Sectietonen: gegenereerd uit config/section-tones.json */
.section.tone-blue { background: var(--color-surface-blue); border-top: 0; }
.section.tone-blue + .section.tone-blue { border-top: 1px solid var(--color-line); }
.section.tone-sand { background: var(--color-surface-warm); border-top: 0; }
.section.tone-sand + .section.tone-sand { border-top: 1px solid var(--color-line); }
.section.tone-tint-brand { background: var(--color-tint-brand); border-top: 0; }
.section.tone-tint-brand + .section.tone-tint-brand { border-top: 1px solid var(--color-line); }
.section.tone-tint-accent { background: var(--color-tint-accent); border-top: 0; }
.section.tone-tint-accent + .section.tone-tint-accent { border-top: 1px solid var(--color-line); }
.section.tone-tint-blue { background: var(--color-tint-blue); border-top: 0; }
.section.tone-tint-blue + .section.tone-tint-blue { border-top: 1px solid var(--color-line); }
.section.tone-tint-warm { background: var(--color-tint-warm); border-top: 0; }
.section.tone-tint-warm + .section.tone-tint-warm { border-top: 1px solid var(--color-line); }
.section.tone-tint-sand { background: var(--color-tint-sand); border-top: 0; }
.section.tone-tint-sand + .section.tone-tint-sand { border-top: 1px solid var(--color-line); }

/* Themakleuren: gegenereerd uit config/section-tones.json (theme_colors) */
.theme--mens-en-werk { --theme-accent: var(--color-theme-mens-accent); --theme-soft: var(--color-theme-mens-soft); --theme-tint: var(--color-theme-mens-tint); }
.theme--verduurzaming { --theme-accent: var(--color-theme-duurzaam-accent); --theme-soft: var(--color-theme-duurzaam-soft); --theme-tint: var(--color-theme-duurzaam-tint); }
.theme--technische-procesinnovatie { --theme-accent: var(--color-theme-techniek-accent); --theme-soft: var(--color-theme-techniek-soft); --theme-tint: var(--color-theme-techniek-tint); }

/* Uitsnede van herofoto's: gegenereerd uit hero_image.object_position */
.hero__media--pos-0-40 img { object-position: 0% 40%; }
.hero__media--pos-100-30 img { object-position: 100% 30%; }
.hero__media--pos-50-30 img { object-position: 50% 30%; }
.hero__media--pos-50-40 img { object-position: 50% 40%; }
.hero__media--pos-50-50 img { object-position: 50% 50%; }
.hero__media--pos-55-35 img { object-position: 55% 35%; }
.hero__media--pos-60-30 img { object-position: 60% 30%; }
.hero__media--pos-60-35 img { object-position: 60% 35%; }
.hero__media--pos-60-40 img { object-position: 60% 40%; }
.hero__media--pos-65-25 img { object-position: 65% 25%; }
.hero__media--pos-65-40 img { object-position: 65% 40%; }
.hero__media--pos-70-40 img { object-position: 70% 40%; }
.hero__media--pos-70-50 img { object-position: 70% 50%; }
.hero__media--pos-70-70 img { object-position: 70% 70%; }
