:root {
  --blauw: #0053ff;
  --blauw-donker: #0040c4;
  --blauw-licht: #eef3ff;
  --tekst: #14161c;
  --grijs: #6b7180;
  --grijs-licht: #9aa0ac;
  --lijn: #e6e8ee;
  --achtergrond: #f6f7f9;
  --kaart: #ffffff;
  --groen: #0f9d58;
  --groen-licht: #e7f7ee;
  --oranje: #d97a00;
  --oranje-licht: #fff4e2;
  --rood: #e0312a;
  --rood-licht: #fdecec;
  --radius: 12px;
  --schaduw: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .04);
  --font: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --kleur: var(--blauw);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--tekst); background: var(--achtergrond); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blauw); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 19px; font-weight: 650; }
h3 { font-size: 16px; font-weight: 650; }
p { margin: 0 0 .8em; }
.stil { color: var(--grijs); }
.klein { font-size: 13px; }
.verborgen { display: none !important; }
img { max-width: 100%; display: block; }

/* ---------- knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; padding: 10px 16px;
  font: inherit; font-weight: 600; cursor: pointer; background: var(--blauw); color: #fff; transition: background .15s, transform .05s; white-space: nowrap; text-decoration: none; }
.knop:hover { background: var(--blauw-donker); text-decoration: none; }
.knop:active { transform: translateY(1px); }
.knop:disabled { opacity: .55; cursor: default; }
.knop.secundair { background: var(--blauw-licht); color: var(--blauw); }
.knop.secundair:hover { background: #dfe8ff; }
.knop.neutraal { background: #fff; color: var(--tekst); box-shadow: inset 0 0 0 1px var(--lijn); }
.knop.neutraal:hover { background: #f3f4f7; }
.knop.gevaar { background: var(--rood-licht); color: var(--rood); }
.knop.gevaar:hover { background: #fbdcdc; }
.knop.klein { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.knop.groot { padding: 13px 22px; font-size: 16px; border-radius: 11px; }
.knop.breed { width: 100%; }
.knoprij { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- formulieren */
label.veld { display: block; margin-bottom: 16px; }
label.veld > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label.veld > small { display: block; color: var(--grijs); font-size: 13px; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #d5d9e1; border-radius: 9px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--blauw); box-shadow: 0 0 0 3px rgba(0, 83, 255, .15); }
textarea { min-height: 100px; resize: vertical; }
.invoer-prefix { display: flex; align-items: stretch; }
.invoer-prefix > span { display: flex; align-items: center; padding: 0 10px; background: #f1f3f6; border: 1px solid #d5d9e1; border-right: 0; border-radius: 9px 0 0 9px; color: var(--grijs); font-size: 13px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.invoer-prefix > input { border-radius: 0 9px 9px 0; }
.rij2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.vinkje { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.vinkje input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blauw); flex: none; }
.vinkje b { display: block; font-weight: 600; }
.vinkje small { color: var(--grijs); }

.schakel { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.schakel input { position: absolute; opacity: 0; }
.schakel i { width: 42px; height: 24px; border-radius: 99px; background: #cfd4dc; position: relative; transition: background .15s; flex: none; }
.schakel i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.schakel input:checked + i { background: var(--groen); }
.schakel input:checked + i::after { transform: translateX(18px); }
.schakel input:focus-visible + i { box-shadow: 0 0 0 3px rgba(0, 83, 255, .25); }

/* ---------- kaarten, labels */
.kaart { background: var(--kaart); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 22px; margin-bottom: 18px; }
.kaart > h2:first-child { margin-bottom: 14px; }
.kaart-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.kaart-kop h2 { margin: 0; }
.label { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #eef0f4; color: var(--grijs); }
.label.groen { background: var(--groen-licht); color: var(--groen); }
.label.oranje { background: var(--oranje-licht); color: var(--oranje); }
.label.rood { background: var(--rood-licht); color: var(--rood); }
.label.blauw { background: var(--blauw-licht); color: var(--blauw); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.label.zonder::before { display: none; }
.melding { padding: 12px 14px; border-radius: 10px; background: var(--blauw-licht); color: #1d3a7a; margin-bottom: 16px; font-size: 14px; }
.melding.waarschuwing { background: var(--oranje-licht); color: #7a4500; }
.melding.fout { background: var(--rood-licht); color: #8a1c17; }
.melding.goed { background: var(--groen-licht); color: #0b5e36; }

/* ---------- tabellen */
.tabel-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table.tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tabel th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--grijs); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--lijn); white-space: nowrap; }
table.tabel td { padding: 11px 10px; border-bottom: 1px solid var(--lijn); vertical-align: middle; }
table.tabel tr:last-child td { border-bottom: 0; }
table.tabel tr.klikbaar { cursor: pointer; }
table.tabel tr.klikbaar:hover td { background: #f8f9fb; }
table.tabel td.rechts, table.tabel th.rechts { text-align: right; }
.leeg { text-align: center; padding: 40px 20px; color: var(--grijs); }
.leeg b { display: block; color: var(--tekst); font-size: 16px; margin-bottom: 4px; }

/* ---------- toast & modaal */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #1c1f26; color: #fff; padding: 11px 18px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 100; max-width: calc(100vw - 32px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }
#toast.zichtbaar { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.fout { background: var(--rood); }
.modaal-achter { position: fixed; inset: 0; background: rgba(15, 20, 30, .45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; animation: vervagen .15s; }
.modaal { background: #fff; border-radius: 16px; width: 100%; max-width: 560px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: opschuiven .18s; }
.modaal.breed { max-width: 720px; }
.modaal-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.modaal-kop h2 { margin: 0; }
.sluit { border: 0; background: #f1f3f6; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--grijs); flex: none; }
.sluit:hover { background: #e6e9ee; }
.modaal-voet { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
@keyframes vervagen { from { opacity: 0; } }
@keyframes opschuiven { from { opacity: 0; transform: translateY(12px); } }

/* ================= DASHBOARD ================= */
.app { display: flex; min-height: 100vh; }
.zijbalk { width: 250px; flex: none; background: #fff; border-right: 1px solid var(--lijn); padding: 22px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; padding: 4px 10px 22px; color: var(--tekst); }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; color: #3a3f4b; font-weight: 550; margin-bottom: 2px; }
.nav a:hover { background: #f3f5f8; text-decoration: none; }
.nav a.actief { background: var(--blauw-licht); color: var(--blauw); }
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav-kop { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--grijs-licht); font-weight: 650; padding: 18px 12px 6px; }
.nav-actie { font-size: 14px; }
.nav-actie span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-actie i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #cfd4dc; margin: 0 6px; }
.nav-actie i.open { background: var(--groen); }
.zijbalk-voet { margin-top: auto; border-top: 1px solid var(--lijn); padding-top: 14px; }
.gebruiker { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; cursor: pointer; border: 0; background: none; width: 100%; font: inherit; text-align: left; }
.gebruiker:hover { background: #f3f5f8; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blauw); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.gebruiker b { display: block; font-size: 14px; }
.gebruiker small { color: var(--grijs); font-size: 12px; }
.hoofd { flex: 1; min-width: 0; padding: 34px 40px 60px; max-width: 1180px; }
.topbalk { display: none; }
.pagina-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.pagina-kop p { margin: 4px 0 0; }
.terug { display: inline-flex; align-items: center; gap: 6px; color: var(--grijs); font-weight: 600; font-size: 14px; margin-bottom: 10px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--schaduw); padding: 18px 20px; }
.stat small { display: block; color: var(--grijs); font-weight: 600; font-size: 13px; }
.stat b { display: block; font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--grijs); }

.grafiek { width: 100%; height: 190px; display: block; }
.grafiek .staaf { fill: var(--blauw); }
.grafiek .staaf:hover { fill: var(--blauw-donker); }
.grafiek text { fill: var(--grijs); font-size: 11px; font-family: var(--font); }
.grafiek line { stroke: var(--lijn); }

.acties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.actie-kaart { background: #fff; border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.actie-kaart:hover { box-shadow: 0 6px 20px rgba(16,24,40,.09); transform: translateY(-1px); }
.actie-banner { height: 120px; background: var(--kleur); background-size: cover; background-position: center; position: relative; }
.actie-banner .label { position: absolute; top: 12px; left: 12px; background: #fff; }
.actie-kaart-inhoud { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.actie-kaart h3 { margin: 0 0 2px; }
.actie-cijfers { display: flex; gap: 18px; margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--grijs); }
.actie-cijfers b { display: block; color: var(--tekst); font-size: 16px; }
.nieuw-kaart { border: 2px dashed #ccd3df; background: transparent; box-shadow: none; align-items: center; justify-content: center; min-height: 230px; color: var(--blauw); font-weight: 650; gap: 8px; }
.nieuw-kaart:hover { background: #fff; }
.nieuw-kaart span { font-size: 34px; line-height: 1; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--lijn); margin-bottom: 22px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--grijs); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--tekst); text-decoration: none; }
.tabs a.actief { color: var(--blauw); border-color: var(--blauw); }
.tabs a .teller { background: #eef0f4; border-radius: 99px; padding: 0 7px; font-size: 12px; margin-left: 4px; }

.product-rij { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--lijn); }
.product-rij:last-child { border-bottom: 0; }
.product-foto { width: 56px; height: 56px; border-radius: 10px; background: #f0f2f5 center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--grijs-licht); }
.product-foto svg { width: 24px; height: 24px; }
.product-rij .info { flex: 1; min-width: 0; }
.product-rij .info b { display: block; }
.product-rij .info small { color: var(--grijs); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-rij.inactief { opacity: .55; }
.verplaats { display: flex; flex-direction: column; gap: 2px; }
.verplaats button { border: 0; background: #f1f3f6; border-radius: 6px; width: 26px; height: 20px; cursor: pointer; color: var(--grijs); font-size: 10px; }
.verplaats button:hover { background: #e3e7ed; }
.verplaats button:disabled { visibility: hidden; }

.foto-kiezer { display: flex; gap: 14px; align-items: center; }
.foto-kiezer .voorbeeld { width: 96px; height: 96px; border-radius: 12px; background: #f0f2f5 center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--grijs-licht); }
.foto-kiezer .voorbeeld.banner { width: 220px; height: 96px; }
.kleuren { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kleuren button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--lijn); cursor: pointer; }
.kleuren button.gekozen { box-shadow: 0 0 0 2px var(--tekst); }
.kleuren input[type=color] { width: 36px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input[type=search] { max-width: 280px; }
.segment { display: inline-flex; background: #eef0f4; border-radius: 9px; padding: 3px; }
.segment button { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 7px; cursor: pointer; color: var(--grijs); }
.segment button.actief { background: #fff; color: var(--tekst); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.samenvatting { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.samenvatting span { background: #fff; border: 1px solid var(--lijn); border-radius: 8px; padding: 5px 10px; font-size: 13.5px; }
.samenvatting b { color: var(--blauw); }
.detail-lijst { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 14.5px; margin-bottom: 16px; }
.detail-lijst dt { color: var(--grijs); }
.detail-lijst dd { margin: 0; word-break: break-word; }
.regels { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 6px 0 4px; }
.regels td { padding: 7px 0; border-bottom: 1px solid var(--lijn); }
.regels td:last-child { text-align: right; white-space: nowrap; }
.regels tr.totaal td { font-weight: 700; border-bottom: 0; }
.instelling-sectie { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--lijn); }
.instelling-sectie:first-of-type { padding-top: 0; }
.instelling-sectie:last-of-type { border-bottom: 0; }
.instelling-sectie h3 { margin-bottom: 4px; }
.instelling-sectie p { color: var(--grijs); font-size: 14px; }
.status-punt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #cfd4dc; margin-right: 6px; }
.status-punt.aan { background: var(--groen); }
.checklist li { margin-bottom: 6px; }

/* aanmelden */
.aanmeld-scherm { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 20% 10%, #e3ebff 0, transparent 45%), var(--achtergrond); }
.aanmeld-kaart { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(16,24,40,.08); padding: 34px 30px; }
.aanmeld-kaart .logo { padding: 0 0 18px; }

/* ================= WINKEL ================= */
.winkel { --kleur: var(--blauw); padding-bottom: 110px; }
.winkel-kop { background: var(--kleur); color: #fff; }
.winkel-kop-inhoud { max-width: 960px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.winkel-kop-inhoud b { font-size: 17px; }
.winkel-kop .mand-knop { background: rgba(255,255,255,.18); color: #fff; }
.winkel-kop .mand-knop:hover { background: rgba(255,255,255,.28); }
.winkel-banner { max-width: 960px; margin: 22px auto 0; padding: 0 20px; }
.winkel-banner img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 16px; }
.winkel-inhoud { max-width: 960px; margin: 0 auto; padding: 26px 20px; }
.winkel-intro h1 { font-size: 32px; margin-bottom: 4px; }
.winkel-intro .ondertitel { font-size: 18px; color: var(--grijs); margin-bottom: 14px; }
.winkel-intro .beschrijving { white-space: pre-line; color: #3a3f4b; max-width: 680px; }
.producten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.product { background: #fff; border-radius: 14px; box-shadow: var(--schaduw); overflow: hidden; display: flex; flex-direction: column; }
.product-afbeelding { aspect-ratio: 4 / 3; background: #eef0f4 center/cover no-repeat; display: grid; place-items: center; color: var(--grijs-licht); }
.product-afbeelding svg { width: 40px; height: 40px; }
.product-tekst { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-tekst h3 { font-size: 17px; margin-bottom: 4px; }
.product-tekst p { color: var(--grijs); font-size: 14px; white-space: pre-line; }
.product-onder { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.prijs { font-weight: 700; font-size: 18px; }
.stepper { display: inline-flex; align-items: center; background: #f1f3f6; border-radius: 10px; }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 20px; font-weight: 600; cursor: pointer; color: var(--kleur); border-radius: 10px; }
.stepper button:hover { background: #e4e8ee; }
.stepper button:disabled { color: #b8bec9; cursor: default; background: none; }
.stepper span { min-width: 30px; text-align: center; font-weight: 700; }
.toevoegen { background: var(--kleur); }
.toevoegen:hover { background: var(--kleur); filter: brightness(.92); }
.uitverkocht { color: var(--rood); font-weight: 600; font-size: 14px; }
.nog { font-size: 12.5px; color: var(--oranje); font-weight: 600; }
.mandbalk { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(246,247,249,.95) 30%); z-index: 20; }
.mandbalk .knop { max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; width: 100%; background: var(--kleur); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.mandbalk .knop:hover { filter: brightness(.94); }
.mand { max-width: 640px; margin: 0 auto; }
.mand-regel { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lijn); }
.mand-regel .product-foto { width: 52px; height: 52px; }
.mand-regel .info { flex: 1; min-width: 0; }
.mand-regel .info b { display: block; }
.mand-regel .info small { color: var(--grijs); }
.mand-regel .subtotaal { width: 80px; text-align: right; font-weight: 650; }
.mand-totaal { display: flex; justify-content: space-between; font-size: 20px; font-weight: 750; padding: 16px 0 6px; }
.betaalkeuze { display: grid; gap: 10px; margin-bottom: 18px; }
.betaalkeuze label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #d5d9e1; border-radius: 12px; cursor: pointer; font-weight: 600; background: #fff; }
.betaalkeuze label:has(input:checked) { border-color: var(--kleur); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kleur) 18%, transparent); }
.betaalkeuze input { accent-color: var(--kleur); width: 18px; height: 18px; margin: 0; }
.betaalkeuze small { display: block; color: var(--grijs); font-weight: 400; font-size: 13px; }
.knop.kleur { background: var(--kleur); }
.knop.kleur:hover { background: var(--kleur); filter: brightness(.92); }
.status-icoon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 30px; }
.status-icoon.goed { background: var(--groen-licht); color: var(--groen); }
.status-icoon.wacht { background: var(--oranje-licht); color: var(--oranje); }
.status-icoon.fout { background: var(--rood-licht); color: var(--rood); }
.centraal { text-align: center; }
.qr { width: 220px; height: 220px; margin: 10px auto; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--lijn); }
.bericht-blok { background: color-mix(in srgb, var(--kleur) 8%, #fff); border-left: 4px solid var(--kleur); border-radius: 10px; padding: 14px 16px; margin: 16px 0; white-space: pre-line; text-align: left; }
.draaier { width: 22px; height: 22px; border: 3px solid #dfe3ea; border-top-color: var(--kleur); border-radius: 50%; animation: draai .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes draai { to { transform: rotate(360deg); } }
.voettekst { text-align: center; color: var(--grijs-licht); font-size: 12.5px; padding: 30px 16px; }

/* ---------- smal scherm */
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .topbalk { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 30; }
  .topbalk .logo { padding: 0; font-size: 17px; }
  .menu-knop { border: 0; background: #f1f3f6; border-radius: 9px; width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; }
  .zijbalk { position: fixed; inset: 0 auto 0 0; z-index: 40; transform: translateX(-100%); transition: transform .2s; height: 100%; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .zijbalk.open { transform: none; }
  .zijbalk .logo { display: none; }
  .hoofd { padding: 22px 16px 60px; }
  h1 { font-size: 24px; }
  .rij2 { grid-template-columns: 1fr; }
  .instelling-sectie { grid-template-columns: 1fr; gap: 6px; }
  .kaart { padding: 18px 16px; }
  .tabel-wrap { margin: 0 -16px; padding: 0 16px; }
  .detail-lijst { grid-template-columns: 1fr; gap: 2px; }
  .detail-lijst dd { margin-bottom: 8px; }
  .verberg-smal { display: none; }
  .winkel-intro h1 { font-size: 26px; }
  .foto-kiezer .voorbeeld.banner { width: 140px; }
}

@media print {
  .zijbalk, .topbalk, .tabs, .filters, .knoprij, .pagina-kop .knop, #toast, .terug, .geen-print { display: none !important; }
  .hoofd { padding: 0; max-width: none; }
  .kaart { box-shadow: none; padding: 0; }
  body { background: #fff; }
}

/* ---------- aan de slag */
.voortgang-tekst { margin-bottom: 10px; }
.voortgang { height: 10px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.voortgang i { display: block; height: 100%; width: 0; background: var(--groen); border-radius: 99px; transition: width .4s; }
.stappen { display: grid; gap: 10px; }
.stap { background: #fff; border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; }
.stap-kop { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 20px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.stap-nr { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--blauw-licht); color: var(--blauw); flex: none; }
.stap.klaar .stap-nr { background: var(--groen); color: #fff; }
.stap-titel { flex: 1; font-weight: 650; font-size: 16px; }
.stap.klaar .stap-titel { color: var(--grijs); }
.stap-pijl { color: var(--grijs-licht); transition: transform .15s; }
.stap.open .stap-pijl { transform: rotate(180deg); }
.stap-inhoud { display: none; padding: 0 20px 20px 68px; }
.stap.open .stap-inhoud { display: block; }
.tip { background: #fffbea; border: 1px solid #f6e3a1; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.mini-stappen { padding-left: 20px; margin: 0 0 16px; }
.mini-stappen li { margin-bottom: 6px; }
details.geavanceerd { border-top: 1px solid var(--lijn); padding-top: 14px; margin-top: 4px; }
details.geavanceerd summary { cursor: pointer; color: var(--grijs); font-weight: 600; margin-bottom: 8px; }
select.rol-kiezer { width: auto; padding: 6px 10px; font-size: 14px; }
@media (max-width: 860px) { .stap-inhoud { padding: 0 16px 18px; } .stap-kop { padding: 14px 16px; } }
