/* semvanderwilk.nl design-system. Spec: docs/superpowers/specs/2026-07-04.
   Drie kleuren met tinten. Koper uitsluitend op klikbare elementen.
   Geen kaartjes, geen schaduwen: typografie, witruimte en haarlijnen. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-v9-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-v9-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-v25-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-v25-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-v25-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-v25-latin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-v20-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-v20-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy: #0B1526;
  --navy-vlak: #101E33;
  --navy-gedempt: #93A5C1;
  --navy-licht: #E8EEF8;
  --inkt: #1B2A41;
  --tekst-muted: #54677F;
  --label: #8494AB;
  --wit: #FFFFFF;
  --haarlijn: #E8ECF2;
  --koper: #C4622D;
  --koper-hover: #D97742;
  --koper-tekst: #FFF4EA;
  --font-kop: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --maat: clamp(20px, 4vw, 30px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--inkt);
  background: var(--wit);
}
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-kop); color: var(--navy); line-height: 1.08; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; max-width: 17ch; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; max-width: 26ch; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }
p { max-width: 62ch; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
}
.band .mono-label { color: var(--navy-gedempt); }

/* Interactie: koper, en alleen koper */
a { color: var(--koper); text-decoration: none; }
a:hover { color: var(--koper-hover); }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--koper);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy);
  color: var(--navy-licht); padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 0; }

.btn {
  display: inline-block;
  font-weight: 600; font-size: 15px;
  color: var(--koper-tekst);
  background: var(--koper);
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
  transition: background-color .2s ease;
  min-height: 44px;
}
.btn:hover { background: var(--koper-hover); color: var(--koper-tekst); }
.tekstlink {
  color: var(--navy);
  border-bottom: 1px solid #C7D0DC;
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.tekstlink:hover { color: var(--koper); border-color: var(--koper); }

/* Lay-out */
.wrap { max-width: 1080px; margin: 0 auto; padding-left: var(--maat); padding-right: var(--maat); }
section { padding-top: clamp(44px, 8vw, 88px); padding-bottom: clamp(44px, 8vw, 88px); }
section.strak { padding-top: 0; }

.nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 1080px; margin: 0 auto;
  padding: 18px var(--maat);
  border-bottom: 1px solid var(--haarlijn);
}
.wordmark { font-family: var(--font-kop); font-weight: 600; font-size: 18px; color: var(--navy); }
.wordmark:hover { color: var(--navy); }
.nav nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.nav nav a { color: var(--tekst-muted); font-size: 15px; padding: 6px 2px; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--navy); }
.nav .nav-contact { color: var(--koper); font-weight: 600; }
.nav .nav-contact:hover { color: var(--koper-hover); }

/* Hero */
.hero { padding-top: clamp(52px, 9vw, 110px); }
.hero .mono-label { margin-bottom: 18px; }
.hero p.intro { font-size: clamp(16px, 2vw, 19px); color: var(--tekst-muted); margin-top: 18px; max-width: 48ch; }
.hero-acties { display: flex; gap: 22px; align-items: center; margin-top: 30px; flex-wrap: wrap; }

/* Dienst- en werkregels: haarlijnen, geen kaartjes */
.rows { border-top: 1px solid var(--haarlijn); }
.row {
  display: flex; gap: clamp(14px, 3vw, 28px); align-items: baseline;
  padding: clamp(22px, 4vw, 34px) 0;
  border-bottom: 1px solid var(--haarlijn);
  color: inherit;
}
.row .nr { font-family: var(--font-mono); font-size: 13px; color: var(--label); }
.row .row-body { flex: 1; }
.row h3 { transition: color .2s ease; }
.row p { color: var(--tekst-muted); font-size: 15px; margin-top: 6px; }
.row .pijl { font-size: 22px; color: var(--koper); transition: transform .2s ease; }
a.row:hover h3 { color: var(--koper); }
a.row:hover .pijl { transform: translateX(6px); }

/* Machinekamer-band */
.band {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(0deg, rgba(232,238,248,.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(232,238,248,.035) 0 1px, transparent 1px 32px);
  color: var(--navy-licht);
}
.band h2, .band h3 { color: var(--navy-licht); }
.band p { color: var(--navy-gedempt); }
.stats { display: flex; gap: clamp(24px, 6vw, 64px); flex-wrap: wrap; margin-top: 22px; }
.stat .cijfer { font-family: var(--font-mono); font-weight: 500; font-size: clamp(28px, 4vw, 40px); color: var(--navy-licht); }
.stat .toelichting { font-size: 14px; color: var(--navy-gedempt); max-width: 22ch; }
.logostrip { padding-top: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--haarlijn); }
.logos { display: flex; gap: clamp(24px, 5vw, 48px); align-items: center; flex-wrap: wrap; margin-top: 16px; }
.logos img { height: 42px; width: auto; }
.logos .logo-naam { font-family: var(--font-mono); font-size: 13px; color: var(--tekst-muted); }

/* Gunfactor-quote */
.quote { display: flex; gap: 22px; align-items: center; }
.quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote blockquote { font-style: italic; font-weight: 500; font-size: clamp(17px, 2.2vw, 21px); color: var(--navy); max-width: 44ch; }
.quote .bron { font-size: 14px; color: var(--tekst-muted); margin-top: 8px; font-style: normal; }

/* Content-pagina's */
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 34px; }
.prose p, .prose ul { margin-top: 14px; color: var(--inkt); }
.prose ul { padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose .mono-label { margin-top: 44px; }

.pagina-kop { padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(24px, 4vw, 44px); }
.pagina-kop p.intro { color: var(--tekst-muted); font-size: 18px; margin-top: 14px; max-width: 52ch; }

/* Footer */
.footer { border-top: 1px solid var(--haarlijn); margin-top: 44px; }
.footer p { max-width: none; }
.footer-upsell { padding: 22px var(--maat) 0; max-width: 1080px; margin: 0 auto; font-size: 15px; color: var(--tekst-muted); }
.footer-legal { padding: 10px var(--maat) 26px; max-width: 1080px; margin: 0 auto; font-size: 13px; color: var(--label); }
.footer-sep { color: var(--haarlijn); padding: 0 6px; }

/* Reveals (JS voegt .in toe). Zonder JS blijft alles gewoon zichtbaar. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .hero .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .quote { flex-direction: column; align-items: flex-start; }
  .row { gap: 12px; }
}

/* Hero-bewijsregel en scan-link in donkere band */
.hero-bewijs { margin-top: 18px; }
.band .tekstlink { color: var(--navy-licht); border-color: rgba(232,238,248,.4); }
.band .tekstlink:hover { color: var(--koper-hover); border-color: var(--koper-hover); }

/* Gratis AI-scan */
.scan-vraag { border: 0; border-bottom: 1px solid var(--haarlijn); padding: clamp(22px, 4vw, 34px) 0; }
.scan-vraag legend { font-family: var(--font-kop); font-weight: 600; font-size: clamp(18px, 2.4vw, 22px); color: var(--navy); display: flex; gap: 14px; align-items: baseline; }
.scan-vraag legend .nr { font-family: var(--font-mono); font-size: 13px; color: var(--label); font-weight: 400; }
.scan-vraag p { color: var(--tekst-muted); font-size: 15px; margin-top: 8px; }
.keuzes { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.keuze input { position: absolute; opacity: 0; }
.keuze span { display: inline-block; padding: 10px 22px; border: 1px solid var(--koper); border-radius: 999px; color: var(--koper); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.keuze input:checked + span { background: var(--koper); color: var(--koper-tekst); }
.keuze input:focus-visible + span { outline: 2px solid var(--koper); outline-offset: 3px; }
#scan-uitslag { border-top: 1px solid var(--haarlijn); margin-top: 34px; padding-top: 34px; }
#scan-uitslag[hidden] { display: none; }
