/* ---------- Trendfalke · Landingpage & Login ---------- */
body.lp { height: auto; min-height: 100%; overflow-x: hidden; }
a.brand { color: inherit; text-decoration: none; }
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(6, 8, 12, .65); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 14px; }
.lp-nav nav a:not(.lp-btn) { color: var(--muted); text-decoration: none; }
.lp-nav nav a:not(.lp-btn):hover { color: var(--text); }
@media (max-width: 640px) { .lp-nav nav a:not(.lp-btn) { display: none; } }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px var(--font); color: var(--on-accent); text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 12px; border: 0; background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  box-shadow: 0 10px 30px -8px rgba(255, 120, 50, .55); transition: transform .15s ease, box-shadow .15s ease; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -8px rgba(255, 120, 50, .7); }
.lp-btn.small { padding: 8px 16px; font-size: 13px; border-radius: 10px; }
.lp-btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.lp-btn:disabled { opacity: .6; cursor: wait; }

.lp-hero { position: relative; min-height: min(86vh, 760px); display: grid; place-items: center; padding: 64px clamp(16px, 4vw, 48px) 48px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(600px 380px at 50% 30%, rgba(255, 154, 60, .18), transparent 70%); pointer-events: none; }
.lp-hero-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; opacity: .9; pointer-events: none; }
.lp-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: lpDraw 2.6s ease-out .2s forwards; filter: drop-shadow(0 0 8px rgba(255, 154, 60, .5)); }
.lp-area { opacity: 0; animation: lpFade 1.6s ease-out 1.4s forwards; }
@keyframes lpDraw { to { stroke-dashoffset: 0; } }
@keyframes lpFade { to { opacity: 1; } }
.lp-hero-inner { position: relative; text-align: center; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lp-hero-logo { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 20px 60px -10px rgba(255, 120, 50, .6); animation: lpRise .8s ease-out both; }
@keyframes lpRise { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.lp-kicker { margin: 0; font: 600 12px var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.lp-hero h1 { margin: 0; font-size: clamp(38px, 7vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.lp-hero h1 span { background: linear-gradient(90deg, var(--accent-2), var(--accent) 50%, var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { margin: 0; max-width: 640px; font-size: clamp(15px, 2vw, 18px); line-height: 1.6; color: #c3c8d4; }
.lp-lead b { color: var(--text); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

.lp-stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 1100px; margin: -24px auto 0; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.lp-stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; background: var(--panel-solid); }
.lp-stat b { font: 700 clamp(24px, 3vw, 34px) var(--mono); letter-spacing: -.03em; color: var(--text); }
.lp-stat span { font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 16px; } }

.lp-section { max-width: 1100px; margin: 0 auto; padding: 88px clamp(16px, 4vw, 24px) 0; }
.lp-section h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.03em; }
.lp-sub { margin: 0 0 32px; color: var(--muted); font-size: 16px; max-width: 640px; }
.lp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { position: relative; padding: 24px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.lp-step h3 { margin: 14px 0 8px; font-size: 18px; }
.lp-step p { margin: 0; color: #b4bac7; font-size: 14px; line-height: 1.6; }
.lp-step-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 154, 60, .12); border: 1px solid rgba(255, 154, 60, .3); }
.lp-step-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-step-no { position: absolute; top: 18px; right: 20px; font: 700 40px var(--mono); color: rgba(255, 255, 255, .05); }

.lp-funnel { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lp-funnel-row { width: var(--w); min-width: 260px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 201, 77, .10), rgba(255, 94, 58, .10)); border: 1px solid rgba(255, 154, 60, .25); font-size: 14px; }
.lp-funnel-row b { font: 700 18px var(--mono); }
.lp-funnel-row.hot { background: linear-gradient(90deg, var(--accent-2), var(--accent-3)); color: var(--on-accent); border: 0; }

.lp-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .lp-principles { grid-template-columns: 1fr; } }
.lp-principles > div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.lp-principles h3 { margin: 0 0 6px; font-size: 16px; color: var(--accent-2); }
.lp-principles p { margin: 0; color: #b4bac7; font-size: 14px; line-height: 1.6; }

.lp-risk { max-width: 1100px; margin: 72px auto 0; padding: 18px 22px; border-radius: 14px; border: 1px solid rgba(234, 57, 67, .3); background: rgba(234, 57, 67, .06);
  font-size: 13px; line-height: 1.6; color: #c3c8d4; box-sizing: border-box; width: calc(100% - 32px); }
.lp-foot { max-width: 1100px; margin: 40px auto 0; padding: 24px 16px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.lp-foot a { color: var(--muted); }

/* Login */
.lp-login-page { min-height: 100vh; display: grid; place-items: center; }
.lp-login { width: min(420px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 0; }
.lp-login-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.lp-login-brand img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 10px 30px -6px rgba(255, 120, 50, .55); }
.lp-login-brand .brand-name { font-size: 26px; }
.lp-login-card { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--panel-solid); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.lp-login-card h1 { margin: 0; font-size: 22px; }
.lp-login-card p { margin: 0 0 4px; }
.lp-login-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #c3c8d4; }
.lp-login-card input:not([type=checkbox]) { font: 15px var(--font); color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; outline: none; }
.lp-login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 154, 60, .18); }
.lp-check { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.lp-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.lp-error { padding: 10px 12px; border-radius: 10px; background: rgba(234, 57, 67, .12); color: #ff8a92; font-size: 13px; }
.lp-setup code { font-family: var(--mono); color: var(--accent-2); }
.lp-back { color: var(--muted); text-decoration: none; }

/* Sitzung oben rechts im Dashboard */
.session-box { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.session-user { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.session-out { font: 600 12px var(--font); color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.session-out:hover { border-color: var(--accent); color: var(--accent); }
.lp-section h2 { text-transform: none; color: var(--text); font-weight: 800; }
.lp-hero-chart { height: 42%; opacity: .55; }
.lp-lead, .lp-hero h1, .lp-cta { text-shadow: 0 2px 18px rgba(6, 8, 12, .9); }
/* Variante 2: Falke stürzt in den Chart */
.lp-hero.v2 { place-items: center start; min-height: min(92vh, 820px); }
.lp-hero.v2::before { display: none; }
#falcon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,8,12,.94) 0%, rgba(6,8,12,.78) 32%, rgba(6,8,12,.15) 62%, rgba(6,8,12,0) 100%),
              linear-gradient(180deg, rgba(6,8,12,0) 70%, var(--bg) 100%); }
.lp-hero-inner.v2 { text-align: left; align-items: flex-start; max-width: 600px; margin-left: clamp(0px, 4vw, 80px); }
.lp-hero-inner.v2 h1 { font-size: clamp(40px, 6.4vw, 78px); }
.lp-hero-inner.v2 .lp-cta { justify-content: flex-start; }
.lp-speed { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.lp-speed b { color: var(--accent-2); font-weight: 600; }
@media (max-width: 760px) { .lp-hero-shade { background: linear-gradient(180deg, rgba(6,8,12,.55), rgba(6,8,12,.85) 60%, var(--bg)); } }
.lp-hero-inner.v2 { max-width: 720px; } .lp-hero-inner.v2 .lp-lead { max-width: 600px; }

/* Flimmern in Edge/Opera (18.10.): Weichzeichner der Leiste über der laufenden Animation abschalten,
   Leinwand und Hero-Text auf eigene Ebenen legen → Text wird nicht bei jedem Animationsbild neu gezeichnet */
.lp-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 8, 12, .92); }
#falcon-canvas { transform: translateZ(0); }
.lp-hero-inner.v2, .lp-hero-shade { transform: translateZ(0); }