/* ═══════════════════════════════════════════════════════
   css/landing.css – Styles exklusiv für index.html
   Baut auf base.css (Variablen) und components.css auf.
   Hier nichts ändern was den Planer betrifft.
   ═══════════════════════════════════════════════════════ */

/* ── Body-Override für Landingpage ──────────────────── */
/* Die Planer-App braucht height:100vh + overflow:hidden,
   die Landingpage hingegen scrollt frei.               */
body.landing {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto; /* Wichtig: Vertikales Scrollen erlauben */
  background: var(--lp-dark);
  color: var(--lp-text);
  cursor: none;
}

/* ── Grain-Overlay ──────────────────────────────────── */
body.landing::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── Custom Cursor ──────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  opacity: 0.5;
}
body.landing:has(a:hover) .cursor,
body.landing:has(button:hover) .cursor { width: 20px; height: 20px; }

/* ── Scroll-Reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.1s; }
.reveal-delay-2          { transition-delay: 0.2s; }
.reveal-delay-3          { transition-delay: 0.3s; }
.reveal-delay-4          { transition-delay: 0.4s; }

/* ── Animationen ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}
@keyframes standPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(9,8,13,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}
.lp-nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.lp-nav-logo span {
  color: var(--lp-muted);
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 8px;
}
.lp-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.lp-nav-links a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.lp-nav-links a:hover { color: var(--lp-text); }

/* Nav-CTA nutzt .btn-ghost aus components.css + Overrides */
.lp-nav-cta {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.2s;
}
.lp-nav-cta:hover {
  background: var(--gold) !important;
  color: var(--lp-dark) !important;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 48px;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.18;
}
.lp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, transparent 30%, var(--lp-dark) 80%),
    radial-gradient(ellipse 100% 40% at 50% 0%,  var(--lp-dark) 0%, transparent 60%),
    radial-gradient(ellipse 100% 30% at 50% 100%, var(--lp-dark) 0%, transparent 50%);
  pointer-events: none;
}
.lp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.lp-eyebrow::before,
.lp-eyebrow::after {
  content: '';
  height: 1px; width: 32px;
  background: var(--gold);
  opacity: 0.5;
}

.lp-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}
.lp-hero-title .line2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-weight: 400;
  font-style: italic;
  font-family: 'Crimson Text', serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  letter-spacing: 0.02em;
}

.lp-hero-sub {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  color: var(--lp-muted);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.lp-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,151,58,0.1);
  border: 1px solid rgba(200,151,58,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  color: var(--gold2);
  margin-left: 4px;
}
.lp-hero-badge::before { content: '✦'; font-size: 0.6rem; }

.lp-hero-stats {
  position: absolute;
  right: 48px; bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  animation: fadeLeft 1s 0.9s forwards;
}
.lp-stat-item { text-align: right; }
.lp-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.lp-stat-label {
  font-size: 0.7rem;
  color: var(--lp-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.lp-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--lp-muted);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
}
.lp-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS (Landingpage-spezifisch)
   Die Planer-Buttons stehen in components.css
   ═══════════════════════════════════════════════════════ */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--lp-dark);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 16px 36px;
  border-radius: 4px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.btn-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.btn-hero:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(200,151,58,0.35);
}
.btn-hero svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 16px 20px;
  border-radius: 4px;
  border: 1px solid var(--lp-stone);
  transition: all 0.2s;
}
.btn-outline-hero:hover { color: var(--lp-text); border-color: var(--lp-muted); }

/* ═══════════════════════════════════════════════════════
   SECTION GEMEINSAM
   ═══════════════════════════════════════════════════════ */
.lp-section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.lp-section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--lp-text);
}

.lp-section-sub {
  font-family: 'Crimson Text', serif;
  font-size: 1.15rem;
  color: var(--lp-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 72px;
}

.lp-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--lp-stone), transparent);
}
.lp-divider-emblem {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  opacity: 0.6;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */
.lp-features {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.lp-feature-card {
  background: var(--lp-dark2);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.lp-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-feature-card:hover              { background: var(--lp-dark3); }
.lp-feature-card:hover::before      { opacity: 1; }

.lp-feature-icon {
  width: 52px; height: 52px;
  background: rgba(200,151,58,0.08);
  border: 1px solid rgba(200,151,58,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: background 0.3s, border-color 0.3s;
}
.lp-feature-card:hover .lp-feature-icon {
  background: rgba(200,151,58,0.15);
  border-color: rgba(200,151,58,0.35);
}
.lp-feature-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--lp-text);
}
.lp-feature-desc {
  font-family: 'Crimson Text', serif;
  font-size: 1.05rem;
  color: var(--lp-muted);
  line-height: 1.7;
}
.lp-feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   SHOWCASE / APP-MOCKUP
   ═══════════════════════════════════════════════════════ */
.lp-showcase {
  padding: 0 48px 140px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lp-showcase-visual { position: relative; }

.lp-app-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--lp-dark3);
  border: 1px solid var(--lp-stone);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(200,151,58,0.1);
  animation: float 6s ease-in-out infinite;
}
.lp-mockup-bar {
  height: 36px;
  background: var(--lp-dark4);
  border-bottom: 1px solid var(--lp-stone);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.lp-mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.lp-mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: var(--lp-muted);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}
.lp-mockup-body {
  display: flex;
  height: calc(100% - 36px);
}
.lp-mockup-sidebar {
  width: 22%;
  background: var(--lp-dark4);
  border-right: 1px solid var(--lp-stone);
  padding: 10px 8px;
}
.lp-ms-item {
  height: 7px;
  background: var(--lp-stone);
  border-radius: 3px;
  margin-bottom: 6px;
  animation: shimmer 2s ease-in-out infinite;
}
.lp-ms-item:nth-child(2) { width: 70%; animation-delay: 0.2s; }
.lp-ms-item:nth-child(3) { width: 85%; animation-delay: 0.4s; }
.lp-ms-item:nth-child(4) { width: 60%; animation-delay: 0.6s; }

.lp-mockup-canvas {
  flex: 1;
  background: #090b11;
  position: relative;
  overflow: hidden;
}
.lp-mc-terrain {
  position: absolute;
  top: 18%; left: 12%;
  width: 76%; height: 64%;
  background: #5c7a3e;
  border-radius: 30% 40% 35% 45%;
  opacity: 0.7;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
}
.lp-mc-path  { position: absolute; top: 40%; left: 20%; width: 60%; height: 3px; background: #c8b97a; border-radius: 2px; opacity: 0.8; }
.lp-mc-path2 { position: absolute; top: 30%; left: 50%; width: 3px; height: 40%; background: #c8b97a; border-radius: 2px; opacity: 0.8; }

.lp-mc-stand {
  position: absolute;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: standPop 0.4s ease-out both;
}
.lp-mockup-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,151,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%; left: 30%;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.lp-float-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--lp-dark4);
  border: 1px solid var(--lp-stone);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lp-float-badge-num {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.lp-float-badge-label { font-size: 0.7rem; color: var(--lp-muted); margin-top: 2px; }

.lp-showcase-steps {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-showcase-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Crimson Text', serif;
  font-size: 1.05rem;
  color: var(--lp-muted);
  line-height: 1.5;
}
.lp-step-num {
  width: 28px; height: 28px;
  background: rgba(200,151,58,0.1);
  border: 1px solid rgba(200,151,58,0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.lp-step-title {
  display: block;
  color: var(--lp-text);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

/* ═══════════════════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════════════════ */
.lp-usecases {
  padding: 80px 48px 140px;
  background: var(--lp-dark2);
  position: relative;
  overflow: hidden;
}
.lp-usecases::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,151,58,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.lp-usecases-inner { max-width: 1200px; margin: 0 auto; }

.lp-usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.lp-usecase-card {
  background: var(--lp-dark3);
  border: 1px solid var(--lp-stone);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.lp-usecase-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,151,58,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-usecase-card:hover {
  border-color: rgba(200,151,58,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lp-usecase-card:hover::after { opacity: 1; }
.lp-usecase-emoji  { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.lp-usecase-title  {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 10px;
}
.lp-usecase-desc {
  font-family: 'Crimson Text', serif;
  font-size: 0.95rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.lp-cta {
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,151,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.lp-cta-ornament {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.06;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.3em;
}
.lp-cta-inner { position: relative; z-index: 1; }
.lp-cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--lp-text);
}
.lp-cta-sub {
  font-family: 'Crimson Text', serif;
  font-size: 1.2rem;
  color: var(--lp-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.lp-cta-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--lp-muted);
  letter-spacing: 0.05em;
}
.lp-cta-note span { color: var(--gold2); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.lp-footer {
  border-top: 1px solid var(--lp-stone);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.lp-footer-note {
  font-size: 0.72rem;
  color: var(--lp-muted);
  letter-spacing: 0.05em;
}
.lp-footer-links { display: flex; gap: 24px; }
.lp-footer-links a {
  font-size: 0.72rem;
  color: var(--lp-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.lp-footer-links a:hover { color: var(--lp-text); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .lp-nav          { padding: 0 24px; }
  .lp-nav-links    { display: none; }
  .lp-hero         { padding: 0 24px; }
  .lp-hero-stats   { right: 24px; }
  .lp-features,
  .lp-showcase,
  .lp-cta          { padding-left: 24px; padding-right: 24px; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-showcase-inner { grid-template-columns: 1fr; gap: 48px; }
  .lp-usecases-grid  { grid-template-columns: repeat(2, 1fr); }
  .lp-footer         { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
  .lp-divider        { padding: 0 24px; }
}
