/* ===============================
  /* ===============================
   SPEED-FITNESS.SHOP – FINAL CSS
   =============================== */

:root {
  --primary: #39FF14;
  --primary-light: #7CFF3B;
  --dark: #0A0A0A;
  --box: #1B1B1B;
  --border: #2E2E2E;
  --text: #FFFFFF;
}

/* GLOBALS ------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* HEADER ------------------------------------------------------------- */
.topbar {
  background: rgba(0, 0, 0, 0.88);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.nav a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* HERO --------------------------------------------------------------- */
.hero {
  background: transparent;
  padding: 3rem 0;
}

.hero-layout {
  min-height: auto;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-left,
.hero-right {
  flex: 1;
  min-width: 0;
}

.hero-left {
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
}

.hero-kicker {
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: 3rem;
  line-height: 1.1;
}

.hero-copy p {
  margin: 0 0 1.5rem;
  color: #ddd;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Falls im alten HTML noch Overlay existiert */
.overlay {
  display: none;
}

/* SECTIONS ----------------------------------------------------------- */
.section {
  padding: 3rem 1rem;
  background: rgba(27, 27, 27, 0.82);
  backdrop-filter: blur(2px);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}

/* PRODUCTS ----------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card h3 {
  margin: 0.8rem 0 0.3rem;
}

.product-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.price {
  color: var(--primary);
  font-weight: 700;
  margin: 0.6rem 0;
}

/* BUTTONS ------------------------------------------------------------ */
.btn,
.btn-amazon {
  display: inline-block;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.25rem;
}

.btn {
  background: var(--primary);
  color: #000;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--primary-light);
}

.btn-amazon {
  background: #ff9900;
  color: #000;
}

/* CONTACT FORM ------------------------------------------------------- */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
}

/* FOOTER ------------------------------------------------------------- */
.footer {
  background: rgba(0, 0, 0, 0.88);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}
.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE --------------------------------------------------------- */
@media (max-width: 768px) {
  .logo img {
    max-width: 160px;
  }

  .nav a {
    margin-left: 0.6rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-slider {
    max-width: 100%;
  }
}
/* COOKIE BANNER ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 1px solid var(--border);
  padding: 1rem;
  z-index: 9999;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #ddd;
}

.cookie-content a {
  color: var(--primary);
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  padding: .6rem 1.3rem;
  border-radius: 6px;
  cursor: pointer;
}
/* Dropdown Shop */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  z-index: 9999;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  margin: 0;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #1b1b1b;
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

@keyframes moveParticles {
  from { transform: translateY(0); }
  to { transform: translateY(-100px); }
}
/* ===== ANIMIERTER HINTERGRUND ===== */

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(57,255,20,0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(57,255,20,0.06), transparent 30%),
    #0A0A0A;
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(57,255,20,0.22), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(57,255,20,0.14), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(57,255,20,0.10), transparent 24%);
  animation: floatGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: moveGrid 16s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.topbar,
.hero,
.section,
.footer,
.container {
  position: relative;
  z-index: 1;
}

.hero {
  background: transparent;
  padding: 3rem 0;
}

.section {
  background: rgba(27, 27, 27, 0.55);
}

.topbar {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.footer {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}

@keyframes floatGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-28px, 18px, 0) scale(1.08);
  }
}

@keyframes moveGrid {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 72px, 0);
  }
}
.hero {
  background: transparent;
}
.product-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(57,255,20,0.18);
  border-color: var(--primary);
}
.btn,
.btn-amazon {
  display: inline-block;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.25rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover,
.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(57,255,20,0.18);
}
.product-card::before {
  content: "NEU";
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: bold;
}
/* BADGES ------------------------------------------------------------- */
.product-card {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-badge.bestseller {
  background: #ff9900;
  color: #000;
}

.product-badge.neu {
  background: var(--primary);
  color: #000;
}

/* BUTTONS BESSER ----------------------------------------------------- */
.btn,
.btn-amazon {
  display: inline-block;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  margin: 0.3rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn {
  background: var(--primary);
  color: #000;
  border: none;
}

.btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(57,255,20,0.20);
}

.btn-amazon {
  background: #ff9900;
  color: #000;
}

.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,153,0,0.25);
}
.product-card {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-badge.bestseller {
  background: #ff9900;
  color: #000;
}

.product-badge.neu {
  background: var(--primary);
  color: #000;
}