/* ═══════════════════════════════════════════════════════════════════
   DanceIQ · danceiq.css · Shared Base Stylesheet
   Warm-Editorial · Light Premium · v3.0
   ─────────────────────────────────────────────────────────────────── */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Oberflächen */
  --bg:        #f5f5f4;
  --s1:        #ffffff;
  --s2:        #edecea;
  --s3:        #e2e0d8;

  /* Rahmen */
  --border:    rgba(20,20,16,0.08);
  --border-md: rgba(20,20,16,0.14);
  --border-hv: rgba(20,20,16,0.22);

  /* Akzente */
  --gold:      #c0a040;
  --gold-deep: #222222;
  --gold-lt:   #d4b85a;
  --gold-dim:  rgba(192,160,64,0.08);
  --gold-bdr:  rgba(192,160,64,0.22);
  --sage:      #3a7a5e;
  --sage-dim:  rgba(58,122,94,0.09);
  --danger:    #b84040;
  --danger-dim:rgba(184,64,64,0.09);

  /* Text */
  --ink:       #161616;
  --ink-soft:  #363636;
  --muted:     #888880;
  --dim:       #b8b8b0;

  /* Semantische Aliasse (Rückwärtskompatibilität) */
  --sun:        var(--gold-deep);
  --sun-lt:     rgba(192,160,64,0.09);
  --sun-md:     rgba(192,160,64,0.20);
  --sun-dim:    var(--gold-dim);
  --white:      #ffffff;
  --off:        var(--s2);
  --off-mid:    var(--s3);
  --off-deep:   #d8d6ce;
  --ink-mid:    #2e2a20;
  --border-color: var(--border-md);

  /* Farb-Tints (helle Varianten für Badges/Tags) */
  --sage-lt:    rgba(58,122,94,0.10);
  --danger-lt:  rgba(184,64,64,0.10);

  /* Schatten */
  --sh-sm:  0 1px 4px rgba(20,20,16,0.09), 0 1px 2px rgba(20,20,16,0.05);
  --sh-md:  0 4px 16px rgba(20,20,16,0.10), 0 2px 4px rgba(20,20,16,0.06);
  --sh-lg:  0 12px 36px rgba(20,20,16,0.12), 0 4px 8px rgba(20,20,16,0.07);

  /* Radii */
  --r-sm:      6px;
  --r:         10px;
  --r-lg:      15px;
  --r-xl:      20px;
  --r-pill:    999px;

  /* Typografie */
  --font:      'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --page-max:  1040px;
  --page-pad:  clamp(20px, 5vw, 48px);
  --nav-h:     60px;
  --bottom-nav-h: 64px;
}

/* ── 2. RESET & BASIS ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── 3. TYPOGRAFIE ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }

em { font-style: normal; color: var(--gold); }

p { color: var(--ink-soft); line-height: 1.7; }

/* ── 4. SKIP LINK ───────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--gold-deep); color: #fff;
  font-weight: 500; font-size: .85rem;
  padding: 10px 18px; border-radius: var(--r);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── 5. PILOTBAR ────────────────────────────────────────────────── */
.pilotbar {
  background: var(--gold-dim);
  border-bottom: 1px solid var(--gold-bdr);
}
.pilotbar-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--ink-soft);
}

.pilotbar-inner a:hover { text-decoration: underline; }

/* ── 6. NAVIGATION (Landing) ────────────────────────────────────── */
.v4-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,245,244,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.v4-nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v4-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.v4-nav-links a {
  font-size: .8rem;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.v4-nav-links a:hover { color: var(--ink); background: var(--s2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-md);
  color: var(--ink-soft);
  font-size: 1.1rem;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; }
  .v4-nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--s1);
    border-bottom: 1px solid var(--border-md);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(30,22,8,0.08);
  }
  .v4-nav-links.open { display: flex; }
  .v4-nav-links a { padding: 11px 14px; font-size: .9rem; }
}

/* ── 7. APP HEADER (Dashboard / Trainer) ────────────────────────── */
.app-body {
  background: var(--bg);
  padding-bottom: calc(var(--bottom-nav-h) + 16px);
  min-height: 100vh;
}

.dash-header {
  position: sticky; top: 0; z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  height: var(--nav-h);
  background: rgba(245,245,244,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
}
.dash-brand:hover { text-decoration: none; }
.dash-brand .brand-mark { width: 28px; height: 28px; font-size: .82rem; }

.dash-user { display: flex; align-items: center; gap: 10px; }
.dash-name  { font-size: .82rem; color: var(--ink-soft); }
.dash-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--s2);
  border: 1px solid var(--border-md);
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dash-avatar:hover { background: var(--s3); border-color: var(--border-hv); }

/* User-Dropdown */
.user-menu {
  display: none;
  position: absolute;
  top: calc(var(--nav-h) + 6px);
  right: 12px;
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  box-shadow: 0 8px 24px rgba(30,22,8,0.10);
  min-width: 180px;
  z-index: 300;
  overflow: hidden;
}
.user-menu.open { display: block; }
.user-menu-item {
  padding: 11px 16px;
  font-size: .84rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .12s;
}
.user-menu-item:hover { background: var(--s2); }
.user-menu-item.danger { color: var(--danger); }
.user-menu-item.danger:hover { background: var(--danger-dim); }

/* ── 8. BOTTOM NAV ──────────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  background: rgba(245,245,244,0.97);
  border-top: 1px solid var(--border);
  height: var(--bottom-nav-h);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--dim);
  font-family: var(--font);
  cursor: pointer;
  padding: 6px 4px;
  transition: color .15s;
}
.nav-item.active  { color: var(--gold); }
.nav-item:hover:not(.active) { color: var(--ink-soft); }
.nav-icon-wrap { display: block; width: 24px; height: 24px; }
.nav-icon-wrap svg { width: 100%; height: 100%; }
.nav-label { font-size: .65rem; font-weight: 600; letter-spacing: .04em; }

/* ── 9. TAB-PANELS ──────────────────────────────────────────────── */
.tab-panel {
  display: none;
  padding: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.tab-panel.active { display: block; }

/* ── 10. LAYOUT HELPERS ─────────────────────────────────────────── */
.pg {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.pg-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ── 11. SECTIONS ───────────────────────────────────────────────── */
.sec       { padding: clamp(36px, 5vw, 64px) 0; }
.sec-light { background: var(--s1); }
.sec-warm  { background: var(--s2); }
.sec-dark  { background: var(--ink); }

.sec-eye {
  display: inline-block;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}
.sec-body {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 36px;
}

/* ── 12. HERO ───────────────────────────────────────────────────── */
/* .hero padding: seitenspezifisch in landing.css definiert */

.hero-copy h1 { margin-bottom: 18px; }

.btn-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-row   { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 13. APP-WINDOW (Hero-Vorschau) ─────────────────────────────── */

/* Mini-Focus */

/* Mini-Stats */

/* Status-Pill */

/* ── 14. BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn:active { transform: scale(.97); }

.btn-sun, .btn.btn-sun {
  background: var(--gold-deep);
  color: #fff;
}
.btn-sun:hover, .btn.btn-sun:hover {
  opacity: .88;
  text-decoration: none;
  color: #fff;
}

.btn-outline, .btn.btn-outline {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border-hv);
}
.btn-outline:hover, .btn.btn-outline:hover {
  background: var(--s2);
  color: var(--ink);
  text-decoration: none;
}

/* Kleine Buttons */
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn-sm:active { transform: scale(.97); }
.btn-sm.sun    { background: var(--gold-deep); color: #fff; }
.btn-sm.sun:hover { opacity: .88; }
.btn-sm.outline {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border-hv);
}
.btn-sm.outline:hover { background: var(--s2); color: var(--ink); }

/* FAB */
.fab {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 16px);
  right: 20px;
  z-index: 150;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-deep);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30,22,8,0.18);
  transition: transform .15s, opacity .15s;
}
.fab:active { transform: scale(.93); }
.fab:hover  { opacity: .9; }

/* ── 15. CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.card-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ── 16. FORMULARE ──────────────────────────────────────────────── */
.form-grid   { display: grid; gap: 14px; }
.form-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-cols-2 { grid-template-columns: 1fr; } }

.field-wrap  { display: flex; flex-direction: column; gap: 5px; }
.field-label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.field-label.req::after { content: ' *'; color: var(--gold); }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--font);
  font-size: .88rem;
  padding: 11px 14px;
  transition: border-color .15s, background .15s;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--s1);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
input[aria-invalid="true"],
select[aria-invalid="true"] { border-color: var(--danger); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9286' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: var(--s1);
}
select option { background: var(--s1); color: var(--ink); }
textarea { resize: vertical; min-height: 80px; line-height: 1.55; }

.field-error {
  display: none;
  font-size: .73rem;
  color: var(--danger);
  margin-top: 2px;
}
.feedback     { font-size: .8rem; color: var(--muted); min-height: 18px; }
.feedback.error { color: var(--danger); }
.feedback.ok    { color: var(--sage); }

.lbl { font-size: .76rem; font-weight: 600; color: var(--ink-soft); display: block; margin-bottom: 5px; }
.lbl-req::after { content: ' *'; color: var(--gold); }

.consent-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .8rem; color: var(--ink-soft); line-height: 1.55;
  cursor: pointer; padding: 4px 0;
}
.consent-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--gold);
}
.consent-row a { color: var(--gold); }

.ms-chip {
  font-size: .78rem; font-weight: 500;
  padding: 6px 13px; border-radius: 100px;
  background: var(--s2); border: 1px solid var(--border-md);
  color: var(--ink-soft); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
}
.ms-chip.selected,
.ms-chip.active {
  background: var(--gold-dim);
  border-color: var(--gold-bdr);
  color: var(--gold);
}

/* ── 17. MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: rgba(24,22,15,0.45);
  align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 20px 20px 32px;
  width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 -8px 32px rgba(24,22,15,0.10);
}
.modal-handle {
  width: 36px; height: 4px;
  background: var(--border-hv);
  border-radius: 100px;
  margin: 0 auto 18px;
}
.modal-title {
  font-size: 1rem; font-weight: 900;
  letter-spacing: -.03em; color: var(--ink);
  margin-bottom: 18px;
}
.video-box { width: 100%; border-radius: var(--r); background: #000; }

/* ── 18. LOADING / TOAST ────────────────────────────────────────── */
.loading {
  font-size: .84rem; color: var(--muted);
  padding: 28px 0; text-align: center;
}

.diq-toast-root {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 20px);
  left: 50%; transform: translateX(-50%);
  z-index: 500;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none; min-width: 260px; max-width: 90vw;
}
.diq-toast {
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  padding: 12px 18px;
  font-size: .84rem; color: var(--ink-soft);
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(24,22,15,0.12);
  animation: toast-in .2s ease;
}
.diq-toast.ok    { border-left: 3px solid var(--sage); }
.diq-toast.error { border-left: 3px solid var(--danger); }
@keyframes toast-in {
  from { opacity:0; transform: translateY(8px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── 19. LOOP CARDS ─────────────────────────────────────────────── */

/* ── 20. COMPARE CARDS ──────────────────────────────────────────── */

@media (max-width: 540px) {  }

/* ── 21. SHOWCASE / INSIGHT CARD ────────────────────────────────── */

@media (max-width: 720px) {  }

/* ── 22. TRAINER CARDS ──────────────────────────────────────────── */

/* ── 23. PRIVACY SECTION ────────────────────────────────────────── */

@media (max-width: 720px) {  }

/* ── 24. PILOT BOX ──────────────────────────────────────────────── */

/* ── 25. LANDING FORM ───────────────────────────────────────────── */

@media (max-width: 540px) {  }

/* ── 26. FAQ ────────────────────────────────────────────────────── */

.faq-item[open] 

/* ── 27. SCROLL-REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 28. FOOTER ─────────────────────────────────────────────────── */
.v4-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 28px 0; }
.v4-footer-inner {
  max-width: var(--page-max); margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.v4-footer-brand { font-size: .88rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.v4-footer-copy  { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.v4-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.v4-footer-links a { font-size: .78rem; color: var(--muted); text-decoration: none; transition: color .15s; }
.v4-footer-links a:hover { color: var(--ink); }

/* ── 29. LOGIN SCREEN ───────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  padding: 24px; background: var(--bg);
}
.login-card {
  background: var(--s1); border: 1px solid var(--border-md);
  border-radius: var(--r-xl); padding: 36px 32px;
  width: 100%; max-width: 400px;
  box-shadow: 0 8px 32px rgba(24,22,15,0.08);
}
.login-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 1rem; font-weight: 900; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 6px;
}
.login-title { font-size: 1.15rem; font-weight: 900; letter-spacing: -.03em; color: var(--ink); margin-bottom: 4px; }
.login-sub   { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }

/* ── 30. VOICE-STATUS ───────────────────────────────────────────── */
.voice-btn { position: relative; }
.voice-status { font-size: .75rem; color: var(--muted); min-height: 16px; margin-top: 4px; }

/* ── 31. UTILITY ────────────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-sage   { color: var(--sage); }
.text-danger { color: var(--danger); }
.text-muted  { color: var(--muted); }

.badge {
  display: inline-flex; align-items: center;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
}
.badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-bdr); }
.badge-sage { background: var(--sage-dim); color: var(--sage); }

/* ── 32. SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--s3); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--dim); }

/* ── 33. AUTH PAGES (login.html, reset.html) ────────────────────── */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

/* pw-wrap: Input + Toggle-Button nebeneinander */
.pw-wrap {
  position: relative;
}
.pw-wrap input {
  padding-right: 44px;
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .15s;
}
.pw-toggle:hover { color: var(--ink); }

/* Login-Footer */
.login-footer {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.login-footer a { color: var(--gold); }
.login-footer a:hover { text-decoration: underline; }

/* Spinner im Button */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Reset-Panel (aufklappbar im Login) */
.reset-panel {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-md);
}
.reset-panel.open { display: block; }
.reset-panel-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
