/* zwemwatercheck.nl_www - theme v1 (05-11-2026, "statusbord aan het water")
   Pale lake paper, deep navy ink, one water teal. The status colours are the only loud colours on the site, so a
   warning reads at a glance: goed green, onderzoek grey, waarschuwing amber, negatief zwemadvies orange, zwemverbod
   red; every pill also carries the word, never colour alone. A soft wave line closes the header and the footer.
   Fonts self-hosted: Outfit (logo, headings, pills; OFL), Atkinson Hyperlegible (body; OFL, readability of health
   text). Licences beside the files. Bump ?v= in _partials/head-assets.html after every change. */
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit-latin-variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f4f9fb; --white: #ffffff; --ink: #0b2a3c; --ink-2: #29475a; --muted: #557083; --rule: #cfe1e8; --lake: #d7eef4;
  --water: #0e7c9a; --water-d: #0a5f78; --foam: #bfe6ef;
  --st-goed: #1e8a4a; --st-goed-bg: #e2f4e8; --st-onderzoek: #5b6b78; --st-onderzoek-bg: #e9eef2;
  --st-waarschuwing: #9a6b00; --st-waarschuwing-dot: #e0a100; --st-waarschuwing-bg: #fff4d6;
  --st-negatief: #b9470e; --st-negatief-dot: #e2611c; --st-negatief-bg: #ffe9dc;
  --st-verbod: #b3261e; --st-verbod-bg: #fde4e2; --st-onbekend: #6b7c88; --st-onbekend-bg: #eef2f4;
  --r: 18px; --r-sm: 12px; --wrap: 72rem; --text: 44rem; --g: clamp(1rem, 4vw, 2rem);
  --f-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --s--1: clamp(.86rem, .84rem + .1vw, .92rem); --s0: clamp(1rem, .97rem + .2vw, 1.0625rem);
  --s1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); --s2: clamp(1.55rem, 1.25rem + 1.2vw, 2.25rem);
  --s3: clamp(2rem, 1.35rem + 3vw, 3.6rem);
  --shadow: 0 1px 2px rgba(11, 42, 60, .06), 0 6px 20px rgba(11, 42, 60, .07);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  font: 400 var(--s0)/1.62 var(--f-body); }
main { flex: 1 0 auto; padding-bottom: 3rem; }
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--water-d); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--r-sm); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: var(--s3); font-weight: 800; }
h2 { font-size: var(--s2); margin-top: 1.6em; }
h3 { font-size: var(--s1); margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
.lead { font-size: var(--s1); line-height: 1.45; color: var(--ink-2); max-width: 40rem; }
.num { font-variant-numeric: tabular-nums; }
.wave { display: block; height: 14px; background:
  radial-gradient(circle at 10px -4px, transparent 12px, var(--lake) 13px) 0 0 / 20px 14px repeat-x; }

/* header */
.site-header { background: var(--white); position: relative; z-index: 5; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--g); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand__logo { height: 44px; width: auto; display: block; }
.menu-toggle { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; background: var(--lake); color: var(--ink);
  border: 0; border-radius: 999px; font: 700 1rem var(--f-head); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; 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; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.3rem; flex-wrap: wrap; }
.site-nav__link { display: inline-block; padding: .55rem .1rem; font: 600 1.02rem var(--f-head); text-decoration: none; color: var(--ink); }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { color: var(--water-d); box-shadow: inset 0 -3px 0 var(--water); }
@media (max-width: 52rem) {
  .brand__logo { height: 36px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); padding: .3rem var(--g) 1rem; box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
}

/* buttons, kicker */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .65rem 1.3rem; background: var(--water); color: var(--white);
  border: 0; border-radius: 999px; font: 700 1.02rem var(--f-head); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--water-d); color: var(--white); }
.btn--light { background: var(--white); color: var(--water-d); box-shadow: inset 0 0 0 2px var(--water); }
.btn--light:hover { background: var(--lake); color: var(--ink); }
.btn--small { min-height: 38px; padding: .35rem .9rem; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--water-d); box-shadow: none; text-decoration: underline; text-underline-offset: .18em; padding-left: .4rem; padding-right: .4rem; }
.btn--ghost:hover { background: var(--lake); color: var(--ink); }
.kicker { display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem var(--f-head); color: var(--water-d); background: var(--lake);
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.kicker::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--water); }

/* status pill: colour + word */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .7rem .18rem .55rem; border-radius: 999px; font: 700 .9rem/1.4 var(--f-head);
  white-space: nowrap; background: var(--st-onbekend-bg); color: var(--st-onbekend); }
.pill::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; flex: none; }
.pill--goed { background: var(--st-goed-bg); color: var(--st-goed); }
.pill--onderzoek { background: var(--st-onderzoek-bg); color: var(--st-onderzoek); }
.pill--waarschuwing { background: var(--st-waarschuwing-bg); color: var(--st-waarschuwing); }
.pill--waarschuwing::before { background: var(--st-waarschuwing-dot); }
.pill--negatief_zwemadvies { background: var(--st-negatief-bg); color: var(--st-negatief); }
.pill--negatief_zwemadvies::before { background: var(--st-negatief-dot); }
.pill--zwemverbod { background: var(--st-verbod-bg); color: var(--st-verbod); }

/* hero + search */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem) 0 1.5rem; }
.hero h1 { max-width: 15ch; }
@media (max-width: 52rem) { .hero { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } .hero > * { min-width: 0; } }
.search { display: flex; gap: .5rem; max-width: 34rem; margin-top: 1.2rem; background: var(--white); padding: .4rem; border-radius: 999px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 1rem; font: 400 1.05rem var(--f-body); color: var(--ink); border-radius: 999px; }
.search input:focus-visible { outline-offset: -2px; }
.search__hint { font-size: var(--s--1); color: var(--muted); margin: .6rem 0 0 1rem; }
.board { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.3rem 1.4rem; }
.board__title { font: 700 1.05rem var(--f-head); margin: 0 0 .8rem; }
.board__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.board__rows li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.board__rows b { font: 800 1.3rem var(--f-head); font-variant-numeric: tabular-nums; }
.board__note { font-size: var(--s--1); color: var(--muted); margin: .9rem 0 0; }
.season { border-left: 4px solid var(--water); background: var(--lake); padding: .8rem 1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 1.2rem; }

/* results */
.results { display: grid; gap: .8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.spot { background: var(--white); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 1rem 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; align-items: start; }
.spot__name { font: 700 1.15rem/1.25 var(--f-head); margin: 0; }
.spot__meta { color: var(--muted); font-size: var(--s--1); margin: 0; }
.spot__why { margin: .35rem 0 0; grid-column: 1 / -1; }
.spot__act { grid-column: 1 / -1; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: .4rem; }
.spot.is-followed { box-shadow: inset 0 0 0 2px var(--water), var(--shadow); }
.result-note { color: var(--muted); font-size: var(--s--1); margin: .8rem 0 0; }

/* sections and cards from BCM */
.section { margin-top: clamp(2rem, 5vw, 3.5rem); }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.2rem 1.3rem; }
.card h3 { margin-top: .4rem; }
.card--lake { background: var(--lake); box-shadow: none; }
.card .pill { margin-bottom: .2rem; }
.latest { list-style: none; margin: 0; padding: 0; }
.latest li { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.latest li:last-child { border-bottom: 0; }
.latest__when { color: var(--muted); font-size: var(--s--1); margin-left: auto; }
.more { font: 600 1rem var(--f-head); }
.more::after { content: " \2192"; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--water) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.callout { background: var(--st-waarschuwing-bg); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout--info { background: var(--lake); }
.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: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--water); color: var(--white);
  font: 700 1rem/1.9rem var(--f-head); text-align: center; }
table.status-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; background: var(--white); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); }
.status-table th, .status-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.status-table th { font: 700 .95rem var(--f-head); background: var(--lake); }
@media (max-width: 40rem) { .status-table th:nth-child(3), .status-table td:nth-child(3) { display: none; } }

/* alert form */
.alert { background: var(--ink); color: var(--white); border-radius: var(--r); padding: clamp(1.3rem, 4vw, 2.2rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.alert h2 { color: var(--white); margin-top: 0; }
.alert a { color: var(--foam); }
.alert__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1rem; padding: 0; list-style: none; min-height: 2.2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--white); color: var(--ink); border-radius: 999px; padding: .25rem .4rem .25rem .8rem; font: 600 .95rem var(--f-head); }
.chip button { border: 0; background: var(--lake); color: var(--ink); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font: 700 1rem/1 var(--f-head); }
.alert__empty { color: var(--foam); font-size: var(--s--1); margin: 0; }
.alert__row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; }
.alert__field { display: grid; gap: .3rem; flex: 1 1 16rem; font: 600 .95rem var(--f-head); }
.alert__field input { min-height: 48px; border: 0; border-radius: var(--r-sm); padding: 0 .9rem; font: 400 1.05rem var(--f-body); color: var(--ink); }
.alert__pick { display: flex; gap: .5rem; flex-wrap: wrap; }
.alert__pick input { flex: 1 1 14rem; }
.alert__suggest { list-style: none; margin: .3rem 0 0; padding: 0; background: var(--white); border-radius: var(--r-sm); color: var(--ink); max-height: 16rem; overflow: auto; }
.alert__suggest button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: .6rem .9rem; font: 400 1rem var(--f-body); color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--rule); }
.alert__suggest button:hover, .alert__suggest button:focus-visible { background: var(--lake); }
.alert__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert__consent { font-size: var(--s--1); color: var(--foam); margin: .9rem 0 0; }
.alert__msg { margin: .8rem 0 0; padding: .6rem .9rem; border-radius: var(--r-sm); background: var(--white); color: var(--ink); }
.alert__msg.is-err { background: var(--st-verbod-bg); color: var(--st-verbod); }
.alert__done { background: var(--white); color: var(--ink); border-radius: var(--r-sm); padding: 1.1rem 1.2rem; }
.alert__done-title { font: 800 1.4rem var(--f-head); margin: 0 0 .4rem; color: var(--water-d); }
.alert__done-small { color: var(--muted); font-size: var(--s--1); margin: 0; }
.alert .btn { background: var(--white); color: var(--ink); }
.alert .btn:hover { background: var(--foam); }

/* text pages */
.crumbs { font-size: var(--s--1); color: var(--muted); margin: 1.4rem 0 .4rem; }
.crumbs a { color: var(--muted); }
.page-head { padding: .4rem 0 .6rem; }
.page-head h1 { max-width: 24ch; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem; align-items: start; }
@media (max-width: 60rem) { .layout { grid-template-columns: minmax(0, 1fr); } .layout > * { min-width: 0; overflow-wrap: break-word; } }
.prose { max-width: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .35rem; }
.aside-card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.2rem; margin-bottom: 1rem; }
.aside-card--lake { background: var(--lake); box-shadow: none; }
.aside-card__head { font: 700 1.1rem var(--f-head); margin: 0 0 .5rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 700; }
.source { font-size: var(--s--1); color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #dbe9ef; margin-top: auto; }
.site-footer .wave { background: radial-gradient(circle at 10px 18px, transparent 12px, var(--ink) 13px) 0 0 / 20px 14px repeat-x; background-color: var(--paper); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2.2rem var(--g) 1rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer__logo { height: 36px; width: auto; margin-bottom: .8rem; }
.site-footer__head { font: 700 1rem var(--f-head); color: var(--white); margin: 0 0 .5rem; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: .8rem var(--g) 1.6rem; font-size: var(--s--1); color: #9fbccb; border-top: 1px solid #1d4257; }
.wave--header { background-color: var(--white); background-image: radial-gradient(circle at 10px 18px, transparent 12px, var(--paper) 13px); background-size: 20px 14px; background-repeat: repeat-x; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--rule); }
.board__title--gap { margin-top: 1.1rem; }
.alert__chips:empty { display: none; }

/* sample mail and the honest cadence line above the alert form (05-11-2026, lessons inbraakalert) */
.alert__honest { color: var(--foam); font-size: var(--s--1); margin: 0 0 .8rem; }
.alert__example { margin: 0 0 1.1rem; }
.alert__example summary { cursor: pointer; font: 600 .95rem var(--f-head); color: var(--foam); }
.mailx { background: var(--white); color: var(--ink); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: .6rem; max-width: 34rem; box-shadow: var(--shadow); }
.mailx p { margin: 0 0 .5rem; }
.mailx__from { font-size: var(--s--1); color: var(--muted); }
.mailx__subject { font: 700 var(--s1) var(--f-head); }
.mailx__cta { display: inline-block; background: var(--water); color: var(--white); border-radius: 999px; padding: .4rem 1rem; font-weight: 700; }
.mailx__small { font-size: var(--s--1); color: var(--muted); margin: 0; }

/* maps (v1.1, 07-11-2026): Leaflet self-hosted in /assets/map/, tiles from this host (/kaart/...). Status dots use the
   pill colours; every dot also has its name and status in a tooltip, so colour is never the only signal. */
.spot.is-hit { animation: spot-hit 1.6s ease-out; }
@keyframes spot-hit { 0% { box-shadow: inset 0 0 0 3px var(--water), var(--shadow); } 100% { box-shadow: var(--shadow); } }
.spot__map { grid-column: 1 / -1; height: clamp(240px, 52vw, 380px); margin-top: .6rem; border-radius: var(--r-sm); overflow: hidden; background: var(--lake); }
.results-map { height: clamp(260px, 50vw, 380px); margin: 1rem 0 0; border-radius: var(--r); overflow: hidden; background: var(--lake); box-shadow: var(--shadow); }
.mapsec__map { height: clamp(340px, 70vw, 560px); border-radius: var(--r); overflow: hidden; background: var(--lake); box-shadow: var(--shadow); }
.mapsec__legend { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.mapsec__note { font-size: var(--s--1); color: var(--muted); margin: .7rem 0 0; }
.mapx { font: 400 .95rem/1.4 var(--f-body); position: relative; isolation: isolate; }
.mapx .leaflet-control-attribution { font-size: .72rem; background: rgba(255, 255, 255, .85); }
.mapx .leaflet-control-zoom a { color: var(--ink); }
.mapx__switch { display: flex; background: var(--white); border-radius: 999px; box-shadow: 0 1px 4px rgba(11, 42, 60, .25); padding: 3px; }
.mapx__switch button { border: 0; background: transparent; color: var(--ink); font: 700 .9rem var(--f-head); min-height: 34px; padding: 0 .85rem; border-radius: 999px; cursor: pointer; }
.mapx__switch button[aria-pressed="true"] { background: var(--water); color: var(--white); }
.mapx__hint { position: absolute; left: 50%; bottom: 2.9rem; transform: translateX(-50%); z-index: 800; pointer-events: none;
  background: rgba(11, 42, 60, .82); color: var(--white); font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.mapx .leaflet-tooltip { font: 400 .85rem/1.35 var(--f-body); color: var(--ink); border-radius: 8px; }
.mapx .mapx__tip { font-weight: 700; }
.mapx .leaflet-popup-content-wrapper { border-radius: var(--r-sm); }
.mapx .leaflet-popup-content { margin: .8rem 1rem; font: 400 .95rem/1.45 var(--f-body); }
.mapx__pop-name { font: 700 1.05rem/1.25 var(--f-head); margin: 0 0 .35rem; }
.mapx__pop-meta { color: var(--muted); font-size: .85rem; margin: .4rem 0 .6rem; }
.mapx__pop-act { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.mapx .leaflet-popup-content .btn { color: var(--white); }
.mapx .leaflet-popup-content .btn--light { color: var(--water-d); }
