/* Torlema – Formulare (Kontaktseite, Digitalcheck-Seite, Digitalcheck-Abschnitt der
   Startseite). Seit 2026-10-18 aus seiten.css herausgelöst, damit die Startseite dieselben
   Regeln lädt, ohne seiten.css zu brauchen. Wird nach basis.css eingebunden. */

.tl-formular { display: grid; gap: 20px; }
.tl-feld { display: grid; gap: 8px; }
.tl-feld label { font: 600 15px/1.3 var(--manrope); color: var(--text); }
.tl-feld .tl-optional { font-weight: 400; color: var(--label); }
/* Dauerhafter Hinweis über dem Feld statt Platzhaltertext im Feld: bleibt beim Tippen sichtbar */
.tl-feld .tl-hilfe { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ruhig); }
.tl-feld input, .tl-feld textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(127,169,255,.28); background: rgba(10,20,36,.6); color: var(--text);
  font: 400 16.5px/1.5 var(--manrope); transition: border-color .3s var(--weich), box-shadow .3s var(--weich);
}
.tl-feld input::placeholder, .tl-feld textarea::placeholder { color: var(--label); }
.tl-feld input:focus-visible, .tl-feld textarea:focus-visible { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(47,107,255,.2); }
.tl-feld [aria-invalid="true"] { border-color: var(--status-faellig); }
.tl-feld textarea { min-height: 150px; resize: vertical; }
.tl-fehler { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--status-faellig); }
.tl-fehler[hidden] { display: none; }
.tl-wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-wahl label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--r-voll); border: 1px solid rgba(127,169,255,.24); background: rgba(10,20,36,.5); font-size: 15.5px; color: var(--text-2); cursor: pointer; }
.tl-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-wahl label:has(input:checked) { color: var(--text); border-color: rgba(73,220,234,.7); background: rgba(73,220,234,.1); }
.tl-wahl label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(47,107,255,.2); }
.tl-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tl-formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.tl-formular-fuss .tl-klein { max-width: 46ch; }
.tl-fertig { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); border: 1px solid rgba(73,220,234,.45); background: rgba(73,220,234,.07); }
.tl-fertig[hidden] { display: none; }
.tl-fertig:focus { outline: none; }
.tl-fertig p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }

