/* ID010 congress site - the guest pages (/ and /ophalen).
   Follows "ID010 Merkelementen en kleurcodes" v3.0 (November 2026):
   - inkt and papier carry the page; logogroen marks buttons and what is verified;
   - lichtgroen only on dark; donkergroen only for hover; zachtgroen for golf and marks on light;
   - oranje only as a line or a small signal: never a fill, never text on light, never white on it;
   - Archivo for headings and text, IBM Plex Mono 600 / 13px / 0.14em for labels;
   - the streep under one word per heading, the golf at the edge of a surface (never through
     text), the oranje line under the menu bar and above the footer, the route as nodes on one
     dotted line with an oranje dot where you are. */

:root {
  --id-inkt: #0e1a2b;
  --id-papier: #f3f5f9;
  --id-wit: #ffffff;
  --id-logogroen: #0a7f26;
  --id-lichtgroen: #79d88f;
  --id-donkergroen: #086b20;
  --id-zachtgroen: #dcefe2;
  --id-oranje: #e8a020;
  --id-grijs: #56627a;
  --id-font: "Archivo", Arial, sans-serif;
  --id-mono: "IBM Plex Mono", monospace;
  --id-radius-s: 8px;   /* knoppen, velden */
  --id-radius-m: 14px;  /* panelen */
  --id-radius-l: 24px;  /* kaarten, wallet-kaart */
  /* Derived, not new colours: a hairline for panels on papier. */
  --lijn: #dde2ea;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--id-papier); color: var(--id-inkt);
  font-family: var(--id-font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
@media (min-width: 720px) { body { font-size: 18px; } }
img { max-width: 100%; }
p { margin: 0; }
a { color: var(--id-logogroen); text-underline-offset: 0.15em; }
a:hover { color: var(--id-donkergroen); }
:focus-visible { outline: 3px solid var(--id-logogroen); outline-offset: 3px; border-radius: 2px; }
.donker :focus-visible { outline-color: var(--id-lichtgroen); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--id-wit); color: var(--id-inkt); padding: 10px 14px; border-radius: var(--id-radius-s); font-weight: 600; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(32px, 7.4vw, 60px); letter-spacing: -0.015em; }
h2 { font-size: clamp(27px, 5vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; line-height: 1.25; }

/* De streep: one word per heading. Logogroen on light, lichtgroen on dark. */
.streep { text-decoration: underline; text-decoration-color: var(--id-logogroen); text-decoration-thickness: 0.11em; text-underline-offset: 0.16em; text-decoration-skip-ink: none; }
.donker .streep { text-decoration-color: var(--id-lichtgroen); }

.label { font-family: var(--id-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--id-grijs); }
.donker .label { color: var(--id-lichtgroen); }
.lead { font-size: 1.06em; max-width: 62ch; }
.muted { color: var(--id-grijs); }
.small { font-size: 15px; }

.band { padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.smal { max-width: 760px; }
.donker { background: var(--id-inkt); color: var(--id-wit); }
.donker a:not(.btn) { color: var(--id-wit); }
.donker a:not(.btn):hover { color: var(--id-lichtgroen); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px;
       border: 2px solid transparent; border-radius: var(--id-radius-s); background: var(--id-logogroen); color: var(--id-wit);
       font: 700 16px/1.25 var(--id-font); text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--id-donkergroen); color: var(--id-wit); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; color: var(--id-logogroen); border-color: var(--id-logogroen); }
.btn-ghost:hover { background: var(--id-zachtgroen); color: var(--id-donkergroen); border-color: var(--id-donkergroen); }
.donker .btn-ghost { color: var(--id-wit); border-color: rgba(255, 255, 255, 0.7); }
.donker .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--id-wit); border-color: var(--id-wit); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.linkpijl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* Menu bar, with the oranje line under it */
.top { background: var(--id-inkt); border-bottom: 3px solid var(--id-oranje); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-block: 12px; }
.top .logo { display: block; flex: none; padding: 6px 0; }
.top .logo img { display: block; width: 132px; height: auto; }
.top .rechts { display: flex; align-items: center; gap: 20px; min-width: 0; }
.top .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }
@media (max-width: 599px) { .top .label { display: none; } }

/* Footer, with the oranje line above it */
.voet { background: var(--id-inkt); color: var(--id-wit); border-top: 3px solid var(--id-oranje); margin-top: 72px; }
.sectie.wit + .voet, main:has(> .sectie.wit:last-child) + .voet { margin-top: 0; }
.voet .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-start; justify-content: space-between; padding-block: 36px 40px; }
.voet img { display: block; width: 120px; height: auto; }
.voet .tekst { display: flex; flex-direction: column; gap: 8px; max-width: 52ch; font-size: 15px; }
.voet a { color: var(--id-wit); }
.voet a:hover { color: var(--id-lichtgroen); }

/* Hero, on inkt (a full-width green surface leans on the municipality's style), with the golf at its lower edge */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; padding-block: 44px 132px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; padding-block: 72px 160px; } }
.hero .copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .lead { color: rgba(255, 255, 255, 0.92); }
.hero .acties { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .acties .btn { flex: 1 1 260px; }
.golf { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
        background: url("/static/site/golf-donker.svg") center bottom / cover no-repeat; }
@media (min-width: 900px) { .golf { height: 140px; } }
.golf.licht { background-image: url("/static/site/golf-licht.svg"); }

/* Advice box: an uitgelichte kaart, so the oranje line on top */
.advies { display: flex; gap: 12px; align-items: flex-start; max-width: 640px; padding: 14px 16px;
          border: 1px solid rgba(255, 255, 255, 0.28); border-top: 3px solid var(--id-oranje); border-radius: var(--id-radius-s); font-size: 15px; }
.advies .ic { margin-top: 2px; color: var(--id-lichtgroen); width: 22px; height: 22px; }

/* Phone mockup with the congreskaart in its own design (static/card/) */
.telefoon-plek { display: flex; justify-content: center; min-width: 0; }
.telefoon { width: min(300px, 100%); min-height: 560px; display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 18px;
            background: var(--id-papier); color: var(--id-inkt); border: 10px solid var(--id-inkt); border-radius: 40px;
            box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.3), 0 24px 48px rgba(0, 0, 0, 0.35); }
.telefoon .status { display: flex; justify-content: space-between; padding: 0 6px; font: 600 11px var(--id-mono); color: var(--id-grijs); }
.telefoon .titel { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.telefoon .titel b { font-size: 22px; font-weight: 800; }
.telefoon .titel span { font-size: 12px; color: var(--id-grijs); }
.kaart { position: relative; aspect-ratio: 332 / 209; border-radius: var(--id-radius-m); overflow: hidden; color: var(--id-wit);
         background: var(--id-logogroen) url("/static/card/achtergrond-logogroen.svg") center / cover no-repeat; }
.kaart { container-type: inline-size; }
.kaart .naam { position: absolute; left: 6%; top: 9.5%; right: 30%; font-size: 6.4cqw; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.kaart .vct { position: absolute; left: 6%; top: 27%; right: 30%; font: 500 3.6cqw/1.3 var(--id-mono); white-space: nowrap; }
.kaart .logo { position: absolute; right: 6%; top: 9.5%; width: 11.2%; height: auto; }
.kaart .geldig { position: absolute; left: 0; right: 0; bottom: 0; height: 15.3%; display: flex; align-items: center; padding: 0 6%;
                 background: rgba(14, 26, 43, 0.38); font: 600 9px var(--id-mono); letter-spacing: 0.12em; }
.pidkaart { background: var(--id-wit); border: 1px solid var(--lijn); border-radius: var(--id-radius-m); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.pidkaart .kop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pidkaart .label { font-size: 11px; color: var(--id-grijs); }  /* the phone screen is light, also inside the dark hero */
.pidkaart b { font-size: 16px; }
.pidkaart .wie { font-size: 12px; color: var(--id-grijs); line-height: 1.4; }
.geverifieerd { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--id-mono); color: var(--id-logogroen); }
.vink { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--id-logogroen); color: var(--id-wit); flex: none; }
.vink svg { width: 12px; height: 12px; stroke-width: 2.4; }
.telefoon .ruimte { flex: 1 1 auto; }
.telefoon .actie { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 2px solid var(--id-logogroen);
                   border-radius: 12px; background: var(--id-wit); color: var(--id-logogroen); font-weight: 700; font-size: 15px; }

/* Sections */
.sectie { padding-block: 64px 8px; }
.sectie.wit { background: var(--id-wit); margin-top: 64px; padding-block: 64px; }
.sectie-kop { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin-bottom: 32px; }
@media (max-width: 599px) { .sectie { padding-block: 48px 0; } .sectie.wit { margin-top: 48px; padding-block: 48px; } }

/* Icon tile: logogroen on zachtgroen (light), lichtgroen on inkt (dark) */
.tegel-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none;
            border-radius: var(--id-radius-s); background: var(--id-zachtgroen); color: var(--id-logogroen); }
.tegel-ic svg { width: 24px; height: 24px; }

/* De route: steps as nodes on one dotted line; an oranje dot marks where you are */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.route li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; gap: 4px 16px; padding-bottom: 28px; }
.route li:last-child { padding-bottom: 0; }
.route .knoop { position: relative; z-index: 1; grid-row: span 3; display: flex; align-items: center; justify-content: center;
                width: 48px; height: 48px; border-radius: 50%; background: var(--id-wit); border: 1.5px solid var(--id-grijs); color: var(--id-logogroen); }
.route .knoop svg { width: 22px; height: 22px; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; border-left: 2px dashed var(--id-grijs); }
.route h3 { font-size: 20px; }
.route p { font-size: 16px; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .route li { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; gap: 10px; }
  .route .knoop { grid-row: auto; }
  .route li:not(:last-child)::after { left: 58px; right: -26px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--id-grijs); }
}
/* State, used on /ophalen */
.route .klaar .knoop { background: var(--id-logogroen); border-color: var(--id-logogroen); color: var(--id-wit); }
.route .nu .knoop { border-color: var(--id-logogroen); border-width: 2px; }
.route .nu .knoop::after { content: ""; position: absolute; right: -3px; top: -3px; width: 13px; height: 13px; border-radius: 50%;
                           background: var(--id-oranje); box-shadow: 0 0 0 3px var(--id-papier); }
/* The short route on /ophalen stays across, also at 360 px, so the panel is not pushed down */
.route.kort { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.route.kort li { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; gap: 6px; }
.route.kort .knoop { grid-row: auto; }
.route.kort li:not(:last-child)::after { left: 56px; right: -2px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--id-grijs); }
.route.kort h3 { font-size: 15px; }
.route.kort .label { font-size: 12px; }
@media (min-width: 600px) { .route.kort { gap: 16px; } .route.kort h3 { font-size: 17px; } .route.kort li:not(:last-child)::after { right: -10px; } }
/* A node shows its icon, or a check once the step is done */
.route .knoop .k { display: none; }
.route .klaar .knoop .i { display: none; }
.route .klaar .knoop .k { display: block; }

/* Panels and the uitgelichte kaart */
.paneel { background: var(--id-wit); border: 1px solid var(--lijn); border-radius: var(--id-radius-m); padding: 24px; }
@media (max-width: 599px) { .paneel { padding: 20px 18px; } }
.uitgelicht { border-top: 3px solid var(--id-oranje); }
.stapel { display: flex; flex-direction: column; gap: 14px; }

/* Gebruik beide wallets */
.oproep { display: grid; gap: 24px 40px; margin-top: 40px; }
@media (min-width: 900px) { .oproep { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.oproep .kop { display: flex; gap: 16px; align-items: flex-start; }
.redenen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.redenen li { display: flex; gap: 10px; align-items: flex-start; }
.redenen .vink { margin-top: 3px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.knoppen .btn { flex: 1 1 240px; }

/* The checklist "Opgehaald met de wallet van ..." with its counter */
.lijstje { display: flex; flex-direction: column; gap: 14px; }
.lijstje .boven { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.lijstje .boven b { font-size: 18px; }
.teller { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--id-zachtgroen);
          color: var(--id-inkt); font: 600 14px var(--id-mono); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lijstje ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lijstje li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--lijn); border-radius: var(--id-radius-s); font-size: 16px; }
.lijstje li .vink { width: 22px; height: 22px; }
.lijstje li .vink svg { width: 14px; height: 14px; }
.lijstje li .open { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px dashed var(--id-grijs); }
.lijstje li .stand { margin-left: auto; font: 600 12px var(--id-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--id-grijs); white-space: nowrap; }
.lijstje li.gedaan .stand { color: var(--id-logogroen); }

/* Nu en straks */
.vergelijk { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--id-wit); border: 1px solid var(--lijn); border-radius: var(--id-radius-m); overflow: hidden; font-size: 16px; }
.vergelijk th, .vergelijk td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--lijn); }
.vergelijk thead th { background: var(--id-inkt); color: var(--id-wit); border-top: 0; font: 600 13px var(--id-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.vergelijk thead th.straks { color: var(--id-lichtgroen); }
.vergelijk tbody th { font-weight: 700; width: 22%; }
.vergelijk td + td { border-left: 1px solid var(--lijn); }
@media (max-width: 719px) {
  .vergelijk, .vergelijk tbody, .vergelijk tr, .vergelijk th, .vergelijk td { display: block; width: auto; }
  .vergelijk thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vergelijk tbody tr { border-top: 1px solid var(--lijn); padding: 14px 16px; }
  .vergelijk tbody tr:first-child { border-top: 0; }
  .vergelijk tbody th, .vergelijk td { border: 0; padding: 0; }
  .vergelijk tbody th { margin-bottom: 8px; width: auto; }
  .vergelijk td + td { border-left: 0; margin-top: 8px; }
  .vergelijk td::before { content: attr(data-label); display: block; font: 600 12px var(--id-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--id-grijs); margin-bottom: 2px; }
}
.drie { display: grid; gap: 20px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.drie .paneel { display: flex; flex-direction: column; gap: 10px; }
.drie p { font-size: 16px; }

/* The collection flow (/ophalen) */
.flow { padding-block: 36px 0; }
.flow h1 { font-size: clamp(30px, 6.4vw, 46px); margin-bottom: 14px; }
.flow .paneel { margin-top: 20px; }
.flow .paneel:not(.lijstje) > * + * { margin-top: 14px; }
.ok { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; }
.ok .vink { width: 24px; height: 24px; }
.ok .vink svg { width: 15px; height: 15px; }
.qrrij { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.qr { display: inline-block; padding: 12px; background: var(--id-wit); border: 1px solid var(--lijn); border-radius: var(--id-radius-s); line-height: 0; }
.qr img, .qr canvas { display: block; max-width: 100%; height: auto; }
.wacht { display: flex; align-items: center; gap: 10px; color: var(--id-grijs); font-size: 15px; }
.wacht::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--id-oranje); flex: none; animation: puls 1.4s ease-in-out infinite; }
@keyframes puls { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .wacht::before { animation: none; } }
label.veld { display: block; font-weight: 700; margin: 18px 0 6px; }
input[type=email] { width: 100%; min-height: 48px; font: inherit; padding: 10px 12px; color: var(--id-inkt); background: var(--id-wit);
                    border: 1.5px solid var(--id-grijs); border-radius: var(--id-radius-s); }
.melding { border-left: 3px solid var(--id-oranje); padding: 2px 0 2px 12px; font-size: 15px; font-weight: 600; }
.melding:empty { display: none; }
.keuze { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--id-radius-s); background: var(--id-zachtgroen); color: var(--id-inkt); font-size: 15px; font-weight: 600; }
.keuze .ic { color: var(--id-logogroen); }
@media (max-width: 560px) { .alleen-groot { display: none !important; } }
@media (min-width: 561px) { .alleen-telefoon { display: none !important; } }
