/* Gemeinsamer Einstieg und klar gekennzeichneter Verwaltungs-Login. */
.auth-page {
    --auth-orange: #c94d10;
    --auth-blue: #2b2b6c;
    --auth-muted: #646477;
    --auth-border: #e5e4ed;
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #2b2b6c 0%, #20212d 100%);
    color: #252541;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.auth-page * { box-sizing: border-box; }
.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 3px solid var(--auth-blue); outline-offset: 4px; }
.auth-brand-header { background: #fff; padding: 18px max(24px, calc((100% - 1100px) / 2)); border-bottom: 1px solid var(--auth-border); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.auth-brand-header a { display: inline-flex; }
.auth-brand-header img { max-width: 100%; height: auto; }
.auth-brand-header > span { font-size: 14px; color: var(--auth-muted); }
.auth-landing { max-width: 860px; margin: 0 auto; padding: 72px 24px 36px; }
.auth-intro { text-align: center; margin-bottom: 32px; color: #fff; }
.auth-intro h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -.8px; margin: 0 0 14px; font-weight: 600; }
.auth-intro p, .auth-choice p { color: var(--auth-muted); margin: 0; }
.auth-intro p { color: #d8d7eb; }
.auth-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.auth-choice { padding: 30px; background: #fff; border: 1px solid var(--auth-border); border-radius: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.auth-choice-teacher { border-top: 4px solid var(--auth-blue); padding-top: 27px; }
.auth-area-label { background: #efedf9; color: var(--auth-blue); padding: 6px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; margin-bottom: 24px; }
.auth-choice h2 { font-size: 24px; line-height: 1.3; font-weight: 600; margin: 0 0 12px; }
.auth-choice p { flex: 1; margin-bottom: 30px; }
.auth-action { min-height: 48px; border: 1px solid var(--auth-border); border-radius: 9px; background: #fff; color: #252541; width: 100%; padding: 12px 14px; font-size: 15px; font-weight: 600; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-action:hover { background: #f4f3f8; color: #252541; }
.auth-action-primary { background: var(--auth-orange); border-color: var(--auth-orange); color: #fff; }
.auth-action-primary:hover { background: #ac410c; color: #fff; }
.auth-footer { text-align: center; color: #d8d7eb; font-size: 13px; margin: 30px 0 0; }
.auth-page .login-container { max-width: 500px; width: 100%; margin: 44px auto; padding: 0 24px; }
.auth-page .login-card { background: #fff; border: 1px solid var(--auth-border); border-radius: 16px; padding: 28px; }
.auth-page .login-header { margin-bottom: 22px; }
.auth-page .login-header h1 { font-size: 25px; line-height: 1.3; font-weight: 600; color: #252541; margin: 0 0 10px; }
.auth-page .login-header p { color: var(--auth-muted); margin: 0; font-size: 15px; }
.auth-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 14px; color: var(--auth-muted); font-size: 14px; text-decoration: none; }
.auth-back:hover { color: var(--auth-blue); text-decoration: underline; }
.auth-switch { border-radius: 9px; background: #f1eff9; padding: 12px 14px; font-size: 14px; margin-bottom: 24px; }
.auth-switch a { display: block; padding: 6px 0; color: var(--auth-blue); font-weight: 600; text-underline-offset: 3px; }
.auth-page .form-label { color: #333; font-weight: 500; margin-bottom: 8px; }
.auth-page .form-control { min-height: 48px; padding: 12px; border: 1px solid #d8d7e2; border-radius: 8px; font-size: 16px; }
.auth-page .form-control:focus { border-color: var(--auth-blue); box-shadow: 0 0 0 3px rgba(43,43,108,.15); }
.auth-page .input-group-text { background: #f8f9fa; color: var(--auth-muted); border-color: #d8d7e2; }
.auth-page .btn-primary { background: var(--auth-orange); border: 1px solid var(--auth-orange); color: #fff; padding: 12px; border-radius: 8px; font-weight: 600; }
.auth-page .btn-primary:hover { background: #ac410c; border-color: #ac410c; color: #fff; }
@media (max-width: 600px) {
    .auth-brand-header { padding: 16px 20px; }
    .auth-brand-header > span { display: none; }
    .auth-brand-header img { width: 210px; }
    .auth-landing { padding: 36px 18px 24px; }
    .auth-choices { grid-template-columns: 1fr; gap: 16px; }
    .auth-choice { padding: 24px; }
    .auth-choice-teacher { padding-top: 21px; }
    .auth-area-label { margin-bottom: 18px; }
    .auth-page .login-container { margin: 24px auto; padding: 0 16px; }
    .auth-page .login-card { padding: 22px; }
}
