/* =========================================================================
   C4SEWER — STIJLBLAD (geldt voor alle pagina's)
   -------------------------------------------------------------------------
   Hoe pas je dit aan?
   - Kleuren en lettertypes staan allemaal bovenaan in ":root".
     Verander je daar een kleur, dan verandert ze overal op de website.
   - Daaronder staan de onderdelen in deze volgorde:
     basis · header · hero · startpagina · dienstpagina's · putrenovatie ·
     producten · particulieren · realisaties · over ons · contact · footer · gsm
   ========================================================================= */

/* Layout-idee: een "doorsnede" van straat tot put. Ronde vormen verwijzen
   naar putdeksels en buisdoorsneden. */
:root {
  /* --- Kleuren (licht thema) --- */
  --bg:        #f3f5f2;   /* achtergrond: licht betongrijs met groene zweem */
  --surface:   #ffffff;   /* kaarten en formulieren */
  --ink:       #111614;   /* hoofdtekst */
  --muted:     #56615b;   /* secundaire tekst */
  --line:      #d9dfda;   /* lijnen en randen */
  --green:     #00a14b;   /* C4Sewer-groen uit het logo */
  --green-ink: #007a38;   /* donkerder groen voor tekst op lichte achtergrond */
  --band:      #121a16;   /* donkere banden */
  --band-ink:  #e9efeb;   /* tekst op donkere banden */
  --band-muted:#9fb0a6;

  /* --- Lettertypes --- */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body:    "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", Consolas, "Courier New", monospace;

  /* --- Maten --- */
  --max: 1200px;        /* maximale breedte van de inhoud */
  --radius: 14px;
}

/* Donker thema: automatisch als de bezoeker zijn toestel in donkere modus heeft */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1311; --surface: #161d19; --ink: #e8ede9; --muted: #a2b0a8;
    --line: #27322c; --green: #1fbf68; --green-ink: #3fd483;
    --band: #070a09; --band-ink: #e8ede9; --band-muted: #93a49a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1311; --surface: #161d19; --ink: #e8ede9; --muted: #a2b0a8;
  --line: #27322c; --green: #1fbf68; --green-ink: #3fd483;
  --band: #070a09; --band-ink: #e8ede9; --band-muted: #93a49a;
  color-scheme: dark;
}

/* =========================================================================
   BASIS
   ========================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  font-stretch: 112%;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }

/* Container: houdt de inhoud gecentreerd met marge aan de zijkant */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tight { padding-top: 0; }
.band + .section.tight { padding-top: clamp(64px, 9vw, 112px); } /* ruimte na een donkere band */

/* Klein label boven een titel */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { border-color: currentColor; color: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--green); outline-offset: 3px;
}

/* Lijst met groene vinkjes (gebruikt op veel pagina's) */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--green);
  background: radial-gradient(circle, var(--green) 0 35%, transparent 38%);
}

/* =========================================================================
   HEADER (bovenbalk met logo en menu)
   ========================================================================= */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: block; color: var(--ink); width: 168px; flex-shrink: 0; }
.logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-ink); }
.nav .btn { padding: 10px 18px; color: #fff; }
.nav a.active { color: var(--green-ink); }

/* Uitklapmenu "Diensten": opent bij muis erover of bij tabben met het toetsenbord */
.dropdown { position: relative; }
.submenu {
  display: none; position: absolute; top: 100%; left: -16px; z-index: 60;
  min-width: 290px; margin: 0; padding: 10px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgb(0 0 0 / .14);
}
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* brugje zodat het menu open blijft */
.dropdown:hover .submenu, .dropdown:focus-within .submenu { display: grid; margin-top: 12px; }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--bg); }

/* Taalknop NL / FR / EN */
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.lang-switch a { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 999px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--green); color: #fff; }
.menu-toggle {
  display: none; background: none; border: 2px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer;
}

/* =========================================================================
   HERO (eerste scherm van de startpagina en van elke dienstpagina)
   ========================================================================= */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-block: 20px 24px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }

/* Rij met erkenningen onder de knoppen */
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.credentials li {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em;
  border: 1px solid var(--line); background: var(--surface);
  padding: 8px 12px; border-radius: 8px;
}
.credentials strong { color: var(--green-ink); font-weight: 700; }

/* Foto in de vorm van een putschacht (ronde bovenkant) */
.hero-photo { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.hero-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
}
/* Rond keurmerk op de foto, zoals een putdeksel */
.seal {
  position: absolute; right: -14px; top: 18%;
  width: 140px; aspect-ratio: 1; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-content: center; text-align: center; gap: 2px;
  border: 5px solid var(--bg);
  box-shadow: 0 10px 30px rgb(0 0 0 / .18);
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
}
.seal small { font-family: var(--font-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.seal b { font-size: 1rem; }
.hero-tag {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 0.92rem; box-shadow: 0 10px 30px rgb(0 0 0 / .12);
}
.hero-tag b { display: block; font-family: var(--font-display); font-size: 1.05rem; }

/* Kruimelpad bovenaan een dienstpagina */
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* =========================================================================
   STARTPAGINA: dienstenkaarten
   ========================================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease, border-color .15s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--green); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card div { padding: 22px; display: grid; gap: 8px; align-content: start; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card .more { color: var(--green-ink); font-weight: 700; margin-top: 6px; }
.service-card .more::after { content: " →"; }

/* Voor/na-blok op de startpagina */
.feature { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature img { width: 100%; border-radius: var(--radius); }
.feature-text { display: grid; gap: 18px; }
.feature-text p { color: var(--band-muted); font-size: 1.1rem; }

/* =========================================================================
   DIENSTPAGINA'S
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 68ch; min-width: 0; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose h2 { margin-top: 8px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 16px; align-content: start;
}
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* Genummerde stappen (werkwijze) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: stap; }
.steps li {
  counter-increment: stap; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start;
}
.steps li::before {
  content: "Stap " counter(stap);
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green-ink);
}
.steps p { color: var(--muted); font-size: 0.98rem; }

/* Groene oproepband onderaan elke pagina */
.cta-band { background: var(--green); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 22em; }
.cta-band .btn { background: #fff; color: #0b3d22; }

/* =========================================================================
   PUTRENOVATIE (donkere band en voor/na-paren)
   ========================================================================= */
.band { background: var(--band); color: var(--band-ink); }
.band .section-head p { color: var(--band-muted); }
.band .eyebrow { color: var(--green); }
.band .btn-ghost { color: var(--band-ink); }

.techniques { display: grid; border-top: 1px solid var(--line); }
.band .techniques { border-color: rgb(255 255 255 / .14); }
.technique { padding-block: 24px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.band .technique { border-color: rgb(255 255 255 / .14); }
.technique h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
/* =========================================================================
   KLEURLABELS
   - .label = sober kenmerk-label (bv. bij putrenovatie); .label.accent = groen gemarkeerd
   - .tag   = lichte categorie-tag (bv. bij producten)
   Kleur van een tag kiezen met een extra class: c-groen, c-blauw, c-paars, c-oker, c-teal
   ========================================================================= */
.c-groen { --tc: #00a14b; --tc-ink: #007a38; }
.c-blauw { --tc: #2563eb; --tc-ink: #1d4ed8; }
.c-paars { --tc: #7c3aed; --tc-ink: #6d28d9; }
.c-oker  { --tc: #b45309; --tc-ink: #92400e; }
.c-teal  { --tc: #0f766e; --tc-ink: #0f766e; }
.labels { display: flex; flex-wrap: wrap; gap: 6px; }
.label {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 0.82rem; font-weight: 600; padding: 3px 10px; border-radius: 6px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.label.accent { border-color: var(--green); color: var(--green-ink); background: color-mix(in srgb, var(--green) 8%, var(--surface)); }
.label.accent::before { background: var(--green); }
.technique p strong { color: var(--green-ink); }
.technique h3 small {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400;
  color: var(--green-ink); letter-spacing: 0.06em; text-transform: uppercase;
}
.band .technique h3 small { color: var(--green); }
.technique p { color: var(--muted); }
.band .technique p { color: var(--band-muted); }

/* Voor/na: twee foto's naast elkaar met een label */
.pairs { display: grid; gap: 40px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { margin: 0; position: relative; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.pair figcaption {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 6px;
  background: #111614; color: #fff;
}
.pair figure.na figcaption { background: var(--green); }
.pair-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.pair-title span { color: var(--muted); }

/* =========================================================================
   INJECTIE & PRODUCTEN
   ========================================================================= */
.cert-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center;
}
.cert-card .mark {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--green); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--green-ink); font-size: 0.78rem; text-align: center;
}
.cert-card p { color: var(--muted); grid-column: 1 / -1; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--surface); display: grid; gap: 8px; align-content: start;
}
.product p, .product li { color: var(--muted); font-size: 0.98rem; }
.product ul { margin: 0; padding-left: 18px; }
.product .fiche { justify-self: start; margin-top: 4px; font-weight: 600; color: var(--green-ink); text-decoration: none; }
.product .fiche::before { content: "↓ "; }
.product .fiche:hover { text-decoration: underline; }
.tag {
  justify-self: start; font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: color-mix(in srgb, var(--tc, var(--green)) 14%, transparent); color: var(--tc-ink, var(--green-ink));
  padding: 4px 8px; border-radius: 6px;
}
.downloads {
  margin-top: 16px; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.downloads span { font-weight: 700; }
.downloads a { font-family: var(--font-mono); font-size: 0.88rem; }

/* =========================================================================
   PARTICULIEREN & BEDRIJVEN
   ========================================================================= */
.work-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; align-content: start; }
.work-group > img { width: calc(100% + 56px); margin: -28px -28px 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; max-width: none; }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; }
.work-list li { padding-block: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.work-list b { font-family: var(--font-display); font-size: 1.05rem; }
.work-list span { color: var(--muted); font-size: 0.97rem; }

/* =========================================================================
   STARTPAGINA: voor wie
   ========================================================================= */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience div { border-top: 3px solid var(--green); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.audience p { color: var(--muted); font-size: 0.98rem; }

/* =========================================================================
   REALISATIES
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  background: rgb(10 14 12 / .74); color: #fff; font-size: 0.85rem;
  padding: 6px 10px; border-radius: 8px;
}
.stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 32px; }
.stats div { display: grid; }
.stats b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); }

/* Wervenlijst: per jaar, per opdrachtgever */
.year { margin-top: 56px; }
.year > h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.year > h2 small { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.clients { columns: 3 280px; column-gap: 32px; }
.client { break-inside: avoid; padding-block: 14px; border-top: 1px solid var(--line); }
.client h3 { font-size: 1.08rem; margin-bottom: 6px; }
.client ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.client li { padding-block: 2px; }

/* =========================================================================
   OVER ONS
   ========================================================================= */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text { display: grid; gap: 18px; min-width: 0; }
.about-text > p { color: var(--muted); font-size: 1.1rem; }
.trainings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.trainings div { border-left: 3px solid var(--green); padding-left: 14px; }
.trainings b { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.trainings ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 0.95rem; }

/* Brede foto over de volle breedte */
.wide-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.contact-details { display: grid; gap: 22px; align-content: start; }
.contact-details > p { color: var(--band-muted); }
.contact-details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.contact-details dt {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--band-muted); padding-top: 4px;
}
.contact-details dd { margin: 0; font-size: 1.1rem; }
.contact-details a { color: var(--band-ink); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.mail-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-self: start; }
.mail-card h2 { font-size: 1.4rem; }
.mail-card .btn { justify-self: start; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--band); color: var(--band-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
.footer-grid h3 { color: var(--band-ink); font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--band-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
/* Sociale media in de footer */
.footer-grid .social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.social a:hover { text-decoration: none; border-color: var(--green); }
.social a span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 0.85rem; line-height: 1; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 20px; font-size: 0.88rem; }

/* =========================================================================
   GSM EN TABLET
   ========================================================================= */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 20px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  /* Op gsm staan de diensten gewoon onder elkaar, ingesprongen */
  .submenu, .dropdown:hover .submenu, .dropdown:focus-within .submenu {
    display: grid; position: static; box-shadow: none; border: 0; background: none;
    padding: 6px 0 0 14px; margin: 0; min-width: 0;
  }
  .submenu a { padding: 6px 0; font-weight: 400; }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
}
@media (max-width: 980px) {
  .hero .wrap, .feature, .split, .about, .contact, .work-groups { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 420px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .audience, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-grid, .products, .trainings, .form .row, .audience, .steps, .footer-grid { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .hero-tag { left: 10px; }
  .seal { right: 8px; width: 116px; }
  .seal b { font-size: 0.86rem; }
  .wide-photo img { aspect-ratio: 4 / 3; }
}

/* Minder beweging voor wie dat in zijn toestel heeft ingesteld */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
}

/* =========================================================================
   KEUZEBLOK: "Wij voeren uit" of "Jij voert uit, wij adviseren"
   ========================================================================= */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 12px; align-content: start;
}
.choice-card p { color: var(--muted); }
.choice-card .btn { justify-self: start; }
.choice-card.current { border: 2px solid var(--green); }
.choice-card .here { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-ink); }
@media (max-width: 700px) { .choice { grid-template-columns: 1fr; } }

/* =========================================================================
   EXTRA VOOR GSM
   ========================================================================= */
/* Lange woorden en webadressen afbreken in plaats van de pagina te verbreden */
p, li, dd { overflow-wrap: anywhere; }


@media (max-width: 700px) {
  /* Dienstenkaarten liggend: foto links, tekst rechts, zodat je minder moet scrollen */
  .service-card { grid-template-rows: none; grid-template-columns: 110px 1fr; }
  .service-card img { aspect-ratio: auto; height: 100%; }
  .service-card div { padding: 16px; }

  /* Grote foto bovenaan minder hoog */
  .hero-photo img { aspect-ratio: 4 / 3.4; }

}

/* Bij een link naar een blok op de pagina (bv. #diensten) niet onder de menubalk schuiven */
[id] { scroll-margin-top: 88px; }

@media (max-width: 600px) {
  .hero-tag { display: none; } /* op gsm te druk bovenop de foto */
}

/* =========================================================================
   REFERENTIELIJST (pagina Realisaties): uitklapbare groepen per soort werk
   ========================================================================= */
.ref-group { border-top: 1px solid var(--line); }
.ref-group:last-of-type { border-bottom: 1px solid var(--line); }
.ref-group summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-block: 18px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.ref-group summary::-webkit-details-marker { display: none; }
.ref-group summary span::before { content: "+"; display: inline-block; width: 1.2em; color: var(--green-ink); }
.ref-group[open] summary span::before { content: "−"; }
.ref-group summary small { font-family: var(--font-mono); font-weight: 400; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.ref-table { overflow-x: auto; padding-bottom: 20px; }
.ref-table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.97rem; }
.ref-table th, .ref-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 400; }
.ref-table td:nth-child(n+2) { color: var(--muted); white-space: nowrap; }
.ref-table td:last-child { font-variant-numeric: tabular-nums; }

/* =========================================================================
   WERFKAART (kaart.html) – eigen kaarttekening, geen externe kaartdienst
   ========================================================================= */
:root { --zee: #e3ecef; --land-be: #ffffff; --land-nl: #f1f3f0; --land-buur: #e9ece8; --grens: #b9c2bc; --stad: #8a948e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --zee: #0b1210; --land-be: #1b2420; --land-nl: #151d1a; --land-buur: #121916; --grens: #34413a; --stad: #6f7d75; } }
:root[data-theme="dark"] { --zee: #0b1210; --land-be: #1b2420; --land-nl: #151d1a; --land-buur: #121916; --grens: #34413a; --stad: #6f7d75; }
.kaart-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
.kaart { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--zee); }
.kaart svg { display: block; width: 100%; height: auto; }
.zee { fill: var(--zee); }
.land-be { fill: var(--land-be); stroke: var(--grens); stroke-width: 1.2; }
.land-nl { fill: var(--land-nl); stroke: var(--grens); stroke-width: 1; }
.land-buur { fill: var(--land-buur); stroke: var(--grens); stroke-width: 0.8; }
.stad { fill: var(--stad); font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--land-be); stroke-width: 4px; stroke-linejoin: round; }
.pin { fill: var(--green); fill-opacity: 0.82; stroke: var(--land-be); stroke-width: 2; cursor: pointer; transition: fill-opacity .15s ease; }
.pin:hover, .pin:focus { fill-opacity: 1; outline: none; stroke: var(--ink); }
.pin.gekozen { fill: var(--ink); fill-opacity: 1; }
.kaart-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.kaart-info > div { display: grid; gap: 10px; }
.kaart-info > div[hidden] { display: none; }
.kaart-getal { font-size: 1.05rem; color: var(--muted); }
.kaart-getal b { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); margin-right: 6px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  font: inherit; font-size: 0.9rem; cursor: pointer; border-radius: 999px; padding: 7px 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 860px) { .kaart-wrap { grid-template-columns: 1fr; } }

/* Kleurlabels in donkere modus: lichtere tekstkleur voor de tags */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .c-groen { --tc-ink: #3fd483; }
  :root:not([data-theme="light"]) .c-blauw { --tc-ink: #8db4ff; }
  :root:not([data-theme="light"]) .c-paars { --tc-ink: #c4a8ff; }
  :root:not([data-theme="light"]) .c-oker  { --tc-ink: #f5b75a; }
  :root:not([data-theme="light"]) .c-teal  { --tc-ink: #5fd6cb; }
}
:root[data-theme="dark"] .c-groen { --tc-ink: #3fd483; }
:root[data-theme="dark"] .c-blauw { --tc-ink: #8db4ff; }
:root[data-theme="dark"] .c-paars { --tc-ink: #c4a8ff; }
:root[data-theme="dark"] .c-oker  { --tc-ink: #f5b75a; }
:root[data-theme="dark"] .c-teal  { --tc-ink: #5fd6cb; }

/* Taalknop op tablet: rechts naast de menuknop */
@media (max-width: 1100px) {
  /* Menu-knop en taalknop samen rechts */
  .site-header .wrap { justify-content: flex-start; }
  .menu-toggle { margin-left: auto; }
}
/* Taalknop op kleine schermen: compacter zodat logo, menu en taal naast elkaar passen */
@media (max-width: 600px) {
  .site-header .wrap { gap: 10px; }
  .logo { width: 150px; }
  .lang-switch { padding: 2px; }
  .lang-switch a { padding: 4px 6px; font-size: 0.74rem; }
}
@media (max-width: 380px) {
  .logo { width: 124px; }
}
