* {
  box-sizing: border-box;
}

/* Desktop */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #111;
  color: #fff;
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}
.logo:hover {
  transform: scale(1.05);
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ff99;
  transition: width 0.3s ease;
}
.nav-links li a:hover {
  color: #00ff99;
}
.nav-links li a:hover::after {
  width: 100%;
}
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: transform 0.3s ease;
}
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-links {
    flex-direction: column;
    background: rgba(17, 17, 17, 0.98);
    position: absolute;
    top: 70px;
    right: 0;
    width: 240px;
    padding: 24px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .menu-btn {
    display: block;
    font-size: 24px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero > p {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-btn {
    width: 100%;
  }

  .sticky-download {
    display: none;
  }
}
/* Allgemeines Layout */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: linear-gradient(180deg, #0d0d0d, #111 80%);
  color: #fff;
  line-height: 1.6;
  padding-top: 80px;
}
html {
  scroll-behavior: smooth
}

section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00ff99, transparent);
  border-radius: 2px;
}

.hero {
  background: linear-gradient(135deg, #00ff99 10%, #006644 90%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}

@keyframes moveGrid {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero > p {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero h1, .hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}
.hero p {
  animation-delay: 0.3s;
}
.hero em {
  opacity: 0.7;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-primary {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: #111;
  color: #00ff99;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #00ff99;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #00ff99;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 153, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.4);
}

/* Features */
.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.feature-item {
  background: #1a1a1a;
  padding: 32px 24px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 153, 0.1), transparent);
  transition: left 0.5s;
}
.feature-item:hover::before {
  left: 100%;
}
.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}
.feature-item p {
  opacity: 0.85;
  line-height: 1.6;
}
.feature-item:hover {
  box-shadow: 0 8px 30px rgba(0,255,153,0.3);
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 153, 0.3);
}
.feature-item:hover h3 {
  transform: scale(1.05);
}

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.screenshot-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}
.screenshot-grid img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 12px 40px rgba(0, 255, 153, 0.3);
}

/* Community Section */
.community {
  position: relative;
}
.community::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 153, 0.1) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Download Section */
.download {
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 255, 153, 0.1) 90deg, transparent 180deg);
  animation: rotate 10s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Community + Download */
.btn-secondary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-secondary:hover::after {
  width: 300px;
  height: 300px;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}
.btn-secondary:active {
  transform: translateY(-1px);
}

/* Footer */
.footer {
  background: #111;
  padding: 20px;
  text-align: center;
}
.footer a {
  color: #00ff99;
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
}
.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ff99;
  transition: width 0.3s;
}
.footer a:hover {
  color: #00ff99;
  text-shadow: 0 0 8px rgba(0, 255, 153, 0.8);
}
.footer a:hover::after {
  width: 100%;
}

/* Sticky Download */
.sticky-download {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  padding: 12px 24px;
  background: #111;
  border-radius: 8px;
  border: 2px solid #00ff99;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.5s ease-out, float 3s ease-in-out infinite 1s;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.sticky-download:hover {
  background: #00ff99;
  color: #111;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 255, 153, 0.5);
  animation: float 3s ease-in-out infinite;
}

/* Dark/Light Mode Toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(20deg);
  background: #333;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.theme-toggle:active {
  transform: scale(0.95) rotate(20deg);
}
body.light {
  background: #f5f5f5;
  color: #222;
  transition: background 0.3s, color 0.3s;
}
body.light .navbar,
body.light .footer {
  background: #fff;
  color: #222;
}

body.light .btn-primary {
  background: #00b894;
  color: #fff;
}

body.light .btn-secondary {
  background: #e0e0e0;
  color: #222;
}

body.light .hero {
  background: linear-gradient(135deg, #00b894, #55c999);
}
body.light .feature-item,
body.light .faq-item,
body.light .screenshot-grid img {
  background: #ffffff;  /* Card-Hintergrund */
  color: #222;
  border: 1px solid #ddd;
}
body.light .menu-btn {
  color: #222;
}
body.light .nav-links {
  background: #fff; /* helles Menü */
}
body.light .nav-links li a {
  color: #222; /* Linkfarbe anpassen */
}
body.light .nav-links li a:hover {
  color: #00b894; /* Panda-Grün Akzent */
}
body.light h1, 
body.light h2, 
body.light h3, 
body.light p {
  color: #222;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Scroll Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ */
.faq-item {
  background: #1a1a1a;
  margin: 16px auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 700px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
  animation: fadeInUp 0.5s ease-out backwards;
}
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:hover {
  border-color: rgba(0, 255, 153, 0.3);
  transform: translateX(5px);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #00ff99;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question:hover {
  color: #00ffaa;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  opacity: 0;
  line-height: 1.7;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding-top 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 0.9;
  padding-top: 16px;
}
/* Hero Buttons Animation */
.hero-btn {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeSlide 0.8s forwards;
  animation-delay: 0.5s;
}
.hero-buttons .hero-btn:nth-child(2) {
  animation-delay: 0.7s;
}
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature & Screenshot Scroll-In */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Animation für Community Buttons */
.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(0,255,153,0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,255,153,0.7); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0,255,153,0.7); }
}

/* Particle Background (Hero) */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 153, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 255, 153, 0.1) 0%, transparent 50%);
}