/* =========================================================
   CoPost – Konto (ADR 0114): schmale Karte für Anmelden/Registrieren, breitere Übersicht. Bausteine aus basis.css.
   ========================================================= */
body { min-height: 100dvh; background: var(--bg); }
.konto { width: min(100%, 440px); margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 16px 40px;
  display: grid; gap: 22px; }
.konto-marke { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; }
.konto-marke .brand-name { font-size: 1.2rem; }

.karte { padding: 28px 24px; display: grid; gap: 18px; }
.karte h1 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; }
.karte.mitte { text-align: center; justify-items: center; }
.lead { margin: 0; color: var(--ink-2); line-height: 1.5; }
.formular { display: grid; gap: 16px; }
.breit { width: 100%; }
.formular [data-neu]:not([hidden]) { display: grid; gap: 16px; }
.neben { margin: 0; text-align: center; font-size: .92rem; color: var(--muted); }
.neben a, .haken a, .konto-fuss a, .link { color: var(--accent); text-decoration: none; font-weight: 550; }
.neben a:hover, .haken a:hover, .link:hover { text-decoration: underline; }
/* ADR 0136: Text-Links mit ≥ 24 px Trefferfläche (WCAG 2.5.8) – Innenabstand, den der Außenabstand wieder ausgleicht */
.neben a, .konto-fuss a { display: inline-block; padding: 6px 3px; margin: -6px -3px; }
.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.meldung { margin: -4px 0 0; color: var(--danger); font-size: .9rem; font-weight: 550; }

/* Passwort mit Auge */
.pw { position: relative; display: block; }
.pw .input { padding-right: 48px; }
.pw-auge { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted);
  cursor: pointer; }
.pw-auge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pw-auge.ist-an { color: var(--accent); }
.pw-auge:focus-visible { outline: none; box-shadow: var(--focus); }

/* Häkchen (AGB, Newsletter) */
.haken { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem;
  color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.haken input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }

.symbol { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); }
.symbol svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; }
.symbol.ist-fehler { background: var(--danger-soft); color: var(--danger); }

/* Fenster */
.dialog:focus { outline: none; }

.konto-fuss { text-align: center; font-size: .82rem; color: var(--muted); }

@media (max-width: 480px) {
  .karte { padding: 24px 18px; }
}
/* Fehlendes oder falsches Feld (ADR 0132) – rote Linie, der Satz steht unter dem Formular */
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.haken input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
