/* PRINTELLIGENCE site.css (V3.1, 30/09/2026)
   Gedeeld fundament voor alle pagina's: fonts (zelf gehost), tokens, brede layout, kop, voet, zoeken,
   artikel-layout met inhoudstafel en zijrail, beeldbanden, tegels. Tailwind (CDN) blijft voor utilities.
   Regels: afronding max 8px, geen pillen, geen gekleurde randbalkjes, geen bruin/amber, geen em-dashes in tekst.

   LICHTE EN DONKERE STAND (conventie V3.1)
   1. Stand staat op <html data-theme="light|dark"> (site.js; knop in de kop, localStorage "thema", anders prefers-color-scheme).
   2. Nooit meer vaste kleuren: --vlak (pagina), --wit en --paneel (kaart, kop, veld), --creme (zacht vlak), --lijn, --lijn-sterk (veldrand),
      --inkt (koppen en sterke tekst), --tekst (lopende tekst), --zacht (= --tekst-zacht, bijschrift), --donker (altijd donker vlak: code, fotoband).
   3. --teal is teal ALS TEKST of lijn (in dark lichter). Gevuld vlak met witte tekst: background var(--teal-vol) en color #fff.
      --teal-licht is het zachte teal vlak. Tekst op een licht accentvlak in dark: color var(--op-accent) (licht #fff, dark bijna zwart).
   4. Kleurwerelden (.w-user .w-build .w-teal .w-creme) zetten --p-bg, --p-inkt, --p-accent; in dark krijgen ze donkere tinten met lichte tekst.
      Gevuld vlak in --p-accent: tekst color var(--op-accent), niet #fff.
   5. Inkttekeningen (.is-tekening img, .rail-volgende-beeld, img[data-tekening]) worden in dark omgekeerd met screen; niets per pagina doen.
   6. Logo's met zwarte tekst: klasse .logo-inkt op de img (of binnen .partner-logos, .hero-partners) wordt in dark omgekeerd; .logo-kleur alleen lichter.
   7. Donkere regels per pagina: html[data-theme="dark"] .selector { ... } in het <style>-blok, alleen waar een token niet volstaat.
   8. Tailwind-kleuren (text-ink, text-zacht, bg-white, bg-creme, border-lijn, text-primary) worden hieronder in dark overschreven.
   9. Formuliervelden in main krijgen --paneel, --tekst en --lijn-sterk; de Tailwind forms-plugin wordt overschreven.
  10. Test: pagina.html?thema=dark of ?thema=light (wordt ook bewaard); ?thema=auto wist de keuze. */

/* ---------- Fonts (zelf gehost, Google Fonts is geen afhankelijkheid meer) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/inter-var.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/spacegrotesk-var.woff2') format('woff2'); }
@font-face { font-family: 'Material Symbols Outlined'; font-style: normal; font-weight: 400; font-display: block; src: url('fonts/material-symbols.woff2') format('woff2'); }
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --teal: #006170; --teal-vol: #006170; --teal-vol-hover: #14161a; --teal-diep: #004e5a; --teal-licht: #dff0f2;
  --inkt: #14161a; --tekst: #2b2e34; --zacht: #5c6068; --tekst-zacht: var(--zacht);
  --lijn: #e2ded4; --lijn-sterk: #c4c0b5; --vlak: #f8f7f3; --creme: #f1efe8; --wit: #fff; --paneel: #fff;
  --donker: #14161a; --voet: #14161a; --op-accent: #fff; --schaduw: rgba(20,22,26,.35);
  --goot: clamp(16px, 4vw, 64px);
  --breed: 1720px;
  --kop-h: 64px;
  --kop-font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --tekst-font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --teal: #4db3c3; --teal-vol: #007585; --teal-vol-hover: #2d7a89; --teal-diep: #004e5a; --teal-licht: #0f3a42;
  --inkt: #ecebe6; --tekst: #d6d5d0; --zacht: #a5a8b0;
  --lijn: #30343b; --lijn-sterk: #4a4f58; --vlak: #14161a; --creme: #22262c; --wit: #1d2026; --paneel: #1d2026;
  --donker: #0c0d10; --voet: #1a1d22; --op-accent: #101216; --schaduw: rgba(0,0,0,.6);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kop-h) + 16px); background: var(--vlak); }
body { font-family: var(--tekst-font); color: var(--inkt); background: var(--vlak); margin: 0; padding-top: var(--kop-h); }
h1, h2, h3, h4, h5, h6 { font-family: var(--kop-font); letter-spacing: -0.03em; }
img { max-width: 100%; }
.tint { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.thema-wissel, .thema-wissel * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* niveau-werelden */
.w-user  { --p-bg: #d7eae1; --p-inkt: #0a2e1c; --p-accent: #047857; }
.w-build { --p-bg: #f9e1d7; --p-inkt: #381005; --p-accent: #c2410c; }
.w-orch  { --p-bg: #ebdbfa; --p-inkt: #2e1046; --p-accent: #7e22ce; }
.w-teal  { --p-bg: #e2eeef; --p-inkt: #00272e; --p-accent: #006170; }
.w-creme { --p-bg: var(--creme); --p-inkt: var(--inkt); --p-accent: var(--teal); }
html[data-theme="dark"] .w-user  { --p-bg: #12362a; --p-inkt: #d7eae1; --p-accent: #4fd1a0; }
html[data-theme="dark"] .w-build { --p-bg: #262a31; --p-inkt: #f3f4f6; --p-accent: #fb8a5c; }  /* neutraal donker, geen roodbruin (regel Geert: nooit bruin) */
html[data-theme="dark"] .w-orch  { --p-bg: #2c1a42; --p-inkt: #ecdcfb; --p-accent: #c08af0; }
html[data-theme="dark"] .w-teal  { --p-bg: #0f3a42; --p-inkt: #dff0f2; --p-accent: #5fc3d1; }
html[data-theme="dark"] .w-creme { --p-bg: var(--paneel); }
.wereld { background: var(--p-bg); color: var(--p-inkt); }
.wereld .w-accent { color: var(--p-accent); }
.wereld .text-ink { color: var(--p-inkt); }
.wereld .text-zacht { color: color-mix(in srgb, var(--p-inkt) 72%, transparent); }
.wereld .w-lijn { border-color: color-mix(in srgb, var(--p-inkt) 15%, transparent); }
.niveau-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 4px; background: var(--p-accent, var(--teal)); color: var(--op-accent); }

/* ---------- Brede container ---------- */
.breed { width: min(100% - 2 * var(--goot), var(--breed)); margin-inline: auto; }
.sectie { padding-block: clamp(64px, 8vw, 144px); }  /* V3.2: meer lucht tussen de secties */
.sectie-kop { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 64px); }
.sectie-kop h2 { font-size: clamp(2rem, 3.6vw, 3.75rem); font-weight: 700; line-height: 1.02; margin: 0; max-width: 18ch; }
.sectie-kop p { color: var(--zacht); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.55; max-width: 46ch; margin: 0; }

/* ---------- Knoppen (stijl F, ongewijzigd) ---------- */
.knop { display:inline-block; background:var(--teal-licht); color:var(--teal); font-weight:600; font-size:15px; line-height:1.2; padding:14px 28px; border-radius:6px; box-shadow:inset 0 0 0 1.5px rgba(0,97,112,.35); text-decoration:none; white-space:nowrap; transition:background .18s ease, color .18s ease, box-shadow .18s ease; cursor:pointer; border:0; }
.knop:hover, .knop:focus-visible { background:var(--teal-vol); color:#fff; box-shadow:inset 0 0 0 1.5px var(--teal-vol); }
.knop-vol { background:var(--teal-vol); color:#fff; box-shadow:none; }
.knop-vol:hover, .knop-vol:focus-visible { background:var(--teal-vol-hover); box-shadow:none; }
.knop-klein { padding:9px 18px; font-size:14px; }
.knop-wit { background:#fff; color:#006170; box-shadow:none; }
.knop-wit:hover, .knop-wit:focus-visible { background:#14161a; color:#fff; box-shadow:none; }
.knop-link { color:var(--inkt); font-weight:600; text-decoration:none; background:linear-gradient(var(--teal),var(--teal)) left bottom / 100% 2px no-repeat; padding:0 0 3px; transition:background-size .18s ease, color .18s ease, padding .18s ease; }
.knop-link:hover, .knop-link:focus-visible { background-size:100% 100%; color:var(--op-accent); padding:2px 4px 3px; }
.knop-filter { background:var(--creme); color:var(--zacht); font-size:14px; font-weight:600; padding:9px 18px; border-radius:6px; box-shadow:inset 0 0 0 1.5px transparent; transition:all .18s ease; cursor:pointer; border:0; }
.knop-filter:hover { background:var(--teal-licht); color:var(--teal); box-shadow:inset 0 0 0 1.5px rgba(0,97,112,.35); }
.knop-filter.is-actief { background:var(--teal-vol); color:#fff; box-shadow:none; }
.w-knop { display:inline-block; text-decoration:none; background:rgba(255,255,255,.55); color:var(--p-inkt); font-size:.95rem; font-weight:600; border-radius:6px; padding:.75rem 1.3rem; box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--p-inkt) 35%, transparent); transition:background .16s ease, color .16s ease, box-shadow .16s ease; }
.w-knop:hover, .w-knop:focus-visible { background:var(--p-inkt); color:#fff; box-shadow:none; }
html[data-theme="dark"] .knop, html[data-theme="dark"] .knop-filter:hover { box-shadow:inset 0 0 0 1.5px rgba(77,179,195,.4); }
html[data-theme="dark"] .knop:hover, html[data-theme="dark"] .knop:focus-visible { box-shadow:inset 0 0 0 1.5px var(--teal-vol); }
html[data-theme="dark"] .knop-vol, html[data-theme="dark"] .knop-wit { box-shadow:none; }
html[data-theme="dark"] .knop-wit { background:#ecebe6; color:#004e5a; }
html[data-theme="dark"] .wereld .knop-wit { background:color-mix(in srgb, var(--p-inkt) 12%, transparent); color:var(--p-inkt); }
html[data-theme="dark"] .wereld .knop-wit:hover, html[data-theme="dark"] .wereld .knop-wit:focus-visible { background:var(--p-inkt); color:var(--p-bg); }
html[data-theme="dark"] .w-knop { background:rgba(255,255,255,.06); }
html[data-theme="dark"] .w-knop:hover, html[data-theme="dark"] .w-knop:focus-visible { color:var(--p-bg); }

/* ---------- Kop (wordt gevuld door site.js) ---------- */
#kop { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--kop-h); background: color-mix(in srgb, var(--wit) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lijn); }
.kop-in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.kop-logo img { height: clamp(18px, 1.7vw, 26px); width: auto; display: block; }  /* V3.11: logo bijgesneden (logo_printelligence_kop.png), dus de hoogte is de echte letterhoogte */
.kop-item > a, .kop-item > button { white-space: nowrap; }
@media (max-width: 1439px) { .kop-zoek { min-width: 44px; padding: 9px; } .kop-zoek .kop-zoek-tekst, .kop-zoek kbd { display: none; } }
.kop-nav { display: flex; align-items: stretch; gap: 2px; height: 100%; margin-right: auto; }
.kop-item { position: relative; display: flex; align-items: center; }
.kop-item > a, .kop-item > button { font: 600 15px var(--tekst-font); color: var(--inkt); text-decoration: none; background: none; border: 0; padding: 8px 12px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; }
.kop-item > a:hover, .kop-item > button:hover, .kop-item.is-actief > a, .kop-item.is-actief > button { color: var(--teal); background: var(--teal-licht); }
.kop-item .material-symbols-outlined { font-size: 18px; }
.kop-paneel { position: absolute; top: calc(100% - 6px); left: 0; min-width: 320px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; box-shadow: 0 18px 40px -18px var(--schaduw); padding: 8px; display: none; }
.kop-item:hover .kop-paneel, .kop-item:focus-within .kop-paneel, .kop-item.is-open .kop-paneel { display: block; }
.kop-paneel a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--inkt); }
.kop-paneel a:hover, .kop-paneel a:focus-visible { background: var(--creme); }
.kop-paneel strong { display: block; font-weight: 600; font-size: 15px; }
.kop-paneel span { display: block; font-size: 13px; color: var(--zacht); margin-top: 1px; }
.kop-acties { display: flex; align-items: center; gap: 10px; }
.kop-thema { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; background: none; border: 0; border-radius: 6px; color: var(--zacht); cursor: pointer; }
.kop-thema:hover { background: var(--teal-licht); color: var(--teal); }
.kop-thema .material-symbols-outlined { font-size: 20px; }
.kop-zoek { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--tekst-font); color: var(--zacht); background: var(--creme); border: 0; border-radius: 6px; padding: 9px 14px; cursor: pointer; min-width: clamp(44px, 16vw, 260px); }
.kop-zoek:hover { background: var(--teal-licht); color: var(--teal); }
.kop-zoek kbd { margin-left: auto; font: 600 11px var(--tekst-font); border: 1px solid var(--lijn); border-radius: 4px; padding: 1px 6px; background: var(--wit); color: var(--zacht); }
.kop-menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--inkt); }
@media (max-width: 1279px) {
  .kop-item > a, .kop-item > button { font-size: 14px; padding: 8px 8px; }
  .kop-zoek { min-width: 44px; padding: 9px; }
  .kop-zoek .kop-zoek-tekst, .kop-zoek kbd { display: none; }
  .kop-logo { flex-shrink: 0; }
}
@media (max-width: 1099px) {
  .kop-nav { display: none; position: fixed; inset: var(--kop-h) 0 0 0; height: auto; background: var(--wit); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--goot) 32px; overflow-y: auto; margin: 0; }
  .kop-nav.is-open { display: flex; }
  .kop-item { display: block; border-bottom: 1px solid var(--lijn); padding: 6px 0; }
  .kop-item > a, .kop-item > button { font-size: 18px; padding: 10px 0; width: 100%; justify-content: space-between; }
  .kop-paneel { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .kop-paneel a { padding: 8px 0; }
  .kop-paneel span { display: none; }
  .kop-menu { display: inline-flex; }
  .kop-acties { margin-left: auto; }
  .kop-zoek span.kop-zoek-tekst, .kop-zoek kbd { display: none; }
  .kop-zoek { min-width: 0; padding: 9px; }
  .kop-advies { display: none; }
  .kop-acties { gap: 4px; }
  .kop-thema { width: 36px; height: 36px; }
}

/* ---------- Zoeken ---------- */
.zoek { position: fixed; inset: 0; z-index: 80; background: rgba(20,22,26,.55); display: none; padding: clamp(16px, 8vh, 96px) var(--goot) 24px; }
.zoek.is-open { display: block; }
.zoek-doos { background: var(--wit); border-radius: 8px; max-width: 860px; margin-inline: auto; max-height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.zoek-veld { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--lijn); }
.zoek-veld input { flex: 1; border: 0; outline: 0; font: 500 20px var(--tekst-font); color: var(--inkt); background: none; min-width: 0; }
.zoek-veld button { background: var(--creme); border: 0; border-radius: 6px; padding: 6px 10px; font: 600 12px var(--tekst-font); color: var(--zacht); cursor: pointer; }
.zoek-lijst { overflow-y: auto; padding: 8px; margin: 0; list-style: none; }
.zoek-lijst a { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; padding: 12px; border-radius: 6px; text-decoration: none; color: var(--inkt); }
.zoek-lijst a:hover, .zoek-lijst a:focus-visible, .zoek-lijst a.is-kies { background: var(--teal-licht); }
.zoek-soort { font-size: 12px; font-weight: 700; color: var(--teal); padding-top: 3px; }
.zoek-titel { font-weight: 600; }
.zoek-tekst { grid-column: 2; font-size: 14px; color: var(--zacht); line-height: 1.45; }
.zoek-leeg { padding: 20px; color: var(--zacht); font-size: 15px; }
@media (max-width: 600px) { .zoek-lijst a { grid-template-columns: 1fr; } .zoek-tekst { grid-column: 1; } }

/* ---------- Paginahero: tekst links, beeld loopt rechts tot de schermrand ---------- */
.phero { background: var(--p-bg, var(--creme)); color: var(--p-inkt, var(--inkt)); overflow: hidden; }
.phero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: min(62vh, 640px); }
.phero-tekst { padding-block: clamp(48px, 7vw, 120px); }
.phero-soort { font-weight: 700; font-size: 15px; color: var(--p-accent, var(--teal)); margin: 0 0 14px; }
.phero h1 { font-size: clamp(2.5rem, 5.2vw, 5.5rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 28px; max-width: 14ch; text-wrap: balance; }
.phero-intro { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.5; max-width: 48ch; margin: 0 0 36px; color: color-mix(in srgb, var(--p-inkt, var(--inkt)) 78%, transparent); }
.phero-feiten { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; margin: 0 0 36px; padding: 0; list-style: none; color: color-mix(in srgb, var(--p-inkt, var(--inkt)) 78%, transparent); }
.phero-feiten li { display: inline-flex; align-items: center; gap: 6px; }
.phero-feiten .material-symbols-outlined { font-size: 18px; color: var(--p-accent, var(--teal)); }
.phero-knoppen { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.phero-beeld { align-self: stretch; margin-right: calc(-1 * max(var(--goot), (100vw - var(--breed)) / 2)); min-height: 320px; position: relative; }
.phero-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-beeld.is-tekening img { object-fit: contain; object-position: center; mix-blend-mode: multiply; padding: clamp(16px, 3vw, 48px); }
img[data-tekening] { mix-blend-mode: multiply; }
@media (max-width: 899px) {
  .phero-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .phero-beeld { margin-inline: calc(-1 * var(--goot)); min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Artikel: inhoudstafel links, tekst, zijrail rechts ---------- */
.artikel { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 380px); gap: 0 clamp(32px, 4.5vw, 88px); align-items: start; padding-block: clamp(56px, 6vw, 104px); }
.artikel-toc { position: sticky; top: calc(var(--kop-h) + 24px); font-size: 14px; }
.artikel-toc p { font-weight: 700; margin: 0 0 10px; font-size: 13px; color: var(--zacht); }
.artikel-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--lijn); }
.artikel-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--zacht); text-decoration: none; line-height: 1.35; }
.artikel-toc a:hover { color: var(--inkt); }
.artikel-toc a.is-actief { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }
.artikel-tekst { min-width: 0; font-size: clamp(1rem, 1.05vw, 1.125rem); line-height: 1.7; color: var(--tekst); }
.artikel-tekst > * { max-width: 46rem; }
.artikel-tekst > .uitbreek { max-width: none; }
.artikel .artikel-tekst > * + * { margin-top: 1.35em; }
.artikel .artikel-tekst > .uitbreek, .artikel .artikel-tekst > .citaat, .artikel .artikel-tekst > figure { margin-block: 2em; }
.artikel .artikel-tekst > h2 { font-size: clamp(1.6rem, 2.3vw, 2.4rem); font-weight: 700; line-height: 1.08; color: var(--inkt); margin-top: 2.8em; scroll-margin-top: calc(var(--kop-h) + 20px); }
.artikel .artikel-tekst > h2:first-child { margin-top: 0; }
.artikel .artikel-tekst > h3 { font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 700; color: var(--inkt); margin-top: 1.8em; }
.artikel-tekst > .lead { font-size: clamp(1.15rem, 1.5vw, 1.5rem); line-height: 1.5; color: var(--inkt); }
.artikel-tekst a:not([class]) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.artikel-tekst ul:not([class]), .artikel-tekst ol:not([class]) { padding-left: 1.3em; }
.artikel-tekst ul:not([class]) { list-style: disc; }
.artikel-tekst ol:not([class]) { list-style: decimal; }
.artikel-tekst li + li { margin-top: .45em; }
.artikel-tekst .fotorij li + li { margin-top: 0; }
.artikel-rail { min-width: 0; position: sticky; top: calc(var(--kop-h) + 24px); display: grid; gap: 24px; }
.rail-blok { background: var(--creme); border-radius: 8px; padding: 24px; font-size: 14px; line-height: 1.55; }
.rail-blok h3, .rail-blok h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.rail-blok ul { list-style: none; margin: 0; padding: 0; }
.rail-blok li + li { border-top: 1px solid var(--lijn); }
.rail-blok li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--inkt); text-decoration: none; font-weight: 500; }
.rail-blok li a:hover { color: var(--teal); }
.rail-blok.is-teal { background: var(--teal-vol); color: #fff; }
.rail-blok.is-teal h2, .rail-blok.is-teal h3 { color: #fff; }
.rail-blok.is-teal p { color: #dff0f2; margin: 0 0 14px; }
.rail-beeld { margin: 0; border-radius: 8px; overflow: hidden; background: var(--creme); }
.rail-beeld img { display: block; width: 100%; height: auto; }
.rail-beeld figcaption { font-size: 12.5px; color: var(--zacht); padding: 8px 12px 10px; }
@media (max-width: 1279px) {
  .artikel { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
  .artikel-toc { display: none; }
}
@media (max-width: 899px) {
  .artikel { grid-template-columns: 1fr; gap: 32px 0; }
  .artikel-rail { position: static; }
}

/* ---------- Beeld: band over de volle breedte, fotorij, figuur ---------- */
.band-beeld { position: relative; margin: 0; background: var(--donker); }
.band-beeld img { display: block; width: 100%; height: clamp(280px, 56vh, 720px); object-fit: cover; }
.band-beeld figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 0 18px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(20,22,26,.72)); }
.fotorij { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, .8vw, 12px); margin: 0; padding: 0; list-style: none; }
.fotorij > * { grid-column: span 4; margin: 0; border-radius: 6px; overflow: hidden; background: var(--creme); aspect-ratio: 4 / 3; cursor: zoom-in; }
.fotorij > .is-breed { grid-column: span 8; aspect-ratio: 8 / 3; }
.fotorij > .is-half { grid-column: span 6; aspect-ratio: 3 / 2; }
.fotorij img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.fotorij > *:hover img { transform: scale(1.03); }
@media (max-width: 699px) { .fotorij > *, .fotorij > .is-breed, .fotorij > .is-half { grid-column: span 6; aspect-ratio: 4 / 3; } }
.figuur { margin: 0; }
.figuur img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--creme); }
.figuur figcaption { font-size: 13px; color: var(--zacht); margin-top: 8px; }
.lichtbak { position: fixed; inset: 0; z-index: 90; background: rgba(20,22,26,.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lichtbak.is-open { display: flex; }
.lichtbak img { max-width: 100%; max-height: 100%; border-radius: 4px; }

/* ---------- Tegels (kaart met beeld) ---------- */
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2vw, 36px); }
.tegels.is-groot { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.tegel { display: flex; flex-direction: column; background: var(--p-bg, var(--creme)); color: var(--p-inkt, var(--inkt)); border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .2s ease; }
a.tegel:hover { transform: translateY(-3px); }
.tegel-beeld { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wit); }
.tegel-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tegel-beeld.is-tekening { background: transparent; }
.tegel-beeld.is-tekening img { object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.tegel-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tegel-soort { font-size: 12.5px; font-weight: 700; color: var(--p-accent, var(--teal)); }
.tegel-titel { font-family: var(--kop-font); font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.tegel-tekst { font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--p-inkt, var(--inkt)) 74%, transparent); }
.tegel-meta { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--p-accent, var(--teal)); }

/* ---------- Cijferrij en citaat ---------- */
.cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--lijn); border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; }
.cijfers > div { background: var(--paneel); padding: 20px; }
.cijfers strong { display: block; font-family: var(--kop-font); font-size: clamp(1.8rem, 2.6vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--teal); letter-spacing: -0.03em; }
.cijfers span { display: block; font-size: 14px; color: var(--zacht); margin-top: 8px; line-height: 1.4; }
.citaat { background: var(--creme); border-radius: 8px; padding: clamp(20px, 2.4vw, 36px); margin: 0; }
.citaat p { font-family: var(--kop-font); font-size: clamp(1.2rem, 1.8vw, 1.8rem); line-height: 1.25; letter-spacing: -0.02em; margin: 0; color: var(--inkt); }
.citaat footer { font-size: 13.5px; color: var(--zacht); margin-top: 12px; }

/* ---------- Voet (wordt gevuld door site.js) ---------- */
#voet { background: var(--voet); color: #fff; }
html[data-theme="dark"] #voet { border-top: 1px solid var(--lijn); }
.voet-in { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px clamp(24px, 3vw, 56px); padding-block: clamp(48px, 5vw, 80px) 32px; }
.voet-merk { font-family: var(--kop-font); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.voet-in p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.55; margin: 12px 0 0; max-width: 36ch; }
.voet-in h4 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); margin: 0 0 12px; }
.voet-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.voet-in li a { color: rgba(255,255,255,.62); font-size: 14px; text-decoration: none; }
.voet-in li a:hover { color: #fff; }
.voet-onder { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 899px) { .voet-in { grid-template-columns: 1fr 1fr; } .voet-in > div:first-child { grid-column: 1 / -1; } }

/* ---------- Formulieren: velden in main volgen de tokens (overschrijft de Tailwind forms-plugin) ---------- */
main :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="date"], input[type="time"], input[type="password"], textarea, select) {
  background-color: var(--paneel); color: var(--tekst); border-color: var(--lijn-sterk);
}
main :is(input, textarea)::placeholder { color: var(--zacht); opacity: .8; }

/* ---------- Donkere stand: beelden, logo's en Tailwind-kleuren ---------- */
/* Inkttekeningen (zwart op wit, multiply): in dark omkeren en met screen op het vlak zetten, accentkleur blijft ongeveer */
html[data-theme="dark"] :is(.phero-beeld.is-tekening img, .tegel-beeld.is-tekening img, .snel-beeld.is-tekening img, .rail-volgende-beeld, img[data-tekening]) {
  filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen;
}
/* Foto's iets gedempt */
html[data-theme="dark"] :is(.phero-beeld:not(.is-tekening) img, .fotorij img, .band-beeld img, .tegel-beeld:not(.is-tekening) img, .rail-beeld img, .figuur img) { filter: brightness(.92); }
/* Logo's met zwarte of donkere tekst (VIGC, Sirris, VLAIO): omkeren. Het Printelligence-logo is teal en wordt alleen iets lichter. */
html[data-theme="dark"] :is(.partner-logos img, .hero-partners img, img.logo-inkt) { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
html[data-theme="dark"] :is(.kop-logo img, img.logo-kleur) { filter: brightness(1.3) saturate(1.1); }
/* Tailwind-kleuren uit de paginaconfig */
html[data-theme="dark"] .text-ink { color: var(--inkt); }
html[data-theme="dark"] .text-zacht { color: var(--zacht); }
html[data-theme="dark"] .text-primary { color: var(--teal); }
html[data-theme="dark"] .bg-white { background-color: var(--wit); }
html[data-theme="dark"] .bg-creme { background-color: var(--creme); }
html[data-theme="dark"] .bg-ink { background-color: var(--donker); }
html[data-theme="dark"] .border-lijn { border-color: var(--lijn); }
