/* Na de rondleiding: het dossier als bladen van een architectenplan.
   Nacht uit de rondleiding wisselt af met zand; één amber accent, brede
   Archivo voor koppen en IBM Plex Mono voor de kleine opschriften, zoals
   de labels op een bouwtekening. Rechte hoeken, dunne lijnen. */

.na {
  --nacht: #0E0F11;
  --zand: #E8E1D3;
  --zand-licht: #F4EFE6;
  --inkt: #141412;
  --grijs: #57534B;
  --licht: #F1ECE2;
  --licht-zacht: rgba(241, 236, 226, 0.72);
  --amber: #E3A56B;
  --roest: #8A4A1E;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  position: relative;
  z-index: 1;
  background: var(--nacht);
  color: var(--licht);
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.na button { font: inherit; }
/* De width/height-attributen in de html geven de browser de beeldverhouding
   vóór het laden; zonder height:auto wint de height (1080 px) het van de
   aspect-ratio hieronder en worden de foto's veel te hoog. */
.na img:not(.leaflet-tile):not(.leaflet-marker-icon) { height: auto; }

.mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mono--amber { color: var(--amber); }
.mono--roest { color: var(--roest); }

.blad--zand { background: var(--zand); color: var(--inkt); }
.blad__in {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 120px) clamp(20px, 4vw, 60px);
}
.blad__kop { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 5vw, 56px); max-width: 760px; }
.blad__kop--rij { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; max-width: none; }
.blad__intro { font-size: 18px; line-height: 1.6; color: var(--grijs); }


/* ---------- Blad 01: titelblad ---------- */

.titelblok {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(241, 236, 226, 0.28);
  border-left: 1px solid rgba(241, 236, 226, 0.28);
}
.titelblok > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 24px;
  border-right: 1px solid rgba(241, 236, 226, 0.28);
  border-bottom: 1px solid rgba(241, 236, 226, 0.28);
}
.titelblok dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(241, 236, 226, 0.66); }
.titelblok dd { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; font-stretch: 125%; overflow-wrap: anywhere; }
.titelblok dd.titelblok__tekst { font-size: 18px; font-weight: 400; font-stretch: 100%; line-height: 1.35; }
.titelblok__prijs { background: var(--amber); color: var(--inkt); }
.titelblok__prijs dt { color: var(--inkt); }
.titelblok__prijs dd { font-weight: 700; }


/* ---------- Blad 02: plattegrond ---------- */

.keuze { display: flex; border: 1px solid var(--inkt); }
.keuze button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--inkt);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.keuze button:hover { background: rgba(20, 20, 18, 0.08); }
.keuze button[aria-pressed="true"] { background: var(--inkt); color: var(--licht); }

.plan { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.plan__teken { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.plan__lijst { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }

.tekening { position: relative; width: 100%; aspect-ratio: 7 / 5; }
.tekening__niveau { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tekening__niveau[hidden] { display: none; }
.tekening__tekst { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; fill: var(--grijs); }
.tekening__tekst--klein { font-size: 10px; letter-spacing: 0; }
.tekening__meubel { fill: none; stroke: var(--inkt); stroke-opacity: 0.5; stroke-width: 1.2; }
.tekening__gat { fill: var(--zand); }

.ruimte {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--inkt);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.ruimte:hover { background: rgba(138, 74, 30, 0.1); }
.ruimte[aria-pressed="true"] { background: rgba(138, 74, 30, 0.22); outline: 2px solid var(--roest); outline-offset: -2px; }
.ruimte:focus-visible { outline: 2px solid var(--inkt); outline-offset: -2px; }
.ruimte__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; padding: 4px 7px; background: rgba(232, 225, 211, 0.92); }
.ruimte__label b { font-size: 12px; font-weight: 600; line-height: 1.2; hyphens: auto; overflow-wrap: break-word; }
.ruimte__label small { font-family: var(--mono); font-size: 11px; }
.ruimte__kort { display: none; }
.ruimte[aria-pressed="true"] .ruimte__label { background: var(--roest); color: var(--licht); }

.plan__onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--grijs); }

.ruimtelijst { margin: 0; padding: 0; list-style: none; }
.ruimtelijst button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% + 20px);
  min-height: 56px;
  margin: 0 -10px;
  padding: 0 10px;
  border: 0;
  border-top: 1px solid rgba(20, 20, 18, 0.2);
  background: transparent;
  color: var(--inkt);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.ruimtelijst button:hover { background: rgba(20, 20, 18, 0.06); }
.ruimtelijst button[aria-pressed="true"] { background: var(--roest); color: var(--licht); }
.ruimtelijst__nr { width: 28px; font-family: var(--mono); font-size: 12px; color: var(--roest); }
.ruimtelijst button[aria-pressed="true"] .ruimtelijst__nr { color: var(--licht); }
.ruimtelijst__naam { flex: 1; font-size: 17px; }
.ruimtelijst__m2 { font-family: var(--mono); font-size: 14px; }
.ruimtelijst__totaal { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; border-top: 2px solid var(--inkt); font-size: 15px; font-weight: 600; }
.ruimtelijst__totaal strong { font-size: 30px; font-weight: 700; font-stretch: 125%; }
.ruimtelijst__noot { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--grijs); }

/* ---------- Blad 03: kosten ---------- */

.kosten { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.kosten__links { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kosten__intro { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--licht-zacht); }
.situatie { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.situatie button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid rgba(241, 236, 226, 0.3);
  background: transparent;
  color: var(--licht);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.situatie button:hover { border-color: var(--amber); }
.situatie button[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); color: var(--inkt); }
.situatie .mono { letter-spacing: 0; }

.kosten__rekening { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; }
.rekenregel { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(241, 236, 226, 0.24); font-size: 18px; }
.rekenregel .mono { font-size: 16px; letter-spacing: 0; text-transform: none; text-align: right; }
.zacht { color: rgba(241, 236, 226, 0.66); }
.rekentotaal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-top: 32px; font-size: 18px; font-weight: 600; }
.rekentotaal strong { font-size: clamp(40px, 5vw, 68px); font-weight: 700; font-stretch: 125%; letter-spacing: -0.02em; color: var(--amber); }
.kosten__voet { margin-top: 24px; font-size: 14px; line-height: 1.6; color: rgba(241, 236, 226, 0.66); }

/* ---------- Blad 04: projecten ---------- */

.projecten2 { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.kaart { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; border: 2px solid var(--inkt); background: #DED6C6; }
.kaart__vlak { position: relative; z-index: 0; width: 100%; flex: 1; min-height: 420px; background: #DED6C6; }
.kaart figcaption { padding: 14px 18px; border-top: 2px solid var(--inkt); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--grijs); }
.kaart .leaflet-container { font-family: var(--font-ui); background: #DED6C6; }
/* De tegels iets warmer, zodat de kaart bij het zand past. */
.kaart .leaflet-tile-pane { filter: grayscale(0.55) sepia(0.35) contrast(0.92); }
.kaart .leaflet-control-zoom { border: 0; box-shadow: none; }
.kaart .leaflet-control-zoom a {
  width: 36px; height: 36px; line-height: 34px;
  border: 1px solid var(--inkt); border-radius: 0;
  background: var(--zand-licht); color: var(--inkt);
}
.kaart .leaflet-control-zoom a + a { border-top: 0; }
.kaart .leaflet-control-attribution { background: rgba(232, 225, 211, 0.85); font-size: 11px; color: var(--grijs); }
.kaart .leaflet-control-attribution a { color: var(--inkt); }

.speld { background: none; border: 0; }
.speld span {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--inkt); color: var(--zand);
  font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 3px var(--zand);
  transition: transform 0.25s var(--ease-out), background-color 0.2s;
}
.speld--roest span { background: var(--roest); color: var(--licht); }
.speld--huidig span { width: 14px; height: 14px; background: var(--roest); box-shadow: 0 0 0 3px var(--zand); }
.speld.is-aan span { transform: scale(1.25); background: var(--amber); color: var(--inkt); }

.projectlijst { flex: 999 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--inkt); }
.projectlijst a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(20, 20, 18, 0.24);
  color: var(--inkt);
  transition: background-color 0.3s;
}
.projectlijst a:hover { background: rgba(20, 20, 18, 0.05); }
.projectlijst a:focus-visible { outline: 2px solid var(--inkt); outline-offset: 2px; }
.projectlijst__nr { font-size: 28px; font-weight: 700; font-stretch: 125%; }
.projectlijst__nr--roest { color: var(--roest); }
.projectlijst__tekst { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--grijs); transition: transform 0.4s var(--ease-out); }
.projectlijst a:hover .projectlijst__tekst { transform: translateX(12px); }
.projectlijst__naam { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; color: var(--inkt); }
.projectlijst .mono { letter-spacing: 0; text-transform: none; }

/* ---------- Blad 05: werkwijze ---------- */

.stappen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(241, 236, 226, 0.28);
}
.stappen li { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px 0; }
.stappen__nr { font-size: 56px; font-weight: 700; font-stretch: 125%; line-height: 1; color: var(--amber); }
.stappen h3 { margin: 0; font-size: 20px; font-weight: 600; }
.stappen p { font-size: 16px; line-height: 1.6; color: rgba(241, 236, 226, 0.74); }

/* ---------- Blad 06: bezoek ---------- */

.bezoek { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.bezoek__links { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bezoek__links img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 78%; margin-top: 12px; }
.bezoek__form { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.bezoek__form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.bezoek__form legend { padding: 0; margin-bottom: 14px; font-size: 12px; color: var(--grijs); }

.dagen { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.dagen button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 104px;
  padding: 12px 8px;
  border: 1px solid var(--inkt);
  background: var(--zand-licht);
  color: var(--inkt);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.dagen button:hover { background: #fff; }
.dagen button[aria-pressed="true"] { background: var(--inkt); color: var(--licht); }
.dag__dow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.dag__nr { font-size: 28px; font-weight: 700; font-stretch: 125%; line-height: 1; }
.dag__maand { font-size: 13px; }

.uren { display: flex; flex-wrap: wrap; gap: 8px; }
.uren button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--inkt);
  background: transparent;
  color: var(--inkt);
  font-family: var(--mono);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.uren button:hover:not(:disabled) { background: rgba(20, 20, 18, 0.08); }
.uren button[aria-pressed="true"] { background: var(--roest); border-color: var(--roest); color: var(--licht); }
.uren button:disabled { border-style: dashed; border-color: rgba(20, 20, 18, 0.35); color: #6B675F; text-decoration: line-through; cursor: not-allowed; }

.vinkje { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 16px; cursor: pointer; }
.vinkje input { width: 22px; height: 22px; margin: 0; accent-color: var(--inkt); }

.velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.velden label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.velden input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--inkt);
  border-radius: 0;
  background: var(--zand-licht);
  color: var(--inkt);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.velden input::placeholder { color: #75706A; }
.velden input:focus { outline: 2px solid var(--roest); outline-offset: 0; }

.bezoek__onder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 2px solid var(--inkt); }
.bezoek__onder p { font-size: 17px; line-height: 1.5; }
.bezoek__knop {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  background: var(--inkt);
  color: var(--licht);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}
.bezoek__knop:hover { background: var(--roest); }

/* ---------- Voet ---------- */

.slot .blad__in { display: flex; flex-direction: column; gap: 56px; padding-bottom: 96px; }
.slot__woord { font-size: clamp(64px, 17vw, 260px); line-height: 0.8; font-weight: 800; font-stretch: 125%; letter-spacing: -0.04em; color: #1E2024; }
.slot__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; font-size: 16px; line-height: 1.6; }
.slot__raster p { display: flex; flex-direction: column; }
.slot__raster .mono { font-size: 12px; color: rgba(241, 236, 226, 0.66); }
.slot__raster a, .slot__onder a { color: var(--amber); }
.slot__raster a:hover, .slot__onder a:hover { color: #F2C597; }
.slot__onder { padding-top: 24px; border-top: 1px solid rgba(241, 236, 226, 0.2); font-size: 13px; color: rgba(241, 236, 226, 0.66); }

@media (max-width: 860px) {
  .titelblok { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .titelblok { grid-template-columns: minmax(0, 1fr); }
  .ruimte { padding: 3px; }
  .ruimte__label { padding: 2px 4px; }
  .ruimte__label b { font-size: 11px; line-height: 1.15; }
  .ruimte__label small { display: none; }
  .ruimte__lang { display: none; }
  .ruimte__kort { display: inline; }
  .keuze { width: 100%; }
  .keuze button { flex: 1; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .projectlijst__tekst { transition: none; }
}
