@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --donker: #1f2530;
  --groen: #55a630;
  --groen-licht: #8fd45f;
  --groen-tekst: #3f7f1f;
  --tekst: #1f2530;
  --stil: #5b6472;
  --rand: #d9ddd3;
  --grijs: #f4f5f1;
  --vloeren: #3f9c4b;
  --wanden: #2f5fe0;
  --daken: #e8702a;
  --gevels: #9146e0;
  --kleur: var(--vloeren);
  --kop-letter: 'Archivo', 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--tekst);
  font:
    400 1.0625rem/1.55 'Inter',
    system-ui,
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2 {
  font-family: var(--kop-letter);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 5.2vw, 2.6rem);
  margin-bottom: 0.9rem;
}
p {
  margin: 0 0 1rem;
}
.binnen {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}
.etiket {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--groen-tekst);
  margin-bottom: 0.6rem;
}
.groen {
  color: var(--groen-tekst);
}

/* Header: the dark front of the flyer, with its faint grid. */
.kop {
  background-color: var(--donker);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  color: #fff;
  padding: 1.5rem 0 2.5rem;
}
.kop-boven {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.logo {
  width: 7.5rem;
}
.kop .etiket {
  color: var(--groen-licht);
  text-align: right;
  max-width: 14rem;
  margin: 0.3rem 0 0;
}
h1 {
  font-size: clamp(3rem, 13.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.98;
}
h1::before {
  content: '';
  display: block;
  width: 4.5rem;
  height: 0.45rem;
  background: var(--groen);
  margin-bottom: 1.1rem;
}
h1 span {
  color: var(--groen);
  display: block;
}
.intro {
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  color: #c9ced6;
  max-width: 38rem;
  margin: 1.4rem 0 1.6rem;
}
.knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.knop {
  display: inline-block;
  background: var(--groen);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border-radius: 0.6rem;
  border: 2px solid var(--groen);
}
.knop:hover {
  background: #4a9329;
}
.knop-stil {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}
.knop-stil:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cijfers {
  list-style: none;
  margin: 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  color: #c9ced6;
  font-size: 0.9rem;
  line-height: 1.35;
}
.cijfers li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 1rem;
}
.cijfers strong {
  display: block;
  font-family: var(--kop-letter);
  font-weight: 900;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1.1;
  color: var(--groen-licht);
}

.blok {
  padding: 3rem 0;
}
.blok-grijs {
  background: var(--grijs);
}
.lood {
  color: var(--stil);
  max-width: 44rem;
  font-size: 1.1rem;
}

.video {
  aspect-ratio: 16 / 9;
  background: var(--donker);
  border-radius: 0.9rem;
  overflow: hidden;
  margin-top: 1.2rem;
}
.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* The example. */
.stip {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  margin-right: 0.55rem;
  background: var(--vloeren);
}
.stip-wanden {
  background: var(--wanden);
}
.stip-daken {
  background: var(--daken);
}
.stip-gevels {
  background: var(--gevels);
}
.voorbeeld {
  border: 1.5px solid var(--rand);
  border-radius: 1rem;
  background: #fff;
  margin: 1.6rem 0;
  overflow: hidden;
}
.voorbeeld[data-categorie='wanden'] {
  --kleur: var(--wanden);
}
.voorbeeld[data-categorie='daken'] {
  --kleur: var(--daken);
}
.voorbeeld[data-categorie='gevels'] {
  --kleur: var(--gevels);
}
.stil-beeld {
  width: min(100%, 26rem);
  margin: 1rem auto 0;
}
.stil-totalen,
.onderdelen {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}
.onderdelen {
  padding: 0;
  color: var(--stil);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem 2rem;
}
.onderdelen strong {
  color: var(--tekst);
  margin-right: 0.35rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1.5px solid var(--rand);
}
.tab {
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 0.2rem;
  background: var(--grijs);
  color: var(--stil);
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.tab + .tab {
  border-left: 1px solid var(--rand);
}
.tab[aria-selected='true'] {
  background: #fff;
  color: var(--tekst);
  border-bottom-color: var(--kleur);
}
.tab:focus-visible,
.regel:focus-visible {
  outline: 3px solid var(--kleur);
  outline-offset: -3px;
}

.paneel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.podium {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem;
  position: relative;
}
.weergave {
  flex: 0 0 86%;
  margin: 0;
  scroll-snap-align: center;
}
.weergave:only-child {
  flex-basis: 100%;
}
.kader {
  position: relative;
  width: 100%;
}
.kader img,
.kader svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.weergave figcaption {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stil);
  margin-top: 0.4rem;
}
.vlak {
  fill: var(--kleur);
  fill-opacity: 0.22;
  stroke: var(--kleur);
  stroke-width: 3;
  stroke-linejoin: round;
  cursor: pointer;
}
.lijn {
  fill: none;
  stroke: var(--kleur);
  stroke-width: 9;
  stroke-opacity: 0.75;
  stroke-linecap: round;
  cursor: pointer;
  /* A wall is thin: let a finger hit it. */
  pointer-events: stroke;
}
.vlak.is-gekozen {
  fill-opacity: 0.62;
  stroke-width: 6;
}
.lijn.is-gekozen {
  stroke-width: 18;
  stroke-opacity: 1;
}
.gekozen {
  margin: 0;
  padding: 0.8rem 1rem;
  background: color-mix(in srgb, var(--kleur) 10%, #fff);
  border-block: 1.5px solid var(--rand);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
  min-height: 3.4rem;
}
.gekozen strong {
  flex: 1 1 10rem;
}
.gekozen-getal {
  font-family: var(--kop-letter);
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}
.gekozen-extra,
.gekozen-hint {
  flex-basis: 100%;
  color: var(--stil);
  font-size: 0.9rem;
}
.lijst {
  max-height: 24rem;
  overflow-y: auto;
  padding-bottom: 0.5rem;
}
.lijst-totaal {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--rand);
}
.lijst h4 {
  margin: 0;
  padding: 0.9rem 1rem 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stil);
}
.regel {
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  background: none;
  border: 0;
  border-left: 4px solid transparent;
  padding: 0.6rem 1rem 0.6rem calc(1rem - 4px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 0.8rem;
  cursor: pointer;
}
.regel:hover {
  background: var(--grijs);
}
.regel.is-gekozen {
  background: color-mix(in srgb, var(--kleur) 10%, #fff);
  border-left-color: var(--kleur);
}
.regel-getal {
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.regel-extra {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--stil);
}

/* How it works and why. */
.stappen {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  font-weight: 700;
}
.stappen li {
  position: relative;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--rand);
  border-radius: 0.6rem;
  background: #fff;
}
.stappen li + li::before {
  content: '→';
  position: absolute;
  left: -1.6rem;
  color: var(--stil);
}
.stappen .is-eerste {
  background: var(--groen);
  border-color: var(--groen);
  color: #fff;
}
.redenen {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.3rem 2rem;
  color: var(--stil);
}
.redenen li {
  position: relative;
  padding-left: 2.3rem;
}
.redenen li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--groen);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.5rem;
  text-align: center;
}
.redenen strong {
  display: block;
  color: var(--tekst);
  font-size: 1.1rem;
}

/* Booking. */
.agenda {
  border: 1.5px solid var(--rand);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 62rem;
  margin-top: 1.4rem;
  background: #fff;
}
.agenda iframe {
  width: 100%;
  height: 62rem;
  border: 0;
  display: block;
}
.agenda-wacht {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--stil);
}
.agenda-anders {
  color: var(--stil);
  font-size: 0.95rem;
  margin-top: 0.9rem;
}

.wie {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.wie img {
  border-radius: 1rem;
  width: min(100%, 26rem);
}

.voet {
  background: var(--donker);
  color: #c9ced6;
  padding: 2.2rem 0;
}
.voet .binnen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.voet p {
  margin: 0 0 0.3rem;
}
.voet-naam {
  font-family: var(--kop-letter);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
.voet-rol {
  color: #8e96a3;
}
.voet-site {
  color: var(--groen-licht);
  font-weight: 700;
}
.voet-rechts {
  font-size: 0.85rem;
}
.voet-rechts .logo {
  margin-bottom: 0.8rem;
}

@media (min-width: 52rem) {
  .blok {
    padding: 4.5rem 0;
  }
  .kop {
    padding: 2.2rem 0 3.5rem;
  }
  .logo {
    width: 9rem;
  }
  .paneel {
    grid-template-columns: minmax(0, 1.75fr) minmax(17rem, 1fr);
    grid-template-rows: auto 1fr;
  }
  .podium {
    grid-row: 1 / 3;
    flex-wrap: wrap;
    overflow: visible;
    align-content: flex-start;
    border-right: 1.5px solid var(--rand);
  }
  .weergave {
    flex: 0 1 calc(50% - 0.4rem);
    min-width: 0;
  }
  .gekozen {
    border-top: 0;
  }
  .lijst {
    max-height: 30rem;
  }
  .wie {
    grid-template-columns: 26rem 1fr;
    gap: 3rem;
  }
  .agenda,
  .agenda iframe {
    min-height: 44rem;
    height: 44rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
