/* Intake-wizard in de huisstijl van sgs.dev (kleuren uit het logo: amber #f2a81d, roze #ff5fa2). Mobiel eerst. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); }

:root {
  --bg: #faf8f5; --surface: #ffffff; --ink: #18151d; --muted: #5d5864; --line: #e9e4dd;
  --amber: #f2a81d; --amber-ink: #8f5d00; --amber-zacht: #fff6e3; --pink: #ff5fa2; --pink-ink: #c4206a;
  --night: #141118; --night-text: #ece8ef; --night-muted: #a9a2b1;
  --radius: 18px; --shadow: 0 1px 2px #18151d0d, 0 8px 28px #18151d12;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 "Barlow", system-ui, sans-serif;
       -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; }
a { color: var(--pink-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: .3px; line-height: 1.05; margin: 0 0 10px; }
h1 { font-size: clamp(36px, 8vw, 58px); }
h2 { font-size: clamp(26px, 5vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 12px; }
b, strong { font-weight: 600; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
           border: 0; padding: 0; margin: -1px; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }
.main { flex: 1; padding-top: 22px; padding-bottom: 48px; }
.kicker { display: inline-block; font-weight: 600; font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase;
          color: var(--pink-ink); margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); }

/* Kop */
.top { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.top::before { content: ""; position: absolute; inset: 0; pointer-events: none;
               background: radial-gradient(400px 200px at 90% 0%, #ff5fa230, transparent 70%),
                           radial-gradient(500px 220px at 0% 100%, #f2a81d26, transparent 70%); }
.top .wrap { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand img { height: 30px; width: auto; display: block; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-naam { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .02em;
              color: var(--night-text); padding-left: 10px; border-left: 1px solid #ffffff2e; line-height: 1; }
.top-naam { margin-left: auto; font-size: 14.5px; color: var(--night-muted); overflow: hidden; text-overflow: ellipsis;
            white-space: nowrap; max-width: 40vw; }
.top-uit { margin: 0; }
.top-uit button { background: transparent; color: var(--night-text); border: 1.5px solid #ffffff40; border-radius: 999px;
                  padding: 6px 12px; font: 600 14px "Barlow", sans-serif; cursor: pointer; }
.top-uit button:hover { border-color: var(--amber); color: var(--amber); }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display);
       font-weight: 800; font-size: 20px; letter-spacing: .6px; text-transform: uppercase; text-decoration: none;
       padding: 12px 24px; border-radius: 12px; background: var(--amber); color: #1d1200; border: 2px solid var(--amber);
       cursor: pointer; transition: transform .12s, background .15s; min-height: 50px; }
.btn:hover { transform: translateY(-2px); background: #ffb732; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #18151d40; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.klein { font-size: 16px; padding: 8px 14px; min-height: 42px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knoppen .btn { flex: 1 1 140px; }

/* Kaarten */
.kaart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
         box-shadow: var(--shadow); margin-bottom: 20px; }
.kaart.smal { max-width: 460px; margin: 12px auto; }
.melding { padding: 12px 16px; border-radius: 12px; background: var(--amber-zacht); border: 1px solid #f2a81d66; }
.melding.error { background: #ff5fa214; border-color: #ff5fa266; color: #7d0f40; }
.melding.success { background: #e9f7ee; border-color: #8fd1a6; color: #14532d; }
.meldingen { margin-bottom: 16px; }

/* Voortgang */
.voortgang { margin-bottom: 22px; }
.voortgang-tekst { display: flex; gap: 10px; align-items: baseline; margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.voortgang-tekst b { color: var(--ink); }
.balk { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.balk span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amber), var(--pink));
             transition: width .3s; }
.pillen { list-style: none; padding: 0; margin: 12px -16px 0; display: flex; gap: 6px; overflow-x: auto; padding: 2px 16px 6px;
          scrollbar-width: none; }
.pillen::-webkit-scrollbar { display: none; }
.pil { display: inline-block; white-space: nowrap; font: 500 14px "Barlow", sans-serif; color: var(--muted); background: var(--surface);
       border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.pil:hover { color: var(--ink); border-color: #18151d40; }
.pil.nu { color: var(--ink); background: #f2a81d33; border-color: var(--amber); font-weight: 600; }

/* Stap en velden */
.stap h1 { margin-bottom: 8px; }
.overslaan { font-size: 15px; color: var(--pink-ink); font-weight: 500; }
.veld { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.veld > label, .veld > legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
fieldset.veld { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 16px; }
fieldset.veld > legend { float: left; width: 100%; margin-bottom: 8px; }
fieldset.veld > legend + * { clear: both; }
input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=color]), textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid #d9d2c8; border-radius: 10px;
  padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #9a93a0; }
input:focus, textarea:focus, button:focus-visible, .btn:focus-visible { outline: 3px solid #f2a81d80; outline-offset: 1px; border-color: var(--amber); }
.hulp { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.opties { display: grid; gap: 8px; }
.opties.rij { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.optie { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
         background: var(--bg); cursor: pointer; font-weight: 400; }
.optie:has(input:checked) { border-color: var(--amber); background: var(--amber-zacht); }
.optie input { margin-top: 5px; accent-color: var(--amber-ink); width: 18px; height: 18px; flex: none; }
.optie span b { display: block; }
.optie small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
/* "Anders, namelijk": het tekstvak verschijnt alleen als die optie gekozen is (zonder :has blijft het altijd zichtbaar) */
.kp-anders { margin: -2px 0 2px 30px; }
@supports selector(:has(*)) {
  .kp-anders { display: none; }
  .kp:has(input[value=anders]:checked) .kp-anders { display: block; }
}

/* Herhaalbare regels */
.regel { display: grid; gap: 8px; padding: 12px; border: 1px dashed #d9d2c8; border-radius: 12px; margin-bottom: 10px; background: var(--bg); }
.sub { display: grid; gap: 3px; font-size: 14.5px; }
.sub span { color: var(--muted); }

/* Uploads */
.bestanden { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.bestanden li { display: grid; gap: 6px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.bestand-naam { font-weight: 500; overflow-wrap: anywhere; }
.bestand-naam::before { content: "\1F4CE  "; }
.weg { justify-self: start; background: none; border: 0; color: var(--pink-ink); font: 500 14.5px "Barlow", sans-serif;
       text-decoration: underline; cursor: pointer; padding: 2px 0; }
.bestand-vak, .veld > .bestand-vak { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; border: 1.5px dashed #d9d2c8; border-radius: 10px; background: var(--bg); cursor: pointer; position: relative; }
.bestand-kies { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.bestand-knop { display: inline-block; padding: 8px 14px; border: 1.5px solid #d9d2c8; border-radius: 10px; background: #fff; font-weight: 600; font-size: 15px; }
.bestand-vak:hover .bestand-knop, .bestand-kies:focus-visible + .bestand-knop { border-color: currentColor; }
.bestand-namen { font-size: 14px; color: #6b6660; overflow-wrap: anywhere; }

/* Pakketten */
.pakketten { display: grid; gap: 14px; }
.pakket { position: relative; display: grid; gap: 4px; padding: 18px 16px 18px 46px; border: 1.5px solid var(--line); border-radius: 16px;
          background: var(--surface); cursor: pointer; }
.pakket input { position: absolute; left: 16px; top: 22px; width: 20px; height: 20px; accent-color: var(--amber-ink); }
.pakket:has(input:checked) { border: 3px solid var(--amber); box-shadow: 0 0 0 5px #f2a81d26; background: linear-gradient(180deg, #fffaf0, var(--surface) 60%); }
.pakket.aanrader { border-color: #f2a81d99; }
.pakket .badge { position: absolute; top: -12px; right: 16px; background: var(--amber); color: #1d1200; font-size: 12.5px; font-weight: 600;
                 letter-spacing: 1px; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.pakket-naam { font: 800 30px/1 var(--display); }
.pakket.aanrader .pakket-naam { color: var(--amber-ink); }
.pakket-tag { font: 800 18px/1.2 var(--display); color: var(--pink-ink); }
.pakket-prijs { color: var(--muted); font-size: 15.5px; }
.pakket-prijs b { font: 800 28px/1 var(--display); color: var(--ink); margin-right: 4px; }
.pakket-prijs small { display: block; font-size: 13px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 7px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1200' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.bewaard { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Overzicht */
.legenda { font-size: 15px; color: var(--muted); }
.sectie { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 6px; margin-bottom: 14px; }
.sectie-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sectie-kop h2 { font-size: 26px; }
.aanpassen { font-weight: 600; font-size: 15px; }
.sectie-noot { font-size: 14px; margin: 0 0 8px; }
.anders-noot { color: var(--pink-ink); font-weight: 600; }
dl { margin: 0; }
.rij { padding: 10px 0; border-top: 1px solid var(--line); }
.rij:first-child { border-top: 0; }
dt { font-size: 14px; color: var(--muted); }
dd { margin: 2px 0 0; overflow-wrap: anywhere; }
dd ul { margin: 0; padding-left: 18px; }
.nog-leeg { display: inline-block; font-size: 13.5px; color: var(--amber-ink); background: var(--amber-zacht); border: 1px dashed #f2a81d99;
            border-radius: 999px; padding: 1px 10px; }
.rij.leeg dt { color: var(--amber-ink); }
.rij.anders { background: #ff5fa20f; border-left: 4px solid var(--pink); padding-left: 10px; margin: 0 -4px; border-radius: 6px; }
.rij.anders dd { font-weight: 500; }
.anders-label { display: inline-block; font-size: 13.5px; color: var(--pink-ink); background: #ff5fa21a; border-left: 3px solid var(--pink);
                padding: 1px 8px; border-radius: 4px; }
.indienen { margin-top: 26px; padding: 22px 18px; border-radius: var(--radius); background: var(--night); color: var(--night-text); }
.indienen p { color: var(--night-muted); }
.indienen .btn.ghost { color: var(--night-text); border-color: #ffffff55; }

/* Bedankt */
.bedankt-kop { border-top: 5px solid var(--amber); }
.eerder { margin-top: 26px; }
.aanvullingen { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.aanvullingen li { padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 4px; }
.aanvullingen time { font-size: 13.5px; color: var(--muted); }
.aanvullingen p { margin: 0; }
.terugkijken summary { cursor: pointer; font-weight: 600; }
.terugkijken[open] summary { margin-bottom: 14px; }

.voet { background: var(--night); color: var(--night-muted); font-size: 14px; padding: 18px 0; }
.voet a { color: var(--amber); }

@media (min-width: 640px) {
  body { font-size: 17px; }
  .main { padding-top: 34px; }
  .kaart { padding: 30px 30px; }
  fieldset.veld { padding: 18px 20px 20px; }
  .regel { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .bestanden li { grid-template-columns: 1fr auto; align-items: center; }
  .bestanden li .sub { grid-column: 1 / -1; grid-row: 2; }
  .sectie { padding: 20px 24px 10px; }
  .rij { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
  .knoppen .btn { flex: 0 0 auto; }
  .indienen { padding: 28px 30px; }
  .brand img { height: 34px; }
}
@media (min-width: 860px) {
  .pakketten { grid-template-columns: repeat(3, 1fr); }
  .pillen { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; }
}

/* Tips (uitklapper) */
.tips { background: var(--amber-zacht); border: 1px solid #f2a81d66; border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; }
.tips summary { cursor: pointer; font-weight: 600; color: var(--amber-ink); }
.tips[open] summary { margin-bottom: 10px; }
.tips .checks li { color: var(--ink); }
.voorbeeldbeeld { margin: 14px 0 0; }
.voorbeeldbeeld img { width: 100%; height: auto; border-radius: 12px; display: block; }
.voorbeeldbeeld figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Sfeerwoorden als chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.chip { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
        background: var(--bg); cursor: pointer; font-weight: 500; user-select: none; min-height: 40px; }
.chip:hover { border-color: #18151d40; }
.chip:has(input:checked) { background: var(--amber); border-color: var(--amber); color: #1d1200; }
.chip:has(input:checked)::before { content: "\2713"; margin-right: 6px; font-weight: 700; }
.chip:has(input:focus-visible) { outline: 3px solid #f2a81d80; outline-offset: 1px; }
.chip.uit { opacity: .45; cursor: not-allowed; }

/* Eigen kleuren */
.kleuren { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kleur { display: flex; gap: 8px; align-items: center; min-width: 0; }
.kleuren .kleur input[name]:not([type=color]) { min-width: 0; width: auto; flex: 1 1 0; }
.kleur input[type=color] { width: 46px; height: 46px; padding: 2px; border: 1.5px solid #d9d2c8; border-radius: 10px; background: var(--surface); flex: none; cursor: pointer; }
@media (min-width: 640px) { .kleuren { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 520px) {
  .met-klant .brand-naam { display: none; }
}
