/* ==========================================================================
   STERK — samenwerkingsverband van leerlingenraden
   Design system: neon lime + charcoal, pill-UI, oversized display type
   ========================================================================== */

:root {
  --lime: #cdf52b;
  --lime-deep: #b6dd18;
  --lime-soft: #e9ff8a;
  --ink: #262626;
  --ink-2: #1b1b1b;
  --ink-3: #121212;
  --paper: #ffffff;
  --paper-2: #f4f4f0;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(0, 0, 0, 0.18);
  --muted-on-dark: rgba(255, 255, 255, 0.68);
  --muted-on-lime: rgba(20, 20, 20, 0.72);

  --r-pill: 999px;
  --r-card: 20px;
  --r-btn: 999px;
  --r-input: 12px;

  --page: 1440px;
  --gutter: clamp(20px, 4vw, 72px);

  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: "Space Grotesk", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--lime); color: var(--ink); }

/* ---------- typografie ---------- */

.display,
h1, h2, h3, h4 {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.display-xl {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 11vw, 9.5rem);
}

.display-l {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.5vw, 6rem);
}

.display-m {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
h4 { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }

.dot { color: var(--lime); }
.dot-ink { color: var(--ink); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); }
.muted { color: var(--muted-on-dark); }
.justify { text-align: justify; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section { padding-block: clamp(64px, 9vw, 130px); }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }

.on-lime { background: var(--lime); color: var(--ink); }
.on-dark { background: var(--ink); color: #fff; }
.on-black { background: var(--ink-3); color: #fff; }

.on-lime .muted { color: var(--muted-on-lime); }
.on-lime .dot { color: var(--ink); }

/* donkere kaarten binnen een limoen-sectie houden hun eigen tekstkleuren */
.on-lime .card .muted,
.on-lime .card-ink .muted,
.on-lime .quote .muted { color: var(--muted-on-dark); }
.on-lime .card-lime .muted,
.on-lime .notch-body .muted { color: var(--muted-on-lime); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }

.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* ---------- pills & badges ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1.5px solid currentColor;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.pill-lime { color: var(--lime); }
.pill-ink { color: var(--ink); }
.pill-solid { background: var(--lime); border-color: var(--lime); color: var(--ink); }

a.pill:hover { transform: translateY(-2px); }
.pill-lime:hover { background: var(--lime); color: var(--ink); }
.pill-ink:hover { background: var(--ink); color: var(--lime); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-lime { background: var(--lime); color: var(--ink); }
.tag-ghost { border: 1.5px solid var(--line-dark); color: var(--muted-on-dark); }
.tag-ink { background: var(--ink); color: var(--lime); }

.num {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: var(--lime);
}

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-deep); }

.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: #000; }

.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.on-lime .btn-ghost:hover,
.hero-panel .btn-ghost:hover,
.card-lime .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--lime); }

.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

.arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
}

.arrow svg { width: 100%; height: 100%; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(38, 38, 38, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

/* ---------- menuknop ---------- */

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.menu-trigger:hover { border-color: var(--lime); color: var(--lime); }

.menu-trigger i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-trigger i::before,
.menu-trigger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-trigger i::before { top: -6px; }
.menu-trigger i::after { top: 6px; }

/* ---------- menu-overlay (agendastijl) ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.menu-overlay.open { opacity: 1; }
.menu-overlay[hidden] { display: none; }

.menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-block: 22px 34px;
}

.menu-top { margin-bottom: clamp(26px, 5vh, 60px); }

.menu-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.menu-close:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.menu-list { display: flex; flex-direction: column; flex: 1; justify-content: center; }

.menu-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.5vw, 40px);
  padding-block: clamp(10px, 1.6vh, 20px);
  /* balk loopt van rand tot rand, tekst blijft uitgelijnd met de rest van de pagina */
  margin-inline: calc(50% - 50vw);
  padding-inline: max(var(--gutter), calc(50vw - var(--page) / 2 + var(--gutter)));
  isolation: isolate;
  overflow: hidden;
}

.menu-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}

.menu-item[aria-current="page"] { background: var(--lime); }
.menu-item:hover::before,
.menu-item[aria-current="page"]::before { transform: scaleX(1); }

.menu-item:hover .menu-label,
.menu-item[aria-current="page"] .menu-label { color: var(--ink); }

.menu-item:hover .menu-num,
.menu-item[aria-current="page"] .menu-num { color: var(--ink); }

.menu-num {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  color: var(--lime);
  flex: none;
  width: 3ch;
  transition: color 0.25s var(--ease);
}

.menu-label {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2rem, 6.4vw, 5.4rem);
  color: #fff;
  transition: color 0.25s var(--ease);
}

.menu-foot {
  margin-top: clamp(26px, 5vh, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: var(--muted-on-dark);
  gap: 14px;
}

.menu-foot a:hover { color: var(--lime); }

body.menu-open { overflow: hidden; }

/* ---------- paginakop (slide-stijl) ---------- */

.pagehead { padding-block: 26px 0; }

.pagehead .row-between { align-items: flex-start; }

.year {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--lime);
}

.on-lime .year { color: var(--ink); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(30px, 5vw, 60px) clamp(50px, 7vw, 90px); }

.hero-panel {
  background: var(--lime);
  color: var(--ink);
  border-radius: 42px;
  padding: clamp(32px, 5vw, 74px);
  position: relative;
  overflow: hidden;
}

.hero-panel .display-xl { line-height: 0.86; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-top: clamp(26px, 4vw, 52px);
}

.hero-sparkle {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  top: clamp(20px, 4vw, 46px);
  width: clamp(60px, 9vw, 130px);
  opacity: 0.9;
}

.hero-media {
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
  position: relative;
}

.hero-line {
  height: 1.5px;
  background: currentColor;
  flex: 1;
  min-width: 40px;
  opacity: 0.9;
}

.hero-line-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1.5px solid var(--line-dark);
  padding-block: 16px;
  background: var(--ink-3);
}

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
}

.marquee-item::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- kaarten ---------- */

.card {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.4vw, 32px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.card:hover { transform: translateY(-4px); border-color: var(--lime); }

.card-lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.card-lime:hover { border-color: var(--ink); }
.card-lime .muted { color: var(--muted-on-lime); }

.card-ink { background: var(--ink); color: #fff; border-color: transparent; }
.on-lime .card { background: var(--ink); color: #fff; border-color: transparent; }
.on-lime .card:hover { transform: translateY(-4px); }

.card-index {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 26px;
}

.on-lime .card-index { background: var(--lime); }

.card-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

/* ---------- statistieken ---------- */

.stat {
  border-top: 1.5px solid var(--line-dark);
  padding-top: 18px;
}

.on-lime .stat { border-color: rgba(0, 0, 0, 0.25); }

.stat-value {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.on-lime .stat-value { color: var(--ink); }

.stat-label { font-size: 0.9rem; margin-top: 8px; }

/* ---------- tabs ---------- */

.tablist { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

.tab {
  padding: 11px 22px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tab:hover { border-color: var(--lime); color: var(--lime); }
.tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp 0.35s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- accordeon ---------- */

.acc {
  border-top: 1.5px solid rgba(0, 0, 0, 0.2);
}

.on-dark .acc, .on-black .acc { border-color: var(--line-dark); }

.acc-item { border-bottom: 1.5px solid rgba(0, 0, 0, 0.2); }
.on-dark .acc-item, .on-black .acc-item { border-color: var(--line-dark); }

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.acc-btn:hover { color: var(--lime); }
.on-lime .acc-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }

.acc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease);
}

.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); color: var(--ink); }
.on-lime .acc-btn[aria-expanded="true"] .acc-icon { background: var(--ink); border-color: var(--ink); color: var(--lime); }

.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}

.acc-panel-inner { padding: 0 4px 24px; max-width: 76ch; }

/* ---------- tijdlijn ---------- */

.timeline { position: relative; margin-top: clamp(30px, 5vw, 56px); }

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: var(--line-dark);
}

.timeline-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }

/* rij 1 = tekst boven de lijn, rij 2 = de lijn zelf, rij 3 = tekst eronder.
   Gelijke fr-rijen houden de stip exact op de lijn, ongeacht de tekstlengte. */
.timeline-item {
  display: grid;
  grid-template-rows: 1fr 56px 1fr;
  min-height: 340px;
}

.timeline-content { grid-row: 1; align-self: end; padding-bottom: 6px; }
.timeline-item:nth-child(even) .timeline-content { grid-row: 3; align-self: start; padding-top: 6px; padding-bottom: 0; }

.timeline-dot {
  grid-row: 2;
  align-self: center;
  justify-self: start;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px var(--ink-3);
}

.on-dark .timeline-dot { box-shadow: 0 0 0 6px var(--ink); }

.timeline-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }

/* ---------- tabel ---------- */

.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid rgba(255, 255, 255, 0.1); }

table { width: 100%; border-collapse: collapse; min-width: 720px; }

thead th {
  text-align: left;
  padding: 16px 20px;
  background: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

tbody td { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.92rem; vertical-align: middle; }
tbody tr { transition: background-color 0.2s var(--ease); }
tbody tr:hover { background: rgba(205, 245, 43, 0.07); }

th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: #fff; }
th.sortable::after { content: " ↕"; opacity: 0.5; }
th.sortable[data-dir="asc"]::after { content: " ↑"; opacity: 1; }
th.sortable[data-dir="desc"]::after { content: " ↓"; opacity: 1; }

/* ---------- formulier ---------- */

.field { display: flex; flex-direction: column; gap: 8px; }

.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-input);
  border: 1.5px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.on-lime .input, .on-lime .select, .on-lime .textarea {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.on-lime .input::placeholder, .on-lime .textarea::placeholder { color: rgba(0, 0, 0, 0.45); }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.08);
}

.on-lime .input:focus, .on-lime .select:focus, .on-lime .textarea:focus { border-color: var(--ink); background: #fff; }

.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

.textarea { min-height: 130px; resize: vertical; }

.error-msg { font-size: 0.78rem; color: #ff8f6b; min-height: 1em; }
.on-lime .error-msg { color: #a4230f; font-weight: 600; }

.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #ff8f6b; }
.on-lime .field.invalid .input, .on-lime .field.invalid .select, .on-lime .field.invalid .textarea { border-color: #a4230f; }

/* checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; flex: none; border: 1.5px solid currentColor; border-radius: 6px; cursor: pointer; position: relative; margin: 0; }
.check input:checked { background: var(--lime); border-color: var(--lime); }
.check input:checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font-size: 0.85rem; font-weight: 700; }
.on-lime .check input:checked { background: var(--ink); border-color: var(--ink); }
.on-lime .check input:checked::after { color: var(--lime); }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.switch input { appearance: none; width: 58px; height: 32px; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.25); border: 1.5px solid currentColor; position: relative; cursor: pointer; margin: 0; transition: background-color 0.25s var(--ease); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: currentColor; transition: transform 0.25s var(--ease); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(26px); background: var(--lime); }
.switch .off, .switch .on { transition: opacity 0.2s var(--ease); }

/* range */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.25); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lime); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 4px solid var(--lime); border-radius: 50%; background: var(--ink); cursor: grab; }
.on-dark input[type="range"] { background: rgba(255, 255, 255, 0.18); }

/* ---------- prijskaarten ---------- */

.price-card { display: flex; flex-direction: column; gap: 18px; position: relative; }

.price-value { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }

.price-per { font-size: 0.85rem; opacity: 0.7; }

.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list li::before { content: "→"; flex: none; font-weight: 700; color: var(--lime); }
.card-lime .price-list li::before { color: var(--ink); }

.ribbon { position: absolute; top: -14px; right: 22px; }

/* ---------- filterbalk ---------- */

.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 30px; }

.chipbar { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 9px 18px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover { border-color: var(--lime); color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.search-box { position: relative; min-width: 260px; flex: 1; max-width: 380px; }
.search-box .input { padding-left: 44px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: 0.6; }

.view-toggle { display: flex; gap: 6px; padding: 5px; border: 1.5px solid var(--line-dark); border-radius: var(--r-pill); }
.view-toggle button { padding: 7px 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: #fff; font-family: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }

/* ---------- raad-kaart ---------- */

.raad-card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-align: left; font-family: inherit; color: inherit; }

.raad-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.raad-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.empty { padding: 60px 20px; text-align: center; border: 1.5px dashed var(--line-dark); border-radius: var(--r-card); }

/* ---------- modal ---------- */

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(620px, 92vw);
  width: 100%;
  color: #fff;
}

dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }

.modal-body {
  background: var(--ink-2);
  border: 1.5px solid var(--lime);
  border-radius: 26px;
  padding: clamp(24px, 3.5vw, 40px);
  max-height: 86vh;
  overflow-y: auto;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  flex: none;
}

.modal-close:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ---------- toast ---------- */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 40px));
}

.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink-3);
  border-left: 5px solid var(--lime);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  animation: toastIn 0.3s var(--ease);
}

.toast.leaving { animation: toastOut 0.25s var(--ease) forwards; }
.toast-success { border-left-color: var(--lime); }
.toast-info { border-left-color: #6ec6ff; }
.toast-warning { border-left-color: #ffc44d; }
.toast-error { border-left-color: #ff7a5c; }
.toast strong { display: block; margin-bottom: 2px; }

@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }

/* ---------- voortgangsbalk ---------- */

.progress { height: 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.on-lime .progress { background: rgba(0, 0, 0, 0.18); }
.progress span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--lime); width: 0; transition: width 1s var(--ease); }
.on-lime .progress span { background: var(--ink); }

/* ---------- quote ---------- */

.quote {
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 38px);
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.quote-text { font-family: "Archivo", sans-serif; font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.35; letter-spacing: -0.02em; }

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-family: "Archivo", sans-serif;
  flex: none;
}

/* ---------- footer ---------- */

.footer { background: var(--ink-3); padding-block: clamp(50px, 6vw, 80px) 34px; }

.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; }

.footer-label { color: var(--lime); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.footer-value { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.5rem); letter-spacing: -0.02em; text-transform: uppercase; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a:hover { color: var(--lime); }

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: #fff; }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- diversen ---------- */

.divider { height: 1.5px; background: var(--line-dark); border: 0; margin: 0; }
.on-lime .divider { background: rgba(0, 0, 0, 0.25); }

.tilt-1 { transform: rotate(-3deg); }
.tilt-2 { transform: rotate(2.4deg); }

/* ---------- foto's ---------- */

.photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-2);
  line-height: 0;
}

.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-1x1 { aspect-ratio: 1 / 1; }
.photo-3x4 { aspect-ratio: 3 / 4; }
.photo-wide { aspect-ratio: 21 / 8; }

.photo-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  line-height: 1;
}

/* genummerd rondje linksboven op een foto */
.shot-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.shot-arrow {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

.shot-arrow svg { width: 24px; height: 24px; }

/* collage in de stijl van de productfoto-slide */
.collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  align-items: stretch;
}

.collage > * { min-width: 0; }
.c-a { grid-column: span 4; align-self: center; }
.c-b { grid-column: span 8; }
.c-c { grid-column: span 5; }
.c-d { grid-column: span 4; }
.c-e { grid-column: span 3; align-self: center; }

.tilt-1 { transform: rotate(-3.2deg); }
.tilt-2 { transform: rotate(2.4deg); }
.tilt-3 { transform: rotate(-1.6deg); }

.sparkle { width: clamp(40px, 6vw, 92px); height: auto; flex: none; }

/* fotokaart met limoen paneel eronder (target audience-stijl) */
.notch-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-2);
  transition: transform 0.25s var(--ease);
}

.notch-card:hover { transform: translateY(-4px); }

.notch-card .photo { border-radius: 0; }

.notch-body {
  position: relative;
  margin-top: -34px;
  padding: 26px 24px 28px;
  background: var(--lime);
  color: var(--ink);
  border-top-left-radius: 34px;
  flex: 1;
}

.notch-body::before {
  content: "";
  position: absolute;
  top: -34px;
  right: 0;
  width: 46%;
  height: 34px;
  background: var(--lime);
  border-top-left-radius: 26px;
}

/* genummerde referentielijst naast een fotogrid */
.ref-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.ref-list li { display: flex; gap: 16px; align-items: flex-start; }
.ref-list b {
  font-family: "Archivo", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  flex: none;
}
.on-lime .ref-list b { color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.on-lime :focus-visible { outline-color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline-item {
    display: block;
    min-height: 0;
    position: relative;
    padding: 0 0 34px 38px;
    border-left: 1.5px solid var(--line-dark);
  }
  .timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
  .timeline-content, .timeline-item:nth-child(even) .timeline-content { padding: 0; }
  .timeline-dot { position: absolute; left: -9px; top: 4px; }
}

@media (max-width: 860px) {
  .topbar-inner .btn { display: none; }
  .g-2, .g-3, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 860px) {
  .collage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .c-a, .c-c, .c-d, .c-e { grid-column: span 3; }
  .c-b { grid-column: span 6; }
}

@media (max-width: 620px) {
  .g-4 { grid-template-columns: 1fr; }
  .hero-panel { border-radius: 26px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .collage { grid-template-columns: 1fr; }
  .c-a, .c-b, .c-c, .c-d, .c-e { grid-column: span 1; }
  .tilt-1, .tilt-2, .tilt-3 { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
