/* Landingspagina: een bouwwerk van vensterblokken. Alles wat gedeeld is, staat in stijl/. */
html { scroll-behavior: smooth; }

.vak {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-left: max(var(--ruimte-4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--ruimte-4), env(safe-area-inset-right, 0px));
}
.lt-kop { padding-top: max(var(--ruimte-3), env(safe-area-inset-top, 0px)); }

.opening { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--ruimte-6); padding-block: var(--ruimte-4) var(--ruimte-6); }
.opening-tekst { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ruimte-4); }
.opening h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.04; text-wrap: balance; }
.opening p { margin: 0; max-width: 34em; font-size: 1.15rem; line-height: 1.5; }
.opening .bijschrift { margin-top: var(--ruimte-3); color: var(--inkt-zacht); font-size: 0.94rem; font-weight: 600; }

/* Het bouwsel op de lichttafel; plekken in procenten van de tafel. */
.bouwtafel { aspect-ratio: 4 / 3; }
@supports not (aspect-ratio: 1) {
  .bouwtafel { height: 30rem; }
}
.los-kolom-a { left: 10%; bottom: 6%; width: 10%; }
.los-kolom-b { left: 34%; bottom: 6%; width: 10%; }
.los-balk { left: 6%; bottom: 37%; width: 42%; }
.los-vierkant { left: 17%; bottom: 50%; width: 20%; }
.los-driehoek { left: 15%; bottom: 73%; width: 24%; }
.los-boog { left: 52%; bottom: 6%; width: 34%; }
.los-halfrond { left: 56%; bottom: 41%; width: 27%; }
.los-schijf { left: 73%; bottom: 52%; width: 18%; }

.deel { padding-bottom: var(--ruimte-6); scroll-margin-top: var(--ruimte-4); }
.deel h2 { margin: 0 0 var(--ruimte-2); }
.deel .uitleg { margin: 0 0 var(--ruimte-4); color: var(--inkt-zacht); }
.deel .lt-bouwwerk { margin-top: var(--ruimte-3); }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ruimte-5) var(--ruimte-6); }
.drie p { margin: 0; max-width: 60ch; }

.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hoofdblok { grid-column: span 2; grid-row: span 2; }
.breedblok { grid-column: span 2; }
.hoofdblok h3 { font-size: 2rem; }
.hoofdblok p { max-width: 24em; font-size: 1.2rem; }
.hoofdblok .lt-blok-tekst { padding-bottom: var(--ruimte-5); }
.hoofdblok .lt-blok-status { font-size: 1.06rem; }

.voet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ruimte-5) var(--ruimte-6); padding-block: var(--ruimte-5) max(var(--ruimte-6), env(safe-area-inset-bottom, 0px)); color: var(--inkt-zacht); }
.voet h2 { margin: 0 0 var(--ruimte-1); font-size: 1.06rem; font-weight: 800; color: var(--inkt); }
.voet p { margin: 0; max-width: 60ch; }

@media (max-width: 1040px) {
  .vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hoofdblok { grid-row: auto; min-height: 23.75rem; }
}
@media (max-width: 760px) {
  .opening { grid-template-columns: minmax(0, 1fr); gap: var(--ruimte-5); }
  .voet, .drie { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .vier { grid-template-columns: minmax(0, 1fr); }
  .hoofdblok, .breedblok { grid-column: auto; min-height: 0; }
  .lt-blok { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
