/* Samen — hulppagina "Zo doe je mee". Grote letters, één stap per blok, ook om af te drukken. */
:root {
  --bg: #f6f1e6; --surface: #fbf7ec; --raised: #fffdf7; --line: #ddd4c2; --text: #2d3940; --muted: #5a646a;
  --accent: #3f6f86; --accent-soft: rgba(91, 143, 166, .14); --accent-text: #2f5b70; --warm: #b85c3a;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Spectral", "Iowan Old Style", Palatino, Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a2228; --surface: #212b31; --raised: #27333a; --line: #3a4850; --text: #f3eee3; --muted: #b3b1a8;
    --accent: #7fb0c6; --accent-soft: rgba(127, 176, 198, .15); --accent-text: #9cc6d9; --warm: #c96d4a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 20px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.large-text { font-size: 25px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h1 { font-size: 2.4em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }
p { margin: 0; }
b { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.hp-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px clamp(16px, 5vw, 48px); }
.hp-brand { display: flex; align-items: center; gap: 10px; font: 500 1.2em/1 var(--serif); color: var(--text); text-decoration: none; }
.hp-brand img { border-radius: 9px; }
.hp-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hp-btn, .lang-select {
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); font-size: .8em; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--text);
}
.hp-btn b { font: 600 1.3em/1 var(--serif); }
.hp-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.hp-btn.primary { background: var(--warm); border-color: var(--warm); color: #fff; font-size: 1em; min-height: 64px; padding: 12px 30px; }

.hp-main { max-width: 980px; margin: 0 auto; padding: 8px clamp(16px, 5vw, 48px) 56px; }
.hp-lead { margin-top: 12px; font-size: 1.1em; color: var(--muted); }
.hp-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.hp-step, .hp-block { background: var(--raised); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 30px); }
.hp-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; align-items: center; }
.hp-step:has(.hp-shot.wide) { grid-template-columns: minmax(0, 1fr); }
.hp-text { display: grid; gap: 12px; align-content: start; }
.hp-num { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font: 600 1.15em/1 var(--serif); }
.hp-shot { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); margin: 0 auto; }
.hp-shot.wide { max-width: min(100%, 430px); margin: 0; }
.hp-block { margin-top: 20px; }
.hp-block > h2 { margin-bottom: 12px; }
.hp-block > p { color: var(--muted); }
.hp-shot.bar { margin: 16px 0 6px; width: 100%; max-width: 520px; }
.hp-buttons { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.hp-buttons li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.hp-buttons li:first-child { border-top: 0; }
.hp-buttons img { width: 96px; border-radius: 14px; border: 1px solid var(--line); }
.hp-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hp-list li { padding-left: 1.2em; position: relative; }
.hp-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45em; height: .45em; border-radius: 50%; background: var(--accent); }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.hp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.hp-ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.hp-foot { margin-top: 28px; font-size: 1.05em; text-align: center; }
.hp-backrow { margin-top: 20px; text-align: center; }
.hp-closehint { margin-top: 14px; font-weight: 600; }
.hidden { display: none !important; }
a.hp-brand:not([href]) { cursor: default; }

@media (max-width: 720px) {
  body { font-size: 19px; }
  body.large-text { font-size: 23.5px; }
  h1 { font-size: 2em; }
  .hp-step { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hp-shot { max-width: min(100%, 330px); }
  .hp-two { grid-template-columns: 1fr; }
  .hp-buttons li { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
  .hp-buttons img { width: 78px; }
  .hp-btn span { white-space: nowrap; }
}

/* ---------- afdrukken: zwart op wit, één stap blijft bij elkaar ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --raised: #fff; --line: #bbb; --text: #000; --muted: #222; --accent: #000; --accent-text: #000; color-scheme: light; }
  @page { margin: 14mm; }
  body, body.large-text { font-size: 13pt; background: #fff; }
  .hp-tools, .hp-backrow { display: none !important; }
  .hp-top { padding: 0 0 4mm; }
  .hp-main { max-width: none; padding: 0; }
  h1 { font-size: 26pt; }
  .hp-steps { gap: 4mm; margin-top: 6mm; }
  .hp-step, .hp-block { break-inside: avoid; page-break-inside: avoid; border-radius: 3mm; padding: 5mm; box-shadow: none; }
  .hp-step { grid-template-columns: minmax(0, 1fr) 46mm; gap: 6mm; }
  .hp-step:has(.hp-shot.wide) { grid-template-columns: minmax(0, 1fr) 70mm; }
  .hp-block { margin-top: 4mm; }
  .hp-shot { box-shadow: none; border-radius: 2mm; max-height: 82mm; width: auto; }
  .hp-shot.bar { max-width: 110mm; max-height: none; }
  .hp-buttons li { grid-template-columns: 18mm minmax(0, 1fr); padding: 2mm 0; break-inside: avoid; }
  .hp-buttons img { width: 18mm; }
  .hp-num { background: #fff; color: #000; border: .6mm solid #000; }
  .hp-card { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
