/* =====================================================================
   Anmelden · Registrieren · Passwort vergessen
   Farben wie App und Webseite: Grün #0B6E4F, Nachtblau, Limette als Akzent
   ===================================================================== */
.ta-auth-body {
    --g: #0B6E4F; --g2: #16a34a; --lime: #a3e635; --navy: #0a1220; --ink: #0f172a;
    --muted: #5b6474; --line: #d9e0e6; --soft: #f4f7f6; --bad: #b42318;
    margin: 0 !important; padding: 0 !important; min-height: 100vh; background: #eef2f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink); -webkit-font-smoothing: antialiased;
}
.ta-auth-body #wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
.ta-auth, .ta-auth * { box-sizing: border-box; }
.ta-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* ---------- Markenfläche ---------- */
.ta-auth-brand {
    position: relative; overflow: hidden; color: #fff; padding: 44px 56px; display: flex; flex-direction: column;
    background:
        radial-gradient(700px 420px at 85% 0%, rgba(163, 230, 53, .22), transparent 60%),
        radial-gradient(600px 500px at 0% 100%, rgba(22, 163, 74, .30), transparent 60%),
        linear-gradient(160deg, #0a1a14 0%, #0b3d2e 55%, #0a1220 100%);
}
.ta-auth-pitch { position: absolute; right: -12%; top: 50%; width: 78%; height: 120%; transform: translateY(-50%) rotate(-8deg);
    color: rgba(255, 255, 255, .09); pointer-events: none; }
.ta-auth-logo { position: relative; z-index: 1; display: inline-block; align-self: flex-start; border-radius: 14px; }
.ta-auth-logo img { display: block; width: 240px; height: auto; max-width: 100%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.ta-auth-logo:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.ta-auth-pitchcopy { position: relative; z-index: 1; margin-top: auto; padding-top: 48px; max-width: 460px; }
.ta-auth-claim { margin: 0 0 22px; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.ta-auth-claim span { color: var(--lime); }
.ta-auth-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.ta-auth-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #d6e4dc; }
.ta-auth-points .ta-auth-ico { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(163, 230, 53, .16); color: var(--lime); }
.ta-auth-badge { display: inline-block; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
    letter-spacing: .02em; color: var(--navy); background: var(--lime); }

/* ---------- Formularseite ---------- */
.ta-auth-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 32px; background: #f6f8f7; }
/* Sprachumschalter DE | EN oben rechts */
.ta-lang { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #6b7280; }
.ta-lang a, .ta-lang span.is-active { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 30px; padding: 0 8px; border-radius: 8px; text-decoration: none; }
.ta-lang a { color: inherit; }
.ta-lang a:hover, .ta-lang a:focus-visible { background: #e3ebe7; color: var(--ink); }
.ta-lang span.is-active { background: var(--g); color: #fff; }
.ta-auth-lang { position: absolute; top: 14px; right: 16px; }
.ta-auth-card { width: 100%; max-width: 420px; }
.ta-auth-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.ta-auth-card h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ta-auth-sub { margin: 0 0 26px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.ta-auth-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 18px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.ta-auth-msg .ta-auth-ico { flex: none; margin-top: 1px; }
.ta-auth-msg.is-ok { background: #e8f6ee; border: 1px solid #b7e2c8; color: #14532d; }
.ta-auth-msg.is-error { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c13; }
.ta-auth-msg p { margin: 0; }

.ta-auth-field { margin: 0 0 16px; }
.ta-auth-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ta-auth-input { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .15s, box-shadow .15s; }
.ta-auth-input:focus-within { border-color: var(--g); box-shadow: 0 0 0 4px rgba(11, 110, 79, .14); }
.ta-auth-input > .ta-auth-ico { flex: none; margin-left: 14px; color: #8a96a3; }
.ta-auth-input input { flex: 1; min-width: 0; height: 50px; padding: 0 14px 0 10px; border: 0 !important; outline: 0; background: transparent !important;
    box-shadow: none !important; font: inherit; font-size: 16px; color: var(--ink); border-radius: 12px; }
.ta-auth-input input::placeholder { color: #9aa5b1; }
.ta-auth-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: var(--ink); }
.ta-auth-eye { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: 2px; padding: 0;
    border: 0; border-radius: 10px; background: transparent; color: #8a96a3; cursor: pointer; }
.ta-auth-eye:hover { color: var(--g); background: var(--soft); }
.ta-auth-eye[aria-pressed="true"] { color: var(--g); }
.ta-auth-eye:focus-visible { outline: 3px solid rgba(11, 110, 79, .35); }

.ta-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 20px; font-size: 14px; }
.ta-auth-check { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); cursor: pointer; }
.ta-auth-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--g); cursor: pointer; }
.ta-auth a { color: var(--g); font-weight: 600; text-decoration: none; }
.ta-auth a:hover, .ta-auth a:focus-visible { text-decoration: underline; }

.ta-auth-hint { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 20px; padding: 12px 14px; border-radius: 12px; background: #eef6f1;
    color: #24543f; font-size: 14px; line-height: 1.45; }
.ta-auth-hint .ta-auth-ico { flex: none; color: var(--g); margin-top: 1px; }

.ta-auth-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer;
    font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--g2), var(--g));
    box-shadow: 0 10px 24px rgba(11, 110, 79, .25); transition: transform .15s, box-shadow .15s, filter .15s; }
.ta-auth-btn:hover { filter: brightness(1.05); box-shadow: 0 14px 30px rgba(11, 110, 79, .32); }
.ta-auth-btn:active { transform: translateY(1px); }
.ta-auth-btn:focus-visible { outline: 3px solid rgba(11, 110, 79, .4); outline-offset: 3px; }
.ta-auth-btn.is-busy { opacity: .75; cursor: progress; }

.ta-auth-legalnote { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.ta-auth-legalnote a { font-weight: 600; }
.ta-auth-alt { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--muted); }
.ta-auth-alt a { display: inline-flex; align-items: center; gap: 4px; }
.ta-auth-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.ta-auth-back .ta-auth-ico { width: 18px; height: 18px; }
.ta-auth-legal { margin-top: 28px; text-align: center; font-size: 12px; color: #8a96a3; }
.ta-auth-legal a { color: inherit !important; font-weight: 400 !important; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 900px) {
    .ta-auth { grid-template-columns: 1fr; }
    .ta-auth-brand { padding: 22px 20px 26px; min-height: 0; }
    .ta-auth-logo img { width: 190px; }
    .ta-auth-pitch { width: 90%; right: -30%; height: 260%; }
    .ta-auth-pitchcopy { margin-top: 14px; padding-top: 0; }
    .ta-auth-claim { font-size: 20px; margin: 0 0 10px; }
    .ta-auth-points, .ta-auth-badge { display: none; }
    .ta-auth-main { align-items: flex-start; padding: 56px 20px 40px; }
    .ta-auth-lang { top: 12px; right: 12px; }
    .ta-auth-card h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .ta-auth * { transition: none !important; }
}
