/* workshop.seropyildiz.nl: de checkout voor de open workshop.
   Tokens, fonts en vormen uit seropyildiz.nl (css/style.css, versie 3 "blokken")
   en de pagina /workshop/: ecru bord met stippen, witte kaarten, blauwe labels.
   Mobiel eerst. */

:root {
  --ecru: #EDE8DC;
  --duif: #CDD9EC;
  --beige: #D8D4C6;
  --blauw: #1D33B8;
  --marine: #14235C;
  --inkt-zacht: #3A4777;
  --lijn: rgba(20, 35, 92, 0.18);
  --wit: #FBFAF6;
  --fout: #A3261C;
  --fout-zacht: #F6E1DC;

  --kop: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --tekst: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --marge: 20px;
}
@media (min-width: 900px) { :root { --marge: 48px; } }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ecru);
  background-image: radial-gradient(rgba(20, 35, 92, 0.10) 1px, transparent 1.3px);
  background-size: 24px 24px;
  color: var(--marine);
  font-family: var(--tekst);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--blauw); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--kop); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
p + p { margin-top: 1rem; }

.wrap { max-width: 820px; margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }
.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--inkt-zacht); }

/* ---------- topregel en kop ---------- */
.top { padding-top: 20px; }
.top a.mono { color: var(--marine); }
.kop { padding-top: 28px; padding-bottom: 32px; }
.kop h1 { max-width: 18ch; }
.label-blauw {
  display: inline-block; margin-bottom: 1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--blauw); color: #fff; border-radius: 2px; padding: 3px 9px; box-shadow: 0 1px 2px rgba(20, 35, 92, 0.25);
}
.label-concept { background: var(--fout); }

.feiten { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; margin-top: 1.5rem; background: var(--lijn); border: 1px solid var(--lijn); }
.feiten li { background: var(--wit); padding: 14px 16px 16px; min-width: 0; }
.feiten .mono { display: block; margin-bottom: 2px; color: var(--blauw); }
.feiten b { font-family: var(--kop); font-weight: 700; font-size: 1.1rem; line-height: 1.25; display: block; }
.feiten .bij { font-size: 0.92rem; color: var(--inkt-zacht); }
@media (min-width: 800px) { .feiten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.placeholder { background: var(--duif); padding: 0 4px; border-radius: 2px; }

/* ---------- kaart ---------- */
main { padding-bottom: 48px; }
.kaart { background: var(--wit); border: 1px solid var(--lijn); padding: 24px 20px 26px; }
@media (min-width: 900px) { .kaart { padding: 32px 36px 36px; } }
.kaart + .kaart { margin-top: 16px; }

/* ---------- formulier ---------- */
.veld { margin-top: 1.4rem; }
.formulier-intro { margin-top: 0.25rem; }
.formulier-intro + .veld { margin-top: 1.5rem; }
.vinkjes .veld { margin-top: 0; }
label, legend { display: block; font-weight: 600; line-height: 1.35; }
legend { padding: 0; margin-bottom: 0.5rem; }
.optioneel { font-weight: 400; color: var(--inkt-zacht); }
.hulp { display: block; font-size: 0.92rem; color: var(--inkt-zacht); margin-top: 2px; }
fieldset { border: 0; padding: 0; min-width: 0; }

input[type="text"], input[type="email"], textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; min-height: 46px;
  font: inherit; font-size: 1rem; color: var(--marine); background: #fff;
  border: 1.5px solid rgba(20, 35, 92, 0.35); border-radius: 2px;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: rgba(58, 71, 119, 0.65); }
input:focus, textarea:focus { outline: none; border-color: var(--blauw); box-shadow: 0 0 0 3px rgba(29, 51, 184, 0.2); }

.keuzes { display: grid; gap: 8px; }
.keuzes-rij { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 700px) { .keuzes-rij { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.keuze {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer;
  background: #fff; border: 1.5px solid rgba(20, 35, 92, 0.25); border-radius: 2px; padding: 11px 12px; min-height: 46px;
}
.keuze:hover { border-color: var(--blauw); }
.keuze:has(input:checked) { border-color: var(--blauw); background: #F1F3FC; }
.keuze input { margin: 0.2em 0 0; accent-color: var(--blauw); width: 18px; height: 18px; flex: none; }
.keuze b { font-weight: 600; }

.vinkje { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.vinkje input { margin: 0.2em 0 0; accent-color: var(--blauw); width: 20px; height: 20px; flex: none; }
.vinkjes { display: grid; gap: 12px; }

.scheiding { border: 0; border-top: 1px solid var(--lijn); margin: 2rem 0 1.5rem; }
.subkop { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blauw); margin-bottom: 1rem; }

/* honeypot: buiten beeld, niet voor mensen */
.pot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* foutmeldingen */
.veld-fout { display: block; margin-top: 6px; font-size: 0.92rem; font-weight: 600; color: var(--fout); }
.heeft-fout input[type="text"], .heeft-fout input[type="email"], .heeft-fout textarea { border-color: var(--fout); }
.heeft-fout .keuze { border-color: rgba(163, 38, 28, 0.55); }
.melding { padding: 14px 16px; border-left: 3px solid var(--fout); background: var(--fout-zacht); font-size: 0.98rem; }
.melding-info { border-left-color: var(--blauw); background: #F1F3FC; }

/* knop */
.versturen { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.knop {
  display: inline-block; background: var(--blauw); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--kop); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: 14px 24px; min-height: 48px; border: 0; border-radius: 2px; transform: rotate(-1.5deg);
  box-shadow: 0 2px 3px rgba(20, 35, 92, 0.25), 0 8px 16px rgba(20, 35, 92, 0.15);
}
.knop:hover { background: var(--marine); text-decoration: none; }
.knop:disabled { background: var(--inkt-zacht); cursor: wait; transform: none; }
.bedrag { font-size: 0.95rem; color: var(--inkt-zacht); }
#algemene-fout { margin-top: 1.25rem; }

/* ---------- bedankt ---------- */
.status { min-height: 40vh; }
.status h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.lijst { list-style: none; display: grid; gap: 10px; margin-top: 1.25rem; }
.lijst li { padding-left: 1.4rem; position: relative; }
.lijst li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--blauw); }
.wacht { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border: 2.5px solid var(--duif); border-top-color: var(--blauw); border-radius: 50%; animation: draai 0.9s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wacht { animation: none; } }

/* ---------- voorwaarden ---------- */
.tekst h2 { margin-top: 2rem; font-size: 1.3rem; }
.tekst h2:first-of-type { margin-top: 1.25rem; }
.tekst p, .tekst li { max-width: 62ch; }
.concept { padding: 14px 16px; background: var(--duif); border-left: 3px solid var(--fout); margin-bottom: 1.5rem; font-size: 0.98rem; }

/* ---------- voet ---------- */
.voet { padding: 8px 0 40px; font-size: 0.92rem; color: var(--inkt-zacht); }
.voet a { color: var(--marine); }
.voet p + p { margin-top: 4px; }

/* Adres in losse velden (6 november): straat breed, huisnummer en toevoeging smal; postcode smal, plaats breed */
fieldset.adres { border: 0; padding: 0; min-width: 0; }
fieldset.adres > legend { padding: 0; }
.adres-rij { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.adres-rij .veld { margin-top: 0.9rem; }
.adres-straat .breed { grid-column: 1 / -1; }
.adres-plaats { grid-template-columns: 8.5rem minmax(0, 1fr); }
@media (min-width: 700px) {
  .adres-straat { grid-template-columns: minmax(0, 1fr) 7.5rem 7.5rem; }
  .adres-straat .breed { grid-column: auto; }
}
label .hulp { display: block; font-weight: 400; margin-top: 2px; }
