@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #F6F4EF;
  --surface: #FFFFFF;
  --vlak: #EEEBE3;
  --ink: #0D1321;
  --ink-2: #3D4556;
  --ink-3: #6B7282;
  --lijn: #E2DED4;
  --accent: #2F5BEA;
  --accent-ink: #FFFFFF;
  --accent-zacht: #E4EAFD;
  --coral: #F27C62;
  --coral-zacht: #FDE7E1;
  --groen: #1F9D6B;
  --donker: #0D1321;
  --donker-2: #151D30;
  --donker-tekst: #E7EAF2;
  --donker-tekst-2: #A3AABB;
  --schaduw: 0 1px 2px rgba(13, 19, 33, .06), 0 12px 32px -12px rgba(13, 19, 33, .18);
  --radius: 18px;
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B101C; --surface: #121A2B; --vlak: #0F1624; --ink: #E9ECF3; --ink-2: #B7BDCB; --ink-3: #8A92A5;
    --lijn: #222C41; --accent: #6E8DFF; --accent-ink: #0B101C; --accent-zacht: #1A2547; --coral: #FF917A; --coral-zacht: #3A2220;
    --groen: #3CCB8F; --donker: #060A13; --donker-2: #0E1524;
    --schaduw: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B101C; --surface: #121A2B; --vlak: #0F1624; --ink: #E9ECF3; --ink-2: #B7BDCB; --ink-3: #8A92A5;
  --lijn: #222C41; --accent: #6E8DFF; --accent-ink: #0B101C; --accent-zacht: #1A2547; --coral: #FF917A; --coral-zacht: #3A2220;
  --groen: #3CCB8F; --donker: #060A13; --donker-2: #0E1524;
  --schaduw: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -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; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 18ch; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.accent { color: var(--accent); }
.ico { width: 20px; height: 20px; flex: none; }
.ico.mini { width: 14px; height: 14px; }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.knop:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.knop:disabled { opacity: .6; cursor: progress; transform: none; }
.knop-rustig { background: transparent; color: var(--ink); border-color: var(--lijn); box-shadow: none; }
.knop-rustig:hover { border-color: var(--ink-3); box-shadow: none; }
.knop-klein { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.knop-breed { width: 100%; }

/* Kop */
.kop { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kop.gescrold { border-bottom-color: var(--lijn); }
.kop-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--ink); }
.logo-woord { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.04em; }
.logo-woord b { color: var(--accent); font-weight: 700; }
.links { display: flex; gap: 26px; margin-left: 16px; }
.links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1160px) { .links { gap: 20px; margin-left: 4px; } .kop .links a.nav-demo { display: none; } }
.links a:hover { color: var(--ink); }
.links .menu-cta { display: none; }
.kop-acties { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.taal, .thema { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--lijn); background: transparent; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.taal:hover, .thema:hover { border-color: var(--ink-3); }
.thema .maan { display: none; }
:root[data-theme="dark"] .thema .zon { display: none; }
:root[data-theme="dark"] .thema .maan { display: block; }
.menu-knop { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--lijn); background: transparent; cursor: pointer; position: relative; }
.menu-knop span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-knop span:nth-child(1) { top: 15px; }
.menu-knop span:nth-child(2) { top: 22px; }
.menu-knop[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-knop[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-knop { display: inline-block; }
  .kop-cta { display: none; }
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 20px; background: var(--paper); border-bottom: 1px solid var(--lijn); box-shadow: var(--schaduw); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
  .links.open { transform: none; opacity: 1; visibility: visible; }
  .links a { padding: 14px 4px; border-bottom: 1px solid var(--lijn); font-size: 1.05rem; }
  .links .menu-cta { display: inline-flex; margin-top: 16px; border: 0; color: var(--accent-ink); }
}

/* Hero */
.hero { padding: 48px 0 72px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto 0; height: 620px; pointer-events: none; background: radial-gradient(50% 60% at 78% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), radial-gradient(30% 40% at 10% 10%, color-mix(in srgb, var(--coral) 10%, transparent), transparent 70%); }
.hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 104px; } .hero-in { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.hero h1 { margin-bottom: .45em; }
.hero .eyebrow { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 500; padding: 6px 14px 6px 10px; border: 1px solid var(--lijn); border-radius: 999px; background: var(--surface); }
.puls { width: 8px; height: 8px; border-radius: 50%; background: var(--groen); box-shadow: 0 0 0 0 color-mix(in srgb, var(--groen) 60%, transparent); animation: puls 2.4s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.hero-klein { font-size: .88rem; color: var(--ink-3); margin: 0 0 24px; }
.hero-klein a { color: var(--ink-2); }
.links a.nav-demo { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.demo-regel { margin: 28px 0 0; }
.demo-regel a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.demo-regel a:hover { text-decoration: underline; }
.punten { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; }
.punten li { display: inline-flex; align-items: center; gap: 8px; }
.punten .ico { color: var(--groen); width: 18px; height: 18px; }
.punten-groot { flex-direction: column; gap: 12px; font-size: 1.02rem; margin-top: 24px; }

.hero-beeld { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.hero-beeld img { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--schaduw); }
.zweef { position: absolute; display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--lijn); box-shadow: var(--schaduw); font-size: .88rem; max-width: 280px; animation: zweef 6s ease-in-out infinite; }
.zweef strong { font-weight: 600; line-height: 1.3; }
.zweef-1 { left: -28px; bottom: 26%; }
.zweef-2 { right: -24px; bottom: -24px; animation-delay: -3s; }
.zweef-label { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.zweef-label.ok { color: var(--groen); }
.zweef-label.wacht { color: var(--coral); }
.zweef-meta { color: var(--ink-3); font-size: .8rem; }
.zweef-knop { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .8rem; }
@keyframes zweef { 50% { transform: translateY(-6px); } }
@media (max-width: 600px) {
  .zweef-1 { left: 10px; bottom: 30%; }
  .zweef-2 { right: 10px; bottom: -20px; }
  .zweef { max-width: 230px; }
}

/* Secties */
.sectie { padding: 88px 0; }
@media (min-width: 960px) { .sectie { padding: 120px 0; } }
.sectie-vlak { background: var(--vlak); }
.sectie-kop { display: grid; gap: 8px 64px; margin-bottom: 48px; }
@media (min-width: 960px) { .sectie-kop { grid-template-columns: 1fr 1fr; align-items: end; } .sectie-kop .lead { margin-bottom: .6em; } }
.grid-3 { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.kaart { background: var(--surface); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 28px; }
.kaart p { color: var(--ink-2); margin: 0; }
.nr { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--coral); margin-bottom: 18px; letter-spacing: .06em; }

/* Lagen */
.lagen-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .lagen-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.lagen-beeld img { border-radius: 24px; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--schaduw); }
.lagen { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.laag { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--lijn); }
.laag p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.laag h3 { margin-bottom: .35em; }
.laag-nr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-zacht); color: var(--accent); font-weight: 700; }
.laag-3 .laag-nr { background: var(--coral-zacht); color: var(--coral); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }

/* Features */
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--lijn); background: var(--surface); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--lijn)); transform: translateY(-2px); }
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.feat-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-zacht); color: var(--accent); margin-bottom: 20px; }

/* Integraties */
.stack { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stack-groep { background: var(--surface); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 22px; }
.stack-groep h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.stack-groep ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-groep li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--lijn); font-size: .9rem; font-weight: 500; }
.noot { margin-top: 24px; font-size: .88rem; color: var(--ink-3); max-width: 70ch; }

/* Split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.split-beeld img { border-radius: 24px; aspect-ratio: 3 / 2.2; object-fit: cover; box-shadow: var(--schaduw); }

/* Beveiliging (altijd donker) */
.sectie-donker { background: var(--donker); color: var(--donker-tekst); }
.sectie-donker .eyebrow { color: #8FA8FF; }
.sectie-donker .lead, .sectie-donker p { color: var(--donker-tekst-2); }
.sec-kop { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .sec-kop { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.sec-beeld img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.sec-items article { padding: 26px; border-radius: var(--radius); background: var(--donker-2); border: 1px solid rgba(255, 255, 255, .07); }
.sec-items h3 { color: #fff; }
.sec-items p { margin: 0; font-size: .96rem; }
.sec-ico { width: 28px; height: 28px; color: #8FA8FF; margin-bottom: 16px; }

/* Partner */
.partner { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .partner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.partner-beeld { position: relative; margin-top: 28px; }
.partner-beeld img { border-radius: 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.plekken { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 600; font-size: .85rem; }
.formulier { background: var(--surface); border: 1px solid var(--lijn); border-radius: 24px; padding: 28px; box-shadow: var(--schaduw); display: grid; gap: 16px; }
@media (min-width: 1000px) { .formulier { padding: 36px; position: sticky; top: 92px; } }
.rij { display: grid; gap: 16px; }
@media (min-width: 560px) { .rij { grid-template-columns: 1fr 1fr; } .rij-3 { grid-template-columns: 1fr 1fr 1fr; } }
.veld { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink-2); min-width: 0; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--lijn); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--coral); }
.vink { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.vink input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.veldfout { color: var(--coral); font-size: .82rem; font-weight: 500; min-height: 0; }
.veldfout:empty { display: none; }
.melding { margin: 0; font-weight: 500; }
.melding:empty { display: none; }
.melding.ok { color: var(--groen); }
.melding.fout { color: var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulier.verstuurd > :not(.melding) { display: none; }
.formulier.verstuurd .melding { font-size: 1.15rem; padding: 32px 0; }

.wachtlijst { margin-top: 56px; display: grid; gap: 20px 48px; padding: 32px; border-radius: 24px; background: var(--accent-zacht); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
@media (min-width: 900px) { .wachtlijst { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 40px 48px; } }
.wachtlijst h3 { font-size: 1.4rem; }
.wacht-tekst p { margin: 0; color: var(--ink-2); }
.wacht-velden { display: grid; gap: 12px; }
.wacht-rij { display: flex; gap: 10px; flex-wrap: wrap; }
.wacht-rij input { flex: 1 1 220px; background: var(--surface); }
.wacht-rij .knop { flex: 0 0 auto; }
@media (max-width: 480px) { .wacht-rij .knop { flex: 1 1 100%; } }
.wachtlijst.verstuurd .wacht-velden > :not(.melding) { display: none; }

/* FAQ */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq-lijst { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--lijn); border-radius: 16px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* Voet */
.voet { padding: 56px 0 40px; border-top: 1px solid var(--lijn); }
.voet-in { display: grid; gap: 24px; }
@media (min-width: 800px) { .voet-in { grid-template-columns: 1fr auto; align-items: start; } .voet-in .klein { grid-column: 1 / -1; } }
.voet p { color: var(--ink-3); margin: 10px 0 0; font-size: .95rem; }
.voet-links { display: flex; gap: 24px; }
.voet-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.voet-links a:hover { color: var(--ink); }
.klein { font-size: .85rem; color: var(--ink-3); }

/* Tekstpagina */
.tekstpagina { max-width: 760px; padding-top: 48px; padding-bottom: 96px; }
.tekstpagina h2 { font-size: 1.3rem; margin-top: 2em; max-width: none; }
.tekstpagina p { color: var(--ink-2); }
.terug { text-decoration: none; font-weight: 500; }

/* Onthullen bij scrollen */
.js .onthul { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .onthul.zichtbaar { opacity: 1; transform: none; }
