/* =========================================================================
   ANMELDUNG – schlichte Seiten vor dem Login
   index.php (Anmelden), passwort_vergessen.php, passwort_neu.php
   Ohne Karte: heller Hintergrund, schmale Spalte in der Mitte. Logo nur, wenn in der Firmierung hochgeladen.
   ========================================================================= */
body.anm-body { margin: 0; background: #f7f9fc; }
.anm { min-height: 100vh; box-sizing: border-box; padding: 24px 16px; display: flex; align-items: center; justify-content: center;
       font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #0d1220; }
.anm-spalte { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 14px; }
.anm-kopf { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.anm-firma { font-size: 13px; color: #5a6680; }
.anm-logo { display: block; max-width: 220px; max-height: 90px; width: auto; height: auto; object-fit: contain; margin: 0 0 14px; }
.anm h1 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; color: #0d1220; }
.anm-text { margin: 0; font-size: 14px; color: #5a6680; line-height: 1.45; }
.anm form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.anm label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #33415c; margin: 0; }
.anm input:not([type=hidden]):not([type=checkbox]):not([type=radio]) {
    height: 46px; box-sizing: border-box; width: 100%; margin: 0; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 12px;
    font: inherit; font-size: 16px; font-weight: 400; color: #0d1220; background: #fff; }
.anm input:not([type=hidden]):not([type=checkbox]):not([type=radio]):focus { outline: 3px solid rgba(29, 78, 216, .25); border-color: #1d4ed8; box-shadow: none; }
.anm button[type=submit], .anm .anm-knopf {
    height: 48px; width: 100%; margin: 4px 0 0; border: 0; border-radius: 8px; background: #1d4ed8; color: #fff;
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none;
    display: flex; align-items: center; justify-content: center; }
.anm button[type=submit]:hover, .anm .anm-knopf:hover { background: #1e40af; }
.anm-link { align-self: center; font-size: 13px; color: #5a6680; text-decoration: none; padding: 8px; }
.anm-link:hover { color: #0d1220; text-decoration: underline; }
.anm-slogan { align-self: center; margin: 4px 0 0; font-size: 11px; letter-spacing: .04em; color: #8a94a8; text-align: center; }
.anm-meldung { margin: 0; border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.anm-meldung--fehler { background: #fdecea; color: #a32020; }
.anm-meldung--hinweis { background: #fff6db; color: #6b4a00; }
.anm-meldung--ok { background: #e6f5ec; color: #1e6b34; }

/* Design „Graphit und weich“ wie die Verwaltung: weiße Karte mit runden Ecken und Schatten,
   Kopf der Karte in Graphit, runde Felder, Knopf als Pille */
body.anm-body { background: #f4f4f5; }
html body.anm-body .anm { color: #18181b; }
html body.anm-body .anm-spalte { max-width: 360px; background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; padding: 20px 22px 18px; gap: 14px;
              box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06); overflow: hidden; }
html body.anm-body .anm-kopf { margin: -20px -22px 6px; padding: 16px 22px 14px; background: #27272a; color: #fff; }
html body.anm-body .anm-kopf .anm-firma { color: #a1a1aa; }
html body.anm-body .anm-kopf h1 { color: #fff; font-size: 19px; font-weight: 700; }
html body.anm-body .anm-kopf .anm-text { color: #d4d4d8; }
html body.anm-body .anm-logo { background: #fff; border-radius: 10px; padding: 6px 8px; max-height: 70px; margin-bottom: 10px; }
html body.anm-body .anm h1 { letter-spacing: -.01em; }
html body.anm-body .anm label { font-weight: 500; color: #52525b; }
html body.anm-body .anm input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { height: 44px; border-radius: 10px; border-color: #d4d4d8; }
html body.anm-body .anm input:not([type=hidden]):not([type=checkbox]):not([type=radio]):focus { outline: 3px solid rgba(37, 99, 235, .2); border-color: #2563eb; }
html body.anm-body .anm button[type=submit], html body.anm-body .anm .anm-knopf { height: 44px; border-radius: 999px; background: #2563eb; font-weight: 600; font-size: 15px; }
html body.anm-body .anm button[type=submit]:hover, html body.anm-body .anm .anm-knopf:hover { background: #1d4ed8; }
html body.anm-body .anm-meldung { border-radius: 10px; }
html body.anm-body .anm-link { text-decoration: none; color: #1d4ed8; font-weight: 400; }
html body.anm-body .anm-link:hover { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
html body.anm-body .anm-slogan { color: #a1a1aa; }
html body.anm-body .anm-slogan b { color: #2563eb; font-weight: 700; }
