/* ================= ROOT ================= */
:root {
  --bg-main: #020408;       /* Void Black */
  --bg-dark: #000000;       /* Deepest Black */
  --bg-glass: rgba(255, 255, 255, 0.02);
  --primary: #00F0FF;       /* Neon Cyan */
  --primary-glow: rgba(0, 240, 255, 0.4);
  --accent: #94a3b8;
  --white: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 50% 0%, #111927, var(--bg-main));
  color: var(--white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ================= ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= CRYPTO TICKER (NEU) ================= */
.crypto-ticker {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: 40px;
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 2000; /* Über allem */
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 40s linear infinite; /* Langsamer Flow */
  white-space: nowrap;
  padding-left: 20px;
}

.ticker-item {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  color: #ccc;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 40px; /* Rutscht unter den Ticker */
  width: 100%;
  height: 80px;
  padding: 0 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 4, 8, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 60px; /* Angepasst */
  width: auto;
}

.logo span {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.nav-links a {
  margin-left: 35px;
  text-decoration: none;
  color: var(--accent);
  transition: color .25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ================= PAGE CONTENT ================= */
.page-content {
  padding-top: 120px; /* Platz für Ticker + Navbar */
}

/* ================= NEW HERO SECTION ================= */
.hero {
  position: relative;
  overflow: hidden;
  /* Ersetzt das alte Bild durch ein dynamisches Grid */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh; /* Volle Höhe */
  padding: 60px 40px;
}

.hero-bg-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg);
  animation: gridMove 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Hero Layout */
.hero-container {
  display: flex;
  flex-direction: column; /* Centered Layout */
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1300px;
  width: 100%;
  z-index: 1; 
  gap: 60px;
}

.hero-text {
  max-width: 900px;
}

.hero-text h1 {
  font-size: 72px; /* Massive Headline */
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
  text-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
}

.hero-text p {
  font-size: 18px;
  color: var(--accent);
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(90deg, #fff, var(--primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.cta {
  background: var(--primary);
  border: none;
  padding: 16px 42px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  color: #0b1220;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px var(--primary-glow);
}
.cta:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--primary-glow); }
.cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}
.cta:hover::after { left: 100%; }

.cta-secondary {
  padding: 16px 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.cta-secondary:hover { border-color: var(--primary); background: rgba(0, 240, 255, 0.1); color: var(--primary); }

/* 3D VISUAL */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1000px; /* Wichtig für 3D */
}

.tilt-card {
  width: 550px;
  height: 380px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
  transform-style: preserve-3d; /* Lässt Kinder schweben */
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  transition: transform 0.1s ease-out; /* Smooth movement */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tilt-img {
  width: 70%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
  transform: translateZ(40px); /* Bild schwebt vor der Karte */
}

/* Glowing Border effect */
.glow-effect {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 20px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transform: translateZ(70px); /* Schwebt noch weiter vorne */
  backdrop-filter: blur(10px);
}

.badge-1 { top: -20px; right: -30px; border-color: rgba(0, 192, 118, 0.3); }
.badge-1 strong { color: #00c076; font-size: 18px; }

.badge-2 { bottom: -30px; left: -30px; border-color: rgba(0, 240, 255, 0.3); }
.badge-2 strong { color: var(--primary); font-size: 18px; }

/* Responsive Fixes */
@media (max-width: 1100px) {
  .hero-container { flex-direction: column; text-align: center; margin-top: 20px; }
  .hero-text { margin-bottom: 60px; max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { width: 100%; transform: scale(0.9); }
  .tilt-card { width: 100%; max-width: 500px; }
}

/* ================= TRUSTED BY (MARQUEE) ================= */
.trusted-section {
  padding: 40px 0;
  background: #000;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 30s linear infinite;
  opacity: 0.4;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
}
.marquee-track span {
  font-size: 24px; font-weight: 800; color: #fff; letter-spacing: 2px;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ================= STATS SECTION ================= */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; max-width: 1200px; margin: 0 auto; padding: 60px 20px;
}
.stat-card { text-align: center; }
.stat-number {
  font-size: 56px; font-weight: 700; color: var(--white);
  text-shadow: 0 0 30px rgba(255,255,255,0.2);
  margin-bottom: 5px; font-family: 'JetBrains Mono';
}
.stat-label { color: var(--accent); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* ================= SECTIONS (GENERAL) ================= */
section {
  padding: 100px 40px;
  text-align: center;
}

h2 {
  font-size: 42px;
  margin-bottom: 65px;
}

/* ================= FLEX GRIDS (Restliche Elemente) ================= */
.steps, .features, .program-cards, .overview-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.step, .feature, .program-card, .overview-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 42px;
  width: 320px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,.45);
  border: 1px solid var(--glass-border);
  transition: transform .35s ease, box-shadow .35s ease;
}

.step:hover, .feature:hover, .program-card:hover, .overview-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15);
  border-color: var(--primary);
}

.step h3, .feature h3, .program-card h3, .overview-card h3 {
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 20px;
}

/* PROGRAMS SPEZIFISCH */
.program-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 55px;
}

.tab-button {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 42px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.tab-button.active, .tab-button:hover {
  background: var(--primary);
  color: #08121f;
}

.price {
  margin: 14px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.buy-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--primary-glow);
}

.selected-info {
  margin-top: 35px;
  font-weight: 600;
  color: var(--primary);
}

/* OVERVIEW */
.program-overview {
  background: radial-gradient(circle at top, rgba(0, 240, 255, 0.05), transparent 60%);
}

.overview-item {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14.5px;
}

.overview-item span { color: var(--accent); }
.overview-item strong { color: var(--white); font-weight: 600; }

/* CONTACT */
.contact-section {
  background: transparent;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.contact-text { flex: 1; text-align: left; }
.contact-tag { color: var(--primary); letter-spacing: 2px; }

.contact-form {
  flex: 1;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  padding: 42px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
}

.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--bg-main);
  border: none;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  color: white;
}

.form-row { display: flex; gap: 15px; }

.contact-form button {
  width: 100%;
  background: var(--primary);
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 35px var(--primary-glow);
}

/* FOOTER */
.main-footer {
  background: #000;
  padding: 90px 60px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 55px;
}

.main-footer h3, .main-footer h4 { margin-bottom: 15px; }
.main-footer a, .main-footer p {
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 65px;
  text-align: center;
  color: #6b7391;
  font-size: 14px;
}

/* ================= MOBILE RESPONSIVE (MAX 768PX) ================= */
@media (max-width: 768px) {
  /* Global Adjustments */
  body, html {
    overflow-x: hidden;
  }

  section {
    padding: 50px 20px;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  /* Navbar */
  .navbar {
    height: auto !important;
    padding: 15px;
    padding-bottom: 20px;
    flex-direction: column !important;
    align-items: center;
    gap: 15px;
    background: rgba(2, 4, 8, 0.95);
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-left: 0;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 14px;
    padding: 5px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 20px;
    min-height: auto;
  }

  .hero-container {
    flex-direction: column !important;
  }

  .hero-text h1 {
    font-size: 36px !important;
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .cta, .cta-secondary {
    width: 100%;
  }

  /* Hide 3D Visual on Mobile to save space */
  .hero-visual, .tilt-card {
    display: none !important;
  }

  /* Layout & Cards */
  .steps, .features, .program-cards, .overview-cards {
    flex-direction: column;
    gap: 30px;
  }

  .step, .feature, .program-card, .overview-card {
    width: 100%;
    padding: 25px;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column !important;
    gap: 30px;
  }

  .contact-text {
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Footer */
  .main-footer {
    padding: 50px 20px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
