/* D45C – huisstijl. Kleuren als tokens; donkere modus volgt de systeeminstelling. */

:root {
  --orange: #f7931e;          /* hoofdkleur, uit het logo */
  --orange-strong: #e07b00;   /* hover */
  --orange-soft: #fff1e0;     /* lichte vlakken */
  --link: #a85500;            /* oranje tekst op wit (contrast ≥ 4.5) */
  --ink: #1e2329;             /* tekst */
  --steel: #59636e;           /* secundaire tekst */
  --line: #dde2e7;
  --paper: #ffffff;
  --mist: #f2f4f6;            /* afwisselende secties */
  --band: #1e2329;            /* donkere band (CTA, footer) */
  --band-text: #e8ecef;
  --band-muted: #a3adb8;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 72rem;
  --gutter: 1rem;
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange-soft: #2a2117;
    --link: #ffaa4d;
    --ink: #e8ecef;
    --steel: #a3adb8;
    --line: #2e353d;
    --paper: #15191e;
    --mist: #1b2026;
    --band: #0f1216;
  }
}

/* --- Basis ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p, ul, ol, dl { margin: 0 0 1em; }
p { text-wrap: pretty; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: #1e2329; padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.lede { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--steel); max-width: 40rem; }
.muted { color: var(--steel); }

/* --- Knoppen ------------------------------------------------------------------ */

.button {
  display: inline-block;
  background: var(--orange);
  color: #1e2329;
  font-weight: 650;
  text-decoration: none;
  padding: .8rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  line-height: 1.2;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}
.button:hover { background: var(--orange-strong); border-color: var(--orange-strong); text-decoration: none; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--mist); border-color: var(--steel); }
.button-small { padding: .45rem .9rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* --- Header en navigatie ------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
/* woordmerk: nagetekend uit site/public/images/D45C.png (lijnletters, open 4), volgt de tekstkleur */
.wordmark { width: auto; height: .95rem; overflow: visible; }
.wordmark path { fill: none; stroke: currentColor; stroke-width: 15; stroke-linejoin: miter; stroke-linecap: butt; }

.site-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.button) { display: block; padding: .5rem .75rem; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 520; }
.site-nav a:not(.button):hover { background: var(--mist); }
.site-nav a[aria-current="page"]:not(.button) { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.site-nav li:last-child { margin-left: .5rem; }
.site-nav .lang-switch a { font-size: .85rem; letter-spacing: .08em; padding-inline: .6rem; border: 1px solid var(--line); border-radius: 8px; }

@media (max-width: 47.99rem) {
  .header-inner { flex-wrap: wrap; row-gap: 0; padding-block: .5rem 0; }
  .site-nav { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
  .site-nav ul { padding: 0 var(--gutter) .5rem; width: max-content; }
  .site-nav a:not(.button) { padding: .45rem .6rem; font-size: .975rem; }
  .site-nav li:last-child { display: none; }
}
@media (min-width: 48rem) { .header-cta { display: none; } }

/* --- Secties ------------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section-alt { background: var(--mist); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--steel); font-size: 1.125rem; }

/* --- Hero met koppelingsschema -------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-bottom: 0; }

.diagram { width: 100%; max-width: 34rem; justify-self: center; }
.diagram .dg-line { fill: none; stroke: var(--line); stroke-width: 2; }
.diagram .dg-flow { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 22; animation: dg-flow 2.4s linear infinite; }
.diagram .dg-flow.out { animation-direction: reverse; }
.diagram .dg-node { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.diagram .dg-node-alt { fill: var(--orange-soft); stroke: var(--orange); }
.diagram .dg-icon { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.diagram .dg-label { fill: var(--steel); font: 600 13px var(--font); text-anchor: middle; }
.diagram .dg-core-bg { fill: var(--paper); }
@keyframes dg-flow { to { stroke-dashoffset: -48; } }
/* knooppunten lichten om beurten op (wijzerzin vanaf Website), samen met hun lijn; 6 × 1,5 s */
.diagram .dg-step .dg-node { animation: dg-lit 9s ease-in-out infinite both; animation-delay: var(--dg-d, 0s); }
.diagram .dg-step .dg-icon { animation: dg-lit-icon 9s ease-in-out infinite both; animation-delay: var(--dg-d, 0s); }
.diagram .dg-line[class*="dg-s"] { animation: dg-lit-line 9s ease-in-out infinite both; animation-delay: var(--dg-d, 0s); }
.diagram .dg-s2 { --dg-d: 1.5s; }
.diagram .dg-s3 { --dg-d: 3s; }
.diagram .dg-s4 { --dg-d: 4.5s; }
.diagram .dg-s5 { --dg-d: 6s; }
.diagram .dg-s6 { --dg-d: 7.5s; }
@keyframes dg-lit { 0%, 21%, 100% { fill: var(--paper); stroke: var(--ink); } 4%, 15% { fill: var(--orange-soft); stroke: var(--orange); } }
@keyframes dg-lit-icon { 0%, 21%, 100% { stroke: var(--ink); } 4%, 15% { stroke: var(--orange); } }
@keyframes dg-lit-line { 0%, 21%, 100% { stroke: var(--line); } 4%, 15% { stroke: var(--orange); } }

/* --- Geanimeerde schema's per dienst (web/schemas/, cyclus 9 s) ----------------
   sc-tNN: verschijnt op NN % van de cyclus en blijft tot 92 %. sc-dNN: knooppunt (sc-node) licht op na N,N s.
   De lijsten hieronder zijn gegenereerd uit de schema's: een nieuwe waarde nodig? Regel + keyframe erbij. */

.page-hero-grid { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 60rem) { .page-hero-grid { grid-template-columns: 1.1fr 1fr; } }
.schema { max-width: 30rem; }
.schema .sc-frame { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.schema .sc-frame-bar { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.schema .sc-dot { fill: var(--line); }
.schema .sc-blk { fill: var(--mist); stroke: var(--line); stroke-width: 1; }
.schema .sc-blk-hero { fill: var(--orange-soft); stroke: var(--orange); stroke-width: 1.5; }
.schema .sc-blk-accent { fill: var(--orange); }
.schema .sc-blk-soft { fill: var(--steel); opacity: .45; }
.schema .sc-chip { fill: var(--orange-soft); stroke: var(--orange); stroke-width: 1.5; }
.schema .sc-office { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 6 6; }
.schema .sc-caption { fill: var(--steel); font: 600 12px var(--font); letter-spacing: .04em; }
.schema .sc-token rect { fill: var(--paper); stroke: var(--orange); stroke-width: 2; }
.schema .sc-scan { fill: var(--orange); opacity: .35; animation: sc-scan 9s ease-in-out infinite both; }
.schema .sc-ecg { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40 400; animation: sc-ecg 2.25s linear infinite; }
.schema .sc-pulse { fill: none; stroke: var(--orange); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sc-pulse 9s ease-out infinite both; }
.schema .sc-card rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.schema .sc-card-out rect { stroke: var(--orange); }
.schema .sc-code { fill: var(--steel); font: 600 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.schema .sc-field { fill: var(--ink); font: 600 11.5px var(--font); }
.schema .sc-check circle { fill: var(--orange); }
.schema .sc-check path { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.schema .sc-node .dg-node { animation: dg-lit 9s ease-in-out infinite both; animation-delay: var(--dg-d, 0s); }
.schema .sc-node .dg-icon { animation: dg-lit-icon 9s ease-in-out infinite both; animation-delay: var(--dg-d, 0s); }
.schema-data .sc-card-in { animation: sc-in 9s ease-in-out infinite both; }
.schema-data .sc-card-out { animation: sc-out 9s ease-in-out infinite both; }
.schema .sc-hosting-bk { animation: sc-hosting-bk 9s ease-in-out infinite both; }
.schema .sc-it-bk { animation: sc-it-bk 9s ease-in-out infinite both; }
.schema .sc-d02 { --dg-d: 0.2s; }
.schema .sc-d14 { --dg-d: 1.4s; }
.schema .sc-d26 { --dg-d: 2.6s; }
.schema .sc-d32 { --dg-d: 3.2s; }
.schema .sc-d38 { --dg-d: 3.8s; }
.schema .sc-d52 { --dg-d: 5.2s; }
.schema .sc-d53 { --dg-d: 5.3s; }
.schema .sc-d64 { --dg-d: 6.4s; }
.schema .sc-t04 { animation: sc-t04 9s ease-out infinite both; }
.schema .sc-t05 { animation: sc-t05 9s ease-out infinite both; }
.schema .sc-t08 { animation: sc-t08 9s ease-out infinite both; }
.schema .sc-t10 { animation: sc-t10 9s ease-out infinite both; }
.schema .sc-t11 { animation: sc-t11 9s ease-out infinite both; }
.schema .sc-t12 { animation: sc-t12 9s ease-out infinite both; }
.schema .sc-t16 { animation: sc-t16 9s ease-out infinite both; }
.schema .sc-t20 { animation: sc-t20 9s ease-out infinite both; }
.schema .sc-t22 { animation: sc-t22 9s ease-out infinite both; }
.schema .sc-t24 { animation: sc-t24 9s ease-out infinite both; }
.schema .sc-t25 { animation: sc-t25 9s ease-out infinite both; }
.schema .sc-t27 { animation: sc-t27 9s ease-out infinite both; }
.schema .sc-t28 { animation: sc-t28 9s ease-out infinite both; }
.schema .sc-t32 { animation: sc-t32 9s ease-out infinite both; }
.schema .sc-t38 { animation: sc-t38 9s ease-out infinite both; }
.schema .sc-t40 { animation: sc-t40 9s ease-out infinite both; }
.schema .sc-t42 { animation: sc-t42 9s ease-out infinite both; }
.schema .sc-t44 { animation: sc-t44 9s ease-out infinite both; }
.schema .sc-t45 { animation: sc-t45 9s ease-out infinite both; }
.schema .sc-t48 { animation: sc-t48 9s ease-out infinite both; }
.schema .sc-t50 { animation: sc-t50 9s ease-out infinite both; }
.schema .sc-t52 { animation: sc-t52 9s ease-out infinite both; }
.schema .sc-t55 { animation: sc-t55 9s ease-out infinite both; }
.schema .sc-t56 { animation: sc-t56 9s ease-out infinite both; }
.schema .sc-t58 { animation: sc-t58 9s ease-out infinite both; }
.schema .sc-t59 { animation: sc-t59 9s ease-out infinite both; }
.schema .sc-t60 { animation: sc-t60 9s ease-out infinite both; }
.schema .sc-t63 { animation: sc-t63 9s ease-out infinite both; }
.schema .sc-t64 { animation: sc-t64 9s ease-out infinite both; }
.schema .sc-t66 { animation: sc-t66 9s ease-out infinite both; }
.schema .sc-t68 { animation: sc-t68 9s ease-out infinite both; }
.schema .sc-t80 { animation: sc-t80 9s ease-out infinite both; }
@keyframes sc-in { 0%, 8% { opacity: 0; transform: translateX(-55px); } 12% { opacity: 1; transform: translateX(-50px); } 30% { opacity: 1; transform: translateX(45px); } 34%, 100% { opacity: 0; transform: translateX(55px); } }
@keyframes sc-out { 0%, 38% { opacity: 0; transform: translateX(-55px); } 42% { opacity: 1; transform: translateX(-50px); } 60% { opacity: 1; transform: translateX(45px); } 64%, 100% { opacity: 0; transform: translateX(55px); } }
@keyframes sc-pulse { 0%, 30% { opacity: 0; transform: scale(.8); } 36% { opacity: .7; transform: scale(1); } 46%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes sc-scan { 0%, 3% { opacity: 0; transform: translateY(0); } 6% { opacity: .45; } 24% { opacity: .45; transform: translateY(96px); } 28%, 100% { opacity: 0; transform: translateY(96px); } }
@keyframes sc-ecg { from { stroke-dashoffset: 40; } to { stroke-dashoffset: -290; } }
@keyframes sc-hosting-bk { 0%, 40% { opacity: 0; transform: translate(-62px, -45px); } 44% { opacity: 1; transform: translate(-55px, -40px); } 60% { opacity: 1; transform: translate(55px, 40px); } 64%, 100% { opacity: 0; transform: translate(62px, 45px); } }
@keyframes sc-it-bk { 0%, 56% { opacity: 0; transform: translateX(-130px); } 60% { opacity: 1; transform: translateX(-120px); } 72% { opacity: 1; transform: translateX(40px); } 75%, 100% { opacity: 0; transform: translateX(48px); } }
@keyframes sc-t04 { 0%, 4% { opacity: 0; transform: translateY(6px); } 8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t05 { 0%, 5% { opacity: 0; transform: translateY(6px); } 9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t08 { 0%, 8% { opacity: 0; transform: translateY(6px); } 12%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t10 { 0%, 10% { opacity: 0; transform: translateY(6px); } 14%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t11 { 0%, 11% { opacity: 0; transform: translateY(6px); } 15%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t12 { 0%, 12% { opacity: 0; transform: translateY(6px); } 16%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t16 { 0%, 16% { opacity: 0; transform: translateY(6px); } 20%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t20 { 0%, 20% { opacity: 0; transform: translateY(6px); } 24%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t22 { 0%, 22% { opacity: 0; transform: translateY(6px); } 26%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t24 { 0%, 24% { opacity: 0; transform: translateY(6px); } 28%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t25 { 0%, 25% { opacity: 0; transform: translateY(6px); } 29%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t27 { 0%, 27% { opacity: 0; transform: translateY(6px); } 31%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t28 { 0%, 28% { opacity: 0; transform: translateY(6px); } 32%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t32 { 0%, 32% { opacity: 0; transform: translateY(6px); } 36%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t38 { 0%, 38% { opacity: 0; transform: translateY(6px); } 42%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t40 { 0%, 40% { opacity: 0; transform: translateY(6px); } 44%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t42 { 0%, 42% { opacity: 0; transform: translateY(6px); } 46%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t44 { 0%, 44% { opacity: 0; transform: translateY(6px); } 48%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t45 { 0%, 45% { opacity: 0; transform: translateY(6px); } 49%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t48 { 0%, 48% { opacity: 0; transform: translateY(6px); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t50 { 0%, 50% { opacity: 0; transform: translateY(6px); } 54%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t52 { 0%, 52% { opacity: 0; transform: translateY(6px); } 56%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t55 { 0%, 55% { opacity: 0; transform: translateY(6px); } 59%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t56 { 0%, 56% { opacity: 0; transform: translateY(6px); } 60%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t58 { 0%, 58% { opacity: 0; transform: translateY(6px); } 62%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t59 { 0%, 59% { opacity: 0; transform: translateY(6px); } 63%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t60 { 0%, 60% { opacity: 0; transform: translateY(6px); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t63 { 0%, 63% { opacity: 0; transform: translateY(6px); } 67%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t64 { 0%, 64% { opacity: 0; transform: translateY(6px); } 68%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t66 { 0%, 66% { opacity: 0; transform: translateY(6px); } 70%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t68 { 0%, 68% { opacity: 0; transform: translateY(6px); } 72%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-t80 { 0%, 80% { opacity: 0; transform: translateY(6px); } 84%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* --- 45°-tegel (motief uit het logo) -------------------------------------------- */

.tile {
  flex: 0 0 auto;
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  position: relative;
}
.tile::before {
  content: ""; position: absolute; inset: .45rem;
  background: var(--orange-soft); border: 2px solid var(--orange);
  border-radius: 9px; transform: rotate(45deg);
}
.tile svg { position: relative; width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Diensten ------------------------------------------------------------------- */

.services { display: grid; gap: 0 3rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 52rem) { .services { grid-template-columns: 1fr 1fr; } .services > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.service { display: flex; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.service h3 { margin-bottom: .35em; }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--link); }
.service p { color: var(--steel); margin-bottom: .6em; }
.service ul { margin: 0 0 .75em; padding-left: 1.1rem; color: var(--steel); font-size: .975rem; }
.service .more { font-weight: 600; }

/* --- Stappen (een echte volgorde) ----------------------------------------------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { position: relative; isolation: isolate; padding-top: 3.25rem; }
/* het cijfer blijft recht, enkel de tegel erachter draait */
.step-num {
  position: absolute; top: 0; left: .35rem;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  font-weight: 750; color: #1e2329; line-height: 1;
}
.step-num::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); border-radius: 7px; transform: rotate(45deg); }
.steps h2, .steps h3 { font-size: 1.125rem; font-weight: 680; margin-bottom: .35em; }  /* h2 op /werkwijze/ (geen kop erboven), h3 op de startpagina */
.steps p { color: var(--steel); margin: 0; font-size: 1rem; }
@media (min-width: 52rem) {
  .steps li::after { content: ""; position: absolute; top: 1.05rem; left: 3.4rem; right: -1.4rem; border-top: 2px dotted var(--line); }
  .steps li:last-child::after { display: none; }
}

/* --- Redenen -------------------------------------------------------------------- */

.reasons { display: grid; gap: 2rem 3rem; margin: 0; }
@media (min-width: 48rem) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons dt { font-weight: 700; font-size: 1.125rem; margin-bottom: .3rem; padding-left: 1.25rem; position: relative; }
.reasons dt::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.reasons dd { margin: 0; color: var(--steel); padding-left: 1.25rem; }

/* --- CTA-band ------------------------------------------------------------------- */

.cta-band { background: var(--band); color: var(--band-text); padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--band-muted); margin: 0; max-width: 36rem; }
.cta-band a:not(.button) { color: var(--orange); }

/* --- Inhoudspagina's ------------------------------------------------------------ */

.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: .95rem; margin-bottom: 1rem; color: var(--steel); }
.crumbs a { color: var(--steel); }
.page-hero .tile { margin-bottom: 1rem; width: 4rem; height: 4rem; }
.page-hero .tile svg { width: 1.6rem; height: 1.6rem; }

.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.25em; }
.prose h2:first-child { margin-top: 0; }

.split { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .55rem; height: .55rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }

.aside { background: var(--mist); border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--orange); }
.aside h2, .aside h3 { font-size: 1.125rem; margin-top: 0; }
.aside * + h3 { margin-top: 1.5rem; }
.aside ul { padding-left: 1.1rem; margin-bottom: 0; }
.aside .tags { padding-left: 0; }
.aside p:last-child { margin-bottom: 0; }

.examples { display: grid; gap: 1.25rem; list-style: none; padding: 0; }
@media (min-width: 40rem) { .examples { grid-template-columns: 1fr 1fr; } }
.examples li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.examples strong { display: block; margin-bottom: .2rem; }
.demo { display: grid; gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .demo { grid-template-columns: 1fr 1fr; } }
.demo figure { margin: 0; }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgb(0 0 0 / .08); }
.demo figcaption { margin-top: .75rem; color: var(--steel); font-size: .975rem; }
.demo figcaption strong { display: block; color: var(--ink); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo-toggle { display: none; flex: none; align-items: center; gap: .35rem; font: inherit; font-size: .9rem; font-weight: 600;
  color: var(--link); background: none; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem; cursor: pointer; }
.demo-toggle:hover { border-color: var(--orange); }
@media (min-width: 56rem) { .demo-toggle { display: inline-flex; } }
.demo-dialog { width: min(96vw, 90rem, calc((96vh - 3.5rem) * 1.6)); max-width: none; max-height: 96vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / .4); }
.demo-dialog::backdrop { background: rgb(15 18 22 / .8); }
.demo-dialog video { display: block; width: 100%; height: auto; max-height: calc(96vh - 3.5rem); aspect-ratio: 16 / 10; background: #000; }
.demo-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .6rem 1.1rem; }
.demo-dialog-bar button { font: inherit; font-size: 1.5rem; line-height: 1; width: 2.25rem; height: 2.25rem; cursor: pointer;
  color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px; }
.demo-dialog-bar button:hover { border-color: var(--orange); }
.demo-note { margin-top: 1.5rem; font-size: .9rem; color: var(--steel); }
.examples span { color: var(--steel); font-size: .975rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; font-size: .925rem; color: var(--steel); }

.related { display: grid; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 40rem) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem .75rem .5rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--paper); }
.related a:hover { border-color: var(--orange); }
.related .tile { width: 2.75rem; height: 2.75rem; }
.related .tile svg { width: 1.1rem; height: 1.1rem; }

/* --- Veelgestelde vragen -------------------------------------------------------- */

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.45rem; width: .5rem; height: .5rem; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 1.7rem; }
.faq details > div { padding-bottom: 1.1rem; color: var(--steel); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Gegevenstabel -------------------------------------------------------------- */

.facts { border-collapse: collapse; width: 100%; max-width: 42rem; margin-bottom: 1.5rem; }
.facts th, .facts td { text-align: left; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 600; width: 40%; color: var(--steel); }

/* --- Contact -------------------------------------------------------------------- */

.contact-form { display: grid; gap: .25rem 1.25rem; max-width: 40rem; }
@media (min-width: 40rem) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form > p:has(textarea), .contact-form > p:has(select), .contact-form .form-note,
  .contact-form .form-status, .contact-form > p:has(button) { grid-column: 1 / -1; }
}
.contact-form p { margin: 0 0 .75rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.contact-form .optional { font-weight: 400; color: var(--steel); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--steel); border-radius: 8px; padding: .65rem .75rem;
}
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline-offset: 0; border-color: var(--orange); }
.contact-form .form-note { font-size: .95rem; color: var(--steel); }
.contact-form .captcha { grid-column: 1 / -1; margin-bottom: .75rem; min-height: 65px; }
.form-status { font-weight: 600; }
.form-status[data-state="ok"] { color: #1f7a3d; }
.form-status[data-state="error"] { color: #b42318; }
@media (prefers-color-scheme: dark) {
  .form-status[data-state="ok"] { color: #6fd393; }
  .form-status[data-state="error"] { color: #ff8b80; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-alt { color: var(--steel); }

/* --- Footer --------------------------------------------------------------------- */

.site-footer { background: var(--band); color: var(--band-muted); font-size: .95rem; padding-top: 3rem; }
.site-footer a, .site-footer .link-button { color: var(--band-text); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: var(--band-text); font-weight: 650; font-size: 1.05rem; }
.footer-heading { color: var(--band-text); font-weight: 650; margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .3rem; }
.site-footer address { font-style: normal; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid #2e353d; padding-block: 1.25rem 1.5rem; font-size: .9rem; }

/* --- Toestemmingsbanner (enkel als analytics cookies plaatst) -------------------- */

.consent {
  position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 34rem; margin-inline: auto;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(15, 18, 22, .25);
  padding: 1.25rem 1.25rem 1rem;
}
.consent p { margin-bottom: .9rem; font-size: .975rem; }
.consent .actions { margin-top: 0; }

/* --- Beweging ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .diagram .dg-flow { display: none; }
}

/* h2 met de opmaak van een h3 (lijsten op overzichtspagina's) */
.h3 { font-size: 1.25rem; font-weight: 680; margin-bottom: .35em; }
