/* zelfstandigbijberoep.be · stylesheet
   Alles komt uit de tokens hieronder. Geen losse kleuren of maten in componenten. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* kleur: papier + inkt, één actiekleur (smaragd), semantische kleuren voor de rekensom */
  --paper: #f6f4ee;
  --paper-2: #efece4;
  --paper-3: #e7e3d9;
  --surface: #fffffe;
  --ink: #121a26;
  --ink-2: #344052;
  --ink-3: #596372;
  --ink-4: #8a909a;
  --line: #e0dcd2;
  --line-2: #cfcabd;
  --accent: #0b6b4c;
  --accent-2: #085a40;
  --accent-soft: #dcefe5;
  --accent-tint: #eef7f2;
  --highlight: #fbe7a8;

  --seg-netto: #0b6b4c;
  --seg-soc: #3a5aa6;
  --seg-tax: #d27a2a;
  --seg-kost: #b8b2a5;

  --info-bg: #e7edf7;
  --info-line: #b9c8e6;
  --warn-bg: #fbeedc;
  --warn-line: #ecc999;
  --new-bg: #e2f2e9;
  --new-line: #a9d6bd;

  /* typografie */
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.1875rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2vw + 1.35rem, 2.25rem);
  --t-2xl: clamp(2.125rem, 2.4vw + 1.4rem, 3.125rem);
  --t-hero: clamp(2.75rem, 4.6vw + 1.2rem, 5.25rem);

  /* ruimte (4px-raster) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --prose: 680px;

  /* vorm */
  --r-1: 6px; --r-2: 10px; --r-3: 16px; --r-4: 24px; --r-pill: 999px;

  /* diepte: 5 niveaus, schaduw meegekleurd met het papier */
  --e-1: 0 0 0 1px var(--line), 0 1px 2px rgba(40, 32, 12, 0.04);
  --e-2: 0 0 0 1px var(--line), 0 1px 2px rgba(40, 32, 12, 0.04), 0 4px 12px -2px rgba(40, 32, 12, 0.06);
  --e-3: 0 0 0 1px var(--line), 0 2px 4px rgba(40, 32, 12, 0.04), 0 12px 32px -8px rgba(40, 32, 12, 0.12);
  --e-4: 0 0 0 1px var(--line-2), 0 8px 16px -4px rgba(40, 32, 12, 0.08), 0 28px 56px -12px rgba(40, 32, 12, 0.18);
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);

  /* beweging */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --d-1: 160ms; --d-2: 260ms; --d-3: 640ms;

  --header-h: 68px;
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  letter-spacing: -0.006em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-1); }
::selection { background: var(--highlight); color: var(--ink); }
html { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
.num, table, .tabular { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; }
h1 { font-size: var(--t-2xl); line-height: 1.04; }
h2 { font-size: var(--t-xl); line-height: 1.12; }
h3 { font-size: var(--t-md); line-height: 1.35; font-weight: 620; letter-spacing: -0.014em; }
h4 { font-size: var(--t-base); font-weight: 620; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-2) var(--s-4); border-radius: var(--r-2);
  font-weight: 600; text-decoration: none; transition: top var(--d-1) var(--ease-out);
}
.skip-link:focus { top: var(--s-3); color: var(--paper); }

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

/* ---------- knoppen ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5);
  border-radius: var(--r-pill); border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 var(--t-sm)/1 var(--sans); letter-spacing: -0.006em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(18,26,38,.18);
  transition: background-color var(--d-1) var(--ease-out), transform var(--d-1) var(--ease-out), box-shadow var(--d-1) var(--ease-out);
}
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--accent-2); }
.btn--ink:hover { --btn-bg: #1f2a3a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-4); }
.btn--lg { min-height: 52px; padding: 0 var(--s-6); font-size: var(--t-base); }
.btn > svg, .textlink > svg, .card-go > svg, .mobile-nav a > svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-nav a > svg { color: var(--ink-4); }
.btn .arrow, .btn > svg { transition: transform var(--d-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover > svg, .textlink:hover > svg { transform: translateX(3px); } }
.textlink > svg { transition: transform var(--d-1) var(--ease-out); }

.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(246, 244, 238, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-2) var(--ease-out), background-color var(--d-2) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 238, 0.92); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-weight: 680; font-size: 0.98rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { color: var(--accent); }
.brand-name small { font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-1); }
.main-nav a {
  color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); font-weight: 520;
  padding: 8px 12px; border-radius: var(--r-pill);
  transition: background-color var(--d-1) var(--ease-out), color var(--d-1) var(--ease-out);
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-3); }
.main-nav .btn { margin-left: var(--s-2); color: #fff; padding: 0 var(--s-5); }
.main-nav .btn:hover { background: var(--accent-2); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: var(--r-pill); border: 0;
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: var(--s-5) var(--gutter) var(--s-8);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--d-2) var(--ease-out), transform var(--d-2) var(--ease-out), visibility 0s linear var(--d-2);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--d-2) var(--ease-out), transform var(--d-2) var(--ease-out); }
.mobile-nav p { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 600; margin: var(--s-5) 0 var(--s-2); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: var(--t-md); font-weight: 520; letter-spacing: -0.015em;
}
.mobile-nav li a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { width: 100%; margin-top: var(--s-6); }
body.nav-open { overflow: hidden; }

@media (max-width: 1040px) {
  .main-nav .nav-secondary { display: none; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- algemene secties ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sunken { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #e9ecf1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head p { color: var(--ink-3); font-size: var(--t-md); margin-top: var(--s-4); }
.section--ink .section-head p { color: #b9c1cd; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lede { font-size: clamp(1.125rem, 0.4vw + 1.02rem, 1.3125rem); line-height: 1.55; color: var(--ink-2); letter-spacing: -0.012em; }

/* ---------- hero (home) ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 104px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(11,107,76,.10), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 10%, rgba(210,122,42,.07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.02em; margin-top: var(--s-5); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: var(--s-5); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-proof { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--ink-3); font-size: var(--t-sm); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- kerncijfers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: var(--s-6) var(--s-5) var(--s-5) 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: var(--s-5); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(2.25rem, 2.6vw + 1.2rem, 3.25rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.stat-label { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5; }
.stat-label a { color: inherit; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-right: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

/* ---------- stappen ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); counter-reset: stap; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li.steps-cta { counter-increment: none; background: var(--ink); color: #e9ecf1; box-shadow: var(--e-2); padding-top: var(--s-5); display: flex; flex-direction: column; }
.steps li.steps-cta::before { content: none; }
.steps li.steps-cta h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: var(--t-lg); letter-spacing: -0.01em; }
.steps li.steps-cta p { color: #b9c1cd; }
.steps li.steps-cta a { margin-top: auto; padding-top: var(--s-4); color: #9fd8bd; }
.steps li {
  counter-increment: stap; position: relative;
  background: var(--surface); border-radius: var(--r-3); box-shadow: var(--e-1);
  padding: var(--s-5); padding-top: 64px;
}
.steps li::before {
  content: counter(stap, decimal-leading-zero);
  position: absolute; top: var(--s-5); left: var(--s-5);
  font: 600 var(--t-xs)/1 var(--sans); letter-spacing: 0.06em; color: var(--accent);
  padding: 6px 8px; border-radius: var(--r-pill); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent-soft);
}
.steps h3 { font-size: var(--t-base); }
.steps p { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--ink-3); line-height: 1.55; }

/* ---------- kaarten ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  background: var(--surface); border-radius: var(--r-3); box-shadow: var(--e-1);
  padding: var(--s-5); color: var(--ink); text-decoration: none;
  transition: transform var(--d-2) var(--ease-out), box-shadow var(--d-2) var(--ease-out);
}
.card:hover { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--e-3); }
  .card:hover .card-go { color: var(--accent); transform: translateX(3px); }
}
.card-icon { width: 40px; height: 40px; border-radius: var(--r-2); display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); margin-bottom: var(--s-3); }
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: var(--t-md); }
.card p { color: var(--ink-3); font-size: var(--t-sm); line-height: 1.55; }
.card-go { margin-top: auto; padding-top: var(--s-4); font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; transition: transform var(--d-1) var(--ease-out), color var(--d-1) var(--ease-out); }
.card--feature { background: var(--ink); color: #e9ecf1; box-shadow: var(--e-2); }
.card--feature h3 { color: #fff; }
.card--feature p { color: #b9c1cd; }
.card--feature .card-icon { background: rgba(255,255,255,.08); color: #fff; }
.card--feature .card-go { color: #fff; }
.card--feature:hover { color: #e9ecf1; }

/* ---------- nieuw in 2026 ---------- */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-3); overflow: hidden; }
.news-item { background: var(--ink); padding: var(--s-6); }
.news-item .tag { display: inline-block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; color: #9fd8bd; margin-bottom: var(--s-3); }
.news-item h3 { font-size: var(--t-md); color: #fff; }
.news-item p { margin-top: var(--s-2); color: #b9c1cd; font-size: var(--t-sm); line-height: 1.6; }
.news-item a { color: #9fd8bd; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } }

/* ---------- euro-uitleg (home) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.euro-figure { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--e-2); padding: clamp(20px, 3vw, 36px); }
.euro-figure figcaption { font-size: var(--t-xs); color: var(--ink-3); margin-top: var(--s-4); line-height: 1.5; }
.prose-list { margin: var(--s-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s-4); }
.prose-list li { display: grid; grid-template-columns: 14px 1fr; gap: var(--s-3); align-items: baseline; color: var(--ink-2); }
.prose-list .sw { width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }

/* ---------- CTA-band ---------- */
.cta-band { background: var(--ink); color: #e9ecf1; border-radius: var(--r-4); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(11,107,76,.55), transparent 65%); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c1cd; margin-top: var(--s-3); max-width: 38em; }
.cta-band .btn--accent { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px -8px rgba(11,107,76,.7); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- artikelpagina ---------- */
.page-head { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 var(--s-5); padding: 0; font-size: var(--t-xs); color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-4); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head h1 { max-width: 18em; }
.page-head .lede { margin-top: var(--s-4); max-width: 40em; }
.meta { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-xs); color: var(--ink-3); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 14px; height: 14px; }

.answer {
  margin-top: var(--s-6); max-width: 46em;
  background: var(--surface); box-shadow: var(--e-1); border-radius: var(--r-3);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6); position: relative;
}
.answer::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.answer strong:first-child { display: block; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: var(--s-2); }
.answer p { color: var(--ink-2); }

.article-grid { display: grid; grid-template-columns: minmax(0, var(--prose)) 240px; justify-content: space-between; gap: var(--s-8); padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--s-9); }
.article-grid--solo { grid-template-columns: minmax(0, var(--prose)); }
@media (max-width: 1040px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.wide-top { padding-top: clamp(32px, 4vw, 48px); }
.wide-top + .container .article-grid { padding-top: clamp(48px, 6vw, 80px); }

.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: var(--t-sm); }
.toc p { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 600; margin-bottom: var(--s-3); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 6px 0 6px var(--s-4); margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.4; transition: color var(--d-1) var(--ease-out), border-color var(--d-1) var(--ease-out); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 560; }
.toc .toc-cta { margin-top: var(--s-6); padding: var(--s-4); border-radius: var(--r-3); background: var(--surface); box-shadow: var(--e-1); }
.toc .toc-cta strong { display: block; font-size: var(--t-sm); margin-bottom: var(--s-1); }
.toc .toc-cta span { display: block; color: var(--ink-3); font-size: var(--t-xs); line-height: 1.5; margin-bottom: var(--s-3); }

/* lopende tekst */
.prose { font-size: var(--t-base); color: var(--ink-2); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-8); color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); color: var(--ink); }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul, .prose h2 + ol, .prose h3 + ol { margin-top: var(--s-3); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--ink-4); }
.prose ol li::marker { font-weight: 600; color: var(--accent); }
.prose mark { background: linear-gradient(transparent 55%, var(--highlight) 55%); color: inherit; padding: 0 2px; }
.prose blockquote { margin-left: 0; padding-left: var(--s-5); border-left: 2px solid var(--line-2); color: var(--ink-3); font-style: italic; }

/* callouts */
.callout { border-radius: var(--r-3); padding: var(--s-4) var(--s-5); background: var(--info-bg); box-shadow: inset 0 0 0 1px var(--info-line); font-size: var(--t-sm); line-height: 1.6; color: var(--ink-2); }
.callout > * + * { margin-top: var(--s-2); }
.callout strong:first-child { display: block; color: var(--ink); font-size: var(--t-sm); margin-bottom: 2px; }
.callout--warn { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn-line); }
.callout--new { background: var(--new-bg); box-shadow: inset 0 0 0 1px var(--new-line); }
.callout--plain { background: var(--surface); box-shadow: var(--e-1); }
.prose .callout { margin-top: var(--s-5); margin-bottom: var(--s-5); }

/* tabellen */
.table-wrap { overflow-x: auto; border-radius: var(--r-3); box-shadow: var(--e-1); background: var(--surface); -webkit-overflow-scrolling: touch; }
.prose .table-wrap { margin-top: var(--s-5); margin-bottom: var(--s-5); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.45; }
caption { text-align: left; padding: var(--s-4) var(--s-4) 0; font-size: var(--t-xs); color: var(--ink-3); caption-side: bottom; padding-bottom: var(--s-4); }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 600; background: var(--paper); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td.r, th.r { text-align: right; }
td.r { white-space: nowrap; }
tr.hl td, tr.hl th { background: var(--accent-tint); }
.check { color: var(--accent); font-weight: 700; }
.cross { color: #a3412a; font-weight: 700; }

/* faq */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5) 0; font-weight: 600; font-size: var(--t-md); letter-spacing: -0.015em; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); transition: transform var(--d-2) var(--ease-out), background-color var(--d-1); margin-top: -1px; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq summary:hover .pm { background: var(--paper-3); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq .faq-a { padding: 0 var(--s-8) var(--s-5) 0; color: var(--ink-2); }
.faq .faq-a > * + * { margin-top: var(--s-3); }
@media (max-width: 600px) { .faq .faq-a { padding-right: 0; } }
.prose .faq { margin-top: var(--s-5); }

/* bronnen + gerelateerd */
.sources { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.sources h2 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 650; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s-3); }
.sources ol { margin: 0; padding-left: 1.2em; }
.sources li + li { margin-top: 4px; }
.sources a { color: var(--ink-3); }
.related { margin-top: var(--s-7); }
.related h2 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 650; letter-spacing: -0.01em; margin-bottom: var(--s-4); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related-grid a { display: block; padding: var(--s-4); border-radius: var(--r-2); background: var(--surface); box-shadow: var(--e-1); text-decoration: none; color: var(--ink); transition: box-shadow var(--d-1) var(--ease-out); }
.related-grid a:hover { box-shadow: var(--e-2); color: var(--ink); }
.related-grid strong { display: block; font-size: var(--t-sm); }
.related-grid span { display: block; font-size: var(--t-xs); color: var(--ink-3); margin-top: 2px; line-height: 1.5; }

.disclaimer-inline { margin-top: var(--s-7); font-size: var(--t-xs); color: var(--ink-3); line-height: 1.6; padding: var(--s-4); border-radius: var(--r-2); background: var(--paper-2); }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0 !important; margin-top: var(--s-5) !important; display: grid; gap: var(--s-2); }
.checklist li { margin: 0 !important; }
.checklist label { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-3) var(--s-4); border-radius: var(--r-2); background: var(--surface); box-shadow: var(--e-1); cursor: pointer; transition: box-shadow var(--d-1) var(--ease-out), background-color var(--d-1); }
.checklist label:hover { box-shadow: var(--e-2); }
.checklist input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color var(--d-1), border-color var(--d-1); }
.checklist input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--d-1) var(--ease-out); }
.checklist input:checked { background: var(--accent); border-color: var(--accent); }
.checklist input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.checklist input:focus-visible { box-shadow: var(--focus); }
.checklist .ct { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; }
.checklist .ct strong { display: block; font-size: var(--t-base); color: var(--ink); }
.checklist input:checked + .ct strong { text-decoration: line-through; text-decoration-color: var(--ink-4); color: var(--ink-3); }
.progress { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-3); }
.progress-bar { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--paper-3); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width var(--d-2) var(--ease-out); }

/* ---------- statuscheck ---------- */
.tool-card { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--e-3); padding: clamp(20px, 3vw, 32px); }
.prose .tool-card { margin-top: var(--s-5); margin-bottom: var(--s-6); }
.tool-card h3 { margin: 0; }
.tool-card .hint { color: var(--ink-3); font-size: var(--t-sm); margin-top: var(--s-1); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 12px 14px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: var(--t-sm); font-weight: 520; color: var(--ink-2); transition: box-shadow var(--d-1), background-color var(--d-1), color var(--d-1); line-height: 1.4; }
.choice input:hover + span { box-shadow: inset 0 0 0 1px var(--ink-4); }
.choice input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-tint); color: var(--ink); }
.choice input:focus-visible + span { box-shadow: var(--focus); }
.status-result { margin-top: var(--s-5); border-radius: var(--r-3); padding: var(--s-4) var(--s-5); background: var(--paper); font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
.status-result[data-tone="ok"] { background: var(--new-bg); box-shadow: inset 0 0 0 1px var(--new-line); }
.status-result[data-tone="let-op"] { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn-line); }
.status-result[data-tone="nee"] { background: #f7e4df; box-shadow: inset 0 0 0 1px #e6b7aa; }
.status-result strong { display: block; color: var(--ink); font-size: var(--t-base); margin-bottom: var(--s-1); }
.status-result .empty { color: var(--ink-3); }

/* ---------- calculator ---------- */
.calc { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--e-4); overflow: hidden; overflow: clip; }
.calc-head { padding: var(--s-5) var(--s-5) 0; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.calc-head h2, .calc-head h3 { font-family: var(--sans); font-size: var(--t-base); font-weight: 650; letter-spacing: -0.015em; }
.calc-head span { font-size: var(--t-xs); color: var(--ink-3); white-space: nowrap; }
.calc-body { padding: var(--s-4) var(--s-5) var(--s-5); }
.field + .field { margin-top: var(--s-5); }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-2); }
.field label { font-size: var(--t-sm); font-weight: 560; color: var(--ink-2); }
.field .help { display: block; font-size: var(--t-xs); color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.money { display: inline-flex; align-items: center; gap: 4px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--paper); padding: 0 10px; height: 38px; transition: box-shadow var(--d-1); }
.money:focus-within { box-shadow: inset 0 0 0 2px var(--accent); background: var(--surface); }
.money span { color: var(--ink-3); font-size: var(--t-sm); }
.money input { width: 7.2ch; border: 0; background: transparent; font: 600 1rem/1 var(--sans); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; padding: 0; outline: none; }
.money--pct input { width: 4.2ch; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--r-pill); background: linear-gradient(to right, var(--ink) 0 var(--p), var(--paper-3) var(--p) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: var(--r-pill); background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: var(--r-pill); background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); margin-top: -8px; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(18,26,38,.22); transition: transform var(--d-1) var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 0; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(18,26,38,.22); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { box-shadow: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: var(--focus); }

.calc-result { border-top: 1px solid var(--line); background: var(--paper); padding: var(--s-5); }
.result-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; }
.result-label { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 600; }
.result-big { font-family: var(--serif); font-size: clamp(2.5rem, 3vw + 1.4rem, 3.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.result-big small { font-family: var(--sans); font-size: var(--t-sm); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.result-keep { text-align: right; }
.result-keep .pill { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-2); font-weight: 650; font-size: var(--t-sm); white-space: nowrap; }
.result-keep p { font-size: var(--t-xs); color: var(--ink-3); margin-top: 6px; }

.stack { display: flex; height: 44px; border-radius: var(--r-2); overflow: hidden; margin-top: var(--s-5); background: var(--paper-3); gap: 2px; }
.stack .seg { position: relative; height: 100%; min-width: 0; transition: flex-grow var(--d-3) var(--ease-out); flex-basis: 0; }
.stack .seg[data-k="netto"] { background: var(--seg-netto); }
.stack .seg[data-k="soc"] { background: var(--seg-soc); }
.stack .seg[data-k="tax"] { background: var(--seg-tax); }
.stack .seg[data-k="kost"] { background: repeating-linear-gradient(135deg, var(--seg-kost) 0 6px, #c7c1b5 6px 12px); }
.legend { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: baseline; font-size: var(--t-sm); color: var(--ink-2); }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; transform: translateY(0px); }
.legend .v { font-weight: 620; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 460px) { .legend { grid-template-columns: 1fr; } }
.sw--netto { background: var(--seg-netto); } .sw--soc { background: var(--seg-soc); } .sw--tax { background: var(--seg-tax); } .sw--kost { background: var(--seg-kost); }
.calc-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-5); flex-wrap: wrap; }
.calc-foot small { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; max-width: 30em; }

/* volledige calculator */
.calc-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; }
.calc-page .calc-inputs { padding: clamp(20px, 3vw, 36px); border-right: 1px solid var(--line); }
.calc-page .calc-outputs { padding: clamp(20px, 3vw, 36px); background: var(--paper); }
@media (max-width: 900px) { .calc-page { grid-template-columns: 1fr; } .calc-page .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); } }
.fieldset-title { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 600; margin: var(--s-6) 0 var(--s-4); display: flex; align-items: center; gap: var(--s-3); }
.fieldset-title:first-child { margin-top: 0; }
.fieldset-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.seg-toggle { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg-toggle button { border: 0; background: transparent; font: 560 var(--t-xs)/1 var(--sans); color: var(--ink-3); padding: 8px 12px; border-radius: var(--r-pill); cursor: pointer; transition: background-color var(--d-1), color var(--d-1), box-shadow var(--d-1); }
.seg-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--e-1); }
.breakdown { width: 100%; margin-top: var(--s-5); font-size: var(--t-sm); border-collapse: collapse; }
.breakdown td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.breakdown td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; padding-left: var(--s-4); }
.breakdown tr.sub td { color: var(--ink-3); font-size: var(--t-xs); padding-top: 4px; padding-bottom: 8px; }
.breakdown tr.sub td:last-child { font-weight: 500; color: var(--ink-3); }
.breakdown tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); padding-top: 12px; font-size: var(--t-base); }
.breakdown tr.minus td:last-child::before { content: "\2212\00a0"; color: var(--ink-3); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-5); }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }
.kpi { background: var(--surface); border-radius: var(--r-2); box-shadow: var(--e-1); padding: var(--s-3) var(--s-4); }
.kpi span { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; }
.kpi strong { display: block; font-size: var(--t-lg); letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: var(--s-5); font-size: var(--t-xs); color: var(--ink-3); line-height: 1.6; }

/* ---------- begrippen ---------- */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-6); }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-2); background: var(--surface); box-shadow: var(--e-1); font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--ink-2); }
.az a:hover { color: var(--accent); }
dl.terms { margin: 0; }
dl.terms dt { font-weight: 650; color: var(--ink); margin-top: var(--s-5); scroll-margin-top: calc(var(--header-h) + 24px); }
dl.terms dd { margin: var(--s-1) 0 0; color: var(--ink-2); }
.az-letter { font-family: var(--serif); font-size: 2rem; color: var(--accent); margin-top: var(--s-7) !important; padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c1cd; padding: var(--s-9) 0 var(--s-6); font-size: var(--t-sm); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-7); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #8f99a8; }
.footer-about { margin-top: var(--s-4); max-width: 30em; line-height: 1.6; }
.site-footer h2 { font-family: var(--sans); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; font-weight: 600; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9c1cd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); font-size: var(--t-xs); color: #8f99a8; }
.footer-bottom a { color: #d5dbe3; }
.made-by { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.made-by strong { color: #fff; font-weight: 600; }
.footer-disclaimer { margin-top: var(--s-6); font-size: var(--t-xs); color: #8f99a8; max-width: 70em; line-height: 1.6; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--s-9); }
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 0.9; color: var(--paper-3); letter-spacing: -0.04em; }
.notfound h1 { margin-top: var(--s-4); }
.notfound p { color: var(--ink-3); margin: var(--s-4) auto 0; max-width: 32em; }
.notfound .hero-actions { justify-content: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--d-3) var(--ease-out), transform var(--d-3) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .intro > * { animation: rise 720ms var(--ease-out) both; }
.hero .intro > *:nth-child(2) { animation-delay: 60ms; }
.hero .intro > *:nth-child(3) { animation-delay: 120ms; }
.hero .intro > *:nth-child(4) { animation-delay: 180ms; }
.hero .intro > *:nth-child(5) { animation-delay: 240ms; }
.hero .calc { animation: rise 900ms var(--ease-out) 160ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

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

@media print {
  .site-header, .site-footer, .toc, .cta-band, .mobile-nav, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .article-grid { display: block; }
}

/* footer-merk op donker */
.site-footer .brand svg { box-shadow: 0 0 0 1px rgba(255,255,255,.16); border-radius: 9px; }
.site-footer .brand-name span { color: #5fd3a5; }
.home-stats { padding-bottom: 0; }
.table-note { margin: 0; padding: 12px 16px 14px; font-size: var(--t-xs); line-height: 1.55; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--paper); }
.prose .table-wrap > .table-note { margin-top: 0; }
.toc .toc-cta .btn { display: inline-flex; padding: 0 var(--s-4); margin: 0; border: 0; color: #fff; min-height: 40px; font-size: var(--t-xs); }
.toc .toc-cta .btn:hover { color: #fff; }
.cell-sub { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--ink-3); margin-top: 2px; }
.main-nav .btn[aria-current="page"] { background: var(--accent-2); color: #fff; }
.prose table th, .prose table td { padding: 11px 12px; }
.prose table th:first-child, .prose table td:first-child { padding-left: 16px; }
.prose table th:last-child, .prose table td:last-child { padding-right: 16px; }
@media (max-width: 600px) { .hide-sm { display: none; } }
.calc-sticky { display: none; }
@media (max-width: 900px) {
  .calc-sticky {
    position: sticky; bottom: 12px; z-index: 5; margin-top: var(--s-6);
    display: flex; align-items: center; gap: var(--s-3);
    padding: 10px 12px 10px 18px; border-radius: var(--r-pill);
    background: var(--ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(18,26,38,.55);
  }
  .calc-sticky > span:first-child { font-size: var(--t-xs); color: #b9c1cd; white-space: nowrap; }
  .calc-sticky strong { font-size: var(--t-md); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .calc-sticky .pill { margin-left: auto; font-size: var(--t-xs); font-weight: 650; background: rgba(95,211,165,.16); color: #9fe3c6; padding: 6px 10px; border-radius: var(--r-pill); white-space: nowrap; }
}
@media (max-width: 600px) {
  thead th { white-space: normal; }
  .prose table th, .prose table td { padding: 10px 10px; }
  .prose table th:first-child, .prose table td:first-child { padding-left: 12px; }
}
