/* ==========================================================================
   Add Content Studio · site.css (concept 4)
   Gedeeld design system voor alle websitepagina's.
   Uitstraling: concept 1 (Nacht, standaard donker). Kleuren: concept 3 (paars).
   Regels: geen eyebrows (geen kleine uppercase-labels), randen boven schaduwen,
   alle kleuren via tokens, 8px-grid. Zie README-design.md voor gebruik.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   Donker is de standaard. Licht via <html data-theme="light">.
   .dark-scope zet de donkere tokens op een element in elk thema (panelen,
   app-venster, footer). Gebruik in componenten altijd var(--…).
   -------------------------------------------------------------------------- */
:root, [data-theme="dark"], .dark-scope {
  --bg: #0E0A1A;
  --bg-alt: #120D20;
  --surface: #161026;
  --surface-2: #1D1532;
  --surface-3: #251B3E;
  --panel: #130E22;              /* donkere showcasepanelen */
  --ink: #F4F1FF;                /* koppen */
  --text: #C9C3DD;               /* lopende tekst */
  --muted: #9A93B3;              /* bijschriften */
  --faint: #6F6889;              /* meta, placeholders */
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --accent: #8E5BFF;             /* primaire knop-fill */
  --accent-hover: #A27AFF;
  --accent-text: #B79BFF;        /* links, accentwoord in koppen */
  --accent-soft: rgba(142,91,255,.14);
  --accent-line: rgba(142,91,255,.5);
  --on-accent: #FFFFFF;
  --glow: rgba(142,91,255,.22);
  --square: #6A35DB;             /* decoratief vierkant */
  --dot: rgba(183,155,255,.35);  /* stippenraster */
  --success: #3DD68C;
  --warning: #F5B748;
  --danger: #FF6B7A;
  --canvas: #120D20;             /* canvas in app-mockups */
  --chrome: #161026;             /* titelbalk app-venster */
  --mono-filter: brightness(0) invert(1);   /* klantlogo's monochroom */
  --mono-opacity: .78;
  --shadow-sm: 0 14px 34px -12px rgba(0,0,0,.6);
  --shadow: 0 40px 90px -30px rgba(0,0,0,.7);
  --focus: #B79BFF;
  --header-bg: rgba(14,10,26,.78);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F6F5FF;             /* lavendel, alleen voor afwisselende secties */
  --surface: #FFFFFF;
  --surface-2: #FAF9FF;
  --surface-3: #F1EEFB;
  --panel: #160B33;
  --ink: #240A55;
  --text: #4A4560;
  --muted: #6E6A80;
  --faint: #9692A8;
  --border: #E7E4F2;
  --border-strong: #D9D3EE;
  --accent: #662CD3;
  --accent-hover: #5521B8;
  --accent-text: #662CD3;
  --accent-soft: #EFEAFC;
  --accent-line: rgba(102,44,211,.45);
  --on-accent: #FFFFFF;
  --glow: rgba(102,44,211,.16);
  --square: #662CD3;
  --dot: rgba(102,44,211,.28);
  --success: #12A66A;
  --warning: #C98A0B;
  --danger: #D23A4C;
  --canvas: #F6F5FF;
  --chrome: #FFFFFF;
  --mono-filter: brightness(0);
  --mono-opacity: .62;
  --shadow-sm: 0 12px 30px -12px rgba(36,10,85,.18);
  --shadow: 0 40px 90px -36px rgba(36,10,85,.4);
  --focus: #662CD3;
  --header-bg: rgba(255,255,255,.82);
  color-scheme: light;
}
/* Licht thema: donkere objecten krijgen inktpaars i.p.v. bijna-zwart */
[data-theme="light"] .dark-scope {
  --bg: #120A2C;
  --bg-alt: #160B33;
  --surface: #1B0F3D;
  --surface-2: #231449;
  --surface-3: #2C1A57;
  --panel: #160B33;
  --canvas: #140B30;
  --chrome: #1B0F3D;
  --glow: rgba(142,91,255,.26);
  --shadow-sm: 0 30px 60px -18px rgba(36,10,85,.45);
  --shadow: 0 50px 110px -30px rgba(36,10,85,.5);
  color-scheme: dark;
}
.dark-scope { color: var(--text); }

/* Thema-afhankelijk tonen (logo's, iconen) */
[data-theme="light"] .only-dark, [data-theme="dark"] .only-light,
:root:not([data-theme]) .only-light { display: none !important; }
.dark-scope .only-light { display: none !important; }
.dark-scope .only-dark { display: revert !important; }

/* --------------------------------------------------------------------------
   2. RESET EN BASIS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; transition: background-color .25s ease, color .25s ease;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--on-accent); }
.svg-inline--fa { height: 1em; }
.ic { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ic svg { width: 1em; height: 1em; }

/* --------------------------------------------------------------------------
   3. TYPOGRAFIE
   .h1 60-64 · .h2 40 · .h3 21 · body 16 · .lead 18
   .hl = accentwoord in een kop (in beide thema's tekstkleur --accent-text).
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.h1, h1 { font-size: 62px; line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
.h2, h2 { font-size: 40px; line-height: 1.12; }
.h3, h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.h4, h4 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.hl { color: var(--accent-text); }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.text-sm { font-size: 14px; line-height: 1.6; }
.text-xs { font-size: 13px; line-height: 1.5; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--accent-line); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
/* Tekstlink met pijl, bijvoorbeeld onder kaarten */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent-text); }
.link-arrow .ic { font-size: 12px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   .container (1200px inhoud) · .section (112px) · .section-sm (80px)
   .section-alt (afwisselende achtergrond met hairlines)
   .section-head (kop links, intro rechts) · .grid-2/3/4 · .stack
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; }
.section { position: relative; padding: 112px 0; }
.section-sm { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt + .section-alt { border-top: 0; }
.section-alt:has(+ .cta-band) { border-bottom: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.section-head .lead { max-width: 460px; justify-self: end; }
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head-center .lead { margin-top: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   5. KNOPPEN
   .btn + .btn-primary | .btn-secondary (glas) | .btn-ghost | .btn-on-dark | .btn-cta (inktpaars, in CTA-kaart)
   Formaat: .btn-sm (40) · standaard (48) · .btn-lg (56) · .btn-block
   Pill met bolletje: <a class="btn btn-primary"><span class="dot"></span>Plan een demo</a>
   .icon-btn = rond icoonknopje (thema, menu)
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.btn .ic { font-size: 13px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
/* Secundair = glas: doorschijnend, blur, hairline en een lichte bovenrand.
   Werkt op effen achtergrond, over gloed/stippen en op donkere of paarse panelen. */
.btn-secondary { color: var(--ink); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.btn-secondary .dot { background: var(--accent-text); }
.btn-secondary:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22); }
[data-theme="light"] .btn-secondary { background: rgba(255,255,255,.55); border-color: rgba(36,10,85,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(36,10,85,.04); }
[data-theme="light"] .btn-secondary:hover { background: rgba(255,255,255,.85); border-color: rgba(36,10,85,.18); }
/* Op donkere en paarse panelen (in beide thema's): wit glas, witte tekst */
.dark-scope .btn-secondary, [data-theme="light"] .dark-scope .btn-secondary,
.cta-card .btn-secondary, [data-theme="light"] .cta-card .btn-secondary,
.showcase .btn-secondary, [data-theme="light"] .showcase .btn-secondary { color: #FFFFFF; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.dark-scope .btn-secondary:hover, .cta-card .btn-secondary:hover, .showcase .btn-secondary:hover,
[data-theme="light"] .dark-scope .btn-secondary:hover, [data-theme="light"] .cta-card .btn-secondary:hover, [data-theme="light"] .showcase .btn-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); }
.cta-card .btn-secondary .dot { background: #FFFFFF; }
:is(.dark-scope, .showcase) .btn-secondary .dot { background: #B79BFF; }
[data-theme="light"] .btn-secondary::before { background: conic-gradient(from var(--btn-angle), transparent 0deg, #662CD3 50deg, #B79BFF 110deg, #662CD3 160deg, transparent 220deg, transparent 260deg, #8E5BFF 320deg, transparent 360deg); }
[data-theme="light"] :is(.dark-scope, .showcase) .btn-secondary::before { background: conic-gradient(from var(--btn-angle), transparent 0deg, #8E5BFF 50deg, #E4D8FF 110deg, #8E5BFF 160deg, transparent 220deg, transparent 260deg, #B79BFF 320deg, transparent 360deg); }
.cta-card :focus-visible { outline-color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 12px; }
.btn-ghost:hover { color: var(--accent-text); }
.btn-ghost .dot { background: var(--accent); }
.btn-on-dark { background: #FFFFFF; color: #160B33; }
.btn-on-dark .dot { background: #8E5BFF; }
.btn-on-dark:hover { background: #EFEAFC; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: border-color .2s, background-color .2s; flex: none; }
.icon-btn:hover { border-color: var(--accent-line); }
.icon-btn svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   5b. KNOP-ANIMATIE (automatisch op alle knoppen, geen extra class nodig)
   Primair (.btn-primary, ook .btn-cta en .btn-on-dark):
     verloop met lichte bovenrand · hover: lichtglans schuift er één keer
     overheen met paarse gloed, bolletje wordt een pijl en de tekst schuift 6px
     naar rechts (knop blijft op zijn plek) · indrukken: scale(.98).
   .btn-pulse = zachte pulsring om het bolletje (alleen op de hoofd-CTA in de hero).
   Secundair (.btn-secondary, glas): hover: stromende verlooprand
     (paars, lavendel, transparant), iets lichter glas, bolletje wordt een pijl, tekst schuift naar rechts.
   .is-hover = dezelfde staat als :hover (voor QA-renders en documentatie).
   Alles valt terug op alleen kleurwissels bij prefers-reduced-motion.
   -------------------------------------------------------------------------- */
@property --btn-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.btn { --ease-out: cubic-bezier(.2,.8,.2,1); position: relative; isolation: isolate; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease-out), transform .22s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn .dot, .btn > .ic, .btn > .lbl { transition: transform .22s var(--ease-out), background-color .2s; }

/* Primair: verloop + binnenste highlight */
.btn-primary { background: linear-gradient(180deg, #8E5BFF, #6A35DB); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(10,4,30,.25); overflow: hidden; }
[data-theme="light"] .btn-primary { background: linear-gradient(180deg, #7A3FE6, #5521B8); }
[data-theme="light"] .dark-scope .btn-primary { background: linear-gradient(180deg, #8E5BFF, #6A35DB); }
.btn-primary:hover, .btn-primary.is-hover { background: linear-gradient(180deg, #9C6EFF, #7340E6); }
[data-theme="light"] .btn-primary:hover, [data-theme="light"] .btn-primary.is-hover { background: linear-gradient(180deg, #8650F0, #6129CC); }
.btn-cta, .btn-on-dark { overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.btn-on-dark { box-shadow: inset 0 -1px 0 rgba(36,10,85,.08); }
/* Lift + gloed */
:is(.btn-primary, .btn-cta, .btn-on-dark):is(:hover, .is-hover) { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 30px -10px rgba(142,91,255,.6); }
:is(.btn-primary, .btn-cta, .btn-on-dark):is(:hover, .is-hover):active { transform: scale(.98); }
/* Glans (schuift één keer over de knop bij hover) */
:is(.btn-primary, .btn-cta, .btn-on-dark)::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 48%, rgba(255,255,255,.08) 56%, transparent 70%); transform: translateX(-120%); }
.btn-on-dark::after { background: linear-gradient(115deg, transparent 30%, rgba(142,91,255,.18) 50%, transparent 70%); }
:is(.btn-primary, .btn-cta, .btn-on-dark):is(:hover, .is-hover)::after { transform: translateX(120%); transition: transform .7s var(--ease-out); }
/* Bolletje wordt een pijl, label schuift 2px */
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot { position: relative; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::before,
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::after { content: ''; position: absolute; top: 50%; pointer-events: none; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::before { left: -2px; width: 11px; height: 1.6px; margin-top: -.8px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .22s var(--ease-out); }
.btn-primary .dot::before, .btn-primary .dot::after { color: #FFFFFF; }
.btn-cta .dot::before, .btn-cta .dot::after { color: #B79BFF; }
.btn-on-dark .dot::before, .btn-on-dark .dot::after { color: #8E5BFF; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::after { left: 3px; width: 6px; height: 6px; margin-top: -3px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; opacity: 0; transform: translateX(-4px) rotate(45deg); transition: transform .22s var(--ease-out), opacity .18s ease-out; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary):is(:hover, .is-hover) .dot { background-color: transparent; transform: translateX(1px); }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary):is(:hover, .is-hover) .dot::before { transform: scaleX(1); }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary):is(:hover, .is-hover) .dot::after { opacity: 1; transform: translateX(0) rotate(45deg); }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary):is(:hover, .is-hover) .dot { margin-right: 2px; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot { margin-right: 0; transition: transform .22s var(--ease-out), background-color .15s, margin .22s var(--ease-out); }
:is(.btn-primary, .btn-cta, .btn-on-dark):is(:hover, .is-hover) > .ic { transform: translateX(2px); }
/* Pulsring (alleen .btn-pulse) */
.btn-pulse .dot { animation: btn-dot-pulse 2.5s var(--ease-out) infinite; }
.btn-pulse:is(:hover, .is-hover) .dot { animation: none; }
@keyframes btn-dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 60%, 100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }

/* Secundair (glas): stromende verlooprand bij hover */
.btn-secondary::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--btn-angle), transparent 0deg, #8E5BFF 50deg, #E4D8FF 110deg, #8E5BFF 160deg, transparent 220deg, transparent 260deg, #B79BFF 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .25s var(--ease-out); }
.btn-secondary:is(:hover, .is-hover)::before { opacity: 1; animation: btn-border-flow 2.4s linear infinite; }
@keyframes btn-border-flow { to { --btn-angle: 360deg; } }
.btn-secondary:is(:hover, .is-hover) > .ic { transform: translateX(2px); }
.btn-secondary.is-hover { background: rgba(255,255,255,.11); }
[data-theme="light"] .btn-secondary.is-hover { background: rgba(255,255,255,.85); }
:is(.dark-scope, .cta-card, .showcase) .btn-secondary.is-hover { background: rgba(255,255,255,.18); }
[data-theme="light"] .cta-card .btn-secondary::before, .cta-card .btn-secondary::before { background: conic-gradient(from var(--btn-angle), transparent 0deg, #FFFFFF 70deg, #D9C8FF 130deg, transparent 200deg, transparent 250deg, rgba(255,255,255,.7) 310deg, transparent 360deg); }


/* Hover zonder hoogteverschil: de knop blijft staan, het bolletje wordt een pijltje
   en de tekst schuift 6px naar rechts (padding links/rechts ruilen, breedte blijft gelijk). */
.btn-secondary .dot::before, .btn-secondary .dot::after { color: var(--accent-text); }
.cta-card .btn-secondary .dot::before, .cta-card .btn-secondary .dot::after { color: #FFFFFF; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) { transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease-out), transform .22s var(--ease-out), padding .28s var(--ease-out); }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary):is(:hover, .is-hover) { padding-left: 30px; padding-right: 18px; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary).btn-sm:is(:hover, .is-hover) { padding-left: 24px; padding-right: 12px; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary).btn-lg:is(:hover, .is-hover) { padding-left: 34px; padding-right: 22px; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::before { width: 12px; height: 1.8px; }
:is(.btn-primary, .btn-cta, .btn-on-dark, .btn-secondary) .dot::after { border-top-width: 1.8px; border-right-width: 1.8px; }

/* --------------------------------------------------------------------------
   6. DECORATIE
   .dotgrid (stippenraster als achtergrond) · .deco-square (effen paars vierkant)
   .glow (één zachte radiale gloed) · altijd position:absolute in een relative ouder
   -------------------------------------------------------------------------- */
.dotgrid { background-image: radial-gradient(var(--dot) 1.3px, transparent 1.6px); background-size: 16px 16px; }
.deco-dots { position: absolute; pointer-events: none; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.6px); background-size: 16px 16px; }
.deco-square { position: absolute; pointer-events: none; background: var(--square); border-radius: 6px; }
.glow { position: absolute; pointer-events: none; background: radial-gradient(closest-side, var(--glow), transparent 75%); }

/* --------------------------------------------------------------------------
   7. KAARTEN
   .card (1px rand, 20px radius) · .card-pad · .card-hover · .card-media
   .card-title · .card-text · .card-foot (duwt naar onder: gelijke hoogtes)
   .icon-tile (vierkant icoonvlak in een kaart) · .num (stapnummer 01)
   -------------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card-pad { padding: 32px; }
.card-hover:hover { border-color: var(--border-strong); }
a.card-hover:hover { transform: translateY(-2px); }
.card-media { margin: 12px 12px 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.card-text { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-top: 8px; }
.card-foot { margin-top: auto; padding-top: 24px; }
.card-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none; margin-bottom: 24px; }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
[data-theme="light"] .num { background: var(--ink); color: #FFFFFF; }
[data-theme="light"] .dark-scope .num { background: var(--accent-soft); color: var(--accent-text); }

/* --------------------------------------------------------------------------
   8. SHOWCASEPANEEL
   .showcase = groot rond paneel (28px), donker in beide thema's.
   Varianten: .showcase-split (tekst | beeld) · .showcase-pad
   Binnenin: .showcase-copy · .showcase-vis (stippen + vierkant + posts)
   -------------------------------------------------------------------------- */
.showcase { position: relative; border-radius: 28px; background: var(--panel); border: 1px solid var(--border); overflow: hidden; color: var(--text); }
[data-theme="light"] .showcase { background: radial-gradient(70% 80% at 85% 20%, rgba(142,91,255,.2), transparent 70%), linear-gradient(150deg, #160B33, #240A55); border-color: transparent; box-shadow: 0 40px 90px -40px rgba(36,10,85,.5); }
.showcase-pad { padding: 56px; }
.showcase-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 520px; }
.showcase-copy { padding: 56px; display: flex; flex-direction: column; }
.showcase-vis { position: relative; overflow: hidden; border-left: 1px solid var(--border); background: radial-gradient(70% 60% at 55% 45%, var(--glow), transparent 70%), var(--bg); min-height: 420px; }
.showcase-vis .deco-dots { inset: 0; opacity: .5; }

/* --------------------------------------------------------------------------
   9. APP-VENSTER EN ZWEVENDE POSTS
   .appwin (altijd donker) > .appwin-bar (.mac r/y/g + .appwin-url) + .appwin-body
   .post-float = zwevende postkaart met .post-cap (status) eronder
   .post-frame = post in een dunne lijst (cases, galerijen)
   -------------------------------------------------------------------------- */
.appwin { position: relative; border-radius: 14px; background: var(--chrome); border: 1px solid var(--border-strong); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
[data-theme="light"] .appwin { border-color: #2A1A52; box-shadow: 0 50px 110px -30px rgba(36,10,85,.45), 0 0 0 1px rgba(36,10,85,.06); }
.appwin-bar { height: 38px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--chrome); }
.mac { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.mac.r { background: #FF5F57; } .mac.y { background: #FEBC2E; } .mac.g { background: #28C840; }
.appwin-url { margin-left: 16px; height: 22px; padding: 0 14px; border-radius: 6px; background: var(--surface-2); color: var(--faint); font-family: 'Inter', 'Poppins', sans-serif; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.appwin-url svg { width: 9px; }
.appwin-body { flex: 1; min-height: 0; }
.post-float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 8px; }
.post-float img { width: 100%; border-radius: 6px; }
.post-cap { display: flex; align-items: center; gap: 8px; padding: 10px 4px 2px; font-family: 'Inter', 'Poppins', sans-serif; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.post-cap b { color: var(--ink); font-weight: 600; }
.post-cap .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.post-cap .ic { color: var(--accent-text); }
.post-frame { background: var(--surface); padding: 8px; border-radius: 12px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.post-frame img { width: 100%; border-radius: 6px; object-fit: cover; }

/* --------------------------------------------------------------------------
   10. MINI STUDIO (mockup van de studio, gevuld door site.js via [data-mini])
   <div data-mini data-theme="dark" data-tpl="3"></div>
   -------------------------------------------------------------------------- */
.mini { height: 100%; display: grid; grid-template-columns: 150px 196px minmax(0, 1fr); grid-template-rows: 44px 1fr; background: var(--bg); color: var(--ink); font-family: 'Inter', 'Poppins', sans-serif; font-size: 10px; line-height: 1.4; text-align: left; }
.mini-side { grid-row: 1 / 3; background: #0B0816; border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.mini-side .ml { height: 11px; width: auto; margin: 2px 4px 12px; align-self: flex-start; }
.mini-client { display: flex; align-items: center; gap: 7px; padding: 6px; border: 1px solid var(--border); border-radius: 7px; margin-bottom: 10px; background: var(--surface); }
.mini-client .lg { width: 18px; height: 18px; border-radius: 4px; background: #F26B1E; flex: none; }
.mini-client b { display: block; font-size: 9.5px; font-weight: 600; }
.mini-client small { color: var(--faint); font-size: 8px; }
.mini-lbl { font-size: 8.5px; color: var(--faint); font-weight: 600; margin: 8px 6px 4px; }
.mini-nav { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border-radius: 6px; color: var(--muted); font-weight: 500; }
.mini-nav.on { background: var(--accent-soft); color: var(--ink); }
.mini-nav .sq { width: 9px; height: 9px; border-radius: 2px; border: 1.2px solid currentColor; opacity: .8; }
.mini-nav.on .sq { border-color: var(--accent); background: var(--accent); }
.mini-nav .bd { margin-left: auto; font-size: 8px; background: var(--accent-soft); color: var(--accent-text); padding: 0 5px; border-radius: 6px; font-weight: 600; }
.mini-nav .gd { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.mini-top { grid-column: 2 / 4; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mini-top .t small { display: block; font-size: 8px; color: var(--faint); font-weight: 500; }
.mini-top .t b { font-size: 11px; font-weight: 600; }
.mini-top .sp { flex: 1; }
.mini-b { height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; font-weight: 500; font-size: 9px; white-space: nowrap; }
.mini-b.p { background: var(--accent); color: #FFFFFF; border-color: transparent; font-weight: 600; }
.mini-panel { background: var(--surface); border-right: 1px solid var(--border); padding: 12px; overflow: hidden; }
.mini-panel .mini-lbl { margin: 0 0 8px; }
.mini-tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.mini-tpls img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.mini-tpls img.on { outline: 1.5px solid var(--accent); outline-offset: 1.5px; }
.mini-field { border: 1px solid var(--border-strong); border-radius: 6px; padding: 6px 8px; font-size: 9.5px; margin-bottom: 8px; background: var(--bg); }
.mini-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 8.5px; margin-bottom: 4px; }
.mini-seg { display: flex; background: var(--surface-2); border-radius: 6px; padding: 2px; }
.mini-seg span { flex: 1; text-align: center; padding: 3px 0; border-radius: 4px; color: var(--muted); font-size: 8.5px; }
.mini-seg span.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--border); }
.mini-canvas { background-color: var(--canvas); background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 14px 14px; display: flex; flex-direction: column; min-width: 0; }
.mini-tabs { display: flex; gap: 2px; padding: 10px 14px; overflow: hidden; background: var(--canvas); border-bottom: 1px solid var(--border); }
.mini-tabs span { white-space: nowrap; padding: 3px 8px; border-radius: 5px; color: var(--muted); font-size: 8.5px; }
.mini-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--border); }
.mini-stage { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 12px 24px 24px; min-height: 0; }
.mini-stage img { height: 100%; max-height: 340px; width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
/* Mini in licht: witte app met hairlines (alleen bij data-theme="light" op de mini) */
.mini[data-theme="light"] .mini-side { background: #FFFFFF; }
.mini[data-theme="light"] .mini-stage img { box-shadow: 0 14px 40px rgba(36,10,85,.18); }

/* --------------------------------------------------------------------------
   11. LOGO-STRIP (hairline-raster met klantlogo's)
   <section class="logo-strip"><div class="container logo-strip-grid">
     <p class="logo-strip-lbl">…</p><div class="logo-cell"><img …></div>…
   -------------------------------------------------------------------------- */
.logo-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-strip-grid { display: grid; grid-template-columns: 220px repeat(4, minmax(0, 1fr)); }
.logo-strip-lbl { display: flex; align-items: center; font-size: 14px; color: var(--muted); padding: 24px 24px 24px 0; line-height: 1.5; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 104px; border-left: 1px solid var(--border); padding: 0 24px; }
.logo-cell img { max-height: 30px; width: auto; max-width: 150px; filter: var(--mono-filter); opacity: var(--mono-opacity); transition: opacity .2s; }
.logo-cell:hover img { opacity: 1; }
.wordmark { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); opacity: var(--mono-opacity); text-align: left; }
.wordmark small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   12. TABS EN SEGMENTEN
   Pill-tabs: <div data-tabs><div class="tabs" role="tablist">
     <button class="tab" role="tab" aria-selected="true" aria-controls="p1">…</button></div>
     <div class="tab-panel" id="p1" role="tabpanel">…</div></div>
   .seg = compacte schakelaar (thema, maand/week)
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; font-size: 14px; color: var(--muted); transition: color .2s, background-color .2s, border-color .2s; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.seg button svg { width: 13px; height: 13px; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-strong); }

/* --------------------------------------------------------------------------
   13. ACCORDEON (één tegelijk open, site.js regelt het)
   <div class="accordion" data-accordion>
     <div class="acc-item is-open"><button class="acc-q" aria-expanded="true">Vraag<span class="pm"><i class="fa-solid fa-plus"></i></span></button>
     <div class="acc-a"><div><p>Antwoord</p></div></div></div></div>
   -------------------------------------------------------------------------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
.acc-item.is-open { border-color: var(--border-strong); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 24px 28px; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; border-radius: 16px; }
.acc-q .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--accent-text); transition: transform .25s, background-color .2s, color .2s; }
.acc-q .pm svg { width: 11px; }
.acc-item.is-open .pm { transform: rotate(45deg); background: var(--accent-soft); border-color: transparent; }
[data-theme="light"] .acc-item.is-open .pm { background: var(--ink); color: #FFFFFF; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p, .acc-a ul { padding: 0 28px 28px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 680px; }
.acc-a ul { padding-left: 48px; }

/* --------------------------------------------------------------------------
   14. FORMULIEREN
   .form-grid (2 kolommen, .span-2 voor volle breedte) · .field > .label + .input|.select|.textarea + .help
   .check (checkbox/radio met label) · .input-icon (zoekveld met icoon)
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 14px; font-weight: 500; color: var(--ink); }
.label .opt { color: var(--faint); font-weight: 400; }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 17px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: 13px; color: var(--muted); }
.help.error { color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.input-icon .input { padding-left: 48px; }
.input-lg { height: 60px; font-size: 16px; border-radius: 999px; padding: 0 24px; }
.input-icon .input-lg { padding-left: 52px; }

/* --------------------------------------------------------------------------
   15. BADGES, CHIPS EN STATUS
   .badge (klein label, bv. "Meest gekozen") · .badge-solid
   .chip (filter, klikbaar) met aria-pressed="true" als actief
   .status (bolletje + tekst): .status-ok | .status-wait | .status-draft
   -------------------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge-solid { background: var(--accent); color: var(--on-accent); }
.badge-neutral { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 13px; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; white-space: nowrap; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status-ok::before { background: var(--success); }
.status-wait::before { background: var(--warning); }
.status-draft::before { background: transparent; border: 1.5px dashed var(--muted); width: 6px; height: 6px; }
.check-ic { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; flex: none; }
[data-theme="light"] .check-ic { background: var(--ink); color: #FFFFFF; }
[data-theme="light"] .dark-scope .check-ic { background: var(--accent-soft); color: var(--accent-text); }

/* --------------------------------------------------------------------------
   16. TABELLEN (vergelijkingstabel prijzen e.d.)
   <div class="table-wrap"><table class="table">…</table></div>
   .table td.yes / td.no voor vinkjes en streepjes
   -------------------------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th, .table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th { font-weight: 600; color: var(--ink); font-size: 15px; background: var(--surface-2); }
.table tbody th { font-weight: 400; color: var(--text); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table td { color: var(--ink); }
.table td.yes { color: var(--accent-text); }
.table td.no { color: var(--faint); }
.table .group th { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: 13px; }
.table .is-featured { background: var(--accent-soft); }

/* --------------------------------------------------------------------------
   17. NAVIGATIEHULP: BREADCRUMBS EN PAGINERING
   <nav class="breadcrumbs" aria-label="Kruimelpad"><a>Kennisbank</a><span class="sep">/</span><span aria-current="page">…</span></nav>
   <nav class="pagination"><a class="page">1</a><a class="page" aria-current="page">2</a>…</nav>
   -------------------------------------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--faint); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 56px; }
.page { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: border-color .2s, color .2s; }
.page:hover { color: var(--ink); border-color: var(--border-strong); }
.page[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   18. PROSE (lange artikelen: blog, kennisbank)
   <article class="prose">…</article> · max ~68 tekens breed
   Extra: .callout (tipblok) · .toc (inhoudsopgave) · figure/figcaption
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 28px; line-height: 1.25; margin-top: 56px; }
.prose h3 { font-size: 21px; margin-top: 40px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-line); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin: 40px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-size: 21px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.prose blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--muted); font-weight: 400; }
.prose figure { margin: 40px 0; }
.prose figure img { border-radius: 16px; border: 1px solid var(--border); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.prose hr { margin: 48px 0; }
.callout { display: flex; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); font-size: 15px; line-height: 1.65; }
.callout .ic { color: var(--accent-text); font-size: 16px; margin-top: 4px; }
.toc { position: sticky; top: 112px; border-left: 1px solid var(--border); padding-left: 20px; font-size: 14px; }
.toc b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--accent-text); }

/* --------------------------------------------------------------------------
   19. HEADER (geïnjecteerd door site.js in <header id="site-header">)
   Sticky, doorschijnend, hairline zodra je scrolt (.is-scrolled).
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.hdr { display: flex; align-items: center; height: 80px; gap: 24px; }
.hdr-logo img { height: 22px; width: auto; }
.hdr-nav { display: flex; gap: 2px; margin: 0 auto; }
.hdr-nav a { position: relative; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; white-space: nowrap; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
[data-theme="light"] .hdr-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.hdr-dd { position: relative; }
.hdr-dd-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; white-space: nowrap; }
.hdr-dd-btn .ic { font-size: 10px; transition: transform .2s; }
.hdr-dd-btn:hover, .hdr-dd.is-open .hdr-dd-btn { color: var(--ink); }
.hdr-dd.is-open .hdr-dd-btn .ic { transform: rotate(180deg); }
.hdr-dd-btn.is-current { color: var(--ink); background: var(--surface-2); }
[data-theme="light"] .hdr-dd-btn.is-current { background: var(--accent-soft); color: var(--accent); }
.hdr-dd-menu { position: absolute; left: 50%; top: 100%; z-index: 60; width: 280px; margin-top: 10px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s, transform .18s, visibility .18s; }
.hdr-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hdr-dd.is-open .hdr-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr-nav .hdr-dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; white-space: normal; }
.hdr-nav .hdr-dd-menu a:hover, .hdr-nav .hdr-dd-menu a[aria-current="page"] { background: var(--surface-2); }
[data-theme="light"] .hdr-nav .hdr-dd-menu a[aria-current="page"] { background: var(--accent-soft); }
.hdr-dd-menu b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.hdr-dd-menu small { display: block; font-size: 12.5px; color: var(--muted); }
.dd-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.mnav-group { padding: 20px 0 4px; font-size: 13px; color: var(--muted); }
.mnav a.mnav-link.is-sub { padding-left: 16px; }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.hdr-login { font-size: 14px; color: var(--ink); padding: 8px 8px; white-space: nowrap; }
.hdr-login:hover { color: var(--accent-text); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun, :root:not([data-theme]) .theme-toggle .i-sun { display: inline-flex; }
[data-theme="dark"] .theme-toggle .i-moon, :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
.menu-btn { display: none; }
/* Mobiel menu */
.mnav { display: none; }
@media (max-width: 1120px) {
  .hdr-nav, .hdr-login, .hdr-actions .hdr-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr { justify-content: space-between; }
  .mnav { position: fixed; inset: 80px 0 0 0; z-index: 49; background: var(--bg); padding: 16px 32px 32px; overflow-y: auto; flex-direction: column; }
  .mnav.is-open { display: flex; }
  .mnav a.mnav-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; color: var(--ink); }
  .mnav a.mnav-link[aria-current="page"] { color: var(--accent-text); }
  .mnav-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   20. FOOTER (geïnjecteerd in <footer id="site-footer">, altijd donker)
   -------------------------------------------------------------------------- */
.site-footer { background: #0B0816; border-top: 1px solid var(--border); padding: 88px 0 40px; color: var(--text); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr-brand img { height: 22px; width: auto; }
.ftr-brand p { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 280px; line-height: 1.7; }
.ftr-col h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 20px; letter-spacing: -0.01em; }
.ftr-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.ftr-col a { transition: color .2s; }
.ftr-col a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--ink); border-color: var(--accent-line); }
.socials svg { width: 14px; height: 14px; }
.ftr-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px 24px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.ftr-bottom div { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr-bottom a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   21. TOAST (window.acsToast('Tekst'))
   -------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 18px; font-size: 14px; box-shadow: var(--shadow-sm); transition: opacity .25s, transform .25s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast .check-ic { width: 22px; height: 22px; font-size: 10px; }

/* --------------------------------------------------------------------------
   22. GEDEELDE PAGINABLOKKEN
   .page-hero (kop van subpagina's) · .plan (prijskaart) · .cta-band/.cta-card (afsluiter)
   .avatar · .quote-card · .help-card · .stat (alleen echte cijfers)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.page-hero .h1 { max-width: 820px; }
.page-hero .lead { margin-top: 24px; max-width: 620px; }
.page-hero .breadcrumbs { margin-bottom: 32px; }
.page-hero .deco-dots { right: -24px; top: 48px; width: 280px; height: 200px; opacity: .7; }
.page-hero .deco-square { right: 200px; top: 160px; width: 72px; height: 72px; }

.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.plan.is-featured { border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[data-theme="light"] .plan.is-featured { box-shadow: 0 30px 60px -30px rgba(36,10,85,.3); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); }
.plan-head { padding: 32px 28px 24px; border-bottom: 1px solid var(--border); }
.plan-name { font-size: 15px; color: var(--accent-text); font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; height: 48px; }
.plan-price b { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-sub { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan-list { list-style: none; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; line-height: 1.5; color: var(--ink); }
.plan-list .check-ic { margin-top: 1px; }
.plan-foot { padding: 20px 28px 28px; border-top: 1px solid var(--border); }
.plan-foot small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-foot .btn { width: 100%; }

/* CTA-kaart (afsluiter van elke pagina, direct boven de footer)
   Paarse kaart die over de grens met de donkere footer valt, met telefoon-mockup.
   <section class="cta-band"><div class="container"><div class="cta-card">
     <div class="cta-copy"><h2 class="h2">…</h2><p>…</p><div class="cta-actions">…</div></div>
     <div class="cta-phone" aria-hidden="true"><div class="phone">…</div></div>
   </div></div></section>
   Zonder telefoon: voeg .cta-card-simple toe en laat .cta-phone weg. */
.cta-band { position: relative; padding-top: 112px; background: linear-gradient(to bottom, var(--bg) 0, var(--bg) 50%, #0B0816 50%, #0B0816 100%); }
.section-alt + .cta-band, .cta-band.from-alt { background: linear-gradient(to bottom, var(--bg-alt) 0, var(--bg-alt) 50%, #0B0816 50%, #0B0816 100%); }
.site-footer.after-cta { border-top: 0; padding-top: 72px; }  /* site.js zet .after-cta als de pagina eindigt op een .cta-band */
.cta-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: radial-gradient(520px 380px at 85% 50%, rgba(255,255,255,.12), transparent 70%), #662CD3; color: #FFFFFF; padding: 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; min-height: 560px; }
[data-theme="dark"] .cta-card, :root:not([data-theme]) .cta-card { background: radial-gradient(520px 380px at 85% 50%, rgba(255,255,255,.08), transparent 70%), #5B2CC4; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.cta-card .h2, .cta-card h2 { color: #FFFFFF; font-size: 42px; max-width: 520px; }
.cta-card p { color: rgba(255,255,255,.86); margin-top: 20px; max-width: 440px; font-size: 16px; }
.cta-card .deco-dots { --dot: rgba(255,255,255,.22); right: 24px; top: 24px; width: 208px; height: 176px; opacity: .6; z-index: -1; }
.cta-card .deco-square { right: 72px; bottom: 48px; width: 72px; height: 72px; background: rgba(255,255,255,.1); z-index: -1; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.btn-cta { background: #160B33; color: #FFFFFF; }
.btn-cta .dot { background: #B79BFF; }
.btn-cta:hover { background: #0B0816; }
.cta-card-simple { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; }
.cta-card-simple .cta-actions { margin-top: 0; }
/* Telefoon-mockup met social post (zweeft binnen de kaart) */
.cta-phone { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.phone { position: relative; width: 224px; height: 440px; background: #0C0717; border-radius: 38px; padding: 9px; box-shadow: 0 50px 70px -30px rgba(10,4,30,.75), 0 24px 40px -24px rgba(10,4,30,.5), 0 0 0 1px rgba(255,255,255,.1) inset; transform: rotate(-4deg); animation: phone-float 7s ease-in-out infinite; }
@keyframes phone-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #FFFFFF; display: flex; flex-direction: column; position: relative; font-family: 'Inter', 'Poppins', sans-serif; text-align: left; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 68px; height: 19px; border-radius: 12px; background: #0C0717; z-index: 2; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 38px 12px 8px; }
.ph-av { width: 26px; height: 26px; border-radius: 50%; background: #0B2341; display: flex; align-items: center; justify-content: center; flex: none; }
.ph-av img { width: 18px; height: auto; }
.ph-head b { display: block; font-size: 10px; color: #1A1A1A; line-height: 1.3; }
.ph-head small { display: block; font-size: 9px; color: #777777; line-height: 1.3; }
.ph-text { font-size: 9.5px; color: #333333; line-height: 1.5; padding: 0 12px 8px; }
.phone-screen > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ph-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #F3F2F7; }
.ph-link small { display: block; font-size: 8px; color: #777777; line-height: 1.3; }
.ph-link b { display: block; font-size: 10px; color: #1A1A1A; line-height: 1.3; }
.ph-link em { font-style: normal; font-size: 9px; font-weight: 600; color: #1A1A1A; border: 1px solid #CCCCCC; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.ph-actions { display: flex; justify-content: space-around; padding: 10px 12px; color: #666666; font-size: 10px; border-top: 1px solid #EEEEEE; margin-top: auto; }
.ph-actions span { display: inline-flex; gap: 5px; align-items: center; }

.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 72px; height: 72px; font-size: 22px; }
[data-theme="light"] .avatar { background: var(--ink); color: #FFFFFF; }
.help-card { display: flex; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: var(--surface); }
.help-card b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.help-card a { font-size: 14px; color: var(--accent-text); }
.quote-card { border: 1px solid var(--border); border-radius: 20px; padding: 32px; background: var(--surface); }
.quote-card blockquote { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.quote-card figcaption { display: flex; gap: 12px; align-items: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.stat b { display: block; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   23. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0 !important; }
.relative { position: relative; }
.w-full { width: 100%; }
.no-wrap { white-space: nowrap; }
.hide-mobile { }
.show-mobile { display: none !important; }

/* --------------------------------------------------------------------------
   24. RESPONSIVE (1120 tablet-landscape · 1023 tablet · 640 mobiel)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .h1, h1 { font-size: 54px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .logo-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-strip-lbl { grid-column: 1 / -1; padding: 24px 0 0; justify-content: center; text-align: center; }
  .logo-strip-grid .logo-cell:nth-child(2) { border-left: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .section { padding: 96px 0; }
  .section-head, .split { grid-template-columns: 1fr; gap: 24px; }
  .section-head .lead { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr; }
  .showcase-split { grid-template-columns: 1fr; }
  .showcase-vis { border-left: 0; border-top: 1px solid var(--border); min-height: 400px; }
  .cta-card { grid-template-columns: 1fr; padding: 56px 40px; min-height: 0; gap: 40px; }
  .cta-phone { height: auto; padding: 8px 0 16px; }
  .toc { position: static; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .h1, h1 { font-size: 40px; line-height: 1.1; }
  .h2, h2 { font-size: 30px; }
  .h3, h3 { font-size: 19px; }
  .lead { font-size: 16px; }
  .section-head, .section-head-center { margin-bottom: 40px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card-pad { padding: 24px; }
  .hdr { height: 68px; }
  .mnav { inset: 68px 0 0 0; padding: 8px 16px 24px; }
  .logo-strip-grid { grid-template-columns: 1fr 1fr; }
  .logo-cell { height: 88px; border-top: 1px solid var(--border); }
  .logo-strip-grid .logo-cell:nth-child(2n) { border-left: 0; }
  .logo-strip-grid .logo-cell:nth-child(2n+1) { border-left: 1px solid var(--border); }
  .logo-strip-lbl { padding: 20px 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .showcase { border-radius: 20px; }
  .showcase-pad, .showcase-copy { padding: 32px 24px; }
  .showcase-vis { min-height: 340px; }
  .acc-q { padding: 20px; font-size: 15px; }
  .acc-a p, .acc-a ul { padding: 0 20px 24px; }
  .cta-band { padding-top: 80px; }
  .cta-card { padding: 40px 24px; border-radius: 20px; }
  .cta-card .h2, .cta-card h2 { font-size: 30px; }
  .cta-card .deco-dots, .cta-card .deco-square { display: none; }
  .cta-actions .btn { flex: 1 1 100%; }
  .phone { width: 200px; height: 396px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero .deco-square { display: none; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; margin-top: 40px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer { padding-top: 64px; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: revert !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:is(:hover, .is-hover, :active) { transform: none !important; }
  .btn::after { display: none; }
  .btn:is(:hover, .is-hover) .dot, .btn:is(:hover, .is-hover) > .ic { transform: none !important; }
  .phone { transform: rotate(-4deg); }
  html { scroll-behavior: auto; }
}

/* Toegevoegd door tools/maak_thema_v2.py: meer contrast voor kaarten in donker. */
html:not([data-theme="light"]) { --surface: #1B1433; --border: rgba(255,255,255,.12); }
html:not([data-theme="light"]) .card:not(.dark-scope .card) { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.7); }
