/* ===============================
  /* ===============================
   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: #000;
  padding: 0.75rem 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.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: var(--dark);
  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: var(--box);
}

.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: #000;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.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;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(57,255,20,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveParticles 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

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

body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(57,255,20,0.14), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(57,255,20,0.10), transparent 30%),
    radial-gradient(circle at 60% 80%, rgba(57,255,20,0.08), transparent 25%);
  animation: floatGlow 12s 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.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(57,255,20,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: moveGrid 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

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

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

@keyframes moveGrid {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(60px);
  }
}
.hero {
  background: transparent;
}