/* De voorpagina van Stemvast (bouw/voorpagina.html). bouw/maak-site.mjs zet dit bestand in dist/css/voorpagina.css.
   Eigen opmaak, los van de oefensite (motor/css/style.css): de voorpagina laadt alleen dit bestand en css/fonts.css.
   De kleuren zijn die van de huisstijl: aubergine, room, lila en goud. */
:root {
  --bg: #faf6f0; --vlak: #ffffff; --lila: #efe6ec; --lijn: #e3d6e0;
  --fg: #2a1630; --zacht: #5a4560; --aubergine: #4a2352; --nacht: #2a1630;
  --goud: #d9a441; --goud-licht: #f2c069; --goud-tekst: #8f5e12;
  --kop: 'Bricolage Grotesque', 'Bricolage Grotesque reserve', system-ui, sans-serif;
  --tekst: 'Figtree', 'Figtree reserve', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1a1020; --vlak: #23172a; --lila: #2e1f36; --lijn: #3b2c42; --fg: #f3eef4; --zacht: #d8c9da; --aubergine: #c9a3d1; --goud-tekst: #f2c069; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.55 var(--tekst); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--kop); font-weight: 700; margin: 0; }
h2 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--goud-tekst); outline-offset: 3px; }
.naar-inhoud { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 8px 14px; border-radius: 10px; background: var(--goud); color: #2a1630; font-weight: 700; text-decoration: none; }
.naar-inhoud:focus { top: 12px; }

/* ---------- de kop: altijd donker ---------- */
.kop { background: #2a1630; color: #faf6f0; }
.kop a:focus-visible, .kop button:focus-visible, .kop input:focus-visible { outline-color: #f2c069; }
.balk { display: flex; align-items: center; padding: 22px 0; }
.merk { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; font: 500 1.35rem/1 var(--kop); letter-spacing: .02em; }
.held { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 40px 0 92px; }
.held-tekst { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.boven { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f2c069; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.75rem); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.intro { max-width: 34em; font-size: 1.1rem; color: #e6dbe8; }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.knop { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.knop.goud { background: #d9a441; color: #2a1630; }
.knop.goud:hover { background: #f2c069; }
.knop.rand { border: 1.5px solid rgba(250, 246, 240, .55); color: #faf6f0; font-weight: 600; }
.knop.rand:hover { border-color: #faf6f0; }

.zweving { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.zweving svg { width: 100%; max-width: 400px; height: auto; display: block; }
/* de schuif is een extraatje: dun, klein en zonder uitleg */
.stem { position: relative; display: flex; align-items: center; }   /* de schuif staat midden onder het logo; "Geluid aan" hangt er rechts naast */
.stem[hidden] { display: none; }
.stem input { -webkit-appearance: none; appearance: none; width: 150px; height: 32px; margin: 0; background: transparent; cursor: pointer; }
.stem input::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: rgba(250, 246, 240, .3); }
.stem input::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(250, 246, 240, .3); }
.stem input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border: 0; border-radius: 50%; background: #d9a441; }
.stem input::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #d9a441; }
#zw-geluid { position: absolute; left: 100%; top: 0; margin-left: 12px; white-space: nowrap; min-height: 32px; padding: 0 4px; border: 0; background: transparent; color: #b9a6bd; font: 400 .8rem var(--tekst); cursor: pointer; }
#zw-geluid:hover, #zw-geluid[aria-pressed="true"] { color: #f2c069; }

/* ---------- de inhoud ---------- */
.inhoud { display: flex; flex-direction: column; gap: 72px; padding-bottom: 72px; }
.inhoud section:focus { outline: none; }
.koren { margin-top: -44px; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.koorlijst, .werken { list-style: none; margin: 0; padding: 0; }
.koorlijst { display: flex; flex-direction: column; gap: 12px; }
.koor { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 24px; border-radius: 16px; background: var(--lila); color: var(--fg); text-decoration: none; }
.koor:hover { box-shadow: inset 0 0 0 2px var(--aubergine); }
.koor-naam { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.koor-naam b { font: 700 1.35rem/1.2 var(--kop); }
.koor-naam span { font-size: .95rem; color: var(--zacht); }
.koor-ga { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #4a2352; color: #ffffff; font-weight: 700; font-size: .95rem; }

.drie { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.drie div { border-top: 2px solid var(--aubergine); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.drie h3 { font-size: 1.25rem; }
.drie p { color: var(--zacht); }

#werken { display: flex; flex-direction: column; gap: 18px; }
.werken { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.werken li { border-radius: 16px; border: 1px solid var(--lijn); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.werken small { font-size: .8rem; font-weight: 700; color: var(--zacht); }
.werken b { font: 700 1.25rem/1.2 var(--kop); }
.werken span { font-size: .9rem; color: var(--zacht); }
.werken li.nu { background: #4a2352; border-color: #4a2352; color: #ffffff; }
.werken li.nu small { color: #f2c069; }
.werken li.nu span { color: #e6dbe8; }

.voet { background: #2a1630; color: #d8c9da; font-size: .9rem; padding: 26px 0; }

@media (max-width: 560px) {
  .held { gap: 32px; padding: 20px 0 80px; }
  .koren { padding: 22px 18px; }
  .koor { padding: 18px; }
  .inhoud { gap: 56px; }
}
