:root {
  --ink: #18302e;
  --muted: #5a716e;
  --canvas: #f1f8f6;
  --paper: #ffffff;
  --line: #d3e6e2;
  --route: #1f9e8f;
  --route-dark: #147567;
  --amber: #f0a83a;
  --blue: #1f6f73;
  --soft: #e3f2ee;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(20, 60, 55, 0.12);
  --gutter: clamp(1rem, 4vw, 4rem);
  --shell: 1040px;
  --measure: 720px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .82rem var(--gutter);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}
.brand img { width: 42px; height: 42px; border-radius: var(--radius); object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; font-size: .92rem; }
.site-nav a { text-decoration: none; white-space: nowrap; font-weight: 600; }
.menu-toggle { display: none; }

.section, .hero, .paper-band, .article-shell { padding: clamp(3rem, 7vw, 5rem) max(var(--gutter), calc((100vw - var(--shell)) / 2)); }
/* redactioneel: proza in een leesbare kolom, niet tegen de rand of vol-breed */
.section > p, .section > h2, .section > h3, .section > .eyebrow, .section > .lead, .section > ul, .section > ol, .section > .step-list, .section > .faq-block,
.paper-band > p, .paper-band > h2, .paper-band > h3, .paper-band > .eyebrow, .paper-band > .lead, .paper-band > ul, .paper-band > ol, .paper-band > .step-list, .paper-band > .faq-block { max-width: var(--measure); }
.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-media, .media-card, .article-image img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.eyebrow {
  color: var(--route-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 0; line-height: 1.1; margin: 0 0 1rem; font-weight: 800; font-family: var(--font-head); }
h1 { max-width: 980px; font-size: clamp(2.4rem, 6vw, 4rem); overflow-wrap: anywhere; }
h2 { max-width: 860px; font-size: clamp(1.8rem, 4vw, 2.62rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .72rem 1rem;
  border: 1px solid var(--route-dark);
  border-radius: var(--radius);
  background: var(--route);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--ink); }
.paper-band { background: transparent; border-top: 1px solid var(--line); }
.split, .media-band { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.media-band { grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); align-items: center; }
.stack { display: grid; gap: 1rem; }
.route-tool, .tool-panel {
  background: transparent;
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.2rem) 0 0;
  border-top: 2px solid var(--route);
}
.route-tool h2, .tool-panel h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); color: var(--ink); }
.route-tool p, .tool-panel p { color: var(--ink); }
.route-tool .button, .tool-panel .button { color: var(--paper); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tool-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
label { display: block; font-weight: 700; }
select, input, textarea {
  width: 100%;
  min-height: 44px;
  margin-top: .35rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 150px; }
.result {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
}
.result small { display: block; margin-top: .5rem; color: var(--muted); font-weight: 500; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.info-card {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.info-card strong { display: block; margin-bottom: .35rem; color: var(--ink); font-family: var(--font-head); font-size: 1.12rem; }
.info-card p { color: var(--ink); margin: 0; }
.step-list { counter-reset: steps; display: grid; gap: 1.1rem; padding: 0; list-style: none; }
.step-list li { counter-increment: steps; position: relative; padding-left: 3rem; min-height: 2rem; }
.step-list li::before { content: counter(steps); position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--route); color: var(--paper); font-weight: 800; }
.faq-block details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-block summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.route-list, .article-list { display: grid; gap: 0; }
.route-row, .article-row, .product-row, .legal-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  gap: .35rem 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.route-row:first-child, .article-row:first-child, .product-row:first-child, .legal-row:first-child { border-top: 0; }
.metric { color: var(--route-dark); font-weight: 800; white-space: nowrap; font-family: var(--font-head); }
.note {
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: transparent;
  color: var(--ink);
  font-size: .96rem;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: transparent; }
th, td { padding: .95rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
tbody tr:hover { background: var(--soft); }
.tpn-content-flow > *:not(.wide):not(.hero):not(.section):not(.paper-band) { max-width: var(--measure); margin-left: auto; margin-right: auto; padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--shell)) / 2)); }
.article-shell { max-width: 920px; margin: 0 auto; }
.article-shell h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.article-shell p, .article-shell li { font-size: 1.05rem; }
.article-meta, .meta { color: var(--muted); font-size: .9rem; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.author-box {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author-box h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.author-box img { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 3rem var(--gutter);
  background: var(--ink);
  color: var(--paper);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }
.site-footer a { color: var(--paper); }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    min-height: 42px;
    padding: .55rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font-weight: 800;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .hero, .split, .media-band, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media img { min-height: 300px; }
  .tool-grid, .tool-grid.two, .tool-grid.four, .info-grid, .route-row, .article-row, .product-row, .legal-row, .author-box { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .section, .hero, .article-shell { padding-left: 1rem; padding-right: 1rem; }
  .button { width: 100%; }
}
