/* ============ Login / Registrierung ============ */
html, body.pg-auth { background: #0B1A2C; }
.pg-auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff; }
.au-bg { position: fixed; inset: 0; z-index: -1; background: #0B1A2C url(/assets/video/login-poster.webp?v=fbq1) center / cover no-repeat; }
.au-bg video { width: 100%; height: 100%; object-fit: cover; }
.au-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,26,.55) 0%, rgba(6,14,26,.15) 30%, rgba(6,14,26,.2) 70%, rgba(6,14,26,.6) 100%); }
.au-top { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(18px, 3vw, 40px); }
.au-brand { display: inline-flex; align-items: center; gap: 12px; }
.au-brand img { height: 40px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.au-brand .au-word { height: 22px; }
.au-contact { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.au-contact:hover { text-decoration: underline; text-underline-offset: 4px; }
.au-main { flex: 1; display: grid; place-items: center; padding: 12px 16px 40px; }
.au-card { width: min(100%, 476px); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(3,10,20,.45); }
.au-body { padding: 36px clamp(22px, 4vw, 32px) 26px; }
.au-title { text-align: center; font-size: clamp(30px, 3vw, 38px); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #0F2E5A; }
.au-terms { margin: 14px 0 22px; text-align: center; font-size: 14px; line-height: 1.7; color: #3B4A5C; }
.au-terms a, .au-alt a { color: #1B4F8A; text-decoration: underline; text-underline-offset: 2px; }
.au-mount { min-height: 10px; }
.au-wait { padding: 18px; text-align: center; background: #F3F5F8; border: 1px solid #E1E6EC; }
.au-wait p { font-size: 14.5px; line-height: 1.6; color: #3B4A5C; margin-bottom: 8px; }
.au-wait b { color: #0F2238; }
.au-btn { display: inline-block; margin-top: 8px; padding: 12px 30px; background: #1B6AE0; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.au-btn:hover { background: #1557BA; }
.au-alt { margin-top: 18px; text-align: center; font-size: 14px; color: #3B4A5C; }
.au-staff { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px; background: #0F2238; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.au-staff svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .3s var(--ease); }
.au-staff:hover { background: #1B3A5C; } .au-staff:hover svg { transform: translateX(4px); }
.au-staff[hidden] { display: none; }
.au-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 16px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.au-foot a { color: rgba(255,255,255,.85); } .au-foot a:hover { color: #fff; }
@media (max-width: 520px) { .au-brand .au-word { height: 18px; } .au-brand img { height: 34px; } .au-body { padding-top: 28px; } }
html, body.pg-auth { background: transparent; }
html { background: #0B1A2C; }
.au-bg { z-index: 0; }
.au-top, .au-main, .au-foot { position: relative; z-index: 1; }
.iv-load { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 0; color: #53647A; font-size: 15px; }
.iv-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D6DCE4; border-top-color: #1B4F8A; animation: ivSpin .8s linear infinite; }
@keyframes ivSpin { to { transform: rotate(360deg); } }
.iv-hi { margin-top: 18px; text-align: center; font-size: 18px; color: #0F2238; }
.iv-mail { text-align: center; font-size: 14px; color: #53647A; margin: 4px 0 18px; }
.iv-box { display: grid; gap: 6px; padding: 18px; background: #F3F5F8; border-left: 3px solid #F5B800; font-size: 14.5px; line-height: 1.6; color: #3B4A5C; margin: 16px 0; }
.iv-box b { color: #0F2238; } .iv-box a { color: #1B4F8A; text-decoration: underline; }
.iv-out { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#iv-no .au-btn { display: block; text-align: center; }
/* Clerk-Felder: kein globaler Gold-Fokusrahmen, eigener ruhiger Fokus */
.au-mount :focus-visible { outline: none; border-radius: inherit; }
.au-mount input:focus { box-shadow: 0 0 0 3px rgba(27,79,138,.18) !important; border-color: #1B4F8A !important; }
.pg-auth .cl-formFieldInput:focus-visible, .pg-auth [class*="cl-"]:focus-visible { outline: none !important; }
.pg-auth .cl-formFieldInput:focus { box-shadow: 0 0 0 1px #1B4F8A, 0 0 0 4px rgba(27,79,138,.15) !important; }
