/* AUTH_V2 – Anmeldung und Registrierung im Stil der App (Werdefacharzt.de).
   Weiße Karte auf ruhigem Grund, Logo oben, gleiche Typografie und Bereichsfarben wie der Rest der Plattform. */
.au-page {
  --au-navy: #0b2a5b; --au-teal: #12a9a4; --au-teal-strong: #0b827e;
  --au-line: var(--app-line, #e1e8e7); --au-text: var(--app-text, #17252b); --au-soft: var(--app-soft, #5d6f73);
  min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center;
  padding: 28px 16px 24px; color: var(--au-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1000px 420px at 50% -80px, #e3f6f5 0, rgba(227,246,245,0) 70%), #f4f8f8;
}
.au-page *, .au-page *::before, .au-page *::after { box-sizing: border-box; }
.au-logo-link { display: block; margin: 4px 0 18px; }
.au-logo { display: block; width: 210px; max-width: 62vw; height: auto; }
.au-card {
  width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--au-line); border-radius: 20px;
  padding: 28px 28px 22px; box-shadow: 0 18px 50px rgba(11, 42, 91, .08);
}
.au-card.wide { max-width: 720px; }
.au-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--au-teal-strong); text-transform: uppercase; }
.au-card h1 { margin: 6px 0 6px; font-size: 26px; line-height: 1.2; color: var(--au-navy); }
.au-lead { margin: 0 0 20px; color: var(--au-soft); font-size: 15px; line-height: 1.5; }
.au-field { margin-bottom: 14px; }
.au-field label, .au-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--au-text); }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-input {
  width: 100%; height: 46px; padding: 0 14px; font-size: 16px; color: var(--au-text); background: #fff;
  border: 1px solid #cdd9d8; border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.au-input:focus { border-color: var(--au-teal); box-shadow: 0 0 0 4px rgba(18, 169, 164, .16); }
.au-pw { position: relative; }
.au-pw .au-input { padding-right: 46px; }
.au-pw-toggle {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent;
  color: var(--au-soft); cursor: pointer; display: grid; place-items: center;
}
.au-pw-toggle:hover { background: #eef4f4; }
.au-pw-toggle:focus-visible { outline: 2px solid var(--au-teal); }
.au-pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.au-pw-toggle .password-eye-closed { display: none; }
.au-pw-toggle[aria-pressed="true"] .password-eye-open, .au-pw-toggle.is-visible .password-eye-open { display: none; }
.au-pw-toggle[aria-pressed="true"] .password-eye-closed, .au-pw-toggle.is-visible .password-eye-closed { display: block; }
.au-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 16px; font-size: 14px; }
.au-meta a, .au-link { color: var(--au-teal-strong); font-weight: 700; text-decoration: none; }
.au-meta a:hover, .au-link:hover { text-decoration: underline; }
.au-check { display: flex; align-items: center; gap: 8px; color: var(--au-soft); cursor: pointer; }
.au-check input { width: 18px; height: 18px; accent-color: var(--au-teal-strong); }
.au-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 12px;
  background: var(--au-navy); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .15s, transform .15s;
}
.au-btn:hover { background: #0e3573; }
.au-btn:active { transform: translateY(1px); }
.au-btn:disabled { opacity: .6; cursor: default; }
.au-btn.ghost { background: #fff; color: var(--au-navy); border: 1px solid #cdd9d8; text-decoration: none; }
.au-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--au-line); text-align: center; font-size: 14px; color: var(--au-soft); }
.au-alt a { color: var(--au-teal-strong); font-weight: 700; text-decoration: none; }
.au-alt a:hover { text-decoration: underline; }
.au-error, .au-validation, .au-field-error { color: #a8282b; font-size: 13px; }
.au-error { background: #fdeeee; border: 1px solid #f3c5c6; border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; }
.au-validation ul { margin: 0 0 12px; padding-left: 18px; }
.au-success { background: #eaf8f3; border: 1px solid #bfe6d6; color: #0b5a43; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; line-height: 1.5; }
.au-note { font-size: 13px; color: var(--au-soft); line-height: 1.5; margin: 6px 0 14px; }
.au-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 13px; color: var(--au-soft); }
.au-foot a { color: var(--au-soft); text-decoration: none; }
.au-foot a:hover { text-decoration: underline; }

/* Modulwahl */
.au-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 6px; }
.au-module {
  --mc: #12a9a4; --mc-soft: #e3f6f5;
  position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 12px; border: 1.5px solid var(--au-line);
  border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.au-module:hover { border-color: var(--mc); }
.au-module input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.au-module .au-tick {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 2px solid #b9c8c7; display: grid; place-items: center;
  background: #fff; transition: all .15s;
}
.au-module .au-tick svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.au-module.on { border-color: var(--mc); background: var(--mc-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mc) 16%, transparent); }
.au-module.on .au-tick { background: var(--mc); border-color: var(--mc); }
.au-module.on .au-tick svg { opacity: 1; }
.au-module:has(input:focus-visible) { outline: 2px solid var(--mc); outline-offset: 2px; }
.au-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(11, 42, 91, .18); }
.au-ico-wf { background: #fff; object-fit: contain; padding: 4px; border: 1px solid var(--au-line); box-shadow: none; }
.au-module strong { display: block; font-size: 15px; color: var(--au-navy); }
.au-module small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--au-soft); }
.au-module.a100 { --mc: #007b5a; --mc-soft: #ddf7ee; }
.au-module.nfm { --mc: #d0383b; --mc-soft: #fdeeee; }
.au-module.counter { --mc: #2a61b1; --mc-soft: #e4f1ff; }
.au-module.sim { --mc: #874392; --mc-soft: #faeafc; }
.au-module.premium { grid-column: 1 / -1; --mc: #0b2a5b; --mc-soft: #eaf0fb; background: linear-gradient(135deg, #f4f8ff, #effbfa); }
.au-module .au-chip { margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--au-teal-strong); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.au-price { display: block; margin-top: 6px; font-size: 12.5px; color: var(--au-soft); }
.au-price .au-free { font-weight: 800; color: var(--mc, var(--au-teal-strong)); }
.au-price b { color: var(--au-navy); }
.au-summary { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 4px; padding: 12px 14px; border-radius: 12px; background: #f1f8f8; border: 1px solid #d3e8e7; font-size: 13.5px; color: var(--au-text); }
.au-modules-hint { font-size: 13px; color: var(--au-soft); margin: 8px 0 16px; line-height: 1.5; }

@media (max-width: 600px) {
  .au-page { padding: 18px 12px 20px; }
  .au-card { padding: 22px 18px 18px; border-radius: 18px; }
  .au-row2, .au-modules { grid-template-columns: 1fr; }
  .au-card h1 { font-size: 23px; }
}
@media (prefers-color-scheme: dark) { /* bewusst hell: Logo und Karten sind für hellen Grund gestaltet */ }

/* Logo auf dunklem Grund: auf weißer Plakette (das Werdefacharzt.de-Logo ist für hellen Grund gestaltet) */
.wf-logo-plate { background: #fff; border-radius: 14px; padding: 12px 18px; box-sizing: border-box; }
