/* De voordeur (2.47) — de publieke pagina's /welkom en /support.
 * Eigen kleine stylesheet; laadt alleen tokens.css (dezelfde tokens als de app).
 * Geen hex, geen rgba buiten de tokens; geen fonts of beelden van buiten. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.welkom {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- top */
.w-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px); background: var(--bg); border-bottom: 1px solid var(--line); }
.w-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text);
  letter-spacing: .01em; }
.w-logo-mark { width: 14px; height: 14px; border-radius: 4px; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-a10); }
.w-nav { display: flex; gap: 18px; margin-left: 12px; }
.w-nav a { color: var(--muted); font-size: 14px; }
.w-nav a:hover { color: var(--text); text-decoration: none; }
.w-top-acties { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.w-thema { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px;
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
.w-thema:hover { color: var(--text); border-color: var(--zilver); }

/* --------------------------------------------------------------- knoppen */
.w-knop { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px;
  background: var(--surface); transition: transform .12s ease, border-color .12s ease; }
.w-knop:hover { text-decoration: none; border-color: var(--zilver); transform: translateY(-1px); }
.w-knop.primair { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.w-knop.groot { padding: 13px 22px; font-size: 16px; }
.w-knoppen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* --------------------------------------------------------------- hero */
main { padding: 0 clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.w-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 8vw, 96px) 0 clamp(32px, 6vw, 72px); min-height: 70vh; }
.w-eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 14px; }
.w-hero h1 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px;
  font-weight: 800; }
.w-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; margin: 0; }
.w-klein { color: var(--muted); font-size: 13px; margin-top: 16px; }

.w-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-2); display: grid; gap: 10px; }
.w-demo-kop { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px;
  letter-spacing: .06em; text-transform: uppercase; }
.w-demo-stip { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: w-puls 1.6s infinite; }
@keyframes w-puls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.w-tape { display: flex; gap: 14px; overflow: hidden; white-space: nowrap; font-size: 13px; }
.w-tape span { display: inline-flex; gap: 6px; align-items: center; }
.w-tape b { font-weight: 600; }
.w-tape .op { color: var(--green); } .w-tape .neer { color: var(--red); }
.w-chart { width: 100%; height: 120px; background: var(--surface-2); border-radius: 10px; }
.w-chart .lijn { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.w-chart .vlak { fill: var(--accent-a10); }
.w-chart .kaars-op { fill: var(--green); } .w-chart .kaars-neer { fill: var(--red); }
.w-chart .stop { stroke: var(--red); stroke-dasharray: 3 3; stroke-width: 1; }
.w-chart .doel { stroke: var(--green); stroke-dasharray: 3 3; stroke-width: 1; }
.w-berichten { display: grid; gap: 8px; min-height: 150px; }
.w-bericht { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start;
  padding: 8px 10px; border-radius: 10px; background: var(--surface-2); animation: w-in .35s ease both; }
@keyframes w-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.w-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px;
  font-weight: 700; color: var(--bg); }
.w-bericht .n { font-size: 12px; color: var(--muted); }
.w-bericht .t { font-size: 13.5px; }
.w-bericht.risk { border-left: 3px solid var(--accent); }

/* --------------------------------------------------------------- secties */
.w-sectie { padding: clamp(36px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.w-sectie h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.02em; margin: 0 0 8px; }
.w-sub { color: var(--muted); margin: 0 0 28px; max-width: 64ch; }

.w-stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: stap; }
.w-stap { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  position: relative; }
.w-stap::before { counter-increment: stap; content: counter(stap); position: absolute; top: 16px; right: 18px;
  font-size: 40px; font-weight: 800; color: var(--accent-a35); line-height: 1; }
.w-stap .ic { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.w-stap h3 { margin: 0 0 8px; font-size: 18px; }
.w-stap p { margin: 0; color: var(--muted); font-size: 14.5px; }

.w-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.w-agent { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.w-agent .w-av { width: 36px; height: 36px; font-size: 13px; }
.w-agent b { display: block; font-size: 14.5px; }
.w-agent .rol { font-size: 12px; color: var(--muted); }
.w-agent p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.w-agent .stage { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); }

.w-opties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.w-optie { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  transition: border-color .12s ease, transform .12s ease; }
.w-optie:hover { border-color: var(--zilver); transform: translateY(-2px); }
.w-optie .kop { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.w-optie .kop .ic { color: var(--accent); }
.w-optie h3 { margin: 0; font-size: 16px; }
.w-optie p { margin: 0; color: var(--muted); font-size: 14px; }
.w-optie.binnenkort { border-style: dashed; }
.w-optie.binnenkort .kop::after { content: "binnenkort"; margin-left: auto; font-size: 11px;
  color: var(--accent); border: 1px solid var(--accent-a35); border-radius: 999px; padding: 2px 8px; }

.w-band { background: var(--surface); border-radius: 18px; border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px); }
.w-band-in { max-width: 72ch; }
.w-band p { color: var(--muted); font-size: 17px; margin: 0; }

.w-beloften { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.w-belofte { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  border-top: 3px solid var(--green); }
.w-belofte h3 { margin: 0 0 6px; font-size: 14.5px; }
.w-belofte p { margin: 0; font-size: 13px; color: var(--muted); }

.w-noot p { max-width: 72ch; color: var(--muted); margin: 0; }

.w-voet { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 48px); color: var(--muted);
  font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* --------------------------------------------------------------- support */
.w-support { max-width: 820px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 0; }
.w-support-knoppen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 36px; }
.w-support-knop { display: grid; gap: 8px; padding: 22px 18px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); color: var(--text); transition: transform .12s ease, border-color .12s ease; }
.w-support-knop:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.w-support-knop .ic { width: 26px; height: 26px; color: var(--accent); }
.w-support-knop b { font-size: 16px; }
.w-support-knop span { font-size: 13px; color: var(--muted); }
.w-support-leeg { padding: 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted);
  font-size: 14px; }
.w-faq { display: grid; gap: 8px; }
.w-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.w-faq summary { cursor: pointer; font-weight: 600; }
.w-faq p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.w-zelf { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: 14px; }
.w-zelf a { margin-right: 14px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .w-beloften { grid-template-columns: repeat(3, 1fr); }
  .w-team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .w-hero { grid-template-columns: 1fr; min-height: auto; }
  .w-opties { grid-template-columns: repeat(2, 1fr); }
  .w-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .w-nav { display: none; }
  .w-stappen { grid-template-columns: 1fr; }
  .w-opties { grid-template-columns: 1fr; }
  .w-beloften { grid-template-columns: 1fr; }
  .w-team { grid-template-columns: 1fr; }
  .w-support-knoppen { grid-template-columns: 1fr; }
  .w-band { border-radius: 12px; }
  .w-sectie { padding: 32px 0; }
  .w-voet { flex-direction: column; gap: 8px; }
}
@media (max-width: 390px) {
  .w-hero h1 { font-size: 27px; }
  .w-knop.groot { width: 100%; justify-content: center; }
  .w-demo { padding: 10px; }
  .w-berichten { min-height: 120px; }
}
@media (max-width: 320px) {
  body.welkom { font-size: 15px; }
  .w-top { gap: 8px; padding: 10px 12px; }
  .w-logo span:last-child { display: none; }
  .w-bericht { grid-template-columns: 1fr; }
  .w-av { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .w-demo-stip, .w-bericht { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- demo-kantoor (2.52) */
.w-kantoor-sectie { text-align: center; }
.w-kantoor-huis { position: relative; margin: 18px auto 0; max-width: 900px; height: min(60vh, 460px);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.w-kantoor-huis .kantoor-canvas { position: absolute; image-rendering: pixelated; }
.w-kantoor-poster { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.w-kantoor-lijst { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 12px; }
.w-kantoor-lijst .w-bericht { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.w-kantoor-lijst .w-av { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--bg); }
.w-kantoor-lijst .n { font-size: 12px; font-weight: 600; }
.w-kantoor-lijst .t { font-size: 12px; color: var(--muted); }
@media (max-width: 767px) { .w-kantoor-huis { height: 320px; } }
