/* Sprint 4b – de startpagina, /privacy en /voorwaarden. Alleen voor de startpagina en /privacy;
   de app houdt stijl.css. Letter: Archivo (OFL), zelf gehost, variabel in breedte (wdth) en gewicht (wght). */

@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #F4F3EE;
  --papier-2: #ECE9E1;
  --inkt: #1A2230;
  --inkt-2: #4A5361;
  --lijn: #DDD9CF;
  --diep: #0D1B2C;          /* de donkere band en de footer van de hero */
  --diep-2: #14263C;
  --koper: #985624;         /* accent op licht: 5,12 : 1 op het papier (gemeten) */
  --koper-licht: #E3A56A;   /* accent op donker: 8,14 : 1 op --diep (gemeten) */
  --hd: #C0262D;
  --ld: #1C5DAB;
  --goed: #1E7B45;
  --goed-licht: #6CC28F;
  --let-op-tint: #FBF3DD;
  --let-op-rand: #B8860B;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maat: 1240px;
  --rand: clamp(10px, 1.2vw, 16px);
  --rond: clamp(18px, 2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--inkt); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--koper-licht); outline-offset: 3px; border-radius: 4px; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.binnen { width: min(var(--maat), 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }

/* ---- Balken boven de pagina ---------------------------------------------------------------- */
.proef { background: var(--let-op-tint); border-bottom: 1px solid #EAD9A6; font-size: 0.875rem; }
.proef p { margin: 0; padding: 8px 16px; text-align: center; }
.proef b { font-weight: 650; }
.staging-balk { padding: 6px 16px; background: #9A3412; color: #fff; font-size: 0.875rem; text-align: center; }

/* ---- Hero ------------------------------------------------------------------------------------- */
.hero-wrap { padding: var(--rand) var(--rand) 0; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rond);
  min-height: clamp(560px, 86vh, 880px); color: #fff; display: grid; grid-template-rows: auto 1fr;
  background: var(--diep);
}
.hero-foto { position: absolute; inset: 0; z-index: -2; }
.hero-foto picture { display: block; width: 100%; height: 100%; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { /* de leeskant: donker links, de foto rechts vrij */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,15,26,0.92) 0%, rgba(8,15,26,0.78) 34%, rgba(8,15,26,0.25) 62%, rgba(8,15,26,0) 78%),
              linear-gradient(0deg, rgba(8,15,26,0.55) 0%, rgba(8,15,26,0) 30%);
}

.kop { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3.4vw, 48px); }
.merk { text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; font-weight: 650; font-stretch: 112%; letter-spacing: -0.01em; font-size: 1.125rem; }
.merk-teken { width: 26px; height: 26px; align-self: center; flex: none; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 0.9375rem; }
.menu a:not(.pil) { text-decoration: none; opacity: 0.88; }
.menu a:not(.pil):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pil { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.pil--licht { background: #fff; color: var(--inkt); }
.pil--licht:hover { background: #E9E6DE; }
.pil--rand { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.pil--rand:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.pil--donker { background: var(--inkt); color: #fff; }
.pil--donker:hover { background: #2B3546; }
.pil--rand-donker { border: 1.5px solid var(--inkt); color: var(--inkt); }
.pil--rand-donker:hover { background: rgba(26,34,48,0.06); }

.hero-tekst { align-self: center; padding: clamp(24px, 4vw, 56px) clamp(20px, 3.4vw, 48px) clamp(120px, 14vw, 170px); max-width: 960px; }
.boven { margin: 0 0 18px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.hero h1 { margin: 0; font-size: clamp(3rem, 6.2vw, 6rem); line-height: 0.96; font-weight: 720; font-stretch: 112%; letter-spacing: -0.025em; text-wrap: balance; }
.hero-inleiding, .knoppen { max-width: 640px; }
.hero h1 .accent { display: block; color: var(--koper-licht); font-weight: 380; }
.hero-inleiding { margin: 26px 0 0; max-width: 34em; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,0.9); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* de voorbeeldkaart die over de onderrand van de hero zweeft */
.kaart-zweef {
  position: absolute; right: clamp(20px, 4vw, 64px); bottom: clamp(-70px, -5vw, -40px); z-index: 2;
  width: min(360px, calc(100% - 40px)); padding: 20px 22px 18px; border-radius: 20px;
  background: rgba(13,27,44,0.92); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px -20px rgba(4,10,20,0.6); backdrop-filter: blur(8px);
}
.hero-wrap { position: relative; }
.kaart-zweef .klein-boven { margin: 0 0 10px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.kaart-rij { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.kaart-zweef h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 600; font-stretch: 106%; }
.kaart-zweef .meta { margin: 6px 0 0; font-size: 0.8125rem; color: rgba(255,255,255,0.72); }
.ring { width: 64px; height: 64px; }
.ring text { font-family: var(--font); }
.stappen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 16px 0 10px; }
.stappen span { height: 6px; border-radius: 3px; background: var(--goed-licht); }
.kaart-zweef .status { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: rgba(255,255,255,0.86); }
.kaart-zweef .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--goed-licht); }

/* ---- Wat het werkboek doet ------------------------------------------------------------------- */
.blok { padding-block: clamp(96px, 11vw, 150px) clamp(56px, 7vw, 96px); }
.h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.04; font-weight: 640; font-stretch: 108%; letter-spacing: -0.02em; max-width: 14em; text-wrap: balance; }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.drie .nr { display: block; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; font-weight: 300; font-stretch: 125%; color: var(--koper); margin-bottom: 18px; }
.drie h3 { margin: 0 0 10px; font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.005em; }
.drie p { margin: 0; color: var(--inkt-2); }
.alles { margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 22px; border-top: 1px solid var(--lijn); font-size: 0.875rem; color: var(--inkt-2); max-width: 62em; }

/* ---- De donkere band ------------------------------------------------------------------------ */
.band-wrap { padding: 0 var(--rand); }
.band { background: var(--diep); color: #fff; border-radius: var(--rond); padding: clamp(56px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); overflow: hidden; position: relative; }
.band::after { /* koperen lijn, als een leiding die door het beeld loopt */
  content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px;
  background: linear-gradient(90deg, rgba(227,165,106,0) 0%, rgba(227,165,106,0.45) 20%, rgba(227,165,106,0.45) 80%, rgba(227,165,106,0) 100%);
}
.label { display: inline-block; margin: 0 0 22px; padding: 5px 12px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.band .h2 { color: #fff; }
.band .inleiding { margin: 20px 0 0; max-width: 36em; color: rgba(255,255,255,0.84); font-size: 1.125rem; }
.telefoons { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(44px, 5vw, 72px); align-items: start; }
.telefoon { margin: 0; }
.scherm { border-radius: 34px; padding: 10px; background: #050B14; box-shadow: 0 40px 70px -30px rgba(0,0,0,0.75), inset 0 0 0 1px rgba(255,255,255,0.08); max-width: 300px; margin-inline: auto; }
.scherm img { border-radius: 25px; width: 100%; height: auto; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; background: #fff; }
.telefoon figcaption { max-width: 300px; margin: 18px auto 0; font-size: 0.9375rem; color: rgba(255,255,255,0.84); }
.telefoon figcaption b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.cijfers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(32px, 6vw, 96px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,0.14); }
.cijfers div { margin: 0; }
.cijfers dt { font-size: 0.9375rem; color: rgba(255,255,255,0.72); }
.cijfers dd { margin: 0 0 4px; order: -1; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 650; font-stretch: 118%; line-height: 1; color: var(--koper-licht); letter-spacing: -0.02em; }
.cijfers div { display: flex; flex-direction: column; }

/* ---- Zo kom je erin --------------------------------------------------------------------------- */
.stapjes { list-style: none; padding: 0; margin: clamp(36px, 4vw, 60px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: s; position: relative; }
.stapjes::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--lijn) 0 8px, transparent 8px 14px); }
.stapjes li { position: relative; counter-increment: s; }
.stapjes li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--papier); border: 2px solid var(--inkt); font-weight: 650; font-stretch: 112%; margin-bottom: 20px; position: relative; }
.stapjes h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 650; }
.stapjes p { margin: 0; color: var(--inkt-2); }

/* ---- Afsluitende oproep ------------------------------------------------------------------------ */
.oproep-wrap { padding: 0 var(--rand); }
.oproep { background: var(--papier-2); border-radius: var(--rond); padding: clamp(64px, 8vw, 120px) 24px; text-align: center; }
.oproep .h2 { margin-inline: auto; }
.oproep p { margin: 16px auto 0; max-width: 32em; color: var(--inkt-2); }
.oproep .knoppen { justify-content: center; }

/* ---- Footer -------------------------------------------------------------------------------------- */
.voet { padding: clamp(56px, 7vw, 96px) 0 48px; font-size: 0.875rem; color: var(--inkt-2); }
.voet-raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.voet h2 { margin: 0 0 12px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--inkt); }
.voet p { margin: 0 0 6px; }
.voet .merk { color: var(--inkt); margin-bottom: 12px; }
.voet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.voet a { text-underline-offset: 3px; }

/* ---- Privacy (sober, zelfde letter) ------------------------------------------------------------- */
.lees { width: min(46rem, 100% - 40px); margin-inline: auto; padding-block: 40px 80px; }
.lees-kop { padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3.4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--lijn); }
.lees h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.04; font-weight: 680; font-stretch: 112%; letter-spacing: -0.02em; margin: 24px 0 12px; }
.lees .datum { color: var(--inkt-2); font-size: 0.9375rem; margin: 0 0 32px; }
.lees h2 { font-size: 1.375rem; font-weight: 650; margin: 40px 0 10px; letter-spacing: -0.005em; }
.lees p, .lees li { color: #2A3342; }
.lees ul { padding-left: 1.2em; }
.lees li { margin-bottom: 6px; }
.lees table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.9375rem; }
.lees th, .lees td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--lijn); }
.lees th { background: var(--papier-2); font-weight: 600; }

/* ---- Telefoon en tablet ---------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .menu .tekstlink { display: none; }
  .drie, .stapjes { grid-template-columns: 1fr; }
  .stapjes::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--lijn) 0 8px, transparent 8px 14px); }
  .stapjes li { padding-left: 72px; min-height: 48px; }
  .stapjes li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .telefoons { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; }
  .telefoon { scroll-snap-align: center; }
  .band::after { display: none; }
  .voet-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  /* op een telefoon: de foto in de bovenste helft, de tekst eronder op het donker */
  .hero { min-height: 0; }
  .hero-foto { bottom: auto; height: 340px; }
  .hero-foto img { object-position: 64% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(8,15,26,0.55) 0px, rgba(8,15,26,0.05) 90px, rgba(8,15,26,0.05) 200px, rgba(13,27,44,1) 340px); }
  .hero-tekst { padding-top: 200px; padding-bottom: 36px; }
  .kaart-zweef { position: relative; right: auto; bottom: auto; margin: -20px auto 0; width: calc(100% - 2 * var(--rand) - 24px); }
  .knoppen .pil { flex: 1 1 auto; }
  .cijfers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cijfers dd { font-size: 1.875rem; font-stretch: 100%; }
  .hero h1 { font-stretch: 108%; }
  .merk { font-size: 1rem; }
  .voet-raster { grid-template-columns: 1fr; }
  .menu { gap: 10px; }
  .menu .pil { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
