/* === NEON 2.0 STYLE by GPT === */

/* Allgemein */
:root {
  --bg-dark: #0a0a0f;
  --bg-card: #141420;
  --accent: #00ffff;
  --accent2: #ff00ff;
  --text: #e0e0ff;
  --text-dim: #8888aa;
  --radius: 15px;
  --shadow: 0 0 15px rgba(0,255,255,0.4);
  --font: 'Orbitron', 'Segoe UI', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background: var(--bg-dark);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* === HEADER === */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #101018;
  padding: 15px 30px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease;
}

header img:hover {
  transform: scale(1.05);
}

header .nav a {
  color: var(--text);
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

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

#cart-icon {
  cursor: pointer;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  color: var(--accent);
}

#cart-icon span {
  background: var(--accent);
  color: #000;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
  margin-left: 5px;
}

/* === SUCHFELDER UND FILTER === */
.container {
  max-width: 1300px;
  width: 90%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.search input, .select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 10px 15px;
  outline: none;
  font-size: 1em;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
  transition: all 0.2s ease;
}

.search input:focus, .select:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 15px rgba(255,0,255,0.4);
}

/* === PRODUKT-GRID === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  width: 100%;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 10px;
  object-fit: contain;
  height: 200px;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent2);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--radius);
  font-size: 0.8em;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.meta h3 {
  font-size: 1.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.meta p {
  color: var(--text-dim);
  font-size: 0.9em;
  margin-bottom: 10px;
  min-height: 40px;
}

.price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}

.price {
  font-size: 1.4em;
  color: var(--accent);
}

.uvp {
  text-decoration: line-through;
  color: #f44;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  color: #000;
  box-shadow: var(--shadow);
}

.btn.add {
  border-color: var(--accent2);
}

.btn.add:hover {
  background: var(--accent2);
  color: #fff;
}

/* === WARENKORB-ZUSAMMENFASSUNG === */
#cart-summary {
  margin-top: 40px;
  color: var(--accent);
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }
}
/* === HOME / HERO BEREICH === */
.hero {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0,255,255,0.15), transparent 70%);
  flex-direction: column;
  margin-top: 60px;
}

.hero-content h1 {
  font-size: 3em;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent);
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.glow {
  animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
  from { text-shadow: 0 0 10px var(--accent2), 0 0 20px var(--accent2); }
  to { text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent2); }
}

.btn-main {
  border-color: var(--accent2);
  background: var(--accent2);
  color: #fff;
  font-size: 1.1em;
  box-shadow: 0 0 15px rgba(255,0,255,0.4);
}

.btn-main:hover {
  background: var(--accent);
  color: #000;
}

/* === FEATURES === */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto;
  width: 90%;
  max-width: 1200px;
}

.feature {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255,0,255,0.4);
}

.feature h2 {
  color: var(--accent2);
  margin-bottom: 10px;
}

footer {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid var(--accent);
  background: #101018;
  color: var(--text-dim);
  margin-top: 40px;
}
#cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.3em;
  color: var(--accent);
  cursor: pointer;
  transition: transform 0.2s ease, text-shadow 0.3s ease;
}

#cart-icon span {
  background: var(--accent);
  color: #000;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
  margin-left: 5px;
}

#cart-icon.pulse {
  animation: cartPulse 0.5s ease-in-out;
}

@keyframes cartPulse {
  0% { transform: scale(1); text-shadow: 0 0 5px var(--accent); }
  50% { transform: scale(1.3); text-shadow: 0 0 15px var(--accent), 0 0 25px var(--accent2); }
  100% { transform: scale(1); text-shadow: 0 0 5px var(--accent); }
}


