/* Website en merk (/website/, palet .thema-website): eigen stijl, eigen lettertypen (Archivo, Newsreader, IBM Plex Mono) en de animatie
   van het scherm. Het palet zelf (.thema-website) staat in /styles.css. */

/* Pagina Website en merk: eigen lettertypen (SIL Open Font License 1.1), alleen daar in gebruik. */
@font-face { font-family: 'Archivo Variable'; src: url('/assets/fonts/archivo-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader Variable'; src: url('/assets/fonts/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader Variable'; src: url('/assets/fonts/newsreader-latin-wght-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* website en merk: pagina in een eigen stijl: papier, inkt en een oxiderode accentkleur, Archivo, Newsreader en IBM Plex Mono */
.thema-website h1, .thema-website h2, .thema-website h3 { font-weight: 650; letter-spacing: -.035em; }
.thema-website .button { border-radius: 999px; }
.wb-label { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: .78rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--creme-zacht); }
.wb-lead { font-family: 'Newsreader Variable', Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.wb-accent { font-family: 'Newsreader Variable', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: -.02em; color: var(--goud); }
/* hero: kop links, het Stadhuis rechts op de grondlijn (systeem: .pandhero--tekst); de intro staat onder de lijn. De animatie van het scherm staat hieronder en blijft ongemoeid. */
.wb-hero { --pand-h: clamp(170px, 21vw, 290px); margin-bottom: 0; }
.wb-hero .pandhero-tekst { padding-block: clamp(48px, 7vw, 104px) clamp(20px, 3vw, 40px); }
@media (max-width: 900px) { .wb-hero { --pand-h: clamp(150px, 46vw, 240px); } }
.wb-kop { margin-top: 22px; font-size: clamp(3.1rem, 10vw, 9.5rem); line-height: .9; letter-spacing: -.05em; max-width: 10ch; text-wrap: balance; }
.wb-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px var(--kolom-gap); padding-block: clamp(28px, 3.5vw, 48px) clamp(36px, 4.5vw, 64px); }
.wb-intro .wb-lead { max-width: 20ch; }
.wb-intro p:not(.wb-lead) { color: var(--creme-zacht); max-width: 50ch; }
.wb-sectie { padding-block: var(--sectie-ruimte); }
.wb-sectiekop { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--creme); margin-bottom: clamp(24px, 3vw, 40px); }
.wb-sectiekop h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; }
.wb-lijst { border-top: 1px solid var(--lijn-groen); }
.wb-rij { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px var(--kolom-gap); align-items: baseline; padding-block: clamp(22px, 2.6vw, 36px); border-bottom: 1px solid var(--lijn-groen); }
.wb-rij dt { display: flex; align-items: baseline; gap: 18px; font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.wb-nr { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--goud); }
.wb-rij dd { margin: 0; max-width: 44ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.4; color: var(--creme-zacht); }
.wb-donker { --creme: #f5f5f0; --creme-zacht: #b9bbb2; --goud: #d06b45; --lijn-groen: rgb(245 245 240 / .22); background: #1b1a17; color: var(--creme); padding-block: var(--sectie-ruimte); }
.wb-twee { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px var(--kolom-gap); align-items: start; }
.wb-twee > div:first-child { display: grid; gap: 14px; }
.wb-twee h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; }
.wb-twee .wb-lead { max-width: 24ch; margin-bottom: 22px; }
.wb-twee p:not(.wb-lead) { color: var(--creme-zacht); max-width: 52ch; }
.wb-slot { padding-block: var(--sectie-ruimte); }
.wb-slot-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px var(--kolom-gap); align-items: end; }
.wb-slot h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .98; margin-bottom: 16px; }
.wb-slot p { color: var(--creme-zacht); max-width: 38ch; }
@media (max-width: 900px) {
  .wb-intro, .wb-rij, .wb-twee, .wb-slot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wb-kop { font-size: clamp(2.9rem, 15vw, 4.6rem); }
}

/* ——— Opbouw secties 01–09 (fase W2): grammatica van de studio binnen .thema-website ——— */
.wb-sectiekop .wb-label { margin: 0; }
.wb-sectie-intro { margin: 0; max-width: 52ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.4; color: var(--creme-zacht); }
.wb-sectiekop .wb-accent { font-size: 1.06em; }
.wb-kop .wb-accent { font-size: 1.04em; }

/* signalen: genummerde regels (de lijst blijft een gewone <ul>; check.js breidt hem later uit) */
.wb-signalen { list-style: none; margin: 0; padding: 0; counter-reset: signaal; border-top: 1px solid var(--lijn-groen); }
.wb-signalen > li { counter-increment: signaal; display: grid; grid-template-columns: clamp(2.6rem, 5vw, 4.5rem) minmax(0, 1fr); align-items: baseline; padding-block: clamp(16px, 2vw, 26px); border-bottom: 1px solid var(--lijn-groen); font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 550; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: break-word; }
.wb-signalen > li::before { content: counter(signaal, decimal-leading-zero); font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--goud); }
.wb-slotzin { margin-top: clamp(28px, 3.5vw, 48px); max-width: 30ch; }

/* rijen met nummer: hover schuift de kop 12 px in (alleen waar hover bestaat en beweging mag) */
.wb-rij dt { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wb-rij:hover dt { transform: translateX(12px); }
}

/* zo werken we: het aanspreekpunt onder de fasen, in de tekstkolom */
.wb-aanspreek { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 var(--kolom-gap); padding-top: clamp(28px, 3.4vw, 48px); }
.wb-aanspreek p { grid-column: 2; margin: 0; max-width: 54ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--creme); }

/* aanbod: donkere band met drie routes als grootboek */
.wb-aanbod .wb-sectiekop { margin-bottom: clamp(24px, 3vw, 40px); }
.wb-routes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lijn-groen); }
.wb-route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px var(--kolom-gap); align-items: start; padding-block: clamp(28px, 3.4vw, 48px); border-bottom: 1px solid var(--lijn-groen); }
.wb-route-kop { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.wb-route-kop h3 { margin: 0; min-width: 0; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; overflow-wrap: break-word; }
.wb-route-voor { margin: 0 0 22px; max-width: 40ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.35; }
.wb-punten { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; max-width: 54ch; }
.wb-punten li { position: relative; padding-left: 28px; line-height: 1.45; color: var(--creme-zacht); }
.wb-punten li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--goud); }
.wb-route-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-width: 0; }
.wb-route-cta-tekst { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: .78rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--creme-zacht); }
.wb-los { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px var(--kolom-gap); padding-top: clamp(24px, 3vw, 40px); }
.wb-los > * { grid-column: 2; margin: 0; }
.wb-los p { max-width: 46ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.4; }

/* goed om te weten: <details> zonder script */
.wb-faq { --nr-breed: clamp(2.4rem, 4.5vw, 3.6rem); border-top: 1px solid var(--lijn-groen); }
.wb-vraag { border-bottom: 1px solid var(--lijn-groen); }
.wb-vraag summary { position: relative; display: grid; grid-template-columns: var(--nr-breed) minmax(0, 1fr); align-items: baseline; min-height: 44px; padding: clamp(18px, 2.2vw, 28px) 48px clamp(18px, 2.2vw, 28px) 0; cursor: pointer; list-style: none; font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.wb-vraag summary::-webkit-details-marker { display: none; }
.wb-vraag summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--goud); }
.wb-vraag[open] summary::after { content: "\2212"; }
.wb-vraag p { margin: 0 0 clamp(22px, 2.6vw, 34px) var(--nr-breed); max-width: 56ch; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--creme-zacht); }

/* slot: grote contactregels met pijl */
.wb-slot-inner { padding-top: 24px; border-top: 1px solid var(--creme); }
.wb-slot .wb-label { margin-bottom: 14px; }
.wb-slot h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .94; letter-spacing: -.045em; }
.wb-slot .actions { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 0; }
.wb-slot .contact-groep-groot { margin-bottom: 0; }
.wb-slot .contact-groot { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: clamp(1.1rem, 4.2vw, 2rem); line-height: 1.05; }
@media (min-width: 901px) { .wb-slot .contact-groot { font-size: clamp(1.5rem, 2.4vw, 2.3rem); } }
.wb-slot .contact-groot::after { content: " \2197"; font-family: system-ui, 'Segoe UI Symbol', sans-serif; font-weight: 400; }
@media (max-width: 900px) {
  .wb-aanspreek, .wb-route, .wb-los { grid-template-columns: 1fr; }
  .wb-aanspreek p, .wb-los > * { grid-column: 1; }
}

/* Pagina Website en merk: het scherm waarop de website "ontstaat" (besluit V4: CSS/SVG, geen video).
   Alleen transform en opacity bewegen. Zonder script, of bij prefers-reduced-motion, staat de eindstand er direct. */

.wb-scherm-sectie { padding-bottom: clamp(40px, 5vw, 72px); }
.wb-scherm { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #1b1a17; }
.wb-scherm > svg { display: block; width: 100%; height: auto; }

/* de eindstand = de gewone stijl van elk onderdeel */
.wb-s-vlak { fill: #1b1a17; }
.wb-s-logo { fill: #f5f5f0; }
.wb-logo { transform: translate(56px, 44px) scale(.085); transform-origin: 0 0; transform-box: view-box; }
.wb-dek { fill: #1b1a17; opacity: 0; }
.wb-lijn { fill: rgb(245 245 240 / .22); }
.wb-nav { fill: rgb(245 245 240 / .5); }
.wb-tekst { fill: rgb(245 245 240 / .3); }
.wb-beeld { fill: #2a2823; stroke: rgb(245 245 240 / .18); stroke-width: 2; }
.wb-kop-1, .wb-kop-2 { font-family: 'Archivo Variable', 'Schibsted Grotesk', system-ui, sans-serif; font-size: 88px; font-weight: 650; letter-spacing: -.04em; fill: #f5f5f0; }
.wb-kop-2 { fill: #d06b45; }
.wb-chip rect { fill: #2a2823; stroke: rgb(245 245 240 / .35); stroke-width: 1.5; }
.wb-chip text { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: 24px; font-weight: 500; letter-spacing: .04em; fill: #f5f5f0; text-anchor: middle; }

/* de knop: pas zichtbaar als het script er is (merk.js haalt hidden weg); ligt over het scherm, dus geen verspringing */
.wb-opnieuw { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid rgb(245 245 240 / .5); border-radius: 999px; background: #1b1a17; color: #f5f5f0; font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.wb-opnieuw[hidden] { display: none; }
.wb-opnieuw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wb-opnieuw:hover { border-color: #d06b45; color: #d06b45; }
.wb-opnieuw:focus-visible { outline: 2px solid #d06b45; outline-offset: 3px; }

/* vertraging per onderdeel (seconden na de start van de reeks) */
.wb-d1 { --d: 3s; } .wb-d2 { --d: 3.3s; } .wb-d3 { --d: 3.4s; } .wb-d4 { --d: 3.5s; }
.wb-d5 { --d: 3.6s; } .wb-d6 { --d: 3.9s; }
.wb-d7 { --d: 4.3s; } .wb-d8 { --d: 4.45s; } .wb-d9 { --d: 4.6s; }
.wb-d10 { --d: 5s; } .wb-d11 { --d: 5.1s; } .wb-d12 { --d: 5.2s; } .wb-d13 { --d: 5.3s; }

/* voor het afspelen (script is geladen): leeg scherm */
.wb-scherm.is-begin .wb-i { opacity: 0; }

/* afspelen: elk onderdeel schuift 18 px omhoog en wordt zichtbaar; "backwards" houdt het onzichtbaar tot de vertraging om is */
@keyframes wb-op { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wb-dek { from { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(-340px); } }
@keyframes wb-logo {
  0%, 70% { transform: translate(287px, 189px) scale(.5); animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
  100% { transform: translate(56px, 44px) scale(.085); }
}
.wb-scherm.is-speelt .wb-i:not(.wb-logo) { animation: wb-op .7s cubic-bezier(.2, .7, .2, 1) var(--d) backwards; }
.wb-scherm.is-speelt .wb-logo { animation: wb-logo 3.6s linear backwards; }
.wb-scherm.is-speelt .wb-dek { animation: wb-dek 1.5s cubic-bezier(.65, 0, .25, 1) .5s backwards; }

@media (max-width: 640px) {
  .wb-scherm { border-radius: 12px; }
  .wb-opnieuw { right: 8px; bottom: 6px; min-height: 40px; padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-scherm .wb-i, .wb-scherm .wb-dek, .wb-scherm .wb-logo { animation: none !important; }
}
