*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #14213d;
  --navy-soft: #1d2f55;
  --amber: #f5a524;
  --amber-light: #ffbf4d;
  --cream: #fdf6e3;
  --ink: #1f2937;
  --muted: #5b6475;
  --card: #ffffff;
  --line: #e8e0c8;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: #b87500; }

.site-header { background: var(--navy); color: var(--cream); }
.site-header .bar {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: 0.03em; }
.brand:hover { color: var(--cream); }
.brand img { width: 40px; height: 40px; }
.brand b { font-weight: 800; }
.brand em { font-style: normal; color: var(--amber); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { color: #d9d4c3; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }

.hero {
  color: var(--cream); text-align: center; padding: 72px 24px 80px;
  background:
    radial-gradient(circle at 20% 15%, rgba(245, 165, 36, 0.20), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 165, 36, 0.10), transparent 40%),
    var(--navy);
}
.hero img.logo { width: 120px; height: 120px; margin-bottom: 12px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.15; }
.hero h1 span { color: var(--amber); }
.hero p { max-width: 40rem; margin: 0 auto 28px; font-size: 1.15rem; color: #d9d4c3; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; background: var(--amber); color: var(--navy); margin: 4px;
}
.btn:hover { background: var(--amber-light); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--amber); }
.btn.ghost:hover { background: rgba(245, 165, 36, 0.15); color: #fff; }

main { max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; }
main.narrow { max-width: 780px; }
h1 { line-height: 1.2; }
h2 { margin-top: 2.2rem; line-height: 1.25; }
h2.first { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 24px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { margin-top: 0; }
.card .icon { width: 44px; height: 44px; margin-bottom: 10px; }
.card a.more { font-weight: 700; }

.note { background: #fff8e1; border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 6px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 14px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.band { background: var(--navy); color: var(--cream); border-radius: 18px; padding: 32px; margin: 40px 0 0; }
.band h2 { margin-top: 0; color: var(--amber); }
.band a { color: var(--amber); }
.legal h2 { font-size: 1.2rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.todo { background: #ffe9b0; padding: 0 4px; border-radius: 3px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; }

.site-footer { background: var(--navy); color: #aeb4c4; font-size: 0.9rem; }
.site-footer .bar { max-width: 1080px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer a { color: #d9d4c3; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 560px) {
  .hero { padding: 48px 20px 56px; }
  main { padding: 32px 20px 48px; }
  dl.facts { grid-template-columns: 1fr; }
}

/* Offertesysteem */
[hidden] { display: none !important; }
main.wide { max-width: 1180px; }
.btn.ghost-dark { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.ghost-dark:hover { background: rgba(20, 33, 61, 0.08); color: var(--navy); }
button.btn { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
button.btn.ghost-dark { border: 1px solid var(--navy); }
button.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form .field { margin: 0 0 16px; }
.form label, .form .label { display: block; font-weight: 700; margin-bottom: 4px; }
.form label.inline { display: inline-block; font-weight: 400; margin-right: 16px; }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea, .form input[type="file"] {
  width: 100%; padding: 10px 12px; border: 1px solid #cfc6a8; border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.form small { color: var(--muted); display: block; margin-top: 4px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fde8e8; border-left: 4px solid #b91c1c; padding: 10px 14px; border-radius: 6px; color: #7f1d1d; }
.note.bad { background: #fde8e8; border-left-color: #b91c1c; }
.table-wrap { overflow-x: auto; }
table.quote, table.list, table.lines { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
table.quote th, table.list th, table.lines th { background: var(--navy); color: #fff; text-align: left; padding: 8px 10px; font-size: 0.85rem; }
table.quote td, table.list td, table.lines td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; }
.filterbalk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.filterbalk input[type=search] { flex: 1 1 260px; min-width: 200px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.filterbalk select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; }
.filter-teller { margin: 0; color: #555; font-size: 0.9rem; }
.let-op { color: #b45309; font-weight: bold; }
table.list tr.klik { cursor: pointer; }
table.list tr.klik:hover td { background: #fff8e1; }
table.lines input.k { width: 90px; }
table.lines td:first-child { min-width: 240px; }
table.totals { margin: 12px 0 12px auto; border-collapse: collapse; min-width: 280px; }
table.totals td { padding: 3px 0 3px 24px; }
table.totals tr.strong td { font-weight: 800; border-top: 2px solid var(--navy); font-size: 1.1rem; }
.pre { white-space: pre-wrap; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.badge { font-size: 0.75rem; background: var(--amber); color: var(--navy); border-radius: 999px; padding: 2px 10px; font-weight: 700; letter-spacing: 0; }
button.mini { font: inherit; font-size: 0.9rem; padding: 4px 12px; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 6px; cursor: pointer; }
button.mini:hover { background: #fff8e1; }
.totals-box { text-align: right; margin: 12px 0 24px; }
.acties { margin-top: 24px; }

.muted { color: var(--muted); font-size: 0.9rem; }
.card + .card { margin-top: 12px; }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.btn.ghost-dark { border: 1px solid var(--navy); }
