/*
 * Anmelde-Seiten – Werte aus Prototyp-Screen „Anmelden“ + Tokens (Theme: tokens.css).
 * Alles unter .oaf-auth-page gekapselt, damit Hello-Elementor-Standardstile nicht greifen.
 */
.oaf-auth-page { background: var(--c-bg, #F5F6F4); color: var(--c-text, #141C1F); font-family: var(--oaf-font, "Geist", system-ui, sans-serif); margin: 0; min-height: 100vh; display: flex; flex-direction: column; }

/* Schlanker Marken-Header (bis der Elementor-Header existiert) */
.oaf-auth-page .oaf-auth-header { background: #FFFFFF; border-bottom: 1px solid #DCE1E3; }
.oaf-auth-page .oaf-auth-header__inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; }
.oaf-auth-page .oaf-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #141C1F; }
.oaf-auth-page .oaf-logo__plakette { position: relative; flex: none; width: 32px; height: 32px; border-radius: 7.4px; background: #1D4E5A; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 700; font-size: 16.6px; letter-spacing: -.06em; line-height: 1; }
.oaf-auth-page .oaf-logo__punkt { position: absolute; top: 4.8px; right: 4.8px; width: 4.8px; height: 4.8px; border-radius: 50%; background: #DFA13A; }
.oaf-auth-page .oaf-logo__wort { font-weight: 600; font-size: 22px; letter-spacing: -.045em; color: #141C1F; }

/* Spalte */
.oaf-auth-page .oaf-auth { width: 100%; max-width: 440px; margin: 0 auto; padding: clamp(40px, 8vw, 88px) 20px 72px; display: flex; flex-direction: column; gap: 18px; flex: 1 0 auto; box-sizing: border-box; }
.oaf-auth-page .oaf-auth__form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.oaf-auth-page .oaf-auth__title { margin: 0; font-size: 32px; line-height: normal; font-weight: 600; letter-spacing: -.04em; color: #141C1F; }
.oaf-auth-page .oaf-auth__text { margin: 0; font-size: 16px; line-height: 25px; color: #55626A; }

/* Felder */
.oaf-auth-page .oaf-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.oaf-auth-page .oaf-field__label { font-size: 14px; font-weight: 500; color: #141C1F; line-height: normal; }
.oaf-auth-page .oaf-field__input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; border: 1px solid #C9D1D4; border-radius: 6px; background: #FFFFFF; font: 400 16px var(--oaf-font, "Geist", system-ui, sans-serif); color: #141C1F; box-shadow: none; transition: border-color 140ms ease, box-shadow 140ms ease; }
.oaf-auth-page .oaf-field__input:focus { outline: none; border-color: #1D4E5A; box-shadow: 0 0 0 3px #C6D8DC; }
.oaf-auth-page .oaf-field__input[aria-invalid="true"] { border-color: #B3261E; }
.oaf-auth-page .oaf-field__hint { font-size: 13px; color: #55626A; }
.oaf-auth-page .oaf-auth__error { font-size: 13.5px; font-weight: 500; color: #B3261E; }

/* Links */
.oaf-auth-page .oaf-auth__link,
.oaf-auth-page .oaf-auth__foot a { color: #1D4E5A; text-decoration: underline; text-underline-offset: 3px; }
.oaf-auth-page .oaf-auth__link { align-self: flex-start; font-size: 14px; line-height: normal; }
.oaf-auth-page .oaf-auth__link:hover,
.oaf-auth-page .oaf-auth__foot a:hover { color: #153B45; }
.oaf-auth-page .oaf-auth__foot { margin: 0; font-size: 14.5px; color: #55626A; line-height: normal; }
.oaf-auth-page .oaf-auth__foot a { font-weight: 500; }

/* Buttons */
.oaf-auth-page .oaf-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px; padding: 0 24px; border: 0; border-radius: 6px; font: 500 16px var(--oaf-font, "Geist", system-ui, sans-serif); text-decoration: none; cursor: pointer; transition: background-color 140ms ease; }
.oaf-auth-page .oaf-btn--cta { background: #DFA13A; color: #141C1F; }
.oaf-auth-page .oaf-btn--cta:hover { background: #C98C24; color: #141C1F; }
.oaf-auth-page .oaf-btn:focus-visible,
.oaf-auth-page a:focus-visible { outline: 2px solid #2B7A8C; outline-offset: 2px; }

/* Zweiter Button (Kontur, Designsystem „Sekundär“) */
.oaf-auth-page .oaf-btn--secondary { background: #FFFFFF; color: #1D4E5A; border: 1px solid #1D4E5A; }
.oaf-auth-page .oaf-btn--secondary:hover { background: #EEF4F5; color: #153B45; }

/* Zustimmung (wie Checkbox im Anfrage-/Beanspruchen-Formular) */
.oaf-auth-page .oaf-check { position: relative; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #141C1F; cursor: pointer; margin: 0; }
.oaf-auth-page .oaf-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oaf-auth-page .oaf-check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 4px; border: 1.5px solid #9AA5AB; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #FFFFFF; box-sizing: border-box; }
.oaf-auth-page .oaf-check input:checked + .oaf-check__box { background: #1D4E5A; border-color: #1D4E5A; }
.oaf-auth-page .oaf-check input:checked + .oaf-check__box::after { content: "\2713"; }
.oaf-auth-page .oaf-check input:focus-visible + .oaf-check__box { outline: 2px solid #2B7A8C; outline-offset: 2px; }
.oaf-auth-page .oaf-check input[aria-invalid="true"] + .oaf-check__box { border-color: #B3261E; }
.oaf-auth-page .oaf-check a { color: #1D4E5A; text-decoration: underline; text-underline-offset: 3px; }

/* Hinweise (Designsystem 09 „Hinweise“) */
.oaf-auth-page .oaf-notice { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; line-height: 1.45; }
.oaf-auth-page .oaf-notice--success { background: #E6F2EA; color: #23784A; }
.oaf-auth-page .oaf-notice--error { background: #FBE9E7; color: #B3261E; }

/* Honeypot */
.oaf-auth-page .oaf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 767px) {
	.oaf-auth-page .oaf-auth { padding-left: 16px; padding-right: 16px; }
	.oaf-auth-page .oaf-auth-header__inner { padding: 0 16px; }
}

/* Einladung ins Team (ADR-038) – Firmenkarte wie im Entwurf Q54 */
.oaf-auth-page .oaf-auth__invite { background: #FFFFFF; border: 1px solid #DCE1E3; border-radius: 8px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.oaf-auth-page .oaf-auth__invite-ini { flex: none; width: 44px; height: 44px; border-radius: 6px; background: #E3ECEE; color: #1D4E5A; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; }
.oaf-auth-page .oaf-auth__invite-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oaf-auth-page .oaf-auth__invite-name { font-weight: 600; }
.oaf-auth-page .oaf-auth__invite-meta { font-size: 13.5px; color: #55626A; }
