/* Wisselzone – kleuren uit de hal: rubbervloer, krijt, één groen signaal */
:root {
  --floor: #1b1c1a;      /* rubbervloer */
  --floor-up: #252623;   /* iets lichter vlak */
  --rule: #34352f;       /* lijnen */
  --chalk: #ecebe5;      /* tekst */
  --dust: #9a9b93;       /* secundaire tekst */
  --signal: #b6ff3b;     /* alleen klok en knop */
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Archivo", system-ui, -apple-system, sans-serif;
  --max: 1080px;
  --slant: -22deg;   /* één schuinte voor alle groene vlakken */
  --unslant: 22deg;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--floor);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Kop van de pagina */
.top { position: absolute; inset: 0 0 auto; z-index: 3; }
.top .wrap { display: flex; justify-content: space-between; align-items: baseline; padding-top: 22px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 75%;
  font-size: 26px; text-transform: uppercase; letter-spacing: .01em;
}
.brand svg { width: 40px; height: auto; }
.top .wrap { align-items: center !important; }
.top nav { display: flex; gap: 24px; font-size: 15px; align-items: center; }
.top nav a { color: var(--dust); text-decoration: none; }
.top nav a:hover { color: var(--chalk); }
.top nav .lang { display: flex; gap: 8px; align-items: center; margin-left: 4px; }
.top nav .lang a { display: block; width: 22px; height: 22px; border-radius: 50%; opacity: .45; transition: opacity .15s; }
.top nav .lang a:hover, .top nav .lang a.on { opacity: 1; }
.top nav .lang a.on { box-shadow: 0 0 0 2px var(--signal); }
.top nav .lang a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.top nav .lang svg { width: 22px; height: 22px; display: block; border-radius: 50%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: foto over de volle breedte */
.hero {
  position: relative; min-height: min(90vh, 820px);
  display: flex; align-items: center; padding: 140px 0 160px;
  background: var(--floor) var(--hero-img, none) no-repeat right center / cover;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--floor) 0%, rgba(27,28,26,.88) 30%, rgba(27,28,26,.3) 62%, rgba(27,28,26,0) 100%),
    linear-gradient(0deg, rgba(27,28,26,.7) 0%, rgba(27,28,26,0) 35%);
}
.hero-text { max-width: 640px; }
h1, h2 {
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -.005em;
}
h1 { font-size: clamp(64px, 10vw, 136px); line-height: .84; margin: 0 0 26px; }
.intro { font-size: 20px; color: #d3d2cb; margin: 0 0 32px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.button {
  display: inline-block; background: var(--signal); color: #141a07;
  font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  padding: 16px 30px; border-radius: 4px; transform: skewX(var(--slant));
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
}
.button > span { display: inline-block; transform: skewX(var(--unslant)); }
.button:hover { background: #c8ff6b; }
.quiet { color: var(--dust); font-size: 16px; }

/* Drie schuine blokken in de vorm van de W */
.bars { position: relative; z-index: 2; margin-top: -92px; }
.bars ul {
  list-style: none; margin: 0; padding: 0 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.bars li {
  background: var(--signal); color: #141a07;
  transform: skewX(var(--slant)); border-radius: 10px;
  padding: 28px 34px 26px; min-height: 150px;
  display: flex; align-items: flex-end;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.bars li > div { transform: skewX(var(--unslant)); }
.bars b {
  display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 75%;
  font-size: 64px; line-height: .9; text-transform: uppercase;
}
.bars span { font-weight: 700; font-size: 17px; }

/* Splits */
section { padding: 104px 0; }
.bars + section { padding-top: 140px; }
h2 { font-size: clamp(44px, 6vw, 76px); line-height: .9; margin: 0 0 20px; }
.lede { color: #d3d2cb; font-size: 20px; max-width: 34em; margin: 0 0 48px; }
.splits-layout { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; color: var(--dust); font-size: 15px; padding-bottom: 14px; }
th { text-align: left; font-weight: 600; font-size: 14px; color: var(--dust); padding: 0 0 10px; border-bottom: 1px solid var(--rule); }
td { padding: 13px 0; border-bottom: 1px solid var(--rule); }
th:not(:first-child), td:not(:first-child) { text-align: right; width: 96px; }
td.wissel { color: #949494; }
tr.station td:first-child { padding-left: 18px; }
tr.more td { color: var(--dust); font-size: 15px; }
tr.total td { border-bottom: 0; font-weight: 700; padding-top: 18px; font-size: 20px; }
.split-bar { display: flex; gap: 2px; height: 10px; margin-top: 28px; }
.split-bar i { background: #6b9e24; }      /* stations, zoals in de app */
.split-bar i.r { background: var(--signal); } /* hardlopen */
.split-bar i.w { background: #949494; }      /* wissels */
.bar-note { color: var(--dust); font-size: 14px; margin-top: 10px; }
.aside p { margin: 0 0 18px; }
.aside strong { display: block; font-size: 19px; margin-bottom: 4px; }
.aside span { color: var(--dust); }

/* Wat er nog meer in zit */
.more-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin: 0; }
.more-list div { padding: 26px 0; border-top: 1px solid var(--rule); }
.more-list dt { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.more-list dd { margin: 0; color: var(--dust); max-width: 30em; }

/* Privacy in gewone taal */
.privacy-note { border-top: 1px solid var(--rule); }
.privacy-note .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.privacy-note p { margin: 0 0 16px; color: #d3d2cb; }

/* Afsluiting */
.closing { padding-top: 40px; }
.closing p { color: #d3d2cb; max-width: 32em; margin: 0 0 28px; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--dust); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--chalk); }
.legal { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; color: #75766f; max-width: 70em; }

/* Tekstpagina's */
.doc { padding: 120px 0 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(40px, 10.5vw, 96px); margin-bottom: 10px; overflow-wrap: anywhere; }
.updated { color: var(--dust); margin: 0 0 40px; }
.doc h2 { font-size: 36px; margin: 48px 0 10px; }
.doc p, .doc li { color: #d3d2cb; overflow-wrap: anywhere; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc .summary { font-size: 20px; color: var(--chalk); border-left: 3px solid var(--signal); padding-left: 18px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; }
.faq details p { margin: 10px 0 0; color: var(--dust); }
.contact { margin-top: 48px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .top nav > a:not(.keep) { display: none; }
  .top nav { gap: 14px; font-size: 14px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand svg { width: 30px; }
  .hero {
    min-height: 0; padding: 300px 0 120px; align-items: flex-start;
    background-size: auto 340px; background-position: 70% top;
  }
  .hero::after { background: linear-gradient(180deg, rgba(27,28,26,.2) 0%, rgba(27,28,26,.2) 160px, var(--floor) 340px); }
  .splits-layout, .privacy-note .wrap { grid-template-columns: 1fr; gap: 32px; }
  .bars { margin-top: -80px; }
  .bars ul { grid-template-columns: 1fr; gap: 12px; padding: 0 14px; }
  .bars li { min-height: 0; padding: 18px 34px; }
  .bars li > div { display: flex; align-items: baseline; gap: 12px; }
  .bars b { font-size: 46px; }
  .bars + section { padding-top: 72px; }
  .intro, .lede { font-size: 18px; }
  section { padding: 72px 0; }
  .more-list { grid-template-columns: 1fr; }
  th:not(:first-child), td:not(:first-child) { width: 62px; }
  table { font-size: 15px; }
}

@media (max-width: 420px) {
  .top .wrap { gap: 12px; }
  .brand { font-size: 18px; }
  .brand svg { width: 26px; }
  .top nav { gap: 12px; font-size: 13px; }
  .top nav .lang { gap: 6px; margin-left: 0; }
}
