/* stookwijzeralert.nl - theme v1 (05-11-2026)
   Night bar + warm paper; the three advice colours of the RIVM Stookwijzer (geel, oranje, rood) are the only accents.
   Space Grotesk (headings, logo) and Inter (text), self-hosted. Bump ?v= in _partials/head-assets.html after a change. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #1c2230; --night-2: #283044; --paper: #f6f3ee; --card: #ffffff; --ink: #1c2230; --muted: #5b6475;
  --line: #e2ddd3; --geel: #f6c700; --oranje: #f28c00; --rood: #d7261e; --geel-bg: #fff6cc; --oranje-bg: #ffe8cc; --rood-bg: #fbdcd9;
  --link: #a8380f; --radius: 14px;
  --s--1: .875rem; --s-0: 1rem; --s-1: 1.2rem; --s-2: 1.5rem; --s-3: 2rem; --s-4: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --head: "Space Grotesk", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-0)/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--rood); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
h1 { font-size: var(--s-4); margin-top: .3em; }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-1); }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 2px; }

/* header */
.site-header { background: var(--night); color: #fff; }
.site-header__inner { max-width: 72rem; margin: 0 auto; padding: .8rem 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; margin-right: auto; }
.brand__logo { height: 41px; width: auto; display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; flex-wrap: wrap; }
.site-nav__link { color: #e6e9f0; text-decoration: none; font: 500 var(--s--1)/1 var(--head); padding: .6rem .7rem; border-radius: 999px; display: block; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { background: var(--night-2); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid #ffffff40; color: #fff; border-radius: 999px; padding: .4rem .8rem; font: 500 var(--s--1) var(--head); align-items: center; gap: .4rem; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
@media (max-width: 51.99rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; }
}
.indep { margin: 0; background: var(--night-2); color: #cfd5e2; font-size: var(--s--1); }
.indep__inner { display: block; max-width: 72rem; margin: 0 auto; padding: .35rem 1rem; }

/* hero */
.hero { background: linear-gradient(180deg, var(--night) 0, var(--night) 55%, var(--paper) 55%); color: #fff; padding: 2rem 0 1rem; }
.hero__inner { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 60rem) { .hero__inner { grid-template-columns: 1.25fr 1fr; } }
.hero__text { color: #fff; }
.hero .lead { color: #dfe3ec; font-size: var(--s-1); max-width: 38rem; }
.kicker { font: 700 var(--s--1)/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--geel); margin: 0 0 .6rem; }
.lead { font-size: var(--s-1); }

/* postcode check */
.check { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 1rem; box-shadow: 0 10px 30px #0000002a; }
.search { display: flex; gap: .5rem; flex-wrap: wrap; }
.search input { flex: 1 1 12rem; font: 500 var(--s-1) var(--body); padding: .7rem .9rem; border: 2px solid var(--line); border-radius: 10px; min-width: 0; }
.search input:focus { border-color: var(--oranje); outline: none; }
.btn { display: inline-block; background: var(--rood); color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.3rem; font: 700 var(--s-0)/1 var(--head); text-decoration: none; cursor: pointer; }
.btn:hover { background: #b51d16; color: #fff; }
.btn--wide { width: 100%; }
.check__fallback { margin: 0; }
.result { margin-top: 1rem; }
.result__place { font: 700 var(--s-1) var(--head); margin: 0 0 .4rem; }
.result__now { padding: .8rem 1rem; border-radius: 10px; margin: 0 0 .8rem; border-left: 8px solid; }
.result__now--geel { background: var(--geel-bg); border-color: var(--geel); }
.result__now--oranje { background: var(--oranje-bg); border-color: var(--oranje); }
.result__now--rood { background: var(--rood-bg); border-color: var(--rood); }
.result__code { display: block; font: 700 var(--s-2)/1.2 var(--head); text-transform: none; }
.result__msg { margin: 0; }
.result__src { font-size: var(--s--1); color: var(--muted); margin: .6rem 0 0; }
.blocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .5rem; }
.block { border-radius: 10px; padding: .6rem .7rem; display: flex; flex-direction: column; gap: .1rem; border-top: 6px solid; background: #faf8f4; }
.block--geel { border-color: var(--geel); } .block--oranje { border-color: var(--oranje); } .block--rood { border-color: var(--rood); }
.block.is-now { box-shadow: inset 0 0 0 2px var(--ink); }
.block.is-past { opacity: .55; }
.block__time { font-size: var(--s--1); color: var(--muted); }
.block__code { font: 700 var(--s-0) var(--head); }
.block__fix { font-size: .78rem; color: var(--muted); }
.block__why { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.result__why { margin: .35rem 0 0; font-size: .92rem; }

/* colour dots */
.codes { display: inline-flex; gap: .3rem; margin-bottom: .4rem; }
.c { display: inline-block; width: .9rem; height: .9rem; border-radius: 50%; vertical-align: -.1rem; }
.c--geel { background: var(--geel); } .c--oranje { background: var(--oranje); } .c--rood { background: var(--rood); }

/* alert sign-up */
.alert { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 10px 30px #0000002a; border-top: 8px solid var(--oranje); }
.alert h2 { margin-top: .2rem; font-size: var(--s-2); }
.alert__form { display: grid; gap: .7rem; }
.alert__row { display: grid; gap: .7rem; grid-template-columns: 1fr 1.4fr; }
.alert__field { display: grid; gap: .25rem; font: 500 var(--s--1) var(--head); }
.alert__field input, .alert__field select { font: 400 var(--s-0) var(--body); padding: .65rem .75rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.alert__hp { position: absolute; left: -9999px; }
.alert__consent { font-size: var(--s--1); color: var(--muted); margin: 0; }
.alert__msg { margin: 0; font-weight: 600; }
.alert__msg.is-ok { color: #1d6b3a; } .alert__msg.is-err { color: var(--rood); }
.alert__done { background: var(--geel-bg); border-radius: 10px; padding: 1rem; }
.alert__done-title { font: 700 var(--s-2) var(--head); margin: 0 0 .3rem; }
.alert__done-small { font-size: var(--s--1); color: var(--muted); margin: 0; }

/* nation panel and body classes */
.panel { background: var(--card); border-radius: var(--radius); padding: 1.2rem; margin: 1.5rem 0; border: 1px solid var(--line); }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.nation__sub { color: var(--muted); font-size: var(--s--1); }
.nation__rows { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .5rem; }
.nation__rows li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .2rem .8rem; align-items: center; }
.nation__time { font: 500 var(--s--1) var(--head); }
.nation__n { grid-column: 2; font-size: .8rem; color: var(--muted); }
.bar { display: flex; height: 1.1rem; border-radius: 999px; overflow: hidden; background: var(--line); }
.bar__geel { background: var(--geel); } .bar__oranje { background: var(--oranje); } .bar__rood { background: var(--rood); }
.nation__legend { font-size: var(--s--1); color: var(--muted); margin: 0; }
.nation__legend .c { margin-left: .6rem; } .nation__legend .c:first-child { margin-left: 0; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.code-card { border-radius: var(--radius); padding: 1rem 1.1rem; border-top: 8px solid; background: var(--card); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.code-card h3 { margin-top: 0; }
.code-card--geel { border-top-color: var(--geel); } .code-card--oranje { border-top-color: var(--oranje); } .code-card--rood { border-top-color: var(--rood); }
.code-card .when { font-size: var(--s--1); color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--night); color: #fff; font: 700 var(--s-0)/1.9rem var(--head); text-align: center; }
.callout { background: var(--geel-bg); border-left: 6px solid var(--geel); border-radius: 10px; padding: .9rem 1rem; margin: 1.2rem 0; }
.callout--warn { background: var(--rood-bg); border-left-color: var(--rood); }
.more { font-weight: 600; }
.more::after { content: " \2192"; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; font-size: var(--s--1); }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--head); }

/* text pages */
.crumbs { font-size: var(--s--1); color: var(--muted); padding-top: 1.2rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "\203A"; margin-right: .3rem; }
.page-head h1 { margin: .6rem 0 1rem; }
.layout { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 60rem) { .layout { grid-template-columns: minmax(0, 1fr) 19rem; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.8em; }
.prose .lead { font-size: var(--s-1); color: #343b4a; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.aside-card--dark { background: var(--night); color: #fff; border-color: var(--night); }
.aside-card__head { font: 700 var(--s-1) var(--head); margin: 0 0 .4rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: .5rem 0; text-decoration: none; }
.disclosure, [class^="disclosure-"] { font-size: var(--s--1); color: var(--muted); }

/* footer */
.site-footer { background: var(--night); color: #cfd5e2; margin-top: 3rem; font-size: var(--s--1); }
.site-footer__inner { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__about { display: flex; gap: 1rem; align-items: flex-start; }
.site-footer__mark { flex: 0 0 56px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer__head { font: 700 var(--s-0) var(--head); color: #fff; margin: 0 0 .5rem; }
.site-footer__small { max-width: 72rem; margin: 0 auto; padding: 1rem; border-top: 1px solid #ffffff1f; color: #9aa3b5; }
@media (max-width: 30rem) { .alert__row { grid-template-columns: 1fr; } }
.grid + p { margin-top: 1rem; }

/* 05-11 lessons from inbraakalert: place search, offer under the own result, sample mail, area line */
.pcs { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.pc { font: 600 var(--s--1)/1 var(--head); padding: .45rem .6rem; border-radius: 8px; border: 0; border-left: 6px solid var(--line); background: #faf8f4; color: var(--ink); cursor: pointer; }
.pc--geel { border-left-color: var(--geel); } .pc--oranje { border-left-color: var(--oranje); } .pc--rood { border-left-color: var(--rood); }
.pc:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.result__sum { margin: 0; }
.result__cta { margin: .8rem 0 0; }
.btn--alert { background: var(--night); line-height: 1.25; text-align: center; }
.btn--alert:hover { background: var(--night-2); }
.alert__example { margin: 0 0 .9rem; font-size: var(--s--1); }
.alert__example summary { cursor: pointer; font: 600 var(--s--1) var(--head); color: var(--link); }
.mailx { background: #faf8f4; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; margin-top: .5rem; }
.mailx p { margin: 0 0 .5rem; }
.mailx__from, .mailx__small { color: var(--muted); font-size: .8rem; }
.mailx__subject { font: 700 var(--s-0) var(--head); }
.mailx__blocks { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .25rem; }
.mailx__blocks li { border-left-width: 6px; border-left-style: solid; padding: .2rem .5rem; background: #fff; border-radius: 6px; }
.mailx__cta { display: inline-block; background: var(--rood); color: #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; }
.mailx__small { margin: 0; }
.alert__area { font-size: var(--s--1); margin: 0; color: var(--ink); }
.mailx__blocks .block--geel { border-left-color: var(--geel); } .mailx__blocks .block--oranje { border-left-color: var(--oranje); } .mailx__blocks .block--rood { border-left-color: var(--rood); }
