:root {
    --dw-kobalt: #1d3fd8;
    --dw-kobalt-donker: #142c99;
    --dw-kobalt-zacht: #e4e9fb;
    --dw-koraal: #ff6b4a;
    --dw-nacht: #0d1326;
    --dw-nacht-licht: #1a2340;
    --dw-tekst: #3b4664;
    --dw-gedempt: #6a7390;
    --dw-ijs: #f3f5fb;
    --dw-lijn: #d5daea;
    --dw-groen: #1a7a4a;
    --dw-groen-zacht: #e3f6ec;
    --dw-rood: #c8321e;
    --dw-rood-zacht: #fbeae7;
    --dw-oker: #8a5a00;
    --dw-oker-zacht: #fdf3dc;
    --dw-kop: "Space Grotesk", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --dw-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dw { margin: 0; font-family: var(--dw-font); color: var(--dw-nacht); background: #fff; line-height: 1.5; min-height: 100vh; }
.dw a { color: var(--dw-kobalt-donker); text-decoration: underline; text-underline-offset: 3px; }
.dw a:hover { color: var(--dw-kobalt); }
.dw h1, .dw h2, .dw h3 { margin: 0; font-family: var(--dw-kop); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--dw-nacht); }
.dw p { margin: 0; }
.dw button { font-family: inherit; }
.dw [hidden] { display: none !important; }
.dw :focus-visible { outline: 3px solid var(--dw-koraal); outline-offset: 3px; border-radius: 6px; }

.dw-schil { display: grid; grid-template-columns: minmax(340px, 38%) minmax(0, 1fr); min-height: 100vh; }

.dw-route { background: var(--dw-nacht); color: #fff; padding: 36px 44px 40px; display: flex; flex-direction: column; gap: 40px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dw-route a { color: #fff; }
.dw-logo { display: inline-flex; }
.dw-logo img { height: 34px; width: auto; display: block; }

.dw-makker { display: flex; gap: 18px; align-items: flex-start; }
.dw-orb { position: relative; width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dw-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 107, 74, .26); animation: dw-adem 3.6s ease-in-out infinite; }
.dw-orb span { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--dw-koraal); }
@keyframes dw-adem { 0%, 100% { transform: scale(.86); } 50% { transform: scale(1.08); } }
.dw-zegt { position: relative; background: #fff; color: var(--dw-nacht); border-radius: 4px 18px 18px 18px; padding: 16px 18px; font-size: 16px; line-height: 1.5; max-width: 340px; }
.dw-zegt b { font-weight: 600; }

.dw-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dw-stop { position: relative; display: flex; gap: 16px; align-items: flex-start; padding-bottom: 26px; color: rgba(255, 255, 255, .55); font-size: 16px; }
.dw-stop:last-child { padding-bottom: 0; }
.dw-stop::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .18); }
.dw-stop:last-child::before { display: none; }
.dw-stop__nr { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; background: var(--dw-nacht); position: relative; }
.dw-stop__nr svg { width: 14px; height: 14px; }
.dw-stop__naam { padding-top: 2px; }
.dw-stop--klaar { color: rgba(255, 255, 255, .8); }
.dw-stop--klaar .dw-stop__nr { background: #fff; border-color: #fff; color: var(--dw-nacht); }
.dw-stop--klaar::before { background: rgba(255, 255, 255, .7); }
.dw-stop--nu { color: #fff; font-weight: 600; }
.dw-stop--nu .dw-stop__nr { background: var(--dw-koraal); border-color: var(--dw-koraal); color: var(--dw-nacht); }

.dw-beloftes { list-style: none; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.dw-beloftes li { display: flex; gap: 10px; align-items: flex-start; }
.dw-beloftes svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--dw-koraal); }

.dw-werk { padding: 56px clamp(24px, 6vw, 88px) 64px; display: flex; flex-direction: column; }
.dw-werk__binnen { width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; flex-grow: 1; }
.dw-kop { display: flex; flex-direction: column; gap: 12px; }
.dw-kop h1 { font-size: clamp(30px, 3.4vw, 42px); }
.dw-kop p { font-size: 18px; color: var(--dw-tekst); max-width: 52ch; }
.dw-voet { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--dw-gedempt); display: flex; flex-wrap: wrap; gap: 6px 18px; }

.dw-form { display: flex; flex-direction: column; gap: 20px; }
.dw-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dw-veld { display: flex; flex-direction: column; gap: 6px; }
.dw-veld label { font-size: 15px; font-weight: 600; color: var(--dw-nacht); }
.dw-veld label small { font-weight: 400; color: var(--dw-gedempt); font-size: 14px; }
.dw-veld input[type="text"], .dw-veld input[type="email"], .dw-veld input[type="tel"], .dw-veld input[type="password"] { width: 100%; height: 50px; border: 1.5px solid var(--dw-lijn); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--dw-nacht); background: #fff; transition: border-color .15s, box-shadow .15s; }
.dw-veld input:hover { border-color: #b7bfd8; }
.dw-veld input:focus { outline: none; border-color: var(--dw-kobalt); box-shadow: 0 0 0 4px rgba(29, 63, 216, .14); }
.dw-veld--fout input { border-color: var(--dw-rood); }
.dw-veld__hulp { font-size: 14px; color: var(--dw-gedempt); }
.dw-veld__fout { font-size: 14px; color: var(--dw-rood); font-weight: 500; }
.dw-veld__ok { font-size: 14px; color: var(--dw-groen); font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.dw-veld__ok svg, .dw-veld__fout svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.dw-veld__fout--icoon { display: flex; gap: 6px; align-items: flex-start; }
.dw-valkuil { position: absolute; left: -6000px; width: 1px; height: 1px; overflow: hidden; }

.dw-wachtwoord { position: relative; }
.dw-wachtwoord input { padding-right: 84px; }
.dw-wachtwoord button { position: absolute; right: 6px; top: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--dw-ijs); color: var(--dw-kobalt-donker); font-size: 14px; font-weight: 600; cursor: pointer; }
.dw-wachtwoord button:hover { background: var(--dw-kobalt-zacht); }
.dw-eisen { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--dw-gedempt); }
.dw-eisen li { display: flex; align-items: center; gap: 6px; }
.dw-eisen li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #b7bfd8; }
.dw-eisen li.is-ok { color: var(--dw-groen); }
.dw-eisen li.is-ok::before { background: var(--dw-groen); border-color: var(--dw-groen); }

.dw-veld label.dw-akkoord { font-weight: 400; }
.dw-akkoord { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--dw-tekst); }
.dw-akkoord input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--dw-kobalt); flex-shrink: 0; }

.dw-knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; border: 1.5px solid var(--dw-kobalt); background: var(--dw-kobalt); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.dw a.dw-knop { color: #fff; text-decoration: none; }
.dw-knop:hover { background: var(--dw-kobalt-donker); border-color: var(--dw-kobalt-donker); color: #fff; }
.dw-knop[disabled] { background: #9aa6d6; border-color: #9aa6d6; cursor: default; }
.dw-knop--rustig, .dw a.dw-knop--rustig { background: #fff; color: var(--dw-nacht); border-color: var(--dw-lijn); }
.dw-knop--rustig:hover, .dw a.dw-knop--rustig:hover { background: var(--dw-ijs); color: var(--dw-nacht); border-color: #b7bfd8; }
.dw-knop--link { background: transparent; border-color: transparent; color: var(--dw-kobalt-donker); padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; font-size: 16px; }
.dw-knop--link:hover { background: transparent; border-color: transparent; color: var(--dw-kobalt); }
.dw-knop.is-bezig { pointer-events: none; }
.dw-knop.is-bezig::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: dw-draai .8s linear infinite; }
@keyframes dw-draai { to { transform: rotate(360deg); } }
.dw-acties { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.dw-onder-knop { font-size: 14px; color: var(--dw-gedempt); }

.dw-melding { border-radius: 12px; padding: 14px 16px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.dw-melding svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.dw-melding--fout { background: var(--dw-rood-zacht); color: #7d1d10; }
.dw-melding--ok { background: var(--dw-groen-zacht); color: #0f5732; }
.dw-melding--let-op { background: var(--dw-oker-zacht); color: var(--dw-oker); }
.dw-melding--info { background: var(--dw-ijs); color: var(--dw-tekst); }

.dw-post { display: flex; flex-direction: column; gap: 16px; background: var(--dw-ijs); border-radius: 16px; padding: 24px; }
.dw-post__adres { font-family: var(--dw-kop); font-size: 22px; font-weight: 600; word-break: break-all; }
.dw-post ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--dw-tekst); font-size: 16px; }

.dw-uitleg { border: 1.5px solid var(--dw-lijn); border-radius: 12px; }
.dw-uitleg summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dw-uitleg summary::-webkit-details-marker { display: none; }
.dw-uitleg summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--dw-kobalt); font-weight: 400; }
.dw-uitleg[open] summary::after { content: "\2212"; }
.dw-uitleg__tekst { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--dw-tekst); }
.dw-uitleg__tekst code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--dw-ijs); padding: 2px 6px; border-radius: 6px; font-size: 14px; color: var(--dw-nacht); }

.dw-groep { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--dw-lijn); }
.dw-groep h2 { font-size: 19px; font-weight: 600; }
.dw-groep > p { font-size: 15px; color: var(--dw-gedempt); margin-top: -8px; }

.dw-stand { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--dw-lijn); border-radius: 16px; overflow: hidden; }
.dw-stand li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--dw-lijn); }
.dw-stand li:first-child { border-top: 0; }
.dw-stand__teken { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.dw-stand__teken svg { width: 14px; height: 14px; }
.dw-stand__naam { font-size: 16px; font-weight: 600; }
.dw-stand__aantal { font-family: var(--dw-kop); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dw-nacht); }
.dw-stand__melding { grid-column: 2 / -1; font-size: 14px; color: var(--dw-gedempt); }
.dw-stand li[data-status="wacht"] .dw-stand__teken { border: 2px solid var(--dw-lijn); }
.dw-stand li[data-status="wacht"] .dw-stand__naam, .dw-stand li[data-status="wacht"] .dw-stand__aantal { color: var(--dw-gedempt); font-weight: 500; }
.dw-stand li[data-status="bezig"] { background: var(--dw-ijs); }
.dw-stand li[data-status="bezig"] .dw-stand__teken { border: 2.5px solid var(--dw-kobalt-zacht); border-top-color: var(--dw-kobalt); animation: dw-draai .8s linear infinite; }
.dw-stand li[data-status="klaar"] .dw-stand__teken { background: var(--dw-groen); color: #fff; }
.dw-stand li[data-status="geen_toegang"] .dw-stand__teken, .dw-stand li[data-status="overgeslagen"] .dw-stand__teken { background: var(--dw-oker-zacht); color: var(--dw-oker); }
.dw-stand li[data-status="fout"] .dw-stand__teken { background: var(--dw-rood-zacht); color: var(--dw-rood); }
.dw-stand__teken svg { display: none; }
.dw-stand li[data-status="klaar"] .dw-stand__teken .dw-i-ok,
.dw-stand li[data-status="geen_toegang"] .dw-stand__teken .dw-i-streep,
.dw-stand li[data-status="overgeslagen"] .dw-stand__teken .dw-i-streep,
.dw-stand li[data-status="fout"] .dw-stand__teken .dw-i-kruis { display: block; }

.dw-feiten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dw-feiten li { background: var(--dw-ijs); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--dw-tekst); }
.dw-feiten b { display: block; font-family: var(--dw-kop); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--dw-nacht); }

.dw-concept { background: var(--dw-oker-zacht); color: var(--dw-oker); border-radius: 12px; padding: 14px 18px; font-size: 16px; font-weight: 500; margin-bottom: 32px; }

@media (max-width: 960px) {
    .dw-schil { grid-template-columns: 1fr; }
    .dw-route { position: static; height: auto; padding: 20px 24px 24px; gap: 20px; }
    .dw-stops { flex-direction: row; gap: 8px; }
    .dw-stop { padding-bottom: 0; flex: 1; flex-direction: column; gap: 6px; font-size: 12px; align-items: flex-start; }
    .dw-stop::before { left: 34px; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; }
    .dw-stop__naam { padding-top: 0; }
    .dw-stop:not(.dw-stop--nu) .dw-stop__naam { display: none; }
    .dw-beloftes { display: none; }
    .dw-zegt { max-width: none; }
    .dw-werk { padding: 32px 24px 48px; }
    .dw-rij { grid-template-columns: 1fr; }
    .dw-feiten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .dw-orb::before { animation: none; }
    .dw-stand li[data-status="bezig"] .dw-stand__teken, .dw-knop.is-bezig::before { animation-duration: 2.4s; }
}
.dw-voet form { display: inline; margin: 0; }
.dw .dw-knop--voet { min-height: 0; padding: 0; font-size: 14px; font-weight: 400; }
