:root {
    --bg: #ffffff; --text: #1c1c1e; --muted: #6e6e73; --line: #e5e5ea; --accent: #2E86AB; --card: #f5f5f7; --tag: #e8f2f7;
  }
  @media (prefers-color-scheme: dark) {
    :root { --bg: #000000; --text: #f2f2f7; --muted: #98989d; --line: #2c2c2e; --accent: #5ab0d6; --card: #1c1c1e; --tag: #13303c; }
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--text);
         font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
  main { max-width: 880px; margin: 0 auto; padding: 32px 16px 64px; }
  header { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .brand { margin: 0 0 18px; line-height: 0; }
  .brand img { width: 200px; height: auto; display: block; }  /* huisstijl: woordmerk in het donkere blok */
  h1 { font-size: 30px; margin: 24px 0 4px; }
  h2 { font-size: 22px; margin: 48px 0 8px; padding-top: 8px; }
  h3 { font-size: 17px; margin: 20px 0 4px; }
  p, li { margin: 6px 0; }
  ul, ol { padding-left: 20px; }
  a { color: var(--accent); }
  .lead { color: var(--muted); font-size: 17px; }
  nav.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
  nav.toc a { padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--text);
              text-decoration: none; font-size: 14px; }
  .toc-label { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
  .choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; }
  .choice { display: block; background: var(--card); border-radius: 16px; padding: 16px; color: var(--text);
            text-decoration: none; border: 1px solid transparent; }
  .choice:hover { border-color: var(--accent); }
  .choice .icon { font-size: 26px; line-height: 1; }
  .choice strong { display: block; margin: 8px 0 4px; font-size: 17px; }
  .choice span { color: var(--muted); font-size: 14px; }
  .part { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
          margin: 64px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .row { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: start; margin: 18px 0; }
  .row.two { grid-template-columns: 1fr 400px; }
  .shots { display: flex; gap: 16px; flex-wrap: wrap; }
  figure { margin: 0; }
  figure img { width: 100%; max-width: 240px; display: block; border-radius: 28px;
               border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
  .shots figure img { max-width: 190px; }
  figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; text-align: center; max-width: 240px; }
  .card { background: var(--card); border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
  .tip::before { content: "Tip · "; font-weight: 700; color: var(--accent); }
  table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
  th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { color: var(--muted); font-weight: 600; }
  .yes { color: #2e9e5b; font-weight: 700; }
  .no { color: var(--muted); }
  .tag { display: inline-block; background: var(--tag); color: var(--accent); border-radius: 6px;
         padding: 0 6px; font-size: 13px; font-weight: 600; }
  /* Voor wie geldt dit? */
  .who { display: inline-block; background: var(--card); color: var(--muted); border-radius: 6px;
         padding: 1px 8px; font-size: 12px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
  h2 .who, h3 .who { position: relative; top: -2px; }
  /* Hoe werkt het in het webportaal? */
  .web { border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; color: var(--muted); font-size: 15px; }
  .web::before { content: "Webportaal · "; font-weight: 700; color: var(--accent); }
  footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 16px; color: var(--muted); font-size: 14px; }
  @media (max-width: 860px) { .choices { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px) {
    .row, .row.two { grid-template-columns: 1fr; }
    .choices { grid-template-columns: 1fr; }
    figure img { margin: 0 auto; }
    figcaption { margin-left: auto; margin-right: auto; }
    .table-wrap { overflow-x: auto; }
  }
