:root {
  --tekst: #1f1f1f; --zacht: #666; --rand: #ddd; --accent: #2f5d50; --accent-donker: #234539;
  --achtergrond: #faf8f5; --kaart: #fff; --waarschuwing: #fff4e0; --fout: #b42318;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; color: var(--tekst); background: var(--achtergrond); line-height: 1.5; }
main { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.merk { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--accent); font-weight: 600; margin: 0; }
h1 { font-size: 1.6rem; margin: 4px 0; }
h2 { font-size: 1.25rem; margin-top: 0; }
.intro { color: var(--zacht); margin-top: 0; }

.voortgang { height: 6px; background: var(--rand); border-radius: 3px; overflow: hidden; margin-top: 16px; }
#balk { height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.stapnummer { color: var(--zacht); font-size: .9rem; margin: 6px 0 12px; }

.stap { background: var(--kaart); border: 1px solid var(--rand); border-radius: 10px; padding: 20px 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend, label { display: block; font-weight: 500; margin: 12px 0 6px; }
input[type=text], input[type=number], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 10px; border: 1px solid var(--rand); border-radius: 6px; font: inherit; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.keuzes { display: flex; gap: 8px; flex-wrap: wrap; }
.keuzes label { margin: 0; font-weight: 400; border: 1px solid var(--rand); border-radius: 6px; padding: 8px 14px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.keuzes label:has(input:checked) { border-color: var(--accent); background: #eef4f1; }
.uitleg { color: var(--zacht); font-size: .9rem; margin: 4px 0 0; }
.fout { color: var(--fout); font-size: .9rem; margin: 4px 0 0; min-height: 0; }
.fout:empty { display: none; }

.range-blok { background: var(--accent); color: #fff; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.range { font-size: 1.7rem; font-weight: 700; }
#regels { width: 100%; border-collapse: collapse; font-size: .95rem; }
#regels td { padding: 6px 0; border-bottom: 1px solid var(--rand); }
#regels td:last-child { text-align: right; white-space: nowrap; padding-left: 8px; }
.let-op { background: var(--waarschuwing); border-radius: 6px; padding: 8px 12px; margin: 8px 0; }
.disclaimer, .privacy, .klein { color: var(--zacht); font-size: .85rem; }
.cta-tekst { border-top: 1px solid var(--rand); padding-top: 12px; }

.voorbeelden { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 8px; }
.voorbeelden figure { margin: 0; position: relative; }
.voorbeelden img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.voorbeelden button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 50%; width: 24px; height: 24px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; padding: 0; }

.knoppen { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
button { font: inherit; font-weight: 600; border-radius: 6px; padding: 12px 20px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
button:hover { background: var(--accent-donker); }
button:disabled { opacity: .6; cursor: wait; }
button.secundair { background: transparent; color: var(--tekst); border: 1px solid var(--rand); }
#verder { margin-left: auto; }

/* Inside the WordPress iframe the site already shows its own header and background. */
body.ingesloten { background: transparent; }
body.ingesloten main { padding-top: 0; }
/* The host page (jonghout.nl) shows its own title and intro. */
body.ingesloten main > header { display: none; }

.keuzes-lijst { flex-direction: column; }
.keuzes-lijst label { align-items: flex-start; }
.keuzes-lijst small { display: block; color: var(--zacht); }
.vraag { font-weight: 600; margin: 18px 0 6px; }
.maten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.maten label { margin-top: 0; font-weight: 400; color: var(--zacht); }
.maten input { width: 100%; }

/* Print / save as PDF: only the price indication, wherever the visitor is. */
@media print {
  body { background: #fff; }
  .voortgang, .stapnummer, .knoppen, .print-knop, .cta-tekst, .intro, .stap { display: none !important; }
  .stap[data-stap="prijs"] { display: block !important; border: 0; box-shadow: none; }
  .range-blok { color: #000; background: #fff; border: 2px solid #000; }
}
