/* ------------------------------------------------------------ Anmeldung, Einladung, Passkey (web/js/anmeldung.js) */
.anmeldung { flex: 1; min-height: 100%; overflow-y: auto; background: var(--card); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--gap); text-align: center;
  padding: calc(40px + var(--safe-top)) 20px calc(40px + var(--safe-bottom)); }
.anmeldung .anm-logo { height: 52px; width: auto; filter: brightness(.85); margin-bottom: 32px; }
.anmeldung h2 { margin: 0; font-size: 24px; font-weight: 700; color: var(--text); }
.anmeldung .anm-text { margin: 0 0 8px; max-width: 320px; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--text); }
.anmeldung .blue-button { min-width: 187px; height: 51px; padding: 0 28px; margin-top: 8px; }
.anmeldung .info-msg { margin: 0; max-width: 300px; font-size: 13px; }
.anmeldung.start .info-msg { margin-top: 8px; }
.anm-spaeter { color: var(--ios-blue); font-size: 17px; min-height: 44px; padding: 0 16px; }
.anm-spaeter:active { opacity: .4; }

/* Formular Name + Benutzername */
.anmeldung.formular { justify-content: flex-start; padding-top: calc(72px + var(--safe-top)); }
.anm-feld { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.anm-feld > span { padding-left: 4px; font-size: 13px; color: var(--text2); }
/* 17 px: iOS zoomt bei Eingabefeldern unter 16 px */
.anm-feld input { height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--field); font-size: 17px;
  outline: none; user-select: text; -webkit-user-select: text; }
.anm-feld input::placeholder { color: var(--text2); }
.anm-fehler { min-height: 18px; max-width: 360px; font-size: 13px; color: var(--ios-red); }

/* Sheet „Neuen Passkey anlegen?“ */
.anm-sheet { padding-bottom: calc(28px + var(--safe-bottom)); }
.anm-sheet .blue-button { margin-top: 8px; }

/* Agreement vor dem Konto: ohne Sprachwahl (die wird erst mit Konto gespeichert) */
.agreement.ohne-sprache > .header:first-child, .agreement.ohne-sprache > .lang-row { display: none; }
.agreement.ohne-sprache > .header { padding-top: 0 !important; }
.anmeldung .anm-gesperrt { margin: 0 0 8px; max-width: 300px; line-height: 1.3; }
