/* Anmeldung, zweiter Faktor, Einladung: zwei Spalten, große Überschrift, Karte, schwarze Pillenknöpfe, Pastellfläche mit
   Beispielfenster, dunkler Fuß. Gilt nur unter body.anm. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/Geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/Geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.anm {
  color-scheme: light;
  --anm-grund: #FCFCFC;
  --anm-weiss: #FFFFFF;
  --anm-grau-1: #F3F3F3;
  --anm-linie: rgba(13, 13, 13, .10);
  --anm-linie-2: rgba(13, 13, 13, .18);
  --anm-tinte: #0D0D0D;
  --anm-tinte-2: #4A4A4A;
  --anm-tinte-3: #6B6B6B;
  --anm-akzent: #6A2CF0;
  --anm-frist: #B8321D;
  --anm-frist-hauch: #FDECE8;
  --anm-c-gut: #0A7650;
  --anm-c-rueck: #1F5FD6;
  --anm-c-ein: #6A2CF0;
  --anm-c-frist: #9E5800;
  --anm-c-finding: #B8321D;
  --anm-pastell: radial-gradient(70% 90% at 0% 0%, #F6C9E6 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #B9C6FF 0%, transparent 62%),
                 radial-gradient(60% 60% at 80% 10%, #E2D3FF 0%, transparent 65%), linear-gradient(135deg, #F4E6FF 0%, #DCD6FF 55%, #C9D8FF 100%);
  --anm-f: "Geist", "Segoe UI", system-ui, sans-serif;
  --anm-breite: 1200px;
  --anm-rand: clamp(16px, 4vw, 40px);
  --anm-schatten-fenster: 0 0 0 1px rgba(13, 13, 13, .06), 0 24px 60px -24px rgba(13, 13, 13, .28);
  margin: 0; background: var(--anm-grund); color: var(--anm-tinte);
  font: 400 1.0625rem/1.65 var(--anm-f); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(.anm) h1, :where(.anm) h2 { margin: 0; color: inherit; font-weight: 500; text-wrap: balance; }
:where(.anm) p { margin: 0; }
:where(.anm) a { color: var(--anm-tinte); }
.anm :focus-visible { outline: 2px solid var(--anm-tinte); outline-offset: 2px; box-shadow: none; border-radius: 6px; }
.anm-ic { width: 1em; height: 1em; flex: none; }

.anm-huelle { width: 100%; max-width: var(--anm-breite); margin-inline: auto; padding-inline: var(--anm-rand); }

/* Kopf */
.anm-kopf { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 252, .96); }
.anm-kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.anm-marke { display: inline-flex; align-items: center; gap: 10px; color: var(--anm-tinte); text-decoration: none; }
.anm-marke img { display: block; height: 38px; width: auto; }
.anm-marke__text { display: grid; line-height: 1; }
.anm-marke__klein { font: 600 .625rem/1 var(--anm-f); letter-spacing: .16em; text-transform: uppercase; color: var(--anm-akzent); }
.anm-marke__name { margin-top: 3px; font: 500 1.25rem/1 var(--anm-f); letter-spacing: -.03em; }
.anm-kopf__rechts { display: flex; gap: 10px; }

/* Knöpfe */
.anm-knopf { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  font: 500 .9375rem/1 var(--anm-f); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s; }
.anm-knopf .anm-ic { width: .95em; height: .95em; }
.anm-knopf--tinte, .anm a.anm-knopf--tinte { background: var(--anm-tinte); color: #fff; }
.anm-knopf--tinte:hover, .anm a.anm-knopf--tinte:hover { background: #2B2B2B; color: #fff; }
.anm-knopf--zweit, .anm a.anm-knopf--zweit { background: var(--anm-weiss); color: var(--anm-tinte); box-shadow: inset 0 0 0 1px var(--anm-linie-2); }
.anm-knopf--zweit:hover, .anm a.anm-knopf--zweit:hover { background: var(--anm-grau-1); }
.anm-knopf--klein, .anm a.anm-knopf--klein { min-height: 36px; padding: 0 16px; font-size: .875rem; background: var(--anm-tinte); color: #fff; }
.anm-knopf--klein:hover { background: #2B2B2B; }
.anm-knopf--klein.anm-knopf--zweit, .anm a.anm-knopf--klein.anm-knopf--zweit { background: var(--anm-weiss); color: var(--anm-tinte); box-shadow: inset 0 0 0 1px var(--anm-linie-2); }
.anm-knopf--klein.anm-knopf--zweit:hover, .anm a.anm-knopf--klein.anm-knopf--zweit:hover { background: var(--anm-grau-1); }

/* Seite */
.anm-seite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px);
  min-height: calc(100svh - 64px); padding-block: clamp(12px, 2vw, 24px) clamp(40px, 5vw, 64px); }
.anm-links { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-block: 32px; }
.anm-titel { font: 700 clamp(2.4rem, 4.2vw, 3.6rem)/1.02 var(--anm-f); letter-spacing: -.045em; max-width: 16ch; }
.anm-titel span { display: block; }
.anm-titel--klein { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; max-width: 18ch; }
.anm-unter { margin-top: 16px; max-width: 40ch; font-size: 1.0625rem; color: var(--anm-tinte-2); }

/* Karte */
.anm-karte { width: 100%; max-width: 420px; margin-top: 32px; padding: 26px; border-radius: 20px; background: #fff; text-align: left;
  box-shadow: inset 0 0 0 1px var(--anm-linie), 0 12px 32px -18px rgba(13, 13, 13, .2); }
.anm-karte > * + * { margin-top: 14px; }
.anm-formular { display: grid; gap: 14px; }
.anm-formular > .anm-oder { margin: 2px 0; }
.anm-karte .anm-knopf { width: 100%; min-height: 46px; }
.anm-karte__ort { font-size: .875rem; color: var(--anm-tinte-2); }
.anm-karte__info { font-size: .9rem; color: var(--anm-tinte-2); }
.anm-karte__fehler { padding: 10px 14px; border-radius: 12px; background: var(--anm-frist-hauch); color: var(--anm-frist); font-size: .9rem; line-height: 1.45; }
.anm-karte__klein { font-size: .78rem; line-height: 1.5; color: var(--anm-tinte-3); text-align: center; }
.anm-formular .anm-karte__klein { margin-top: -4px; }
.anm-karte__zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .875rem; }
.anm-karte__zeile a, .anm-karte__zeile button { color: var(--anm-tinte-2); background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: .25em; }
.anm-karte__zeile a:hover, .anm-karte__zeile button:hover { color: var(--anm-tinte); }
.anm-oder { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--anm-tinte-3); text-transform: uppercase; letter-spacing: .02em; }
.anm-oder::before, .anm-oder::after { content: ""; flex: 1; height: 1px; background: var(--anm-linie); }
.anm-wahl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.anm-wahl .anm-knopf { justify-content: space-between; padding: 0 18px; white-space: normal; text-align: left; line-height: 1.25; }

/* Felder */
.anm-feld { display: grid; gap: 6px; }
.anm-feld label { font-weight: 500; font-size: .875rem; line-height: 1.3; }
.anm .anm-feld input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--anm-linie-2); border-radius: 12px; background: #fff;
  color: var(--anm-tinte); font: 400 1rem/1.4 var(--anm-f); transition: border-color .15s, box-shadow .15s; }
.anm .anm-feld input::placeholder { color: #767676; }
.anm .anm-feld input:hover { border-color: rgba(13, 13, 13, .35); }
.anm .anm-feld input:focus { outline: none; border-color: var(--anm-tinte); box-shadow: 0 0 0 3px rgba(13, 13, 13, .08); }
.anm .anm-feld input[aria-invalid="true"] { border-color: var(--anm-frist); }
.anm-hilfe { font-size: .78rem; line-height: 1.45; color: var(--anm-tinte-3); }
.anm-pw { position: relative; }
.anm .anm-pw input { padding-right: 48px; }
.anm-pw__zeigen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 999px; background: none; color: var(--anm-tinte-3); cursor: pointer; }
.anm-pw__zeigen:hover { background: var(--anm-grau-1); color: var(--anm-tinte); }
.anm-pw__zeigen .anm-ic { width: 18px; height: 18px; }

.anm-neu { margin-top: 22px; font-size: .9375rem; line-height: 1.6; color: var(--anm-tinte-2); }
.anm-neu strong, .anm-neu a { font-weight: 500; color: var(--anm-tinte); }
.anm-neu a { text-underline-offset: .25em; }
.anm-schritt { margin-bottom: 14px; font: 600 .75rem/1 var(--anm-f); letter-spacing: .14em; text-transform: uppercase; color: var(--anm-akzent); }

/* Authenticator-App verbinden */
.anm-qr { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; }
.anm-qr img { display: block; width: 168px; height: 168px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--anm-linie); }
.anm-qr__text { display: grid; gap: 8px; font-size: .9rem; line-height: 1.5; color: var(--anm-tinte-2); }
.anm-schluessel { display: block; padding: 8px 10px; border-radius: 10px; background: var(--anm-grau-1); color: var(--anm-tinte);
  font: 500 .82rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; word-break: normal; overflow-wrap: anywhere; user-select: all; }

/* Rechte Seite: Pastellfläche mit Beispielfenster */
.anm-rechts { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 48px);
  border-radius: 20px; overflow: hidden; background: var(--anm-pastell); }
.anm-fenster { width: 100%; max-width: 520px; margin-inline: auto; background: #fff; border-radius: 14px; box-shadow: var(--anm-schatten-fenster); overflow: hidden; }
.anm-fenster__leiste { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--anm-linie); }
.anm-fenster__punkte { display: flex; gap: 6px; }
.anm-fenster__punkte i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.anm-fenster__punkte i:nth-child(2) { background: #FEBC2E; }
.anm-fenster__punkte i:nth-child(3) { background: #28C840; }
.anm-fenster__adresse { flex: 1; min-width: 0; padding: 0 12px; font-size: .8125rem; line-height: 26px; color: var(--anm-tinte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anm-fenster__adresse .anm-ic { display: inline-block; width: .85rem; height: .85rem; margin-right: 6px; vertical-align: -2px; color: var(--anm-tinte-3); }
.anm-akte__kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 0; }
.anm-akte__titel { display: block; font: 600 1.2rem/1.2 var(--anm-f); letter-spacing: -.02em; }
.anm-akte__unter { display: block; margin-top: 4px; font-size: .8125rem; color: var(--anm-tinte-3); font-variant-numeric: tabular-nums; }
.anm-marke-stand { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #EAF1FF; color: var(--anm-c-rueck);
  font: 500 .8rem/1 var(--anm-f); white-space: nowrap; }
.anm-marke-stand::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.anm-akte__reiter { display: flex; gap: 2px; margin-top: 14px; padding: 0 14px; border-bottom: 1px solid var(--anm-linie); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); }
.anm-akte__reiter button { position: relative; padding: 10px 10px 12px; border: 0; background: none; font: 500 .875rem/1 var(--anm-f);
  color: var(--anm-tinte-3); white-space: nowrap; cursor: pointer; border-radius: 6px 6px 0 0; }
.anm-akte__reiter button:hover { color: var(--anm-tinte); background: var(--anm-grau-1); }
.anm-akte__reiter button[aria-selected="true"] { color: var(--anm-tinte); }
.anm-akte__reiter button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--anm-tinte); }
.anm-eingang__kopf, .anm-eingang__zeile { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; padding: 0 22px; }
.anm-eingang__kopf { height: 34px; font: 500 .78rem/1 var(--anm-f); color: var(--anm-tinte-3); border-bottom: 1px solid var(--anm-linie); }
.anm-eingang__kopf span:last-child { justify-self: end; }
.anm-eingang__liste { list-style: none; margin: 0; padding: 0; }
.anm-eingang__zeile { width: 100%; height: 62px; border: 0; border-bottom: 1px solid var(--anm-linie); background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; transition: background .12s; }
.anm-eingang__zeile:hover { background: #FAF8FE; }
.anm-eingang__liste--ohne-nr .anm-eingang__zeile { grid-template-columns: minmax(0, 1fr) auto; }
.anm-eingang__nr { font: 500 .875rem/1 var(--anm-f); color: var(--anm-tinte-3); font-variant-numeric: tabular-nums; }
.anm-eingang__vorgang { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; align-items: center; min-width: 0; }
.anm-eingang__vorgang .anm-ic { grid-row: span 2; width: 28px; height: 28px; padding: 6px; border-radius: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.anm-eingang__titel { font-weight: 500; font-size: .9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anm-eingang__von { font-size: .78rem; line-height: 1.3; color: var(--anm-tinte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anm-stempel { display: inline-flex; align-items: center; gap: 6px; justify-self: end; padding: 3px 10px; border-radius: 999px; color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, #fff); font: 500 .8rem/1.3 var(--anm-f); white-space: nowrap; }
.anm-stempel::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.anm-f-gut { --c: var(--anm-c-gut); }
.anm-f-rueck { --c: var(--anm-c-rueck); }
.anm-f-ein { --c: var(--anm-c-ein); }
.anm-f-frist { --c: var(--anm-c-frist); }
.anm-f-finding { --c: var(--anm-c-finding); }
.anm-fenster__fuss { display: flex; justify-content: space-between; gap: 12px; padding: 10px 22px 12px; font-size: .78rem; color: var(--anm-tinte-3); background: #FAFAFA; }
.anm-zitat { width: 100%; max-width: 520px; margin: 26px auto 0; font: 500 1.25rem/1.4 var(--anm-f); letter-spacing: -.02em; color: var(--anm-tinte); }
.anm-zitat small { display: block; margin-top: 6px; font-size: .8125rem; font-weight: 400; letter-spacing: -.01em; color: var(--anm-tinte-2); }

/* Klickbares Beispiel: Tafeln, Detailansicht */
.anm-bsp-inhalt { position: relative; height: 344px; overflow-y: auto; }
.anm-bsp-tafel { display: grid; gap: 14px; padding: 16px 22px; }
.anm-bsp-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.anm-bsp-zahlen > div { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--anm-linie); border-radius: 10px; font-size: .75rem; color: var(--anm-tinte-3); line-height: 1.3; }
.anm-bsp-zahl { font: 700 1.35rem/1.1 var(--anm-f); letter-spacing: -.02em; color: var(--anm-tinte); font-variant-numeric: tabular-nums; }
.anm-bsp-trichter { display: grid; gap: 8px; }
.anm-bsp-stufe { display: grid; grid-template-columns: 120px minmax(0, 1fr) 30px; align-items: center; gap: 10px; font-size: .8rem; color: var(--anm-tinte-2); }
.anm-bsp-stufe progress { width: 100%; height: 8px; border: 0; border-radius: 4px; overflow: hidden; background: var(--anm-grau-1); accent-color: var(--anm-c-ein); appearance: none; }
.anm-bsp-stufe progress::-webkit-progress-bar { background: var(--anm-grau-1); border-radius: 4px; }
.anm-bsp-stufe progress::-webkit-progress-value { background: var(--c, var(--anm-c-ein)); border-radius: 4px; }
.anm-bsp-stufe progress::-moz-progress-bar { background: var(--c, var(--anm-c-ein)); border-radius: 4px; }
.anm-bsp-wert { text-align: right; font-weight: 600; color: var(--anm-tinte); font-variant-numeric: tabular-nums; }
.anm-bsp-naechster { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #F4EFFE;
  color: #4E129E; font-size: .82rem; font-weight: 500; line-height: 1.4; }
.anm-bsp-naechster .anm-ic { flex: none; width: 14px; height: 14px; }
.anm-bsp-satz { margin: 0; font-size: .85rem; color: var(--anm-tinte-2); line-height: 1.5; }
.anm-bsp-punkte { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .8rem; color: var(--anm-tinte-2); line-height: 1.45; }
.anm-bsp-detail { display: grid; gap: 10px; align-content: start; padding: 12px 22px 16px; outline: none; }
.anm-bsp-zurueck { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; border: 0; border-radius: 6px;
  background: none; color: var(--anm-tinte-2); font: 500 .8rem/1.2 var(--anm-f); cursor: pointer; }
.anm-bsp-zurueck .anm-ic { width: 13px; height: 13px; transform: rotate(180deg); }
.anm-bsp-zurueck:hover { background: var(--anm-grau-1); color: var(--anm-tinte); }
.anm-bsp-detail__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.anm-bsp-detail__kopf h3 { margin: 0; font: 600 1rem/1.3 var(--anm-f); letter-spacing: -.01em; }
.anm-bsp-dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: .8rem; line-height: 1.45; }
.anm-bsp-dl dt { color: var(--anm-tinte-3); }
.anm-bsp-dl dd { margin: 0; color: var(--anm-tinte); }
.anm-bsp-ki { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #E6DDF7; border-radius: 10px; background: #FBF9FE; font-size: .8rem; line-height: 1.45; }
.anm-bsp-ki p { margin: 0; color: var(--anm-tinte); }
.anm-bsp-ki__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #4E129E; }
.anm-bsp-ki__label .anm-ic { width: 13px; height: 13px; }
.anm-bsp-ki blockquote { margin: 0; padding-left: 10px; border-left: 2px solid #D9C7F7; color: var(--anm-tinte-2); font-style: italic; }
.anm-eingang__zeile:focus-visible, .anm-akte__reiter button:focus-visible, .anm-bsp-zurueck:focus-visible { outline: 2px solid var(--anm-tinte); outline-offset: -2px; }

/* Fuß */
.anm-fuss { padding: 56px 0 28px; background: var(--anm-tinte); color: rgba(255, 255, 255, .72); font-size: .875rem; line-height: 1.6; }
.anm-fuss__oben { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 36px; }
.anm-fuss .anm-marke { color: #fff; }
.anm-fuss .anm-marke img { height: 46px; }
.anm-fuss .anm-marke__klein { color: #C9B8FF; }
.anm-fuss .anm-marke__name { font-size: 1.5rem; }
.anm-fuss__marke p { margin-top: 18px; max-width: 42ch; }
.anm-fuss h2 { margin: 0 0 14px; font: 500 .875rem/1 var(--anm-f); color: #fff; }
.anm-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.anm-fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
.anm-fuss a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.anm-fuss a:hover { color: #fff; }
.anm-fuss :focus-visible { outline-color: #fff; }

@media (max-width: 900px) {
  .anm-seite { grid-template-columns: 1fr; min-height: 0; }
  .anm-rechts { display: none; }
  .anm-fuss__oben { grid-template-columns: 1fr 1fr; }
  .anm-fuss__marke { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .anm { font-size: 1rem; }
  .anm-links { padding-block: 20px 8px; }
  .anm-kopf__rechts { display: none; }
  .anm-karte { padding: 22px 18px; margin-top: 26px; }
  .anm-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .anm-fuss { padding-top: 40px; }
  .anm-fuss__oben { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .anm-knopf, .anm .anm-feld input { transition: none; }
}
