/* ---------------------------------------------------------------------------
   James — Kundenlogin. Setzt basis.css voraus.
   Umsetzung der Design-Referenz "James Login.dc.html", Palette 2b hell.
   --------------------------------------------------------------------------- */

body { background: var(--kuehl); }

.seite {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* --- Kopfzeile -------------------------------------------------------------- */

.lkopf {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--rahmen);
}
.zurueck { font-size: 14px; color: var(--text-3); }
.zurueck:hover { color: var(--tinte); }

/* --- Mitte ------------------------------------------------------------------ */

.lmitte {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px;
}
.lspalte {
  width: 420px; max-width: 100%;
  display: flex; flex-direction: column; gap: 24px;
}
.lkopfzeile { display: flex; flex-direction: column; gap: 8px; }
.lkopfzeile h1 { font-size: 34px; letter-spacing: -.025em; }
.lkopfzeile p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

.lkarte {
  background: var(--warm); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}

/* Passwortfeld mit "anzeigen" rechts im Rahmen */
.pwwrap { position: relative; display: flex; align-items: center; }
.pwwrap .eingabe { padding-right: 78px; }
.pwzeigen {
  position: absolute; right: 12px;
  background: none; border: 0; padding: 2px 2px;
  font-family: var(--mono); font-size: 10px; color: var(--text-4); cursor: pointer;
}
.pwzeigen:hover { color: var(--tinte); }

.lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.haken-feld { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.haken-feld input {
  width: 16px; height: 16px; margin: 0;
  accent-color: var(--blau); cursor: pointer;
}
.lrow a { font-size: 13px; }

.lkarte .btn { border-radius: 2px; }

/* Trenner "danach" */
.trenner { display: flex; align-items: center; gap: 12px; }
.trenner::before, .trenner::after { content: ''; flex: 1; height: 1px; background: var(--rahmen); }
.trenner span {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-4);
}

/* Hinweis zum zweiten Faktor */
.tfa-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--kuehl); padding: 13px 14px;
}
.tfa-box p { font-size: 13px; line-height: 1.5; color: var(--text-2); }
/* Kleinere Ausgabe der Kachel im Hinweiskasten - Form kommt aus basis.css */
.tfa-box .icon { width: 30px; }

/* Codefeld im zweiten Schritt */
.code {
  letter-spacing: .3em; font-size: 18px; text-align: center;
  font-family: var(--mono);
}

.lunten { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lunten span { font-size: 13px; color: var(--text-3); }
.lunten a { font-size: 13px; font-weight: 600; }

/* --- Fuß --------------------------------------------------------------------- */

.lfuss {
  padding-top: 24px; padding-bottom: 24px;
  border-top: 1px solid var(--rahmen);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.lfuss .marke-text { font-family: var(--mono); font-size: 11px; color: var(--text-5); }
.lfuss span { font-size: 12px; color: var(--text-5); }

@media (max-width: 640px) {
  .lmitte { padding: 40px 0; }
  .lkarte { padding: 22px; }
  .lkopfzeile h1 { font-size: 28px; }
}
