/* =====================================================================
   BASIS: het ontwerp "digitale partner" (1-12-2026). Zie _gereedschap/ontwerp-plan-2026-12-01.md.
   Kleuren, letters, kop, voet, knop, vensters, rijen, vaste balk op de telefoon.
   Gewone pagina's: donkere kop, witte inhoud, donkere strook voor de doorlichting.
   Geen inline stijlen (CSP style-src 'self').
   ===================================================================== */
@font-face { font-family: "Ronzino"; src: url("/fonts/ronzino-400.605da748.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ronzino"; src: url("/fonts/ronzino-500.3fc2ec1c.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("/fonts/fragment-mono-400.807ddc8e.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-var.f457276b.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --donker: #0c0d10; --donker-2: #14161b; --ijs: #e8ebef; --wit: #fafafa;
  --inkt: #0f1014; --grijs: #5d636c; --grijs-d: #9aa1ab;
  --karmijn: #b5122d;        /* lijnen, vlakken, rode tekst op licht (6,5:1) */
  --karmijn-licht: #cc5b6e;  /* rode tekst op donker: 4,9:1 op #0c0d10 en 4,6:1 op #14161b; karmijn zelf haalt daar maar 2,9:1 */
  --lijn: rgba(15, 16, 20, .12); --lijn-d: rgba(232, 235, 239, .12);
  --rand: clamp(20px, 3.4vw, 56px); --kol: 24px; --balk-h: 0px;
  /* oude namen, voor css/meten.css en css/demos.css */
  --papier: var(--wit); --vlak: #eceef1; --blauw: var(--karmijn);
  --acc: var(--karmijn); --tekst-zacht: var(--grijs);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--wit); color: var(--inkt); font: 400 17px/1.55 "Ronzino", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: var(--balk-h); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid var(--karmijn-licht); outline-offset: 3px; }

/* Thema's: .donker zet de kleuren om, ook voor .acc */
.donker { background: var(--donker); color: var(--ijs); --acc: var(--karmijn-licht); --tekst-zacht: var(--grijs-d); --lijn: var(--lijn-d); }
.wit { background: var(--wit); color: var(--inkt); --acc: var(--karmijn); --tekst-zacht: var(--grijs); }
.acc { color: var(--acc); }
.zacht { color: var(--tekst-zacht); }

/* Letters: koppen in Unbounded, hoofdletters. De Nederlandse IJ-ligatuur lijkt in Unbounded op een U: uit. */
.groot, .kopje, .kop3 { font-family: "Unbounded", "Ronzino", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; font-feature-settings: "locl" 0, "liga" 0, "dlig" 0; font-variant-ligatures: none; }
.groot { font-size: clamp(30px, 5.4vw, 92px); line-height: .95; }
.kopje { font-size: clamp(26px, 3.2vw, 52px); line-height: .98; }
.kop3 { font-size: 20px; letter-spacing: -.02em; }
.mono { font: 400 11.5px/1.4 "Fragment Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.intro { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.01em; max-width: 30em; }

/* De knop: onderstreept. Geen vlakken. */
.knop { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 6px; border-bottom: 2px solid var(--karmijn); color: inherit; font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.knop:hover { border-bottom-color: currentColor; }

/* Naar de inhoud */
.sla-over { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 12px 16px; background: var(--wit); color: var(--inkt); }
.sla-over:focus { top: 12px; }

/* Kop van de pagina (altijd op donker) */
.kop { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 0 var(--rand); background: var(--donker); color: var(--ijs); }
.kop__merk { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; text-decoration: none; }
/* het logo: de 3D-ringen uit de opening, klein (keuze van Erenay, 1-12-2026) */
.kop__merk .ringen { display: block; width: auto; height: 44px; }
.kop__nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.kop__nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.kop__nav a:not(.knop) { color: var(--grijs-d); }
.kop__nav a:not(.knop):hover { color: var(--ijs); }
.balk { display: none; }

/* Secties */
.sectie { padding: clamp(72px, 8vw, 128px) var(--rand); }
.band { padding: clamp(72px, 8vw, 120px) var(--rand); }

/* Rijen (diensten, prijzen, vragen): lijnen, geen kaarten */
.rijen { list-style: none; border-top: 1px solid var(--lijn); }
.rij { display: grid; grid-template-columns: 4fr 6fr 2fr; gap: var(--kol); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--lijn); }
.rij h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.rij p { color: var(--tekst-zacht); max-width: 34em; }
.rij .prijs { font: 400 15px/1.3 "Fragment Mono", ui-monospace, monospace; text-align: right; color: inherit; }

/* Vensters: echt werk of een voorbeeld, met een balk */
.venster { background: var(--donker-2); border: 1px solid var(--lijn-d); overflow: hidden; color: var(--ijs); }
.venster__balk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--lijn-d); color: var(--grijs-d); --acc: var(--karmijn-licht); }
.venster__balk i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #3a3e47; }
.venster__balk b { font-weight: 400; }
.venster__url { overflow: hidden; text-align: center; text-overflow: ellipsis; text-transform: none; letter-spacing: .04em; white-space: nowrap; }
.venster img { width: 100%; }
.tel { overflow: hidden; border: 6px solid #1c1f25; border-radius: 28px; background: #000; }

/* Formulier "contact" (voorpagina en /doorlichting), op donker */
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; }
.form .mono { color: var(--grijs-d); }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(232, 235, 239, .3); border-radius: 0; background: transparent; color: var(--ijs); font: inherit; font-size: 17px; }
.form select { appearance: none; -webkit-appearance: none; }
.form select option { color: var(--inkt); }
.form .kies { position: relative; }
.form .kies::after { content: "⌄"; position: absolute; right: 4px; top: 8px; color: var(--grijs-d); pointer-events: none; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-bottom-color: var(--karmijn-licht); box-shadow: inset 0 -1px 0 var(--karmijn-licht); }
/* Een veld dat niet klopt blijft herkenbaar als je er niet meer in staat: een dikkere streepjeslijn en
   "klopt nog niet" achter het label, zoals in het vorige ontwerp. */
.form input:user-invalid, .form textarea:user-invalid, .form select:user-invalid { border-bottom: 2px dashed var(--ijs); }
.form label:not(.blok):has(:user-invalid) .mono { color: var(--ijs); }
.form label:not(.blok):has(:user-invalid) .mono::after { content: ", klopt nog niet"; }
/* Twee stappen (1-12-2026, js/formulier-stappen.js): eerst "Waar loop je tegenaan?" als zes blokken, dan naam,
   e-mail en zaak. Zonder JavaScript staat alles onder elkaar. De blokken zijn ingekleurd in karmijn met witte tekst,
   twee per rij (keuze van Erenay); Versturen is net zo'n rood vlak, over de hele breedte. */
.form [hidden] { display: none !important; }
.form .stap { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form .stap legend { display: grid; gap: 8px; padding: 0; margin-bottom: 18px; }
.form .stap__teller { display: block; margin: 0; color: var(--grijs-d); }
.form .stap__teller:focus { outline: none; }
.form .stap__vraag { display: block; font-size: 21px; font-weight: 500; line-height: 1.25; color: var(--ijs); }
.form .blokken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.form .blok { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 108px; padding: 14px 14px 16px; background: var(--karmijn); color: #fff; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background-color .15s; -webkit-tap-highlight-color: transparent; }
.form .blok input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.form .blok .mono { color: #fff; }
.form .blok:hover, .form .blok:active { background: #96102a; }
.form .blok:has(:checked) { box-shadow: inset 0 0 0 2px #fff; }
.form .blok:has(:focus-visible) { outline: 2px solid var(--ijs); outline-offset: 2px; }
.form .verstuur { display: grid; gap: 12px; }
.form .verstuur button.knop { width: 100%; min-height: 56px; justify-content: center; border: 0; background: var(--karmijn); color: #fff; font: 500 18px/1 "Ronzino", sans-serif; cursor: pointer; transition: background-color .15s; }
.form .verstuur button.knop:hover { background: #96102a; }
.form .verstuur button.knop:focus-visible { outline: 2px solid var(--ijs); outline-offset: 2px; }
.form .verstuur button.knop:disabled { opacity: .7; cursor: default; }
/* WhatsApp-knop (1-12-2026, keuze van Erenay): een omlijnd vlak met het logo, bij het formulier. Niet rood, zodat
   Versturen de enige rode knop blijft. Het logo staat ook in de balk onderaan. */
.wa-rij { margin-top: 4px; }
.wa-knop { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 420px; min-height: 56px; padding: 0 24px; border: 1px solid var(--ijs); color: var(--ijs); font-weight: 500; font-size: 17px; text-decoration: none; transition: background-color .15s, color .15s; }
.wa-knop:hover { background: var(--ijs); color: var(--donker); }
.wa-knop:focus-visible { outline: 2px solid var(--karmijn-licht); outline-offset: 2px; }
.wa-logo { width: 20px; height: 20px; flex: none; fill: currentColor; }
.balk__app .wa-logo { width: 18px; height: 18px; margin-right: 8px; }
.form .stap__kop { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form .stap__terug { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ijs); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.form .potje { position: absolute; left: -9999px; }
.verstuur { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form button.knop { border: 0; border-bottom: 2px solid var(--karmijn); background: none; color: var(--ijs); font: 500 18px/1 "Ronzino", sans-serif; cursor: pointer; }
.form .klein { font-size: 14px; }
.form .klein a:not(.knop) { color: var(--ijs); }

/* Voet */
.voet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--kol); padding: 72px var(--rand) 40px; background: var(--donker); color: var(--ijs); font-size: 15px; }
.voet__kol { display: grid; gap: 4px; align-content: start; }
.voet__kol .mono { margin-bottom: 8px; color: var(--grijs-d); }
.voet a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ijs); text-decoration: none; }
.voet a:hover { text-decoration: underline; text-decoration-color: var(--karmijn); text-underline-offset: 5px; }
.voet__kol p { color: var(--grijs-d); }
.voet__onder { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 24px; border-top: 1px solid var(--lijn-d); color: var(--grijs-d); }
.voet__onder p { margin-right: auto; }
.voet__onder a { color: var(--grijs-d); }
.voet__cookies { min-height: 44px; padding: 0; border: 0; background: none; color: var(--grijs-d); font: inherit; cursor: pointer; }
.voet__cookies:hover { color: var(--ijs); }

/* Telefoon */
@media (max-width: 760px) {
  :root { --kol: 16px; --balk-h: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .kop { min-height: 68px; }
  .kop__merk span { display: none; }
  .kop__merk .ringen { height: 40px; }
  .kop__nav { gap: 22px; }
  .kop__nav a[href="/over"], .kop__nav .knop { display: none; }
  /* wat de focus heeft, schuift met het toetsenbord nooit achter de balk (eindreview 1-12, WCAG 2.4.11) */
  html { scroll-padding-bottom: calc(var(--balk-h) + 16px); }
  .balk { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; height: var(--balk-h); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--donker-2); border-top: 1px solid var(--lijn-d); }
  .balk a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--ijs); font-weight: 500; font-size: 15px; text-decoration: none; }
  .balk__actie { box-shadow: inset 0 -3px 0 var(--karmijn); }
  .rij { grid-template-columns: 1fr; gap: 6px; }
  .rij .prijs { text-align: left; }
  .voet { grid-template-columns: 1fr 1fr; padding-top: 56px; }
  /* links in lopende tekst: tikvlak van minstens 44 px, zonder dat de regel verschuift. 11 px en niet meer: staan
     twee links onder elkaar, dan valt het midden van de bovenste anders onder het tikvlak van de onderste (1-12) */
  main p a:not(.knop) { display: inline-block; padding: 11px 0; margin: -11px 0;
    /* kleine letters (adressen, de pdf-link): zoveel meer als nodig voor 44 px */
    padding-block: max(11px, calc((44px - 1lh) / 2 + .5px)); margin-block: min(-11px, calc((1lh - 44px) / 2 - .5px)); }
}
@media (max-width: 420px) { .voet { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .balk, .kop__nav { display: none; } }
