/* tb-wachtlijst.css — de wachtlijst "Binnenkort" en de pagina's daarna (29-11-2026).
   Schets: workspaces/theoriebriljant/ontwerp/2026-11-28-platform/publiek-wachtlijst.html (28-11-2026).
   Licht, zoals de rest van de publieke site. Alleen kleuren uit tb-tokens.css; laadt na partials/head.
   Telefoon eerst; vanaf 1024 breed staan tekst en beeld naast elkaar.
   Huisstijl (01-12-2026, schets B "wit met oranje accenten", keuze Daan): het logo in de kop, en het oranje van het
   logo (--tb-accent) als accent met inkt erop. Schets:
   workspaces/theoriebriljant/ontwerp/2026-12-01-binnenkort-huisstijl/B-wit-oranje-accenten.html. */

.wl,
.wl *,
.wl *::before,
.wl *::after { box-sizing: border-box; }

.wl {
  margin: 0;
  border-top: 5px solid var(--tb-accent); /* de oranje streep bovenaan */
  background: var(--tb-canvas);
  color: var(--tb-ink);
  font-family: var(--tb-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* De nulstelling weegt even zwaar als een klasse (:where telt niet mee) en staat bovenaan, zodat de marges en de
   binnenruimte van de klassen hieronder winnen. Als .wl p woog hij zwaarder en vielen die weg (29-11-2026). */
.wl :where(h1, h2, p, ul, form) { margin: 0; padding: 0; }
.wl :focus-visible { outline: 2px solid var(--tb-accent); outline-offset: 2px; }

/* alleen voor een schermlezer */
.wl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── kader, kop en voet ───────────────────────────────────────── */
.wl-kader {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 5px); /* min de streep van .wl: een korte pagina blijft één scherm hoog */
  min-height: calc(100dvh - 5px);
  max-width: 1082px;
  margin: 0 auto;
  padding: 0 20px;
}
.wl-kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.wl-merk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.wl-merk img { display: block; width: 148px; height: auto; }
.wl-pil {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--tb-accent);
  color: var(--tb-ink);
  font-size: 12.5px;
  font-weight: 600;
}
.wl-main { flex: 1; }
.wl-voet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-top: 28px;
  border-top: 1px solid var(--tb-line);
  font-size: 12.5px;
  color: var(--tb-ink-3);
}
.wl-voet a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tb-ink-3);
  text-decoration: none;
}
.wl-voet a:hover { color: var(--tb-ink); text-decoration: underline; }

/* ── de kop van de pagina: titel, Ava en de inleiding ─────────── */
.wl-held {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 8px;
}
.wl-titelrij {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 8px;
}
.wl-titel {
  max-width: 236px; /* zoals de schets: je theorie en in reels elk op een eigen regel */
  padding-top: 9px;
  font-size: 33px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--tb-ink);
  text-wrap: balance;
}
/* Binnenkort: in inkt, met een oranje streep eronder die zo breed is als het woord (display: table). */
.wl-titel em {
  display: table;
  margin-left: -4px;
  padding: 0 4px;
  font-style: normal;
  color: var(--tb-ink);
  background: linear-gradient(transparent 56%, var(--tb-accent) 56%, var(--tb-accent) 84%, transparent 84%);
}
.wl-ava--klein {
  display: block;
  width: auto;
  height: 132px;
  margin-right: -4px;
}
.wl-intro {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 23px;
  color: var(--tb-ink-2);
}
.wl-alleen-breed { display: none; }

/* ── de drie punten ───────────────────────────────────────────── */
.wl-punten {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}
.wl-punt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}
.wl-punt svg {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--tb-r);
  background: var(--tb-accent);
  border: 1px solid var(--tb-accent);
  color: var(--tb-ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wl-punt b {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--tb-ink);
}
.wl-punt p {
  font-size: 13.5px;
  line-height: 19px;
  color: var(--tb-ink-2);
}

/* ── het formulier ────────────────────────────────────────────── */
.wl-form {
  position: relative;
  margin-top: 18px;
}
/* Op de telefoon staat het formulier in een kaart, en de zin over afmelden eronder. */
.wl-kaart {
  padding: 16px;
  border-radius: 12px;
  background: var(--tb-canvas);
  border: 1px solid var(--tb-line);
  border-top: 4px solid var(--tb-accent);
}
.wl-form__titel {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.wl-korting {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--tb-ink);
}
.wl-korting svg {
  display: none; /* het labeltje staat in de schets alleen op een breed scherm */
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tb-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wl-velden {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "email" "emailfout" "vink" "vinkfout" "knop";
  margin-top: 12px;
}
.wl-email {
  grid-area: email;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--tb-line-2);
  border-radius: var(--tb-r);
  background: var(--tb-canvas);
  color: var(--tb-ink);
  font: inherit;
  font-size: 16px; /* 16px voorkomt inzoomen op iOS */
}
.wl-email::placeholder { color: var(--tb-ink-3); opacity: 1; }
.wl-email:focus { outline: 2px solid var(--tb-accent); outline-offset: 1px; border-color: var(--tb-ink); }
.wl-email[aria-invalid="true"] { border-color: var(--tb-fout-ink); }
.wl-fout {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 500;
  color: var(--tb-fout-ink);
}
.wl-fout--email { grid-area: emailfout; }
.wl-fout--vink { grid-area: vinkfout; margin-top: 0; }
.wl-vink {
  grid-area: vink;
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 19px;
  color: var(--tb-ink-2);
  cursor: pointer;
}
/* Het echte vinkje blijft in de pagina (toetsenbord, schermlezer); het vakje ernaast is de tekening. */
.wl-vink input {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0;
  opacity: 0;
  cursor: pointer;
}
.wl-vink__vak {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--tb-r-sm);
  border: 1.5px solid var(--tb-ink-3);
  background: var(--tb-canvas);
}
.wl-vink input:checked + .wl-vink__vak { background: var(--tb-accent); border-color: var(--tb-accent); }
.wl-vink input:checked + .wl-vink__vak::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border: solid var(--tb-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wl-vink input:focus-visible + .wl-vink__vak { outline: 2px solid var(--tb-accent); outline-offset: 2px; }
.wl-vink input[aria-invalid="true"] + .wl-vink__vak { border-color: var(--tb-fout-ink); }

/* De hoofdknop: oranje met donkere tekst. Wit op dit oranje haalt maar 2,7:1. */
.wl-knop {
  grid-area: knop;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--tb-r);
  background: var(--tb-accent);
  color: var(--tb-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.wl-knop:hover { background: color-mix(in srgb, var(--tb-accent) 88%, var(--tb-ink)); }
.wl-knop--stil { background: var(--tb-ink); color: var(--tb-canvas); }
.wl-knop--stil:hover { background: var(--tb-ink-2); }

.wl-klein {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 17px;
  color: var(--tb-ink-3);
  text-align: center;
}
.wl-melding {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--tb-r);
  font-size: 14px;
  line-height: 20px;
}
.wl-melding--fout {
  background: color-mix(in srgb, var(--tb-fout) 7%, var(--tb-canvas));
  border: 1px solid color-mix(in srgb, var(--tb-fout) 35%, var(--tb-canvas));
  color: var(--tb-fout-ink);
}

/* Het veld voor bots: buiten beeld, niet voor het toetsenbord en niet voor een schermlezer. */
.wl-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Het beeld naast de tekst: alleen op een breed scherm. */
.wl-beeld { display: none; }

/* ── de pagina's na het formulier ─────────────────────────────── */
.wl-bericht {
  max-width: 560px;
  padding: 28px 0 8px;
}
.wl-bericht__ava {
  display: block;
  width: auto;
  height: 140px;
  margin: 0 0 8px -6px;
}
.wl-bericht h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.wl-bericht p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 25px;
  color: var(--tb-ink-2);
}
.wl-bericht strong {
  font-weight: 600;
  color: var(--tb-ink);
  overflow-wrap: anywhere;
}
.wl-acties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
}
.wl-acties .wl-knop { width: auto; margin-top: 0; }
.wl-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tb-accent-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── tablet: de telefoonopbouw, maar niet breder dan 640 ──────── */
@media (min-width: 640px) and (max-width: 1023px) {
  .wl-kader { max-width: 640px; }
}

/* ── breed scherm ─────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .wl-kader { padding: 0 40px; }
  .wl-kop { min-height: 76px; }
  .wl-merk img { width: 200px; }

  .wl-held {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas:
      "titel  beeld"
      "intro  beeld"
      "form   beeld"
      "punten punten";
    column-gap: 40px;
    padding-top: 40px;
  }
  .wl-titelrij { grid-area: titel; display: block; }
  .wl-ava--klein { display: none; }
  .wl-titel {
    max-width: none;
    padding-top: 0;
    font-size: clamp(46px, 4.6vw, 58px);
    line-height: 1.07;
    letter-spacing: -.035em;
  }
  .wl-intro {
    grid-area: intro;
    max-width: 520px;
    margin-top: 18px;
    font-size: 19px;
    line-height: 30px;
  }
  .wl-alleen-breed { display: inline; }
  .wl-alleen-smal { display: none; }

  .wl-form {
    grid-area: form;
    max-width: 560px;
    margin-top: 28px;
  }
  .wl-kaart { padding: 0; border: 0; border-radius: 0; background: none; }
  .wl-korting { font-size: 15.5px; line-height: 22px; }
  .wl-korting svg { display: block; width: 20px; height: 20px; }
  .wl-velden {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "email     knop"
      "emailfout emailfout"
      "vink      vink"
      "vinkfout  vinkfout";
    column-gap: 10px;
    margin-top: 14px;
  }
  .wl-email { height: 56px; padding: 0 16px; font-size: 16.5px; }
  .wl-knop { width: auto; min-height: 56px; margin-top: 0; font-size: 16.5px; }
  .wl-vink { font-size: 14.5px; line-height: 20px; }
  .wl-klein { margin-top: 4px; font-size: 13px; line-height: 18px; text-align: left; }

  .wl-beeld {
    grid-area: beeld;
    display: block;
    position: relative;
    width: 360px;
    height: 490px;
    justify-self: end;
  }
  .wl-gloed {
    position: absolute;
    left: 40px;
    top: 60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tb-accent) 28%, transparent), transparent);
  }
  .wl-reel {
    position: absolute;
    left: 131px;
    top: 0;
    width: 240px;
    height: auto;
  }
  .wl-ava--groot {
    position: absolute;
    left: 0;
    top: 262px;
    width: auto;
    height: 226px;
  }

  .wl-punten {
    grid-area: punten;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 24px;
    padding-top: 32px;
    border-top: 2px solid var(--tb-accent);
  }
  .wl-punt { align-items: flex-start; gap: 16px; min-height: 0; }
  .wl-punt svg { width: 44px; height: 44px; padding: 10px; }
  .wl-punt b { font-size: 17px; line-height: 24px; letter-spacing: -.01em; }
  .wl-punt p { margin-top: 2px; font-size: 15px; line-height: 22px; text-wrap: balance; }

  .wl-bericht { padding-top: 56px; }
  .wl-bericht h1 { font-size: 40px; line-height: 46px; }
}
