:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #14211f;
  --muted: #5b6764;
  --line: #e2ded4;
  --brand: #0f3d3e;
  --brand-2: #17595a;
  --flame: #e8892b;
  --flame-soft: #fdf0e1;
  --up: #b4412b;
  --down: #2b7a4b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 33 31 / .05), 0 4px 16px rgb(20 33 31 / .05);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font-size: .85em; background: var(--flame-soft); padding: .1em .35em; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--brand); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.logo svg { color: var(--flame); }
.logo b, .logo-small b { color: var(--flame); font-weight: 700; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 11px; white-space: nowrap; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { background: var(--flame-soft); color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; }
@media (max-width: 1040px) {
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 8px; padding: 8px 14px; font: inherit; color: var(--ink); cursor: pointer;
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface);
    border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav-open .nav { display: flex; }
}

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--flame-soft) 100%); color: var(--ink); padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: #b7651a; margin-bottom: .6em; }
.price-heading { font-size: clamp(2.8rem, 9vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .15em; font-variant-numeric: tabular-nums; color: var(--brand); }
.price-heading small { font-size: .35em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.stat-label { font-size: .85rem; color: var(--muted); }
.stat-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-value.muted { font-size: 1.1rem; font-weight: 500; color: var(--muted); padding: 6px 0; }
.delta { font-size: .85rem; color: var(--muted); }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }

/* Layout blocks */
main > section { margin-top: 32px; }
main > section.hero { margin-top: 0; }
.page-head { padding-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-accent { background: var(--flame-soft); border-color: transparent; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.big { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: .2em 0 .25em; font-variant-numeric: tabular-nums; }
.big small { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.breakdown td:last-child { text-align: right; white-space: nowrap; }
.breakdown .total td { font-weight: 700; border-bottom: 0; padding-top: 12px; }
.data th, .data td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.data th:first-child, .data td:first-child { text-align: left; }
.data th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.table-toggle summary { cursor: pointer; color: var(--brand-2); font-weight: 600; margin-top: 8px; }
.table-toggle[open] summary { margin-bottom: 8px; }

/* Chart */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--flame); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--flame); opacity: .1; }
.chart .dot { fill: var(--flame); stroke: var(--surface); stroke-width: 2; }
.chart .hit { fill: transparent; }
.chart .hit:hover { fill: var(--flame); fill-opacity: .18; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; white-space: nowrap; }
.btn-primary { background: var(--flame); color: #1d1206; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border: 1px solid currentColor; color: var(--brand-2); background: transparent; }

/* Affiliate */
.aff { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--flame); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.aff h3 { margin-bottom: .2em; }
.aff p { margin: 0; color: var(--muted); }
.aff .aff-note, .aff .aff-disclosure { grid-column: 1 / -1; font-size: .78rem; }
.aff-empty { border-style: dashed; border-left-style: solid; }
.aff-note { color: var(--up) !important; }
@media (max-width: 600px) { .aff { grid-template-columns: 1fr; } .aff .btn { justify-content: center; } }
.grid-2 .aff { grid-template-columns: 1fr; height: 100%; }
.grid-2 .aff .btn { justify-self: start; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }
.tool { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--flame); transform: translateY(-1px); }
.tool p { color: var(--muted); margin: 0; font-size: .95rem; }
.tool h3::after { content: " →"; color: var(--flame); }

/* FAQ / prose */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: .6em 0 0; color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Calculators */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-form { display: flex; flex-direction: column; gap: 18px; }
.calc-form fieldset { border: 0; padding: 0; margin: 0; }
.calc-form legend, .calc-form > label, .advanced label { font-weight: 600; font-size: .95rem; }
.calc-form label { display: flex; flex-direction: column; gap: 6px; }
.calc-form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.hint { font-weight: 400; font-size: .82rem; color: var(--muted); }
input[type="number"] { font: inherit; font-size: 1.05rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; font-variant-numeric: tabular-nums; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
.input-unit { display: flex; align-items: stretch; }
.input-unit > span { display: flex; align-items: center; padding: 0 12px; background: var(--line); color: var(--muted); font-weight: 500; }
.input-unit > span:first-child { border-radius: 10px 0 0 10px; }
.input-unit > span:last-child { border-radius: 0 10px 10px 0; }
.input-unit > input:first-child { border-radius: 10px 0 0 10px; }
.input-unit > input:last-child { border-radius: 0 10px 10px 0; }
.input-unit > input:not(:first-child):not(:last-child) { border-radius: 0; }
.chips, .segmented { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips button { font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.chips button.active, .chips button:hover { border-color: var(--flame); background: var(--flame-soft); }
.segmented label { flex: 1; flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; }
.segmented label:has(input:checked) { border-color: var(--flame); background: var(--flame-soft); font-weight: 600; }
.advanced { border-top: 1px solid var(--line); padding-top: 14px; }
.advanced summary { cursor: pointer; color: var(--brand-2); font-weight: 600; }
.advanced[open] { display: flex; flex-direction: column; gap: 14px; }
.advanced [hidden] { display: none; }
.calc-result { position: sticky; top: 84px; }
.result-label { font-weight: 600; color: var(--muted); margin: 0; }
.result-sub { margin-bottom: 18px; }
.compare { margin: 16px 0 12px; }
.compare div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compare dt { color: var(--muted); }
.compare dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 150px; margin: 8px 0 12px; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.bar::before { content: ""; order: 1; width: 100%; height: calc(var(--hf) * 108px); min-height: 2px; flex-shrink: 0; background: var(--flame); border-radius: 4px 4px 0 0; transition: height .25s ease; }
.bar-val { font-size: .62rem; color: var(--muted); order: 0; font-variant-numeric: tabular-nums; }
.bar-lbl { font-size: .68rem; color: var(--muted); order: 2; }
@media (prefers-reduced-motion: reduce) { .bar::before, .tool { transition: none; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-nr { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }.step .aff { margin-top: 12px; }

/* Leveranciers */
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.list-tools .chips { margin-top: 0; }
.search input { font: inherit; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); width: 220px; max-width: 100%; }
@media (max-width: 600px) { .search, .search input { width: 100%; } }
.supplier-list { list-style: none; padding: 0; margin: 0 0 16px; }
.supplier { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.supplier[hidden] { display: none; }
.supplier-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.supplier-avatar { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--flame-soft); color: #b7651a; display: grid; place-items: center; font-weight: 700; text-transform: uppercase; }
.supplier-name { font-size: 1rem; margin: 0; }
.supplier-info { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.supplier-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag-brand { background: #e5efee; border-color: transparent; color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
@media (max-width: 600px) {
  .supplier { grid-template-columns: 1fr; gap: 8px; }
  .supplier-tags { justify-content: flex-start; padding-left: 54px; }
  .supplier-tags:empty { display: none; }
  .supplier .btn-sm { justify-content: center; }
}
.empty-state { color: var(--muted); padding: 16px 0; }

.ad { width: min(1080px, 100% - 32px); margin: 32px auto 0; }

/* Footer */
.site-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: .9rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 16px; } }
.footer-grid strong { color: var(--ink); }
.logo-small { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: .8rem; }
