/* Login und Registrierung im neuen Look. Vorbereitet, wird erst beim Umschalten eingebunden.
   Erwartetes Gerüst:
     <main class="auth">
       <div class="auth-card">
         <div class="auth-brand"><img class="brand-mark" src="…logo.png" alt=""><span class="brand-name">KI-Benchmark</span></div>
         <h1 class="auth-title">Anmelden</h1><p class="auth-sub">…</p>
         <p class="auth-err" role="alert">…</p>
         <form class="auth-form"><label class="field"><span class="f-lab">…</span><input …></label>
           <button class="btn primary">Anmelden</button></form>
         <p class="auth-foot"><a href="…">…</a></p>
       </div>
     </main>
   Felder und Knöpfe kommen aus components.css, das Logo (logo.png wie das Favicon) nutzt .brand-mark aus shell.css.
   Hell und Dunkel ergeben sich allein aus den Tokens. */

.auth { min-height: 100dvh; display: grid; place-items: center; padding: 16px; background: var(--ground); color: var(--ink); }

.auth-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 18px; padding: 32px 30px 28px; background: var(--raised); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-sheet); }

.auth-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.auth-brand .brand-mark { width: 34px; height: 34px; flex: none; }
/* display ausdrücklich setzen: shell.css blendet .brand-name unter 1180 px aus (Icon-Leiste) */
.auth-brand .brand-name, .auth-brand span { display: inline; font-family: var(--f-display); font-stretch: 66%; font-weight: 800; font-size: 22px; letter-spacing: .01em; text-transform: uppercase; line-height: 1; }

.auth-head { display: flex; flex-direction: column; gap: 6px; }
.auth-title { margin: 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 34px; line-height: .95; letter-spacing: -.003em; text-transform: uppercase; text-wrap: balance; }
.auth-sub { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 46ch; text-wrap: pretty; }

.auth-err, .auth-ok { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--radius); font-size: 13.5px; font-weight: 550; line-height: 1.4; }
.auth-err { background: var(--bad-soft); color: var(--bad); }
.auth-ok { background: var(--good-soft); color: var(--good); }
.auth-err .i, .auth-ok .i { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.auth-err:empty, .auth-ok:empty { display: none; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .btn.primary, .auth-card > .btn.primary { width: 100%; height: 40px; margin-top: 4px; font-size: 14px; }
.auth-form .check { font-size: 13px; }

.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); }
.auth-foot a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 759px) {
  .auth { place-items: start center; padding-top: calc(32px + env(safe-area-inset-top, 0px)); }
  .auth-card { padding: 26px 20px 22px; }
  .auth-title { font-size: 30px; }
  .auth input, .auth textarea, .auth select { font-size: 16px; }
}
