/* ============================================================
   Sport op Maat — Concept A "Energiek Nieuw-West"
   Tokens, basis, componenten. Mobile-first.
   ============================================================ */

:root {
  /* Kleur */
  --zwart: #0f1113;        /* donkere secties */
  --zwart-2: #181b1e;      /* kaarten op donker */
  --wit: #ffffff;
  --grijs-50: #f4f5f6;
  --grijs-200: #dfe2e5;
  --grijs-500: #5f666d;    /* 5.9:1 op wit */
  --grijs-700: #4f4f4f;    /* grijs uit het logo */
  --tq: #00aeaf;           /* turquoise uit het logo (vlakken, grote koppen) */
  --tq-700: #007a7b;       /* donkere logo-turquoise voor tekst op wit: 5.2:1 */
  --tq-100: #d9f4f4;
  --oranje: #f26a1b;       /* oranje accent (knoppen, grote tekst op donker: 6.9:1) */
  --oranje-700: #c24e0a;   /* oranje tekst op wit: 4.8:1 */
  --wa: #1f9e4a;           /* WhatsApp-groen, donkere tekst erop */

  /* Typografie */
  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-tekst: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ruimte (4px-basis) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-20: 5rem;

  --radius: 6px;
  --maxw: 1200px;
  --gutter: 1rem;
  --schuin: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

@media (min-width: 768px) { :root { --gutter: 2rem; } }
@media (min-width: 1200px) { :root { --gutter: 2.5rem; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-tekst);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--zwart);
  background: var(--wit);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tq-700); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
}
h1 { font-size: clamp(2.75rem, 11vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 7vw, 4.25rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--oranje); outline-offset: 3px; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--oranje); color: var(--zwart);
  padding: var(--s-3) var(--s-4); z-index: 100; font-weight: 700;
}
.skip:focus { left: var(--s-4); top: var(--s-4); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Kicker (klein label boven kop) */
.kicker {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .95rem; color: var(--oranje-700); margin-bottom: var(--s-3);
}
.kicker::before { content: ""; width: 28px; height: 4px; background: currentColor; }
.op-donker .kicker, .op-tq .kicker { color: var(--oranje); }
.op-tq .kicker, .verpest .kicker, .cta-strook .kicker { color: var(--zwart); }

.lead { font-size: 1.125rem; max-width: 60ch; }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }

/* ---------- Secties ---------- */
.sectie { padding-block: var(--s-16); }
@media (min-width: 1024px) { .sectie { padding-block: var(--s-20); } }
.op-donker { background: var(--zwart); color: var(--wit); }
.op-donker a { color: var(--wit); }
.op-tq { background: var(--tq); color: var(--zwart); }
.op-tq a { color: var(--zwart); }
.op-grijs { background: var(--grijs-50); }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: var(--s-3) var(--s-6);
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
  width: 100%;
}
@media (min-width: 480px) { .knop { width: auto; } }
.knop:hover { transform: translateY(-2px); }
.knop:active { transform: translateY(0); }
.knop-oranje { background: var(--oranje); color: var(--zwart); }
.knop-oranje:hover { background: #ff7a2a; }
.knop-wit { background: var(--wit); color: var(--zwart); border-color: var(--wit); }
.knop-wit:hover { background: var(--grijs-50); }
.knop-donker { background: var(--zwart); color: var(--wit); }
.knop-donker:hover { background: var(--grijs-700); }
.knop-lijn { background: transparent; color: var(--wit); border-color: var(--wit); }
.knop-lijn:hover { background: rgba(255,255,255,.1); }
.knop-lijn-donker { background: transparent; color: var(--zwart); border-color: var(--zwart); }
.knop-lijn-donker:hover { background: rgba(0,0,0,.06); }
.knop-wa { background: var(--wa); color: var(--zwart); }
.knop-wa:hover { background: #24b454; }
.knop svg { width: 22px; height: 22px; flex: none; }
.knoppen { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Header ---------- */
.kop {
  position: sticky; top: 0; z-index: 50;
  background: var(--zwart); color: var(--wit);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding-block: var(--s-2); }
.logo {
  display: inline-flex; align-items: center; background: var(--wit); border-radius: 8px;
  padding: 5px 10px; text-decoration: none; flex: none;
}
.logo img { height: 44px; width: auto; display: block; }
@media (min-width: 1024px) { .logo img { height: 56px; } }
.voet .logo img { height: 72px; }
.menu-knop {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: 44px; min-height: 44px; padding: 0 var(--s-3);
  background: transparent; border: 2px solid rgba(255,255,255,.25); border-radius: var(--radius);
  color: var(--wit); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase;
  cursor: pointer;
}
.menu-knop svg { width: 22px; height: 22px; }
.nav { display: none; }
.nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--zwart); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav ul { list-style: none; margin: 0; padding: var(--s-2) var(--gutter) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); }
.nav a {
  display: flex; align-items: center; min-height: 48px; padding: var(--s-2) var(--s-3);
  color: var(--wit); text-decoration: none; font-family: var(--f-display); font-weight: 700;
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--tq); }
.nav .nav-cta a { background: var(--oranje); color: var(--zwart); justify-content: center; margin-top: var(--s-2); }
@media (min-width: 1024px) {
  .menu-knop { display: none; }
  .nav, .nav.open { display: block; position: static; background: transparent; border: 0; }
  .nav ul { flex-direction: row; align-items: center; gap: var(--s-1); padding: 0; }
  .nav a { font-size: 1.1rem; min-height: 44px; }
  .nav .nav-cta a { margin: 0 0 0 var(--s-2); padding-inline: var(--s-5); }
}

/* ---------- Hero ---------- */
.hero { background: var(--zwart); color: var(--wit); position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: var(--s-8); padding-block: var(--s-12) 0; }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: normal; color: var(--tq); }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: var(--s-6); }
.hero-foto { margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 1024px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: var(--s-12); padding-block: var(--s-16) 0; }
  .hero-tekst { padding-bottom: var(--s-16); align-self: center; }
  .hero-foto { margin: 0 calc(-1 * var(--gutter)) 0 0; }
  .hero-foto .foto { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); min-height: 560px; height: 100%; }
}

/* FOTO-placeholder: gevuld vlak met label */
.foto {
  position: relative; display: flex; align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(0,174,175,.95), rgba(0,122,123,.95) 55%, rgba(15,17,19,.95)),
    var(--zwart-2);
  min-height: 260px; color: var(--wit); overflow: hidden;
}
.foto::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255,255,255,.6) 22px 24px);
}
.foto-oranje { background: linear-gradient(135deg, #ff8a3d, var(--oranje) 50%, #9c3c05); color: var(--zwart); }
.foto-licht { background: linear-gradient(135deg, var(--tq-100), #b5e3e3 50%, #7fc9c9); color: var(--zwart); }
.foto-donker { background: linear-gradient(160deg, #2b3136, var(--zwart) 70%); }
.foto-label {
  position: relative; margin: var(--s-4); padding: var(--s-2) var(--s-3);
  background: rgba(15,17,19,.78); color: var(--wit); border-left: 4px solid var(--oranje);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  max-width: 34ch; line-height: 1.25;
}
.foto-label small { display: block; font-family: var(--f-tekst); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .8rem; opacity: .85; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) contrast(1.05); }
.foto-echt img { opacity: .9; filter: none; }

/* Cijfers */
.cijfers { background: var(--tq); color: var(--zwart); }
.cijfers .wrap { display: grid; grid-template-columns: 1fr; }
.cijfer { padding: var(--s-5) 0; border-top: 2px solid rgba(15,17,19,.15); }
.cijfer:first-child { border-top: 0; }
.cijfer b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: .9; letter-spacing: -.02em; }
.cijfer span { display: block; font-weight: 600; font-size: 1rem; margin-top: var(--s-1); }
@media (min-width: 768px) {
  .cijfers .wrap { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
  .cijfer { border-top: 0; border-left: 2px solid rgba(15,17,19,.15); padding: var(--s-6) 0 var(--s-6) var(--s-6); }
  .cijfer:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Looptekst-band ---------- */
.band { background: var(--oranje); color: var(--zwart); overflow: hidden; padding: var(--s-3) 0; border-block: 3px solid var(--zwart); }
.band-spoor { display: flex; width: max-content; gap: 0; animation: loop 40s linear infinite; }
.band:hover .band-spoor, .band:focus-within .band-spoor { animation-play-state: paused; }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-6); padding-right: var(--s-6); white-space: nowrap; }
.band li { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: var(--s-6); }
.band li::after { content: "•"; color: var(--zwart); opacity: .6; }
@keyframes loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band-spoor { animation: none; width: auto; }
  .band ul { flex-wrap: wrap; white-space: normal; row-gap: var(--s-2); padding-inline: var(--gutter); }
  .band ul[aria-hidden="true"] { display: none; }
}

/* ---------- Twee ingangen ---------- */
.ingangen { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .ingangen { grid-template-columns: 1fr 1fr; } }
.ingang { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.ingang .foto { min-height: 220px; }
.ingang-inhoud { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); flex: 1; }
.ingang-licht { background: var(--grijs-50); border: 1px solid var(--grijs-200); }
.ingang-donker { background: var(--zwart); color: var(--wit); }
.ingang-donker a { color: var(--wit); }
.ingang h3 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: var(--s-2); }
.ingang ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.ingang li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3); border-radius: var(--radius); background: rgba(255,255,255,.65); }
.ingang-donker li { background: var(--zwart-2); }
.ingang li strong { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: .8rem;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; flex: none; margin-top: 3px;
}
.tag-gratis { background: var(--tq); color: var(--zwart); }
.tag-prijs { background: var(--oranje); color: var(--zwart); }
.tag-vb { background: var(--grijs-200); color: var(--zwart); }
.ingang .knoppen { margin-top: auto; padding-top: var(--s-2); }
@media (min-width: 1024px) { .ingang .ingang-inhoud { padding: var(--s-8); } }

/* ---------- Zo werkt het ---------- */
.stappen { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: stap; }
@media (min-width: 768px) { .stappen { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.stap { counter-increment: stap; position: relative; padding: var(--s-6); border-radius: var(--radius); background: var(--wit); border: 1px solid var(--grijs-200); }
.stap::before {
  content: "0" counter(stap); display: block; font-family: var(--f-display); font-weight: 800;
  font-size: 3.5rem; line-height: 1; color: var(--tq); margin-bottom: var(--s-3);
}
.stap h3 { font-size: 1.75rem; margin-bottom: var(--s-2); }
.stap p { color: var(--grijs-500); }

/* ---------- Rooster ---------- */
.vb-melding {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4);
  background: var(--oranje); color: var(--zwart); border-radius: var(--radius); font-weight: 600; margin-bottom: var(--s-6);
}
.vb-melding svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.vb { border-bottom: 2px dashed var(--oranje); }
.op-donker .vb { border-color: var(--oranje); }
.tabel-wrap { width: 100%; }
table.rooster { width: 100%; border-collapse: collapse; }
.rooster th, .rooster td { text-align: left; padding: var(--s-3) var(--s-3); vertical-align: top; }
.rooster thead th { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; color: var(--tq); border-bottom: 2px solid rgba(255,255,255,.25); }
.rooster tbody tr { border-bottom: 1px solid rgba(255,255,255,.12); }
.rooster td:first-child { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; }
.rooster-licht thead th { color: var(--tq-700); border-color: var(--grijs-200); }
.rooster-licht tbody tr { border-color: var(--grijs-200); }
@media (max-width: 639px) {
  .rooster thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rooster tbody tr { display: block; padding: var(--s-3) 0; }
  .rooster td { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-2); padding: var(--s-1) 0; }
  .rooster td::before { content: attr(data-label); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .7; align-self: start; padding-top: .35rem; }
  .rooster td:first-child { display: block; padding-bottom: var(--s-2); }
  .rooster td:first-child::before { display: none; }
}

/* ---------- Verpest 't Niet ---------- */
.verpest { background: var(--oranje); color: var(--zwart); position: relative; overflow: hidden; }
.verpest .wrap { display: grid; gap: var(--s-8); position: relative; }
.verpest h2 { font-size: clamp(3rem, 12vw, 7rem); }
.verpest h2 span { display: block; -webkit-text-stroke: 2px var(--zwart); color: transparent; }
@media (min-width: 900px) { .verpest .wrap { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.verpest .foto { min-height: 280px; clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }

/* ---------- Referenties ---------- */
.quotes { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.quote { background: var(--zwart-2); border-left: 4px solid var(--tq); padding: var(--s-6); border-radius: 0 var(--radius) var(--radius) 0; display: flex; flex-direction: column; }
.quote p { font-size: 1.05rem; color: rgba(255,255,255,.88); flex: 1; }
.quote footer { margin-top: var(--s-4); font-size: .9rem; color: rgba(255,255,255,.7); }
.quote footer b { display: block; color: var(--wit); font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.quote .voor { font-family: var(--f-display); text-transform: uppercase; color: var(--oranje); letter-spacing: .1em; font-size: .9rem; font-weight: 700; margin-bottom: var(--s-3); }

/* ---------- Over ons ---------- */
.over { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .over { grid-template-columns: 1fr 1fr; align-items: center; } }
.over-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.over-fotos .foto { min-height: 180px; }
.over-fotos .foto:first-child { grid-column: 1 / -1; min-height: 240px; }
.feiten { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.feiten li { display: flex; gap: var(--s-3); align-items: baseline; }
.feiten b { font-family: var(--f-display); font-size: 1.6rem; color: var(--tq-700); line-height: 1; min-width: 5.5rem; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: var(--s-12); } }
.adres { font-style: normal; line-height: 1.7; }
.adres b { font-family: var(--f-display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; }
.formulier { display: grid; gap: var(--s-4); background: var(--grijs-50); padding: var(--s-6); border-radius: var(--radius); border: 1px solid var(--grijs-200); }
.formulier label { display: grid; gap: var(--s-1); font-weight: 700; font-size: .95rem; }
.formulier input, .formulier select, .formulier textarea {
  font: inherit; width: 100%; min-height: 48px; padding: var(--s-3); border: 2px solid var(--grijs-200); border-radius: var(--radius); background: var(--wit); color: var(--zwart);
}
.formulier textarea { min-height: 120px; resize: vertical; }
.formulier input:focus, .formulier select:focus, .formulier textarea:focus { outline: none; border-color: var(--tq-700); box-shadow: 0 0 0 3px rgba(0,174,175,.25); }
.formulier .check { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 500; }
.formulier .check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; }
.formulier .vb-tekst { font-size: .85rem; color: var(--grijs-500); }
@media (min-width: 600px) { .formulier .rij { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); } }

/* ---------- Footer ---------- */
.voet { background: var(--zwart); color: rgba(255,255,255,.8); padding-block: var(--s-12) var(--s-8); border-top: 4px solid var(--tq); }
.voet .wrap { display: grid; gap: var(--s-8); }
@media (min-width: 768px) { .voet .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.voet h4 { color: var(--wit); font-size: 1.25rem; letter-spacing: .06em; margin-bottom: var(--s-3); }
.voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.voet a { color: var(--wit); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.voet a:hover { color: var(--tq); text-decoration: underline; }
.voet .stadspas { background: var(--zwart-2); border-left: 4px solid var(--oranje); padding: var(--s-4); border-radius: 0 var(--radius) var(--radius) 0; margin-top: var(--s-4); }
.voet .stadspas b { color: var(--oranje); font-family: var(--f-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
.voet-onder { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-4); font-size: .85rem; display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; color: rgba(255,255,255,.6); }

/* ---------- Doelgroep-kaarten (buurtpagina) ---------- */
.kaarten { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .kaarten { grid-template-columns: repeat(3, 1fr); } }
.kaart { background: var(--wit); border: 1px solid var(--grijs-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.kaart .foto { min-height: 190px; }
.kaart-inhoud { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.kaart h3 { margin-bottom: 0; }
.kaart .leeftijd { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--tq-700); font-weight: 700; }
.prijs { font-family: var(--f-display); font-weight: 800; font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.prijs small { display: block; font-family: var(--f-tekst); font-weight: 600; font-size: .9rem; text-transform: none; color: var(--grijs-500); margin-top: var(--s-1); }
.kaart .knop { margin-top: auto; }
.kaart-extra { background: var(--grijs-50); border: 1px dashed var(--grijs-200); }

/* ---------- Locatie-blok ---------- */
.locaties { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .locaties { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.kaart-placeholder {
  position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden;
  background: #e6ebe9;
  background-image:
    linear-gradient(rgba(0,122,122,.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0,122,122,.18) 2px, transparent 2px),
    linear-gradient(rgba(0,122,122,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,122,122,.08) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.kaart-placeholder .pin {
  position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--oranje); border: 3px solid var(--zwart);
}
.kaart-placeholder .label {
  position: absolute; left: var(--s-4); bottom: var(--s-4); background: var(--zwart); color: var(--wit);
  padding: var(--s-2) var(--s-3); border-left: 4px solid var(--oranje); font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .95rem;
}
.locatie-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.locatie-lijst li { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); background: var(--wit); border: 1px solid var(--grijs-200); border-radius: var(--radius); }
.locatie-lijst .nr { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--zwart); background: var(--tq); min-width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.locatie-lijst b { display: block; }
.locatie-lijst span { font-size: .9rem; color: var(--grijs-500); }

/* ---------- Stadspas ---------- */
.stadspas-blok { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .stadspas-blok { grid-template-columns: 1fr 1fr; align-items: center; } }
.pas {
  background: var(--zwart); color: var(--wit); border-radius: 12px; padding: var(--s-6); aspect-ratio: 1.6 / 1; max-width: 420px;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 40px rgba(0,0,0,.25); transform: rotate(-3deg);
}
.pas b { font-family: var(--f-display); font-size: 2.5rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1; color: var(--oranje); }
.pas small { opacity: .75; }
.stappen-klein { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: s; }
.stappen-klein li { counter-increment: s; display: flex; gap: var(--s-3); align-items: flex-start; }
.stappen-klein li::before { content: counter(s); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; background: var(--oranje); color: var(--zwart); min-width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Sfeerstrip (kleine oude foto's) ---------- */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--zwart-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-1) var(--s-2); font-size: .75rem; background: rgba(15,17,19,.75); color: var(--wit); }

/* ---------- Hulp ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kop-rij { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-8); }
.kop-rij h2 { margin-bottom: 0; }
.kop-rij p { max-width: 48ch; margin: 0; }
.cta-strook { background: var(--tq); color: var(--zwart); }
.cta-strook .wrap { display: grid; gap: var(--s-4); padding-block: var(--s-10); }
@media (min-width: 900px) { .cta-strook .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.cta-strook h2 { margin: 0; }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }

/* Definitieve homepage: vijf onderwerpen. */
section[id] { scroll-margin-top: 90px; }
.onderwerp-grid { display: grid; gap: var(--s-8); }
.onderwerp-tekst { min-width: 0; }
.onderwerp-tekst p { max-width: 66ch; }
.onderwerp .maat-intro { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.4; font-weight: 800; margin-block: var(--s-6); }
.onderwerp .slogan { font-family: var(--f-display); font-size: 1.65rem; font-weight: 700; line-height: 1.2; color: var(--tq-700); border-left: 4px solid var(--oranje); padding-left: var(--s-4); margin-top: var(--s-8); margin-bottom: var(--s-8); }
.op-donker .slogan { color: var(--tq); }
.onderwerp-beeld .foto { min-height: 300px; }
.hero-onderwerpen { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-block: var(--s-6); }
.hero-onderwerpen a { color: var(--wit); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1024px) {
  .onderwerp-grid { grid-template-columns: 1.35fr .65fr; gap: var(--s-12); align-items: start; }
  .onderwerp-beeld { position: sticky; top: 110px; }
  .onderwerp-beeld .foto { min-height: 440px; }
  .onderwerp:nth-of-type(odd) .onderwerp-grid { grid-template-columns: .65fr 1.35fr; }
  .onderwerp:nth-of-type(odd) .onderwerp-beeld { grid-column: 1; grid-row: 1; }
  .onderwerp:nth-of-type(odd) .onderwerp-tekst { grid-column: 2; }
}

/* Compacte klantintro's en kernpunten. */
.onderwerp .kernpunten { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.kernpunten li { border-left: 3px solid var(--tq-700); padding-left: var(--s-3); min-width: 0; }
.op-donker .kernpunten li { border-color: var(--oranje); }
.kernpunten strong { display: block; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.2; font-weight: 700; }
.kernpunten span { display: block; font-size: 1rem; line-height: 1.5; margin-top: .25rem; }
@media (min-width: 768px) { .onderwerp .kernpunten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Review 26 oktober 2026 */
.kicker {color:#ad4308}.hero .kicker,.op-donker .kicker {color:#F26A1B}
.voet a {min-height:44px}.formulier .check input {width:24px;height:24px;min-height:24px}
.hero-feiten {margin-top:1.5rem}.breadcrumbs {display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:.6rem;margin-bottom:2rem}.breadcrumbs li+li::before {content:"›";margin-right:.6rem}
.onderwerp .knop-lijn {color:inherit;border-color:currentColor}.knoppen svg {width:24px;height:24px;flex:none}

/* Echte klantfoto's: rustig raster met dezelfde hoeken als de bestaande site. */
.fotogrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.fotogrid figure { margin: 0; min-width: 0; overflow: hidden; border-radius: var(--radius); }
.fotogrid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 768px) { .fotogrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1200px) { .fotogrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Review 28 oktober 2026 */
.knop { transition: transform 160ms cubic-bezier(.23,1,.32,1), background-color 150ms ease; }
.knop:hover { transform: none; }
@media (hover: hover) and (pointer: fine) { .knop:hover { transform: translateY(-2px); } }
.knop:active { transform: scale(.97); }
.knop-oranje, .op-donker .knop-oranje, .op-donker a.knop-oranje { color: var(--zwart); }
.nav a[aria-current="page"] { color: var(--tq); box-shadow: inset 0 -3px 0 var(--tq); }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.voet-onder { align-items: baseline; }
.form-status { margin: var(--s-4) 0 0; font-weight: 700; min-height: 1.5em; }
.formulier .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1023px) { .onderwerp-beeld { order: -1; } .onderwerp-beeld .foto { min-height: 0; aspect-ratio: 4 / 3; } }
/* Diensten-tegels direct onder de hero */
.diensten { padding-block: var(--s-12); }
.diensten h2 { margin-bottom: var(--s-6); }
.tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.tegel a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--wit); text-decoration: none; isolation: isolate; }
.tegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 300ms cubic-bezier(.23,1,.32,1); }
.tegel a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,17,19,.88) 0%, rgba(15,17,19,.35) 55%, rgba(15,17,19,0) 100%); }
.tegel strong { display: block; padding: 0 var(--s-3); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 2.2vw, 1.75rem); line-height: 1.05; letter-spacing: 0; }
.tegel span { display: block; min-height: calc(3 * 1.35em + var(--s-1) + var(--s-3)); padding: var(--s-1) var(--s-3) var(--s-3); font-size: .875rem; line-height: 1.35; color: rgba(255,255,255,.9); }
/* Pijl als ronde oranje knop rechtsboven (::after is de verloop-overlay). */
.tegel a::before { content: ""; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--oranje) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1113' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px 20px no-repeat; transition: transform 200ms cubic-bezier(.23,1,.32,1); }
@media (hover: hover) and (pointer: fine) { .tegel a:hover::before { transform: translateX(3px); } }
@media (min-width: 600px) { .tegel strong { padding-inline: var(--s-4); } .tegel span { padding: var(--s-1) var(--s-4) var(--s-4); font-size: .95rem; min-height: calc(2 * 1.35em + var(--s-1) + var(--s-4)); } }
@media (hover: hover) and (pointer: fine) { .tegel a:hover img { transform: scale(1.04); } }
.tegel a:active img { transform: scale(1.02); }
@media (min-width: 900px) { .tegels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); } }
@media (prefers-reduced-motion: reduce) { .tegel img, .tegel a::before, .knop { transition: none; } }
.tekstlink { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.tekstlink svg { width: 20px; height: 20px; flex: none; }

/* ---------- Subpagina's (28 oktober 2026) ---------- */
/* Kop: naam van de dienst, korte lead, actie en een grote foto. Mobiel: foto direct onder H1/lead. */
.dienst-kop { padding-block: var(--s-6) var(--s-12); }
.dienst-kop .breadcrumbs { margin-bottom: var(--s-6); font-size: .95rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.dienst-kop-grid { display: grid; gap: var(--s-6); }
.dienst-kop h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); line-height: .92; letter-spacing: -.005em; margin: 0; }
.dienst-kop .lead { font-family: var(--f-tekst); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.3; max-width: 30ch; margin: var(--s-4) 0 0; color: var(--tq-700); }
.dienst-kop-beeld { margin-inline: calc(-1 * var(--gutter)); min-width: 0; }
.dienst-kop-beeld img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dienst-kop-actie { align-items: center; }
.dienst-kop-actie .knop-lijn-donker svg { width: 20px; height: 20px; }
@media (min-width: 768px) {
  .dienst-kop { padding-block: var(--s-8) var(--s-16); }
  .dienst-kop-beeld { margin-inline: 0; }
  .dienst-kop-beeld img { border-radius: var(--radius); }
}
@media (min-width: 1024px) {
  .dienst-kop-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "tekst beeld" "actie beeld"; column-gap: var(--s-12); row-gap: var(--s-8); }
  .dienst-kop-tekst { grid-area: tekst; align-self: end; }
  .dienst-kop-actie { grid-area: actie; align-self: start; }
  .dienst-kop-beeld { grid-area: beeld; }
  .dienst-kop-beeld img { aspect-ratio: 4 / 3; }
}

/* Kernpunten: donkere band met een rustig raster, zonder streepjes. */
.dienst-punten { background: var(--zwart); color: var(--wit); padding-block: var(--s-10); }
.dienst-punten .kernpunten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.dienst-punten .kernpunten li { border: 0; padding: 0; min-width: 0; }
.dienst-punten .kernpunten strong { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.05; color: var(--tq); }
.dienst-punten .kernpunten span { display: block; margin-top: var(--s-2); font-size: .95rem; line-height: 1.45; color: rgba(255,255,255,.82); }
@media (min-width: 900px) {
  .dienst-punten { padding-block: var(--s-12); }
  .dienst-punten .kernpunten { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: var(--s-8); }
}

/* Lopende klanttekst: één leesbare kolom (klasse onderwerp-tekst is nodig voor valideer.py). */
.dienst-tekst { padding-block: var(--s-12); }
.dienst-tekst .onderwerp-tekst { max-width: 66ch; margin-inline: auto; }
.dienst-tekst .onderwerp-tekst p { font-size: 1.0625rem; line-height: 1.7; margin: 0 0 1.1em; }
.dienst-tekst .onderwerp-tekst p.klanttekst-intro { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.5; font-weight: 700; margin-bottom: 1em; }
.dienst-tekst .onderwerp-tekst p.slogan { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.1; letter-spacing: .01em; color: var(--tq-700); margin: var(--s-8) 0 0; text-wrap: balance; }
.dienst-tekst .onderwerp-tekst h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1; margin: var(--s-10) 0 var(--s-3); }
.dienst-tekst .onderwerp-tekst h2.eerste { margin-top: 0; }
.dienst-tekst .onderwerp-tekst .bijgewerkt { color: var(--grijs-500); font-size: .95rem; margin-top: var(--s-8); }
@media (min-width: 768px) { .dienst-tekst { padding-block: var(--s-16); } .dienst-tekst .onderwerp-tekst p { font-size: 1.125rem; } }

/* Galerij: volle rijen. Acht foto's: 2 / 4 kolommen. Negen foto's (uitgelicht): eerste groot. */
.fotosectie { padding-top: 0; }
.fotosectie h2, .meer h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--s-6); }
@media (min-width: 768px) and (max-width: 1199px) { .fotogrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fotogrid-uitgelicht figure:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .fotogrid.fotogrid-uitgelicht { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fotogrid-uitgelicht figure:first-child { grid-column: span 2; grid-row: span 2; position: relative; }
  .fotogrid-uitgelicht figure:first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* Ook interessant: foto-tegels zoals op home. */
.meer { background: var(--grijs-50); }

/* Wanneer en waar: weekschema (bron: brief/ROOSTER-2026-10-28.md). */
.schema-sectie { background: var(--tq-100); padding-block: var(--s-10); }
.schema-grid { display: grid; gap: var(--s-6); }
.schema-intro h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--s-3); }
.schema-intro p { margin: 0; font-size: 1.0625rem; }
.schema-intro .schema-doe-mee { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.1; margin-bottom: var(--s-1); }
table.schema { width: 100%; border-collapse: collapse; background: var(--wit); border-radius: var(--radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.schema caption { text-align: left; caption-side: top; padding: 0 0 var(--s-3); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.schema th, .schema td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-2); font-size: .95rem; line-height: 1.35; }
.schema th:first-child, .schema td:first-child { padding-left: var(--s-4); }
.schema th:last-child, .schema td:last-child { padding-right: var(--s-4); }
.schema thead th { font-family: var(--f-tekst); font-weight: 700; font-size: .85rem; color: var(--grijs-500); padding-block: var(--s-3) var(--s-2); }
.schema tbody tr { border-top: 1px solid var(--grijs-200); }
.schema tbody th { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; line-height: 1.2; }
.schema .schema-tijd { white-space: nowrap; font-weight: 700; }
@media (min-width: 768px) { .schema th, .schema td { font-size: 1.0625rem; padding: var(--s-3) var(--s-4); } .schema tbody th { font-size: 1.3rem; } }
@media (min-width: 1024px) {
  .schema-sectie { padding-block: var(--s-16); }
  .schema-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-12); align-items: start; }
}

/* Weekschema op home (fragment bouw/rooster-home.html): twee kaarten op donker. */
.weekschema h2 { margin-bottom: var(--s-3); }
.weekschema-intro { font-size: 1.125rem; color: rgba(255,255,255,.85); margin-bottom: var(--s-8); }
.weekschema-intro b { color: var(--wit); }
.schema-kaarten { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .schema-kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.schema-kaart { background: var(--zwart-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.schema-kaart-kop { padding: var(--s-5) var(--s-5) var(--s-4); color: var(--zwart); }
.schema-kaart-oranje .schema-kaart-kop { background: var(--oranje); }
.schema-kaart-tq .schema-kaart-kop { background: var(--tq); }
.schema-kaart-kop h3 { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); }
.schema-kaart table.schema { background: transparent; color: var(--wit); border-radius: 0; }
.schema-kaart .schema thead th { color: rgba(255,255,255,.72); }
.schema-kaart .schema tbody tr { border-color: rgba(255,255,255,.12); }
.schema-kaart-oranje .schema tbody th { color: var(--oranje); }
.schema-kaart-tq .schema tbody th { color: var(--tq); }
.schema-kaart .knoppen { padding: var(--s-5); margin-top: auto; }
.knop-tq { background: var(--tq); color: var(--zwart); }
.knop-tq:hover { background: #22c4c5; }
.op-donker a.knop-tq, .op-donker .knop-oranje { color: var(--zwart); }

/* Hero-animaties bij laden: eenmalig, alleen transform/opacity/clip-path; eindbeeld = ruststand.
   fill-mode backwards: houdt de beginstand alleen tijdens de vertraging vast en laat daarna los, zodat het eindbeeld exact de gewone CSS is. */
:root { --som-ease: cubic-bezier(.23, 1, .32, 1); }
@keyframes som-op { from { opacity: 0; transform: translateY(14px); } }
@keyframes som-foto { from { transform: scale(1.06); } }
@keyframes som-fade { from { opacity: 0; } }
@keyframes som-onthul { from { clip-path: inset(0 0 0 22%); } to { clip-path: inset(0 0 0 0); } }
@keyframes som-lijn-in { from { transform: scaleX(0); transform-origin: left center; } to { transform: scaleX(1); transform-origin: left center; } }
@keyframes som-lijn-uit { from { transform: scaleX(1); transform-origin: right center; } to { transform: scaleX(0); transform-origin: right center; } }
.hero-tekst .kicker { animation: som-op 600ms var(--som-ease) 40ms backwards; }
.hero h1 { animation: som-op 600ms var(--som-ease) 120ms backwards; }
.hero-tekst .knoppen { animation: som-op 600ms var(--som-ease) 200ms backwards; }
.hero-feiten { animation: som-op 600ms var(--som-ease) 280ms backwards; }
.hero-foto { animation: som-onthul 900ms var(--som-ease) 80ms backwards, som-fade 450ms var(--som-ease) 80ms backwards; }
.hero-foto img { animation: som-foto 1100ms var(--som-ease) 80ms backwards; }
.hero h1 em { position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em; background: var(--tq); transform: scaleX(0); pointer-events: none;
  animation: som-lijn-uit 380ms var(--som-ease) 1450ms backwards, som-lijn-in 420ms var(--som-ease) 700ms backwards; }
/* Volgorde telt: lijn-in (laatst) wint tijdens het uitschuiven; daarna houdt lijn-uit de volle lijn vast tot hij wegschuift. Na afloop geldt weer scaleX(0). */
.dienst-kop h1 { animation: som-op 600ms var(--som-ease) 40ms backwards; }
.dienst-kop .lead { animation: som-op 600ms var(--som-ease) 120ms backwards; }
.dienst-kop-actie { animation: som-op 600ms var(--som-ease) 200ms backwards; }
.dienst-kop-beeld { animation: som-onthul 900ms var(--som-ease) 60ms backwards, som-fade 450ms var(--som-ease) 60ms backwards; }
.dienst-kop-beeld img { animation: som-foto 1100ms var(--som-ease) 60ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .hero-tekst .kicker, .hero h1, .hero-tekst .knoppen, .hero-feiten, .hero-foto, .hero-foto img, .hero h1 em::after,
  .dienst-kop h1, .dienst-kop .lead, .dienst-kop-actie, .dienst-kop-beeld, .dienst-kop-beeld img { animation: none; }
}
/* Smalle schermen: dag en tijd op één regel, locatie eronder (tabelsemantiek blijft in de HTML). */
@media (max-width: 559px) {
  .schema thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schema tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  .schema tbody th, .schema tbody td { padding: 0; }
  .schema tbody th:first-child, .schema tbody td:last-child { padding: 0; }
  .schema tbody td:last-child { grid-column: 1 / -1; margin-top: 2px; }
  .schema .schema-tijd { text-align: right; }
}
/* Privacyverklaring: kop en tekst op dezelfde linkerlijn, zonder dubbele witruimte. */
.dienst-kop-smal { padding-bottom: 0; }
.dienst-tekst-privacy { padding-top: var(--s-8); }
.dienst-tekst-privacy .onderwerp-tekst { margin-inline: 0; }

/* Dienstkop donker en energiek, zoals de home-hero (28-10-2026, Akif: "is saai") */
.dienst-kop { background: var(--zwart); color: var(--wit); }
.dienst-kop .breadcrumbs { color: rgba(255,255,255,.75); }
.dienst-kop .breadcrumbs a { color: var(--tq); }
.dienst-kop h1 { color: var(--wit); font-size: clamp(2.75rem, 1.2rem + 4vw, 4.75rem); }
@media (min-width: 1024px) { .dienst-kop-tekst { position: relative; z-index: 1; padding-right: var(--s-4); } .dienst-kop h1 { font-size: clamp(2.75rem, 4.3vw, 4.25rem); } }
.dienst-kop .lead { color: var(--tq); }
.dienst-kop .knop-lijn-donker { color: var(--wit); border-color: var(--wit); }
.dienst-kop .knop-lijn-donker:hover { background: rgba(255,255,255,.1); }
@media (min-width: 1024px) {
  .dienst-kop { padding-bottom: 0; }
  .dienst-kop-grid { align-items: stretch; }
  .dienst-kop-actie { padding-bottom: var(--s-16); }
  .dienst-kop-beeld { margin-right: calc(-1 * var(--gutter)); }
  .dienst-kop-beeld img { border-radius: 0; height: 100%; min-height: 480px; aspect-ratio: auto; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
}

/* Galerij-lichtbak (28-10-2026) */
.fotogrid img[role="button"] { cursor: zoom-in; }
.lichtbak { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; overflow: visible; }
.lichtbak::backdrop { background: rgba(15,17,19,.88); }
.lichtbak img { display: block; width: min(96vw, 1400px); max-height: 92vh; height: auto; object-fit: contain; border-radius: var(--radius); }
.lichtbak-sluit { position: absolute; top: -12px; right: -12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--oranje); color: var(--zwart); font: 800 1.75rem/1 var(--f-display); cursor: pointer; }
@media (max-width: 600px) { .lichtbak-sluit { top: 8px; right: 8px; } }
@media (min-width: 1024px) { .dienst-kop-grid:not(:has(.dienst-kop-actie)) .dienst-kop-tekst { grid-row: 1 / -1; align-self: center; padding-bottom: var(--s-16); } }
/* Mobiel: foto bovenaan van rand tot rand (28-10-2026) */
@media (max-width: 1023px) { .hero-foto, .dienst-kop-beeld { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); } }

/* Agenda: dezelfde kleurvelden en typografie als de bestaande subpagina’s. */
.agenda-kop { padding-bottom: var(--s-12); }
.agenda-kop .lead { max-width: 48ch; }
.schema-vanaf { font-size: .95rem; margin-block: var(--s-3); }
.agenda-kaart { display: grid; gap: var(--s-5); background: var(--grijs-50); padding: var(--s-6); margin-block: var(--s-6); border-radius: var(--radius); }
.agenda-datum { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1.15; }
.agenda-datum span { display: block; font-size: 1.2rem; margin-top: var(--s-2); }
.agenda-inhoud { min-width: 0; overflow-wrap: anywhere; }
.agenda-inhoud h3 { margin: 0 0 var(--s-3); }
.agenda-tijd, .agenda-locatie { font-weight: 700; }
.agenda-foto { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.agenda-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .agenda-kaart { grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr); } .agenda-foto { grid-column: 2; max-width: 640px; } }
@media (min-width: 1100px) { .agenda-kaart:has(.agenda-foto) { grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) minmax(0, 1.5fr); } .agenda-kaart:has(.agenda-foto) .agenda-foto { grid-column: 3; } }
/* Beheer blijft herkenbaar WordPress; eigen regels gelden alleen binnen dit formulier. */
.som-beheer { max-width: 1150px; }
.som-beheer label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.som-beheer input, .som-beheer select, .som-beheer .button { min-height: 44px; max-width: 100%; }
.som-beheer .button { min-width: 44px; }
.som-beheer .som-vanaf { max-width: 400px; margin-block: 24px; }
.som-rooster-groep { margin-block: 28px; }
.som-rooster-rij { display: grid; grid-template-columns: 1.2fr 1fr 1fr 2fr auto; align-items: end; gap: 12px; padding: 16px; margin-bottom: 12px; background: #fff; }
.som-rij-acties { display: flex; gap: 6px; flex-wrap: wrap; }
@media(max-width:1100px) { .som-rooster-rij { grid-template-columns: 1fr 1fr; } .som-rooster-rij label:last-of-type, .som-rij-acties { grid-column: 1 / -1; } }
@media(max-width:480px) { .som-rooster-rij { padding: 12px; gap: 10px; } .som-rooster-rij label:first-child { grid-column: 1 / -1; } }

.agenda-evenementen .wrap > p { max-width: 65ch; }
