/* Trouwsite Valerie & Emiel — stijl "Ivoor & inkt", in lijn met de uitnodiging. */

:root {
  --ivoor: #F4EFE3;
  --ivoor-licht: #F9F6EF;
  --inkt: #253247;
  --inkt-donker: #1B2536;
  --lijn: #B9AA91;
  --lijn-zacht: #DDD2BF;
  --rand-menu: #D8CCB6;
  --label: #765E4C;
  --bruin: #8A705C;
  --leisteen: #4D5661;
  --leeg: #EADFC9;
  --serif: 'Gelasio', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivoor);
  color: var(--inkt);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, h4, ol, ul { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
svg { display: block; flex: none; }

a { color: var(--inkt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leisteen); }
:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; }

.overslaan {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 10px 14px;
  background: var(--inkt); color: var(--ivoor);
  font-family: var(--sans); font-size: 13px; text-decoration: none;
}
.overslaan:focus { top: 12px; color: var(--ivoor); }

/* Menu */

.menu {
  position: sticky; top: 0; z-index: 20;
  background: var(--ivoor);
  border-bottom: 1px solid var(--rand-menu);
}
.menu-binnen {
  max-width: 640px; height: 56px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding-left: 16px;
}
.monogram-klein {
  flex: none; width: 34px; height: 34px;
  border: 1px solid var(--inkt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-style: italic; font-size: 13px; color: var(--inkt); text-decoration: none;
}
.menu-links {
  min-width: 0; display: flex; gap: 14px;
  overflow-x: auto; scrollbar-width: none;
  padding-right: 16px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.menu-links::-webkit-scrollbar { display: none; }
/* Vervaagde rand als niet alle menu-items passen, zodat duidelijk is dat er meer is. */
.menu-links.meer {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
.menu-links a {
  padding: 12px 0 10px;
  color: var(--leisteen); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.menu-links a:hover, .menu-links a.actief, .menu-links a[aria-current] { color: var(--inkt); border-bottom-color: var(--inkt); }

main { display: block; max-width: 640px; margin: 0 auto; }

/* Welkom */

.welkom { padding: 18px 14px 0; }
.kader { border: 2px solid var(--inkt); padding: 5px; }
.kader-binnen {
  border: 1px solid var(--lijn);
  padding: 36px 16px 32px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.datum-kort {
  margin-right: -0.42em;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.42em;
}
.monogram {
  margin-top: 26px; width: 116px; height: 116px;
  border: 1.5px solid var(--inkt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.monogram-binnen {
  width: 102px; height: 102px;
  border: 1px solid var(--lijn); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-style: italic; font-size: 34px;
}
.monogram .en { margin: 0 5px; font-size: 20px; color: var(--bruin); }
.namen { margin-top: 24px; font-size: clamp(32px, 10.4vw, 44px); line-height: 1.1; }
.namen-klein { margin-top: 14px; font-size: clamp(30px, 9vw, 36px); line-height: 1.15; }
.ondertitel {
  margin-top: 10px; margin-right: -0.38em;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.38em; text-transform: uppercase;
}
.streep { width: 120px; height: 1px; margin: 24px 0; background: var(--lijn); }
.intro { font-size: 20px; line-height: 1.4; }
.intro-klein { font-size: 17px; line-height: 1.6; color: var(--leisteen); }
.op-pagina {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.op-pagina a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--inkt);
  text-decoration: underline; text-decoration-color: var(--lijn); text-underline-offset: 6px;
}
.op-pagina a:hover { text-decoration-color: var(--inkt); }
.waar { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--leisteen); }

.aftellen { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.aftellen[hidden] { display: none; }
.streepje { width: 36px; height: 1px; background: var(--lijn); }
.aftellen p { display: flex; flex-direction: column; align-items: center; }
.aftellen .klein {
  margin-right: -0.3em;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--label);
}
.aftellen .klein:empty { display: none; }
.aftellen .getal { font-size: 54px; line-height: 1.05; }
.aftellen .getal.tekst { font-size: 26px; line-height: 1.4; }

/* Knoppen */

.acties { width: 100%; margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.knop {
  min-height: 48px; padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--inkt); background: transparent; color: var(--inkt);
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
}
.knop:hover { background: rgba(37, 50, 71, 0.06); color: var(--inkt); }
.knop-vol { background: var(--inkt); color: var(--ivoor); }
.knop-vol:hover { background: var(--inkt-donker); color: var(--ivoor); }

.keuze > summary { list-style: none; user-select: none; }
.keuze > summary::-webkit-details-marker { display: none; }
.keuze > summary::after {
  content: ''; width: 6px; height: 6px; margin: -3px 0 0 2px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.keuze[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.keuze-menu { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.keuze-menu .knop { min-height: 44px; border-color: var(--lijn); font-size: 12px; letter-spacing: 0.12em; }
.keuze-menu .knop:hover { border-color: var(--inkt); }
.keuze-uitleg { padding: 6px 0; font-size: 15px; color: var(--leisteen); }
.antwoord-tegen { margin-top: 14px; font-size: 14px; font-style: italic; color: var(--leisteen); }

/* Secties */

.sectie { padding: 64px 24px 8px; }
.label {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--label); text-align: center;
}
.sectie h2 { margin-top: 10px; font-size: 34px; line-height: 1.15; text-align: center; }
.lead { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--leisteen); text-align: center; }

/* De dag */

.programma { margin-top: 12px; }
.blok-titel {
  margin-top: 22px; padding-bottom: 8px;
  border-bottom: 1px solid var(--lijn);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--label);
}
.momenten { list-style: none; padding: 0; }
.moment {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--lijn-zacht);
}
.moment:last-child { border-bottom: 0; }
.moment-tijd { padding-top: 2px; font-family: var(--sans); font-size: 14px; letter-spacing: 0.06em; color: var(--label); }
.moment-wat { display: block; font-size: 17px; line-height: 1.35; }
.moment-waar { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--leisteen); }

.weetjes { margin-top: 30px; display: grid; gap: 12px; }
.weetje {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--lijn); background: var(--ivoor-licht);
}
.weetje-titel { font-size: 17px; line-height: 1.3; }
.weetje-tekst { margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--leisteen); }

/* Route */

.stops { list-style: none; margin-top: 34px; padding: 0; }
.stop { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
.stop-teken { display: flex; flex-direction: column; align-items: center; }
.stop-nummer {
  flex: none; width: 30px; height: 30px;
  border: 1px solid var(--inkt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 13px;
}
.stop:last-child .stop-nummer { background: var(--inkt); color: var(--ivoor); }
.stop-lijn { flex: 1; width: 1px; margin-top: 6px; background: var(--lijn); }
.stop-naam { margin-top: 3px; font-size: 18px; line-height: 1.3; }
.stop-tekst { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--leisteen); }
.stop-verder { margin: 14px 0 18px; font-size: 14px; font-style: italic; color: var(--label); }

.kaartknoppen { margin-top: 12px; display: flex; gap: 6px; }
.kaartknoppen a {
  flex: 1; min-height: 44px; padding: 4px 6px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--lijn);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em;
  text-align: center; text-decoration: none; color: var(--inkt);
}
.kaartknoppen a:hover { border-color: var(--inkt); color: var(--inkt); }

.extra {
  margin-top: 30px; padding: 18px;
  display: grid; gap: 10px;
  border: 1px solid var(--lijn); background: var(--ivoor-licht);
}
.extra p { font-size: 15px; line-height: 1.55; }

/* Verwijzing naar de Ieper-pagina */

.teaser {
  padding: 34px 22px;
  border: 1px solid var(--lijn); background: var(--ivoor-licht);
  text-align: center;
}
.teaser-tekst { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--leisteen); }
.teaser .knop { margin-top: 22px; }

/* Voet */

.voet {
  max-width: 640px; margin: 72px auto 0; padding: 44px 24px 56px;
  border-top: 1px solid var(--lijn);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.voet .monogram-klein { width: 44px; height: 44px; font-size: 15px; }
.voet-namen { margin-top: 14px; font-size: 22px; }
.voet .label { margin-top: 6px; }
.voet-tekst { max-width: 280px; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--leisteen); }

/* Nog in te vullen */

mark.leeg { padding: 0 3px; background: var(--leeg); color: inherit; border-bottom: 1px dashed var(--label); }
.concept {
  padding: 8px 16px;
  background: var(--inkt); color: var(--ivoor);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
}

/* Ieper */

.tekstblok { margin-top: 20px; display: grid; gap: 12px; }
.tekstblok p { font-size: 16px; line-height: 1.65; }
.tekstblok + .kaartknoppen { margin-top: 20px; }

.groep { margin-top: 12px; }
.routes { list-style: none; padding: 0; }
.route { padding: 18px 0 20px; border-bottom: 1px solid var(--lijn-zacht); }
.route:last-child { border-bottom: 0; }
.route-naam { font-size: 19px; line-height: 1.3; }
.route-afstand {
  margin-top: 4px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--label);
}
.route-tekst { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--leisteen); }
.route-start { margin-top: 8px; font-size: 14px; line-height: 1.5; font-style: italic; }
.knop-terug { margin-top: 40px; }

.knop-gpx { margin-top: 8px; min-height: 44px; border-color: var(--lijn); font-size: 12px; letter-spacing: 0.12em; }
.knop-gpx:hover { border-color: var(--inkt); }

/* Kaart */

.kaart-kader { margin-top: 30px; padding: 6px; border: 1px solid var(--lijn); background: var(--ivoor-licht); }
.kaart-vlak { position: relative; z-index: 0; height: 420px; background: #E8E2D4; }
.kaart-vlak .leaflet-tile-pane { filter: grayscale(0.5) sepia(0.2); }
.kaart-vlak.leaflet-container { font-family: var(--serif); }
.kaart-vlak .leaflet-popup-content { font-size: 14px; line-height: 1.45; }
.kaart-vlak .leaflet-popup-content a { color: var(--inkt); }
.kaart-wissel {
  padding: 8px 12px;
  border: 1px solid var(--inkt); background: var(--ivoor); color: var(--inkt);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
}
.legende {
  list-style: none; margin-top: 14px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--leisteen);
}
.legende li { display: flex; align-items: center; gap: 8px; }
.legende-lijn { flex: none; width: 22px; height: 4px; border-radius: 2px; }
.legende-punt { width: 12px; height: 12px; border-radius: 50%; }
.legende-start { border: 2px solid var(--inkt); background: var(--ivoor-licht); }
.legende-cafe { border: 2px solid var(--ivoor-licht); background: var(--bruin); box-shadow: 0 0 0 1px var(--bruin); }
.legende-museum { border: 2px solid var(--ivoor-licht); background: var(--inkt); box-shadow: 0 0 0 1px var(--inkt); }

/* Kaart en adressen per wandelroute */

.route .kaart-kader { margin-top: 14px; }
.kaart-route { height: 260px; }
.adressen { margin-top: 16px; }
.adressen-titel {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--label);
}
.adressen ol { list-style: none; margin-top: 10px; padding: 0; display: grid; gap: 14px; }
.adres { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.adres-nummer, .kaart-nummer {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bruin); color: var(--ivoor-licht);
  font-family: var(--sans); font-size: 12px; line-height: 1;
}
.kaart-nummer { border: 2px solid var(--ivoor-licht); box-shadow: 0 0 0 1px var(--bruin); }
.adres-naam { font-size: 16px; line-height: 1.35; }
.adres-naam a { color: var(--inkt); }
.adres-soort {
  margin-left: 6px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--label);
}
.adres-score { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--leisteen); }
.adres-tekst { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--leisteen); }
.adres-info { margin-top: 4px; font-size: 14px; line-height: 1.5; font-style: italic; }
.adressen-bron { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--leisteen); }
.route .route-start { margin-top: 16px; }

/* Musea */

.musea { list-style: none; margin-top: 26px; padding: 0; border-top: 1px solid var(--lijn); }
.museum { padding: 18px 0 20px; border-bottom: 1px solid var(--lijn-zacht); }
.museum-naam { font-size: 19px; line-height: 1.3; }
.museum-open {
  margin-top: 4px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--label);
}
.museum-tekst { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--leisteen); }
.museum-prijs { margin-top: 6px; font-size: 14px; line-height: 1.5; font-style: italic; }
.tip {
  margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--lijn); background: var(--ivoor-licht);
  font-size: 15px; line-height: 1.55;
}
.tip + .kaartknoppen { margin-top: 14px; }

/* Ons verhaal */

.tijdlijn { position: relative; list-style: none; margin-top: 34px; padding: 0 0 0 30px; }
.tijdlijn::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--lijn); }
.tijdlijn-moment { position: relative; padding-bottom: 40px; }
.tijdlijn-moment:last-child { padding-bottom: 0; }
.tijdlijn-punt {
  position: absolute; left: -30px; top: 7px;
  width: 13px; height: 13px;
  border: 1px solid var(--inkt); border-radius: 50%; background: var(--ivoor);
}
.tijdlijn-slot .tijdlijn-punt { background: var(--inkt); }
.tijdlijn-jaar {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--label);
}
.tijdlijn-titel { font-size: 21px; line-height: 1.3; }
.tijdlijn-jaar + .tijdlijn-titel { margin-top: 2px; }
.tijdlijn-tekst { margin-top: 3px; font-size: 15px; line-height: 1.55; color: var(--leisteen); }
.tijdlijn-foto { margin: 14px 0 0; padding: 6px; border: 1px solid var(--lijn); background: var(--ivoor-licht); }
.tijdlijn-foto img { display: block; width: 100%; height: auto; }

/* Gsm: het laatste, langste menu-item staat op twee regels, zodat alle items zichtbaar blijven. */

@media (max-width: 699px) {
  .menu-links { align-items: center; }
  .menu-links a:last-child { width: min-content; white-space: normal; line-height: 1.25; padding: 7px 0 5px; }
}

/* Kleine gsm */

@media (max-width: 359px) {
  .menu-binnen { gap: 12px; padding-left: 12px; }
  .menu-links { gap: 12px; font-size: 11px; letter-spacing: 0.06em; }
}

/* Groter scherm */

@media (min-width: 700px) {
  body { font-size: 18px; }
  .menu-binnen { padding-left: 0; }
  .menu-links { gap: 24px; letter-spacing: 0.16em; }
  .welkom { padding: 40px 0 0; }
  .kader-binnen { padding: 56px 56px 48px; }
  .namen { font-size: 56px; }
  .namen-klein { font-size: 44px; }
  .kaart-route { height: 320px; }
  .acties { flex-direction: row; align-items: flex-start; }
  .acties > .keuze { flex: 1; }
  .sectie { padding: 88px 0 8px; }
  .sectie h2 { font-size: 40px; }
  .lead { font-size: 17px; }
}
