/* Trucheman, publieke site (S34 F5). Ontwerp: Site2.dc.html. Geen externe fonts (S13 Grenzen). */
:root {
  --teal: #0F4B48;
  --teal-deep: #0A3533;
  --teal-line: #1A5E5A;
  --mint: #DCE7E4;
  --mist: #EDF3F1;
  --pink: #F7DDE3;
  --pink-light: #F7A8B8;
  --red: #C2304F;
  --red-dark: #8E1F38;
  --ink: #12211F;
  --muted: #34504D;
  --soft: #CFE1DD;
  --line: #B9CCC8;
  --display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); line-height: 1.5; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
p { margin: 0; }
mark { background: var(--pink); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 8px; top: 8px; z-index: 10; padding: 8px 12px; background: #fff; color: var(--teal); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Lay-out */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.band-dark { background: var(--teal); color: #fff; }
.band-pink { background: var(--pink); }
.band-red { background: var(--red); color: #fff; }
.band-mint { background: var(--mint); }
.section { padding-top: 104px; padding-bottom: 104px; }
.stack, .stack-sm, .stack-lg, .stack-xl { display: flex; flex-direction: column; }
.stack-sm { gap: 12px; } .stack { gap: 16px; } .stack-lg { gap: 28px; } .stack-xl { gap: 40px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.split-dev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.eyebrow-light { color: var(--pink); }
.eyebrow-dark { color: var(--teal); }
.h2-xl { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; max-width: 20ch; }
.h2-huge { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.02; letter-spacing: -.025em; max-width: 18ch; }
.lead { font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 46ch; }
.body-lg { font-size: 17px; line-height: 1.65; max-width: 46ch; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); max-width: 80ch; }
.note-light { font-size: 14px; color: var(--soft); }
.fine { font-size: 13px; line-height: 1.5; color: #4D6865; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-lg { min-height: 48px; padding: 14px 26px; font-size: 16px; }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { color: var(--teal); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { color: #fff; }
.link-light { font-weight: 600; font-size: 16px; color: var(--pink); }
.link-light:hover { color: #fff; }

/* Kop */
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; text-decoration: none; }
.brand span { color: var(--pink-light); }
.brand:hover { color: #fff; }
.navlinks { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.navlinks a, .lang { color: #E3EEEB; text-decoration: none; }
.navlinks a:hover, .lang:hover { color: #fff; text-decoration: underline; }
.head-actions { display: flex; align-items: center; gap: 20px; font-size: 15px; }

/* Hero en rekenmodule */
.hero { padding-top: 56px; padding-bottom: 104px; }
.hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.04; letter-spacing: -.025em; max-width: 14ch; }
.actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.calc { background: #fff; color: var(--ink); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.budgets { border: 0; margin: 0; padding: 0; }
.budgets legend { font-size: 14px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 8px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 48px; padding: 10px 18px; border-radius: 999px; font: 700 15px/1 var(--body); cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--teal); }
.pill:hover { border-color: var(--red); }
.pill[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.rows { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-direction: column; gap: 6px; }
.row-head { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.row-name { font-weight: 700; }
.row-count { font-variant-numeric: tabular-nums; color: var(--muted); }
.bar { height: 14px; border-radius: 7px; background: var(--line); width: 0; transform-origin: left center; }
.bar-ours { background: var(--red); }
.no-js .bar { display: none; }
.factor { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.15; color: var(--red); transform-origin: left center; }

/* Wat je krijgt */
.band-pink .wrap { padding-top: 64px; padding-bottom: 64px; }
.band-pink h2 { font-size: 34px; }
.stats { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 24px; align-items: end; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: 36px; font-variant-numeric: tabular-nums; color: var(--teal); }
.stat .lbl { font-size: 14px; }
.stat-big .num { font-weight: 800; font-size: clamp(56px, 6vw, 80px); line-height: .95; letter-spacing: -.03em; color: var(--ink); }
.stat-big .lbl { font-size: 15px; font-weight: 600; }

/* Vergelijking */
.table-wrap { overflow-x: auto; background: #fff; border-radius: 24px; box-shadow: 0 20px 60px rgba(15, 75, 72, .08); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 900px; }
thead th, thead td { padding: 20px 16px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--mint); }
thead th.ours { background: var(--teal); color: #fff; font-family: var(--display); font-size: 18px; border-radius: 24px 0 0 0; }
tbody th { text-align: left; padding: 18px 24px; font-weight: 600; border-bottom: 1px solid #EEF3F2; }
tbody td { text-align: center; padding: 18px 16px; border-bottom: 1px solid #EEF3F2; color: var(--muted); }
tbody td.ours { background: var(--mist); border-bottom-color: var(--mint); font-weight: 700; color: var(--ink); }
.planned { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--pink); color: var(--red-dark); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 22px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-0 { background: var(--pink); }
.card-1 { background: var(--mint); }
.card-2 { background: #fff; }
.card-3 { background: var(--teal); }
.card-3 h3 { color: #fff; }
.card-3 p { color: var(--soft); }
.card .example { font-size: 14px; margin-top: 6px; }
.card-0 mark { background: #fff; }

/* Prijzen */
.tabs { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.tab { width: 300px; max-width: 100%; min-height: 72px; text-align: left; padding: 14px 18px; border-radius: 18px; font: 700 15px/1.3 var(--body); cursor: pointer; border: 1.5px solid #2E6A66; background: transparent; color: #fff; }
.tab:hover { border-color: var(--red); }
.tab[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.tab-name { display: block; font-size: 17px; }
.tab-voor { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.no-js .tabs { display: none; }
.panel { gap: 48px; border-radius: 28px; padding: 40px; align-items: start; }
.panel-smart { background: var(--mint); color: var(--ink); }
.panel-beoordeling { background: #fff; color: var(--ink); }
.panel-exact { background: var(--red); color: #fff; }
.panel-voor { font-size: 14px; font-weight: 700; }
.panel .price { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.05; }
.panel p { font-size: 16px; line-height: 1.6; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.55; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 2px; }
.checks circle { fill: var(--teal); }
.checks path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel-exact .checks circle { fill: #fff; }
.panel-exact .checks path { stroke: var(--red); }

/* Exact */
.band-red .section { padding-top: 96px; padding-bottom: 96px; }
.limit { font-size: 14px; font-weight: 600; color: #FFE7EC; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.group { background: var(--teal); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.group strong { font-family: var(--display); font-size: 20px; }
.group span { font-size: 14px; line-height: 1.5; color: var(--soft); }

/* Ontwikkelaars */
.links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 700; font-size: 16px; }
.code { border-radius: 18px; overflow: hidden; background: var(--teal); color: #E8ECF4; }
.code-part { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.code-answer { border-top: 1px solid var(--teal-line); background: var(--teal-deep); }
.code-label { font-size: 13px; color: #A9C7C2; }
pre { margin: 0; white-space: pre; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.6; }

/* Cocreatie, slot, voet */
.band-mint .section { padding-top: 88px; padding-bottom: 88px; align-items: center; }
.tile { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tile strong { font-size: 18px; }
.tile span { font-size: 15px; line-height: 1.6; color: var(--muted); }
.start { align-items: flex-start; }
.foot { background: var(--teal-deep); color: #A9C7C2; }
.foot-in { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #E3EEEB; }

/* Smal scherm: alles onder elkaar */
@media (max-width: 900px) {
  .split, .split-even, .split-dev, .cards, .groups { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-big { grid-column: 1 / -1; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 32px; padding-bottom: 72px; }
  .panel { gap: 24px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .calc, .panel { padding: 24px; border-radius: 22px; }
  .head-actions { gap: 14px; }
  .brand { font-size: 21px; }
  .factor { font-size: 24px; }
  .tab { width: 100%; }
}

/* Beweging alleen als de bezoeker er niet om vroeg om ze te beperken */
@keyframes dgUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dgGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dgPop { 0% { opacity: 0; transform: scale(.85); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes dgSwap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .in { animation: dgUp .7s var(--ease) both; }
  .d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
  .calc { animation: dgUp .9s var(--ease) .2s both; }
  .bar { transition: width .45s var(--ease); animation: dgGrow 1s var(--ease) .55s both; }
  .factor.pop { animation: dgPop .45s ease-out both; }
  .panel.swap { animation: dgSwap .4s var(--ease) both; }
  .pill, .tab { transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .15s ease; }
  .pill:active, .tab:active { transform: scale(.97); }
  .btn { transition: transform .2s ease, box-shadow .2s ease; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
  .card, .group, .tile { transition: transform .25s ease, box-shadow .25s ease; }
  .card:hover, .group:hover, .tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 75, 72, .16); }
  @supports (animation-timeline: view()) {
    section h2, .cards > *, .groups > *, tbody tr, .code {
      animation: dgUp linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
  }
}
