/* Kasblad-omzetter, productpagina in de stijl van avatize.be.
   Eigen stijlblad: alles staat in dit ene bestand, ook de letters.
   De waarden (kleuren, letters, 1080px kolom, 3px hoeken) komen uit het
   stijlblad van avatize.be; de letters zijn dezelfde bestanden (SIL Open Font License),
   zelf gehost zodat er niets van derden geladen wordt. */

@font-face{font-family:'Archivo';font-style:normal;font-weight:500 800;font-display:swap;src:url('../fonts/Archivo.woff2') format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/SourceSerif4.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/IBMPlexMono-400.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/IBMPlexMono-500.woff2') format('woff2')}

:root {
  --ruimte: #07110f;
  --inkt: #16302c;
  --papier: #f5f3ed;
  --op: #fffefb;
  --tekst: #1b201e;
  --zacht: #5b6360;
  --lijn: #d5d0c2;
  --water: #2d86cc;
  --goud: #e9b44c;
  --display: "Archivo", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--papier); color: var(--tekst);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 26px; }

.overslaan {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  font-family: var(--mono); font-size: 12px; background: var(--goud);
  color: var(--ruimte); padding: 12px 16px; border-radius: 0 0 3px 0;
}
.overslaan:focus { left: 0; }

/* ---------- navigatie en hero (donkere band) ---------- */

.kosmos { background: var(--ruimte); color: #e6efec; border-bottom: 1px solid #14302a; }
.kosmos-inner { padding-block: 50px 56px; }

.hoofdnav { display: flex; gap: 2px; flex-wrap: wrap; margin: 0 0 40px; }
.hoofdnav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: #8fb5a8;
  padding: 9px 10px; border-radius: 3px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color .16s ease, background-color .16s ease;
}
.hoofdnav a:hover { color: #fff; background: rgba(233,180,76,0.12); }
.hoofdnav a[aria-current="page"] { color: var(--ruimte); background: var(--goud); }
.hoofdnav a:focus-visible { outline: 2px solid var(--goud); outline-offset: 2px; }

.hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }

.kruimel {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6e9c8e; margin: 0 0 18px;
}
.kruimel a { color: #6e9c8e; text-underline-offset: 3px; }
.kosmos h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(32px, 5.2vw, 56px); line-height: 1.04; margin: 0 0 20px;
  color: #fff; text-wrap: balance; max-width: 14ch;
}
.lead { font-size: clamp(17px, 2vw, 19.5px); max-width: 44ch; margin: 0 0 28px; color: #b6cdc6; }

.acties { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 34px; }
.knop {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; font-weight: 500;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 3px; padding: 0 20px; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.knop:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.knop-primair { background: var(--goud); color: var(--ruimte); }
.knop-primair:hover { background: #f3c36a; }
.knop-rand { color: #c8ded6; border-color: #23443c; }
.knop-rand:hover { color: #fff; border-color: var(--goud); background: rgba(233,180,76,0.12); }

.programma {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--body); font-size: 15px; color: #8fb5a8;
}
.programma img { border-radius: 9px; flex: none; }

.hero-beeld { margin: 0; }
.hero-beeld .film {
  border: 1px solid #23443c; border-radius: 3px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}

/* Eenmalige binnenkomst van de hero; staat uit bij beperkte beweging. */
@media (prefers-reduced-motion: no-preference) {
  .hero-tekst > *, .hero-beeld { animation: komt .7s cubic-bezier(.22,.61,.36,1) both; }
  .hero-tekst > :nth-child(2) { animation-delay: .06s; }
  .hero-tekst > :nth-child(3) { animation-delay: .12s; }
  .hero-tekst > :nth-child(4) { animation-delay: .18s; }
  .hero-tekst > :nth-child(5) { animation-delay: .24s; }
  .hero-beeld { animation-delay: .2s; }
}
@keyframes komt { from { opacity: 0; transform: translateY(14px); } }

/* ---------- secties ---------- */

main section { padding: 56px 0; border-bottom: 1px solid var(--lijn); }
main section:last-child { border-bottom: 0; }
.sectiekop {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--zacht); margin: 0 0 26px;
}
h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(22px, 3vw, 29px); line-height: 1.2; margin: 0 0 14px;
  color: var(--inkt); text-wrap: balance; max-width: 24ch;
}
p.groot { font-size: 18px; max-width: 60ch; margin: 0 0 15px; }
p.zacht { color: var(--zacht); max-width: 62ch; margin: 0 0 14px; }

.manifest { display: grid; gap: 14px 48px; }
@media (min-width: 860px) { .manifest { grid-template-columns: 5fr 7fr; } }


/* stappen: een echte volgorde, dus genummerd */
.stappen { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--lijn); }
.stappen li {
  display: grid; gap: 3px 24px; padding: 18px 0;
  border-bottom: 1px solid var(--lijn); align-items: baseline;
  grid-template-columns: 28px minmax(0, 1fr);
}
.stappen .nr { font-family: var(--mono); font-size: 13px; color: var(--zacht); grid-row: span 2; }
.stappen .n { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--inkt); }
.stappen .w { color: var(--zacht); font-size: 16px; max-width: 62ch; grid-column: 2; }
@media (min-width: 760px) {
  .stappen li { grid-template-columns: 28px 300px minmax(0, 1fr); }
  .stappen .nr { grid-row: auto; }
  .stappen .w { grid-column: auto; }
}

.duo { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 860px) { .duo { grid-template-columns: 5fr 7fr; } .duo-smal { grid-template-columns: 1fr 1fr; } }
.beeld { margin: 0; }
.beeld img { width: 100%; border: 1px solid var(--lijn); border-radius: 3px; }

/* Korte opnames: vaste verhouding via width/height, dus geen verspringende pagina. */
.film { position: relative; overflow: hidden; border-radius: 3px; background: var(--op); line-height: 0; }
.beeld .film { border: 1px solid var(--lijn); }
.film video { width: 100%; height: auto; display: block; }
.pauze {
  position: absolute; right: 10px; bottom: 10px; line-height: 1; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #e6efec; background: rgba(7,17,15,0.78); border: 1px solid #23443c; border-radius: 3px;
  min-height: 32px; padding: 0 12px; transition: background-color .16s ease, border-color .16s ease;
}
.pauze:hover { background: var(--ruimte); border-color: var(--goud); }
.pauze:focus-visible { outline: 2px solid var(--goud); outline-offset: 2px; }
@media (max-width: 759px) { .pauze { min-height: 44px; } }
.beeld figcaption {
  font-size: 14.5px; color: var(--zacht); margin-top: 10px;
}
.beeld-breed { margin-top: 28px; max-width: 760px; }

.blokken { display: grid; gap: 2px; background: var(--lijn); border: 1px solid var(--lijn); margin-top: 26px; }
@media (min-width: 640px) { .blokken { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .blokken { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.blok { background: var(--op); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; transition: background-color .18s ease; }
.blok b { font-family: var(--display); font-weight: 600; font-size: 16.5px; color: var(--inkt); letter-spacing: -0.01em; }
.blok span { color: var(--zacht); font-size: 15.5px; line-height: 1.5; }
.blok:hover { background: #fff; }

.aanbod { display: grid; gap: 2px; background: var(--lijn); border: 1px solid var(--lijn); margin-top: 26px; }
@media (min-width: 860px) { .aanbod { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.optie { background: var(--op); padding: 28px 28px 30px; display: grid; gap: 11px; align-content: start; }
.optie .nr {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--zacht);
}
.optie h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin: 0; color: var(--inkt); letter-spacing: -0.02em; }
.optie p { margin: 0; color: var(--zacht); font-size: 16.5px; }
.optie .kern { color: var(--tekst); border-top: 1px solid var(--lijn); padding-top: 13px; margin-top: 3px; }

/* ---------- oproep (donkere band) ---------- */

.oproep { background: var(--ruimte); color: #e6efec; border-top: 1px solid #14302a; padding: 56px 0; }
.oproep-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .oproep-inner { grid-template-columns: 1fr auto; gap: 48px; } }
.oproep h2 { color: #fff; margin: 0 0 8px; font-weight: 700; max-width: 26ch; }
.oproep p { margin: 0; color: #b6cdc6; }

footer {
  padding: 24px 26px 46px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--zacht);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

a:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; }

/* Smalle schermen: navigatie in één rij die je opzij schuift, de huidige pagina vooraan,
   zodat de hero niet onder de vouw valt. */
@media (max-width: 759px) {
  .hoofdnav {
    flex-wrap: nowrap; overflow-x: auto; margin-bottom: 28px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .hoofdnav::-webkit-scrollbar { display: none; }
  .hoofdnav a { flex: none; color: #b9d3c9; }
  .hoofdnav a[aria-current="page"] { order: -1; color: var(--ruimte); }
  .kosmos-inner { padding-top: 24px; }
}
