/* Kundenportal. Design nach Fachspezifikation Abschnitt 20: nüchtern, Anthrazit als einzige
   Akzentfarbe, Systemschrift, Tippflächen mindestens 48 px, Smartphone zuerst. */
:root { --ink: #22262a; --ac: #2b2f33; --bg: #f2f3f4; --card: #fff; --ln: #d4d7da; --mu: #5d646b; --r: #c62828; --g: #2e7d32; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; min-height: 100vh; display: flex; flex-direction: column; }
header { background: var(--ac); color: #fff; display: flex; align-items: center; gap: 8px; padding: 8px 12px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; min-height: 48px; }
.logo { height: 32px; width: 32px; }
#kopf { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
#kopf .wer { font-size: 14px; line-height: 1.2; text-align: right; min-width: 0; overflow: hidden; }
#kopf .wer b, #kopf .wer span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45vw; }
header button { background: transparent; color: #fff; border: 1px solid #8a9096; border-radius: 6px; min-height: 48px; padding: 0 12px; font: inherit; cursor: pointer; }
main { flex: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 16px 12px 32px; }
footer { text-align: center; padding: 16px; font-size: 14px; color: var(--mu); }
footer a { color: var(--mu); display: inline-block; min-height: 48px; line-height: 48px; padding: 0 4px; }
h1 { font-size: 22px; margin: 4px 0 12px; } h2 { font-size: 18px; margin: 16px 0 8px; }
.leise { color: var(--mu); }
.karte { background: var(--card); border: 1px solid var(--ln); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
form label { display: block; font-weight: 600; margin: 12px 0 4px; }
input[type=email], input[type=password] { width: 100%; min-height: 48px; font: inherit; padding: 8px 10px; border: 1px solid #9aa0a6; border-radius: 6px; background: #fff; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ac); color: #fff; border: 2px solid var(--ac); border-radius: 8px; min-height: 48px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.zweit { background: #fff; color: var(--ac); }
.btn.breit { width: 100%; margin-top: 16px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lnk { color: var(--ac); display: inline-block; min-height: 48px; line-height: 48px; }
.fehler { color: var(--r); font-weight: 600; margin-top: 12px; }
.ok { color: var(--g); font-weight: 600; margin-top: 12px; }
.liste { list-style: none; padding: 0; margin: 0; }
.eintrag { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--ln); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; color: inherit; text-decoration: none; min-height: 56px; }
.eintrag .t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.eintrag small, .klein { color: var(--mu); font-size: 14px; }
.marke-neu { background: var(--ac); color: #fff; border-radius: 10px; padding: 1px 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ersetzt { display: inline-block; border: 1px solid var(--mu); color: var(--mu); border-radius: 10px; padding: 0 8px; font-size: 13px; margin-top: 4px; }
.bericht .knoepfe .btn { flex: 1 1 140px; }
.pdfrahmen { width: 100%; height: 75vh; border: 1px solid var(--ln); border-radius: 6px; background: #fff; margin-top: 12px; }
.rechtstext p { white-space: pre-line; }
@media (max-width: 520px) { .marke span { display: none; } }
