:root {
  --navy-950: #060f1d;
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #16304f;
  --line: #22426b;
  --blue: #1f6fe0;
  --blue-hi: #3d8bff;
  --yellow: #ffe100;
  --red: #ff3b3b;
  --green: #2ecc71;
  --text: #e8eef7;
  --muted: #9fb3cc;
  --paper: #f5f7fb;
  --ink: #0a1628;
  --radius: 10px;
  --wrap: 1160px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--blue-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 750; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* kopbalk */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 15, 29, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.brand b { color: var(--yellow); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav a.active, .nav a:hover { color: var(--yellow); text-decoration: none; }
.langs { display: flex; gap: 4px; }
.langs a { font-size: 13px; color: var(--muted); padding: 3px 7px; border: 1px solid transparent; border-radius: 6px; }
.langs a.on { color: var(--text); border-color: var(--line); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 6px 10px; font-size: 15px; }

/* knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 650; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hi); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--blue-hi); }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-danger { background: transparent; border-color: #6b2730; color: #ff8b8b; }

/* hero */
.hero { padding: 72px 0 56px; background:
  radial-gradient(1000px 420px at 85% -10%, rgba(31, 111, 224, .35), transparent 60%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-bottom: 1px solid var(--line); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { display: inline-block; color: var(--yellow); font-weight: 650; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 14px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.bar { height: 4px; width: 64px; background: var(--yellow); border-radius: 2px; margin: 0 0 18px; }

/* secties */
section { padding: 64px 0; }
section.alt { background: var(--navy-950); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; }
.card h3 { margin-top: 6px; }
.card .foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .thumb { border-radius: 8px; border: 1px solid var(--line); margin: -6px -6px 16px; aspect-ratio: 16/9;
  object-fit: cover; object-position: top left; width: calc(100% + 12px); max-width: none; }
.card .ph { aspect-ratio: 16/9; border-radius: 8px; margin: -6px -6px 16px; border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 650; letter-spacing: .05em;
  background: repeating-linear-gradient(45deg, var(--navy-800), var(--navy-800) 10px, var(--navy-700) 10px, var(--navy-700) 20px); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px;
  letter-spacing: .04em; text-transform: uppercase; }
.badge.ok { background: rgba(46, 204, 113, .15); color: var(--green); }
.badge.soon { background: rgba(255, 225, 0, .12); color: var(--yellow); }
.badge.warn { background: rgba(255, 59, 59, .15); color: #ff8b8b; }
.price { font-size: 22px; font-weight: 750; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(31, 111, 224, .18); color: var(--blue-hi);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }

/* productpagina */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.feature { border-left: 3px solid var(--blue); padding: 4px 0 4px 16px; }
.feature b { display: block; margin-bottom: 2px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top left; cursor: zoom-in; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.buybox { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.buybox .btn { width: 100%; margin-top: 10px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 26px; position: relative; margin: 6px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.two { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

/* formulieren */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .row3 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--navy-950);
  color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
textarea { min-height: 80px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; color: var(--text); font-size: 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -5000px; }
.alert { border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid; }
.alert.err { background: rgba(255, 59, 59, .1); border-color: #6b2730; color: #ffb3b3; }
.alert.warn { background: rgba(255, 225, 0, .08); border-color: #6b5f12; color: #ffe98a; }
.alert.ok { background: rgba(46, 204, 113, .1); border-color: #1d6b3f; color: #9ff0c0; }
.sum { width: 100%; border-collapse: collapse; }
.sum td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum td:last-child { text-align: right; white-space: nowrap; }
.sum tr.total td { font-weight: 800; font-size: 19px; border-bottom: 0; padding-top: 14px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.key { font-family: Consolas, "SFMono-Regular", monospace; font-size: 18px; background: var(--navy-950);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; display: inline-block; letter-spacing: .04em; color: var(--yellow); }

/* tekstpagina's */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { font-size: 17px; margin-top: 1.3em; }
.prose li { margin: 4px 0; }
.draft { border: 1px dashed #6b5f12; color: #ffe98a; background: rgba(255, 225, 0, .06); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 24px; }

/* voet */
footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 4px 0; }
footer .bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* beheer */
.admin { padding: 28px 0 60px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 8px 6px; }
.admin td { border-bottom: 1px solid rgba(34, 66, 107, .5); padding: 8px 6px; vertical-align: top; }
.admin tr:hover td { background: rgba(31, 111, 224, .06); }
.admin .tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.admin .tabs a { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.admin .tabs a.on { background: var(--blue); border-color: var(--blue); }
.admin .panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.admin .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin .actions form { display: inline; }
.st-awaiting_payment { color: var(--yellow); }
.st-paid { color: var(--green); }
.st-cancelled, .st-refunded { color: #ff8b8b; }
.num { text-align: right; white-space: nowrap; }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(0, 0, 0, .88); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-height: 92vh; border-radius: 8px; }

@media (max-width: 900px) {
  .hero .grid, .two { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--navy-950); border-bottom: 1px solid var(--line); padding: 14px 20px; gap: 12px; }
  .nav.open { display: flex; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .why { grid-template-columns: 1fr; }
  form .row, form .row3 { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
  section { padding: 44px 0; }
  .admin table { display: block; overflow-x: auto; }
}

/* factuur (print) */
.invoice { background: #fff; color: #111; max-width: 820px; margin: 24px auto; padding: 48px; border-radius: 6px; font-size: 14px; }
.invoice h1 { font-size: 28px; color: var(--ink); }
.invoice table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.invoice th, .invoice td { padding: 8px 6px; border-bottom: 1px solid #dde3ec; text-align: left; }
.invoice .r { text-align: right; }
.invoice .head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.invoice .muted { color: #5b6b80; }
.noprint { text-align: center; margin: 16px; }
@media print {
  body { background: #fff; }
  .noprint, .top, footer { display: none !important; }
  .invoice { margin: 0; padding: 0; box-shadow: none; max-width: none; }
}
