/* De welkomstpagina van de ingang (Planio #860, richting B van ronde 2, besluit Rick 02-12-2026; Docs/UI/Welkomstpagina). Alleen
   index.html laadt dit bestand, na suite.css en site.css. Alle klassen beginnen met w-, zodat niets botst met de regels van het portaal.

   De twee vlakken van oporde.nu, het warme beige (#F1EFED) en het bijna zwart (#121213), staan alleen hier, als eigen variabelen
   ([K] V2, 02-12-2026): de huisstijl van de suite (suite.css) verandert niet. Komen zij later in de huisstijl, dan vervallen deze twee. */
:root {
  --ingang-beige: #f1efed;
  --ingang-zwart: #121213;
  --ingang-zwart-ink: #ffffff;
  --ingang-zwart-zacht: #c9cccd;
  --ingang-tegel-2: #155f6b;
}
:root[data-theme="dark"] {
  --ingang-beige: #1a1f22;
  --ingang-zwart: #0b0d0e;
  --ingang-zwart-ink: #ffffff;
  --ingang-zwart-zacht: #b9bec1;
  --ingang-tegel-2: #0f4e58;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* main is in site.css een smalle kolom; hier de volle breedte, met de banden van rand tot rand. */
main.welkom { max-width: none; padding: 0; display: block; }
main.welkom h1, main.welkom h2, main.welkom h3 { line-height: 1.2; margin: 0; }
main.welkom p { margin: 0; }
.w-breed { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* De kop met het formulier */
.w-held { background: var(--header); color: var(--header-ink); padding: 64px 0 72px; overflow: hidden; }
.w-held-rooster { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.w-bovenregel { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
main.welkom .w-held h1 { font-size: 52px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin: 14px 0 18px; line-height: 1.05; }
.w-lead { font-size: 20px; max-width: 30em; }
.w-proef { margin-top: 28px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 14px; padding: 20px; max-width: 560px; }
.w-proef .stap { gap: 12px; }
.w-proef label { color: var(--header-ink); margin-bottom: -6px; }
.w-stap-label { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.w-zacht { font-size: 15px; }
.w-proef a, .w-proef .link { color: var(--header-ink); }
.w-proef .knop { background: var(--header-ink); color: var(--header); align-self: auto; min-height: 48px; }
.w-proef .knop:focus-visible, .w-proef input:focus-visible, .w-proef a:focus-visible, .w-proef .link:focus-visible { outline-color: var(--header-ink); }
.w-proef input { min-height: 48px; border-color: transparent; background: var(--surface); color: var(--text); }
.w-proef .melding { color: var(--text); margin-bottom: 14px; }
.w-proef .melding.fout { color: var(--fout-tekst); }
.w-proef #code { max-width: none; }
.w-inline { display: flex; gap: 8px; }
.w-inline input { flex: 1; min-width: 0; }

/* Het kleine productbeeld: verzonnen inhoud */
.w-beeld { position: relative; min-height: 360px; display: flex; justify-content: center; align-items: center; }
.w-toestel { width: 190px; border-radius: 24px; background: var(--ingang-zwart); padding: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.w-scherm { background: var(--surface); border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text); min-height: 300px; }
.w-balk { background: var(--header); color: var(--header-ink); border-radius: 8px; padding: 6px 8px; font-weight: 700; }
.w-veld { border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
.w-veld small { display: block; color: var(--muted); font-size: 10px; }
.w-foto { height: 56px; border-radius: 6px; background: linear-gradient(135deg, var(--accent) 0%, var(--header) 100%); opacity: 0.55; }
.w-klaar { background: var(--accent-text); color: var(--accent-ink); border-radius: 6px; padding: 8px; text-align: center; font-weight: 700; }
.w-zaakkaart { position: absolute; left: -70px; bottom: -36px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 12px 14px; width: 250px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14); font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.w-zaak-titel { font-weight: 700; font-size: 14px; }
.w-klein { color: var(--muted); font-size: 12px; }
.w-label { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; background: var(--info-soft); color: var(--text); }
.w-label.w-ok { background: var(--ok-soft); }

/* De proef in vier woorden */
.w-cijfers { background: var(--ingang-zwart); color: var(--ingang-zwart-ink); }
.w-cijfer-rij { display: grid; grid-template-columns: repeat(4, 1fr); }
.w-cijfer { padding: 28px 20px; border-left: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 2px; }
.w-cijfer:first-child { border-left: 0; }
.w-cijfer b { font-size: 36px; font-weight: 800; line-height: 1.1; }
.w-cijfer span { color: var(--ingang-zwart-zacht); font-size: 15px; }

/* De blokken */
.w-blok { padding: 72px 0; }
.w-warm { background: var(--ingang-beige); }
.w-wit { background: var(--surface); }
main.welkom .w-kopje { text-transform: uppercase; font-weight: 800; font-size: 32px; letter-spacing: 0.01em; margin-bottom: 10px; }
main.welkom .w-onder { font-size: 18px; color: var(--muted); max-width: 40em; margin-bottom: 36px; }
.w-beloften { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.w-belofte { display: flex; flex-direction: column; gap: 10px; }
.w-nr { font-size: 15px; font-weight: 800; color: var(--accent-text); letter-spacing: 0.08em; }
main.welkom .w-belofte h3 { font-size: 22px; text-transform: uppercase; font-weight: 800; }
.w-belofte p { color: var(--muted); }
.w-wie { font-size: 15px; border-top: 2px solid var(--accent); padding-top: 10px; }
.w-producten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.w-product { background: var(--surface); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--border); }
main.welkom .w-product h3 { font-size: 18px; }
.w-product p { color: var(--muted); font-size: 15px; }
.w-koppel { margin-top: 28px; }
.w-koppel .w-product { border-top: 4px solid var(--accent); padding-top: 20px; }
.w-afk { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--accent-text); letter-spacing: 0.02em; }

/* De vakgebieden: tegels zonder beeld ([K] V2, 02-12-2026) */
.w-tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.w-tegel { aspect-ratio: 16 / 10; border-radius: var(--radius-card); background: var(--header); color: var(--header-ink); padding: 16px; display: flex; align-items: flex-end;
  font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: 0.02em; position: relative; overflow: hidden; overflow-wrap: anywhere; }
.w-tegel::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.w-tegel:nth-child(2n) { background: var(--ingang-tegel-2); }
.w-tegel.w-meer { background: var(--surface); color: var(--text); border: 2px dashed var(--border); }
.w-tegel.w-meer::after { display: none; }

/* De stappen */
.w-stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: w-stap; }
.w-stappen li { counter-increment: w-stap; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.w-stappen li::before { content: "0" counter(w-stap); font-size: 44px; font-weight: 800; color: var(--accent-text); line-height: 1; margin-bottom: 8px; }
main.welkom .w-stappen h3 { font-size: 18px; }
.w-stappen p { color: var(--muted); font-size: 15px; }
.w-duur { margin-top: 28px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-weight: 600; }

/* Zonder zorgen beginnen */
.w-gerust { background: var(--ingang-zwart); color: var(--ingang-zwart-ink); }
main.welkom .w-gerust .w-onder { color: var(--ingang-zwart-zacht); }
.w-rooster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
main.welkom .w-rooster h3 { font-size: 18px; margin-bottom: 4px; }
.w-rooster p { color: var(--ingang-zwart-zacht); font-size: 15px; }
.w-gerust a { color: #8fd3e1; }
.w-gerust a:focus-visible { outline-color: #8fd3e1; }
.w-plek { margin-top: 40px; min-height: 96px; border: 2px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius-card); }

/* De slotoproep */
.w-slot { background: var(--header); color: var(--header-ink); text-align: center; padding: 72px 0; }
.w-slot .w-breed { display: flex; flex-direction: column; gap: 16px; align-items: center; }
main.welkom .w-slot h2 { font-size: 40px; font-weight: 800; text-transform: uppercase; }
.w-slot p { font-size: 18px; max-width: 34em; }
.knop.w-groot { min-height: 56px; font-size: 18px; padding: 0 28px; display: inline-flex; align-items: center; text-decoration: none; background: var(--header-ink); color: var(--header); align-self: center; }
.w-slot .knop:focus-visible { outline-color: var(--header-ink); }

/* De hulp, ingeklapt onderaan; de tekst komt uit Uitleg.cs (B-30) */
.w-onderaan { padding: 32px 24px 8px; }
.w-hulp { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.w-hulp > summary { cursor: pointer; padding: 14px 18px; min-height: 48px; display: flex; align-items: center; }
main.welkom .w-hulp > summary h2 { font-size: 17px; display: inline; }
.w-hulp-binnen { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
main.welkom .w-hulp h3 { font-size: 15px; margin-top: 6px; }
.w-hulp ul { margin: 0; padding-left: 20px; }
.w-hulp details summary { cursor: pointer; min-height: 32px; }

.w-voet { padding: 28px 20px 40px; color: var(--muted); font-size: 15px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }

@media (max-width: 960px) {
  .w-held-rooster { grid-template-columns: 1fr; }
  .w-beeld { display: none; }
  .w-beloften, .w-producten, .w-rooster { grid-template-columns: 1fr 1fr; }
  .w-tegels { grid-template-columns: repeat(3, 1fr); }
  .w-stappen { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .w-cijfer-rij { grid-template-columns: 1fr 1fr; }
  .w-cijfer:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .w-breed { padding: 0 18px; }
  .w-held { padding: 36px 0 40px; }
  main.welkom .w-held h1 { font-size: 34px; }
  .w-lead { font-size: 17px; }
  .w-proef { padding: 16px; }
  .w-inline { flex-direction: column; }
  .w-inline .knop { width: 100%; }
  .w-blok { padding: 44px 0; }
  main.welkom .w-kopje { font-size: 24px; }
  .w-beloften, .w-producten, .w-rooster, .w-stappen { grid-template-columns: 1fr; }
  .w-tegels { grid-template-columns: 1fr 1fr; }
  .w-tegel { font-size: 15px; }
  .w-cijfer b { font-size: 28px; }
  .w-cijfer { padding: 20px 14px; }
  main.welkom .w-slot h2 { font-size: 28px; }
  .w-onderaan { padding: 24px 18px 8px; }
}
