/*
 * De buitenkant van Spotrise: de pagina's die je ziet vóórdat je inlogt.
 *
 * Een eigen bestand, en met opzet een eigen palet. De app is koel grijs omdat je er uren
 * naar kijkt; de site is warm papier omdat je er twee minuten bent. Wat ze delen is het
 * merk: hetzelfde rood (#EC3013), hetzelfde schrift (Archivo) en dezelfde strakke
 * letterafstand in de koppen.
 *
 * Hier staat geen thema-omschakeling. De site heeft één verschijning; wie inlogt komt in
 * de app en daar mag licht of donker gekozen worden.
 */

:root {
  --pap: #FBFAF8;
  --wit: #FFFFFF;
  --ink: #1A1918;
  --ink2: #45413D;
  --ink3: #5D5854;
  --ink4: #6B6660;
  --zacht: #7B756F;
  --grijs: #8B857F;
  --lijn: #E6E2DD;
  --lijn2: #DDD7D0;
  --lijn3: #ECE8E3;
  --merk: #EC3013;
  --merk-d: #CF2810;
  --merk-t: #C4250C;
  --merk-zacht: #FDEEEB;
  --nacht: #1A1918;
  --nacht2: #232120;
  --nacht-l: #302E2B;
  --nacht-tx: #F6F3F0;
  --nacht-t2: #A9A29B;
  --nacht-t3: #B8B1AB;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--pap); color: var(--ink);
  font-family: Archivo, ui-sans-serif, system-ui, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--merk); text-decoration: none; }
a:hover { color: var(--merk-t); }
input, select, button { font-family: inherit; min-width: 0; }
::selection { background: var(--merk); color: #fff; }
:focus-visible { outline: 2px solid var(--merk); outline-offset: 2px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.wrap { max-width: 1180px; margin: 0 auto; width: 100%; }
.kop { letter-spacing: -.035em; font-weight: 700; line-height: 1.04; }
.oog { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--merk); margin-bottom: 14px; }

/* ---------------------------------------------------------------- balk boven */
.balk { position: sticky; top: 0; z-index: 60; background: rgba(251,250,248,.86); backdrop-filter: blur(12px); border-bottom: 1px solid #E9E5E0; }
.balk-in { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.balk-logo { height: 34px; width: auto; display: block; }
.balk-nav { display: flex; gap: 26px; margin-left: 28px; flex: 1; font-size: 15px; font-weight: 500; letter-spacing: -.01em; flex-wrap: wrap; }
.balk-nav a { color: var(--ink2); }
.balk-nav a:hover { color: var(--ink); }
.balk-rechts { display: flex; align-items: center; gap: 10px; }
@media (max-width: 720px) { .balk-nav { display: none; } }

/* ---------------------------------------------------------------- knoppen */
.k { display: inline-block; text-align: center; cursor: pointer; border: 1px solid transparent; letter-spacing: -.02em; font-weight: 700; }
.k-rood { background: var(--merk); color: #fff; font-size: 15px; padding: 10px 18px; border-radius: 9px; box-shadow: 0 1px 2px rgba(236,48,19,.35); }
.k-rood:hover { background: var(--merk-d); color: #fff; }
.k-stil { color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -.015em; padding: 9px 14px; border-radius: 8px; }
.k-stil:hover { background: #F1EDE8; color: var(--ink); }
.k-groot { font-size: 17px; padding: 15px 26px; border-radius: 11px; box-shadow: 0 2px 10px rgba(236,48,19,.28); }
.k-rand { color: var(--ink); font-size: 17px; font-weight: 600; padding: 15px 22px; border-radius: 11px; border-color: var(--lijn2); background: #fff; }
.k-rand:hover { background: #F4F0EB; color: var(--ink); }
.k-nacht { background: var(--nacht); color: #fff; font-size: 16px; padding: 14px 24px; border-radius: 10px; }
.k-nacht:hover { background: #000; color: #fff; }
.k-vol { width: 100%; font-size: 17px; padding: 15px 20px; border-radius: 10px; }

/* ---------------------------------------------------------------- hero */
.hero { min-height: calc(100vh - 56px); display: flex; align-items: center; padding: 72px 24px 88px; }
.hero-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6.2vw, 70px); line-height: .98; margin-bottom: 22px; }
.hero-p { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink3); margin-bottom: 34px; max-width: 46ch; text-wrap: pretty; }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-fijn { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 12.5px; color: var(--zacht); }
.venster { border-radius: 16px; border: 1px solid #E3DED8; background: #fff; box-shadow: 0 26px 60px -30px rgba(26,25,24,.35); overflow: hidden; }
.venster-balk { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #EDEAE5; background: #FAF8F6; }
.venster-balk i { width: 9px; height: 9px; border-radius: 999px; background: #E0DAD3; display: block; }
.venster-balk span { margin-left: 10px; font-size: 11.5px; color: var(--grijs); }
.venster img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- secties */
.sec { min-height: 100vh; display: flex; align-items: center; padding: 88px 24px; }
.sec-wit { background: #fff; border-top: 1px solid var(--lijn3); border-bottom: 1px solid var(--lijn3); }
.sec h2 { font-size: clamp(30px, 4.4vw, 46px); }
.sec-lead { font-size: 18px; line-height: 1.55; color: var(--ink3); text-wrap: pretty; }

/* functies */
.fn-grid { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .fn-grid { grid-template-columns: 1fr; } }
.fn-tabs { display: flex; flex-direction: column; gap: 6px; }
.fn-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 12px; color: var(--ink); background: #fff; border: 1px solid #E9E5E0;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}
.fn-tab[aria-selected="true"] { background: #FDF2F0; border: 1.5px solid var(--merk); transform: translateX(4px); }
.fn-ticks { display: flex; align-items: flex-end; gap: 2.5px; height: 18px; }
.fn-ticks i { width: 4px; display: block; background: #CFC8C1; transition: background .35s ease; }
.fn-ticks i:nth-child(1) { height: 7px; } .fn-ticks i:nth-child(2) { height: 11px; }
.fn-ticks i:nth-child(3) { height: 15px; } .fn-ticks i:nth-child(4) { height: 18px; }
.fn-tab[aria-selected="true"] .fn-ticks i { background: var(--ink); }
.fn-tab[aria-selected="true"] .fn-ticks i:nth-child(4) { background: var(--merk); }
.fn-naam { font-size: 16.5px; font-weight: 700; letter-spacing: -.03em; }
.fn-pijl { margin-left: auto; font-size: 16px; color: var(--merk); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.fn-tab[aria-selected="true"] .fn-pijl { opacity: 1; transform: none; }
.fn-paneel { background: var(--nacht); border-radius: 16px; padding: 30px 30px 26px; color: var(--nacht-tx); overflow: hidden; }
.fn-paneel[hidden] { display: none; }
.fn-kop { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.fn-kop h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.035em; font-weight: 700; }
.fn-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FF8672; }
.fn-body { font-size: 16.5px; line-height: 1.6; color: var(--nacht-t3); margin-bottom: 26px; max-width: 54ch; text-wrap: pretty; }
.fn-staven { display: flex; align-items: flex-end; gap: 6px; height: 132px; padding: 0 2px; border-bottom: 1px solid var(--nacht-l); }
.fn-staven i { flex: 1; min-width: 0; display: block; border-radius: 3px 3px 0 0; background: #3A3734; }
.fn-staven i.warm { background: var(--merk); }
.fn-cijfers { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.fn-cijfers dt { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grijs); margin-bottom: 5px; }
.fn-cijfers dd { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }

/* hoe het werkt */
.hoe-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.stap { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--lijn); }
.stap-n { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--merk); padding-top: 4px; }
.stap h3 { font-size: 19px; letter-spacing: -.03em; font-weight: 700; margin-bottom: 7px; }
.stap p { font-size: 15.5px; line-height: 1.6; color: #625D58; max-width: 48ch; text-wrap: pretty; }
.klok { background: var(--nacht); border-radius: 16px; padding: 34px 32px; color: var(--nacht-tx); }
.klok-oog { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--nacht-t2); margin-bottom: 22px; }
.klok-rij { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 1px solid #2E2C2A; padding-bottom: 14px; }
.klok-rij + .klok-rij { margin-top: 16px; }
.klok-rij span:first-child { font-size: 15px; color: #DDD7D1; }
.klok-rij span:last-child { font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: #fff; }

/* prijzen */
.pr-kop { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 46px; }
.pr-schakel { display: inline-flex; background: #F4F0EB; border-radius: 10px; padding: 4px; gap: 4px; }
.pr-schakel button { border: none; cursor: pointer; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: -.015em; background: transparent; color: var(--ink4); }
.pr-schakel button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26,25,24,.12); }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 20px; align-items: stretch; }
.pr-kaart { display: flex; flex-direction: column; padding: 30px 28px; border-radius: 16px; background: #fff; border: 1px solid #E3DED8; }
.pr-kaart.uit { background: #FDFAF9; border: 1.5px solid var(--merk); box-shadow: 0 18px 40px -28px rgba(236,48,19,.5); }
.pr-kaart h3 { font-size: 21px; letter-spacing: -.03em; font-weight: 700; }
.pr-titel { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pr-badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--merk); color: #fff; padding: 5px 9px; border-radius: 999px; }
.pr-voor { font-size: 14.5px; line-height: 1.55; color: var(--ink4); margin-bottom: 22px; min-height: 45px; }
.pr-prijs { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pr-prijs b { font-size: 44px; font-weight: 700; letter-spacing: -.04em; }
.pr-prijs > span {  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--zacht); }
.pr-noot { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; line-height: 1.5; color: var(--grijs); margin-bottom: 24px; min-height: 38px; }
.pr-lijst { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pr-lijst div { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.pr-lijst i { width: 7px; height: 7px; background: var(--merk); display: block; margin-top: 7px; }
.pr-lijst span { font-size: 15px; line-height: 1.5; color: var(--ink2); }
.pr-cta { margin-top: auto; text-align: center; padding: 14px 20px; border-radius: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; background: var(--nacht); color: #fff; }
.pr-kaart.uit .pr-cta { background: var(--merk); }
.pr-cta:hover { color: #fff; filter: brightness(1.12); }

/* vertrouwen */
.vt-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.vt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--lijn); border: 1px solid var(--lijn); border-radius: 12px; overflow: hidden; }
.vt-raster div { background: var(--pap); padding: 20px 18px; }
.vt-raster b { font-size: 15.5px; font-weight: 700; letter-spacing: -.025em; display: block; margin-bottom: 5px; }
.vt-raster span { font-size: 13.5px; line-height: 1.5; color: var(--ink4); }
.cit { background: #fff; border: 1px solid var(--lijn); border-radius: 14px; padding: 26px 26px 22px; }
.cit + .cit { margin-top: 16px; }
.cit blockquote { margin-bottom: 16px; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; }
.cit figcaption { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--zacht); }

/* slot */
.slot { background: var(--nacht); color: var(--pap); padding: 96px 24px 40px; text-align: center; }
.slot h2 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.02; margin-bottom: 18px; }
.slot p { font-size: 18px; line-height: 1.55; color: var(--nacht-t3); margin: 0 auto 32px; max-width: 48ch; }
.slot-knoppen { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.k-donker { color: var(--pap); font-size: 17px; font-weight: 600; padding: 16px 26px; border-radius: 11px; border: 1px solid #3A3734; }
.k-donker:hover { background: #262421; color: #fff; }
.voet { margin-top: 84px; padding-top: 28px; border-top: 1px solid var(--nacht-l); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; text-align: left; }
.voet-merk { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.voet-merk i { width: 4px; display: block; background: var(--ink4); }
.voet-merk i:nth-child(1) { height: 6px; } .voet-merk i:nth-child(2) { height: 10px; }
.voet-merk i:nth-child(3) { height: 14px; } .voet-merk i:nth-child(4) { height: 18px; background: var(--merk); }
.voet-merk b { margin-left: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.035em; color: var(--nacht-tx); align-self: center; }
.voet-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--nacht-t2); align-items: baseline; }
.voet-links a { color: var(--nacht-t2); }
.voet-links a:hover { color: #fff; }
.voet-links span { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink4); }

/* ---------------------------------------------------------------- inloggen & registreren */
.poort { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.poort-links { padding: 32px 24px 56px; display: flex; flex-direction: column; align-items: center; }
.poort-kolom { width: 100%; max-width: 420px; }
.poort-breed { max-width: 560px; }
.poort-logo { height: 24px; width: auto; display: block; margin-bottom: 54px; }
.poort h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.05; margin-bottom: 10px; }
.poort-sub { font-size: 16px; line-height: 1.55; color: var(--ink3); margin-bottom: 34px; }
.poort-rechts { background: var(--nacht); color: var(--nacht-tx); padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; }
.poort-rechts-in { max-width: 460px; }
.poort-rechts h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.08; margin-bottom: 30px; }
.poort-oog { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--nacht-t2); margin-bottom: 18px; }
.poort-lijst { background: var(--nacht2); border: 1px solid var(--nacht-l); border-radius: 14px; overflow: hidden; }
.poort-lijst div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--nacht-l); }
.poort-lijst div:last-child { border-bottom: 0; }
.poort-lijst .term { font-size: 15px; color: #E4DFDA; }
.poort-lijst .cijfers { display: flex; gap: 14px; align-items: baseline; font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.poort-lijst .vol { color: var(--nacht-t2); }
.poort-lijst .op { color: #FF6A52; }
.poort-noot { font-size: 14.5px; line-height: 1.6; color: var(--nacht-t2); margin-top: 22px; }
.poort-fijn { font-family: 'IBM Plex Mono', monospace; font-size: 12px; line-height: 1.6; color: var(--grijs); margin-top: 30px; }

.vorm { display: flex; flex-direction: column; gap: 18px; }
.vorm-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.vorm-rij-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
label.veld { display: flex; flex-direction: column; gap: 7px; }
label.veld > span { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink2); }
label.veld > span.tussen { display: flex; justify-content: space-between; align-items: baseline; }
label.veld > span.tussen a { font-weight: 500; font-size: 13px; }
.veld input, .veld select {
  padding: 13px 15px; border-radius: 10px; border: 1px solid var(--lijn2); background: #fff;
  font-size: 16px; color: var(--ink); width: 100%;
}
.veld input:focus, .veld select:focus { outline: 2px solid var(--merk); outline-offset: 1px; border-color: var(--merk); }
.vinkje { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink2); }
.vinkje input { width: 17px; height: 17px; accent-color: var(--merk); flex: none; }
.melding { margin-top: 18px; background: var(--merk-zacht); border: 1px solid #F7CDC5; border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: #8F1D09; }
.melding.goed { background: #F1F6EC; border-color: #D6E5C6; color: #3F5C22; }

.balken { display: flex; gap: 10px; margin-bottom: 30px; }
.balken div { flex: 1; }
.balken i { display: block; height: 4px; border-radius: 999px; background: var(--lijn); }
.balken.op i, .balken div.op i { background: var(--merk); }
.balken span { display: block; margin-top: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #A09A94; }
.balken div.op span { color: var(--ink); }
.vorm-voet { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.k-terug { background: #fff; border: 1px solid var(--lijn2); color: var(--ink); font-size: 16px; font-weight: 600; padding: 14px 20px; border-radius: 10px; cursor: pointer; }
.k-terug:hover { background: #F4F0EB; }
.proef { border: 1px solid var(--lijn2); background: #fff; border-radius: 12px; padding: 22px 24px; }
.proef b { display: block; font-size: 17px; letter-spacing: -.025em; margin-bottom: 8px; }
.proef p { font-size: 15px; line-height: 1.6; color: var(--ink3); }
.proef ul { margin: 16px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.7; color: var(--ink2); }

/* ---------------------------------------------------------------- aansluiten */
/* Een keuze die je aanklikt in plaats van een keuzelijst die je uitvouwt. Bij twee tot
   drie mogelijkheden is alles tegelijk zien sneller dan één voor één openklappen. */
.keuze { display: grid; gap: 12px; }
.keuze label {
  display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--lijn2); background: #fff; border-radius: 12px; padding: 18px 20px; cursor: pointer;
}
.keuze label:hover { border-color: #D7CFC7; }
.keuze label:has(input:checked) { border-color: var(--merk); background: var(--merk-zacht); }
.keuze label:has(input:focus-visible) { outline: 2px solid var(--merk); outline-offset: 1px; }
.keuze input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--merk); }
.keuze b { display: block; font-size: 16px; letter-spacing: -.02em; margin-bottom: 4px; }
.keuze span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--ink3); }
.keuze label.uit { opacity: .55; cursor: not-allowed; }

/* Het factuurnummer zoals het eruit komt te zien, naast het formulier dat het maakt. */
.staal {
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--ink);
  background: #F4F0EB; border: 1px solid var(--lijn2); border-radius: 10px; padding: 12px 14px;
}
.aan-uitleg { font-size: 14.5px; line-height: 1.6; color: var(--ink3); margin-top: -8px; }
.aan-lijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.aan-lijst li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 11px 0; border-bottom: 1px solid var(--lijn); }
.aan-lijst li:last-child { border-bottom: 0; }
.aan-lijst li span:last-child { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--ink3); text-align: right; }
.k-stap { background: none; border: 0; color: var(--ink3); font-size: 14.5px; text-decoration: underline; cursor: pointer; padding: 14px 4px; }
.k-stap:hover { color: var(--ink); }
