/* ============================================================
   LeibFit Landingpage – Stylesheet
   Dunkle Variante des LeibFit-Design-Systems. Werte gemäß Handoff.
   Mobile-first; Umschaltungen ausschließlich per Media-Query.
   ============================================================ */

:root {
  --lf-bg:            #071009;
  --lf-card:          #101613;
  --lf-card-border:   rgba(255, 255, 255, 0.06);
  --lf-trust-bg:      #0C120E;
  --lf-trust-border:  rgba(76, 209, 133, 0.18);

  --lf-text:          #F4F7F4;
  --lf-text-2:        #A7B0AA;
  --lf-text-3:        #9BA49E;
  --lf-text-4:        #6E7873;
  --lf-text-strong:   #C7CFC9;

  --lf-accent:        #4CD185;
  --lf-accent-hover:  #6FE0A0;
  --lf-lime:          #C8E85C;

  --lf-maxw:          1120px;
  --lf-pad:           22px;

  --lf-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lf-bg);
  color: var(--lf-text);
  font-family: var(--lf-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--lf-accent);
  text-decoration: none;
}
a:hover { color: var(--lf-accent-hover); }

/* Skip-Link */
.lf-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--lf-accent);
  color: #052012;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
}
.lf-skip:focus { left: 0; color: #052012; }

/* Animationen */
@keyframes lf-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.lf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.lf-reveal.in { opacity: 1; transform: none; }

/* ===== HEADER (sticky) ===== */
.lf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 16, 9, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lf-header-inner {
  max-width: var(--lf-maxw);
  margin: 0 auto;
  padding: 14px var(--lf-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lf-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--lf-text);
}
.lf-brand:hover { color: var(--lf-text); }
.lf-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.lf-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lf-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--lf-accent);
  color: #052012;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 17px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(76, 209, 133, 0.8);
}
.lf-header-cta:hover { color: #052012; background: var(--lf-accent-hover); }

/* ===== HERO ===== */
.lf-hero {
  position: relative;
  padding: 72px var(--lf-pad) 40px;
  overflow: hidden; /* fängt die Rand-Glows ab -> kein horizontaler Scroll */
}
.lf-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.lf-glow-lime {
  top: -80px; right: -60px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200,232,92,0.16) 0%, rgba(200,232,92,0) 62%);
}
.lf-glow-green {
  top: 120px; left: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(34,165,96,0.22) 0%, rgba(34,165,96,0) 66%);
}
.lf-hero-grid {
  position: relative;
  max-width: var(--lf-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align: center;
}
.lf-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lf-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200, 232, 92, 0.12);
  border: 1px solid rgba(200, 232, 92, 0.28);
  color: var(--lf-lime);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 999px;
}
.lf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lf-lime);
}
.lf-h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  max-width: 15ch;
  text-wrap: balance;
}
.lf-hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  color: var(--lf-text-2);
  margin: 20px 0 0;
  max-width: 46ch;
  text-wrap: pretty;
}

.lf-badge-cta { display: inline-flex; align-items: center; }
.lf-badge-img { display: block; }
.lf-hero-copy .lf-badge-cta { margin-top: 30px; }

.lf-qr-cta {
  display: none;
  align-items: center;
  gap: 20px;
}
.lf-hero-copy .lf-qr-cta { margin-top: 32px; }
.lf-qr-frame {
  background: #fff;
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
  line-height: 0;
}
.lf-qr-img { display: block; }
.lf-qr-text { text-align: left; max-width: 200px; }
.lf-qr-title { font-size: 16px; font-weight: 700; color: var(--lf-text); }
.lf-qr-desc  { font-size: 14px; color: #8C958F; line-height: 1.5; margin-top: 4px; }
.lf-qr-link  {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}
.lf-fineprint {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--lf-text-4);
}

.lf-hero-phone-wrap { display: flex; justify-content: center; }
.lf-phone {
  position: relative;
  width: clamp(240px, 34vw, 320px);
  border-radius: 46px;
  background: linear-gradient(155deg, #23282a, #0c0f10);
  padding: 9px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9),
              0 0 0 1px rgba(255,255,255,0.07),
              inset 0 0 0 2px rgba(255,255,255,0.04);
}
.lf-float { animation: lf-float 6s ease-in-out infinite; }
.lf-phone-shot { width: 100%; height: auto; display: block; border-radius: 38px; }
.lf-phone-sm {
  width: clamp(230px, 30vw, 290px);
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06);
}
.lf-phone-sm .lf-phone-shot { border-radius: 37px; }

/* ===== Sektions-Grundlayout ===== */
.lf-section {
  max-width: var(--lf-maxw);
  margin: 0 auto;
  padding: 56px var(--lf-pad);
}
.lf-section-tight {
  max-width: var(--lf-maxw);
  margin: 0 auto;
  padding: 24px var(--lf-pad);
}
.lf-center { text-align: center; }
.lf-measure { max-width: 62ch; margin-left: auto; margin-right: auto; }

.lf-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lf-accent);
}
.lf-h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  text-wrap: balance;
}
.lf-h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 20px 0 0;
  letter-spacing: -0.01em;
}
.lf-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lf-text-2);
  margin: 16px 0 0;
  text-wrap: pretty;
}
.lf-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--lf-text-3);
  margin: 10px 0 0;
}
.lf-body b { color: var(--lf-text-strong); }

/* ===== 2 · Zwei Wege ===== */
.lf-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.lf-card {
  background: var(--lf-card);
  border: 1px solid var(--lf-card-border);
  border-radius: 26px;
  padding: 30px;
}
.lf-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-icon-green { background: linear-gradient(163deg, #37C377, #148A4B); }
.lf-icon-lime  { background: rgba(200,232,92,0.14); border: 1px solid rgba(200,232,92,0.3); }

/* ===== 3 · Equipment (Split) ===== */
.lf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.lf-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--lf-text-strong);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
}
.lf-metric {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.lf-metric-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lf-lime);
  font-variant-numeric: tabular-nums;
}
.lf-metric-label { font-size: 15.5px; line-height: 1.5; color: var(--lf-text-3); }
.lf-split-media { display: flex; justify-content: center; }

/* ===== 4 · Modi ===== */
.lf-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
  align-items: start;
}
.lf-mode-card {
  background: var(--lf-card);
  border: 1px solid var(--lf-card-border);
  border-radius: 30px;
  padding: 32px 30px 0;
  overflow: hidden;
}
.lf-mode-card .lf-h3 { font-size: 22px; margin-top: 16px; }
.lf-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border-radius: 999px;
}
.lf-tag-green { background: rgba(76,209,133,0.14); color: var(--lf-accent); }
.lf-tag-lime  { background: rgba(200,232,92,0.14); color: var(--lf-lime); }
.lf-mode-media { display: flex; justify-content: center; margin-top: 26px; }
.lf-phone-top {
  width: 220px;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(155deg, #23282a, #0c0f10);
  padding: 7px 7px 0;
  box-shadow: 0 -10px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
}
.lf-phone-top-shot { width: 100%; height: auto; display: block; border-radius: 28px 28px 0 0; }

/* ===== 5 · Rest-Timer ===== */
.lf-timer-block {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(163deg, #2EB86E 0%, #157F49 56%, #0B6437 100%);
  padding: clamp(36px, 6vw, 64px);
}
.lf-glow-timer {
  right: -40px; top: -70px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,232,92,0.45) 0%, rgba(200,232,92,0) 64%);
}
.lf-motion-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.lf-timer-copy { position: relative; max-width: 30ch; }
.lf-eyebrow-onlight { color: rgba(255,255,255,0.78); }
.lf-onlight { color: #fff; }
.lf-onlight-sub { color: rgba(255,255,255,0.9); }

/* ===== 6 · Erholung ===== */
.lf-note {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--lf-text-4);
  margin: 18px 0 0;
}
.lf-recovery-card {
  width: 100%;
  max-width: 380px;
  background: var(--lf-card);
  border: 1px solid var(--lf-card-border);
  border-radius: 26px;
  padding: 26px;
}
.lf-readiness {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--lf-lime);
  color: #2A340A;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}
.lf-readiness-dot { width: 7px; height: 7px; border-radius: 50%; background: #5C7414; }
.lf-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.lf-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--lf-text-3);
}
.lf-bar-val { color: var(--lf-text-strong); font-weight: 600; }
.lf-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-top: 8px;
  overflow: hidden;
}
.lf-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #37C377, #4CD185); }

/* ===== 7 · Verlauf ===== */
.lf-chart-wrap { margin-top: 40px; }
.lf-chart-card {
  background: var(--lf-card);
  border: 1px solid var(--lf-card-border);
  border-radius: 26px;
  padding: 28px;
}
.lf-chart-head { display: flex; justify-content: space-between; align-items: baseline; }
.lf-chart-title { font-size: 16px; font-weight: 700; }
.lf-chart-delta { font-size: 13.5px; font-weight: 700; color: var(--lf-lime); }
.lf-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 1.4vw, 14px);
  height: 150px;
  margin-top: 22px;
}
.lf-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.lf-chart-bar {
  width: 100%;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #37C377, #1E9556);
}
.lf-chart-bar.is-last { background: linear-gradient(180deg, #D6F06A, #C8E85C); }
.lf-chart-wk { font-size: 12px; font-weight: 600; color: var(--lf-text-4); }
.lf-chart-wk.is-last { color: var(--lf-lime); }

/* ===== 8 · Trust ===== */
.lf-trust-card {
  background: var(--lf-trust-bg);
  border: 1px solid var(--lf-trust-border);
  border-radius: 34px;
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
}
.lf-icon-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 17px;
  background: rgba(76,209,133,0.12);
  border: 1px solid rgba(76,209,133,0.3);
}
.lf-trust-card .lf-h2 { margin-top: 22px; }
.lf-trust-lead { max-width: 54ch; margin-left: auto; margin-right: auto; font-size: 17.5px; line-height: 1.65; }
.lf-chips-center { justify-content: center; margin-top: 28px; }
.lf-chips-center .lf-chip { background: rgba(255,255,255,0.04); padding: 10px 16px; }

/* ===== 9 · Finaler CTA ===== */
.lf-cta-block {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(163deg, #37C377 0%, #22A560 54%, #148A4B 100%);
  padding: clamp(44px, 7vw, 76px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.lf-glow-cta {
  right: -50px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(200,232,92,0.5) 0%, rgba(200,232,92,0) 64%);
}
.lf-cta-inner { position: relative; }
.lf-cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.2);
}
.lf-cta-h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: -0.025em;
  color: #fff;
  margin: 24px 0 0;
}
.lf-cta-sub {
  font-size: 17.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin: 14px auto 0;
  max-width: 44ch;
}
.lf-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}
.lf-badge-cta-img { filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35)); }
.lf-badge-pending { cursor: default; }
.lf-qr-cta-light .lf-qr-frame-light {
  padding: 13px;
  border-radius: 20px;
  box-shadow: 0 24px 44px -20px rgba(0,0,0,0.5);
}
.lf-qr-cta-light .lf-qr-desc { max-width: 200px; }
.lf-onlight-faint { color: rgba(255,255,255,0.85); }
.lf-price {
  display: inline-block;
  margin-top: 34px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 18px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lf-price-title { font-size: 16px; font-weight: 700; color: #fff; }
.lf-price-line { font-size: 15px; color: rgba(255,255,255,0.92); line-height: 1.55; margin-top: 4px; }

/* ===== 10 · Footer ===== */
.lf-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 40px;
}
.lf-foot {
  max-width: var(--lf-maxw);
  margin: 0 auto;
  padding: 44px var(--lf-pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.lf-foot-brand { max-width: 46ch; }
.lf-foot-icon { width: 30px; height: 30px; border-radius: 8px; }
.lf-foot-note { font-size: 13.5px; line-height: 1.65; color: var(--lf-text-4); margin: 16px 0 0; }
.lf-foot-nav { display: flex; flex-direction: column; gap: 12px; }
.lf-foot-nav a { font-size: 14.5px; color: var(--lf-text-3); }
.lf-foot-nav a:hover { color: var(--lf-text); }
.lf-copyright {
  max-width: var(--lf-maxw);
  margin: 0 auto;
  padding: 0 var(--lf-pad) 40px;
  font-size: 13px;
  color: #4E574F;
}

/* ============================================================
   Legal-/Rechtstext-Seiten (Datenschutz, AGB, Impressum)
   ============================================================ */
.lf-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px var(--lf-pad) 80px;
}
.lf-legal-back {
  margin: 0 0 32px;
  font-size: 14.5px;
}
.lf-legal-back a { font-weight: 600; }

.lf-prose { color: var(--lf-text-2); }
.lf-prose > :first-child { margin-top: 0; }

.lf-prose h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--lf-text);
  margin: 0 0 8px;
  text-wrap: balance;
}
.lf-prose h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lf-text);
  margin: 2em 0 0;
  padding-top: 1.2em;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-wrap: balance;
}
.lf-prose h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--lf-text);
  margin: 1.8em 0 0;
}
.lf-prose h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lf-text-strong);
  margin: 1.6em 0 0;
}
.lf-prose p { font-size: 16px; line-height: 1.72; margin: 0.9em 0 0; }
.lf-prose ul, .lf-prose ol { margin: 0.9em 0 0; padding-left: 1.4em; }
.lf-prose li { font-size: 16px; line-height: 1.72; margin: 0.4em 0; }
.lf-prose li::marker { color: var(--lf-text-4); }
.lf-prose a { color: var(--lf-accent); text-decoration: underline; text-underline-offset: 2px; }
.lf-prose a:hover { color: var(--lf-accent-hover); }
.lf-prose strong { color: var(--lf-text); font-weight: 700; }
.lf-prose em { color: var(--lf-text-strong); }
.lf-prose code {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lf-card-border);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--lf-text);
}
.lf-prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 2em 0 0;
}
.lf-legal-todo {
  background: var(--lf-card);
  border: 1px solid var(--lf-card-border);
  border-radius: 16px;
  padding: 20px 22px;
  color: var(--lf-text-3);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============================================================
   Responsive Umschaltungen
   ============================================================ */
@media (min-width: 900px) {
  .lf-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
  }
  .lf-hero-copy { align-items: flex-start; }
  .lf-qr-cta { display: flex; }
}

@media (max-width: 899px) {
  .lf-split { grid-template-columns: 1fr; }
  .lf-split .lf-split-media { order: -1; }
  .lf-two { grid-template-columns: 1fr; }
  .lf-modes { grid-template-columns: 1fr; }
  .lf-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lf-float { animation: none !important; }
  .lf-reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
