/* Benutzerzentrale FF Düsseldorf – Design passend zur Navigationsseite */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap;
  src: local("Barlow Condensed Medium"), local("BarlowCondensed-Medium"), url("schrift/BarlowCondensed-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap;
  src: local("Barlow Condensed Bold"), local("BarlowCondensed-Bold"), url("schrift/BarlowCondensed-Bold.woff2") format("woff2"); }

:root {
  --bg: #1b1d20; --bg2: #232629; --karte: #2a2d31; --karte2: #31353a; --linie: #3c4147;
  --text: #e9eaec; --text2: #a9aeb5; --rot: #e53935; --rot2: #c62828; --rot-hell: #ff6f60;
  --gruen: #43a047; --gelb: #f9a825; --blau: #42a5f5;
  --schmal: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", "DejaVu Sans Condensed", sans-serif-condensed, sans-serif;
  --normal: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); font: 15px/1.5 var(--normal);
  background: radial-gradient(1200px 600px at 10% -10%, #2c2f34 0%, transparent 60%), linear-gradient(180deg, #202326 0%, var(--bg) 100%); background-attachment: fixed; }
a { color: var(--rot-hell); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .marke b, th, label, .knopf, .menue a, .kopf-knopf, .kachel b, .reiter a {
  font-family: var(--schmal); font-stretch: condensed; letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: 30px; font-weight: 700; margin: 6px 0 18px; }
h1::after { content: ""; display: block; width: 46px; height: 3px; background: var(--rot); margin-top: 8px; border-radius: 2px; }
h2 { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: #fff; }
h3 { font-size: 16px; margin: 16px 0 8px; color: var(--text2); }
small, .klein { color: var(--text2); font-size: 13px; }

/* Kopfbereich */
.kopf { background: rgba(20,22,24,.92); border-bottom: 1px solid #000; box-shadow: 0 2px 12px rgba(0,0,0,.35); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 12px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; }
.marke:hover { text-decoration: none; }
.marke b { display: block; font-size: 22px; line-height: 1; }
.marke small { display: block; font-family: var(--schmal); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--text2); margin-top: 3px; }
.kopf-rechts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.kopf-knopf { display: inline-flex; align-items: center; gap: 6px; color: var(--text); padding: 7px 11px; border: 1px solid var(--linie); border-radius: 8px; font-size: 14px; background: var(--bg2); }
.kopf-knopf:hover { border-color: var(--rot); color: #fff; text-decoration: none; }
.nav-tuer { border-color: var(--rot2); }
.menue { border-top: 1px solid #2c3035; background: rgba(28,30,33,.95); position: relative; z-index: 50; }
.menue-innen { max-width: 1240px; margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; gap: 2px; white-space: nowrap; }
.menue a { color: var(--text2); padding: 10px 12px; font-size: 15px; border-bottom: 3px solid transparent; }
.menue a:hover { color: #fff; text-decoration: none; }
.menue a.an { color: #fff; border-bottom-color: var(--rot); }
.zahl { font-style: normal; background: var(--rot); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-left: 3px; }

.inhalt { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 18px 40px; flex: 1; }
body.schmal .inhalt { max-width: 460px; padding-top: 6vh; }
.fuss { text-align: center; color: #6f757c; font-size: 12px; padding: 18px; }

/* Karten & Raster */
.karte { background: linear-gradient(180deg, var(--karte2), var(--karte)); border: 1px solid var(--linie); border-radius: var(--r); padding: 20px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.karte.rot-oben { border-top: 3px solid var(--rot); }
.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.zwei { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.drei { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .zwei, .drei { grid-template-columns: 1fr; } .kopf-knopf span { display: none; } .marke b { font-size: 19px; } }
.kachel { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: 16px; display: block; color: var(--text); position: relative; overflow: hidden; }
.kachel:hover { border-color: var(--rot); text-decoration: none; }
.kachel b { font-size: 19px; display: block; color: #fff; }
.kachel .gross { font-family: var(--schmal); font-size: 38px; font-weight: 700; color: #fff; line-height: 1.1; }
.kachel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--rot); }

/* Formulare */
label { display: block; font-size: 13.5px; color: var(--text2); margin: 12px 0 5px; font-weight: 500; }
input[type=text], input[type=date], input[type=password], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--linie); background: #1c1f22; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 3px rgba(229,57,53,.2); }
textarea { min-height: 90px; resize: vertical; }
select.klein-select, td select { padding: 6px 8px; font-size: 14px; }
#rechteform td select { min-width: 140px; }
.check { display: flex; gap: 8px; align-items: flex-start; text-transform: none; font-family: var(--normal); letter-spacing: 0; color: var(--text); font-size: 14.5px; }
.check input { margin-top: 3px; accent-color: var(--rot); width: 17px; height: 17px; }
.knopf, button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--rot2); cursor: pointer;
  background: linear-gradient(180deg, var(--rot), var(--rot2)); color: #fff; font-size: 16px; font-weight: 700; font-family: var(--schmal); text-transform: uppercase; letter-spacing: .05em; }
.knopf:hover, button:hover { filter: brightness(1.1); text-decoration: none; }
.knopf.zweit, button.zweit { background: var(--bg2); border-color: var(--linie); color: var(--text); }
.knopf.gefahr, button.gefahr { background: #3a1f1f; border-color: #7f2a2a; color: #ffb4ab; }
.knopf.klein, button.klein { padding: 5px 10px; font-size: 13.5px; }
.knopf.breit, button.breit { width: 100%; }
.knopfreihe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.pw-feld { position: relative; }
.pw-feld button { position: absolute; right: 5px; top: 5px; padding: 5px 9px; font-size: 12px; background: var(--bg2); border-color: var(--linie); }

/* Tabellen */
.tabelle-wrap { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; background: var(--karte); }
th, td { padding: 9px 11px; text-align: left; border-bottom: 1px solid #353a40; vertical-align: middle; }
th { background: #202326; color: var(--text2); font-size: 13.5px; font-weight: 700; position: sticky; top: 0; white-space: nowrap; }
tr:hover td { background: rgba(255,255,255,.025); }
td.zahlen { text-align: right; font-variant-numeric: tabular-nums; }
.geaendert { outline: 2px solid var(--gelb); outline-offset: -2px; }
.leer { color: var(--text2); text-align: center; padding: 26px; }

/* Hinweise & Marken */
.hinweis { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; background: #22262a; }
.hinweis.ok { border-color: #2e7d32; background: #1b2b1d; }
.hinweis.fehler { border-color: #c62828; background: #321b1b; }
.hinweis.info { border-color: #1565c0; background: #19232f; }
.hinweis.warnung { border-color: #a07800; background: #2d2715; }
.marke-status { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.marke-status.aktiv { background: #1e3a21; color: #8bd38f; }
.marke-status.gesperrt { background: #3d1f1f; color: #ff9a8f; }
.marke-status.wartet { background: #3a3117; color: #ffd36b; }
.etikett { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #1c1f22; border: 1px solid var(--linie); font-size: 12.5px; margin: 2px 3px 2px 0; }
code, .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: #15171a; border: 1px solid #33383e; padding: 1px 6px; border-radius: 5px; color: #ffd0c9; word-break: break-all; }
pre { background: #15171a; border: 1px solid #33383e; padding: 14px; border-radius: 8px; overflow-x: auto; font-size: 13px; line-height: 1.45; color: #e0e0e0; }
.filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filter > div { min-width: 160px; flex: 1; }
.filter label { margin-top: 0; }
.seiten { display: flex; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.seiten a, .seiten b, .seiten span { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--linie); }
.seiten b { background: var(--rot); border-color: var(--rot); }
.qr { background: #fff; padding: 10px; border-radius: 8px; display: inline-block; }
.schritte { counter-reset: s; list-style: none; padding: 0; }
.schritte > li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.schritte > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--rot); color: #fff; font: 700 17px var(--schmal); display: flex; align-items: center; justify-content: center; }
.anmelde-logo { text-align: center; margin-bottom: 8px; }
.anmelde-logo .flamme { width: 64px; height: 64px; filter: drop-shadow(0 4px 14px rgba(229,57,53,.45)); }
.unter-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; flex-wrap: wrap; gap: 8px; }
details summary { cursor: pointer; color: var(--rot-hell); }
.nur-gross { }
@media (max-width: 760px) { .nur-gross { display: none; } }

/* =====================================================================
   Anmeldeseiten – gleiche Optik wie die Anmeldung des Lehrgangsportals
   ===================================================================== */
body.anmeldung { display: block; background: #f3f4f6; color: #1b1f23; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; }
body.anmeldung h1, body.anmeldung h2, body.anmeldung h3, body.anmeldung label, body.anmeldung button, body.anmeldung .knopf, body.anmeldung th {
  font-family: inherit; text-transform: none; letter-spacing: normal; font-stretch: normal; }
body.anmeldung a { color: #c4231b; font-weight: 600; }
.lg-raster { min-height: 100vh; }
@media (min-width: 1024px) { .lg-raster { display: grid; grid-template-columns: 1fr 1fr; } }
.lg-info { position: relative; overflow: hidden; border-top: 3px solid #c4231b; background: #f8f9fa; padding: 20px 20px 24px; }
@media (min-width: 1024px) { .lg-info { display: flex; flex-direction: column; min-height: 100vh; border-top: 0; border-left: 3px solid #c4231b; border-right: 1px solid #e1e4e8; padding: 40px; } }
.lg-marke { display: flex; align-items: center; gap: 12px; }
.lg-logo { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: inline-flex; }
.lg-logo-svg { border-radius: 18%; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lg-marke-titel { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #1b1f23; line-height: 1.25; }
.lg-marke-unter { font-size: 12px; color: #6e7781; line-height: 1.25; }
.lg-willkommen { position: relative; z-index: 1; margin-top: 20px; }
@media (min-width: 1024px) { .lg-willkommen { margin: auto 0; max-width: 440px; } }
body.anmeldung .lg-willkommen h1 { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0; color: #1b1f23; text-wrap: balance; }
body.anmeldung .lg-willkommen h1::after { display: none; }
.lg-willkommen p { margin: 8px 0 0; font-size: 14px; line-height: 1.625; color: #4a525b; }
.lg-willkommen ul { display: none; list-style: none; padding: 0; margin: 24px 0 0; }
.lg-willkommen li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #1b1f23; margin-bottom: 12px; }
.lg-willkommen li span { display: flex; width: 32px; height: 32px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #e1e4e8; background: #fff; color: #c4231b; }
.lg-willkommen li svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { body.anmeldung .lg-willkommen h1 { font-size: 32px; } .lg-willkommen p { margin-top: 12px; font-size: 15px; } .lg-willkommen ul { display: block; } }
.lg-info-fuss { position: relative; z-index: 1; display: none; margin: auto 0 0; font-size: 12px; color: #6e7781; }
.lg-wasserzeichen { pointer-events: none; position: absolute; bottom: -40px; right: 24px; width: 300px; height: 300px; color: rgba(27,31,35,.06); display: none; }
@media (min-width: 1024px) { .lg-info-fuss, .lg-wasserzeichen { display: block; } }
.lg-haupt { position: relative; display: flex; flex-direction: column; background: #fff; padding: 16px 20px 24px; }
@media (min-width: 1024px) { .lg-haupt { min-height: 100vh; padding: 24px 40px; } }
.lg-oben { display: flex; justify-content: flex-end; }
body.anmeldung .lg-nav { display: inline-flex; height: 32px; align-items: center; gap: 6px; border-radius: 8px; border: 1px solid #e1e4e8; background: #fff; padding: 0 10px; font-size: 12.5px; font-weight: 600; color: #4a525b; text-decoration: none; }
body.anmeldung .lg-nav:hover { border-color: #cbd0d6; color: #1b1f23; }
.lg-nav svg { width: 16px; height: 16px; color: #c4231b; }
.lg-form { margin: 0 auto; width: 100%; max-width: 330px; flex: 1; padding-top: 16px; }
@media (min-width: 1024px) { .lg-form { display: flex; flex-direction: column; justify-content: center; padding-top: 0; } }
.lg-kicker { margin: 0; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: #6e7781; }
body.anmeldung .lg-titel { margin: 4px 0 24px; font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; font-stretch: condensed; color: #1b1f23; }
.lg-formular > div, body.anmeldung form > div { margin-bottom: 16px; }
body.anmeldung label { display: block; font-size: 13px; font-weight: 600; color: #1b1f23; margin: 0 0 6px; }
body.anmeldung form > label { margin-top: 14px; }
.lg-label-zeile { display: flex; justify-content: space-between; align-items: baseline; }
.lg-label-zeile a { font-size: 12.5px; }
body.anmeldung input[type=text], body.anmeldung input[type=password], body.anmeldung input[type=email], body.anmeldung input[type=tel], body.anmeldung select, body.anmeldung textarea {
  height: 44px; border-radius: 10px; border: 1px solid #cbd0d6; background: #fff; padding: 0 14px; font-size: 15px; color: #1b1f23; }
body.anmeldung input::placeholder { color: #94a3b8; }
body.anmeldung input:focus, body.anmeldung select:focus { border-color: #c4231b; box-shadow: 0 0 0 3px rgba(196,35,27,.15); }
.lg-hilfe { margin: 6px 0 0; font-size: 12.5px; line-height: 1.375; color: #4a525b; }
body.anmeldung .pw-feld input { padding-right: 44px; }
body.anmeldung .pw-feld button.auge { position: absolute; top: 0; bottom: 0; right: 0; width: 44px; padding: 0; border: 0; background: none; color: #94a3b8; display: flex; align-items: center; justify-content: center; filter: none; }
body.anmeldung .pw-feld button.auge:hover, body.anmeldung .pw-feld button.auge.offen { color: #334155; }
body.anmeldung .pw-feld button.auge svg { width: 16px; height: 16px; }
body.anmeldung button:not(.auge), body.anmeldung .knopf { width: 100%; height: 46px; border-radius: 10px; border: 1px solid #c4231b; background: #c4231b; color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 -2px 0 rgba(0,0,0,.12); padding: 0 16px; margin-top: 4px; }
body.anmeldung button:not(.auge):hover, body.anmeldung .knopf:hover { background: #a91d16; border-color: #a91d16; filter: none; text-decoration: none; }
body.anmeldung .knopf.zweit, body.anmeldung button.zweit { background: #fff; color: #1b1f23; border-color: #cbd0d6; box-shadow: none; }
body.anmeldung .knopf.zweit:hover, body.anmeldung button.zweit:hover { background: #f6f7f9; }
body.anmeldung .knopfreihe { margin-top: 4px; }
.lg-unten, body.anmeldung .unter-links { padding-top: 12px; text-align: center; font-size: 13px; line-height: 1.625; color: #4a525b; margin: 0; }
body.anmeldung .unter-links { display: flex; justify-content: center; gap: 16px; }
body.anmeldung .karte { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; }
body.anmeldung .karte p { color: #4a525b; font-size: 14.5px; }
body.anmeldung .check { color: #1b1f23; font-weight: 400; font-size: 13.5px; }
body.anmeldung .check input { accent-color: #c4231b; }
body.anmeldung .klein, body.anmeldung small { color: #6e7781; }
body.anmeldung code { background: #f3f4f6; border-color: #e1e4e8; color: #a91d16; }
body.anmeldung .hinweis { color: #1b1f23; font-size: 14px; border-radius: 10px; }
body.anmeldung .hinweis.ok { background: #effaf1; border-color: #a7d9b0; }
body.anmeldung .hinweis.fehler { background: #fdf0ef; border-color: #f0b7b3; }
body.anmeldung .hinweis.info { background: #eff5fd; border-color: #b6cff2; }
body.anmeldung .hinweis.warnung { background: #fdf8eb; border-color: #ecd593; }
body.anmeldung .zwei { gap: 12px; }
.lg-fusszeile { margin: 32px 0 0; text-align: center; font-size: 12.5px; color: #6e7781; }
body.anmeldung label.check { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; }
@media (max-width: 1023px) { .lg-raster { display: flex; flex-direction: column; } .lg-haupt { flex: 1; } }

/* Benutzerbericht */
.bericht-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.bericht-zahlen .karte { padding: 12px 16px; margin: 0; }
.bericht-zahlen b { display: block; font-family: var(--schmal); font-size: 30px; line-height: 1.1; color: #fff; }
.bericht-zahlen span { color: var(--text2); font-size: 13px; }
table.bericht td { vertical-align: top; }
table.bericht th { white-space: nowrap; }
table.bericht .nie { color: #ffb74d; }
table.bericht .ohne { color: var(--linie); font-weight: 700; }
table.bericht .app-rolle { color: var(--text); font-weight: 600; }
.letzte-anm b { color: var(--text); font-weight: 600; }
table.bericht .datum { white-space: nowrap; }

/* Sicherung / Cronjob */
.cron-karte { border-top: 3px solid #ffb74d; }
.cron-karte.cron-an { border-top-color: #43a047; }
.cron-status { padding: 10px 14px; border-radius: 8px; margin: 0 0 12px; }
.cron-status.ok { background: rgba(67,160,71,.15); color: #a5d6a7; }
.cron-status.warn { background: rgba(255,183,77,.13); color: #ffcc80; }
.cron-status.fehler { background: rgba(229,57,53,.16); color: #ffab91; }
.kopier-zeile { display: flex; gap: 8px; }
.kopier-zeile input { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.kopier-zeile button { white-space: nowrap; }
.cron-anleitung { margin-top: 6px; }
.cron-anleitung h3 { margin-top: 6px; }

/* App-Seite: Rollen-Tabelle breiter als die Grunddaten */
.zwei.app-raster > * { min-width: 0; }
@media (min-width: 900px) { .zwei.app-raster { grid-template-columns: minmax(300px, 1fr) 2fr; } }

/* E-Mail-Seite */
table.kv td { padding: 6px 10px 6px 0; border: 0; vertical-align: top; }
table.kv td:first-child { color: var(--text2); white-space: nowrap; width: 1%; }
.etikett.ok { background: rgba(67,160,71,.18); color: #a5d6a7; }
.etikett.fehler { background: rgba(229,57,53,.18); color: #ffab91; }
pre.mail-dialog { background: #111317; border: 1px solid var(--linie); border-radius: 8px; padding: 10px 12px; font-size: 12px; overflow-x: auto; white-space: pre-wrap; color: var(--text2); }

/* Karte der Wohnorte */
.karte-rahmen { padding: 14px; }
.karte-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 10px; }
.legende-eintrag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; color: var(--text); }
.legende-eintrag input { width: auto; margin: 0; }
.legende-punkt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); flex: none; }
.klein-knopf { padding: 5px 10px; font-size: 12px; }
.karte-flaeche { position: relative; height: 68vh; min-height: 380px; overflow: hidden; border-radius: 10px; background: #dfe3e6; touch-action: none; user-select: none; cursor: grab; }
.karte-flaeche:active { cursor: grabbing; }
.km-kacheln img { position: absolute; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.km-marker { position: absolute; inset: 0; pointer-events: none; }
.km-pin { position: absolute; width: 26px; height: 36px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); box-shadow: none; }
.km-pin:hover { transform: scale(1.15); transform-origin: 50% 100%; z-index: 2; }
.km-pin[hidden] { display: none; }
.km-steuer { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.km-steuer button { width: 38px; height: 38px; padding: 0; font-size: 20px; line-height: 1; border-radius: 8px; background: #fff; color: #222; border: 1px solid #bbb; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.km-info { position: absolute; z-index: 4; background: #fff; color: #222; border-radius: 10px; padding: 10px 30px 10px 12px; font-size: 14px; line-height: 1.45; min-width: 190px; max-width: 260px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.km-info a { color: #b71c1c; font-weight: 700; }
.km-info .klein { color: #666; }
.km-info .km-einheit { display: inline-flex; align-items: center; gap: 6px; color: #444; }
.km-zu { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #666; font-size: 20px; line-height: 1; box-shadow: none; }
.karte-quelle { margin: 8px 0 0; }
.karte-quelle a { color: var(--text2); }
.karte-liste { margin: 6px 0 12px; padding-left: 18px; }
.karte-liste li { margin: 3px 0; }

/* Bericht: Tabelle im Fenster scrollen – Bildlaufleiste immer unten sichtbar, Kopf und Namen bleiben stehen */
.bericht-wrap { max-height: calc(100vh - 130px); overflow: auto; overscroll-behavior: contain; }
.bericht-wrap table.bericht { border-collapse: separate; border-spacing: 0; }
.bericht-wrap table.bericht th { position: sticky; top: 0; z-index: 2; }
.bericht-wrap table.bericht tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--karte); box-shadow: 1px 0 0 #353a40; min-width: 170px; }
.bericht-wrap table.bericht tr > th:first-child { z-index: 3; background: #202326; }

/* Mitgliederdaten: Zwischenüberschrift je Einheit */
.bericht-wrap table.bericht tr.gruppe > td { position: static; min-width: 0; box-shadow: none; background: #2a1f20; border-top: 2px solid #b71c1c; padding: 9px 12px; }
.bericht-wrap table.bericht tr.gruppe .gruppe-text { position: sticky; left: 12px; white-space: nowrap; }
table.mitglieder td { vertical-align: top; }
/* Einheiten: Adresse der Wache */
.wache-adresse { display: flex; gap: 6px; flex-wrap: nowrap; }
table.mitglieder td.nowrap { white-space: nowrap; }

/* Mitlaufende Bildlaufleiste unten im Fenster für breite Tabellen */
.scroll-leiste { display: none; position: fixed; bottom: 0; z-index: 40; height: 18px; overflow-x: auto; overflow-y: hidden; background: rgba(20, 22, 24, .92); border-top: 1px solid #353a40; }
.scroll-leiste > div { height: 1px; }
/* gut sichtbare Bildlaufleisten (auch auf Geräten, die sie sonst ausblenden) */
.scroll-leiste, .tabelle-wrap { scrollbar-color: #7a8088 #1b1d20; }
.scroll-leiste::-webkit-scrollbar, .tabelle-wrap::-webkit-scrollbar { height: 14px; width: 14px; }
.scroll-leiste::-webkit-scrollbar-track, .tabelle-wrap::-webkit-scrollbar-track { background: #1b1d20; }
.scroll-leiste::-webkit-scrollbar-thumb, .tabelle-wrap::-webkit-scrollbar-thumb { background: #6b7179; border-radius: 7px; border: 3px solid #1b1d20; }
.scroll-leiste::-webkit-scrollbar-thumb:hover, .tabelle-wrap::-webkit-scrollbar-thumb:hover { background: #e53935; }
.tabelle-wrap::-webkit-scrollbar-corner { background: #1b1d20; }
/* Seite nie breiter als das Fenster: Filterknöpfe und Kopfzeile dürfen schrumpfen/umbrechen */
.filter > div[style*="flex:0"] { flex: 0 0 auto !important; min-width: 0; }
.marke { min-width: 0; }
.marke > span, .marke > div { min-width: 0; }
@media (max-width: 520px) {
  .kopf-innen { padding: 8px 10px; gap: 8px; }
  .marke small { display: none; }
  .marke b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kopf-knopf { padding: 7px 9px; }
  .kopf-rechts { gap: 4px; flex-shrink: 0; }
  h1 { font-size: 26px; overflow-wrap: anywhere; hyphens: auto; }
}

/* Dashboard */
a.dash-link { color: inherit; text-decoration: none; }
a.dash-link:hover { border-color: var(--rot); }
.dash-titel { margin: 6px 0 12px; }
.dash-einheiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; align-items: start; }
.dash-einheit { margin: 0; padding: 14px 16px; border-top: 4px solid var(--linie); }
.dash-einheit summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.dash-einheit summary::-webkit-details-marker { display: none; }
.dash-einheit summary b { flex: 1; font-size: 17px; color: #fff; }
.dash-einheit summary::after { content: '▾'; color: var(--text2); transition: transform .15s; }
.dash-einheit:not([open]) summary::after { transform: rotate(-90deg); }
.dash-anzahl { background: var(--bg2); border: 1px solid var(--linie); border-radius: 20px; padding: 1px 10px; font-size: 13px; color: var(--text); }
.dash-wache { margin: 6px 0 0; }
.dash-liste { margin: 10px 0 0; padding-left: 22px; columns: 1; }
.dash-liste li { margin: 3px 0; break-inside: avoid; }
.dash-pin { background: none; border: 0; padding: 0 4px; font-size: 13px; cursor: pointer; line-height: 1; vertical-align: baseline; }
.dash-pin:hover { filter: none; transform: scale(1.2); }
.dash-summen { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
a.dash-summe, .dash-summe { margin: 0; padding: 12px 16px; border-left: 5px solid var(--linie); color: inherit; text-decoration: none; display: block; }
a.dash-summe:hover { border-color: var(--rot); border-left-color: inherit; filter: brightness(1.08); }
.dash-summe b { display: block; font-family: var(--schmal); font-size: 30px; line-height: 1.1; color: #fff; }
.dash-summe span { color: var(--text2); font-size: 14px; }
.dash-gesamt { border-left-color: var(--rot); background: var(--bg2); }

/* Auswahlfenster mit mehreren Häkchen (Funktionen) */
details.mehrfach { position: relative; }
details.mehrfach > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--linie); border-radius: 8px; padding: 10px 12px; min-height: 44px; color: var(--text2); }
details.mehrfach.hat-auswahl > summary { color: var(--text); }
details.mehrfach > summary::-webkit-details-marker { display: none; }
details.mehrfach > summary::after { content: '▾'; margin-left: auto; color: var(--text2); }
details.mehrfach[open] > summary { border-color: var(--rot); }
.mehrfach-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mehrfach-liste { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--karte); border: 1px solid var(--linie); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.45); padding: 8px 12px; max-height: 300px; overflow: auto; }
.mehrfach-liste label.check { display: flex; margin: 0; padding: 7px 4px; border-bottom: 1px solid #2c3035; }
.mehrfach-liste label.check:last-child { border-bottom: 0; }
.mehrfach-suche { margin-bottom: 6px; }
/* Bericht Funktionsträger: Abschnitts-Überschrift */
.bericht-wrap table.bericht tr.gruppe.abschnitt > td { background: #3a1517; border-top: 3px solid var(--rot); padding: 12px 12px; }
.bericht-wrap table.bericht tr.gruppe.abschnitt .gruppe-text { font-family: var(--schmal); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; font-weight: 700; color: #fff; }

/* Menü mit Gruppen (Berichte, Organisation, System) */
.menue-gruppe { position: relative; }
.menue-knopf { background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 400; font-stretch: condensed; filter: none !important; border-radius: 0; color: var(--text2); padding: 10px 12px; font: inherit; font-family: var(--schmal); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: none; min-height: 0; }
.menue-knopf:hover, .menue-gruppe.offen > .menue-knopf { color: #fff; background: none; }
.menue-knopf.an { color: #fff; border-bottom-color: var(--rot); }
.menue-knopf .pfeil { font-size: 11px; transition: transform .15s; }
.menue-gruppe.offen > .menue-knopf .pfeil { transform: rotate(180deg); }
.untermenue { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #24272b; border: 1px solid var(--linie); border-top: 3px solid var(--rot); border-radius: 0 0 10px 10px; box-shadow: 0 14px 34px rgba(0,0,0,.5); padding: 6px 0; z-index: 60; }
.untermenue.rechts { left: auto; right: 0; }
.menue-gruppe.offen > .untermenue { display: block; }
@media (hover: hover) and (min-width: 700px) { .menue-gruppe:hover > .untermenue { display: block; } .menue-gruppe:hover > .menue-knopf { color: #fff; } }
.untermenue a { display: block; padding: 10px 18px; border-bottom: 0; border-left: 3px solid transparent; }
.untermenue a:hover { background: #2e3237; color: #fff; }
.untermenue a.an { border-bottom: 0; border-left-color: var(--rot); background: #2b2224; color: #fff; }
.fehlertext { color: #ff8a80; }

/* Person: Zugänge zu den Apps als kompakte Liste */
.app-summe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 4px 0 10px; font-size: 15px; }
.app-summe-sperre { color: #ff8a80; font-weight: 700; font-size: 14px; }
.app-summe-tipp { margin-left: auto; }
.app-liste { border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
.app-zeile { border-bottom: 1px solid var(--linie); background: var(--bg2); }
.app-zeile:last-child { border-bottom: 0; }
.app-zeile > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; min-height: 52px; }
.app-zeile > summary::-webkit-details-marker { display: none; }
.app-zeile > summary:hover { background: #2a2e33; }
.app-zeile[data-nur-lesen]:not(.gesperrt) > summary { cursor: default; }
.app-punkt { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; background: #5f656c; }
.app-zeile.frei .app-punkt { background: #43a047; box-shadow: 0 0 0 3px rgba(67,160,71,.18); }
.app-zeile.gesperrt .app-punkt { background: #e53935; box-shadow: 0 0 0 3px rgba(229,57,53,.2); }
.app-zeile.gesperrt { background: #2b2022; }
.app-name { flex: 1; min-width: 0; line-height: 1.25; }
.app-name b { font-size: 15px; color: #fff; }
.app-zuletzt { display: block; font-size: 12px; color: var(--text2); margin-top: 2px; }
.app-hinweise { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.app-chip { font-size: 11px; padding: 2px 8px; border-radius: 10px; border: 1px solid #4a4f56; color: var(--text2); white-space: nowrap; }
.app-status { white-space: nowrap; }
.app-status .marke-status { font-size: 13px; }
.marke-status.kein { background: #2c3035; color: #9aa0a6; }
.app-pfeil { color: var(--text2); font-size: 12px; transition: transform .15s; width: 12px; text-align: center; }
.app-zeile[open] .app-pfeil { transform: rotate(180deg); }
.app-zeile[open] > summary { background: #2a2e33; }
.app-details { padding: 6px 14px 14px 32px; background: #22252a; border-top: 1px dashed #3a3f45; }
.app-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-felder label { margin-top: 6px; }
.app-felder select, .app-felder input { padding: 8px 10px; font-size: 14px; }
.app-sperre { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.app-sperre label.check { margin: 0; }
.app-sperre input[type=text] { flex: 1; min-width: 160px; padding: 7px 10px; font-size: 14px; }
@media (max-width: 560px) {
  .app-felder { grid-template-columns: 1fr; }
  .app-hinweise { display: none; }
  .app-details { padding-left: 14px; }
  .app-summe-tipp { margin-left: 0; width: 100%; }
}

/* Rollen: Übersicht + aufklappbare Rollen-Karten */
table.rollen-blick th, table.rollen-blick td { padding: 8px 10px; white-space: nowrap; font-size: 14px; }
table.rollen-blick td:first-child a { color: #fff; }
table.rollen-blick .zahl-sp { text-align: center; }
.blick { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 12.5px; }
.blick.an { background: #1e3a21; color: #8bd38f; font-weight: 600; }
.blick.aus { color: #5f656c; }
.rollen-liste { display: flex; flex-direction: column; gap: 10px; }
.rolle-karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.rolle-karte[open] { border-color: #4a4f56; }
.rolle-karte > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; flex-wrap: wrap; }
.rolle-karte > summary::-webkit-details-marker { display: none; }
.rolle-karte > summary:hover { background: #2a2e33; }
.rolle-titel { flex: 1; min-width: 200px; }
.rolle-titel b { font-size: 18px; color: #fff; font-family: var(--schmal); letter-spacing: .03em; }
.rolle-beschr { display: block; font-size: 13px; color: var(--text2); margin-top: 2px; }
.rolle-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.app-chip.rot { border-color: #7a2a2a; color: #ff9a8f; }
.app-chip.gelb { border-color: #6b5a22; color: #ffd36b; }
.rolle-karte[open] .app-pfeil { transform: rotate(180deg); }
.rolle-inhalt { padding: 4px 18px 18px; border-top: 1px solid var(--linie); }
.rolle-inhalt h3 { font-size: 14px; color: var(--text2); margin: 16px 0 8px; }
.rolle-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.rolle-app { background: var(--bg2); border: 1px solid var(--linie); border-left: 4px solid #4a4f56; border-radius: 8px; padding: 10px 12px; }
.rolle-app.an { border-left-color: #43a047; }
.rolle-app > label:first-child { margin: 0 0 6px; font-size: 13px; color: #fff; }
.rolle-app select { padding: 8px 10px; font-size: 14px; }
.rolle-recht { margin: 6px 0 0; font-size: 13px; }
.rolle-einst { display: grid; grid-template-columns: 1fr 2fr 120px; gap: 10px; }
.rolle-einst label { margin-top: 0; }
.rolle-haken { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 12px; }
.rolle-haken label.check { margin: 0; }
.rolle-loeschen { margin-left: auto !important; color: #ff9a8f; }
.speichern-leiste { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 12px; z-index: 5; }
@media (max-width: 700px) { .rolle-einst { grid-template-columns: 1fr; } .rolle-loeschen { margin-left: 0 !important; } }

/* Passwort: wann zuletzt geändert */
.pw-stand { white-space: nowrap; }
.pw-stand.ok { color: #8bd38f; }
.pw-stand.alt { color: #ffb74d; }
.pw-stand.start { color: #ffd36b; }
.pw-stand.kein, .pw-stand.unbekannt { color: #9aa0a6; font-style: italic; }
.pw-vor { color: var(--text2); font-size: .92em; }
.etikett.warn { background: #3d3216; color: #ffd36b; border-color: #6b5a22; }
.pw-zeile { margin: 0 0 8px; font-size: 15px; }
.pw-in-liste { margin-top: 4px; padding-top: 4px; border-top: 1px dashed #3a3f45; }
.pw-in-liste .pw-stand { white-space: normal; }
table.personen-tab .marke-status { white-space: normal; text-align: center; }
table.personen-tab .pw-in-liste .etikett { margin-left: 0; }

/* App installieren: Menüpunkt nur in der Handy-Ansicht */
.menue-installieren { color: #ffd36b !important; }
@media (min-width: 761px) { .menue-installieren { display: none !important; } }
.lg-installieren { text-align: center; margin: 14px 0 0; }
.lg-installieren a { color: #ffd36b; font-weight: 600; }
@media (min-width: 761px) { .lg-installieren { display: none; } }
/* Fenster (Anleitung) */
.modal-hg { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
@media (min-width: 600px) { .modal-hg { align-items: center; } }
.modal { position: relative; background: #24272b; color: var(--text, #e8eaed); border: 1px solid #3a3f45; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.55); padding: 22px 22px 18px; width: 100%; max-width: 460px; max-height: 88vh; overflow: auto; }
.modal h2 { margin: 0 34px 12px 0; font-size: 20px; }
.modal-zu { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #2e3237; color: #fff; font-size: 22px; line-height: 1; box-shadow: none; min-height: 0; }
.modal ol.schritte { padding-left: 22px; margin: 8px 0 12px; }
.modal ol.schritte li { margin: 8px 0; line-height: 1.5; }
/* Frage „Benachrichtigungen aktivieren?“ */
.push-frage { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9998; width: calc(100% - 24px); max-width: 620px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 14px; background: #1f2226; border: 1px solid #3a3f45; box-shadow: 0 10px 30px rgba(0,0,0,.5); font-size: 15px; }
.push-frage > span:first-child { flex: 1; min-width: 220px; }
.push-frage .knopfreihe { margin: 0; }
/* Schalter in „Mein Konto“ */
.schalter { display: flex; align-items: center; gap: 14px; cursor: pointer; margin: 10px 0 6px; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text, #e8eaed); }
.schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schalter-bahn { flex: 0 0 52px; height: 30px; border-radius: 15px; background: #4a4f56; position: relative; transition: background .15s; }
.schalter-bahn::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.schalter input:checked + .schalter-bahn { background: #43a047; }
.schalter input:checked + .schalter-bahn::after { left: 25px; }
.schalter input:focus-visible + .schalter-bahn { outline: 2px solid #ffd36b; outline-offset: 2px; }
.push-dieses { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--bg2, #1c1f22); border: 1px solid var(--linie, #353a40); }
.push-dieses .knopfreihe { margin-top: 8px; }
table.geraete td { vertical-align: middle; }
[hidden] { display: none !important; }
/* Kopfzeile über die ganze Fensterbreite: „Navigation“ steht immer ganz rechts */
.kopf-innen { max-width: none; padding-left: 22px; padding-right: 22px; }
.kopf-rechts { margin-left: auto; }
.kopf-rechts .nav-tuer { order: 99; }
@media (max-width: 520px) { .kopf-innen { padding-left: 10px; padding-right: 10px; } }

/* G26.3-Untersuchung */
.g263 { white-space: nowrap; font-weight: 600; }
.g263.gueltig { color: #8bd38f; }
.g263.bald { color: #ffb74d; }
.g263.abgelaufen { color: #ff8a80; }
.g263.keine { color: #9aa0a6; font-weight: 400; font-style: italic; }
.g263-feld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.g263-anzeige { padding-bottom: 12px; }
.g263-anzeige .g263 { display: inline-block; padding: 6px 12px; border-radius: 16px; background: #23272b; border: 1px solid var(--linie); font-size: 14px; }
.g263-anzeige .g263.gueltig { background: #1e3a21; border-color: #2e5a32; }
.g263-anzeige .g263.bald { background: #3d3216; border-color: #6b5a22; }
.g263-anzeige .g263.abgelaufen { background: #3a1e1e; border-color: #6b2a2a; }
input[type=date] { color-scheme: dark; min-height: 44px; }
.g263-feld input[type=date] { min-width: 0; max-width: 100%; }
@media (max-width: 560px) { .g263-feld { grid-template-columns: 1fr; } .g263-anzeige { padding-bottom: 0; } }

/* Führerschein-Daten (aus der Führerscheinkontrolle) */
.fs-daten { width: 100%; border-collapse: collapse; }
.fs-daten th { text-align: left; font-weight: 600; color: #9aa0a6; padding: 6px 12px 6px 0; width: 38%; vertical-align: top; white-space: nowrap; }
.fs-daten td { padding: 6px 0; }
.fs-daten .etikett { margin: 0 4px 4px 0; }

/* Führerschein von Hand erfassen */
.fs-quelle { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 10px; border: 1px solid #4a4f56; color: var(--text2); white-space: nowrap; }
.fs-quelle.hand { border-color: #6b5a22; color: #ffd36b; }
.fs-manuell { margin-top: 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--bg2); }
.fs-manuell > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.fs-manuell > summary::-webkit-details-marker { display: none; }
.fs-manuell[open] > summary { border-bottom: 1px dashed #3a3f45; }
.fs-manuell[open] .app-pfeil { transform: rotate(180deg); }
.fs-form { padding: 10px 14px 14px; }
.fs-klassen { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-klasse { margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; }
.fs-klasse input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fs-klasse span { display: inline-block; min-width: 46px; text-align: center; padding: 7px 10px; border-radius: 8px; border: 1px solid #4a4f56; background: #1c1f22; color: var(--text); font-size: 14px; font-weight: 600; }
.fs-klasse input:checked + span { background: #1e3a21; border-color: #43a047; color: #b9f0bb; }
.fs-klasse input:focus-visible + span { outline: 2px solid #ffd36b; outline-offset: 1px; }
.fs-loeschen { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.fs-loeschen select { width: auto; padding: 6px 8px; font-size: 13px; }
a.fs-erfassen { font-size: 12.5px; color: #ffd36b; white-space: nowrap; }
@media (max-width: 560px) {
  .fs-daten, .fs-daten tbody, .fs-daten tr, .fs-daten th, .fs-daten td { display: block; width: auto; }
  .fs-daten tr { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .fs-daten th { padding: 0 0 2px; white-space: normal; }
  .fs-daten td { padding: 0; overflow-wrap: anywhere; }
}
.zf-merken { margin-top: 12px; }
.zf-gemerkt { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(46,160,67,.12); }
/* Anmeldeseite auf dem Handy: Begrüßungstext weg, Formular rückt nach oben */
@media (max-width: 1023px) {
  .lg-info { padding: 14px 20px; }
  .lg-willkommen { display: none; }
  .lg-haupt { padding-top: 6px; }
  .lg-form { padding-top: 12px; }
}
@media (max-width: 430px) { .lg-marke-titel { font-size: 13.5px; letter-spacing: 0; white-space: nowrap; } }
