:root {
  --ink: #0a1624;
  --night: #0e2238;
  --night-2: #16304d;
  --ice: #eaf4fb;
  --snow: #ffffff;
  --accent: #ff6a2b;
  --accent-2: #ffb02e;
  --sky: #6cc3ff;
  --muted: #5d7186;
  --radius: 20px;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .4s ease, background .3s ease, box-shadow .3s ease;
  color: #fff;
}
.site-header.scrolled { background: rgba(10, 22, 36, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header.hide { transform: translateY(-100%); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--head); font-size: 1.35rem; font-weight: 500; }
.brand b { font-weight: 800; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; color: var(--accent-2); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s; }
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; font: 600 1rem var(--body);
  padding: .95rem 1.7rem; border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(255, 106, 43, .7);
  transition: background .2s, box-shadow .2s;
}
.btn:hover { background: #ff7e47; }
.btn-small { padding: .55rem 1.2rem; font-size: .9rem; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% 10%, #1e4670 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--ink) 100%);
  padding: 130px 0 0;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-bottom: 4rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .8rem; color: var(--accent-2); margin-bottom: 1.1rem; }
.eyebrow.dark { color: var(--accent); }
.hl { color: var(--accent-2); }
.lead { font-size: 1.15rem; max-width: 36rem; color: #cfe0ee; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.tag { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.tag-a { right: 2%; top: 14%; }
.tag-b { right: 8%; bottom: 8%; }
/* Woordreveal: de spans komen uit JS */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

.marquee { position: relative; overflow: hidden; border-block: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.marquee-track { display: flex; width: max-content; gap: 3rem; padding: 1rem 0; animation: scroll 32s linear infinite; font-family: var(--head); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.35); }
.marquee-track span::after { content: "\2744"; margin-left: 3rem; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Secties */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-dark { background: var(--night); color: #fff; }
.section-dark .muted { color: #a9bfd3; }
.section-ice { background: var(--ice); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card { background: var(--ice); border-radius: var(--radius); padding: 1.8rem; }
.card p { color: var(--muted); margin: 0; }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--night); color: var(--accent-2); font-size: 1.4rem; margin-bottom: 1.2rem; }
.spot { position: relative; overflow: hidden; --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,106,43,.18), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* Specs */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.check { list-style: none; padding: 0; margin: 1.5rem 0; }
.check li { padding-left: 2rem; position: relative; margin-bottom: .6rem; }
.check li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.note { background: rgba(255,255,255,.07); border-left: 3px solid var(--accent); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; font-size: .95rem; color: #d4e3f0; }
.spec-list { margin: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.spec-list dt { color: #a9bfd3; }
.spec-list dd { margin: 0; font-family: var(--head); font-size: 1.25rem; font-weight: 700; text-align: right; }

/* Tarieven */
.tariff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.tariff { background: #fff; border: 2px solid var(--ice); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.tariff:hover { border-color: var(--accent); }
.tariff h3 { font-size: 1.7rem; margin-bottom: .1em; }
.tariff .sub { color: var(--muted); margin-bottom: 1.4rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0; border-top: 1px solid var(--ice); }
.price-row span { color: var(--muted); font-size: .95rem; }
.price-row strong { font-family: var(--head); font-size: 2rem; }
.price-row.peak strong { color: var(--accent); }
.tariff .btn { margin-top: auto; text-align: center; }
.tariff .btn { margin-top: 1.4rem; }
.periods { margin-top: 3rem; background: var(--ice); border-radius: var(--radius); padding: 2rem; }
.periods ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.periods li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .7rem 1rem; background: #fff; border-radius: 12px; }
.periods li b { color: var(--accent); }

/* Stappen */
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; display: grid; gap: 2.2rem; max-width: 46rem; }
.steps li { display: flex; gap: 1.5rem; align-items: flex-start; position: relative; z-index: 1; }
.steps li > b { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: #fff; font: 800 1.4rem var(--head); }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(14,34,56,.15); }
.steps-line-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; }

/* Boeken */
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.book-intro { position: sticky; top: 100px; }
.quote { margin-top: 2rem; padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--night-2), #10263f); border: 1px solid rgba(255,255,255,.12); }
.quote p { margin: 0; }
.quote-label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--accent-2); }
.quote-price { font-family: var(--head); font-size: 3.6rem; font-weight: 800; line-height: 1.1; }
.quote-meta { color: #a9bfd3; margin-top: .4rem !important; }
.badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .8rem; font-weight: 600; color: #fff; }
.badge.peak { background: var(--accent); }
.badge.low { background: #1f8a5b; }

.form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem); }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
legend { font-weight: 600; margin-bottom: .7rem; padding: 0; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: block; text-align: center; padding: .9rem .5rem; border: 2px solid var(--ice); border-radius: 14px; transition: border-color .2s, background .2s; }
.pick small { display: block; color: var(--muted); font-size: .78rem; }
.pick input:checked + span { border-color: var(--accent); background: #fff4ee; }
.pick input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 1rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: .35rem; font: 400 1rem var(--body); color: var(--ink);
  padding: .8rem .9rem; border: 2px solid #d6e3ee; border-radius: 12px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input[readonly] { background: var(--ice); border-color: var(--ice); }
.field small { display: block; margin-top: .3rem; color: var(--muted); font-weight: 400; min-height: 1.2em; }
.field .invalid, .field input:user-invalid, .field select:user-invalid { border-color: #d3341b; }
.hp { position: absolute; left: -9999px; }
.agree { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; margin: .5rem 0 1.4rem; color: var(--muted); }
.agree input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-msg { margin: 1rem 0 0; font-weight: 500; }
.form-msg.ok { color: #1f8a5b; }
.form-msg.err { color: #d3341b; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid #d6e3ee; padding: 1.2rem 0; }
.faq summary { cursor: pointer; font: 700 1.15rem var(--head); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details.closing summary::after { transform: none; }
.faq a { color: var(--accent); font-weight: 600; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

.site-footer { background: var(--ink); color: #a9bfd3; padding: 3rem 0; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer strong { color: #fff; }

/* Bezorgen */
.delivery { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.8rem 2rem; border-radius: var(--radius); background: var(--night); color: #fff; }
.delivery h3 { margin-bottom: .3em; }
.delivery p { margin: 0; color: #c2d4e4; max-width: 38rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.note-light { background: #fff; border-left: 3px solid var(--accent); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--muted); }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic span { display: flex; align-items: center; height: 100%; padding: .9rem 1rem; border: 2px solid var(--ice); border-radius: 14px; font-weight: 500; font-size: .95rem; transition: border-color .2s, background .2s; }
.topic input:checked + span { border-color: var(--accent); background: #fff4ee; }
.topic input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .specs-grid, .book-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .book-intro { position: static; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,22,36,.97); padding: 1rem 1.5rem 1.5rem; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; }
  .nav .btn { text-align: center; margin-top: .6rem; }
}
@media (max-width: 560px) {
  .row, .picks, .topics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
