/* ZeitPro - Selbstanmeldung (/registrieren/). Eigene Datei, damit die
   Anmeldung stil.css nicht anfasst. Farben, Radius und Schatten kommen aus
   den Variablen von stil.css; die Werte hinter dem Komma greifen nur, falls
   eine Variable dort einmal anders heisst. */
[hidden] { display: none !important; }

.anm-buehne { background: radial-gradient(900px 360px at 50% -10%, var(--blau-hell, #eff6ff), transparent 70%); }
.anm-huelle { max-width: 580px; }
.anm-titel { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; margin-bottom: .25em; }
.anm-unter { text-align: center; margin-bottom: 28px; }
.anm-karte { padding: 32px; scroll-margin-top: 88px; }
.anm-karte h2 { font-size: 1.45rem; margin: 0 0 .4em; outline: none; }

/* Fortschritt */
.anm-fortschritt { height: 6px; border-radius: 999px; background: var(--rand, #e2e8f0); overflow: hidden; }
.anm-balken { display: block; height: 100%; width: 8%; border-radius: inherit; background: linear-gradient(90deg, var(--blau, #2563eb), var(--gruen, #10b981)); transition: width .5s ease; }
.anm-stufe { font-size: .88rem; font-weight: 600; color: var(--text-leise, #475569); margin: 10px 0 22px; }

/* Felder */
.anm-feld { display: block; margin: 18px 0 8px; }
.anm-feld > span:first-child { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.anm-feld input, .anm-adresse, .anm-mit-knopf {
  width: 100%; font: inherit; font-size: 1.08rem; color: var(--text, #0f172a);
  border: 1.5px solid var(--rand, #e2e8f0); border-radius: 12px; background: var(--grund, #fff);
}
.anm-feld input { display: block; padding: 13px 14px; }
.anm-feld input:focus { outline: none; border-color: var(--blau, #2563eb); box-shadow: 0 0 0 4px var(--blau-hell, #eff6ff); }
.anm-mit-knopf, .anm-adresse { display: flex; align-items: center; overflow: hidden; }
.anm-mit-knopf:focus-within, .anm-adresse:focus-within { border-color: var(--blau, #2563eb); box-shadow: 0 0 0 4px var(--blau-hell, #eff6ff); }
.anm-mit-knopf input, .anm-adresse input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; flex: 1; }
.anm-zeigen { border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--blau, #2563eb); padding: 0 14px; cursor: pointer; align-self: stretch; }
.anm-vorn, .anm-hinten { color: var(--text-leise, #475569); padding: 0 0 0 14px; white-space: nowrap; }
.anm-hinten { padding: 0 14px 0 0; }
.anm-adresse input { padding-left: 2px; padding-right: 2px; }
.anm-code { text-align: center; font-size: 1.9rem !important; letter-spacing: .45em; font-variant-numeric: tabular-nums; }
.anm-unsichtbar { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.anm-haken { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .95rem; cursor: pointer; }
.anm-haken input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blau, #2563eb); }

/* Knoepfe */
.anm-weiter { width: 100%; justify-content: center; margin-top: 18px; font-size: 1.05rem; padding: 14px 20px; cursor: pointer; }
.anm-weiter:disabled { opacity: .6; cursor: progress; transform: none; }
.anm-link { display: inline; border: 0; background: none; padding: 0; font: inherit; color: var(--blau, #2563eb); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.anm-link:disabled { color: var(--text-leise, #475569); cursor: default; text-decoration: none; }
.anm-schritt > .anm-link { display: block; margin: 16px auto 0; font-size: .92rem; }
.anm-klein { font-size: .9rem; margin-top: 14px; }

/* Hinweise */
.anm-fehler { color: var(--rot, #b91c1c); font-weight: 600; margin: 12px 0 0; min-height: 0; }
.anm-fehler:empty { margin: 0; }
.anm-fehler.ok { color: var(--gruen-dunkel, #047857); }
.anm-hinweis { font-size: .92rem; color: var(--text-leise, #475569); margin: 6px 0 0; }
.anm-hinweis.ok { color: var(--gruen-dunkel, #047857); font-weight: 600; }
.anm-hinweis.ok::before { content: "✓ "; }
.anm-hinweis.schlecht { color: var(--rot, #b91c1c); }
.anm-hinweis.laeuft::before, .anm-liste li.jetzt::before {
  content: ""; display: inline-block; width: .85em; height: .85em; margin-right: .5em; vertical-align: -.1em;
  border: 2px solid var(--rand, #e2e8f0); border-top-color: var(--blau, #2563eb); border-radius: 50%; animation: anm-dreh .8s linear infinite;
}
@keyframes anm-dreh { to { transform: rotate(360deg); } }

.anm-regeln { list-style: none; padding: 0; margin: 10px 0 0; font-size: .92rem; color: var(--text-leise, #475569); }
.anm-regeln li { position: relative; padding-left: 1.6em; margin: 4px 0; transition: color .2s; }
.anm-regeln li::before { content: "○"; position: absolute; left: 0; }
.anm-regeln li.ok { color: var(--gruen-dunkel, #047857); }
.anm-regeln li.ok::before { content: "✓"; font-weight: 800; }

/* Einrichtung */
.anm-liste { list-style: none; padding: 0; margin: 18px 0; }
.anm-liste li { display: flex; align-items: center; padding: 12px 14px; border: 1px solid var(--rand, #e2e8f0); border-radius: 12px; margin: 8px 0; color: var(--text-leise, #475569); }
.anm-liste li::before { content: ""; width: .85em; height: .85em; margin-right: .6em; border: 2px solid var(--rand, #e2e8f0); border-radius: 50%; flex-shrink: 0; }
.anm-liste li.jetzt { color: var(--text, #0f172a); font-weight: 600; border-color: var(--blau, #2563eb); }
.anm-liste li.jetzt::before { margin-right: .6em; vertical-align: 0; }
.anm-liste li.erledigt { color: var(--gruen-dunkel, #047857); }
.anm-liste li.erledigt::before { content: "✓"; border: 0; width: auto; height: auto; font-weight: 800; }

/* Fertig */
.anm-fertig { text-align: center; }
.anm-haken-gross { width: 72px; height: 72px; margin: 4px auto 14px; border-radius: 50%; background: var(--gruen, #10b981); position: relative; }
.anm-haken-gross::after { content: ""; position: absolute; left: 25px; top: 15px; width: 18px; height: 34px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }
.anm-adresse-gross { font-size: 1.3rem; font-weight: 700; word-break: break-all; margin: 6px 0 4px; }

/* Freigabe */
.anm-tabelle { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.anm-tabelle th, .anm-tabelle td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--rand, #e2e8f0); }
.anm-tabelle th { width: 36%; color: var(--text-leise, #475569); font-weight: 600; }
.anm-reihe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.anm-reihe .knopf { flex: 1; justify-content: center; cursor: pointer; }

@media (max-width: 600px) {
  .anm-karte { padding: 22px 18px; }
  .anm-vorn { display: none; }
  .anm-adresse input { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .anm-balken { transition: none; }
  .anm-hinweis.laeuft::before, .anm-liste li.jetzt::before { animation: none; border-top-color: var(--rand, #e2e8f0); }
}
