/* securityfaq.nl - theme v1 "Meldkamer" (29-11-2026)
   A calm control room: navy header and bands, cool grey-white pages, signal green for "done/safe", amber only for
   the alert strip and warnings. Geologica for headings and UI, Rethink Sans for reading text. Incident pages turn
   their numbered steps into a checklist. Bump ?v= in _partials/head-assets.html and the templates after a change. */

@font-face { font-family: "Geologica"; src: url("/assets/fonts/geologica-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url("/assets/fonts/rethink-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #f3f6f9; --card: #ffffff; --line: #d8e0e8; --line-2: #e8edf2;
  --ink: #142033; --navy: #0e1a2b; --navy-2: #17283f; --navy-3: #22385a; --muted: #56657a;
  --green: #0f9d62; --green-d: #0b7a4c; --green-l: #2fd48a; --green-bg: #e5f6ee;
  --amber: #f5b301; --amber-d: #8a5a00; --amber-bg: #fff4d6;
  --red: #c8372d; --red-bg: #fde8e6;
  --head: "Geologica", "Segoe UI", system-ui, sans-serif;
  --body: "Rethink Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem; --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--green-d); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.18; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 750; margin-top: .3em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p, ul, ol { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--amber); color: var(--navy); padding: .5rem 1rem; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -.15em; flex: none; }
.kicker { display: inline-flex; gap: .45rem; align-items: center; margin: 0 0 .5rem; font: 600 .8rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; color: #34445a; max-width: 46rem; }
.muted { color: var(--muted); font-size: .93rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* alert strip + header */
.alertbar { background: var(--amber); color: var(--navy); font: 600 .9rem/1.3 var(--head); }
.alertbar__inner { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; flex-wrap: wrap; }
.alertbar a { margin-left: auto; color: var(--navy); background: rgba(14,26,43,.1); padding: .2rem .7rem; border-radius: 99px; text-decoration: none; font-weight: 700; }
.alertbar a:hover { background: var(--navy); color: var(--amber); }
.site-header { background: var(--navy); position: relative; }
.site-header__inner { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; display: flex; align-items: center; gap: 1rem; min-height: 4.2rem; }
.brand { margin-right: auto; display: inline-flex; }
.brand__logo { height: 2rem; width: auto; display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav__link { display: block; padding: .45rem .8rem; color: #d7e1ee; text-decoration: none; font: 500 .95rem var(--head); border-radius: 99px; }
.site-nav__link:hover { background: var(--navy-3); color: #fff; }
.is-current .site-nav__link { background: var(--green); color: #fff; }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 1px solid var(--navy-3); padding: .4rem .8rem; font: 600 .9rem var(--head); color: #fff; cursor: pointer; border-radius: 99px; }
.menu-toggle svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.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: 56rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); padding: .5rem 1rem 1rem; z-index: 5; }
  .js .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .js .site-nav__list { flex-direction: column; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: .6rem; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
}

/* crumbs */
.crumbs { font: 400 .85rem var(--head); color: var(--muted); padding: 1.1rem 0 0; }
.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; color: #9aa8b8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-d); }
.band .crumbs, .band .crumbs a { color: #a9b9cc; }

/* hero (home) + band (category) */
.hero, .band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6edf6; }
.hero { padding: 2.6rem 0 3rem; }
.band { padding: .2rem 0 2.2rem; }
.hero h1, .band h1 { color: #fff; max-width: 44rem; }
.hero .lead, .band .lead { color: #c3d0df; }
.hero .kicker { color: var(--green-l); }
.page-title { margin-top: .6em; }

/* home body: incident tiles + hubs */
.home-body { padding: 2rem 0 1rem; }
.prose.prose--wide { max-width: none; }
.incidents { list-style: none; margin: -3.2rem 0 2.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .8rem; position: relative; }
.incidents a { display: flex; flex-direction: column; gap: .3rem; height: 100%; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(14,26,43,.08); }
.incidents a:hover { border-left-color: var(--green); transform: translateY(-1px); }
.incidents strong { font: 650 1.05rem/1.25 var(--head); color: var(--navy); }
.incidents span { font-size: .92rem; color: var(--muted); }
.hubs { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.hubs a { display: block; height: 100%; background: var(--navy-2); color: #dbe4ef; border-radius: var(--r); padding: 1.1rem 1.2rem; text-decoration: none; }
.hubs a:hover { background: var(--navy-3); }
.hubs strong { display: block; font: 650 1.1rem/1.25 var(--head); color: #fff; margin-bottom: .3rem; }
.hubs span { font-size: .92rem; }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.4rem; align-items: start; margin-top: 1rem; }
@media (max-width: 60rem) { .layout { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 1rem; position: sticky; top: 1rem; }
@media (max-width: 60rem) { .aside { position: static; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.5em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 0 0 1.2em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--head); font-weight: 600; background: var(--line-2); }
.prose .note { background: var(--amber-bg); border-left: 4px solid var(--amber); padding: .8rem 1rem; border-radius: 0 var(--r) var(--r) 0; }
.prose--answer > p:first-child { background: var(--green-bg); border: 1px solid #bfe6d2; border-radius: var(--r); padding: 1rem 1.15rem; font-size: 1.1rem; color: #0c3b28; }
.prose--answer > p:first-child::before { content: "Kort antwoord"; display: block; font: 700 .75rem/1.2 var(--head); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); margin-bottom: .35rem; }
ol.steps { counter-reset: st; list-style: none; padding: 0; }
ol.steps > li { counter-increment: st; position: relative; padding: .7rem .9rem .7rem 3.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .5rem; }
ol.steps > li::before { content: counter(st); position: absolute; left: .8rem; top: .7rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .9rem/1.7rem var(--head); text-align: center; }

/* cards in the aside */
.help { background: var(--navy); color: #dbe4ef; border-radius: var(--r); padding: 1.1rem 1.2rem; font-size: .95rem; }
.help__head { display: flex; gap: .45rem; align-items: center; font: 700 1.05rem var(--head); color: var(--amber); margin: 0 0 .6rem; }
.help ol { padding-left: 1.2rem; margin-bottom: .8rem; }
.help a { color: var(--green-l); }
.help__more { display: inline-block; font: 600 .9rem var(--head); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.15rem; }
.card__head { font: 650 1rem var(--head); color: var(--navy); margin: 0 0 .5rem; }
.side-list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.side-list li { border-top: 1px solid var(--line-2); }
.side-list li:first-child { border-top: 0; }
.side-list a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); }
.side-list a:hover { color: var(--green-d); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font: 500 .9rem var(--head); color: var(--navy); }
.chips a:hover { border-color: var(--green); color: var(--green-d); }

/* listing panels */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.2rem; margin: 1.6rem 0 2rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.panel[data-cat="gehackt-wat-nu"] { border-top-color: var(--amber); }
.panel__title { margin: 0 0 .4rem; font-size: 1.3rem; }
.panel__title a { color: var(--navy); text-decoration: none; }
.panel__intro { color: var(--muted); font-size: .95rem; }
.panel__list { list-style: none; margin: 0; padding: 0; }
.panel__list li { border-top: 1px solid var(--line-2); }
.panel__list a { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); }
.panel__list a:hover { color: var(--green-d); }

/* category question cards */
.qcards { list-style: none; margin: -1.4rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .8rem; position: relative; }
.qcard { display: flex; flex-direction: column; gap: .4rem; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(14,26,43,.07); }
.qcard:hover { border-color: var(--green); }
.qcard__q { font: 650 1.05rem/1.3 var(--head); color: var(--navy); }
.qcard__x { font-size: .92rem; color: var(--muted); flex: 1; }
.qcard__go { font: 600 .88rem var(--head); color: var(--green-d); }
[data-cat="gehackt-wat-nu"] .qcard { border-left: 5px solid var(--amber); }

/* tools */
.tool-block { margin: 1.6rem 0; }
.tool-block:empty { display: none; }
[data-tool] { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
[data-tool]:empty { display: none; }
.btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--green); color: #fff; border: 0; border-radius: 99px; padding: .55rem 1.1rem; font: 600 .95rem var(--head); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--green-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--line-2); color: var(--navy); }
.btn--small { padding: .35rem .8rem; font-size: .85rem; }
.checklist__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .8rem; }
.checklist__title { font: 700 1.1rem var(--head); color: var(--navy); margin: 0; }
.checklist__bar { flex: 1 1 10rem; height: .55rem; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.checklist__bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s; }
.checklist__status { font: 600 .9rem var(--head); color: var(--muted); }
ol.steps.is-checklist > li { padding-left: 3.4rem; cursor: pointer; }
ol.steps.is-checklist > li::before { display: none; }
.checklist__box { position: absolute; left: .75rem; top: .7rem; width: 1.8rem; height: 1.8rem; margin: 0; accent-color: var(--green); cursor: pointer; }
ol.steps.is-checklist > li.is-done { background: var(--green-bg); border-color: #bfe6d2; color: #3c5a4b; }
ol.steps.is-checklist > li.is-done > :not(.checklist__box) { text-decoration: line-through; text-decoration-color: rgba(11,122,76,.5); }
.pcheck { list-style: none; margin: .6rem 0 0; padding: 0; counter-reset: pq; }
.pcheck > li { padding: .7rem 0; border-top: 1px solid var(--line-2); }
.pcheck > li:first-child { border-top: 0; }
.pcheck__q { display: block; margin: 0 0 .45rem; font-weight: 500; }
.pcheck__btns { display: flex; gap: .4rem; }
.pcheck__btn { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: .3rem 1rem; font: 600 .9rem var(--head); cursor: pointer; color: var(--navy); }
.pcheck__btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pcheck__out:empty { display: none; }
.pcheck__out { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r); background: var(--line-2); font-weight: 500; }
.pcheck__out.is-red { background: var(--red-bg); color: #7d1d16; border-left: 5px solid var(--red); }
.pcheck__out.is-amber { background: var(--amber-bg); color: var(--amber-d); border-left: 5px solid var(--amber); }
.pcheck__out.is-green { background: var(--green-bg); color: #0c3b28; border-left: 5px solid var(--green); }
.pw__label { display: block; font: 650 1rem var(--head); color: var(--navy); margin-bottom: .4rem; }
.pw__show { display: block; font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.pw__input { width: 100%; font: 500 1.05rem var(--body); padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.pw__meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; margin: .8rem 0 .5rem; }
.pw__meter span { height: .5rem; border-radius: 99px; background: var(--line-2); }
.pw__meter.lvl-0 span:nth-child(-n+1) { background: var(--red); }
.pw__meter.lvl-1 span:nth-child(-n+2) { background: var(--amber); }
.pw__meter.lvl-2 span:nth-child(-n+3) { background: var(--green-l); }
.pw__meter.lvl-3 span { background: var(--green); }
.pw__out { font: 650 1rem var(--head); color: var(--navy); margin: 0 0 .4rem; }
.pw__notes { margin: 0; padding-left: 1.2rem; font-size: .93rem; color: var(--muted); }

/* books (theme layer over the kit) */
.bcm-books { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; font-family: var(--head); margin: 1.6rem 0; }
.bcm-books__title { margin-top: 0; font-size: 1.2rem; }

/* footer */
.site-footer { background: var(--navy); color: #c3d0df; margin-top: 3rem; font-size: .93rem; }
.site-footer__inner { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
.site-footer__logo { height: 1.9rem; width: auto; display: block; margin-bottom: .8rem; }
.site-footer__head { font: 650 1rem var(--head); color: #fff; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #c3d0df; line-height: 2; }
.site-footer nav a { text-decoration: none; }
.site-footer a:hover { color: var(--green-l); }
.site-footer__small { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; padding: 1rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8b9cb2; }
@media (max-width: 48rem) { .site-footer__inner { grid-template-columns: 1fr; } }

.disclosure-slot { font: 400 .85rem var(--head); color: var(--muted); padding: 1rem 0; }
.share { margin: 2rem 0; }

@media print {
  body { background: #fff; }
  .alertbar, .site-header, .site-footer, .share, .aside, .crumbs, .bcm-books, .disclosure-slot { display: none; }
  .hero, .band { background: none; color: #000; padding: 0; }
  .hero h1, .band h1 { color: #000; }
  .layout { display: block; }
  ol.steps > li { break-inside: avoid; }
}
