/* Anmeldung und Hilfe: ruhige Fassung. Tokens aus app.css, Bewegung nur bei no-preference. */

/* ---------- Anmeldung ---------- */
.ma-login { max-width: 1040px; padding-top: 96px; gap: 24px 88px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.ma-login h1 { margin-bottom: 12px; }
.ma-login .lead { font-size: 1.15rem; line-height: 1.55; }
.ma-login .auth-action { margin-top: 28px; }
.ma-login .auth-action .btn-large { min-height: 52px; padding-left: 32px; padding-right: 32px; }
.ma-login .auth-help { margin: 14px 0 0; font-size: 15px; }
.ma-login .auth-help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); }
.ma-login .auth-help a:focus-visible, .ma-login .auth-action .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ma-login .auth-notes { margin-top: 20px; padding: 0; list-style: none; max-width: 46ch; border-top: 1px solid var(--rule); }
.ma-login .auth-notes li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--hairline); line-height: 1.5; }
.ma-login .ma-auth-scene { justify-self: center; max-width: 300px; }
.ma-login .begl-buehne { margin-top: 28px; margin-left: -20px; background: none; border: 0; box-shadow: none; }
.ma-login .demo-access { margin-top: 48px; padding-top: 24px; }
.ma-login .demo-access .tenant-list { box-shadow: none; }

@media (max-width: 960px) {
  .ma-login { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 48px; }
  .ma-login .ma-auth-scene { order: -1; justify-self: start; max-width: 160px; }
}
@media (max-width: 640px) {
  .ma-login { padding-top: 12px; gap: 12px; }
  .ma-login .ma-auth-scene { max-width: 104px; }
  .ma-login .lead { font-size: 1.05rem; }
  .ma-login .auth-action { margin-top: 20px; }
  .ma-login .auth-help { text-align: center; }
  .ma-login .begl-buehne { margin-top: 12px; }
}

/* ---------- Hilfe ---------- */
.doc-help { max-width: 920px; }
.doc-help .doc-lead { font-size: 1.15rem; }
.doc-help .doc-toc { margin-top: 28px; border-top: 0; }
.doc-help .doc-toc ol { display: flex; flex-wrap: wrap; gap: 8px; columns: auto; }
.doc-help .doc-toc li { border: 0; }
.doc-help .doc-toc a { padding: 0 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; }
.doc-help .doc-toc a:hover { border-color: var(--brand); text-decoration: none; }
.doc-help .doc-toc a:focus-visible { outline-offset: 2px; }

.doc-help section { margin-top: 56px; }
.doc-help .doc-head-row, .doc-help h2 { border-top-width: 1px; border-top-color: var(--rule); }

.hs { margin-top: 28px; max-width: 560px; }
.hs[hidden] { display: none; }
.hs-label { display: block; margin-bottom: 6px; font-weight: 600; }
.hs-feld { display: block; width: 100%; min-height: 48px; padding: 0 16px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.hs-feld::placeholder { color: var(--muted); opacity: 1; }
.hs-feld:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--brand); }
.hs-status { margin: 6px 0 0; min-height: 0; color: var(--muted); font-size: 14px; }
.hs-leer { margin: 4px 0 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; }
.hs-leer[hidden] { display: none; }
.faq[hidden], .doc-help section.hs-aus { display: none; }

.doc-help .faq summary { min-height: 52px; display: flex; align-items: center; padding: 10px 40px 10px 0; font-size: 1.02rem; }
.doc-help .faq summary::after { top: 50%; right: 8px; transform: translateY(-52%); }
.doc-help .faq summary:hover { color: var(--brand); }
.doc-help .faq[open] summary { color: var(--brand); }
.doc-help .faq p { max-width: 62ch; color: var(--ink); }
.doc-help .faq p + p { margin-top: -6px; }
.doc-help .help-shot img { border-radius: 8px; box-shadow: none; }
.doc-help .doc-table th, .doc-help .doc-table td { padding-top: 12px; padding-bottom: 12px; }

@media (max-width: 640px) {
  .doc-help section { margin-top: 56px; }
  .doc-help .doc-toc ol { gap: 6px; }
  .doc-help .doc-toc a { min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .doc-help .doc-toc a, .hs-feld { transition: border-color .15s ease; }
}
