/* =====================================================================
   Landing Page – bewusst mutiger/energiegeladener als die App selbst.
   Basis bleibt Sand/Espresso (Markenbezug), Akzent: sattes Smaragdgrün
   zu warmem Koralle-Verlauf statt dem ruhigen Moosgrün der App.
   ===================================================================== */
:root {
  --l-emerald: #0FC488;
  --l-emerald-dark: #0A8F63;
  --l-coral: #FF5C3E;
  --l-coral-light: #FFE2D9;
  --l-ink: #1A1610;
  --l-ink-soft: #5C5344;
  --l-cream: #FBF6EC;
  --l-cream-deep: #F3EBD9;
}

.landing {
  font-family: "Montserrat", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--l-ink);
  background: var(--l-cream);
  overflow-x: hidden;
  width: 100%;
}
.landing h1, .landing h2, .landing h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}
.landing a { text-decoration: none; color: inherit; }

/* ---------- Announcement bar ---------- */
.l-announce {
  background: linear-gradient(90deg, var(--l-emerald), var(--l-coral));
  color: #fff; text-align: center; font-size: 13px; font-weight: 700;
  padding: 8px 16px;
}

/* ---------- Nav ---------- */
.l-nav { background: rgba(251,246,236,0.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--l-cream-deep); }
.l-nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.l-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.l-logo img { width: 30px; height: 30px; border-radius: 8px; }
.l-nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--l-ink-soft); }
.l-nav-links a:hover { color: var(--l-emerald-dark); }
.l-nav-actions { display: flex; gap: 10px; align-items: center; }
.l-nav-user { font-size: 13px; font-weight: 600; color: var(--l-ink-soft); }

.l-btn {
  border: none; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.l-btn:hover { transform: translateY(-1px); }
.l-btn-primary { background: linear-gradient(90deg, var(--l-emerald), var(--l-emerald-dark)); color: #fff; box-shadow: 0 6px 18px rgba(14,159,110,0.28); }
.l-btn-primary:hover { box-shadow: 0 10px 24px rgba(14,159,110,0.35); }
.l-btn-ghost { background: transparent; color: var(--l-ink); border: 1.5px solid var(--l-cream-deep); }
.l-btn-ghost:hover { background: var(--l-cream-deep); }
.l-btn-big { padding: 15px 28px; font-size: 15px; }

/* ---------- Hero ---------- */
.l-hero {
  max-width: 1140px; margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.l-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--l-emerald-dark);
  background: var(--l-cream-deep); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.l-center { display: block; text-align: center; margin-left: auto; margin-right: auto; width: fit-content; }
.l-h1 { font-size: 44px; font-weight: 700; line-height: 1.08; color: var(--l-ink); }
.l-highlight { color: var(--l-emerald-dark); }
.l-lead { font-size: 17px; color: var(--l-ink-soft); line-height: 1.6; margin: 20px 0 28px; max-width: 480px; }
.l-hero-ctas { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.l-trustrow { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--l-ink-soft); }

.l-hero-visual { position: relative; height: 380px; }
.l-mock-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(26,22,16,0.12); width: 260px;
}
.l-mock-1 { top: 10px; left: 0; transform: rotate(-3deg); }
.l-mock-2 { top: 120px; left: 60px; transform: rotate(2deg); }
.l-mock-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }
.l-mock-amount { color: var(--l-emerald-dark); }
.l-mock-sub { font-size: 11px; color: var(--l-ink-soft); margin-top: 4px; }
.l-mock-glow {
  bottom: 0; right: 10px; width: 200px;
  background: linear-gradient(145deg, var(--l-emerald), var(--l-emerald-dark)); color: #fff;
  transform: rotate(-2deg);
}
.l-mock-glow .l-mock-sub { color: rgba(255,255,255,0.85); }
.l-mock-label { font-size: 11px; font-weight: 700; opacity: 0.85; letter-spacing: 0.05em; }
.l-mock-big { font-family: "Montserrat", sans-serif; font-size: 30px; font-weight: 600; margin: 4px 0; }

/* ---------- Live-Vorschau ("Video"-Ersatz aus echten Bausteinen) ---------- */
.l-preview-frame {
  max-width: 760px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,22,16,0.16); border: 1px solid var(--l-cream-deep);
}
.l-preview-chrome {
  background: #EDE3D0; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.l-preview-chrome-dot { width: 10px; height: 10px; border-radius: 50%; background: #D9CBA8; }
.l-preview-chrome-url {
  margin-left: 10px; background: #fff; border-radius: 6px; padding: 4px 14px;
  font-size: 12px; color: var(--l-ink-soft); flex: 1;
}
.l-preview-frame-body {
  background: var(--l-cream); padding: 32px; min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.l-preview-frame-body > * { width: 100%; animation: previewFadeIn 0.4s ease; }
@keyframes previewFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.l-preview-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.l-preview-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--l-cream-deep); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.l-preview-dot.active { background: var(--l-emerald); transform: scale(1.3); }

/* ---------- Stats ---------- */
.l-stats {
  max-width: 1000px; margin: 0 auto; padding: 30px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.l-stat { transition: transform 0.2s ease; padding: 12px; border-radius: 14px; }
.l-stat:hover { transform: translateY(-4px); background: var(--l-cream-deep); }
.l-stat-num { font-family: "Montserrat", sans-serif; font-size: 28px; font-weight: 700; color: var(--l-emerald-dark); }
.l-stat-label { font-size: 12px; color: var(--l-ink-soft); margin-top: 4px; }

/* ---------- Sections ---------- */
.l-section { max-width: 1140px; margin: 0 auto; padding: 70px 24px; }
.l-section-tint { max-width: none; background: var(--l-cream-deep); }
.l-section-tint > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.l-section-narrow { max-width: 760px; }
.l-h2 { font-size: 30px; font-weight: 600; margin-bottom: 40px; color: var(--l-ink); }

.l-card-grid { display: grid; gap: 20px; }
.l-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.l-card-icon { font-size: 28px; margin-bottom: 12px; }
.l-problem-card, .l-feature-card {
  background: #fff; border: 1px solid var(--l-cream-deep); border-radius: 16px; padding: 24px;
}
.l-problem-card h3, .l-feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.l-problem-card p, .l-feature-card p { font-size: 13px; color: var(--l-ink-soft); line-height: 1.55; margin: 0; }
.l-feature-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.l-feature-card:hover { transform: translateY(-7px); box-shadow: 0 18px 36px rgba(26,22,16,0.12); }
.l-feature-icon-tile {
  width: 46px; height: 46px; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  margin-bottom: 14px; transition: transform 0.3s ease;
}
.l-feature-card:hover .l-feature-icon-tile { transform: rotate(-8deg) scale(1.1); }

/* ---------- Solution ---------- */
.l-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.l-checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.l-checklist li { font-size: 15px; color: var(--l-ink); font-weight: 600; }
.l-solution-visual { display: flex; flex-direction: column; gap: 14px; }
.l-before-after { border-radius: 14px; padding: 18px 20px; }
.l-before-after span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.l-before-after b { font-size: 14px; font-weight: 600; font-style: italic; }
.l-ba-bad { background: var(--l-coral-light); color: #9A3D22; }
.l-ba-good { background: linear-gradient(135deg, var(--l-emerald), var(--l-emerald-dark)); color: #fff; }

/* ---------- Steps ---------- */
.l-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.l-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.l-step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--l-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.l-step h3 { font-size: 15px; margin-bottom: 4px; }
.l-step p { font-size: 13px; color: var(--l-ink-soft); margin: 0; line-height: 1.5; }

/* ---------- FAQ ---------- */
.l-faq { display: flex; flex-direction: column; gap: 10px; }
.l-faq-item { background: #fff; border: 1px solid var(--l-cream-deep); border-radius: 12px; overflow: hidden; }
.l-faq-q {
  width: 100%; background: none; border: none; padding: 18px 20px; text-align: left;
  font-size: 15px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; color: var(--l-ink); font-family: inherit;
}
.l-faq-chevron { color: var(--l-emerald-dark); font-size: 20px; font-weight: 700; }
.l-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; padding: 0 20px; }
.l-faq-a p { font-size: 14px; color: var(--l-ink-soft); line-height: 1.6; margin: 0; }
.l-faq-item.open .l-faq-a { max-height: 200px; padding: 0 20px 18px; }

/* ---------- Final CTA ---------- */
.l-final-cta {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, var(--l-emerald), var(--l-emerald-dark));
  color: #fff;
}
.l-final-cta h2 { font-size: 30px; margin-bottom: 26px; color: #fff; }
.l-final-cta .l-btn-primary { background: #fff; color: var(--l-emerald-dark); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

/* ---------- Footer ---------- */
.l-footer {
  max-width: 1140px; margin: 0 auto; padding: 32px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--l-ink-soft);
}

/* ---------- Scroll-Einblendung ---------- */
.l-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.l-reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .l-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Ausführliche Fußzeile (Startseite, Kontakt, Impressum) ---------- */
.l-footer-full { background: var(--l-cream-deep); padding: 56px 24px 24px; }
.l-footer-grid {
  max-width: 1140px; margin: 0 auto 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
}
.l-footer-brand p { font-size: 13px; color: var(--l-ink-soft); line-height: 1.6; margin-top: 14px; max-width: 320px; }
.l-footer-col { display: flex; flex-direction: column; gap: 12px; }
.l-footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--l-ink-soft); margin-bottom: 4px; }
.l-footer-col a { font-size: 14px; color: var(--l-ink); }
.l-footer-col a:hover { color: var(--l-emerald-dark); }
.l-footer-bottom {
  max-width: 1140px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.08);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--l-ink-soft); flex-wrap: wrap; gap: 10px;
}

/* ---------- Impressum ---------- */
.l-impressum-row { display: flex; gap: 16px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--l-cream-deep); }
.l-impressum-row:last-child { border-bottom: none; }
.l-impressum-label { width: 120px; flex-shrink: 0; font-weight: 700; color: var(--l-ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .l-hero { grid-template-columns: 1fr; padding-top: 40px; }
  .l-hero-visual { height: 320px; margin-top: 20px; }
  .l-nav-links { display: none; }
  .l-stats { grid-template-columns: repeat(2, 1fr); }
  .l-card-grid-3 { grid-template-columns: 1fr; }
  .l-solution { grid-template-columns: 1fr; }
  .l-steps { grid-template-columns: repeat(2, 1fr); }
  .l-h1 { font-size: 32px; }
  .l-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  /* E-Mail-Adresse + "Zum Dashboard"-Knopf passen bei angemeldeten
     Personen nicht nebeneinander auf schmale Bildschirme - E-Mail
     ausblenden, nur der Knopf bleibt sichtbar. */
  .l-nav-user { display: none; }
}
@media (max-width: 420px) {
  .l-nav-inner { padding: 12px 14px; }
  .l-btn { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Redesign: animierte Headline + Marquee-Ticker ---------- */
.l-h1-gradient {
  background: linear-gradient(100deg, var(--l-ink) 30%, var(--l-emerald-dark) 50%, var(--l-ink) 70%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lShimmer 6s linear infinite;
}
@keyframes lShimmer { 0% { background-position: 0% 0; } 100% { background-position: -220% 0; } }
.l-marquee { overflow: hidden; border-top: 1px solid var(--l-cream-deep); border-bottom: 1px solid var(--l-cream-deep); padding: 16px 0; margin-top: 50px; background: var(--l-ink); }
.l-marquee-track { display: flex; gap: 48px; width: max-content; animation: lMarquee 22s linear infinite; }
.l-marquee-item { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.72); white-space: nowrap; }
@keyframes lMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .l-h1-gradient { animation: none; } .l-marquee-track { animation: none; } }
