:root {
  --ink: #202521;
  --muted: #59635c;
  --green: #245c45;
  --green-dark: #194735;
  --green-pale: #e8f0eb;
  --paper: #fffefb;
  --warm: #f5f1e9;
  --line: #d7ddd8;
  --focus: #f0b429;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--green-dark); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: -5rem;
  padding: .7rem 1rem;
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 1rem; }
.content, .header-inner { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { border-top: 5px solid var(--green); border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; flex-direction: column; color: var(--green-dark); text-decoration: none; line-height: 1.15; }
.brand span { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; font-weight: 700; }
.brand small { margin-top: .28rem; color: var(--muted); font-size: .78rem; font-weight: normal; letter-spacing: .01em; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--ink); font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.intro-section { padding: 78px 0 82px; background: var(--warm); border-bottom: 1px solid #e6dfd3; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .8fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.kicker { margin: 0 0 .55rem; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.18; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #1e2922; }
h1 { max-width: 740px; margin-bottom: 1.35rem; font-size: clamp(2.35rem, 5vw, 4.15rem); letter-spacing: -.025em; }
h2 { margin-bottom: 1.2rem; font-size: clamp(1.8rem, 3vw, 2.55rem); }
h3 { margin-bottom: .35rem; font-size: 1.08rem; }
p { margin-top: 0; }
.lead { max-width: 680px; margin-bottom: 1.8rem; color: #414a44; font-size: 1.18rem; }
.button {
  display: inline-block;
  padding: .8rem 1.2rem;
  border: 2px solid var(--green-dark);
  border-radius: 3px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #0f3527; }
.button[aria-disabled="true"], .button:disabled { opacity: .45; cursor: not-allowed; }
.fine-print { margin: .65rem 0 0; color: var(--muted); font-size: .82rem; }
.intro-aside { padding-left: 1.6rem; border-left: 4px solid var(--green); font-size: .94rem; }
.intro-aside strong { display: block; margin-bottom: .65rem; font-size: 1.02rem; }
.intro-aside p:last-child { margin-bottom: 0; }
.section { padding-block: 78px; }
.section-title { max-width: 610px; margin-bottom: 2.2rem; }
.topic-list { border-top: 1px solid var(--line); }
.topic-list > div { display: grid; grid-template-columns: minmax(220px, .72fr) 1.5fr; gap: 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.topic-list h3, .topic-list p { margin: 0; }
.topic-list p { color: var(--muted); }
.explain-section { padding-block: 72px; background: var(--green-pale); border-block: 1px solid #d5e2d9; }
.explain-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); }
.explain-copy p { color: #3e4a42; }
.text-link { font-weight: 700; text-underline-offset: 3px; }
.secondary-link { display: inline-block; margin-top: .65rem; }
.site-footer { padding-block: 30px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-inner div { display: flex; gap: 1.5rem; }

/* Check and text pages */
.simple-header { border-top: 5px solid var(--green); border-bottom: 1px solid var(--line); }
.simple-header .header-inner { min-height: 78px; }
.privacy-note { color: var(--muted); font-size: .82rem; }
.check-main { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 55px 0 80px; }
.progress { display: flex; justify-content: space-between; padding-bottom: .65rem; border-bottom: 4px solid var(--green-pale); color: var(--muted); font-size: .85rem; }
.progress span:last-child { color: var(--green-dark); font-weight: 700; }
.question { padding-top: 2.3rem; }
.question h1, .results h1 { margin-bottom: .7rem; font-size: clamp(2rem, 5vw, 3rem); }
.question h1:focus, .results:focus { outline: none; }
.question > p { color: var(--muted); }
fieldset { margin: 2rem 0 0; padding: 0; border: 0; }
.options { border-top: 1px solid var(--line); }
.option { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem .4rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.option:hover { background: #f7f8f6; }
.option input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.option span { font-weight: 600; }
.form-field { display: block; max-width: 520px; margin-top: 2rem; }
.form-field span { display: block; margin-bottom: .45rem; font-weight: 700; }
.form-field input { width: 100%; padding: .78rem .8rem; border: 1px solid #849087; border-radius: 2px; font: inherit; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.secondary { border: 0; background: none; color: var(--green-dark); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.actions .button { font: inherit; }
.results { padding-top: .75rem; }
.results-intro { max-width: 680px; color: var(--muted); }
.answer-summary { display: inline-block; margin: .2rem 0 1rem; padding: .35rem .65rem; background: var(--green-pale); color: var(--green-dark); font-size: .88rem; font-weight: 700; }
.result-group { margin-top: 3rem; }
.result-group > h2 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; }
.result-group > h2 span { display: inline-grid; min-width: 2rem; height: 2rem; place-items: center; background: var(--green-pale); border-radius: 50%; color: var(--green-dark); font-size: .9rem; }
.local-info { margin: 2rem 0 2.8rem; padding: 1.35rem 0; border-block: 1px solid var(--line); }
.local-info h2 { margin-bottom: .55rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.28rem; }
.local-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.result-list { border-top: 1px solid var(--line); }
.result-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.result-item h3 { margin: .3rem 0 .45rem; font-size: 1.3rem; }
.result-meta, .source-date { color: var(--muted); font-size: .82rem; }
.warning { margin: .85rem 0; padding-left: 1rem; border-left: 3px solid #c28b2c; color: #4b4437; }
.why { margin-top: .85rem; color: var(--muted); font-size: .91rem; }
.empty { padding: 1.2rem 0; border-block: 1px solid var(--line); }
.scheme-list { border-top: 1px solid var(--line); }
.scheme-card { padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--line); }
.scheme-card h2, .scheme-card h3 { margin: .35rem 0 .55rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.3rem; }
.scheme-card h2 a, .scheme-card h3 a { color: var(--ink); text-decoration-color: #98aa9e; text-underline-offset: 4px; }
.scheme-card h2 a:hover, .scheme-card h3 a:hover { color: var(--green-dark); }
.scheme-card > p { max-width: 720px; color: #414943; }
.scheme-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: var(--green-dark); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.scheme-card details { margin-top: 1rem; }
.scheme-card summary { width: fit-content; color: var(--green-dark); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.scheme-details { max-width: 760px; margin-top: 1rem; padding: 1rem 1.1rem; background: #f6f7f5; }
.scheme-details p:last-child { margin-bottom: 0; }
.scheme-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-top: 1.2rem; }
.scheme-footer small { flex: none; color: var(--muted); }
.place-panel { margin-top: 2rem; padding: 1.5rem; background: var(--warm); border-left: 4px solid var(--green); }
.place-panel h3 { font-size: 1.25rem; }
.place-panel > p { color: var(--muted); }
.place-panel > small { display: block; margin-top: 1rem; color: var(--muted); }
.local-option { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.local-option > h2 { margin-bottom: .45rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; }
.local-option > p { max-width: 650px; color: var(--muted); }
.local-schemes { margin-top: 2rem; }
.local-schemes > h3 { margin-bottom: .35rem; font-size: 1.25rem; }
.local-schemes > p { color: var(--muted); }
.place-search { position: relative; max-width: 620px; }
.place-search label { display: block; margin-bottom: .4rem; font-weight: 700; }
.place-search input { width: 100%; padding: .8rem; border: 1px solid #78847b; border-radius: 2px; background: #fff; font: inherit; }
.suggestions { position: absolute; z-index: 4; width: 100%; max-height: 360px; margin: 0; padding: 0; overflow: auto; border: 1px solid #78847b; border-top: 0; background: #fff; list-style: none; box-shadow: 0 8px 18px rgba(30, 45, 35, .12); }
.suggestions button { display: flex; width: 100%; justify-content: space-between; gap: 1rem; padding: .7rem .8rem; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.suggestions button:hover, .suggestions button[aria-selected="true"] { background: var(--green-pale); }
.suggestions button span { color: var(--muted); font-size: .85rem; }
.no-place { padding: .8rem; color: var(--muted); }
.place-outcome { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #d8d1c3; }
.place-confirm { margin-bottom: .7rem; }
.local-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.result-actions { padding-top: .5rem; border-top: 1px solid var(--line); }
.button-light { background: #fff; color: var(--green-dark); }

/* Regelingenoverzicht */
.catalog-main { padding: 64px 0 90px; }
.catalog-main h1 { margin-bottom: 1rem; }
.catalog-tools { margin: 2.8rem 0 1.5rem; padding: 1.5rem; background: var(--warm); border-top: 4px solid var(--green); }
.catalog-search { display: block; max-width: 600px; margin-bottom: 1.5rem; }
.catalog-search span, .filter-group legend { display: block; margin-bottom: .45rem; font-weight: 700; }
.catalog-search input { width: 100%; padding: .75rem .8rem; border: 1px solid #78847b; border-radius: 2px; background: #fff; font: inherit; }
.filter-group { margin: 1rem 0 0; padding: 0; border: 0; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-button { padding: .45rem .7rem; border: 1px solid #7e8981; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: .86rem; cursor: pointer; }
.filter-button:hover { border-color: var(--green); }
.filter-button[aria-pressed="true"] { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.catalog-count { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 .75rem; color: var(--muted); font-size: .9rem; }
.catalog-count strong { color: var(--ink); }
.clear-filter { margin-left: auto; border: 0; background: none; color: var(--green-dark); font: inherit; text-decoration: underline; cursor: pointer; }
.catalog-list .scheme-card { scroll-margin-top: 1rem; }
.scheme-page { padding: 58px 0 90px; }
.scheme-page .content { max-width: 820px; }
.scheme-page h1 { margin: .8rem 0 1.1rem; }
.scheme-page section { margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.scheme-page section h2 { margin: 1.8rem 0 .45rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; }
.breadcrumb { margin-bottom: 2rem; color: var(--muted); font-size: .86rem; }
.breadcrumb span { margin-inline: .4rem; }
.warning-block { margin: 2rem 0; padding: .2rem 1.2rem 1.1rem; border-left: 4px solid #c28b2c; background: #faf7ef; }
.source-note { margin-top: .75rem; color: var(--muted); font-size: .82rem; }
.text-main { width: min(calc(100% - 40px), 760px); margin: 0 auto; padding: 58px 0 90px; }
.text-main h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.text-main h2 { margin: 2rem 0 .5rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; }
.updated { margin-top: 2.5rem; color: var(--muted); font-size: .84rem; }
.hide { display: none !important; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .content, .header-inner, .check-main, .text-main { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 78px; }
  .brand span { font-size: 1.3rem; }
  .brand small { display: none; }
  nav { gap: .8rem; }
  nav a { font-size: .84rem; }
  nav a:last-child { display: none; }
  .intro-section { padding: 50px 0 55px; }
  .intro-layout, .explain-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  h1 { font-size: 2.45rem; }
  .lead { font-size: 1.06rem; }
  .intro-aside { padding-left: 1.1rem; }
  .section, .explain-section { padding-block: 52px; }
  .topic-list > div { grid-template-columns: 1fr; gap: .25rem; }
  .footer-inner { flex-direction: column; gap: .8rem; }
  .privacy-note { max-width: 150px; text-align: right; line-height: 1.3; }
  .check-main { padding-top: 34px; }
  .question { padding-top: 1.7rem; }
  .actions { align-items: stretch; }
  .actions .button { text-align: center; }
  .scheme-footer { flex-direction: column; gap: .5rem; }
  .suggestions button { flex-direction: column; gap: .1rem; }
  .place-panel { padding: 1.2rem; }
  .catalog-main { padding-top: 44px; }
  .catalog-tools { margin-inline: -4px; padding: 1.2rem; }
  .filter-buttons { display: grid; grid-template-columns: 1fr; }
  .filter-button { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
