/* Die Warteliste — dieselbe Zeichnungssprache wie Startseite und Preisseite.
   ================================================================================================

   Erbt Palette, Schriften, Kopf- und Fusszeile von docs-shell.css. Zwei Formulare auf einer Seite:
   die Anmeldung (eine Adresse) oben, der Preview-Antrag (vier Felder) darunter als eigener
   Abschnitt. Keine Akzentfarbe fuer Fehler/Erfolg -- wie auf jeder anderen Seite hier ist Betonung
   Helligkeit und Gewicht, kein Rot/Gruen. Ein Formular, das gerade sendet, sagt das im Text, nicht
   per Spinner-Farbe.
*/

.wl-main { max-width: var(--sheet); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Aufmacher ---------- */
.wl-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--rule); }
.wl-kicker {
  margin: 0 0 14px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--g2);
}
.wl-hero h1 {
  margin: 0 0 18px; font-size: clamp(30px, 5vw, 50px); font-weight: 600;
  line-height: 1.06; letter-spacing: -.02em; max-width: 22ch; text-wrap: pretty;
}
.wl-lede { margin: 0 0 22px; max-width: 62ch; font-size: 17px; color: var(--g1); }
.wl-lede b { color: var(--paper); font-weight: 600; }

/* Zaehler — eine Tatsache, kein Schmuck. Mono, wie jede andere Zahl auf dieser Seite. */
.wl-count {
  margin: 0 0 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  color: var(--g2); min-height: 18px;
}
.wl-count b { color: var(--paper); font-weight: 500; }
.wl-count[hidden] { display: none; }
.wl-cta { margin: 8px 0 0; }

/* ---------- Formular-Blatt ---------- */
.wl-sheet { padding: clamp(36px, 5vw, 52px) 0; border-bottom: 1px solid var(--rule-soft); }
.wl-sheet:last-of-type { border-bottom: 0; }
.wl-sheet h2 {
  margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -.012em;
}
.wl-sub { margin: 0 0 26px; max-width: 64ch; color: var(--g1); }

.wl-form { max-width: 460px; }
.wl-field { display: block; margin: 0 0 16px; }
.wl-field > span {
  display: block; margin: 0 0 6px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--g2);
}
.wl-field .opt { text-transform: none; letter-spacing: 0; color: var(--g3); }
.wl-input, .wl-textarea {
  width: 100%; padding: 11px 13px; background: transparent; color: var(--paper);
  border: 1px solid var(--rule); border-radius: 0; font-family: 'Barlow', sans-serif; font-size: 15px;
}
.wl-textarea { resize: vertical; min-height: 88px; }
.wl-input::placeholder, .wl-textarea::placeholder { color: var(--g3); }
.wl-input:focus, .wl-textarea:focus { outline: none; border-color: var(--paper); }
.wl-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--g3); }

.wl-check {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px;
  font-size: 13.5px; color: var(--g1); line-height: 1.5;
}
.wl-check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--paper); }
.wl-check a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }

.wl-provisional {
  margin: -14px 0 22px; padding: 10px 12px; border: 1px dashed var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--g3);
}

.wl-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border: 1px solid var(--paper); padding: 8px 22px; width: 100%;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.wl-btn:hover { background: transparent; color: var(--paper); }
.wl-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Statuszeile je Formular. Betonung ueber Gewicht, nicht ueber Farbe -- wie im Rest der Seite. */
.wl-msg { margin-top: 12px; font-size: 13.5px; min-height: 18px; line-height: 1.5; color: var(--g1); }
.wl-msg.is-err { color: var(--paper); font-weight: 600; }
.wl-msg.is-ok { color: var(--paper); font-weight: 500; }
.wl-msg:empty { margin-top: 0; }

/* Ersetzt das Formular nach erfolgreicher Anmeldung -- verschwindet nicht, sondern wird zur
   Bestaetigung, damit ein Screenreader den Zustandswechsel an derselben Stelle vorliest. */
.wl-done { display: none; max-width: 460px; }
.wl-done.is-shown { display: block; }
.wl-done h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.wl-done p { margin: 0; color: var(--g1); }
.wl-form.is-hidden { display: none; }

@media (max-width: 560px) {
  .wl-hero h1 { max-width: none; }
}
