/* RektPump AI, ai.rektpump.com. Een stylesheet, tokens op :root, licht en donker via prefers-color-scheme. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #15191f;
  --muted: #525b68;
  --border: #d9dee6;
  --accent: #1a56b8;
  --accent-hover: #15458f;
  --on-accent: #ffffff;
  --ok: #1b7a3f;
  --warn: #9a5b00;
  --code-bg: #eef1f5;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  --focus: #b35c00;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 10px;
  --maxw: 1100px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1217;
    --surface: #171b22;
    --surface-2: #1f242d;
    --text: #e9ecf1;
    --muted: #a7afbb;
    --border: #2b323d;
    --accent: #8ab4ff;
    --accent-hover: #a9c7ff;
    --on-accent: #0b1220;
    --ok: #5ccb82;
    --warn: #f0b24a;
    --code-bg: #1f242d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --focus: #ffb347;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--surface); border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s4); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-top: var(--s6); }
h3 { font-size: 1.15rem; margin-top: var(--s5); }
p, ul, ol, table, pre, dl { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: var(--s1); }
code, pre, kbd { font-family: var(--mono); font-size: 0.9em; }
code { background: var(--code-bg); padding: 1px 5px; border-radius: 4px; }
code { overflow-wrap: anywhere; }
pre { background: var(--code-bg); padding: var(--s4); border-radius: var(--radius); overflow-x: auto; border: 1px solid var(--border); }
pre code { background: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s6) 0; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s5); } }

/* skip link */
.skip { position: absolute; left: var(--s4); top: -60px; background: var(--accent); color: var(--on-accent); padding: var(--s2) var(--s4); border-radius: 6px; z-index: 100; text-decoration: none; }
.skip:focus { top: var(--s2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
@supports not (color-mix(in srgb, red, blue)) { .site-header { background: var(--surface); } }
.site-header .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; text-decoration: none; color: var(--text); font-size: 1.05rem; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--s3) var(--s4) var(--s4); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s1); }
.site-nav a { display: block; padding: var(--s2) var(--s3); text-decoration: none; color: var(--text); border-radius: 6px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .nav-cta { margin-top: var(--s2); display: flex; gap: var(--s2); flex-wrap: wrap; }
@media (min-width: 1060px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; }
  .site-nav ul { flex-direction: row; align-items: center; gap: var(--s1); }
  .site-nav .nav-cta { margin-top: 0; margin-left: var(--s3); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: 10px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 0.98rem; line-height: 1.3; min-height: 44px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); }
.site-nav .btn { padding: 8px 14px; min-height: 40px; }

/* hero */
.hero { padding: var(--s7) 0 var(--s6); }
.hero .wrap { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s7); } .hero { padding: var(--s8) 0 var(--s7); } }
.hero h1 { margin-bottom: var(--s4); max-width: 18ch; }
.hero .actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }
.status { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.85rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; background: var(--surface); margin-bottom: var(--s4); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* rapportkaart */
.report-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: var(--s5); font-size: 0.92rem; }
.report-card .rc-head { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: var(--s3); margin-bottom: var(--s3); flex-wrap: wrap; }
.report-card .rc-head strong { font-size: 1rem; }
.report-card .rc-complaint { color: var(--muted); margin-bottom: var(--s3); }
.report-card .rc-meta { display: flex; gap: var(--s3); flex-wrap: wrap; font-size: 0.85rem; margin-bottom: var(--s3); }
.report-card ol { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); }
.report-card ol li { display: grid; grid-template-columns: 26px 1fr; gap: var(--s2); align-items: start; }
.report-card .num { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; }
.report-card .ev { display: block; color: var(--muted); font-family: var(--mono); font-size: 0.78rem; margin-top: 2px; }
.report-card .rc-step { background: var(--surface-2); border-radius: 8px; padding: var(--s3); margin-bottom: var(--s3); }
.report-card .rc-foot { font-size: 0.8rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); vertical-align: middle; white-space: nowrap; }
.tag-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, var(--border)); }
.tag-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, var(--border)); }

/* sections */
.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2:first-child { margin-top: 0; }
.section-intro { max-width: 64ch; color: var(--muted); margin-bottom: var(--s5); }
.page { padding-top: var(--s7); padding-bottom: var(--s8); }
.page-head { margin-bottom: var(--s6); }
.page-head .lead { margin-top: var(--s3); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose ul li, .prose ol li { margin-bottom: var(--s2); }

/* cards */
.cards { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--s2); }
.card h2, .card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: var(--s1); }
.card .icon svg { width: 22px; height: 22px; }
.card .more { margin-top: auto; padding-top: var(--s2); font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; align-items: center; justify-content: center; margin-bottom: var(--s3); }
.steps h2, .steps h3 { margin: 0 0 var(--s2); font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.steps .time { display: block; margin-top: var(--s2); font-size: 0.82rem; color: var(--muted); font-family: var(--mono); }
@media (min-width: 900px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--border); border-right: 2px solid var(--border); transform: translateY(-50%) rotate(45deg); }
}

/* key figures */
.figures { display: grid; gap: var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.figure { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s4); min-width: 0; }
.figure strong { display: block; font-size: clamp(1.15rem, 0.6rem + 2.4vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.figure span { color: var(--muted); font-size: 0.9rem; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: var(--s4); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
.table-wrap table { min-width: 640px; }
.table-wide table { min-width: 1200px; }
.table-wide th, .table-wide td { font-size: 0.85rem; padding: 8px 10px; }
.table-wide th[scope="row"] { position: sticky; left: 0; top: auto; z-index: 1; background: var(--surface); font-weight: 600; white-space: nowrap; box-shadow: inset -1px 0 0 var(--border); }
.table-wide thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: inset -1px 0 0 var(--border); }
.num-cell { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* filter */
.filter { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin-bottom: var(--s4); }
.filter label { font-weight: 600; }
.filter input[type="search"] { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); min-width: 260px; flex: 1 1 260px; max-width: 480px; }
.filter output { color: var(--muted); font-size: 0.92rem; }
.filter .btn { min-height: 42px; }
tr[hidden] { display: none; }
/* smalle schermen: elke rij van de brede tabel wordt een kaart met het kopje per cel */
@media (max-width: 719.98px) {
  .table-wide table { min-width: 0; }
  .table-wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wide tbody tr { display: block; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); }
  .table-wide tbody tr:last-child { border-bottom: 0; }
  .table-wide tr[hidden] { display: none; }
  .table-wide th[scope="row"] { display: block; position: static; white-space: normal; padding: 0 0 var(--s2); border: 0; font-size: 1rem; background: none; box-shadow: none; }
  .table-wide td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s2); padding: 3px 0; border: 0; }
  .table-wide td::before { content: attr(data-label); font-weight: 600; font-size: 0.8rem; color: var(--muted); padding-top: 1px; }
}

/* faq */
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: var(--s3); }
.faq summary { cursor: pointer; padding: var(--s4) var(--s5); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 var(--s5) var(--s4); color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* callouts */
.note { border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s4) var(--s5); margin: var(--s5) 0; }
.note p:last-child { margin-bottom: 0; }
.note-warn { border-left-color: var(--warn); }

/* dl */
.facts { display: grid; grid-template-columns: 1fr; gap: var(--s2) var(--s5); }
@media (min-width: 640px) { .facts { grid-template-columns: max-content 1fr; } }
.facts dt { font-weight: 600; }
.facts dd { margin: 0 0 var(--s2); color: var(--muted); }

/* cta band */
.cta-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--s7) 0; text-align: center; }
.cta-band h2 { margin-top: 0; }
.cta-band p { max-width: 60ch; margin: 0 auto var(--s5); color: var(--muted); }
.cta-band .actions { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: var(--s7) 0 var(--s6); font-size: 0.92rem; color: var(--muted); background: var(--surface); }
.site-footer .cols { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 var(--s3); color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 var(--s2); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .legal { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: 0.85rem; }
.site-footer .brand { margin-bottom: var(--s3); }

/* misc */
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--s3); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }
.two-col { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.cross-list { list-style: none; padding: 0; }
.cross-list li { padding-left: 28px; position: relative; }
.cross-list li::before { content: "\00d7"; position: absolute; left: 4px; top: 0; color: var(--warn); font-weight: 700; }
.error-page { text-align: center; padding-top: var(--s9); padding-bottom: var(--s9); }
.error-page h1 { font-size: clamp(2.5rem, 2rem + 4vw, 5rem); }
