/* login.css — Login-Seite (Split-Layout) */

.lg-split {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
}

/* ── Linkes Markenpanel — hell & warm, passend zur App ── */
.lg-left {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% 110%, rgba(247, 142, 17, 0.20), transparent 65%),
    linear-gradient(170deg, #FFFDF9 0%, #FDF4E5 38%, #F9E8CC 72%, #F4DCB2 100%);
  border-right: 1px solid #F0E6D6;
  color: #1E2630;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 56px 64px;
}
.lg-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.lg-brand-mark { width: 24px; height: 24px; color: #F78E11; flex: none; }
.lg-brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; color: #1E2630; }
.lg-brand-co { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.22em; color: #B08C5A; margin-left: 4px; }

.lg-hero { position: relative; z-index: 2; max-width: 560px; margin: auto 0; padding-bottom: 6vh; }
.lg-title { min-height: 2.3em; }
.lg-title, .lg-lede { opacity: 1; transition: opacity 0.22s ease, transform 0.22s ease; }
.lg-title.lg-fading, .lg-lede.lg-fading { opacity: 0; transform: translateY(4px); }
.lg-eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: #E07B00; margin-bottom: 22px;
}
.lg-title {
  font-family: "Source Serif Pro", Georgia, serif; font-weight: 600;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.01em;
  margin: 0 0 26px; color: #2A2018; text-wrap: pretty;
}
.lg-dots { display: flex; gap: 7px; align-items: center; margin-bottom: 30px; }
.lg-dots button { width: 7px; height: 4px; border-radius: 99px; background: #E8D9C2; transition: all 0.2s; border: 0; padding: 0; cursor: pointer; }
.lg-dots button.on { width: 26px; background: #F78E11; }
.lg-dots button:hover:not(.on) { background: #D9C5A4; }
.lg-lede { font-size: 16px; line-height: 1.65; color: #6B6354; margin: 0; max-width: 460px; min-height: 3.4em; }

.lg-foot {
  position: relative; z-index: 2;
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  color: #B8A88C;
}

.lg-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lg-ring {
  position: absolute; right: -180px; bottom: -220px; width: 640px; height: 640px;
  border: 1px solid rgba(247, 142, 17, 0.18); border-radius: 50%;
}
.lg-ring2 { width: 440px; height: 440px; right: -80px; bottom: -120px; border-color: rgba(247, 142, 17, 0.12); }
.lg-cross { position: absolute; right: 110px; bottom: 150px; width: 54px; height: 54px; color: rgba(247, 142, 17, 0.30); }

/* ── Rechtes Formularpanel ── */
.lg-right {
  display: flex;
  background: #fff; padding: 0 40px;
  overflow-y: auto;
}
.lg-form { width: 380px; max-width: 100%; margin: auto; padding: 56px 0; }
.lg-form-title {
  font-family: "Source Serif Pro", Georgia, serif; font-weight: 600;
  font-size: 34px; letter-spacing: -0.01em; color: #1E2630; margin: 0 0 8px;
}
.lg-form-sub { font-size: 14px; color: #6B7686; margin: 0 0 30px; }

.lg-label { display: block; font-size: 13px; font-weight: 600; color: #3A4453; margin: 0 0 6px; }
.lg-input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 14px;
  border: 1px solid #DDE3EB; border-radius: 10px; background: #fff;
  padding: 12px 14px; margin-bottom: 18px; color: #1E2630;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lg-input::placeholder { color: #A8B1C0; }
.lg-input:focus { outline: none; border-color: var(--accent, #F78E11); box-shadow: 0 0 0 3px var(--accent-soft, #F78E111A); }

.lg-submit {
  width: 100%; border: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px;
  background: var(--accent, #F78E11); color: #fff;
  border-radius: 11px; padding: 14px; margin-top: 6px;
  box-shadow: 0 2px 8px rgba(247, 142, 17, 0.32);
  transition: filter 0.15s, transform 0.05s;
}
.lg-submit:hover { filter: brightness(1.05); }
.lg-submit:active { transform: translateY(1px); }

.lg-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #A8B1C0; font-size: 12px; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: #E5E9F0; }

.lg-guest {
  width: 100%; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #fff; color: #3A4453;
  border: 1px solid #DDE3EB; border-radius: 11px; padding: 13px;
  transition: border-color 0.15s, background 0.15s;
}
.lg-guest:hover { border-color: var(--accent, #F78E11); color: var(--accent, #F78E11); }

.lg-hint { text-align: center; font-size: 13px; color: #A8B1C0; margin: 22px 0 0; }

/* ── Responsiv: Panel stapeln ── */
@media (max-width: 860px) {
  .lg-split { grid-template-columns: 1fr; overflow-y: auto; display: block; }
  .lg-left { min-height: 320px; padding: 28px 26px; }
  .lg-hero { margin: 36px 0; }
  .lg-title { font-size: 30px; }
  .lg-foot { display: none; }
  .lg-right { padding: 36px 22px 60px; }
}

/* Demo-Instanz: neutraler Hinweis unter dem Formular (kein Passwort) */
.lg-hint.lg-demo-hint { color: #475569; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 10px; padding: 10px 12px; }
