:root {
  --navy: #02202d;
  --navy-2: #0a3446;
  --gold: #e1be64;
  --gold-dark: #a8873a;
  --ink: #0e2430;
  --muted: #566a74;
  --line: #dce4e7;
  --bg: #ffffff;
  --bg-alt: #f3f6f7;
  --ok: #0a7a3d;
  --error: #c0392b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 32, 45, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 32px); }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(225, 190, 100, .35); }
.btn-gold:hover { background: #ebcd80; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--line); background: #fff; color: var(--ink); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(2, 32, 45, .96); backdrop-filter: blur(8px); color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 46px; width: auto; }
.footer .logo img { height: 52px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { text-decoration: none; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; }
.nav-wa { display: inline-flex; align-items: center; gap: 6px; }
.wa-icon { flex: none; }

/* Hero */
.hero {
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(225,190,100,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 72px 0 88px;
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 1.15rem; opacity: .9; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.usps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.usps li { display: flex; align-items: center; gap: 10px; }
.usp-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 15% 50%;
  border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* Recensies */
.reviews { background: var(--bg-alt); padding: 56px 0; }
.reviews h2 { margin-bottom: 24px; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.55; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: .95rem;
}
.review-example { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--error); border: 1px dashed var(--error); border-radius: 999px; padding: 2px 8px; }

/* Secties */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); margin: -4px 0 32px; font-size: 1.05rem; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.pill { display: inline-block; padding: .25em .85em; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; }
.pill-outline { background: var(--gold); color: var(--navy); }
.package h3 { font-size: 1.2rem; margin: 6px 0 0; }
.package p { margin: 0; color: var(--muted); }
.package .package-price { margin-top: auto; padding-top: 12px; font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.package .btn { margin-top: 8px; }
/* Pakketkaarten delen ook hun rijen, zodat titels, teksten, prijzen en knoppen gelijk staan. */
.package { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 8px; justify-items: start; }
.package .package-price { align-self: end; }
.guarantee { display: grid; gap: 2px; margin: 0; font-size: .8rem; font-weight: 700; color: var(--ok); }
.guarantee > span::before { content: '✓ '; }
.guarantee > span.shield::before {
  content: ''; display: inline-block; width: .95em; height: .95em; margin-right: .3em; vertical-align: -.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4-6.3 6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4-6.3 6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.package .guarantee { color: var(--ok); margin-top: -4px; }
.option .guarantee { margin-top: 4px; font-size: .74rem; }
.price { font-weight: 800; white-space: nowrap; color: var(--navy); }
.vat { font-size: .78rem; font-weight: 500; color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.package .package-price .vat { font-size: .85rem; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Boekingsformulier */
.booking { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 28px; counter-reset: step; }
.progress li {
  font-size: .82rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line);
}
.progress li.active, .progress li.done { color: var(--navy); border-color: var(--gold); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
legend { font-size: 1.35rem; font-weight: 800; margin-bottom: 18px; padding: 0; }

.area-result { font-weight: 600; font-size: .85rem; }
.area-result:empty { display: none; }
.area-result.ok { color: var(--ok); }
.area-result.ok::before { content: '✓ '; }
.area-result.no { color: var(--error); }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.option {
  position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; transition: border-color .15s, background .15s;
}
.option:hover { border-color: #b5c2c8; }
/* Elke optie deelt de rijen van het raster: label, titel, omschrijving, prijs en garantie staan in alle kaarten op dezelfde hoogte. */
.option { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.option .guarantee { align-self: end; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--gold); background: #fbf5e3; }
.option:has(input:focus-visible) { outline: 3px solid rgba(225,190,100,.5); outline-offset: 2px; }
.option strong { display: block; }
.option .option-cat { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; }
.option small { color: var(--muted); display: block; margin: 2px 0 8px; }
.option .price { font-size: .95rem; }

.day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; scroll-snap-type: x mandatory; }
.day {
  flex: 0 0 76px; scroll-snap-align: start; text-align: center; border: 2px solid var(--line); border-radius: 12px;
  padding: 10px 4px; cursor: pointer; background: #fff; font: inherit; color: var(--ink);
}
.day .dow { display: block; font-size: .75rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.day .num { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.day .mon { display: block; font-size: .78rem; color: var(--muted); }
.day[aria-checked="true"] { border-color: var(--gold); background: #fbf5e3; }
.day:disabled { opacity: .4; cursor: not-allowed; background: var(--bg-alt); }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot {
  display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; background: #fff; font: inherit; font-weight: 700; color: var(--ink); text-align: left;
  white-space: nowrap;
}
.slot .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #b5c2c8; flex: none; display: grid; place-items: center; }
.slot[aria-checked="true"] { border-color: var(--gold); background: #fbf5e3; }
.slot[aria-checked="true"] .box { background: var(--gold); border-color: var(--gold); }
.slot[aria-checked="true"] .box::after { content: '✓'; font-size: 13px; color: var(--navy); font-weight: 800; }
.slot:disabled { opacity: .45; cursor: not-allowed; background: var(--bg-alt); text-decoration: line-through; }
.hint { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.span-2 { grid-column: span 2; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-weight: 400; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 10px; width: 100%;
  background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2,32,45,.12); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; }
.address-field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.address-field label { font-weight: 600; font-size: .92rem; }
.address-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 5; margin: 4px 0 0; padding: 4px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 280px; overflow-y: auto;
}
.address-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.address-list li small { color: var(--muted); white-space: nowrap; }
.address-list li[aria-selected="true"], .address-list li:hover { background: var(--bg-alt); }
.photos { display: grid; gap: 6px; }
.photos-label { font-weight: 600; font-size: .92rem; }
.photos-hint { margin: 0 0 4px; color: var(--muted); font-size: .88rem; }
.photo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.photo { position: relative; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(2, 32, 45, .8); color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}
.photo-add {
  display: grid; place-items: center; align-content: center; gap: 2px; width: 88px; height: 88px; border: 2px dashed var(--line); border-radius: 10px;
  color: var(--muted); background: none; font: inherit; font-size: .78rem; font-weight: 600; text-align: center; cursor: pointer; line-height: 1.2;
}
.photo-add span { font-size: 1.6rem; font-weight: 400; color: var(--navy); }
.photo-add:hover { border-color: var(--gold); }
.photo-add[hidden] { display: none; }
.photo-add.busy { opacity: .5; pointer-events: none; }

.summary { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 20px; padding: 18px 20px; background: var(--bg-alt); border-radius: var(--radius); }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 600; }
.summary .sum-total { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.pay-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }

.field-error, .form-error, .field-errors p { color: var(--error); font-weight: 600; font-size: .9rem; margin: 8px 0 0; }
.field-error:empty, .form-error:empty { display: none; }

.booking-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.booking-nav .total { margin-left: auto; font-weight: 800; color: var(--navy); }
#prev-btn[hidden] + .total { margin-left: 0; margin-right: auto; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 40px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer .muted { opacity: .6; }
.footer-title { font-size: 1.05rem; color: #fff; margin: 0 0 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact svg { color: var(--gold); flex: none; }

/* Losse pagina's (bedankt, demo, voorwaarden) */
.page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--bg-alt); }
.card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 36px; width: min(520px, 100%); text-align: center; }
.card .icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 30px; font-weight: 800; }
.icon.ok { background: #e9f7ef; color: var(--ok); }
.icon.wait { background: #faf1d8; color: var(--gold-dark); }
.icon.fail { background: #fdecea; color: var(--error); }
.card .summary { text-align: left; }
/* Afspraak verzetten: breder, met de dag- en tijdkeuze links uitgelijnd */
.card-wide { width: min(640px, 100%); }
.chooser { text-align: left; margin: 0 0 20px; }
.chooser h2 { font-size: 1.1rem; margin: 0 0 12px; }
@media (max-width: 560px) { .card-wide { padding: 24px 18px; } .card-wide .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.map { margin: 16px 0 0; text-align: left; }
.map iframe { display: block; width: 100%; height: 220px; border: 0; border-radius: 12px; background: var(--bg-alt); }
.map a { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.prose { background: #fff; max-width: 760px; margin: 40px auto; padding: 36px; border-radius: 20px; box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-inner, .packages, .option-grid, .review-list { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 10; object-position: 30% 40%; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .option-grid, .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot { padding: 12px 10px; gap: 8px; font-size: .92rem; }
  .booking { padding: 20px 16px; }
  .progress li { font-size: 0; }
  .progress li::before { content: attr(data-step-label); font-size: .85rem; }
  .logo img { height: 38px; }
  .booking-nav { flex-wrap: wrap; }
  .booking-nav .total { width: 100%; order: -1; margin: 0; }
}
