/* Projectportaal Misterdot — huisstijl misterdot.nl (Poppins, navy #15162e, blauw #3dbfeb) */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700.woff2") format("woff2"); }

:root {
  --navy: #15162e;
  --navy-2: #1f2147;
  --blauw: #3dbfeb;
  --blauw-donker: #0b78b0;     /* tekst/knoppen op wit (contrast ≥ 4.5) */
  --blauw-zacht: #e7f6fd;
  --geel: #f6bb06;
  --groen: #84b440;

  --bg: #f4f6fb;
  --kaart: #ffffff;
  --tekst: #15162e;
  --zacht: #5d6280;
  --rand: #e3e6f0;
  --veld: #f8f9fc;
  --schaduw: 0 1px 2px rgba(21, 22, 46, .04), 0 8px 24px rgba(21, 22, 46, .06);
  --schaduw-hoog: 0 2px 4px rgba(21, 22, 46, .05), 0 18px 40px rgba(21, 22, 46, .12);

  --ok: #1e7a4c; --ok-bg: #e8f6ee;
  --let: #8a5a00; --let-bg: #fff6dc;

  --r: 16px;
  --r-klein: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f22;
    --kaart: #181a36;
    --tekst: #eef0fa;
    --zacht: #a6abc8;
    --rand: #2a2d52;
    --veld: #12142c;
    --blauw-donker: #5ccbf0;
    --blauw-zacht: #132c45;
    --schaduw: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --schaduw-hoog: 0 2px 4px rgba(0,0,0,.3), 0 18px 40px rgba(0,0,0,.4);
    --ok: #7fd9a8; --ok-bg: #12301f;
    --let: #f5c862; --let-bg: #33290f;
  }
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tekst);
  font: 400 16px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blauw-donker); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 600; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .8rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--kaart); color: var(--tekst); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 2px; border-radius: 6px; }

/* ---------- iconen (CSS-masks, data-SVG's) ---------- */
.ico, .kaart-ico, .dz-ico { display: inline-block; width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -.18em; }
.ico-tel     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ico-mail    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.ico-map     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z'/%3E%3C/svg%3E"); }
.ico-check   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ico-let     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E"); }
.ico-ontwerp { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E"); }
.ico-upload  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.7 8h1.8a4.5 4.5 0 0 1 2.5 8.2'/%3E%3Cpath d='M12 12v9M16 16l-4-4-4 4'/%3E%3C/svg%3E"); }
.ico-tekst   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); }
.ico-weg     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); }
.ico-pijl    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); }
.ico-extern  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M10 14 21 3M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E"); }
.ico-pen     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.ico-verplaats { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z'/%3E%3Cpath d='M9 13h6M13 10l3 3-3 3'/%3E%3C/svg%3E"); }
.ico-bericht { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
.kop { background: var(--navy); color: #fff; }
.kop-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.kop-logo img { display: block; height: 40px; width: auto; }
.kop-rechts { display: flex; align-items: center; gap: 18px; }
.kop-tag { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blauw); border: 1px solid rgba(61, 191, 235, .4); padding: 4px 10px; border-radius: 99px; }
.kop-tel { color: #fff; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.kop-tel .ico { color: var(--blauw); }
.kop-tel:hover { color: var(--blauw); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(600px 300px at 88% -10%, rgba(61, 191, 235, .35), transparent 70%),
    radial-gradient(420px 260px at 8% 120%, rgba(61, 191, 235, .18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 44px 0 104px;
}
.hero::after { /* subtiele stippen, knipoog naar 'dot' */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
}
.hero-in { position: relative; z-index: 1; }
.hero-tekst { max-width: 680px; }
.hero-groet { color: var(--blauw); font-weight: 600; margin: 0 0 6px; letter-spacing: .01em; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.hero-lead { color: rgba(255, 255, 255, .82); font-size: 1.05rem; max-width: 600px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-klein { padding-bottom: 96px; }

.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; padding: 6px 14px; border-radius: 99px; }
.chip-glas { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.chip-glas .ico { color: var(--blauw); }
.chip-geel  { background: var(--geel); color: var(--navy); }
.chip-blauw { background: var(--blauw); color: var(--navy); }
.chip-groen { background: var(--groen); color: var(--navy); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot.puls { animation: puls 1.8s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(21,22,46,.45); } 100% { box-shadow: 0 0 0 9px rgba(21,22,46,0); } }

/* ---------- kaarten ---------- */
.kaart { background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--r); padding: 26px; margin: 0 0 22px; box-shadow: var(--schaduw); }
.kaart-kop { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.kaart-kop .sub { color: var(--zacht); margin: 4px 0 0; font-size: .95rem; }
.kaart-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blauw-zacht); -webkit-mask: none; mask: none; position: relative; }
.kaart-ico::after { content: ""; position: absolute; inset: 11px; background: var(--blauw-donker); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- voortgang ---------- */
.voortgang { margin-top: -64px; position: relative; z-index: 2; box-shadow: var(--schaduw-hoog); }
.voortgang-kop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.voortgang-teller { color: var(--zacht); font-size: .9rem; }
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.stappen li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; color: var(--zacht); font-size: .85rem; }
.stappen li::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px; background: var(--rand); z-index: 0; }
.stappen li:first-child::before { display: none; }
.stappen li.klaar::before, .stappen li.nu::before { background: linear-gradient(90deg, var(--blauw), var(--blauw)); }
.bol { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--kaart); border: 3px solid var(--rand); font-weight: 600; color: var(--zacht); transition: transform .2s; }
.klaar .bol { background: var(--blauw); border-color: var(--blauw); color: var(--navy); }
.klaar .bol span { font-size: 0; width: 18px; height: 18px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.nu .bol { border-color: var(--blauw); background: var(--navy); color: #fff; box-shadow: 0 0 0 6px rgba(61, 191, 235, .2); }
.stappen li.nu { color: var(--tekst); font-weight: 600; }
.stappen li.klaar { color: var(--tekst); }

/* ---------- meldingen ---------- */
.melding { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-klein); padding: 14px 18px; margin: 0 0 22px; font-weight: 500; }
.melding .ico { margin-top: 3px; }
.melding.ok  { background: var(--ok-bg); color: var(--ok); }
.melding.let { background: var(--let-bg); color: var(--let); }
.melding ul { margin: 6px 0 0; padding-left: 1.1rem; font-weight: 400; }

/* ---------- raster ---------- */
.raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.zij { position: sticky; top: 20px; }

/* ---------- knoppen en velden ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 "Poppins", sans-serif; cursor: pointer; text-decoration: none;
  background: var(--blauw-donker); color: #fff; border: 2px solid var(--blauw-donker);
  border-radius: 99px; padding: 12px 22px; transition: transform .15s, box-shadow .15s, background .15s;
}
.knop:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 120, 176, .3); }
.knop:active { transform: none; }
.knop[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.knop-rand { background: transparent; color: var(--blauw-donker); }
.knop-rand:hover { background: var(--blauw-zacht); box-shadow: none; }
.knop-groot { padding: 15px 26px; font-size: 1rem; background: var(--navy); border-color: var(--navy); }
.knop-groot:hover { box-shadow: 0 8px 22px rgba(21, 22, 46, .3); }
@media (prefers-color-scheme: dark) {
  .knop { color: var(--navy); }
  .knop-rand { color: var(--blauw-donker); }
  .knop-groot { background: var(--blauw); border-color: var(--blauw); color: var(--navy); }
}
.icoonknop { background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--zacht); cursor: pointer; display: grid; place-items: center; }
.icoonknop:hover { background: var(--veld); color: #c0392b; }

label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.hint { color: var(--zacht); font-size: .88rem; margin: -2px 0 10px; }
input[type=text], textarea {
  width: 100%; font: inherit; color: inherit; background: var(--veld);
  border: 1.5px solid var(--rand); border-radius: var(--r-klein); padding: 12px 14px; margin-bottom: 14px;
  transition: border-color .15s, box-shadow .15s;
}
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--blauw); box-shadow: 0 0 0 4px rgba(61, 191, 235, .18); background: var(--kaart); }
textarea { resize: vertical; min-height: 120px; }
.veld-blok { margin-top: 22px; }

/* ---------- upload ---------- */
.upload { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dropzone {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 34px 20px; border: 2px dashed color-mix(in srgb, var(--blauw) 55%, var(--rand)); border-radius: var(--r);
  background: var(--blauw-zacht); transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.sleep, .dropzone:focus-within { border-color: var(--blauw); background: color-mix(in srgb, var(--blauw-zacht) 70%, var(--blauw) 12%); }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-ico { width: 40px; height: 40px; color: var(--blauw-donker); margin-bottom: 4px; }
.dz-titel strong { color: var(--blauw-donker); }
.dz-hint { color: var(--zacht); font-size: .85rem; }
.dz-lijst { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; position: relative; z-index: 1; pointer-events: none; }
.dz-lijst li { background: var(--kaart); border: 1px solid var(--rand); border-radius: 99px; padding: 3px 12px; font-size: .82rem; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tekstvak { margin-top: 18px; border: 1px solid var(--rand); border-radius: var(--r-klein); }
.tekstvak summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.tekstvak summary::-webkit-details-marker { display: none; }
.tekstvak summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--zacht); }
.tekstvak[open] summary::after { content: "–"; }
.tekstvak summary .ico { color: var(--blauw-donker); }
.tekstvak form { padding: 0 18px 18px; margin: 0; }
.tekstvak summary .teller { margin-left: 4px; }
.al-binnen { font-size: .88rem; background: var(--veld); border-radius: 8px; padding: 8px 12px; margin: 0 0 14px; color: var(--zacht); }

.manieren { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.manier { background: var(--veld); border: 1px solid var(--rand); border-radius: var(--r-klein); padding: 14px 16px; font-size: .9rem; }
.manier strong { display: block; margin-bottom: 2px; }
.manier span { color: var(--zacht); }
.upload-stap { width: 100%; }
.upload-stap input { margin-bottom: 6px; }
.upload-stap .hint { margin: 0; }
.upload-stap label, .upload-stap-kop { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.upload-stap-kop { margin: 6px 0 -4px; }
.stapnr { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .stapnr { background: var(--blauw); color: var(--navy); } }
.actie-verplaats summary:hover { color: var(--blauw-donker); }
.opt { font-weight: 400; font-size: .78rem; color: var(--zacht); background: var(--veld); border: 1px solid var(--rand); padding: 1px 8px; border-radius: 99px; margin-left: 4px; }
.groep-kop { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--zacht); margin: 18px 0 2px; }
@media (max-width: 720px) { .manieren { grid-template-columns: 1fr; } .upload .knop { width: 100%; } }
.lijst-kop { margin: 26px 0 8px; display: flex; align-items: center; gap: 8px; }
.teller { background: var(--blauw-zacht); color: var(--blauw-donker); font-size: .78rem; padding: 2px 9px; border-radius: 99px; }
.uploads { list-style: none; padding: 0; margin: 0; }
.uploads li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rand); }
.uploads li:first-child { border-top: 0; }
.type { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .03em; background: var(--blauw-zacht); color: var(--blauw-donker); }
.type-tekst, .type-txt, .type-doc, .type-docx, .type-odt, .type-rtf { background: #ece9fb; color: #5b47c7; }
.type-pdf { background: #fde8e6; color: #c0392b; }
.type-zip { background: #fff3d6; color: #8a5a00; }
@media (prefers-color-scheme: dark) {
  .type-tekst, .type-txt, .type-doc, .type-docx, .type-odt, .type-rtf { background: #2a2552; color: #b9adff; }
  .type-pdf { background: #3a1f22; color: #ff9b8f; }
  .type-zip { background: #33290f; color: #f5c862; }
}
.uploads .naam { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.uploads .naam strong { font-weight: 500; overflow-wrap: anywhere; }
.uploads .naam small { color: var(--zacht); font-size: .82rem; }
.uploads li { flex-wrap: wrap; }
.uploads form { margin: 0; }
.actie summary { list-style: none; }
.actie summary::-webkit-details-marker { display: none; }
.actie .sluit { display: none; font-size: .85rem; font-weight: 500; }
.actie[open] { order: 10; flex-basis: 100%; }
.actie[open] summary { display: flex; margin-left: auto; width: max-content; padding: 4px 10px; }
.actie[open] summary .ico { display: none; }
.actie[open] summary .sluit { display: inline; }
.actie-bewerk summary:hover { color: var(--blauw-donker); }
.actie-vlak { margin-top: 10px !important; padding: 16px; background: var(--veld); border: 1px solid var(--rand); border-radius: var(--r-klein); }
.actie-vlak input[type=text], .actie-vlak textarea { background: var(--kaart); }
.actie-bevestig { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.knop-rood { background: #c0392b; border-color: #c0392b; color: #fff; }
.knop-rood:hover { box-shadow: 0 6px 16px rgba(192, 57, 43, .3); }

.klaar-blok {
  margin-top: 24px; padding: 20px 22px; border-radius: var(--r); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--blauw-zacht), color-mix(in srgb, var(--blauw-zacht) 60%, var(--kaart)));
  border: 1px solid color-mix(in srgb, var(--blauw) 30%, var(--rand));
}
.klaar-blok p { margin: 2px 0 0; color: var(--zacht); font-size: .92rem; }

/* ---------- ontwerpen ---------- */
.ontwerpen { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ontwerp { border: 1.5px solid var(--rand); border-radius: var(--r); overflow: hidden; background: var(--kaart); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ontwerp:hover { transform: translateY(-3px); box-shadow: var(--schaduw-hoog); }
.ontwerp.gekozen { border-color: var(--blauw); box-shadow: 0 0 0 4px rgba(61, 191, 235, .18); }
.browser-balk { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--veld); border-bottom: 1px solid var(--rand); }
.browser-balk i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.browser-balk i:nth-child(2) { background: #ffbd2e; }
.browser-balk i:nth-child(3) { background: #28c941; }
.browser-balk span { margin-left: 8px; flex: 1; font-size: .72rem; color: var(--zacht); background: var(--kaart); border-radius: 99px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-vlak { height: 120px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #23406b 100%); }
.schets { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); }
.schets.s1 { width: 40%; height: 12px; background: var(--blauw); opacity: .9; }
.schets.s2 { width: 75%; }
.schets.s3 { width: 55%; }
.ontwerp-tekst { padding: 16px 18px 18px; position: relative; }
.ontwerp-tekst h3 { margin-bottom: 14px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.knoppen form { margin: 0; }
.knoppen .knop { padding: 10px 16px; font-size: .88rem; }
.lint { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--blauw); color: var(--navy); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }

/* ---------- berichten ---------- */
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.chat li { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; }
.chat .van-klant { align-self: flex-end; flex-direction: row-reverse; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.bubbel { background: var(--veld); border: 1px solid var(--rand); border-radius: 18px 18px 18px 6px; padding: 10px 16px; }
.van-klant .bubbel { background: var(--blauw-zacht); border-color: color-mix(in srgb, var(--blauw) 30%, var(--rand)); border-radius: 18px 18px 6px 18px; }
.bubbel p { margin: 2px 0 0; overflow-wrap: anywhere; }
.afzender { font-size: .78rem; color: var(--zacht); font-weight: 500; }

/* ---------- zijkolom ---------- */
.contact { text-align: left; }
.contact img { width: 56px; height: 56px; margin-bottom: 10px; }
.contact h2 { margin-bottom: 6px; }
.contact p { color: var(--zacht); font-size: .92rem; }
.contact-regel { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-klein); background: var(--veld); text-decoration: none; color: var(--tekst); font-weight: 500; font-size: .92rem; margin-top: 8px; overflow-wrap: anywhere; }
.contact-regel .ico { color: var(--blauw-donker); }
.contact-regel:hover { background: var(--blauw-zacht); }
.tips h2 { margin-bottom: 12px; }

.vinkjes { list-style: none; padding: 0; margin: 0 0 10px; }
.vinkjes li { position: relative; padding: 5px 0 5px 28px; font-size: .92rem; }
.vinkjes li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blauw-zacht);
}
.vinkjes li::after {
  content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 10px; background: var(--blauw-donker);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- pakketten ---------- */
.pakketten-sectie { margin: 30px 0 10px; }
.sectie-kop { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.sectie-kop h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.sectie-kop p { color: var(--zacht); }
.pakketten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pakket { background: var(--kaart); border: 1px solid var(--rand); border-radius: var(--r); padding: 26px; box-shadow: var(--schaduw); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.pakket::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blauw); }
.pakket h3 { font-size: 1.15rem; font-weight: 700; }
.pakket-sub { color: var(--blauw-donker); font-weight: 600; font-size: .92rem; margin: 2px 0 14px; }
.prijs { font-size: 2.4rem; font-weight: 700; line-height: 1; margin: 0 0 18px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.prijs .valuta { font-size: 1.2rem; font-weight: 600; }
.prijs .periode { font-size: .88rem; font-weight: 400; color: var(--zacht); margin-left: 4px; }
.pakket .vinkjes { border-top: 1px solid var(--rand); padding-top: 14px; }

.leeg { text-align: center; padding: 34px 26px; }
.leeg img { margin-bottom: 10px; }
.leeg p { color: var(--zacht); margin: 0; }
.hero-klein + .wrap .leeg { margin-top: -64px; position: relative; z-index: 2; box-shadow: var(--schaduw-hoog); }

/* ---------- footer ---------- */
.voet { background: var(--navy); color: rgba(255, 255, 255, .8); margin-top: 48px; font-size: .9rem; }
.voet-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.voet-merk { display: flex; align-items: center; gap: 12px; }
.voet-merk strong { display: block; color: #fff; font-weight: 600; }
.voet-merk span { font-size: .82rem; }
.voet-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover { color: var(--blauw); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .raster { grid-template-columns: 1fr; }
  .zij { position: static; }
  .pakketten { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .kop-in { min-height: 60px; }
  .kop-logo img { height: 32px; }
  .kop-tag { display: none; }
  .kop-tel span:last-child { display: none; }
  .kop-tel .ico { width: 22px; height: 22px; }
  .hero { padding: 30px 0 90px; }
  .kaart { padding: 20px; }
  /* voortgang verticaal: alle stappen leesbaar */
  .stappen { grid-template-columns: 1fr; gap: 0; }
  .stappen li { flex-direction: row; text-align: left; gap: 14px; padding: 6px 0; font-size: .92rem; }
  .stappen li::before { top: auto; bottom: 50%; right: auto; left: 18px; width: 3px; height: 100%; }
  .bol { width: 38px; height: 38px; }
  .chat li { max-width: 100%; }
  .klaar-blok .knop { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
