/* advocatengids.nl design system v1.0 (2026-10-20). Vanilla CSS, no framework.
   Tokens on :root are the single source of truth. Dark is the default; a light variant
   only needs [data-theme="light"] on <html> (tokens below, not wired to a toggle yet).
   Layout rule of the owner: content uses the full width, no max-width containers;
   the side gutter is the only margin. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-normal-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-normal-400-600.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks (tools/font_fallbacks.py): the swap to the web fonts keeps line breaks
   and heights, so the hero does not shift (CLS). Values fit Georgia/Arial (Windows, macOS). */
@font-face { font-family: "Cormorant Fallback"; font-style: normal; src: local("Georgia"); size-adjust: 88.47%; ascent-override: 104.44%; descent-override: 32.44%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 79%; ascent-override: 116.96%; descent-override: 36.33%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.53%; line-gap-override: 0%; }

:root {
  color-scheme: dark;
  --bg: #0f0f0e;
  --surface: #171716;
  --surface-2: #1f1e1c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ece8e1;
  --muted: #a39e95;
  --gold: #c9a66b;
  --gold-hover: #d8b985;
  --on-gold: #14130f;
  --plate: #ece8e1;
  --overlay: linear-gradient(180deg, rgba(15, 15, 14, 0) 0%, rgba(15, 15, 14, 0.55) 60%, rgba(15, 15, 14, 0.92) 100%);
  --focus: #e6c98f;
  --danger: #e59a8c;

  --font-display: "Cormorant Garamond", "Cormorant Fallback", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --section-y: clamp(3rem, 2.2rem + 3.2vw, 5rem);        /* 48 to 80 px per side (was 64 to 128, 2026-11-13) */
  --section-y-tight: clamp(1.5rem, 1.1rem + 1.6vw, 2.75rem); /* 24 to 44 px: closely related blocks */
  --header-h: 68px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --fs-h1: clamp(2.6rem, 1.6rem + 4.2vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #efeae2;
  --line: rgba(20, 19, 15, 0.1);
  --line-strong: rgba(20, 19, 15, 0.2);
  --text: #191814;
  --muted: #5c574f;
  --gold: #8a6a32;
  --gold-hover: #75592a;
  --on-gold: #ffffff;
  --plate: #ffffff;
  --overlay: linear-gradient(180deg, rgba(246, 243, 238, 0) 0%, rgba(246, 243, 238, 0.6) 60%, rgba(246, 243, 238, 0.95) 100%);
  --focus: #6b4f1f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main { display: block; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; text-wrap: pretty; }
@media (max-width: 600px) { p, li { hyphens: auto; -webkit-hyphens: auto; } }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 0.7rem 1rem; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
/* The hidden attribute must win over every display rule: .card { display: grid } kept the filtered-out firms
   visible while the counter said "1 van 30" (found 2026-11-13, present since the first build). */
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- eyebrow, index, dividers ---------- */
.eyebrow { display: inline-flex; align-items: baseline; gap: 0.75rem; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.2rem; }
.eyebrow .idx { font-variant-numeric: tabular-nums; color: var(--muted); letter-spacing: 0.06em; }
.idx { font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent; font: 600 0.95rem/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); color: var(--on-gold); }
.btn-line { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.link-arrow:hover svg, .card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 15, 14, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .site-header { background: rgba(246, 243, 238, 0.9); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); padding: 0 var(--gutter); }
.wordmark { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: 0.005em; text-decoration: none; line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--gold); font-style: italic; font-weight: 500; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2vw, 2.2rem); margin: 0; padding: 0; }
.main-nav a { font-size: 0.92rem; font-weight: 500; text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease), color 300ms var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--text); }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1199px) {   /* 1100 before the longer menu item "Vermeld uw advocatenkantoor": the menu wrapped at 1101 to 1150 */
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* full-screen menu overlay (direct child of body) */
.menu-overlay { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-overlay .overlay-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--line); }
.menu-overlay ol { list-style: none; margin: 2rem 0; padding: 0; counter-reset: m; }
.menu-overlay li { border-bottom: 1px solid var(--line); }
.menu-overlay li a { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); text-decoration: none; }
.menu-overlay .idx { min-width: 2.4rem; }
.menu-overlay .btn { align-self: flex-start; }
.menu-close { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); cursor: pointer; }
.menu-close svg { width: 22px; height: 22px; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) var(--gutter); border-top: 1px solid var(--line); }
/* Rhythm (2026-11-13, measured at 320 to 1920 px). The hairline between sections always keeps air on both sides.
   After the photo hero the curve already gives air, so the first section starts closer. */
main > .hero-photo + .section { padding-top: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
/* An intro section that only holds prose and sits directly above a grid introduces that grid: one block, no hairline
   (only /advocaten-specialisaties/ has this pattern). */
main > .section:has(> .prose:only-child):has(+ .section > .grid) { padding-bottom: 0; }
main > .section:has(> .prose:only-child):has(+ .section > .grid) > .prose > :last-child { margin-bottom: 0; }
main > .section:has(> .prose:only-child) + .section:has(> .grid) { border-top: 0; padding-top: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); }
/* The rechtsgebieden grid and the A-Z list below it are two views of one list: closer, hairline in the middle. */
main > .section:has(> .grid):has(+ .section > .alpha) { padding-bottom: var(--section-y-tight); }
main > .section:has(> .grid) + .section:has(> .alpha) { padding-top: var(--section-y-tight); }
.section-head { display: grid; gap: 1rem 4rem; grid-template-columns: 1fr; margin-bottom: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 1024px) { .section-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.section-head h2 { margin: 0; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: var(--fs-lead); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(1.5rem, 3.5vw, 3.25rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem); display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; isolation: isolate; }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; } }
.hero h1 { margin: 0 0 0.35em; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-art svg { position: absolute; right: -8vw; top: -10%; width: min(70vw, 1100px); height: auto; opacity: 0.5; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 10%, rgba(201, 166, 107, 0.12), transparent 60%), var(--overlay); }

.search { display: grid; gap: 0.75rem; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 0.75rem; }
@media (min-width: 720px) { .search { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: end; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color 300ms var(--ease);
}
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a66b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 18px; }
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--gold); outline: 2px solid var(--focus); outline-offset: 1px; }
::placeholder { color: #8f8a82; opacity: 1; }
.search .btn { width: 100%; }
@media (min-width: 720px) { .search .btn { width: auto; } }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; }
.stat .num { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 1.8vw, 3.6rem); line-height: 1; margin-bottom: 0.35rem; }
.stat .num em { color: var(--gold); }
.stat .lbl { font-size: var(--fs-small); color: var(--muted); }
a.stat { display: block; color: inherit; text-decoration: none; transition: border-color 200ms var(--ease), background 200ms var(--ease); }
a.stat:hover { border-color: var(--line-strong); background: var(--surface-2); }
a.stat .lbl { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; }
.stat .lbl svg { flex: none; width: 14px; height: 14px; margin-bottom: 0.2em; transition: transform 300ms var(--ease); }
a.stat:hover .lbl svg { transform: translateX(4px); }
.hero-note { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--muted); margin: 0; }
.hero-note a { color: var(--text); }

/* ---------- photo hero (home, promotie, echtscheiding, strafrecht) ----------
   Style after huidklinieken.nl (photo, dark veil, curved lower edge), but the photo is never cropped:
   object-fit: contain everywhere. Narrow screens: photo on top, copy below. Wide screens: copy over the
   dark lower part of the photo, box capped at the viewport so the copy stays above the fold.
   The hero stays dark in the light theme too, like a photo band. */
.hero-photo {
  --hero-curve: clamp(28px, 6vw, 96px);
  color-scheme: dark;
  --bg: #0f0f0e; --surface: #171716; --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ece8e1; --muted: #cfc9bf; --gold: #c9a66b; --gold-hover: #d8b985; --on-gold: #14130f; --focus: #e6c98f;
  position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text);
  padding-bottom: var(--hero-curve);
  border-bottom-left-radius: 50% var(--hero-curve); border-bottom-right-radius: 50% var(--hero-curve);
}
.hero-media { position: relative; overflow: hidden; background: var(--bg); }
.hero-media img { width: 100%; height: auto; object-fit: contain; }
.hero-copy { position: relative; z-index: 2; padding: clamp(1.25rem, 4vw, 2rem) var(--gutter) 0; text-align: center; }
.hero-copy .crumbs ol { justify-content: center; }
.hero-copy h1 { margin: 0 0 0.35em; }
.hero-copy .lead { color: var(--muted); margin: 0 0 1.4rem; }
.hero-photo.is-page .lead { margin-bottom: 0; }
.hero-copy .search { text-align: left; }
@media (min-width: 1200px) and (min-height: 640px) {
  .hero-photo { --hero-curve: 56px; }
  .hero-media { height: min(calc(100vw / (var(--hero-ar))), calc(100svh - var(--header-h) - 1px)); } /* 1px = header border-bottom */
  .hero-media::before { content: ""; position: absolute; inset: -48px; background: var(--hero-blur) center / cover no-repeat; filter: blur(36px) brightness(0.4); }
  .hero-media picture { position: absolute; inset: 0; z-index: 1; }
  .hero-media img { height: 100%; object-position: center bottom; }
  .hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(15, 15, 14, 0.5) 0%, rgba(15, 15, 14, 0) 45%); }
  /* own veil behind the copy: fades in over 3rem above the first line, then at least 0.86 dark,
     so small text keeps 4.5:1 over a white blouse or window (measured 2026-11-10) */
  .hero-copy { position: absolute; left: 0; right: 0; bottom: var(--hero-curve); padding: 3rem var(--gutter) clamp(1.25rem, 3vh, 2.25rem);
    background: linear-gradient(to bottom, rgba(15, 15, 14, 0) 0, rgba(15, 15, 14, 0.86) 3rem, rgba(15, 15, 14, 0.94) 100%); }
  .hero-copy h1 { font-size: clamp(2.4rem, 1rem + 3vw, 4.5rem); }
  .hero-copy .eyebrow, .hero-copy .crumbs, .hero-copy h1, .hero-copy .lead { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65); }
}
.hero-stats { padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.grid > * { outline: 1px solid var(--line); }
.grid-areas { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.area { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.6rem; padding: clamp(1.4rem, 2vw, 2rem); background: var(--bg); text-decoration: none; min-height: 220px; transition: background-color 300ms var(--ease); }
.area:hover { background: var(--surface); color: var(--text); }
.area h3 { margin: 0.6rem 0 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.area p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.area .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; font-size: var(--fs-small); color: var(--muted); }
.area .meta svg { width: 20px; height: 20px; color: var(--gold); transition: transform 300ms var(--ease); }
.area:hover .meta svg { transform: translateX(4px); }

.cards { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; transition: border-color 300ms var(--ease), background-color 300ms var(--ease); }
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card h3 { font-size: 1.45rem; margin: 0 0 0.25rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .place { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); color: var(--muted); margin: 0 0 0.7rem; }
.card .place svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.card .desc { font-size: 0.93rem; color: var(--muted); margin: 0 0 0.8rem; overflow-wrap: anywhere; }
.card .tags { grid-column: 1 / -1; }
/* narrow screens: logo, name and place on the first row, the description runs the full card width underneath */
@media (max-width: 520px) {
  .card { grid-template-columns: 72px minmax(0, 1fr); column-gap: 0.9rem; padding: 1rem; }
  .card > div:not(.plate) { display: contents; }   /* not the photo frame: it lost its plate, padding and 1:1 box (2026-11-13) */
  .card .plate { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .card h3 { grid-column: 2; margin: 0; align-self: end; font-size: 1.3rem; }
  .card .place { grid-column: 2; margin: 0.2rem 0 0; align-self: start; }
  .card .desc { grid-column: 1 / -1; margin: 0.4rem 0 0.2rem; }
}
.plate { background: var(--plate); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 8px; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: contain; }
.plate.is-empty { background: var(--surface-2); color: var(--gold); font-family: var(--font-display); font-size: 2rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 0.78rem; line-height: 1.2; padding: 0.35rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }
.tags a { text-decoration: none; position: relative; z-index: 1; }
.tags a:hover { color: var(--gold-hover); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .steps li { padding: 2rem clamp(1.2rem, 2.5vw, 2.5rem) 0; border-bottom: 0; border-left: 1px solid var(--line); } .steps li:first-child { border-left: 0; padding-left: 0; } }
.steps h3 { margin: 1rem 0 0.6rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- pitch ---------- */
.pitch { position: relative; display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: end; padding: clamp(2rem, 5vw, 4.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .pitch { grid-template-columns: minmax(0, 1.4fr) auto; } }
.pitch h2 { margin-bottom: 0.4em; }
.pitch p { color: var(--muted); font-size: var(--fs-lead); margin: 0; }
.pitch .art { position: absolute; inset: 0; z-index: -1; opacity: 0.35; }
.pitch .art svg { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 28px; gap: 1rem; align-items: center; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 24px; height: 24px; color: var(--gold); transition: transform 300ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.6rem 4rem; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 600px) { .faq summary { grid-template-columns: 2.2rem minmax(0, 1fr) 24px; } .faq .answer { padding-left: 0; } }

/* ---------- page header & breadcrumbs ---------- */
.page-head { padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3.5rem); position: relative; isolation: isolate; }
.page-head .lead { margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.6rem; padding: 0; font-size: var(--fs-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- prose (old texts, restyled) ---------- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin: 2.2rem 0 0.8rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose h4 { margin: 1.6rem 0 0.5rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin: 0 0 0.35rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--text); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--line); }

/* ---------- listing ---------- */
.listing { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); padding: clamp(2rem, 4vw, 3rem) var(--gutter) var(--section-y); border-top: 1px solid var(--line); }
@media (min-width: 1100px) { .listing { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } }
.filters { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; }
@media (min-width: 1100px) { .filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); max-height: calc(100dvh - var(--header-h) - 2rem); overflow-y: auto; overscroll-behavior: contain; } }
/* The filters apply live; "Toon kantoren" only scrolls to the results. From 1100 px the results sit beside the
   filters, so the button has nothing to do there (owner decision 2026-11-13). Below 1100 px it stays. */
@media (min-width: 1100px) { .filters button[type="submit"] { display: none; } }
.filters h2 { font-size: 1.6rem; margin: 0; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; padding-top: 0.6rem; min-height: 44px; font-size: 0.95rem; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--gold); flex: none; }
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: baseline; margin-bottom: 1.2rem; }
.result-bar p { margin: 0; color: var(--muted); }
.result-bar strong { color: var(--text); }
.result-bar .sort { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; max-width: 100%; }
.result-bar .sort label { white-space: nowrap; }
.result-bar .sort select { width: auto; min-width: min(12.5rem, 100%); max-width: 100%; min-height: 44px; }

/* multi-select filter: a <details> with checkboxes, styled like the selects */
.ms-box { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); transition: border-color 300ms var(--ease); }
.ms-box:hover { border-color: var(--muted); }
.ms-box[open] { border-color: var(--gold); }
.ms-box summary { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 48px; padding: 0.7rem 0.9rem; font: 400 1rem/1.4 var(--font-body); color: var(--text); cursor: pointer; list-style: none; }
.ms-box summary::-webkit-details-marker { display: none; }
.ms-box summary::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a66b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform 200ms var(--ease); }
.ms-box[open] summary::after { transform: rotate(180deg); }
.ms-box summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-radius: var(--radius); }
.ms.has-value summary { font-weight: 600; }
.ms-panel { display: grid; max-height: 17rem; overflow-y: auto; padding: 0.3rem 0.4rem 0.5rem; border-top: 1px solid var(--line); }
.ms-opt { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.95rem; cursor: pointer; }
.field .ms-opt { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); }
.ms-opt[hidden] { display: none; }
.ms-opt:hover { background: var(--surface-2); }
.ms-opt input { width: 24px; height: 24px; accent-color: var(--gold); flex: none; }
.ms-box:not([open]) .ms-panel { display: none; }
/* The open list may never be wider than its field. On desktop the filter column is 300 px and the longest name
   ("Echtscheidingsbemiddeling") plus box and count pushed the box past the frame, which cut off counts and arrow
   (2026-11-13). Long names now break, with a hyphen where the browser has Dutch hyphenation. */
.ms-box, .ms-panel { min-width: 0; }
.ms-opt span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.ms-opt em { margin-left: auto; padding-left: 0.6rem; font-style: normal; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }

/* ---------- profile ---------- */
.profile-head { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .profile-head { grid-template-columns: minmax(0, 1fr) clamp(180px, 18vw, 260px); } }
.profile-head .plate { width: 180px; grid-row: 1; }
@media (min-width: 900px) { .profile-head .plate { width: 100%; grid-row: auto; } }
.profile-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 1rem 0 1.4rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.profile-facts li { display: flex; gap: 0.45rem; align-items: center; }
.profile-facts svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.profile-body { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) var(--section-y); border-top: 1px solid var(--line); }
@media (min-width: 1100px) { .profile-body { grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 440px); align-items: start; } }
.aside-stack { display: grid; gap: 1rem; }
@media (min-width: 1100px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 1rem); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.contact-card h2 { font-size: 1.8rem; margin: 0 0 1rem; }
.contact-card dl { margin: 0; display: grid; gap: 1rem; }
.contact-card dt { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
.contact-card .branch + .branch { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.contact-card .btn { width: 100%; margin-top: 1.2rem; }
.map-ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--surface); display: grid; place-items: end start; padding: 1.2rem; isolation: isolate; }
.map-ph svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.map-ph p { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.map-ph a { color: var(--text); }
.disclaimer { font-size: var(--fs-small); color: var(--muted); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 2.2rem); }
@media (min-width: 800px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form .req { color: var(--gold); }
.form-msg { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-strong); margin: 0; }
.form-msg.is-error { border-color: var(--danger); }
/* Turnstile: reserve the widget height so the button does not jump (normal 65 px, compact 140 px below 480 px). */
.ts-box { min-height: 65px; }
@media (max-width: 480px) { .ts-box { min-height: 140px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* packages of /promoot-uw-kantoor/: joined cards, equal height, the button sits at the bottom of every card */
.packages { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0 0 1rem; }
.package { --pk-pad: clamp(1.4rem, 2.5vw, 2.2rem); position: relative; background: var(--bg); padding: var(--pk-pad); display: flex; flex-direction: column; gap: 0.7rem; }
.package.is-featured { background: var(--surface); box-shadow: inset 0 2px 0 var(--gold); }
.package h3 { margin: 0; }
.package .price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: 0; }
.package .badge { position: absolute; top: var(--pk-pad); right: var(--pk-pad); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 0.3rem 0.55rem; border-radius: 2px; }
.pkg-sites { margin: 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.package ul { flex: 1; margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.package li { margin: 0 0 0.45rem; }
.package li::marker { color: var(--gold); }
.package .btn { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; background: var(--surface); }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; text-decoration: none; color: var(--muted); }
.site-footer li a:hover { color: var(--text); }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.9; }
.site-footer address a { display: inline-block; padding: 2px 0; }
.footer-brand .wordmark { display: inline-block; font-size: 2rem; margin-bottom: 0.8rem; }
.footer-brand p { color: var(--muted); margin: 0 0 0.8rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0.3rem 0; font: inherit; color: var(--muted); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.22em; cursor: pointer; }
.linkbtn:hover { color: var(--text); }

/* ---------- consent bar (direct child of body) ---------- */
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 70; display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: center; padding: 1.1rem 1.2rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.consent[hidden] { display: none; }
@media (min-width: 900px) { .consent { grid-template-columns: minmax(0, 1fr) auto; } }
.consent p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.consent p strong { color: var(--text); }
.consent .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- 404 & misc ---------- */
.after { margin-top: 1.6rem; }
.package .per { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
.center-note { padding: var(--section-y) var(--gutter); }
.center-note .search { margin: 1.6rem 0 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 0.93rem; }
.chips a:hover { border-color: var(--gold); color: var(--text); }
.chips .count { color: var(--muted); margin-left: 0.4rem; font-variant-numeric: tabular-nums; }
.alpha { columns: 1; column-gap: 3rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .alpha { columns: 2; } }
@media (min-width: 1100px) { .alpha { columns: 4; } }
.alpha li { break-inside: avoid; padding: 0.45rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.alpha li span { color: var(--muted); }
.alpha a { text-decoration: none; }
.alpha a:hover { text-decoration: underline; }
.split { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ---------- menu item "Vermeld uw advocatenkantoor": commercial call to action, gold outline (owner 2026-11-12) ---------- */
.main-nav li.nav-cta a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.25rem 0.95rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 600; white-space: nowrap; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.main-nav li.nav-cta a:hover, .main-nav li.nav-cta a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.menu-overlay li.overlay-cta a { color: var(--gold); }
.menu-overlay li.overlay-cta .idx { color: var(--gold); }

/* ---------- block "Bronnen" above the footer and footnote numbers (owner rule 2026-10-23) ---------- */
.sources { margin-top: var(--section-y); padding: clamp(1.6rem, 4vw, 2.6rem) var(--gutter); border-top: 1px solid var(--line); text-align: center; font-size: var(--fs-small); color: var(--muted); }
.sources h2 { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.sources ol { list-style: none; counter-reset: bron; margin: 0 0 1rem; padding: 0; }
.sources li { counter-increment: bron; margin: 0 0 0.4rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.sources li::before { content: counter(bron) ". "; }
.sources a { color: var(--muted); text-underline-offset: 0.2em; }
.sources a:hover { color: var(--text); }
.sources p { margin: 0; }
sup.cite { font-size: 0.72em; line-height: 0; margin-left: 0.1em; }
sup.cite a { padding: 0 0.15em; color: var(--gold); text-decoration: none; }
sup.cite a:hover { text-decoration: underline; }
.need { padding-top: 0; }

/* ---------- sales page /promoot-uw-kantoor/ (Fase B, 2026-11-13): network, benefits, since, case, steps, compare, apply ---------- */
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.4rem 0 0; }
.net-note { font-size: var(--fs-small); margin: 1.6rem 0 0; }
/* network: firm, then Advocatengids.nl, then the specialised sites; real text, the connectors are decoration */
.network { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.net-node { display: grid; gap: 0.35rem; align-content: start; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.net-node strong { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; line-height: 1.15; }
.net-node > span:not(.net-k) { color: var(--muted); font-size: 0.95rem; }
.net-k { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.net-hub { border-color: var(--gold); }
.net-link { position: relative; justify-self: center; width: 1px; height: 2.4rem; background: var(--gold); }
.net-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateX(-50%) rotate(45deg); }
.net-sites ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; }
.net-sites li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.net-sites li:first-child { border-top: 0; }
.net-sites a { font-weight: 600; overflow-wrap: anywhere; }
.net-sites li span { color: var(--muted); font-size: var(--fs-small); }
.network figcaption { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }
.network figcaption a { color: var(--text); }
@media (min-width: 1024px) {
  .network { grid-template-columns: minmax(0, 1fr) 3.5rem minmax(0, 1fr) 3.5rem minmax(0, 1.2fr); align-items: center; }
  .net-link { justify-self: stretch; width: auto; height: 1px; }
  .net-link::after { left: auto; right: 0; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
  .network figcaption { grid-column: 1 / -1; }
}
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.benefits li { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.benefits h3 { margin: 0.8rem 0 0.5rem; }
.benefits p { margin: 0; color: var(--muted); }
.since { display: grid; gap: 2rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1024px) { .since { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.since-copy h2 { margin-bottom: 0.4em; }
.since-copy p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); margin: 0; }
.since-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.case { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 720px) { .case { grid-template-columns: 160px minmax(0, 1fr); } }
.case .plate { width: 160px; }
.case p { color: var(--muted); }
.case-links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.case-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 0.93rem; }
.case-links a:hover { border-color: var(--gold); color: var(--text); }
@media (min-width: 900px) and (max-width: 1199px) {
  .steps.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.is-four li { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .steps.is-four li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1200px) { .steps.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.package-custom { display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(1.4rem, 2.5vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .package-custom { grid-template-columns: minmax(0, 1fr) auto auto; } }
.package-custom h3 { margin: 0 0 0.3rem; }
.package-custom p { margin: 0; color: var(--muted); }
.package-custom .price-note { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.compare-h { margin: 0 0 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.compare tbody th { width: 28%; font-weight: 600; }
.compare td { color: var(--muted); }
.compare th:nth-child(3), .compare td:nth-child(3) { background: var(--surface); }
.apply-card h3 { font-size: 1.6rem; margin: 0 0 1rem; }
.apply-steps { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.apply-steps li { margin: 0 0 0.45rem; }
.apply-steps li::marker { color: var(--gold); font-weight: 600; }
.apply-card p { color: var(--muted); margin: 0 0 0.8rem; }
.apply-card p:last-child { margin: 0; }
.apply-card a { color: var(--text); }
@media (min-width: 1100px) { .split.apply { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .apply-card { position: sticky; top: calc(var(--header-h) + 1rem); } }

/* ---------- network map on /advocaten-websites/ (2026-11-13): flat SVG for everyone, 3D scene on desktops (netwerk.js) ----------
   The map stays a dark band in the light theme too, like the photo heroes. The --map-* tokens feed the Three.js scene. */
.nmap { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .nmap { grid-template-columns: minmax(0, 2.2fr) minmax(290px, 1fr); align-items: start; } }
.nmap-stage { position: relative; min-width: 0; }
.nmap-flat { background: #0e1d2a; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(0.75rem, 2vw, 1.5rem); }
.nmap-svg { width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.nmap-svg .ctx path { fill: #1f1e1b; }
.nmap-svg .land path { fill: #3d3729; stroke: rgba(201, 166, 107, 0.45); stroke-width: 0.8; stroke-linejoin: round; }
.nmap-svg .border path { fill: none; stroke: #ece8e1; stroke-opacity: 0.55; stroke-width: 0.8; stroke-dasharray: 3 2; }
.nmap-svg .dots circle { fill: #c9a66b; stroke: #0f0f0e; stroke-width: 1.5; }
.nmap-svg .names text { fill: #ece8e1; font: 600 11px var(--font-body); paint-order: stroke; stroke: #0e1d2a; stroke-width: 3px; }
.nmap.is-3d .nmap-flat { display: none; }
.nmap-scene {
  --map-ink: #0f0f0e; --map-parchment: #efe3c8; --map-sand: #b79c6b; --map-terracotta: #8c5a3c;
  --map-sea: #0b1c2c; --map-olive: #6b7550; --map-gold: #c9a66b;
  position: relative; height: clamp(520px, 74vh, 780px); overflow: hidden; background: #0e2232;
  border: 1px solid var(--line); border-radius: var(--radius-lg); color-scheme: dark;
}
.nmap-scene:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.nmap-scene canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.nm-labels { position: absolute; inset: 0; pointer-events: none; }
.nm-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nm-leaders line { stroke: #c9a66b; stroke-opacity: 0.55; stroke-width: 1; }
.nm-leaders line.is-dim { stroke-opacity: 0.15; }
.nm-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0.32rem 0.28rem 0.7rem; pointer-events: auto; cursor: pointer;
  font: 600 0.82rem/1.2 var(--font-body); color: #ece8e1; white-space: nowrap; background: rgba(15, 15, 14, 0.84);
  border: 1px solid rgba(201, 166, 107, 0.45); border-radius: 999px; opacity: 0; transition: opacity 300ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.nm-badge.is-in { opacity: 1; }
.nm-badge.is-hot, .nm-badge:focus-visible { border-color: #c9a66b; background: rgba(32, 29, 22, 0.95); }
.nm-badge:focus-visible { outline: 2px solid #e6c98f; outline-offset: 2px; }
.nm-badge.is-dim.is-in { opacity: 0.35; }
.nm-badge.is-open { background: #c9a66b; color: #14130f; border-color: #c9a66b; }
.nm-badge-count { min-width: 1.5rem; padding: 0.12rem 0.4rem; text-align: center; border-radius: 999px; background: #c9a66b; color: #14130f; font-variant-numeric: tabular-nums; }
.nm-badge.is-open .nm-badge-count { background: #14130f; color: #c9a66b; }
.nmap-tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; gap: 6px; }
.nmap-tools button { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(15, 15, 14, 0.84); color: #ece8e1; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); cursor: pointer; }
.nmap-tools button:hover { border-color: #c9a66b; }
.nmap-tools svg { width: 20px; height: 20px; }
.nmap-wheel { position: absolute; left: 50%; bottom: 16px; z-index: 3; transform: translateX(-50%); margin: 0; padding: 0.5rem 0.9rem; font-size: var(--fs-small); color: #ece8e1; background: rgba(15, 15, 14, 0.88); border-radius: 999px; opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.nmap-wheel.is-on { opacity: 1; }
.nmap-help { margin: 0.8rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.nmap:not(.is-3d) .nmap-help { display: none; }
.nmap-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.4rem); min-width: 0; }
@media (min-width: 1100px) { .nmap.is-3d .nmap-panel { max-height: clamp(520px, 74vh, 780px); overflow-y: auto; overscroll-behavior: contain; } }
.nmap-panel h3 { font-size: 1.5rem; margin: 0 0 0.8rem; }
.nmap-list ul { list-style: none; margin: 0; padding: 0; }
.nmap-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 44px; padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.nmap-list a:hover .nm-city, .nmap-list a:focus-visible .nm-city { color: var(--gold-hover); }
.nm-city { font-weight: 600; }
.nm-count { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
.nmap-back { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin: 0 0 0.8rem; padding: 0.4rem 0.8rem 0.4rem 0.6rem; font: 600 0.9rem var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.nmap-back:hover { border-color: var(--gold); }
.nmap-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.nmap-city h3 { font-size: 2rem; margin: 0 0 0.2rem; }
.nmap-city h3:focus { outline: none; }
.nmap-count { color: var(--gold); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.8rem; }
.nmap-firms { list-style: none; margin: 0; padding: 0; }
.nmap-firms li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.nmap-firms a { font-weight: 600; }
.nmap-firms span { display: block; color: var(--muted); font-size: var(--fs-small); margin-top: 0.15rem; }
.nmap-site { margin: 1rem 0 0; color: var(--muted); }
.nmap-site a { color: var(--text); font-weight: 600; }
/* Firm page map (kantoor-kaart.js, 2026-11-13): same stage, a lower scene, the address panel beside it. */
.kmap .nmap-scene { height: clamp(420px, 62vh, 620px); }
.nmap-svg .dots circle.is-main { fill: #e6c98f; stroke: #0f0f0e; stroke-width: 2.5; }
.nmap-svg .names text.is-main { font-size: 13px; }
.kmap-view { position: absolute; top: 12px; left: 12px; z-index: 3; min-height: 44px; padding: 0 0.9rem; font: 600 0.85rem var(--font-body); color: #ece8e1; background: rgba(15, 15, 14, 0.84); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); cursor: pointer; }
.kmap-view:hover { border-color: #c9a66b; }
.kmap-info h3 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.kmap-info h3 + p, .kmap-info ul + p { margin-top: 0; }
.kmap-addr { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0 0 1.2rem; }
.kmap-addr svg { width: 18px; height: 18px; flex: none; margin-top: 0.2em; color: var(--gold); }
.kmap-places { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.kmap-places li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.nmap-credit { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }
.nmap-credit a { color: var(--muted); }
.nw-groups { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.nw-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2vw, 1.6rem); min-width: 0; }
.nw-group h3 { margin: 0 0 0.8rem; }
.nw-online { list-style: none; margin: 0 0 1rem; padding: 0; }
.nw-online li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.nw-online a { font-weight: 600; overflow-wrap: anywhere; }
.nw-status { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.nw-later-h { margin: 0 0 0.5rem; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nw-later { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nw-later li { font-size: 0.8rem; line-height: 1.2; padding: 0.3rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- motion: fade-up, only with JS and without reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 300ms ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .consent, .menu-overlay, .filters { display: none !important; }
  body { background: #fff; color: #000; }
}

/* echtscheidingsadvocaten.nl: the wordmark "Echtscheidingsadvocaten" is about twice as long as "Advocatengids";
   at 320 px it pushed the page to 323 px and squeezed the menu button (responsive_qa 2026-11-18). */
.menu-toggle { flex-shrink: 0; }
@media (max-width: 480px) {
  .site-header .wordmark, .overlay-top .wordmark { font-size: 1.3rem; }
  .footer-brand .wordmark { font-size: 1.55rem; }
}
@media (max-width: 360px) {
  .site-header .wordmark, .overlay-top .wordmark { font-size: 1.12rem; }
}
/* tap target of the header wordmark: at least 24 px high (WCAG 2.2 2.5.8, responsive_qa 2026-11-18) */
.site-header .wordmark, .overlay-top .wordmark { display: inline-block; padding-block: 4px; }
