/* Offerteformulier — gedeelde stijl.
   Merkkleuren (--accent, --hero, …) worden per site overschreven in index.html. */

:root {
  --accent: #d4692f;
  --accent-strong: #b8551f;
  --accent-soft: #fdf1ea;
  --accent-ink: #fff;
  --hero: #111418;
  --hero-2: #1c2128;

  --ink: #14171c;
  --ink-2: #3a414b;
  --muted: #677180;
  --line: #e3e6ea;
  --line-strong: #cbd1d8;
  --bg: #f2f3f5;
  --surface: #fff;
  --surface-2: #f7f8f9;
  --ok: #138a5a;
  --ok-soft: #e6f5ee;
  --warn: #a15c00;
  --warn-soft: #fff5e5;
  --err: #c9372c;
  --err-soft: #fdeceb;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(16 19 23 / 6%), 0 10px 30px rgb(16 19 23 / 7%);
  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --brand: var(--accent);
  --font-brand: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(160deg, var(--hero-2), var(--hero));
  padding: 22px 16px 96px;
}
/* Sfeerfoto: <img class="hero-photo"> in index.html; weglaten mag */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
}
/* Donkere laag (tekst blijft leesbaar) + subtiel raster */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 55%),
    linear-gradient(90deg, color-mix(in srgb, var(--hero) 90%, transparent) 0%, color-mix(in srgb, var(--hero) 66%, transparent) 45%, color-mix(in srgb, var(--hero) 20%, transparent) 100%),
    linear-gradient(to bottom, transparent 55%, color-mix(in srgb, var(--hero) 60%, transparent));
}
@media (max-width: 640px) {
  .hero::before {
    background:
      linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(to bottom, color-mix(in srgb, var(--hero) 72%, transparent), color-mix(in srgb, var(--hero) 88%, transparent));
  }
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 6px;
  background: var(--brand);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: 20px; }
.brand { display: inline-block; transition: transform .3s var(--ease); }
.brand:hover { transform: translateY(-2px); }
.brand img { height: clamp(52px, 9vw, 70px); width: auto; display: block; box-shadow: 0 10px 30px rgb(0 0 0 / 30%); }

/* Logo nagebouwd in CSS; vervang door <img> zodra het logobestand er is */
.brand-logo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 9px 16px 10px 14px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-family: var(--font-brand); line-height: .86; text-transform: uppercase;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 35%, transparent);
  transition: transform .3s var(--ease);
}
.brand-logo:hover { transform: translateY(-2px); }
.brand-logo .bl-de { font-weight: 400; font-size: 19px; letter-spacing: .01em; margin-bottom: 4px; }
.brand-logo .bl-name { font-weight: 400; font-size: 30px; letter-spacing: .005em; white-space: nowrap; }
.brand-logo .bl-name b { font-weight: 800; }

.hero h1 { font-family: var(--font-brand); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 7vw, 58px); line-height: .98; letter-spacing: 0; margin: 30px 0 14px; max-width: 22ch; }
.hero h1 em { font-style: normal; font-weight: 400; color: color-mix(in srgb, var(--brand) 55%, #fff); }
.hero p { margin: 0; color: rgb(255 255 255 / 72%); max-width: 56ch; font-size: 17px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.trust li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 12%);
  font-size: 13.5px; color: rgb(255 255 255 / 88%);
  backdrop-filter: blur(6px);
}
.trust svg { font-size: 16px; color: color-mix(in srgb, var(--accent) 70%, #fff); }

/* ---------- Panel ---------- */

.shell { max-width: 820px; margin: -64px auto 56px; padding: 0 16px; position: relative; }
.panel {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4.5vw, 44px);
}

.draft-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 22px; padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  font-size: 14.5px;
  animation: reveal .4s var(--ease);
}
.draft-banner > svg { font-size: 20px; color: var(--accent-strong); }
.draft-banner p { margin: 0; flex: 1 1 220px; }
.draft-banner .link-btn { font-size: 14px; }

/* ---------- Voortgang ---------- */

.progress { margin-bottom: 30px; }
.progress-meta { display: none; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.progress-pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-fill {
  height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff));
  transition: width .6s var(--ease);
}
.progress-steps { display: flex; justify-content: space-between; gap: 4px; list-style: none; margin: 14px 0 0; padding: 0; }
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 0; background: none; padding: 2px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.progress-step:disabled { cursor: default; opacity: .55; }
.progress-dot {
  position: relative; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 13px; transition: all .3s var(--ease);
}
.progress-dot svg { position: absolute; font-size: 15px; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: all .3s var(--ease); }
.progress-step.is-done .progress-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.progress-step.is-done .progress-dot span { opacity: 0; }
.progress-step.is-done .progress-dot svg { opacity: 1; transform: none; }
.progress-step.is-current { color: var(--ink); }
.progress-step.is-current .progress-dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: var(--ring); }
.progress-step:not(:disabled):hover .progress-dot { border-color: var(--accent); }
.progress-step:focus-visible { outline: none; }
.progress-step:focus-visible .progress-dot { box-shadow: var(--ring); }

@media (max-width: 640px) {
  .progress-meta { display: flex; }
  .progress-steps { display: none; }
}

/* ---------- Stappen ---------- */

.step { display: none; }
.step.is-active { display: block; animation: step-in .45s var(--ease); }
.step.is-active.back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-28px); } }

.step-head { margin-bottom: 26px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 6px; }
.step-head h2 { font-family: var(--font-brand); font-weight: 700; font-size: clamp(28px, 5vw, 36px); line-height: 1.05; letter-spacing: 0; margin: 0 0 6px; outline: none; }
.step-head p { margin: 0; color: var(--muted); }

.subhead { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 34px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Velden ---------- */

.field { margin: 0 0 28px; border-radius: var(--radius-sm); }
.field .field { margin: 0; }
.field-label {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
  font-weight: 650; margin-bottom: 10px; color: var(--ink);
}
.field-label .req { color: var(--accent-strong); margin-left: 2px; }
.field-label .opt { font-weight: 400; font-size: 13.5px; color: var(--muted); margin-left: 4px; }
.hint { font-size: 14px; color: var(--muted); margin: -4px 0 12px; }

.info-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 2px 0; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--accent-strong);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px;
}
.info-btn svg { font-size: 16px; }
.info-btn:hover { text-decoration-color: currentColor; }
.info-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.field-error { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; color: var(--err); font-size: 14.5px; font-weight: 500; }
.field-error:empty { display: none; }
.field-error svg { font-size: 17px; margin-top: 2px; }
.field.shake { animation: shake .42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.reveal { animation: reveal .4s var(--ease); }
@keyframes reveal { from { opacity: 0; transform: translateY(-8px); } }

/* Tekstvelden */
.input {
  display: block; width: 100%; height: 52px; padding: 0 15px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}
.input::placeholder { color: #9aa2ad; }
.input:hover { border-color: #b3bac3; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.input[readonly] { background: var(--surface-2); color: var(--ink-2); }
.input[readonly]:focus { box-shadow: none; border-color: var(--line-strong); }
textarea.input { height: auto; min-height: 112px; padding: 13px 15px; resize: vertical; line-height: 1.5; }
select.input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23677180' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.has-error .input { border-color: var(--err); }
.has-error .input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 18%, transparent); }
.is-valid .input:not([readonly]):not(select) {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}

.row { display: grid; gap: 0 14px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.row-address { --cols: 1.4fr 1fr .8fr; grid-template-columns: 1.4fr 1fr .8fr; }
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .row-address { grid-template-columns: 1fr 1fr; }
  .row-address > :first-child { grid-column: 1 / -1; }
}

/* ---------- Keuzekaarten ---------- */

.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.choices.wide { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.choice-body {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px 16px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s, background-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.choice-body::after {
  content: ""; position: absolute; top: 11px; right: 11px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--surface) center / 13px no-repeat;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}
.choice input[type=checkbox] + .choice-body::after { border-radius: 7px; }
.choice:hover .choice-body { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.choice input:checked + .choice-body {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 22px color-mix(in srgb, var(--accent) 14%, transparent);
}
.choice input:checked + .choice-body::after {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  animation: pop .35s var(--ease);
}
.choice input:focus-visible + .choice-body { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.choice:active .choice-body { transform: scale(.985); }
.has-error .choice-body { border-color: color-mix(in srgb, var(--err) 45%, var(--line)); }
@keyframes pop { 0% { transform: scale(.5); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (max-width: 560px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .choices.wide { grid-template-columns: 1fr; }
  .choice-body { padding: 13px 12px 12px; }
  .choice-body::after { top: 9px; right: 9px; width: 20px; height: 20px; }
  .choice-icon { font-size: 26px; margin-bottom: 4px; }
  .choice-photo { margin: -13px -12px 10px; font-size: 28px; }
  .choice-title { font-size: 15px; padding-right: 22px; }
  .choice-sub { font-size: 13px; }
  .choices.wide .choice-title { padding-right: 26px; }
}

/* Kaart met voorbeeldfoto (of icoon-tegel als er geen foto is) */
.choice-photo {
  display: grid; place-items: center;
  margin: -16px -16px 12px; aspect-ratio: 22 / 15; overflow: hidden;
  border-radius: 10.5px 10.5px 0 0; background: var(--surface-2);
  font-size: 34px; color: var(--ink-2);
}
.choice-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.choice:hover .choice-photo img { transform: scale(1.05); }
.choice input:checked + .choice-body .choice-photo { color: var(--accent-strong); }
.choice-photo + .choice-title { padding-right: 0; }
.choice-body:has(.choice-photo)::after { box-shadow: 0 2px 8px rgb(0 0 0 / 25%); }

.choice-icon { font-size: 30px; color: var(--ink-2); margin-bottom: 8px; transition: color .2s, transform .3s var(--ease); }
.choice input:checked + .choice-body .choice-icon { color: var(--accent-strong); transform: scale(1.06); }
.choice-title { font-weight: 650; padding-right: 26px; line-height: 1.3; }
.choice-sub { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* Pilvorm voor korte opties */
.choices.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.pills .choice-body { flex-direction: row; align-items: center; padding: 10px 16px; border-radius: 999px; }
.choices.pills .choice-body::after { display: none; }
.choices.pills .choice-title { padding: 0; font-weight: 600; font-size: 15px; }
.choices.pills .choice:hover .choice-body { transform: none; box-shadow: none; }
.choices.pills .choice input:checked + .choice-body { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }

/* Kleurstalen */
.swatch {
  height: 46px; margin: -4px -4px 10px; border-radius: 8px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}
.swatch.multi { background: conic-gradient(from 200deg, #e94f37, #f5b700, #4caf50, #2196f3, #9c27b0, #e94f37); }
.swatch.advice { background: repeating-linear-gradient(135deg, var(--surface-2) 0 8px, var(--line) 8px 9px); display: grid; place-items: center; color: var(--muted); font-size: 22px; }

/* Glansgraad-staaf */
.gloss {
  height: 46px; margin: -4px -4px 10px; border-radius: 8px;
  background: linear-gradient(135deg, #2a2f36, #3c434c);
  position: relative; overflow: hidden;
}
.gloss::after {
  content: ""; position: absolute; inset: -40% -10%;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / var(--g)) 50%, transparent 62%);
}

/* ---------- Aantallen ---------- */

.counts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.count {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s;
}
.count.is-filled { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--accent-soft); }
.count-label { font-weight: 650; line-height: 1.3; }
.count-label small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.stepper {
  display: flex; align-items: center;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); overflow: hidden;
}
.stepper:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.stepper button {
  flex: none; width: 46px; height: 44px; border: 0; background: none;
  font-size: 22px; line-height: 1; color: var(--ink-2); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.stepper button:hover { background: var(--surface-2); color: var(--accent-strong); }
.stepper button:active { background: var(--accent-soft); }
.stepper input {
  flex: 1; min-width: 0; height: 44px; border: 0; background: none; text-align: center;
  font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.stepper input:focus { outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input.bump { animation: bump .25s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); } }
.stepper-unit { padding-right: 14px; font-size: 14px; color: var(--muted); }
.count .field-error { margin-top: 0; font-size: 13.5px; }

/* ---------- Notities ---------- */

.note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2);
}
.note > svg { font-size: 19px; margin-top: 1px; color: var(--accent-strong); }
.note.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 22%, transparent); }
.note.warn > svg { color: var(--warn); }
.note p { margin: 0; }
.field > .note { margin-top: 14px; }

/* ---------- Foto's ---------- */

.shot-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.shot-guide li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.shot-guide svg { font-size: 26px; color: var(--accent-strong); stroke-width: 1.5; }
.shot-guide img { flex: none; width: 68px; height: 52px; object-fit: cover; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%); }
.figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot-guide b { display: block; color: var(--ink); font-size: 14px; }

.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px;
  padding: 28px 18px; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease);
}
.dropzone:focus-visible { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.dropzone.is-drag { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.01); }
.dropzone.is-drag * { pointer-events: none; }
.dropzone-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 26px; color: var(--accent-strong);
  margin-bottom: 6px; transition: transform .3s var(--ease);
}
.dropzone.is-drag .dropzone-icon { transform: translateY(-4px) scale(1.06); }
.dropzone strong { font-size: 16px; }
.dropzone small { color: var(--muted); font-size: 13.5px; }
.dropzone .drag-only { display: none; }
@media (hover: hover) and (pointer: fine) { .dropzone .drag-only { display: inline; } }
.upload-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.has-error .dropzone { border-color: color-mix(in srgb, var(--err) 55%, var(--line-strong)); }

.upload-meter { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.upload-meter span { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.upload-meter.is-ok { color: var(--ok); }
.upload-meter.is-ok span { color: var(--ok); }
.upload-notice { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.thumbs:empty { display: none; }
.thumb {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  animation: thumb-in .35s var(--ease);
}
@keyframes thumb-in { from { opacity: 0; transform: scale(.85); } }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-file { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .05em; }
.thumb-remove {
  position: absolute; top: 6px; right: 6px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgb(17 20 24 / 70%); color: #fff; cursor: pointer; font-size: 15px;
  backdrop-filter: blur(4px); transition: background-color .15s, transform .15s;
}
.thumb-remove svg { stroke-width: 2.4; }
.thumb-remove:hover { background: var(--err); transform: scale(1.08); }
.thumb.is-busy .thumb-remove { display: none; }

.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
.spinner-sm { width: 15px; height: 15px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Adres ---------- */

.address-status {
  display: flex; align-items: flex-start; gap: 8px;
  margin: -14px 0 22px; padding: 10px 13px; border-radius: 10px;
  font-size: 14.5px; animation: reveal .3s var(--ease);
}
.address-status svg { font-size: 17px; margin-top: 2px; }
.address-status.is-busy { background: var(--surface-2); color: var(--muted); align-items: center; }
.address-status.is-ok { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.address-status.is-warn { background: var(--warn-soft); color: var(--warn); }
.address-fields { position: relative; }
.address-manual { position: absolute; right: 0; top: 0; }

/* ---------- Toestemming ---------- */

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.consent input {
  appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0;
  border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--surface) center / 13px no-repeat;
  cursor: pointer; transition: all .2s;
}
.consent input:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.consent input:focus-visible { outline: none; box-shadow: var(--ring); }
.consent a { color: var(--accent-strong); }
.has-error .consent input { border-color: var(--err); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Samenvatting ---------- */

.summary-section { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 14px; overflow: hidden; }
.summary-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.summary-head h3 { margin: 0; font-size: 15.5px; }
.summary-section dl { margin: 0; padding: 4px 16px; }
.summary-section dl > div { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-section dl > div:last-child { border-bottom: 0; }
.summary-section dt { color: var(--muted); font-size: 14.5px; }
.summary-section dd { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.summary-photos { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 16px 16px; }
.summary-photos img, .summary-photos .thumb-file { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: var(--surface-2); }
@media (max-width: 520px) { .summary-section dl > div { grid-template-columns: 1fr; gap: 2px; } }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 4px 2px; cursor: pointer;
  font-weight: 650; font-size: 14px; color: var(--accent-strong);
}
.link-btn svg { font-size: 15px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Knoppen & navigatie ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; font-weight: 650; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn svg { font-size: 19px; transition: transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-primary:hover .arrow-r { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-ghost:hover .arrow-l { transform: translateX(-3px); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn-light { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-light:hover { border-color: var(--accent); color: var(--accent-strong); }

.nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
}
.nav .spacer { flex: 1; }
.saved { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .4s; }
.saved svg { color: var(--ok); stroke-width: 2.4; }
.saved.is-shown { animation: saved 2.6s ease forwards; }
@keyframes saved { 0%, 100% { opacity: 0; } 12%, 75% { opacity: 1; } }

@media (max-width: 640px) {
  .shell { padding: 0 10px; }
  .panel { border-radius: 20px; padding-bottom: 0; }
  .nav {
    position: sticky; bottom: 0; z-index: 5;
    margin: 30px calc(-1 * clamp(20px, 4.5vw, 44px)) 0;
    padding: 12px clamp(20px, 4.5vw, 44px) calc(12px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
  }
  .nav { gap: 10px; }
  .nav .btn { flex: 1; min-width: 0; padding: 0 14px; }
  .nav .btn-ghost { flex: 0 0 52px; padding: 0; }
  .nav .spacer { display: none; }
  .nav .btn-ghost .label { display: none; }
  .saved { display: none; }
}
@media (max-width: 360px) {
  .nav .btn-primary { font-size: 15px; gap: 6px; }
  .nav [data-submit] svg { display: none; }
}

/* ---------- Verzenden & bevestiging ---------- */

.sending {
  position: absolute; inset: 0; z-index: 20;
  display: grid; place-items: center; text-align: center; padding: 24px;
  border-radius: inherit; background: rgb(255 255 255 / 90%); backdrop-filter: blur(6px);
  animation: reveal .3s var(--ease);
}
.sending-box { width: min(340px, 100%); }
.sending .spinner { margin: 0 auto 16px; width: 38px; height: 38px; }
.sending p { margin: 0 0 14px; font-weight: 600; }
.sending-track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.sending-fill { height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

.success { text-align: center; padding: 20px 0 10px; }
.success-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.success-check svg { font-size: 44px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: clamp(24px, 4vw, 30px); letter-spacing: -.02em; margin: 0 0 10px; outline: none; }
.success p { color: var(--muted); max-width: 48ch; margin: 0 auto 10px; }
.success-ref { display: inline-block; margin: 8px 0 24px; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.success-steps { text-align: left; max-width: 440px; margin: 0 auto; padding: 0; list-style: none; counter-reset: s; }
.success-steps li { position: relative; padding: 0 0 16px 42px; color: var(--ink-2); counter-increment: s; }
.success-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 14px; }

/* ---------- Info-vensters ---------- */

dialog.info {
  width: min(560px, calc(100vw - 32px)); max-height: min(86vh, 760px);
  padding: 0; border: 0; border-radius: 22px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / 30%);
}
dialog.info[open] { animation: dialog-in .35s var(--ease); }
dialog.info::backdrop { background: rgb(14 17 21 / 55%); backdrop-filter: blur(3px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.info-inner { padding: 26px clamp(20px, 4vw, 30px) 28px; }
.info-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.info-head h3 { margin: 0; font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
.info-close { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; }
.info-close:hover { background: var(--line); }
.info-inner p, .info-inner li { color: var(--ink-2); font-size: 15.5px; }
.info-inner ul, .info-inner ol { padding-left: 20px; margin: 10px 0; }
.info-inner li { margin-bottom: 7px; }
.info-inner h4 { margin: 20px 0 6px; font-size: 16px; }
.figure { margin: 16px 0; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.figure svg { display: block; width: 100%; height: auto; stroke-width: 2; }
.figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.figure .acc { stroke: var(--accent); }
.figure .acc-fill { fill: var(--accent); stroke: none; }
.figure .ink-fill { fill: var(--ink); stroke: none; }
.figure .soft-fill { fill: var(--accent-soft); }
.figure text { fill: #fff; stroke: none; font: 700 11px var(--font); text-anchor: middle; dominant-baseline: central; }
.figure text.lbl { fill: var(--muted); font-weight: 600; font-size: 11px; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.figure-pair .figure { margin: 0; }

@media (max-width: 560px) {
  dialog.info { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 88vh; }
  @keyframes dialog-in { from { transform: translateY(40px); opacity: 0; } }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  max-width: min(480px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 16px 40px rgb(0 0 0 / 25%);
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-error { background: var(--err); }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 640px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }

.footer-note { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; display: flex; justify-content: center; align-items: center; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
