  /* Lettertypen staan in de map fonts; er wordt niets bij Google opgehaald */
  @font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/mulish.woff2') format('woff2'); }
  @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.woff2') format('woff2'); }
  @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); }
  @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.woff2') format('woff2'); }
  :root {
    --bg: #ffffff;
    --tint: #faf7f2;
    --tint-2: #eceee6;
    --ink: #1f2a22;
    --muted: #555d55;
    --brand: #376040;
    --brand-dark: #284830;
    --pill: #dfe6d8;
    --cta: #d56403;
    --cta-dark: #b85503;
    --line: #e3e0d7;
    --note: #fdf3df;
    --note-line: #e6c98a;
    --radius: 26px;
    --shadow: 0 10px 30px rgba(31, 42, 34, .07);
    --max: 1100px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: auto; scroll-padding-top: 120px; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: Mulish, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px; line-height: 1.7;
  }
  h1, h2, h3 {
    font-family: Poppins, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.25; margin: 0 0 .55em; text-wrap: balance; color: var(--brand);
  }
  h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 500; letter-spacing: -.01em; }
  h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; }
  h3 { font-size: 1.2rem; font-weight: 700; }
  p { margin: 0 0 1em; }
  a { color: var(--brand); text-underline-offset: 3px; }
  a:focus-visible, summary:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .narrow { max-width: 760px; }
  .center { text-align: center; margin-left: auto; margin-right: auto; }
  section { padding: 76px 0; }
  .eyebrow {
    display: inline-block; background: var(--pill); color: var(--brand-dark);
    font-size: .85rem; font-weight: 700; padding: 6px 18px; border-radius: 999px; margin-bottom: 1.1em;
  }
  .lead { font-size: 1.15rem; color: var(--muted); }

  /* Zwevende menubalk */
  header.site { position: sticky; top: 0; z-index: 10; padding: 14px 16px 0; background: transparent; }
  header.site .wrap {
    background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px 24px; min-height: 68px; flex-wrap: wrap; padding: 12px 30px;
  }
  .brand { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--brand); text-decoration: none; }
  .brand span { display: block; font-weight: 500; font-size: .78rem; letter-spacing: .04em; color: var(--cta-dark); }
  nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 0; padding: 0; }
  nav a { color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 600; padding: 6px 0; display: inline-block; }
  nav a:hover { color: var(--cta-dark); text-decoration: underline; }
  header.site a:focus-visible { outline-color: var(--cta); }

  .btn {
    display: inline-block; background: var(--cta); color: #fff;
    padding: 13px 30px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1.05rem;
    letter-spacing: .03em;
  }
  .btn:hover { background: var(--cta-dark); }
  .btn.ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); padding: 11px 28px; }
  .btn.ghost:hover { background: var(--pill); }
  .btn.small { padding: 10px 24px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; background: var(--brand); }
  .btn.small:hover { background: var(--brand-dark); }

  /* Hero */
  .hero { background: var(--tint); margin-top: -96px; padding: 170px 0 80px; }
  .hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .photo {
    aspect-ratio: 4 / 5; border-radius: 50% 50% 28px 28px; background: #fff;
    width: 100%; object-fit: cover; object-position: center top; display: block;
    box-shadow: var(--shadow);
  }

  .band { background: var(--tint); }
  .band.soft { background: var(--tint-2); }

  .grid { display: grid; gap: 24px; }
  .cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 40px; align-items: start; }
  .cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
  .card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  }
  .card p:last-child, .card ul:last-child { margin-bottom: 0; }
  .card.pick { text-align: center; padding: 40px 28px 34px; display: flex; flex-direction: column; align-items: center; }
  .card.pick svg { width: 84px; height: 84px; margin-bottom: 18px; }
  .card.pick p { color: var(--muted); margin-bottom: 22px; }
  .card.pick .btn { margin-top: auto; }

  ul.check {
    list-style: none; padding: 12px 28px; margin: 0; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  ul.check.plain { background: transparent; border: 0; box-shadow: none; padding: 0; margin-top: 8px; }
  ul.check li { padding: 13px 0 13px 36px; position: relative; border-bottom: 1px solid var(--line); }
  ul.check li:last-child { border-bottom: 0; }
  ul.check li::before {
    content: ""; position: absolute; left: 4px; top: 23px;
    width: 14px; height: 8px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand);
    transform: rotate(-45deg);
  }

  ol.steps { list-style: none; counter-reset: stap; padding: 0; margin: 0; display: grid; gap: 18px; }
  ol.steps li {
    counter-increment: stap; position: relative; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 26px 28px 26px 88px;
  }
  ol.steps li::before {
    content: counter(stap); position: absolute; left: 26px; top: 26px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700;
  }
  ol.steps h3 { margin-bottom: .3em; }
  ol.steps p { margin: 0; color: var(--muted); }

  .cycle { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: schakel; }
  .cycle li { counter-increment: schakel; background: #fff; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); border-top: 5px solid var(--cta); }
  .cycle li::before {
    content: counter(schakel); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px;
    border-radius: 50%; background: var(--pill); color: var(--brand-dark); font-weight: 700; font-size: .9rem;
  }
  .cycle strong { display: block; margin-bottom: 4px; font-family: Poppins, sans-serif; color: var(--brand); }
  .cycle span { color: var(--muted); font-size: .95rem; }

  .note { background: var(--note); border: 1px solid var(--note-line); border-radius: var(--radius); padding: 28px 30px; }
  .note ul { margin: .5em 0 0; padding-left: 1.2em; }

  details { border-bottom: 1px solid var(--line); }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; list-style: none; position: relative; }
  summary::-webkit-details-marker { display: none; }
  summary::after {
    content: "+"; position: absolute; right: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--pill); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400;
  }
  details[open] summary::after { content: "\2013"; }
  details p { color: var(--muted); padding-right: 24px; }

  .placeholder { background: #fff3c4; border-bottom: 2px dashed #c79a12; padding: 0 3px; }

  dl.contact { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
  dl.contact dt { font-weight: 700; }
  dl.contact dd { margin: 0; }

  footer ul { padding-left: 1.2em; margin: 0 0 1.5em; }
  footer li { margin-bottom: .4em; }
  footer { background: var(--brand-dark); color: #dfe6d8; font-size: .9rem; padding: 44px 0 52px; }
  footer strong { color: #fff; }
  footer .placeholder { color: var(--ink); }
  footer a { color: #fff; }
  dl.contact dd { overflow-wrap: anywhere; }

  @media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .photo { max-width: 260px; aspect-ratio: 1; border-radius: 50%; }
  }
  @media (max-width: 640px) {
    body { font-size: 17px; }
    section { padding: 52px 0; }
    header.site { position: static; padding: 12px 12px 0; background: var(--tint); }
    header.site .wrap { border-radius: 24px; padding: 14px 22px; }
    nav ul { gap: 0 16px; }
    nav a { font-size: .92rem; }
    .hero { margin-top: 0; padding: 40px 0 52px; }
    ol.steps li { padding: 80px 22px 22px; }
    ol.steps li::before { left: 22px; top: 22px; }
  }

  /* Artikelen */
  .article-list { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
  a.article-card { display: block; text-decoration: none; color: inherit; }
  a.article-card:hover h3 { text-decoration: underline; }
  .article-card .meta, .article .meta { color: var(--muted); font-size: .9rem; margin-bottom: .6em; }
  .article-card p:last-child { color: var(--muted); }
  .tag { display: inline-block; background: var(--pill); color: var(--brand-dark); font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-right: 8px; }
  .page-head { background: var(--tint); margin-top: -96px; padding: 170px 0 56px; }
  .article { max-width: 760px; margin: 0 auto; padding: 56px 24px 76px; }
  .article h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
  .article ul { padding-left: 1.2em; }
  .article li { margin-bottom: .4em; }
  .article .back { display: inline-block; font-weight: 700; margin-top: 2em; }
  @media (max-width: 640px) { .page-head { margin-top: 0; padding: 36px 0 40px; } }

  /* Zelftest */
  .test-teaser { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 36px; }
  .test-teaser > div { flex: 1 1 380px; }
  .test-teaser p:last-child { margin-bottom: 0; }
  .quiz { max-width: 760px; margin: 0 auto; padding: 56px 24px 76px; }
  .quiz h2 { font-size: 1.35rem; margin: 1.8em 0 .8em; }
  .quiz fieldset { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 20px 24px; margin: 0 0 14px; }
  .quiz legend { font-weight: 700; padding: 0; float: left; width: 100%; margin-bottom: 12px; }
  .quiz .opties { clear: both; display: flex; gap: 12px; flex-wrap: wrap; }
  .quiz label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 8px 22px; cursor: pointer; font-weight: 600; }
  .quiz input[type=radio] { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
  .quiz label:has(input:checked) { border-color: var(--brand); background: var(--pill); }
  .quiz label:has(input:focus-visible) { outline: 3px solid var(--cta); outline-offset: 2px; }
  .quiz .acties { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .quiz button.btn { border: 0; cursor: pointer; font-family: inherit; }
  .quiz button.btn.ghost { border: 2px solid var(--brand); }
  .quiz .melding { color: #a12a1a; font-weight: 700; margin: 0; }
  .uitkomst { margin-top: 36px; }
  .uitkomst .rij { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
  .uitkomst .rij.veel { border-left-color: var(--brand); }
  .uitkomst .rij.enkele { border-left-color: #d56403; }
  .uitkomst .rij strong { display: block; font-family: Poppins, sans-serif; color: var(--brand); }
  .uitkomst .rij span { color: var(--muted); }

  /* Ruimte onder de zwevende menubalk bij springen naar een onderdeel */
  @media (min-width: 641px) and (max-width: 1100px) { html { scroll-padding-top: 130px; } }
  @media (max-width: 640px) { html { scroll-padding-top: 16px; } }

  /* Vier keuzekaarten */
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .cols-4 .card.pick { padding: 34px 20px 28px; }
  @media (max-width: 1000px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .cols-4 { grid-template-columns: 1fr; } }

  /* Sla-over-link voor toetsenbord en schermlezer */
  .skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; }
  .skip:focus { top: 12px; }
  .photo { height: auto; }

  /* Voettekst met alle pagina's, bronnen en huidige pagina in het menu */
  footer nav ul.voetlinks { padding: 0; margin: 0 0 1.6em; gap: 4px 22px; }
  footer nav a { color: #fff; font-weight: 600; font-size: .92rem; }
  footer nav a:hover { color: #fff; }
  nav a[aria-current="page"] { color: var(--cta-dark); text-decoration: underline; text-underline-offset: 6px; }
  .bronnen { padding: 44px 0; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
  .bronnen h2 { font-size: 1.1rem; }
  .bronnen ul { padding-left: 1.2em; margin: 0; }
  .bronnen li { margin-bottom: .4em; }
  h2.center { text-align: center; }

  /* Opvallende menuknop voor online hulp */
  nav a.nav-cta { background: var(--cta); color: #fff; padding: 8px 20px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; }
  nav a.nav-cta:hover { background: var(--cta-dark); color: #fff; text-decoration: none; }
  nav a.nav-cta[aria-current="page"] { color: #fff; text-decoration: none; outline: 2px solid var(--cta-dark); outline-offset: 2px; }
  header.site nav ul { align-items: center; }
  footer nav a.nav-cta { background: transparent; padding: 0; font-size: .92rem; font-weight: 600; }
  .meta-klein { color: var(--muted); font-size: .9rem; margin-top: 14px; }

  /* Drie routes op de aanmeldpagina */
  .optie { display: flex; flex-direction: column; scroll-margin-top: 140px; }
  .optie h2 { font-size: 1.4rem; }
  .optie p:last-child { margin-top: auto; padding-top: 10px; }
  .optie-voorkeur { border: 2px solid var(--brand); }
  .optie .btn { padding: 12px 22px; text-align: center; }

  /* Klikbare kaarten en knoppen: zichtbare reactie zonder beweging */
  a.article-card:hover { border-color: var(--brand); }
  a.article-card:active { background: var(--tint); }
  .btn:active { background: var(--cta-dark); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .18); }
  .btn.ghost:active { background: var(--pill); }
  .btn.small:active { background: var(--brand-dark); }

  /* Zelftest: voortgang en nog open vragen */
  .quiz .voortgang { color: var(--muted); font-size: .95rem; margin: 0; flex-basis: 100%; }
  .quiz fieldset.onbeantwoord { border: 2px solid #a12a1a; padding: 19px 23px; }
  .quiz fieldset.onbeantwoord legend::after { content: " (nog niet beantwoord)"; color: #a12a1a; font-weight: 600; }
  .uitkomst .acties { margin-top: 20px; }
  .uitkomst:focus { outline: none; }

  /* Conceptmelding */
  .concept { background: #fff3c4; border: 2px dashed #c79a12; border-radius: 14px; padding: 14px 18px; }

  /* Afdrukken, bijvoorbeeld de uitkomst van de zelftest voor de arts */
  @media print {
    body { font-size: 12pt; }
    header.site nav, footer nav, .skip, .quiz .acties, .uitkomst .acties, .hero .actions { display: none; }
    header.site { position: static; padding: 0; }
    header.site .wrap { border: 0; box-shadow: none; padding: 0 24px; min-height: 0; }
    .hero, .page-head { margin-top: 0; padding: 16px 0; background: none; }
    section, .quiz, .article { padding-top: 16px; padding-bottom: 16px; }
    .card, .quiz fieldset, .uitkomst .rij, .note, ol.steps li { box-shadow: none; break-inside: avoid; }
    .quiz label:has(input:checked) { border-color: #000; font-weight: 800; }
    footer { background: none; color: var(--ink); padding: 16px 0; }
  }

  /* Tegels op de startpagina: twee groepen van drie */
  .tegels { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 860px) { .tegels { grid-template-columns: 1fr; } }
  .tegelgroep { text-align: center; margin: 44px 0 20px; }
  .tegelgroep:first-of-type { margin-top: 36px; }
  .card.pick h4 {
    font-family: Poppins, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 1.2rem; font-weight: 700;
    line-height: 1.25; margin: 0 0 .55em; text-wrap: balance; color: var(--brand);
  }

  /* Artikelen per thema */
  .artikelgroep + .artikelgroep { margin-top: 56px; }
  .artikelgroep h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: .3em; }
  .artikelgroep > p { color: var(--muted); margin-bottom: 24px; }

  /* Voet: merk links, drie kolommen met links ernaast, balk met gegevens eronder */
  footer { padding: 56px 0 36px; }
  .voet { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px 40px; }
  .voet nav { display: contents; }
  .voet-naam { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 .8em; }
  .voet-naam span { display: block; font-weight: 500; font-size: .78rem; letter-spacing: .04em; color: #f0b27a; }
  .voet-merk p:last-child { max-width: 30ch; margin: 0; line-height: 1.6; }
  .voet h2 { color: #fff; font-size: .95rem; font-weight: 600; margin: 0 0 .9em; }
  .voet ul, footer .voet nav ul { display: block; list-style: none; padding: 0; margin: 0; }
  .voet li { margin-bottom: .55em; }
  footer .voet nav a { font-weight: 400; font-size: .92rem; padding: 0; color: #dfe6d8; }
  footer .voet nav a:hover { color: #fff; text-decoration: underline; }
  .voet-balk { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
  .voet-balk p { font-size: .8rem; color: #c3cfc0; margin: 0 0 .5em; }
  .voet-balk a { color: #c3cfc0; }
  @media (max-width: 860px) {
    .voet { grid-template-columns: 1fr 1fr; }
    .voet-merk { grid-column: 1 / -1; }
  }
  @media (max-width: 480px) { .voet { grid-template-columns: 1fr; } }
  @media print { .voet { display: none; } }
