/* Sluisdijk Roleplay — main.css
   Thema: zonsondergang boven de dijk. Oranje = zon, blauw = water en lucht.
   Site-thema (donker, "avond aan zee") en gemeente-thema (licht, officieel). */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --orange: #F39C12; --orange-h: #ce7f00;
  --blue: #68cdf7;   --blue-h: #17b7fc;
  --sea-950: #071726; --sea-900: #0B2135; --sea-800: #0F2A42; --sea-700: #163754; --sea-600: #23496b;
  --foam: #EEF6FB; --mist: #A9C2D4;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px; --gutter: clamp(1rem, 4vw, 2rem);
  --r-sm: 6px; --r: 10px; --r-lg: 18px;
  --header-h: 72px;
}

/* ---------- LICHT thema (standaard; ook zonder JavaScript als het systeem licht is) ---------- */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F9FC; --surface: #FFFFFF; --surface-2: #EAF3F9; --line: #D3E2EC;
  --text: #0B2135; --muted: #4A6479; --heading: #0B2135;
  --link: #0B6593; --link-h: #084a6c; --accent: #0B6593; --orange-text: #A65F00;
  --active-bg: #E3F3FB; --hover-line: #9CC3DC; --input-bg: #FFFFFF; --input-line: #BFD3E0;
  --row-hover: #F3F8FB; --row-selected: #FFF4E0;
  --ok-bg: #E4F5EA; --ok-line: #A8DCBC; --ok-text: #17693D;
  --warn-bg: #FFF6E6; --warn-line: #F0C27A;
  --danger-bg: #FDECEA; --danger-line: #F1A79D; --danger-text: #A3291C;
  --discord-bg: #EEF0FF; --discord-line: #C9CDFB; --mark: #FFE6B3;
  --kbd-bg: linear-gradient(180deg, #FFFFFF, #EEF4F8); --kbd-line: #C4D6E2; --kbd-text: #0B2135;
  --header-bg: rgba(255, 255, 255, .9); --ghost-line: #C4D6E2; --ghost-bg: #FFFFFF;
  --shadow: 0 14px 30px -18px rgba(11, 33, 53, .25);
}
/* ---------- DONKER thema ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B2135; --surface: #0F2A42; --surface-2: #163754; --line: #23496B;
  --text: #EEF6FB; --muted: #A9C2D4; --heading: #FFFFFF;
  --link: #68CDF7; --link-h: #9DDFFB; --accent: #68CDF7; --orange-text: #F39C12;
  --active-bg: rgba(104, 205, 247, .14); --hover-line: #3B6A91; --input-bg: #0B2135; --input-line: #2F5A80;
  --row-hover: rgba(104, 205, 247, .06); --row-selected: rgba(243, 156, 18, .14);
  --ok-bg: rgba(61, 220, 132, .13); --ok-line: rgba(61, 220, 132, .45); --ok-text: #7CF0B0;
  --warn-bg: rgba(243, 156, 18, .12); --warn-line: rgba(243, 156, 18, .45);
  --danger-bg: rgba(255, 107, 91, .13); --danger-line: rgba(255, 107, 91, .45); --danger-text: #FFA196;
  --discord-bg: rgba(88, 101, 242, .16); --discord-line: rgba(88, 101, 242, .5); --mark: rgba(243, 156, 18, .4);
  --kbd-bg: linear-gradient(180deg, #23496B, #163754); --kbd-line: #2F5A80; --kbd-text: #EEF6FB;
  --header-bg: rgba(11, 33, 53, .88); --ghost-line: rgba(238, 246, 251, .35); --ghost-bg: transparent;
  --shadow: 0 18px 40px -20px rgba(3, 12, 22, .7);
}
/* Geen JavaScript? Dan volgt de site het systeem. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0B2135; --surface: #0F2A42; --surface-2: #163754; --line: #23496B;
    --text: #EEF6FB; --muted: #A9C2D4; --heading: #FFFFFF;
    --link: #68CDF7; --link-h: #9DDFFB; --accent: #68CDF7; --orange-text: #F39C12;
    --active-bg: rgba(104, 205, 247, .14); --hover-line: #3B6A91; --input-bg: #0B2135; --input-line: #2F5A80;
    --header-bg: rgba(11, 33, 53, .88); --ghost-line: rgba(238, 246, 251, .35); --ghost-bg: transparent;
  }
}
/* Onderdelen die altijd donker zijn (foto's, footer, calculator): vaste lichte tekst */
.hero, .page-hero, .cta-strip, .site-footer, .calc {
  --text: #EEF6FB; --muted: #A9C2D4; --heading: #FFFFFF; --link: #68CDF7; --link-h: #9DDFFB; --orange-text: #F39C12;
  --ghost-line: rgba(238, 246, 251, .45); --ghost-bg: rgba(7, 23, 38, .35); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; font-weight: 450;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-h); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.25rem; }
.display { text-transform: uppercase; font-weight: 900; letter-spacing: 0; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--orange); color: var(--sea-900); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; } .prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; } .prose li { margin-bottom: .35rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: .85rem 1.4rem; border-radius: var(--r-sm); border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-orange { background: var(--orange); color: var(--sea-900); }
.btn-orange:hover { background: var(--orange-h); color: var(--sea-900); }
.btn-blue { background: var(--blue); color: var(--sea-900); }
.btn-blue:hover { background: var(--blue-h); color: var(--sea-900); }
.btn-ghost { border-color: var(--ghost-line); color: var(--text); background: var(--ghost-bg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: var(--active-bg); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(104, 205, 247, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-text { font-weight: 900; text-transform: uppercase; font-size: 1.1rem; line-height: 1; display: flex; flex-direction: column; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .32em; color: var(--orange-text); margin-top: .3rem; }
.brand-small { font-size: .7rem; font-weight: 600; text-transform: none; color: var(--muted); margin-bottom: .2rem; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a:not(.btn) { display: block; padding: .5rem .6rem; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--r-sm); }
.main-nav a:not(.btn):hover { background: rgba(104, 205, 247, .1); color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--orange-text); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.main-nav a.nav-gemeente { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; margin: auto; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.theme-gemeente .site-header { background: var(--surface); backdrop-filter: none; }
.gem-topbar { background: var(--sea-900); color: var(--mist); font-size: .85rem; padding-top: env(safe-area-inset-top, 0px); }
.gem-topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.gem-topbar a { color: var(--foam); font-weight: 700; text-decoration: none; }
.gem-topbar a::before { content: "‹ "; color: var(--orange-text); }
.theme-gemeente .site-header { padding-top: 0; }

@media (max-width: 1320px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.btn) { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: .9rem; }
  .theme-gemeente .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); }
  .gem-topbar span { display: none; }
}

/* ---------- home hero: het banner-kader boven de horizon ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 900px); display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 56%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,33,53,.1) 0%, rgba(11,33,53,0) 40%, rgba(11,33,53,.55) 80%, var(--bg) 100%); }
:root[data-theme="light"] .hero::after { background: linear-gradient(180deg, rgba(11,33,53,.15) 0%, rgba(11,33,53,.05) 40%, rgba(11,33,53,.4) 100%); }
.hero-frame {
  width: min(100%, 1180px); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem) clamp(1.75rem, 4vw, 2.75rem);
  background: rgba(7, 23, 38, .5); border: 1px solid rgba(238, 246, 251, .22);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); text-align: center;
}
.hero-logo { width: clamp(120px, 16vw, 188px); margin: 0 auto 1.25rem; filter: drop-shadow(0 12px 24px rgba(0,0,0,.45)); }
.hero h1 {
  font-size: clamp(2.6rem, 10.5vw, 6.4rem); text-transform: uppercase; font-weight: 900; line-height: .95; margin: 0;
  background: linear-gradient(180deg, #fff 45%, #cfd9e1 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
}
.tagline { font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--orange-text); letter-spacing: .01em; line-height: 1.3; }
.hero .tagline { font-size: clamp(.95rem, 1.9vw, 1.35rem); margin: .9rem 0 0; }
.hero-intro { max-width: 58ch; margin: 1.25rem auto 0; color: #dbe7ef; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 1rem clamp(1.5rem, 5vw, 4rem); margin: 2rem auto 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(238, 246, 251, .18); max-width: 760px; text-align: left; }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; }
.stat-icon { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--blue); }
.stat dt { font-size: .8rem; font-weight: 600; color: #bcd0dd; line-height: 1.2; }
.stat dd { margin: 0; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.stat dd a { color: #fff; text-decoration: none; text-transform: none; }
.stat dd a:hover { color: var(--blue); }
.stat .status-dot { width: 14px; height: 14px; margin: 0 8px; }
.stat[data-state="online"] dd { color: #5ff0a0; }
.stat[data-state="offline"] dd { color: #ff8a7d; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; justify-content: stretch; max-width: 260px; } }
.hero-status { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .95rem; color: #dbe7ef; }
.copy-cmd { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-size: .92rem; font-weight: 600; color: #dbe7ef; background: rgba(7,23,38,.6); border: 1px dashed rgba(104,205,247,.5); border-radius: var(--r-sm); padding: .4rem .75rem; cursor: pointer; }
.copy-cmd:hover { border-color: var(--blue); color: #fff; }
.copy-cmd code { font-family: inherit; color: var(--blue); font-weight: 700; }

.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mist); box-shadow: 0 0 0 3px rgba(169,194,212,.2); }
[data-state="online"] .status-dot { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
[data-state="offline"] .status-dot { background: #ff6b5b; box-shadow: 0 0 0 3px rgba(255,107,91,.25); }
@media (prefers-reduced-motion: no-preference) {
  [data-state="online"] .status-dot { animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }
  .hero-frame > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-frame > :nth-child(2) { animation-delay: .08s; } .hero-frame > :nth-child(3) { animation-delay: .16s; }
  .hero-frame > :nth-child(4) { animation-delay: .24s; } .hero-frame > :nth-child(n+5) { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--orange); }
.facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 1rem; }
.facts dt { font-size: .85rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: .15rem 0 0; font-weight: 800; font-size: 1.15rem; }

/* stappen: echte volgorde, dus genummerd */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.steps li { counter-increment: step; position: relative; padding-right: 1.5rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange); color: var(--orange-text); font-weight: 900; font-size: 1.1rem; margin-bottom: 1.1rem; position: relative; }
.steps li:nth-child(n+3)::before { border-color: var(--blue); color: var(--accent); }
.steps h3 { margin-bottom: .35rem; } .steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--orange), var(--blue)); }
  .steps li { padding: 0 0 0 4.25rem; } .steps li::before { position: absolute; left: 0; top: -4px; }
}

/* carrières: kleur codeert soort beroep (blauw = hulpdienst/overheid, oranje = burger/ondernemer) */
.careers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 3rem; }
.career { padding: 1.6rem 0 1.4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.career-icon { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(104,205,247,.12); color: var(--accent); }
.career[data-kind="burger"] .career-icon { background: rgba(243,156,18,.13); color: var(--orange-text); }
.career-icon svg { width: 24px; height: 24px; }
.career h3 { margin: .45rem 0 .35rem; font-size: 1.15rem; }
.career p { grid-column: 2; color: var(--muted); font-size: .98rem; margin: 0 0 .5rem; }
.career a { grid-column: 2; font-weight: 700; font-size: .95rem; }
.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--muted); font-size: .9rem; margin: -1.25rem 0 1.5rem; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); margin-right: .45rem; }
.legend span + span::before { background: var(--orange); }

/* gemeente teaser (lichte "brief" op donkere site) */
.gem-teaser { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.gem-teaser-body { padding: clamp(1.75rem, 4vw, 3rem); border-top: 6px solid var(--blue); }
.gem-teaser h2 { color: var(--heading); }
.gem-teaser p { color: var(--muted); }
.gem-teaser-links { background: var(--surface); padding: clamp(1.75rem, 4vw, 3rem); border-top: 6px solid var(--orange); }
.gem-teaser-links ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.gem-teaser-links li a { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none; }
.gem-teaser-links li a:hover { color: var(--accent); }
.gem-teaser-links li a::after { content: "›"; color: var(--orange-text); font-weight: 900; }
@media (max-width: 860px) { .gem-teaser { grid-template-columns: 1fr; } }
.search-inline { display: flex; gap: .5rem; margin-top: 1.25rem; }
.search-inline input { flex: 1; min-width: 0; }

/* ---------- forms ---------- */
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="url"], input[type="datetime-local"], input[type="date"], input[type="time"], input:not([type]), select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-line);
  border-radius: var(--r-sm); padding: .75rem .9rem; width: 100%;
}

textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid rgba(104,205,247,.4); outline-offset: 0; }
label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.field { margin-bottom: 1.1rem; }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { margin-top: .35rem; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.form-msg { padding: .9rem 1rem; border-radius: var(--r-sm); margin-top: 1rem; font-weight: 600; }
.form-msg[data-type="ok"] { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-text); }
.form-msg[data-type="error"] { background: var(--danger-bg); border: 1px solid var(--danger-line); color: var(--danger-text); }
[aria-invalid="true"] { border-color: #ff6b5b !important; }

/* ---------- subpage hero ---------- */
.page-hero { position: relative; isolation: isolate; padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 3.5rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,33,53,.94) 0%, rgba(11,33,53,.78) 55%, rgba(11,33,53,.5) 100%); }
.page-hero h1 { text-transform: uppercase; margin-bottom: .6rem; }
.page-hero .lead { color: #d3e1ea; margin: 0; }
.page-hero .breadcrumb a, .page-hero .breadcrumb li::before { color: #cfe0ea; } .page-hero .breadcrumb [aria-current] { color: #fff; }
.breadcrumb { font-size: .88rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); } .breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* gemeente page header: licht, officieel */
.gem-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 6vw, 3.5rem) 0; }
.gem-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--heading); }
.gem-hero .lead { margin: 0; }
.gem-home-hero { background: linear-gradient(90deg, rgba(11,33,53,.9), rgba(11,33,53,.55)), url("/assets/img/panorama-1600.webp") center 60% / cover; color: #fff; padding: clamp(3rem, 8vw, 5rem) 0; }
.gem-home-hero h1 { color: #fff; } .gem-home-hero .lead { color: #d3e1ea; }
.gem-search { display: flex; gap: .5rem; max-width: 620px; margin-top: 1.5rem; }
.gem-search input { background: #fff; color: #0B2135; border: 0; padding: .95rem 1rem; }

/* ---------- cards (alleen waar content echt kaart-achtig is) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.4rem 1.2rem; text-decoration: none; color: var(--text); transition: border-color .15s; }
a.tile:hover { border-color: var(--blue); color: var(--text); }
.tile h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.tile-icon { width: 40px; height: 40px; margin-bottom: .9rem; color: var(--orange-text); }
.theme-gemeente .tile-icon { color: var(--accent); }

.notice { border-left: 4px solid var(--orange); background: var(--surface-2); padding: 1rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 1.5rem; }
.notice p:last-child { margin: 0; }
.notice-blue { border-left-color: var(--blue); }

/* ---------- regels ---------- */
.layout-aside { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } .aside-sticky { position: static; } }
.toc-list { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list a { display: flex; gap: .6rem; padding: .45rem 0; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc-list a::before { content: counter(toc); color: var(--orange-text); font-weight: 800; min-width: 1.2em; }
.toc-list a:hover, .toc-list a.active { color: var(--text); }
.rule-group { margin-bottom: 3rem; }
.rule-group h2 { display: flex; align-items: baseline; gap: .8rem; font-size: 1.6rem; }
.rule-group-nr { color: var(--orange-text); font-weight: 900; }
.rule-intro { color: var(--muted); }
.rule, .faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: .5rem; }
.rule summary, .faq summary { list-style: none; cursor: pointer; display: flex; gap: .9rem; align-items: baseline; padding: 1rem 1.2rem; font-weight: 700; }
.rule summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.rule summary::after, .faq summary::after { content: "+"; margin-left: auto; color: var(--accent); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.rule[open] summary::after, .faq[open] summary::after { content: "−"; }
.rule[open], .faq[open] { background: var(--surface-2); }
.rule[open], .faq[open] { border-color: var(--hover-line); }
.rule-nr { color: var(--orange-text); font-weight: 800; min-width: 2.4em; font-variant-numeric: tabular-nums; }
.rule-body, .faq-body { padding: 0 1.2rem 1.1rem calc(1.2rem + 2.4em + .9rem); color: var(--muted); }
.faq-body { padding-left: 1.2rem; }
.rule-body p, .faq-body p { margin-bottom: .5rem; color: var(--text); opacity: .88; }
.rule-link { font-size: .85rem; }
.rule:target { outline: 2px solid var(--orange); }
.filter-bar { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.filter-bar input[type="search"] { flex: 1 1 280px; }
.filter-bar select { flex: 0 1 260px; }
.result-count { color: var(--muted); font-size: .9rem; }
.empty-state { padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.faq-group { font-size: 1.35rem; margin: 2.5rem 0 1rem; }
.faq-group:first-child { margin-top: 0; }

/* ---------- sollicitaties ---------- */
.jobs { display: grid; gap: 1rem; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); border-left: 4px solid var(--blue); }
.job[data-kind="staff"] { border-left-color: var(--orange); }
.job h3 { margin: 0 0 .25rem; }
.job p { margin: 0; color: var(--muted); font-size: .96rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.job-meta strong { color: var(--text); }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--ok-bg); color: var(--ok-text); }
.badge-closed { background: var(--danger-bg); color: var(--danger-text); }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2.25rem); }

/* ---------- team ---------- */
.team-group { margin-bottom: 3rem; }
.team-group h2 { font-size: 1.4rem; display: flex; align-items: center; gap: .75rem; }
.team-group h2::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--orange)); }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.member { display: flex; align-items: center; gap: .9rem; padding: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 900; color: var(--sea-900); background: var(--c, var(--orange)); }
.member strong { display: block; line-height: 1.2; } .member span { font-size: .88rem; color: var(--muted); }

/* ---------- doneren ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; align-items: stretch; }
.package { display: flex; flex-direction: column; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.package.featured { border: 2px solid var(--orange); }
.package h3 { margin-bottom: .2rem; }
.price { font-size: 2.2rem; font-weight: 900; margin: .5rem 0 1rem; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.package ul { padding-left: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; flex: 1; }
.package li { margin-bottom: .35rem; }

/* ---------- wetboek ---------- */
.wb-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .wb-layout { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.wb-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 680px; }
.wb-table th, .wb-table td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wb-table thead th { background: var(--sea-900); color: #fff; font-size: .85rem; font-weight: 700; position: sticky; top: 0; }
.wb-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wb-table thead .num { text-align: right; }
.wb-cat th { background: var(--surface-2); color: var(--accent); font-weight: 800; font-size: .92rem; }
.wb-art { font-weight: 700; white-space: nowrap; }
.wb-row { cursor: pointer; } .wb-row:hover { background: var(--row-hover); }
.wb-row.selected { background: var(--row-selected); }
.wb-check { width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }
.calc { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--sea-900); color: var(--foam); border-radius: var(--r-lg); padding: 1.5rem; }
.calc .muted { color: var(--mist); }
.calc h2 { font-size: 1.2rem; color: #fff; }
.calc-totals { display: grid; grid-template-columns: 1fr; gap: .1rem; margin: 1rem 0; }
.calc-totals div { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--sea-600); }
.calc-totals dt { color: var(--mist); } .calc-totals dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-totals .total dd { color: var(--orange-text); font-size: 1.3rem; }
.calc-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; color: var(--mist); max-height: 180px; overflow-y: auto; }
.calc-list li { padding: .25rem 0; }
.calc .btn { width: 100%; margin-top: .5rem; }
.calc .btn-ghost { background: transparent; }
:root[data-theme="dark"] .calc { background: var(--sea-950); border: 1px solid var(--line); }
@media (max-width: 1000px) { .calc { position: static; } }

/* gemeente algemeen */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-variant-numeric: tabular-nums; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .96rem; }
.data-table th, .data-table td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--surface-2); font-size: .85rem; }
.data-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.news-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; }
.news-item time { font-weight: 700; color: var(--accent); font-size: .92rem; }
.news-item h3 { margin-bottom: .35rem; }
.news-item p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; gap: .25rem; } }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; border-top: 4px solid var(--c, var(--blue)); }
.service h2 { font-size: 1.3rem; }
.service dl { margin: 1rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .95rem; }
.service dt { color: var(--muted); } .service dd { margin: 0; font-weight: 600; }

/* ---------- CTA strip + footer ---------- */
.cta-strip { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 10vw, 7rem) 0; text-align: center; }
.cta-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; z-index: -2; }
.cta-strip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 23, 38, .66); }
.cta-strip h2 { text-transform: uppercase; font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-strip p { color: #d3e1ea; max-width: 52ch; margin: 0 auto 1.75rem; }
.cta-strip .btn-row { justify-content: center; }

.site-footer { --muted: var(--mist); --text: var(--foam); background: var(--sea-950); color: var(--mist); padding: 4rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .95rem; color: var(--foam); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-brand img { margin-bottom: 1rem; }
.footer-brand .tagline { font-size: .9rem; margin-bottom: .6rem; }
.footer-legal { border-top: 1px solid rgba(104,205,247,.12); margin-top: 3rem; padding-top: 1.5rem; font-size: .82rem; }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--foam); color: var(--sea-900); font-weight: 700; padding: .75rem 1.2rem; border-radius: var(--r-sm); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }
/* keybindings */
.kb-group { margin-bottom: 2.5rem; }
.kb-group h2 { font-size: 1.5rem; }
.kb-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.kb-table th, .kb-table td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.kb-table thead th { font-size: .82rem; color: var(--muted); font-weight: 700; background: var(--surface-2); }
.kb-table tbody tr:last-child td { border-bottom: 0; }
.kb-table td:first-child { width: 11rem; white-space: nowrap; }
.key-combo { display: inline-flex; align-items: center; gap: .35rem; }
.key-combo .plus { color: var(--muted); font-weight: 700; }
kbd { display: inline-block; min-width: 2.1rem; padding: .28rem .55rem; text-align: center; font: inherit; font-size: .85rem; font-weight: 800; color: var(--kbd-text);
  background: var(--kbd-bg); border: 1px solid var(--kbd-line); border-bottom-width: 3px; border-radius: 6px; }
.kb-cmd code { font-family: inherit; font-weight: 700; color: var(--accent); font-size: .92rem; }

/* vote knop */
.vote-float { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; font-weight: 800; font-size: .92rem; text-decoration: none;
  background: var(--orange); color: var(--sea-900); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55); transition: background-color .15s; }
.vote-float:hover { background: var(--orange-h); color: var(--sea-900); }
.vote-float svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .vote-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .vote-float { padding: .8rem; } }

.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.err-page h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--orange-text); margin: 0; line-height: 1; }

@media print { .site-header, .site-footer, .calc, .filter-bar, .gem-topbar { display: none; } body { background: #fff; color: #000; } }

/* =====================================================================
   GEMEENTE: documentatie-layout met zijbalk (licht, officieel)
   ===================================================================== */
.theme-gemeente .gem-header { border-bottom: 1px solid var(--line); box-shadow: inset 0 -3px 0 var(--blue); padding-top: env(safe-area-inset-top, 0px); }
.gem-header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); padding: 0 clamp(1rem, 3vw, 2rem); max-width: 1480px; margin: 0 auto; }
.gem-header .brand { flex: none; }
.search-trigger { flex: 1 1 auto; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: .6rem; font: inherit; font-size: .95rem; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem .8rem; cursor: pointer; text-align: left; }
.search-trigger:hover { border-color: var(--hover-line); color: var(--text); }
.search-trigger svg { width: 18px; height: 18px; flex: none; }
.search-label { flex: 1; }
.search-kbd { font-size: .75rem; padding: .15rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--surface); color: var(--muted); font-weight: 700; }
.gem-actions { display: flex; gap: .5rem; flex: none; }
.side-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); flex: none; }
.side-toggle[aria-expanded="true"] .bars { background: transparent; }
.side-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.side-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.docs { display: grid; grid-template-columns: 290px minmax(0, 1fr); max-width: 1480px; margin: 0 auto; min-height: calc(100vh - var(--header-h)); }
.docs-sidebar { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: 1.5rem 1rem 3rem clamp(1rem, 2vw, 1.5rem); border-right: 1px solid var(--line); font-size: .93rem; }
.docs-sidebar ul { list-style: none; margin: 0; padding: 0; }
.docs-sidebar ul ul { margin: .15rem 0 .35rem .65rem; padding-left: .65rem; border-left: 1px solid var(--line); }
.side-sec + .side-sec { margin-top: 1.4rem; }
.side-label { font-size: .78rem; font-weight: 800; color: var(--heading); margin: 0 0 .4rem .6rem; letter-spacing: .02em; }
.docs-sidebar a { display: block; padding: .38rem .6rem; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 550; line-height: 1.35; }
.docs-sidebar a:hover { background: var(--surface-2); color: var(--text); }
.docs-sidebar a[aria-current="page"] { color: var(--accent); background: var(--active-bg); font-weight: 700; box-shadow: inset 3px 0 0 var(--orange); }
.side-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .38rem .6rem; border-radius: var(--r-sm); color: var(--text); font-weight: 650; line-height: 1.35; }
.side-group > summary::-webkit-details-marker { display: none; }
.side-group > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; flex: none; }
.side-group[open] > summary::after { transform: rotate(45deg); }
.side-group > summary:hover { background: var(--surface-2); }

.docs-main { display: grid; grid-template-columns: minmax(0, 800px) 210px; gap: clamp(2rem, 4vw, 4rem); padding: 2rem clamp(1rem, 4vw, 3.5rem) 4rem; justify-content: start; }
.docs-main:not(:has(.page-toc)) { grid-template-columns: minmax(0, 1100px); }
.docs-article { min-width: 0; }
.docs-article > h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 1rem; color: var(--heading); }
.docs-article h2 { font-size: 1.45rem; margin-top: 2.25rem; color: var(--heading); scroll-margin-top: calc(var(--header-h) + 1rem); }
.docs-article h3 { color: var(--heading); }
.docs-article > p, .docs-article > ul, .docs-article > ol:not(.steps):not(.news-list) { max-width: 72ch; }
.docs-article ul:not([class]) { padding-left: 1.2rem; } .docs-article ul:not([class]) li { margin-bottom: .35rem; }
.docs-article .lead { font-size: 1.15rem; }
.docs .breadcrumb a { color: var(--muted); }
.docs .breadcrumb li:not(:has(a)):not([aria-current]) { color: var(--muted); }
.page-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; font-size: .88rem; max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; }
.page-toc h2 { font-size: .82rem; font-weight: 800; margin: 0 0 .6rem; color: var(--heading); }
.page-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.page-toc a { display: block; padding: .3rem 0 .3rem .8rem; color: var(--muted); text-decoration: none; line-height: 1.35; margin-left: -1px; border-left: 2px solid transparent; }
.page-toc a:hover { color: var(--text); }
.page-toc a.active { color: var(--accent); border-left-color: var(--orange); font-weight: 700; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); background: var(--surface); }
.pn span { font-size: .8rem; color: var(--muted); } .pn strong { font-size: 1rem; }
.pn:hover { border-color: var(--accent); color: var(--text); }
.pn-next { text-align: right; grid-column: 2; }

.gem-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16 / 5; background: var(--sea-900); }
.gem-banner img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.gem-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,33,53,.1), rgba(11,33,53,.55)); }
.gem-banner-logo { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: clamp(80px, 16%, 150px); z-index: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.docs .tiles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .docs .tiles { grid-template-columns: 1fr; } }

.card-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 1.5rem; }
.card-link { display: flex; flex-direction: column; justify-content: center; gap: .15rem; padding: .85rem 2.5rem .85rem 1.1rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none; color: var(--text); position: relative; min-height: 3.2rem; }
.card-link::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: translateY(-50%) rotate(45deg); }
.card-link:hover { border-color: var(--accent); color: var(--text); } .card-link:hover::after { border-color: var(--accent); }
.card-link strong { font-size: .98rem; line-height: 1.35; } .card-link span { font-size: .85rem; color: var(--muted); }
.card-link-accent { border-color: var(--orange); background: var(--warn-bg); }
.card-links-sm .card-link { min-height: 0; padding-block: .7rem; }
@media (max-width: 640px) { .card-links { grid-template-columns: 1fr; } }

.article-block { padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.article-block h2 { margin-top: 2rem; font-size: 1.3rem; }
.article-block:target h2, .article-block:has(h2:target) h2 { color: var(--accent); }
.article-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.cat-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .22rem .65rem .22rem .5rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: var(--heading); background: color-mix(in srgb, var(--c) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 50%, var(--surface)); text-decoration: none; }
.cat-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.cat-badge:hover { color: var(--heading); border-color: var(--c); }
.cat-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cat-list li { display: grid; grid-template-columns: auto 8.5rem 1fr; align-items: center; gap: .8rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
@media (max-width: 520px) { .cat-list li { grid-template-columns: auto 1fr; } .cat-list li span:last-child { grid-column: 2; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.two-col ul { padding-left: 1.2rem; } .two-col li { margin-bottom: .35rem; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.job-kop { font-weight: 800; font-size: 1.05rem; color: var(--heading); border-left: 4px solid var(--c); padding-left: .75rem; }
.job { border-left-color: var(--c, var(--blue)); }
.job-title { font-size: 1.25rem !important; margin: 0 0 .3rem !important; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.steps-compact { margin-top: 1rem; }
.steps-compact li::before { background: var(--surface); }
.steps-compact h3 { font-size: 1rem; }
.theme-gemeente .steps li::before { background: var(--bg); }
.gform { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.gform iframe { width: 100%; height: 1400px; border: 0; display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--danger-text); font-size: .85rem; font-weight: 600; margin: .3rem 0 0; }
.char-count { font-size: .8rem; color: var(--muted); text-align: right; margin-top: .25rem; }
.theme-gemeente .form-card { max-width: 720px; }
.news-title { font-size: 1.15rem !important; margin: 0 0 .35rem !important; }
.cmd-copy { font: inherit; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .25rem .55rem; cursor: pointer; text-align: left; }
.cmd-copy:hover { border-color: var(--accent); }
.cmd-copy code, .cmd-inline { font-family: inherit; font-weight: 700; color: var(--accent); font-size: .92rem; }
.theme-gemeente .kb-table td:first-child { width: 10rem; }
.calc-title { margin-top: 0 !important; color: #fff !important; font-size: 1.2rem !important; }
.wb-simple .wb-art { width: 7rem; }

/* zoekvenster (Ctrl K) */
.search-dialog { position: fixed; inset: 0; z-index: 300; background: rgba(7, 23, 38, .55); display: grid; justify-items: center; align-items: start; padding: max(8vh, env(safe-area-inset-top, 0px)) 1rem 1rem; }
.search-dialog[hidden] { display: none; }
.search-panel { width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(11,33,53,.5); overflow: hidden; }
.search-field { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-field input { border: 0 !important; outline: 0 !important; padding: .2rem 0; font-size: 1.05rem; background: transparent !important; }
.search-close { font: inherit; font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: .2rem .45rem; cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: .4rem; max-height: min(60vh, 520px); overflow-y: auto; }
.search-results a { display: block; padding: .65rem .8rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--active-bg); }
.search-results .sr-c { display: block; font-size: .78rem; color: var(--muted); }
.search-results .sr-t { display: block; font-weight: 700; }
.search-results .sr-x { display: block; font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-results mark { background: var(--mark); color: inherit; border-radius: 2px; }
.search-empty { padding: 1.2rem; color: var(--muted); text-align: center; }

@media (max-width: 1200px) { .docs-main { grid-template-columns: minmax(0, 1fr); } .page-toc { display: none; } }
@media (max-width: 1100px) { .gem-actions .btn-ghost, .gem-actions .btn-blue { display: none; } }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; }
  .side-toggle { display: grid; place-items: center; }
  .docs-sidebar { position: fixed; top: var(--header-h); left: 0; bottom: 0; width: min(320px, 88vw); height: auto; z-index: 45; background: var(--surface);
    transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(11,33,53,.2); padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
  .docs-sidebar.open { transform: none; }
  .search-trigger .search-label, .search-kbd { display: none; }
  .search-trigger { flex: 0 0 auto; margin: 0 0 0 auto; padding: .6rem; }
  .gem-actions { display: none; }
}
@media (max-width: 560px) { .prev-next { grid-template-columns: 1fr; } .pn-next { grid-column: 1; } }
@media print { .docs-sidebar, .page-toc, .prev-next, .search-dialog { display: none !important; } .docs { display: block; } }

/* sollicitatieformulier: keuzevragen, secties, afwijzing */
.form-section { font-size: 1.05rem; margin: 2rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--heading); }
.form-card > .form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.req { color: #c0392b; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
fieldset.field legend { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.choices { display: grid; gap: .4rem; }
.choices-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice-opt { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; margin: 0; padding: .6rem .8rem; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s; line-height: 1.4; }
.choice-opt:hover { border-color: var(--hover-line); }
.choice-opt input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--accent); flex: none; }
.choice-opt:has(input:checked) { border-color: var(--accent); background: var(--active-bg); }
.choice-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset[data-type="confirm"] .choice-opt:has(input:checked) { border-color: #2e9e5e; background: var(--ok-bg); }
fieldset[data-type="confirm"] .choice-opt input { accent-color: #2e9e5e; }
.has-error .choice-opt { border-color: var(--danger-line); }
.afsluiting { background: var(--surface-2); border-top: 4px solid var(--accent); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; font-size: .96rem; }
.afsluiting p { margin-bottom: .6rem; }
.afsluiting-sign { display: flex; flex-direction: column; margin: 1rem 0 0 !important; }
.afsluiting-sign em { color: var(--muted); }
.reject-box { border: 1px solid var(--warn-line); background: var(--warn-bg); border-left: 4px solid var(--orange); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; margin: 0 0 1.25rem; }
.reject-box h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.reject-box p { margin: 0; }
.is-rejected-hidden { display: none !important; }

/* ---------- Markdown-artikelen (APV & wetboek) ---------- */
.article-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.article-head h1 { margin-bottom: 1rem; }
.copy-page { flex: none; display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font: inherit; font-size: .85rem; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .4rem .7rem; cursor: pointer; }
.copy-page:hover { color: var(--text); border-color: var(--hover-line); }
.copy-page svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .copy-page { display: none; } }
.article-body > :is(p, ul, ol, blockquote, h2, h3, hr, .table-scroll, .straf-blok) { max-width: 78ch; }
.wb-art a { color: inherit; text-decoration: none; } .wb-art a:hover { color: var(--accent); text-decoration: underline; }
.article-body > p, .article-body li { line-height: 1.7; }
.article-body strong { color: var(--heading); font-weight: 750; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.75rem 0; }
.article-body h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.article-body h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .45rem; }
.article-body li::marker { color: var(--accent); font-weight: 700; }
.article-body ol ol { list-style: lower-alpha; margin: .5rem 0 .25rem; }
.article-body ol ol ol { list-style: lower-roman; }
.article-body ul ul { list-style: circle; margin: .4rem 0 .2rem; }
.article-body a { font-weight: 600; }
.article-body code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.article-body blockquote { margin: 1.25rem 0; padding: .9rem 1.1rem; background: var(--surface-2); border-left: 4px solid var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.callout { border-left-color: var(--accent) !important; background: var(--active-bg) !important; }
.callout-warn { border-left-color: var(--orange) !important; background: var(--warn-bg) !important; }
.callout-danger { border-left-color: #c0392b !important; background: var(--danger-bg) !important; }
.callout-tip { border-left-color: #2e9e5e !important; background: var(--ok-bg) !important; }
.callout-title { font-weight: 800; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; margin-bottom: .3rem !important; color: var(--heading); }
.straf-tabel { margin: 1.5rem 0; }
.straf-tabel th[scope="row"] { font-weight: 700; width: 28%; }
.straf-tabel thead th { background: var(--surface-2); }
.straf-blok { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.straf-blok h2 { margin-top: 0 !important; }
.straf-blok ul { list-style: none; padding: 0; margin: 0 0 .5rem; }
.straf-blok li { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: 1.05rem; }
.straf-blok li a { color: var(--heading); text-decoration: none; }
.straf-blok li a:hover { text-decoration: underline; }
.straf-blok li span:last-child { color: var(--muted); }
.straf-toelichting { font-style: italic; color: var(--muted); }
.md-table { margin: 0; }
.side-group.has-page > summary > a { padding: 0; background: none !important; box-shadow: none !important; color: inherit; font-weight: 650; flex: 1; }
.side-group.has-page > summary > a[aria-current="page"] { color: var(--accent); }
.side-group.has-page > summary:has(a[aria-current="page"]) { background: var(--active-bg); box-shadow: inset 3px 0 0 var(--orange); }

/* ---------- Discord koppelen + concept ---------- */
.discord-link { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding: 1rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--r);
  background: var(--discord-bg); border: 1px solid var(--discord-line); transition: box-shadow .2s; }
.discord-link > div { flex: 1 1 220px; display: flex; flex-direction: column; line-height: 1.35; }
.discord-link span { font-size: .88rem; color: var(--muted); }
.discord-link img { border-radius: 50%; }
.discord-link.is-linked { background: var(--ok-bg); border-color: var(--ok-line); }
.discord-link.pulse { box-shadow: 0 0 0 4px rgba(88, 101, 242, .35); }
.discord-unlink { font-size: .85rem; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752C4; color: #fff; }
.draft-note { font-size: .85rem; color: var(--muted); margin: 0 0 1.25rem; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* ---------- thema-schakelaar ---------- */
.theme-toggle { display: inline-flex; flex: none; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.theme-toggle button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle button:hover { color: var(--text); }
.theme-toggle button[aria-checked="true"] { background: var(--surface); color: var(--orange-text); box-shadow: 0 1px 3px rgba(11, 33, 53, .18); }
.theme-toggle svg { width: 16px; height: 16px; }
.site-header:not(.gem-header) .theme-toggle { background: transparent; }
@media (max-width: 1320px) { .site-header:not(.gem-header) .main-nav .theme-toggle { align-self: flex-start; margin: .5rem 0; } }
.gem-header .theme-toggle { margin-left: auto; }
.gem-header .search-trigger + .theme-toggle { margin-left: 0; }
@media (max-width: 900px) { .gem-header .theme-toggle button { width: 28px; height: 28px; } }

/* ---------- menukopjes gemeente: duidelijker ---------- */
.side-sec + .side-sec { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.side-label { display: flex; align-items: center; gap: .55rem; margin: 0 0 .55rem .35rem !important; font-size: .74rem !important; font-weight: 800 !important;
  letter-spacing: .09em !important; text-transform: uppercase; color: var(--heading) !important; }
.side-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 7px; background: rgba(243, 156, 18, .16); color: var(--orange-text); }
.side-icon svg { width: 14px; height: 14px; }
.side-sec > ul > li > a, .side-sec > ul > li > details > summary { font-weight: 650; color: var(--text); }
.side-sec > ul > li > details ul a { font-weight: 500; }
.wb-layout > * { min-width: 0; }
#wetboek .wb-art { white-space: normal; }
@media (max-width: 480px) { .gem-header .brand-text { display: none; } .gem-header-inner { gap: .6rem; } .theme-gemeente .kb-table td:first-child { width: auto; } }

/* ---------- terugknop in de gemeente ---------- */
.back-btn { display: inline-flex; align-items: center; gap: .35rem; flex: none; padding: .5rem .85rem .5rem .6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 700; font-size: .9rem; text-decoration: none; }
.back-btn:hover { border-color: var(--accent); color: var(--accent); }
.back-btn svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .back-label { display: none; } .back-btn { padding: .5rem; } }

/* ---------- serverregels op de hoofdsite ---------- */
.aside-title { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--heading); margin: 0 0 .25rem; }
.aside-note { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.regels { min-width: 0; }
.regels-intro { margin-bottom: 1.5rem; }
.regels-intro > p:first-child { font-size: 1.1rem; }
.regels .filter-bar { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--bg); padding: .75rem 0; margin-bottom: 1rem; }
.regels-sec { margin: 0 0 3rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.regels-sec > h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); padding-bottom: .6rem; border-bottom: 2px solid var(--orange); margin-bottom: 1rem; }
.regels-sec-intro { color: var(--muted); margin-bottom: 1rem; }
.regels-page .article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; }
.rule-art { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: .55rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.rule-art > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: .95rem 1.15rem; font-weight: 700; }
.rule-art > summary::-webkit-details-marker { display: none; }
.rule-art > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: .25rem; transition: transform .15s; }
.rule-art[open] > summary::after { transform: rotate(-135deg); }
.rule-art > summary:hover { background: var(--active-bg); border-radius: var(--r); }
.rule-art[open] { border-color: var(--hover-line); box-shadow: var(--shadow); }
.rule-art:target { outline: 2px solid var(--orange); outline-offset: 2px; }
.rule-art .rule-nr { flex: none; min-width: 4.2rem; color: var(--orange-text); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
.rule-art .rule-title { flex: 1; }
.rule-cat { flex: none; font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; }
.rule-content { padding: .25rem 1.4rem 1.1rem; border-top: 1px solid var(--line); }
.rule-content h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.rule-content .straf-blok { margin-top: 1.25rem; }
.rule-content .straf-blok h3 { margin-top: 0; }
.rule-actions { margin: 1rem 0 0; font-size: .85rem; }
.article-body :is(h3, h4) { color: var(--heading); }
@media (max-width: 600px) { .rule-cat { display: none; } .rule-art .rule-nr { min-width: 3.4rem; } }

/* tabs keybinds / commands */
.page-tabs { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: 1.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.page-tabs a { padding: .5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); }
.page-tabs a:hover { color: var(--text); }
.page-tabs a[aria-current="page"] { background: var(--orange); color: var(--sea-900); }
.regels.is-searching .regels-intro, .regels.is-searching .regels-sec:not([data-has-articles]) { display: none; }
.article-body .tile h3, .article-body .service h3, .article-body .news-item h3 { margin-top: 0; }

/* ---------- logo's van de diensten ---------- */
.org-logo { display: grid; place-items: center; flex: none; width: 88px; height: 88px; padding: 8px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(11, 33, 53, .35); }
.org-logo img { width: 100%; height: 100%; object-fit: contain; }
.org-logo-lg { width: 128px; height: 128px; padding: 10px; border-radius: 20px; }
.job.has-logo { grid-template-columns: auto 1fr auto; }
.vac-head { display: flex; align-items: center; gap: 1.25rem; margin: .25rem 0 1.25rem; }
.vac-head .job-kop { margin: 0; }
@media (max-width: 700px) {
  .job.has-logo { grid-template-columns: auto 1fr; } .job.has-logo > .btn { grid-column: 1 / -1; }
  .org-logo { width: 64px; height: 64px; padding: 6px; border-radius: 12px; } .org-logo-lg { width: 88px; height: 88px; }
}
@media (max-width: 700px) { .job.has-logo { align-items: start; } .job.has-logo .org-logo { margin-top: .2rem; } }
.career-logo { width: 56px !important; height: 56px !important; background: #fff !important; padding: 5px; border: 1px solid var(--line); border-radius: 12px !important; }
.career-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-host a { color: var(--foam); font-weight: 700; text-decoration: none; }
.footer-host a:hover { color: var(--orange); }

/* ---------- team uit Discord ---------- */
.team-count { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .55rem; margin-left: .25rem; }
.avatar-img { object-fit: cover; background: var(--surface-2); border: 2px solid var(--c, var(--orange)); }
.role-tag { display: inline-flex; align-items: center; gap: .35rem; }
.role-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rc); }

/* ---------- menu "Meer" ---------- */
.nav-more { position: relative; }
.nav-more-btn { display: flex; align-items: center; gap: .3rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text); background: none; border: 0; padding: .5rem .7rem; border-radius: var(--r-sm); cursor: pointer; }
.nav-more-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-more-btn:hover { background: var(--active-bg); }
.nav-more-btn[data-active] { color: var(--orange-text); }
.nav-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-more-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 210px; padding: .4rem !important; flex-direction: column !important; gap: 0 !important;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.nav-more.open .nav-more-menu { opacity: 1; visibility: visible; transform: none; }
.nav-more-menu a { border-radius: var(--r-sm) !important; box-shadow: none !important; }
.nav-more-menu a[aria-current="page"] { background: var(--active-bg); }
@media (max-width: 1320px) {
  .nav-more-btn { display: none; }
  .nav-more-menu { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 0 !important; background: none; min-width: 0; }
}

/* =====================================================================
   NIEUWS – De krant
   ===================================================================== */
.krant { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.krant-kop { text-align: center; border-bottom: 4px double var(--heading); padding-bottom: 1.25rem; margin-bottom: 1rem; }
.krant-balk { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .5rem 0; margin-bottom: 1.25rem; }
.krant-naam { font-size: clamp(2.8rem, 9vw, 6rem); font-weight: 900; letter-spacing: -.02em; line-height: .95; margin: 0; color: var(--heading); text-transform: none; }
.krant-uitgever { display: inline-flex; align-items: center; gap: .6rem; margin: .9rem 0 0; font-weight: 600; color: var(--muted); }
.krant-uitgever img { background: #fff; border-radius: 8px; padding: 2px; }
.krant-cats { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; padding: .6rem 0 1.75rem; }
.krant-cats a { padding: .4rem .85rem; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.krant-cats a:hover { border-color: var(--hover-line); color: var(--text); }
.krant-cats a[aria-current="page"] { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.krant-cats .krant-schrijf { border-style: dashed; color: var(--orange-text); }
.krant-leeg { padding: 3rem 1rem; } .krant-leeg img { margin: 0 auto 1rem; background: #fff; border-radius: 16px; padding: 6px; }
.news-cat { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 .4rem; }
.news-meta { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.krant-lead { margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); padding-bottom: 2.5rem; }
.krant-lead-link { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); text-decoration: none; color: var(--text); align-items: center; }
.krant-lead-img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.krant-lead-img img, .news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.krant-lead-link:hover img, .news-card-link:hover .news-card-img > img { transform: scale(1.03); }
.krant-lead h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.1; margin: 0 0 .75rem; color: var(--heading); }
.krant-lead-intro { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.6; color: var(--text); margin: 0; }
.krant-lead-link:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.75rem; }
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }
.news-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.news-card-img { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--surface-2); margin-bottom: .9rem; }
.news-card-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.news-card-ph img { width: 72px !important; height: 72px !important; object-fit: contain; opacity: .9; background: #fff; border-radius: 14px; padding: 4px; transform: none !important; }
.news-card h3 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .4rem; color: var(--heading); }
.news-card-link:hover h3 { text-decoration: underline; text-underline-offset: .12em; }
.news-card-intro { font-size: .96rem; color: var(--muted); margin: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 3rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .krant-lead-link { grid-template-columns: 1fr; } .news-grid-3 { grid-template-columns: 1fr; } }

/* artikelpagina */
.artikel { padding-top: 2rem; }
.artikel-wrap { max-width: 820px; }
.artikel-kop h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin: .2rem 0 1rem; color: var(--heading); }
.artikel-intro { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.55; color: var(--text); margin: 0 0 1.5rem; }
.byline { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.byline img { background: #fff; border-radius: 10px; padding: 2px; }
.byline > div:not(.byline-acties) { display: flex; flex-direction: column; line-height: 1.35; flex: 1 1 240px; }
.byline span { font-size: .88rem; color: var(--muted); }
.byline-acties { display: flex; gap: .5rem; }
.artikel-cover { margin: 0 0 2rem; border-radius: var(--r-lg); overflow: hidden; }
.artikel-cover img { width: 100%; }
.artikel-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; line-height: 1.75; margin-bottom: 3rem; }
.artikel-body > :is(p, ul, ol) { max-width: none; }
.artikel-body h2, .artikel-body h3 { font-family: var(--font); }
.artikel-body img { border-radius: var(--r); margin: 1rem 0; }
.artikel-body > p:first-of-type::first-letter { float: left; font-family: var(--font); font-weight: 900; font-size: 3.4em; line-height: .85; padding: .05em .1em 0 0; color: var(--orange-text); }
.artikel-update { font-size: .88rem; margin-top: -2rem; margin-bottom: 3rem; }
.artikel-meer h2 { margin-bottom: 1.5rem; }

/* =====================================================================
   EVENEMENTEN
   ===================================================================== */
.ev-overview { margin-bottom: 2.5rem; }
.ev-h { font-size: 1.6rem; margin: 0 0 1.25rem; }
.ev-h-past { margin-top: 3.5rem; color: var(--muted); }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.ev-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s, transform .15s; }
.ev-card-link:hover { border-color: var(--hover-line); transform: translateY(-2px); color: var(--text); }
.ev-card-img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sea-700), var(--sea-900)); }
.ev-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-date { position: absolute; left: 1rem; top: 1rem; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: .4rem .5rem .45rem; border-radius: 12px;
  background: #fff; color: #0B2135; font-size: .78rem; font-weight: 800; text-transform: uppercase; line-height: 1; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.ev-date strong { font-size: 1.6rem; font-weight: 900; line-height: 1; margin-bottom: .15rem; }
.ev-type { position: absolute; right: 1rem; top: 1rem; background: var(--orange); color: var(--sea-900); font-weight: 800; font-size: .78rem; padding: .3rem .6rem; border-radius: 999px; }
.ev-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.ev-card-body h3 { font-size: 1.2rem; margin: 0 0 .7rem; color: var(--heading); }
.ev-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .92rem; color: var(--muted); }
.ev-facts li { display: flex; align-items: center; gap: .5rem; }
.ev-facts svg, .ev-info svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--orange-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev-cancel { color: var(--danger-text); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .3rem; }
.ev-card.is-cancelled .ev-card-img { filter: grayscale(1); opacity: .7; }
.ev-card.is-past { opacity: .75; } .ev-grid-past { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ev-grid-past .ev-card-img { aspect-ratio: 16 / 7; }

/* evenementpagina */
.ev-banner { position: relative; isolation: isolate; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 3.5rem); color: #fff; overflow: hidden;
  --text: #EEF6FB; --muted: #cfe0ea; --heading: #fff; --link: #9DDFFB; --ghost-line: rgba(238,246,251,.45); --ghost-bg: rgba(7,23,38,.35); }
.ev-banner-bg { position: absolute; inset: 0; z-index: -2; } .ev-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.ev-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,23,38,.92) 0%, rgba(7,23,38,.7) 55%, rgba(7,23,38,.35) 100%); }
.ev-banner h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); text-transform: uppercase; margin: .3rem 0 .6rem; max-width: 20ch; }
.ev-banner .lead { color: #d3e1ea; margin: 0; }
.ev-banner .breadcrumb a, .ev-banner .breadcrumb li::before { color: #cfe0ea; } .ev-banner .breadcrumb [aria-current] { color: #fff; }
.ev-kicker { font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; margin: 0; }
.ev-flag { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .25rem .75rem; font-size: .82rem; font-weight: 700; margin: 0 0 .8rem; }
.ev-flag-red { background: rgba(255,107,91,.25); border-color: rgba(255,107,91,.6); }
.event.is-cancelled h1 { text-decoration: line-through; text-decoration-thickness: 3px; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.ev-info { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow); }
.ev-info dl { margin: 0 0 1.25rem; }
.ev-info dl div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ev-info dt { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ev-info dd { margin: .2rem 0 0; font-weight: 700; color: var(--heading); }
.ev-info .btn { width: 100%; }
.ev-countdown { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r); padding: .9rem 1.1rem; margin-bottom: 2rem; }
.ev-countdown span { color: var(--muted); font-weight: 600; } .ev-countdown strong { font-size: 1.2rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.ev-body { margin-bottom: 2rem; }
.ev-map-sec, .ev-gallery { margin-top: 2.5rem; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .8rem 0 0; padding: 0; font-size: .9rem; color: var(--muted); }
.map-legend li { display: flex; align-items: center; gap: .45rem; }
.map-hint { font-size: .82rem; margin-top: .4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.gallery-item { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--surface-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .gallery-item:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(7, 23, 38, .88); }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--r); }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; font-size: 1.6rem; cursor: pointer; background: #fff; color: #0B2135; }
@media (max-width: 960px) { .ev-layout { grid-template-columns: 1fr; } .ev-info { position: static; order: -1; } }

/* kaart */
.map { height: clamp(360px, 60vh, 560px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #164268; z-index: 0; }
.map-overview { height: clamp(300px, 45vh, 440px); }
.map-edit { height: clamp(420px, 65vh, 620px); border-radius: 0 0 var(--r) var(--r); }
.map-edit[data-cursor="route"], .map-edit[data-cursor="locatie"] { cursor: crosshair; }
.map-edit .leaflet-grab { cursor: crosshair; }
.map-pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #0B2135; font-weight: 900; font-size: .8rem; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); font-family: var(--font); }
.map-pin.is-start { background: #2E9E5E; color: #fff; } .map-pin.is-finish { background: #0B2135; color: #fff; }
.map-legend .map-pin { width: 22px; height: 22px; font-size: .65rem; border-width: 2px; }
.map-loc { position: relative; display: block; width: 36px; height: 46px; }
.map-loc > span { position: absolute; left: 3px; top: 0; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.45); }
.map-loc > span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #0B2135; }
.map-loc-sm { width: 18px; height: 22px; } .map-loc-sm > span { width: 15px; height: 15px; left: 1px; border-width: 2px; } .map-loc-sm > span::after { inset: 3px; }
.map-label { font-family: var(--font); font-weight: 800; font-size: .8rem; border-radius: 6px; padding: .25rem .55rem; }
.map-pop { display: flex; flex-direction: column; text-decoration: none; font-family: var(--font); color: #0B2135; } .map-pop span { font-size: .8rem; color: #4A6479; }
.leaflet-container { font-family: var(--font); }
.map-tools { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; padding: .5rem; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: var(--surface-2); }
.map-tools button { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .85rem; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .4rem .65rem; cursor: pointer; }
.map-tools button:hover { border-color: var(--hover-line); }
.map-tools button[aria-pressed="true"] { border-color: var(--accent); background: var(--active-bg); color: var(--accent); }
.map-tools .map-pin { width: 20px; height: 20px; font-size: .6rem; border-width: 2px; }
.map-tools-sep { width: 1px; height: 24px; background: var(--line); margin: 0 .2rem; }
.map-tools-count { margin-left: auto; font-size: .85rem; color: var(--muted); font-weight: 600; padding-right: .3rem; }

/* =====================================================================
   REDACTIE
   ===================================================================== */
.redactie { padding: 2rem 0 4rem; }
.redactie-login { padding: clamp(3rem, 10vw, 6rem) 0; }
.login-card { max-width: 480px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.5rem 2rem; box-shadow: var(--shadow); }
.login-card img { margin: 0 auto 1rem; } .login-card h1 { font-size: 2rem; } .login-card p { color: var(--muted); }
.login-card .btn { margin-top: .75rem; }
.red-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.red-head img { border-radius: 50%; } .red-head h1 { font-size: 1.7rem; margin: 0; } .red-head p { margin: .3rem 0 0; }
.red-head > div { flex: 1; }
.chip { display: inline-block; font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--active-bg); color: var(--accent); margin-right: .3rem; }
.red-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.red-tabs a { padding: .7rem 1rem; font-weight: 700; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.red-tabs a[aria-selected="true"] { color: var(--heading); border-color: var(--orange); }
.red-tabs span { font-size: .78rem; background: var(--surface-2); border-radius: 999px; padding: .1rem .5rem; margin-left: .25rem; }
.red-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.red-bar h1, .red-bar h2 { margin: 0; flex: 1; } .red-bar h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.red-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.red-list li { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.red-list li:last-child { border-bottom: 0; } .red-list li.is-past { opacity: .65; }
.red-thumb { width: 72px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--surface-2); flex: none; } .red-thumb img { width: 100%; height: 100%; object-fit: cover; }
.red-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .red-main a { color: var(--heading); text-decoration: none; } .red-main a:hover { text-decoration: underline; }
.red-main .muted { font-size: .85rem; }
.st { font-size: .76rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.st-live { background: var(--ok-bg); color: var(--ok-text); } .st-concept { background: var(--surface-2); color: var(--muted); } .st-off { background: var(--danger-bg); color: var(--danger-text); }
.red-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.red-side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.red-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; display: grid; gap: .6rem; }
.red-box h2 { font-size: 1rem; margin: 0; } .red-box .field { margin-bottom: .3rem; } .red-box .btn { width: 100%; }
.red-danger { background: transparent; border-style: dashed; } .red-danger .btn { color: var(--danger-text); }
.char-count { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: .2rem; } .char-count.is-over { color: var(--danger-text); font-weight: 700; }
.cover-pick { display: grid; gap: .6rem; } .cover-pick img { border-radius: var(--r-sm); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.md-editor { border: 1px solid var(--input-line); border-radius: var(--r); overflow: hidden; background: var(--input-bg); }
.md-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; padding: .4rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.md-tabs, .md-toolbar { display: flex; flex-wrap: wrap; gap: .2rem; }
.md-head button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--text); background: transparent; border: 1px solid transparent; border-radius: var(--r-sm); padding: .3rem .55rem; cursor: pointer; }
.md-head button:hover { background: var(--surface); border-color: var(--line); }
.md-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--accent); }
.md-toolbar.is-disabled { opacity: .4; pointer-events: none; }
.md-editor textarea { border: 0 !important; border-radius: 0; min-height: 380px; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; line-height: 1.6; outline: 0 !important; }
.md-preview { padding: 1rem 1.2rem; min-height: 380px; font-family: Georgia, serif; }
.gal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.gal-item { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); border: 2px solid transparent; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item.is-cover { border-color: var(--orange); } .gal-item.is-cover::before { content: "Omslag"; position: absolute; left: 4px; top: 4px; background: var(--orange); color: var(--sea-900); font-size: .68rem; font-weight: 800; padding: .1rem .4rem; border-radius: 4px; }
.gal-badge { position: absolute; right: 4px; top: 4px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; padding: .1rem .4rem; border-radius: 4px; }
.gal-acts { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.gal-acts button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #0B2135; font-weight: 900; cursor: pointer; line-height: 1; }
.gal-acts [data-gal-del] { background: #fdecea; color: #a3291c; }
@media (max-width: 1000px) { .red-grid { grid-template-columns: 1fr; } .red-side { position: static; } }

.artikel-body h2, .artikel-body h3, .artikel-body blockquote { clear: both; }
input[type="datetime-local"] { min-height: 2.9rem; }
.status-h { font-size: 1.1rem; margin: 2rem 0 .75rem; }
.status-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.status-list li { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-list li > div { flex: 1; display: flex; flex-direction: column; } .status-list li span:not(.status-ic) { font-size: .9rem; color: var(--muted); }
.status-list .st-fout { background: var(--danger-bg); }

/* ---------- teampagina (nieuw) ---------- */
.team-page .team-group { margin-bottom: 3.25rem; }
.team-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.team-head h2 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; gap: .7rem; }
.team-head h2::before { content: ""; width: 6px; height: 1.4em; border-radius: 3px; background: var(--c); }
.team-head .team-count { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.team-card { --rc: var(--c); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  padding: 1.5rem 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .15s, border-color .15s; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 54px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, transparent), transparent); }
.team-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.team-avatar { position: relative; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: var(--c); margin-bottom: .45rem; }
.team-avatar img, .team-avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); background: var(--surface-2); }
.team-avatar span { display: grid; place-items: center; font-weight: 900; color: var(--heading); }
.team-name { font-size: 1.05rem; line-height: 1.25; color: var(--heading); overflow-wrap: anywhere; }
.team-role { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px;
  color: var(--text); background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.team-role::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rc); flex: none; }
.team-join { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.5rem 1.75rem;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.team-join h2 { font-size: 1.25rem; margin: 0 0 .25rem; } .team-join p { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } .team-card { padding: 1.1rem .6rem 1rem; } .team-avatar { width: 64px; height: 64px; } }
.map-pos { font-size: .85rem; color: var(--muted); margin: .45rem 0 0; font-variant-numeric: tabular-nums; }
.input-btn { display: flex; gap: .5rem; } .input-btn input { flex: 1; min-width: 0; }

/* ---------- stemknop: wit op oranje, met animatie ---------- */
.site-footer .vote-float {
  isolation: isolate; overflow: hidden; color: #fff; font-weight: 800; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(120, 50, 0, .45);
  background: linear-gradient(135deg, #F7A928 0%, #F39C12 45%, #D9640A 100%);
  box-shadow: 0 10px 24px -8px rgba(217, 100, 10, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, filter .2s;
}
.site-footer .vote-float:hover, .site-footer .vote-float:focus-visible { color: #fff; transform: translateY(-4px) scale(1.05); filter: saturate(1.1);
  box-shadow: 0 16px 34px -10px rgba(217, 100, 10, .85), 0 0 0 4px rgba(243, 156, 18, .25), inset 0 1px 0 rgba(255, 255, 255, .4); }
.site-footer .vote-float:active { transform: translateY(-1px) scale(.98); }
.site-footer .vote-float svg { transition: transform .3s; }
/* glans die over de knop schuift */
.site-footer .vote-float::before { content: ""; position: absolute; z-index: -1; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); }
@media (prefers-reduced-motion: no-preference) {
  .site-footer .vote-float:hover::before { animation: vote-shine .8s ease forwards; }
  .site-footer .vote-float:hover svg { animation: vote-thumb .6s ease; }
  /* af en toe een zachte puls, zodat de knop opvalt zonder te storen */
  .site-footer .vote-float::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; animation: vote-pulse 7s ease-out 3s infinite; }
  @keyframes vote-shine { to { left: 130%; } }
  @keyframes vote-thumb { 0% { transform: rotate(0); } 30% { transform: rotate(-22deg) translateY(-2px) scale(1.15); } 60% { transform: rotate(10deg); } 100% { transform: rotate(0); } }
  @keyframes vote-pulse { 0%, 88% { box-shadow: 0 0 0 0 rgba(243, 156, 18, .55); } 100% { box-shadow: 0 0 0 16px rgba(243, 156, 18, 0); } }
}

/* ---------- homepage: korte intro + social media ---------- */
.quick-steps { list-style: none; counter-reset: qs; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; }
.quick-steps li { counter-increment: qs; position: relative; padding-left: 2.75rem; line-height: 1.55; }
.quick-steps li::before { content: counter(qs); position: absolute; left: 0; top: -.05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: .9rem; color: var(--orange-text); border: 2px solid var(--orange); }
.socials-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.socials-grid.no-embed { grid-template-columns: 1fr; }
.soc-links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 460px; }
.soc-link { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
.soc-link:hover { transform: translateX(4px); color: var(--text); border-color: var(--brand, var(--hover-line)); box-shadow: 0 10px 24px -14px var(--brand, rgba(0,0,0,.4)); }
.soc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; color: #fff; background: var(--brand, var(--sea-700)); }
.soc-ic svg { width: 24px; height: 24px; }
.soc-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; } .soc-txt span { font-size: .88rem; color: var(--muted); }
.soc-arrow { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; } .soc-link:hover .soc-arrow { transform: translate(2px, -2px); color: var(--text); }
.soc-tiktok { --brand: #111; } .soc-tiktok .soc-ic { background: #111; box-shadow: -2px -2px 0 #25F4EE inset, 2px 2px 0 #FE2C55 inset; }
.soc-instagram { --brand: #D6249F; } .soc-instagram .soc-ic { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.soc-youtube { --brand: #FF0000; --yt-play: #FF0000; } .soc-youtube .soc-ic { background: #fff; color: #FF0000; border: 1px solid var(--line); }
.tt-embed { min-height: 360px; display: grid; place-items: center; }
.tt-embed.is-loaded { display: block; }
.tt-consent { text-align: center; padding: 2rem 1.5rem; border-radius: var(--r-lg); border: 1px dashed var(--line); background: var(--surface); width: 100%; }
.tt-consent .soc-ic { margin: 0 auto 1rem; width: 60px; height: 60px; border-radius: 18px; background: #111; box-shadow: -3px -3px 0 #25F4EE inset, 3px 3px 0 #FE2C55 inset; }
.tt-consent h3 { margin: 0 0 .4rem; } .tt-consent p { color: var(--muted); font-size: .92rem; }
.tt-direct { display: block; margin-top: .75rem; font-size: .88rem; }
@media (max-width: 860px) { .socials-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   WINKEL
   ===================================================================== */
.shop-usp { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shop-usp li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.shop-usp li > span { font-size: 1.4rem; line-height: 1; } .shop-usp strong { display: block; color: var(--heading); font-size: 1rem; margin-bottom: .1rem; }
.shop-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 5; padding: .5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.shop-tabs button { font: inherit; font-weight: 700; font-size: .92rem; color: var(--text); background: transparent; border: 0; border-radius: 999px; padding: .5rem 1rem; cursor: pointer; }
.shop-tabs button span { font-size: .75rem; color: var(--muted); margin-left: .2rem; }
.shop-tabs button[aria-selected="true"] { background: var(--orange); color: var(--sea-900); } .shop-tabs button[aria-selected="true"] span { color: var(--sea-900); }
.shop-cat { margin-bottom: 3rem; }
.shop-cat-head { margin-bottom: 1.25rem; } .shop-cat-head h2 { font-size: 1.6rem; margin: 0 0 .25rem; } .shop-cat-head p { color: var(--muted); margin: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.shop-card-btn { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; font: inherit; color: var(--text); cursor: pointer; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.shop-card-btn:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 18px 36px -18px rgba(243, 156, 18, .55); }
.shop-img { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 20%, #23496B, #0B2135 70%); overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .shop-card-btn:hover .shop-img img { transform: scale(1.06); }
.shop-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--orange); }
.shop-ph svg { width: 34%; height: 34%; filter: drop-shadow(0 6px 14px rgba(243, 156, 18, .35)); }
.shop-sale { position: absolute; left: .75rem; top: .75rem; background: #d63b3b; color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; }
.shop-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.shop-body h3 { font-size: 1.1rem; margin: 0 0 .3rem; color: var(--heading); } .shop-body p { font-size: .9rem; color: var(--muted); margin: 0 0 .9rem; flex: 1; }
.shop-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.shop-price strong { font-size: 1.3rem; font-weight: 900; color: var(--orange-text); } .shop-price s { color: var(--muted); font-size: .9rem; } .shop-price span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.shop-price-lg strong { font-size: 1.8rem; }
.shop-dialog { width: min(820px, 94vw); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--text); overflow: hidden; }
.shop-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.shop-dialog::backdrop { background: rgba(7, 23, 38, .75); backdrop-filter: blur(3px); }
.shop-dialog-img { background: radial-gradient(circle at 30% 20%, #23496B, #0B2135 70%); min-height: 300px; } .shop-dialog-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-dialog-body { padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.shop-dialog-body h3 { font-size: 1.6rem; margin: 0; color: var(--heading); } .shop-desc { color: var(--muted); } .shop-desc p { margin: 0 0 .6rem; }
.shop-dialog-body .btn { margin-top: .5rem; }
.shop-close { position: absolute; right: .75rem; top: .75rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(7,23,38,.6); color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 2; }
.shop-foot { margin-top: 1rem; }
@media (max-width: 760px) { .shop-usp { grid-template-columns: 1fr; } .shop-dialog[open] { grid-template-columns: 1fr; } .shop-dialog-img { min-height: 200px; } }

/* ---------- winkelmandje ---------- */
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 6; margin-bottom: 1.5rem; }
.shop-bar .shop-tabs { position: static; margin: 0; }
.cart-btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 800; color: var(--sea-900); background: var(--orange); border: 0; border-radius: 999px; padding: .7rem 1.15rem; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(243,156,18,.8); transition: background-color .15s, transform .15s; }
.cart-btn:hover { background: var(--orange-h); } .cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; padding: 0 .35rem; background: var(--sea-900); color: #fff; font-size: .78rem; }
@media (prefers-reduced-motion: no-preference) { .cart-btn.bump { animation: bump .45s ease; } @keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } } }
.shop-card { position: relative; }
.shop-add { position: absolute; right: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .3rem; font: inherit; font-weight: 800; font-size: .8rem;
  color: var(--sea-900); background: var(--orange); border: 0; border-radius: 999px; padding: .4rem .7rem; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); transition: background-color .15s, transform .15s; }
.shop-add svg { width: 14px; height: 14px; } .shop-add:hover { background: var(--orange-h); transform: scale(1.05); }
.shop-add.added { background: #2E9E5E; color: #fff; }
.shop-buy { display: flex; gap: .6rem; align-items: stretch; margin-top: .5rem; } .shop-buy .btn { flex: 1; margin: 0; }
.qty { width: 5rem !important; text-align: center; font-weight: 800; }
.cart-drawer { position: fixed; inset: 0; z-index: 250; background: rgba(7, 23, 38, 0); transition: background-color .25s; }
.cart-drawer.open { background: rgba(7, 23, 38, .6); }
.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cart-drawer.open .cart-panel { transform: none; }
.cart-panel header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.cart-panel header h2 { margin: 0; font-size: 1.3rem; } .cart-panel .shop-close { position: static; background: var(--surface-2); color: var(--text); }
.cart-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 54px; height: 40px; border-radius: 8px; flex: none; overflow: hidden; background: radial-gradient(circle at 30% 20%, #23496B, #0B2135 70%); } .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; } .cart-info span { font-size: .85rem; color: var(--muted); }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.cart-qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--text); font-size: 1.1rem; cursor: pointer; border-radius: 50%; } .cart-qty button:hover { background: var(--surface-2); }
.cart-qty span, .cart-n { min-width: 1.4rem; text-align: center; font-weight: 800; }
.cart-del { border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; } .cart-del:hover { color: var(--danger-text); }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-panel footer { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.cart-total, .co-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; } .cart-total strong, .co-total strong { font-size: 1.5rem; color: var(--orange-text); font-weight: 900; }
.cart-panel footer .btn { width: 100%; } .cart-panel footer .btn:disabled { opacity: .5; cursor: not-allowed; }
/* afrekenpagina */
.co-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.75rem; counter-reset: co; }
.co-steps li { counter-increment: co; flex: 1; display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; color: var(--muted); padding: .7rem .9rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.co-steps li::before { content: counter(co); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--surface-2); flex: none; }
.co-steps li.done { color: var(--ok-text); } .co-steps li.done::before { content: "✓"; background: var(--ok-bg); }
.co-steps li.now { color: var(--heading); border-color: var(--orange); } .co-steps li.now::before { background: var(--orange); color: var(--sea-900); }
.co-box, .co-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; }
.co-box h2 { margin-top: 0; } .co-list { list-style: none; padding: 0; margin: 0 0 1rem; } .co-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.co-pay { width: 100%; margin: 1rem 0 .5rem; }
.co-done { text-align: center; } .co-check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 2rem; background: var(--ok-bg); color: var(--ok-text); }
@media (max-width: 560px) { .co-steps { flex-direction: column; } .shop-bar { position: static; } }
.co-alt { font-size: .9rem; margin: .25rem 0 .5rem; }

/* ---------- productvenster (nieuw): afbeelding boven, tekst scrollt, prijs en knop altijd zichtbaar ---------- */
.shop-dialog { width: min(640px, 94vw); max-height: min(88vh, 900px); padding: 0; }
.shop-dialog[open] { display: block; }
.shop-dialog-inner { position: relative; display: flex; flex-direction: column; max-height: min(88vh, 900px); }
.shop-dialog-img { flex: none; min-height: 0 !important; aspect-ratio: 16 / 9; background: #0B2135; display: grid; place-items: center; overflow: hidden; }
.shop-dialog-img img { width: 100%; height: 100%; object-fit: contain; }
.shop-dialog-img .shop-ph svg { width: 22%; height: auto; }
.shop-dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1.4rem 1.6rem .5rem; gap: .4rem; display: block; }
.shop-dialog-body h3 { font-size: 1.55rem; margin: .1rem 0 .8rem; }
.shop-desc { color: var(--text); font-size: .98rem; line-height: 1.65; }
.shop-desc p { margin: 0 0 .8rem; color: var(--muted); }
.shop-desc h3, .shop-desc h4 { font-size: 1.02rem; margin: 1.2rem 0 .45rem; color: var(--heading); }
.shop-desc ul, .shop-desc ol { margin: 0 0 .9rem; padding-left: 1.3rem; color: var(--muted); }
.shop-desc li { margin-bottom: .35rem; } .shop-desc li::marker { color: var(--orange-text); font-weight: 800; }
.shop-desc strong, .shop-desc b { color: var(--heading); }
.shop-dialog-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.6rem 1.25rem;
  border-top: 1px solid var(--line); background: var(--surface-2); }
.shop-dialog-foot .shop-buy { margin: 0; flex: 1 1 260px; max-width: 340px; }
.shop-dialog-foot .shop-price-lg strong { font-size: 1.6rem; }
.shop-dialog .shop-close { top: .75rem; right: .75rem; }
@media (max-width: 560px) { .shop-dialog-foot { flex-direction: column; align-items: stretch; gap: .75rem; padding: .9rem 1.1rem 1.1rem; } .shop-dialog-foot .shop-buy { flex: none; max-width: none; } .shop-dialog-body { padding: 1.1rem 1.1rem .4rem; } }

/* ---------- header met Doneren in het menu: breder en compacter ---------- */
.site-header:not(.gem-header) .wrap { max-width: 1360px; }
.site-header:not(.gem-header) .brand { flex: none; }
@media (min-width: 1321px) {
  .site-header:not(.gem-header) .main-nav { gap: .9rem; }
  .site-header:not(.gem-header) .main-nav ul { gap: .1rem; }
  .site-header:not(.gem-header) .main-nav a:not(.btn), .site-header:not(.gem-header) .nav-more-btn { padding: .5rem .6rem; font-size: .93rem; }
}

/* =====================================================================
   REGELS – rustige leespagina
   ===================================================================== */
.regels-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.regels-toc { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.regels-toc-inner { max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
.rt-list, .rt-arts { list-style: none; margin: 0; padding: 0; }
.rt-ch { border-bottom: 1px solid var(--line); }
.rt-ch-link { display: flex; align-items: center; gap: .6rem; padding: .65rem .25rem; font-weight: 800; font-size: .92rem; color: var(--heading); text-decoration: none; }
.rt-ch-link:hover { color: var(--orange-text); }
.rt-num { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; font-size: .75rem; background: var(--surface-2); color: var(--orange-text); border: 1px solid var(--line); }
.rt-ch.is-current > .rt-ch-link .rt-num { background: var(--orange); color: var(--sea-900); border-color: var(--orange); }
.rt-arts { display: none; padding: 0 0 .6rem 2.1rem; }
.rt-ch.open .rt-arts, .no-js .rt-arts { display: block; }
.rt-arts a { display: flex; gap: .5rem; padding: .28rem .5rem; margin-left: -.5rem; border-radius: 6px; font-size: .86rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.rt-arts a span { flex: none; min-width: 1.4rem; font-weight: 800; color: var(--muted); opacity: .7; }
.rt-arts a:hover { color: var(--text); background: var(--surface-2); }
.rt-arts a.is-current { color: var(--heading); background: var(--active-bg); font-weight: 700; }
.rt-arts a.is-current span { color: var(--orange-text); opacity: 1; }

.regels-search-wrap { position: sticky; top: var(--header-h); z-index: 4; margin: 0 -.5rem 1.75rem; padding: .75rem .5rem .75rem; background: var(--bg); }
.regels-search { display: flex; align-items: center; gap: .6rem;
  padding: .35rem .5rem .35rem .95rem; border-radius: 999px; background: var(--input-bg); border: 1px solid var(--input-line); box-shadow: 0 10px 24px -18px rgba(0,0,0,.6); }
.regels-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.regels-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: .6rem 0 !important; font-size: 1rem; outline: 0; }
.regels-search .result-count { white-space: nowrap; padding-right: .6rem; font-size: .85rem; }
.regels-intro { margin-bottom: 1rem; }

.regels2 .regels-sec { margin: 0 0 3.25rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.regels-ch { padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 2px solid var(--heading); }
.regels-ch-label { margin: 0 0 .2rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.regels-ch h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.regels-ch-intro { margin-top: .6rem; color: var(--muted); } .regels-ch-intro p { margin: 0; }
.regels-sec-page .regels-ch { border-bottom-width: 1px; }

.regel { padding: 1.6rem 0 1.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 5.5rem); }
.regel:last-child { border-bottom: 0; }
.regel-head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .6rem; }
.regel-nr { flex: none; font-size: .78rem; font-weight: 900; color: var(--orange-text); background: color-mix(in srgb, var(--orange) 14%, transparent); border-radius: 6px; padding: .2rem .5rem; transform: translateY(-2px); }
.regel-head h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; color: var(--heading); flex: 1; }
.regel-anchor { opacity: 0; font-weight: 800; color: var(--muted); text-decoration: none; padding: 0 .3rem; transition: opacity .15s; }
.regel:hover .regel-anchor, .regel-anchor:focus-visible { opacity: 1; } .regel-anchor:hover { color: var(--orange-text); }
.regel:target { animation: regel-flash 1.6s ease; }
@keyframes regel-flash { 0%, 30% { background: color-mix(in srgb, var(--orange) 10%, transparent); } 100% { background: transparent; } }
.regel-body { font-size: 1rem; line-height: 1.7; }
.regel-body > :first-child { margin-top: 0; }
.regel-body p { margin: 0 0 .75rem; }
.regel-body :is(h3, h4) { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .45rem; }
.regel-body ul, .regel-body ol { margin: 0 0 .8rem; padding-left: 1.25rem; }
.regel-body li { margin-bottom: .3rem; } .regel-body li::marker { color: var(--orange-text); }
.regel-body blockquote, .regel-body .callout { margin: .8rem 0; }
.regel-straf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-top: .9rem; padding-top: .85rem; border-top: 1px dashed var(--line); }
.regel-straf-label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .1rem; }
.straf-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; text-decoration: none; color: var(--text); padding: .3rem .7rem .3rem .55rem; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.straf-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.straf-chip strong { color: var(--heading); } .straf-chip span { color: var(--muted); } .straf-chip:hover { color: var(--text); border-color: var(--c); }
.regel-toel { flex-basis: 100%; margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.regels2 mark { background: color-mix(in srgb, var(--orange) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
@media (max-width: 960px) {
  .regels-layout { grid-template-columns: 1fr; }
  .regels-toc { position: static; } .regels-toc-inner { max-height: none; }
  .rt-arts { display: none !important; }
  .rt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
}
@media (max-width: 520px) { .rt-list { grid-template-columns: 1fr; } .regel-head { flex-wrap: wrap; } }
.regels-search-wrap::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
.straf-chip strong { white-space: nowrap; } @media (max-width: 520px) { .straf-chip { border-radius: 14px; align-items: flex-start; } .straf-chip::before { margin-top: .4rem; flex: none; } }

/* =====================================================================
   REGELS – één artikel tegelijk
   ===================================================================== */
.regels3 { min-width: 0; }
.rcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .55); scroll-margin-top: calc(var(--header-h) + 6rem); }
.rcard + .rcard { margin-top: 4rem; }                     /* zonder JavaScript: duidelijke ruimte tussen de artikelen */
.regels-reader .rcard { display: none; margin-top: 0; }
.regels-reader .rcard.is-active { display: block; animation: rcard-in .28s ease; }
@keyframes rcard-in { from { opacity: 0; transform: translateY(8px); } }
.rcard-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rcard-ch { color: var(--orange-text); } .rcard-pos { color: var(--muted); letter-spacing: .03em; }
.rcard-progress { height: 4px; border-radius: 4px; background: var(--surface-2); margin: .8rem 0 1.6rem; overflow: hidden; }
.rcard-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--accent)); }
.rcard-chintro { color: var(--muted); font-size: .95rem; padding: .8rem 1rem; border-left: 3px solid var(--orange); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 1.4rem; }
.rcard-chintro p { margin: 0; }
.rcard-title { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.15; margin: 0 0 1.2rem; color: var(--heading); }
.rcard-title .regel-nr { font-size: .9rem; transform: none; padding: .3rem .6rem; }
.rcard .regel-anchor { font-size: 1.1rem; margin-left: auto; }
.rcard:hover .regel-anchor { opacity: 1; }
.rcard .regel-body { font-size: 1.04rem; line-height: 1.75; }
.rcard .regel-straf { margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); border-top-style: solid; }
.rcard-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.rnav { display: flex; flex-direction: column; gap: .2rem; padding: .95rem 1.15rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); text-decoration: none; color: var(--heading); transition: border-color .15s, transform .15s; min-width: 0; }
.rnav small { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rnav span { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rnav:hover { border-color: var(--orange); color: var(--heading); transform: translateY(-2px); }
.rnav-next { text-align: right; grid-column: 2; background: var(--orange); border-color: var(--orange); color: var(--sea-900); }
.rnav-next small { color: color-mix(in srgb, var(--sea-900) 70%, transparent); } .rnav-next:hover { color: var(--sea-900); background: var(--orange-h); }
.reader-hint { display: none; margin-top: .9rem; font-size: .85rem; color: var(--muted); text-align: center; }
.regels-reader .reader-hint { display: block; }
.reader-hint kbd { font: inherit; font-weight: 800; font-size: .75rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: .05rem .4rem; background: var(--surface); }
/* zoekresultaten */
.rs-results { display: grid; gap: .75rem; }
.rs-hit { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.rs-hit:hover { border-color: var(--orange); transform: translateX(3px); color: var(--text); }
.rs-hit small { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); }
.rs-hit strong { font-size: 1.08rem; color: var(--heading); } .rs-hit span { font-size: .92rem; color: var(--muted); }
.rs-hit mark, .rcard mark { background: color-mix(in srgb, var(--orange) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
.regels-page3 .rt-ch-link.is-current { color: var(--orange-text); }
@media (max-width: 960px) { .regels-page3 .rt-arts { display: none !important; } }
@media (max-width: 560px) { .rcard-nav { grid-template-columns: 1fr; } .rnav-next { grid-column: 1; } .rnav-prev { order: 2; } .reader-hint { display: none !important; } }
.rt-toggle { display: none; }
@media (max-width: 960px) {
  .regels-page3 .rt-toggle { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; width: 100%; font: inherit; text-align: left; cursor: pointer;
    padding: .9rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--heading); }
  .regels-page3 .rt-toggle span { font-weight: 800; } .regels-page3 .rt-toggle small { color: var(--muted); font-size: .82rem; }
  .regels-page3 .rt-toggle::after { content: "▾"; margin-left: auto; color: var(--orange-text); transition: transform .15s; }
  .regels-page3 .rt-open .rt-toggle::after { transform: rotate(180deg); }
  .regels-page3 .regels-toc-inner { display: none; margin-top: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
  .regels-page3 .rt-open .regels-toc-inner { display: block; }
  .regels-page3 .regels-toc-inner .aside-title { display: none; }
  .regels-page3 .rt-list { display: block; }
  .regels-page3 .rt-open .rt-arts { display: block !important; padding-left: 2.1rem; }
  .regels-page3 .regels-layout { gap: 1rem; }
}
@media (hover: none) { .regel-anchor, .rcard .regel-anchor { opacity: .6; } }
.vac-belangrijk { margin: 2rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid; border-radius: 0 var(--r) var(--r) 0; }
.vac-belangrijk ul { margin: .2rem 0 0; padding-left: 1.2rem; } .vac-belangrijk li { margin-bottom: .25rem; }
.vac-afsluiting { margin-top: 1.25rem; color: var(--muted); font-style: italic; }

/* =====================================================================
   SERVERSTATUS (/status/)
   ===================================================================== */
.st-panel { display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.st-side { position: relative; padding: 1.4rem 1.4rem 1.2rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .9rem; isolation: isolate; }
.st-side-img { position: absolute; inset: 0 0 auto 0; height: 150px; z-index: -1; overflow: hidden; }
.st-side-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.st-side-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, var(--surface)); }
.st-kicker { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.st-side .st-kicker { margin-top: 80px; }
.st-state { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 800; color: var(--heading); }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: #8a99a8; box-shadow: 0 0 0 4px color-mix(in srgb, #8a99a8 25%, transparent); }
.st-state[data-state="online"] .st-dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); animation: st-puls 2s infinite; }
.st-state[data-state="offline"] .st-dot { background: #ff6b5b; box-shadow: 0 0 0 4px rgba(255,107,91,.2); }
@keyframes st-puls { 50% { box-shadow: 0 0 0 7px rgba(61,220,132,.05); } }
.st-now { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.st-label { display: block; font-size: .82rem; color: var(--muted); }
.st-now strong { display: block; font-size: 3.1rem; line-height: 1; font-weight: 900; color: var(--heading); }
.st-delta { text-align: right; } .st-delta strong { font-size: 1.1rem; color: var(--muted); } .st-delta span { display: block; font-size: .78rem; color: var(--muted); }
.st-delta[data-dir="up"] strong { color: #3ddc84; } .st-delta[data-dir="down"] strong { color: #ff6b5b; }
.st-gauge-row { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center; position: relative; }
.st-gauge { width: 110px; height: 110px; transform: rotate(-90deg); }
.st-gauge circle { fill: none; stroke-width: 11; } .st-gauge-bg { stroke: var(--surface-2); }
.st-gauge-fg { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.st-gauge-txt { position: absolute; left: 0; top: 0; width: 110px; height: 110px; display: grid; place-content: center; text-align: center; }
.st-gauge-txt strong { font-size: 1.45rem; font-weight: 900; color: var(--heading); line-height: 1; } .st-gauge-txt span { font-size: .75rem; color: var(--muted); }
.st-facts { margin: 0; display: grid; gap: .45rem; }
.st-facts div { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; border-bottom: 1px solid var(--line); padding-bottom: .35rem; }
.st-facts dt { color: var(--muted); } .st-facts dd { margin: 0; font-weight: 800; color: var(--heading); text-align: right; }
.st-facts dd small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); }
.st-join { width: 100%; justify-content: space-between; }
.st-updated { margin: 0; font-size: .78rem; color: var(--muted); }
.st-main { padding: 1.4rem 1.5rem 1rem; min-width: 0; }
.st-chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.st-chart-head h2 { margin: .2rem 0 0; font-size: 1.6rem; }
.st-range { display: flex; gap: .2rem; padding: .25rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.st-range button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--muted); background: none; border: 0; border-radius: 7px; padding: .4rem .7rem; cursor: pointer; }
.st-range button[aria-selected="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.st-chart { position: relative; min-height: 260px; color: var(--accent); }
.st-chart-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; }
.st-grid line { stroke: var(--line); stroke-dasharray: 3 4; } .st-grid text, .st-axis text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.st-line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.st-hover { fill: var(--surface); stroke: currentColor; stroke-width: 3; } .st-hline { stroke: currentColor; stroke-opacity: .35; stroke-dasharray: 3 3; }
.st-hit { cursor: crosshair; }
.st-tip { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.st-tip span { flex-basis: 100%; font-size: .78rem; color: var(--muted); } .st-tip strong { font-size: 1.5rem; font-weight: 900; color: var(--heading); } .st-tip small { color: var(--muted); }
.st-note { display: flex; justify-content: space-between; margin: .6rem 0 0; font-size: .78rem; color: var(--muted); }
.st-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.st-stats div { padding: 1.1rem 1.4rem; border-right: 1px solid var(--line); position: relative; }
.st-stats div:last-child { border-right: 0; }
.st-stats div::before { content: ""; position: absolute; left: 1.4rem; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--orange); }
.st-stats div:nth-child(2)::before { background: var(--accent); } .st-stats div:nth-child(3)::before { background: #3ddc84; } .st-stats div:nth-child(4)::before { background: var(--muted); }
.st-stats dt { font-size: .82rem; color: var(--muted); } .st-stats dd { margin: .2rem 0 0; font-size: 2rem; font-weight: 900; color: var(--heading); } .st-stats small { font-size: .78rem; color: var(--muted); }
.st-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; align-items: start; }
.st-join-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: 2rem; min-height: 280px; display: flex; align-items: flex-end; color: #fff; }
.st-join-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.st-join-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,23,38,.2), rgba(7,23,38,.92)); }
.st-join-card h2 { color: #fff; font-size: 1.7rem; margin: .3rem 0 .5rem; } .st-join-card p { color: #d3e1ea; } .st-join-card .st-kicker { color: var(--orange); }
.st-bottom h2 { margin: .3rem 0 1rem; }
@media (max-width: 960px) {
  .st-panel { grid-template-columns: 1fr; } .st-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .st-stats { grid-template-columns: 1fr 1fr; } .st-stats div:nth-child(2) { border-right: 0; } .st-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .st-bottom { grid-template-columns: 1fr; }
}
.st-chart-empty[hidden] { display: none !important; }

/* ---------- startgidsen ---------- */
.gids-intro { max-width: 760px; margin-bottom: 2rem; }
.gids-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.gids-card { display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.gids-card:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--text); }
.gids-card strong { font-size: 1.15rem; color: var(--heading); } .gids-card span:not(.gids-ic) { color: var(--muted); font-size: .93rem; flex: 1; } .gids-card em { font-style: normal; font-weight: 800; color: var(--orange-text); font-size: .9rem; }
.gids-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 15%, transparent); color: var(--orange-text); margin-bottom: .3rem; }
.gids-ic svg { width: 24px; height: 24px; }
.gids-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.gids-body { max-width: 760px; } .gids-body ol > li { margin-bottom: .5rem; }
.gids-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.gids-nav { display: grid; gap: .15rem; padding: 1rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.gids-nav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-weight: 600; font-size: .93rem; }
.gids-nav a svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.gids-nav a:hover { background: var(--surface-2); color: var(--text); } .gids-nav a[aria-current="page"] { background: var(--active-bg); color: var(--heading); font-weight: 800; } .gids-nav a[aria-current="page"] svg { color: var(--orange-text); }
.gids-cta { display: grid; gap: .6rem; padding: 1.25rem; border-radius: var(--r-lg); background: linear-gradient(160deg, #163754, #0B2135); color: #fff; }
.gids-cta strong { font-size: 1.1rem; } .gids-cta p { margin: 0 0 .3rem; color: #d3e1ea; font-size: .92rem; } .gids-cta .btn { width: 100%; }
.gids-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 960px) { .gids-layout { grid-template-columns: 1fr; } .gids-side { position: static; } }
/* ---------- uitklapmenu "Meer" met kolommen ---------- */
.nav-mega .nav-more-menu { display: grid !important; grid-template-columns: 1fr 1fr; gap: .25rem 1.25rem !important; min-width: 460px; padding: 1rem !important; }
.nav-mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-title { margin: 0 0 .35rem .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.nav-mega .nav-more-menu a { display: block; padding: .45rem .6rem; font-size: .92rem; }
@media (max-width: 1320px) {
  .nav-mega .nav-more-menu { grid-template-columns: 1fr; min-width: 0; padding: 0 !important; gap: 0 !important; }
  .mega-title { margin: .8rem 0 .2rem; padding: 0 1rem; }
}

/* =====================================================================
   HERO: vinkjes, live statuskaart en link voor nieuwe spelers (in het oorspronkelijke kader)
   ===================================================================== */
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin: 1.1rem 0 0; padding: 0; font-size: .9rem; color: #cfe0ea; }
.hero-checks li { display: flex; align-items: center; gap: .4rem; } .hero-checks li::before { content: "✓"; color: #3ddc84; font-weight: 900; }
.hero-status { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; width: min(440px, 100%); margin: 1.6rem auto 0; padding: .95rem 1.1rem; border-radius: var(--r-lg);
  text-align: left; text-decoration: none; color: #fff; background: rgba(7,23,38,.55); border: 1px solid rgba(238,246,251,.22); transition: transform .2s, border-color .2s; }
.hero-status:hover { transform: translateY(-2px); border-color: var(--orange); color: #fff; }
.hero-new { margin: 1rem 0 0; } .hero-new a { color: #d3e1ea; font-weight: 700; font-size: .92rem; }
.hero-new a:hover { color: var(--orange); }


/* ---------- cookiemelding ---------- */
.ck { position: fixed; left: 1rem; bottom: 1rem; z-index: 300; width: min(560px, calc(100% - 2rem)); }
.ck-box { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.3rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: grid; gap: .8rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.ck-head { display: flex; gap: .8rem; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.ck-head h2 { margin: 0; font-size: 1.1rem; } .ck-head p { margin: .1rem 0 0; font-size: .88rem; color: var(--muted); }
.ck-intro, .ck-small { margin: 0; font-size: .9rem; color: var(--muted); } .ck-intro strong, .ck-small strong { color: var(--heading); }
.ck-cats { display: grid; gap: .6rem; }
.ck-cat { display: grid; gap: .3rem; padding: .8rem .9rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); font-size: .86rem; color: var(--muted); cursor: pointer; }
.ck-cat > input[type="checkbox"] { display: none; }
.ck-cat-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .ck-cat-top strong { color: var(--heading); font-size: .95rem; }
.ck-cat-top em { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--ok-text); background: var(--ok-bg); padding: .15rem .5rem; border-radius: 999px; }
.ck-switch { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background-color .2s; flex: none; }
.ck-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ck-switch:checked { background: var(--orange); } .ck-switch:checked::after { transform: translateX(18px); }
.ck-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; } .ck-actions .btn { padding: .6rem .9rem; font-size: .9rem; }
.ck-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .ck { left: .5rem; right: .5rem; bottom: .5rem; width: auto; } .ck-actions .btn { flex: 1 1 45%; } }
.ck [hidden] { display: none !important; } .ck-cat > span:not(.ck-cat-top) { font-weight: 400; }
.map.map-tegels { background: #4a9fd0; } .leaflet-control-layers { border-radius: 10px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--text); font-family: var(--font); } .leaflet-control-layers-expanded { padding: .6rem .8rem !important; } .leaflet-control-layers label { font-weight: 600; font-size: .88rem; }
.leaflet-control-layers label, .leaflet-control-layers span { color: var(--text) !important; } .leaflet-control-layers-toggle { background-color: var(--surface) !important; }
/* statuskaart in de hero */
.hero-status .hero2-status-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(243,156,18,.16); color: var(--orange); }
.hero-status .hero2-status-ic svg { width: 26px; height: 26px; }
.hero-status .hero2-status-body { display: grid; gap: .1rem; }
.hero-status .hero2-status-state { display: flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #cfe0ea; }
.hero-status .hero2-status-state i { width: 8px; height: 8px; border-radius: 50%; background: #8a99a8; flex: none; }
.hero-status[data-state="online"] .hero2-status-state i { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
.hero-status[data-state="offline"] .hero2-status-state i { background: #ff6b5b; }
.hero-status .hero2-status-num { font-size: .95rem; color: #d3e1ea; } .hero-status .hero2-status-num strong { font-size: 1.9rem; font-weight: 900; color: #fff; margin-right: .2rem; }
.hero-status .hero2-status-num small { color: #a9c2d4; }
.hero-status .hero2-status-link { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: .55rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.14); font-weight: 800; font-size: .9rem; }
.hero-status .hero2-status-link svg { width: 18px; height: 18px; }
.intro-more { margin: 1.25rem 0 0; color: var(--muted); } .quick-steps code { font-size: .88em; white-space: nowrap; }
/* feiten op de homepage, met links */
.facts-links { list-style: none; padding: 0; }
.facts-links li { border-bottom: 1px solid var(--line); }
.facts-links li:nth-child(odd) { padding-right: 1rem; }
.facts-links li > span, .facts-links li > a { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 0; }
.facts-links li > :not(a) { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 0; }
.facts-links a { text-decoration: none; color: inherit; position: relative; padding-right: 1.4rem !important; }
.facts-links a::after { content: "→"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); transition: transform .15s, color .15s; }
.facts-links a:hover { color: inherit; } .facts-links a:hover::after { color: var(--orange-text); transform: translate(3px, -50%); }
.facts-links a:hover strong { color: var(--orange-text); }
.facts-k { font-size: .85rem; color: var(--muted); font-weight: 600; }
.facts-links strong { font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--heading); transition: color .15s; }

.hero-status .hero2-status-sub { font-size: .85rem; color: #a9c2d4; } .hero-status .hero2-status-sub strong { color: #fff; }
.hero-status .hero2-status-sub[hidden] { display: none; }

/* =====================================================================
   FOOTER (nieuw)
   ===================================================================== */
.site-footer2 { position: relative; isolation: isolate; overflow: hidden; padding-top: 0; background: #071726; }
.site-footer2::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--blue) 60%, transparent); }
.site-footer2::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(104,205,247,.10), transparent 65%); pointer-events: none; }
.footer2-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2.75rem; }
.footer2-logo { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.footer2-logo span { display: flex; flex-direction: column; line-height: 1.2; } .footer2-logo strong { font-size: 1.15rem; font-weight: 900; letter-spacing: .01em; }
.footer2-logo small { font-size: .8rem; color: #8fa9bd; }
.footer2-tag { margin: 1rem 0 0; max-width: 22rem; font-size: .9rem; font-weight: 700; font-style: italic; color: var(--orange); line-height: 1.45; }
.footer2-soc { list-style: none; display: flex; gap: .5rem; margin: 1.4rem 0 0; padding: 0; }
.footer2-soc a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #d3e1ea; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: transform .15s, background-color .15s, color .15s, border-color .15s; }
.footer2-soc a svg { width: 19px; height: 19px; }
.footer2-soc a:hover { transform: translateY(-2px); color: #fff; }
.footer2-soc .soc-discord:hover { background: #5865F2; border-color: #5865F2; } .footer2-soc .soc-tiktok:hover { background: #111; border-color: #25F4EE; }
.footer2-soc .soc-instagram:hover { background: #D6249F; border-color: #D6249F; } .footer2-soc .soc-youtube:hover { background: #FF0000; border-color: #FF0000; }
.footer2-status { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; padding: .45rem .8rem; border-radius: 999px; font-size: .85rem; text-decoration: none;
  color: #cfe0ea; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.footer2-status:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.footer2-status i { width: 8px; height: 8px; border-radius: 50%; background: #8a99a8; }
.footer2-status[data-state="online"] i { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.22); } .footer2-status[data-state="offline"] i { background: #ff6b5b; }
.footer2-status strong { color: #fff; } .footer2-sep { opacity: .45; }
.footer2-col h2 { margin: .4rem 0 1rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fa9bd; }
.footer2-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer2-col a { color: #d3e1ea; text-decoration: none; font-size: .95rem; transition: color .15s; }
.footer2-col a:hover { color: var(--orange); }
.footer2-bottom { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.footer2-bottom .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.footer2-bottom p { margin: 0; font-size: .8rem; color: #8fa9bd; }
.footer2-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0; padding: 0; font-size: .82rem; }
.footer2-bottom a, .footer2-bottom .ck-link { color: #b9cddb; text-decoration: none; font-size: .82rem; } .footer2-bottom a:hover, .footer2-bottom .ck-link:hover { color: #fff; }
.footer2-bottom .footer-host { color: #8fa9bd; } .footer2-bottom .footer-host a { color: #fff; font-weight: 700; }
@media (max-width: 960px) { .footer2-grid { grid-template-columns: 1fr 1fr 1fr; } .footer2-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer2-grid { grid-template-columns: 1fr 1fr; } .footer2-bottom .wrap { flex-direction: column; align-items: flex-start; } }
@media (min-width: 561px) { .footer2-bottom { padding-bottom: 4.5rem; } }
@media (min-width: 1280px) { .footer2-bottom { padding-bottom: 0; } .footer2-bottom .wrap { padding-right: 12rem; } }
.site-footer2 .footer2-soc { margin: 1.35rem 0 0; } .site-footer2 .footer2-soc li { margin: 0; }
.site-footer2 .footer2-col li { margin: 0; } .site-footer2 .footer2-bottom li { margin: 0; }
.tt-fallback { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- fase van de server (in ontwikkeling / beta) ---------- */
.fase-pill { align-self: center; margin-left: .55rem; padding: .22rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; color: var(--sea-900); background: var(--orange); }
.fase-pill:hover { color: var(--sea-900); background: var(--orange-h); }
.fase-pill[data-fase="open-beta"], .hero-fase[data-fase="open-beta"] { background: var(--blue); color: var(--sea-900); }
.hero-fase { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-900); background: var(--orange); }
.hero-fase span { width: 8px; height: 8px; border-radius: 50%; background: var(--sea-900); animation: st-puls 2s infinite; }
.hero-fasekaart .hero-fase-tekst { font-size: .92rem; line-height: 1.5; color: #d3e1ea; }
.hero-fasekaart .hero2-status-ic { background: rgba(243,156,18,.18); color: var(--orange); }
.hero-fasekaart .hero2-status-link strong { color: var(--orange); }
[data-state="fase"] .hero2-status-state i, .footer2-status[data-state="fase"] i { background: var(--orange); box-shadow: 0 0 0 3px rgba(243,156,18,.25); }
.st-state[data-state="fase"] .st-dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(243,156,18,.2); }
@media (max-width: 480px) { .fase-pill { display: none; } }
.hero-opening { flex-wrap: wrap; gap: .2rem 1rem; }
.footer2-status[data-state="fase"] .footer2-sep, .footer2-status[data-state="fase"] .footer2-players { display: none; }
.st-fase-note { margin: -.4rem 0 0; font-size: .85rem; color: var(--muted); }
.st-extern { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.25rem; align-items: center; margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: var(--r-lg);
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.st-extern:hover { border-color: #3ddc84; transform: translateY(-2px); color: var(--text); }
.st-extern-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(61,220,132,.14); color: #2fbf72; } .st-extern-ic svg { width: 24px; height: 24px; }
.st-extern > span:nth-child(2) { display: grid; gap: .15rem; } .st-extern strong { color: var(--heading); } .st-extern > span:nth-child(2) > span { font-size: .9rem; color: var(--muted); }
.st-extern-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .9rem; color: var(--heading); white-space: nowrap; } .st-extern-go svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .st-extern { grid-template-columns: auto 1fr; } .st-extern-go { grid-column: 1 / -1; } }
/* banen op de homepage: alle vakjes even groot, kop naast het logo, tekst eronder */
.career { align-items: center; }
.career-icon { width: 56px; height: 56px; border-radius: 12px; }
.career-icon svg { width: 26px; height: 26px; }
.career h3 { margin: 0; align-self: center; }
.career p { margin: .75rem 0 .55rem; align-self: start; }
.st-gauge-txt { top: 50% !important; height: auto !important; transform: translateY(-50%); }

/* ---------- homepage: drie stappen als kaarten ---------- */
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.step-cards li { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.4rem 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step-cards li::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--orange); }
.step-nr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; color: var(--orange-text); border: 2px solid var(--orange); margin-bottom: .3rem; }
.step-cards h3 { margin: 0; font-size: 1.2rem; }
.step-cards p { margin: 0; color: var(--muted); flex: 1; }
.step-cards code { font-size: .88em; white-space: nowrap; }
.step-cards a { font-weight: 800; margin-top: .4rem; }
@media (max-width: 860px) { .step-cards { grid-template-columns: 1fr; } }
/* eigen bedrijf / onderwereld: wit vakje met icoon, net als de logo's */
.career-logo-ic { color: var(--sea-900) !important; } .career-logo-ic svg { width: 28px; height: 28px; }
.career[data-kind="burger"] .career-logo-ic { color: #C77A00 !important; }
/* statuspagina: blok "Direct joinen" even hoog als de vragen ernaast */
.st-bottom { align-items: stretch; } .st-bottom > .st-join-card { height: 100%; }
.career-logo-ic svg.ic-masker { width: 36px; height: 24px; }
.straf-noot { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.calc-toggle { display: grid; grid-template-columns: auto 1fr; gap: .1rem .55rem; align-items: start; margin: .2rem 0 .4rem; font-weight: 700; font-size: .9rem; cursor: pointer; }
.calc-toggle input { margin-top: .2rem; accent-color: var(--orange); width: 16px; height: 16px; }
.calc-toggle small { grid-column: 2; font-weight: 500; font-size: .8rem; color: var(--muted); }
.calc-warn { margin: 0; padding: .6rem .75rem; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--text); font-size: .85rem; border-left: 3px solid var(--orange); }
.calc .calc-warn { background: rgba(243,156,18,.16); color: #FFE2B3; }
