/*****************************************************************************/
/*   style.css - Zentrales Stylesheet für Subliminal-Welt                    */
/*   Enthält:                                                                */
/*   1) Globale Resets und Grundstil                                         */
/*   2) Header, Navbar & Logo                                                */
/*   3) Hero Sections                                                        */
/*   4) Allgemeine Sections, Container, Grid                                 */
/*   5) Produkt-Showcase, Produktliste                                       */
/*   6) Footer                                                               */
/*   7) Modals (Newsletter)                                                  */
/*   8) Kontaktformular                                                      */
/*   9) Responsives Design                                                   */
/*   + Diverse Kommentare & Keyframe-Animationen                              */
/*****************************************************************************/

/* ---------------------------------------------- */
/* 1) Globale Resets und Grundstil               */
/* ---------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* HTML & Body: Update background with subtle animation */
  html,
  body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(
      45deg,
      #1a1a1a,
      #2a2a2a,
      #1a1a1a
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #f0f0f0;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Verhindert horizontales Scrollen bei Animationen */
  }

body {
  background-color: #ffffff; /* match the index.html background */
  /* ...existing code... */
}

/* Add gradient background animation */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Container: Standard-Breite */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
  text-align: center;
}

/* Headings & Paragraphs (optionale Stile) */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
p {
  margin-bottom: 1em;
}

/* ---------------------------------------------- */
/* 2) Header, Navbar & Logo                      */
/* ---------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.8);
  z-index: 999;
  transition: background 0.3s ease, padding 0.3s ease;
  z-index: 1000;
}

/* Dynamischer Header bei Scroll */
header.scrolled {
  background: rgba(20, 20, 20, 1);
}

/* Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

/* Logo mit Gradient-Text-Effekt */
.logo {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  /* Fallback-Farbe */
  color: #fff;
  /* Gradient-Füllung (modern) */
  background: linear-gradient(45deg, #c3b3fa, #e0d6fe, #d274ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cosmicLogo 6s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
  user-select: none;
  /* Leichter Schlagschatten */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Der Teil im span kriegt ggf. anderen Gradient */
.logo span {
  background: linear-gradient(45deg, #f1ebff, #c3b3fa, #d274ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cosmicLogoSpan 8s ease-in-out infinite;
}

/* Hover-Effekt fürs Logo */
.logo:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Keyframes für Logo-Animation */
@keyframes cosmicLogo {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes cosmicLogoSpan {
  0% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Nav Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-menu li a {
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
  color: #f0f0f0;
}
.nav-menu li a:hover {
  color: #d274ff;
}
.nav-menu li a.active {
  color: #d274ff;
  font-weight: 700;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #f0f0f0;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ---------------------------------------------- */
/* 3) Hero Sections                               */
/* ---------------------------------------------- */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, #222, #333);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* slightly darker overlay for better contrast */
  z-index: 1;
  animation: fadeIn 1.5s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  animation: slideIn 1s ease-out;
  padding: 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #fff, #e0d6fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}
.hero-content p {
  font-size: 1.2rem;
  margin: 0 auto 30px;
  max-width: 600px;
  color: #e0e0e0;
}
.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, #d274ff, #e38bff);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(210, 116, 255, 0.2);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
  background: linear-gradient(45deg, #e38bff, #d274ff);
}

/* Unterschiedliche Hero-Section-Hintergründe pro Seite */
.about-hero {
  background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
}
.products-hero {
  background: linear-gradient(45deg, #2a2a2a, #333333);
}
.faq-hero {
  background: linear-gradient(45deg, #1f1f1f, #3a3a3a);
}
.contact-hero {
  background: linear-gradient(45deg, #222222, #3b3b3b);
}

/* ---------------------------------------------- */
/* 4) Allgemeine Sections, Container, Grid        */
/* ---------------------------------------------- */

/* Intro-Section */
.intro-section {
  background: #1c1c1c;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Showcase-Section */
.showcase-section {
  background: #2a2a2a;
  position: relative;
  overflow: hidden;
}
.showcase-section h2 {
  color: #d274ff;
}
.product-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}
.product-card {
  background: #333;
  border-radius: 10px;
  width: 280px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(210, 116, 255, 0.2);
}
.product-card img {
  width: 100%;
  height: auto;
}
.product-card h3 {
  margin: 15px;
  font-size: 1.4rem;
}
.product-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 15px;
  flex-grow: 1; /* This makes paragraphs take up available space */
  text-align: center;
}
.buy-now {
  display: block;
  text-align: center;
  margin: 0 15px 15px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #d274ff, #e38bff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(210, 116, 255, 0.2);
  margin-top: auto; /* Pushes button to bottom */
  width: calc(100% - 30px); /* Full width minus margins */
  position: relative;
  bottom: 15px; /* Consistent bottom spacing */
}
.buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
  background: linear-gradient(45deg, #e38bff, #d274ff);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.team-card {
  background: #2a2a2a;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
}
.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
.team-card h3 {
  margin-bottom: 5px;
  color: #d274ff;
}

/* ---------------------------------------------- */
/* 5) Produktliste (products.html)                */
/* ---------------------------------------------- */

.products-list {
  background: #1c1c1c;
  padding-top: 60px;
}
.products-list h2 {
  text-align: center;
  color: #d274ff;
  margin-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.product-item {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 400px; /* Minimum height to maintain consistency */
}
.product-item:hover {
  transform: translateY(-5px);
}
.product-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}
.product-item h3 {
  margin-bottom: 10px;
  color: #d274ff;
}
.product-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 15px;
  text-align: center;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d274ff;
  margin: 15px;
  text-align: center;
}
.product-buy {
  display: block;
  text-align: center;
  margin: 0 15px 15px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #d274ff, #e38bff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(210, 116, 255, 0.2);
  margin-top: auto; /* Pushes button to bottom */
  width: calc(100% - 30px); /* Full width minus margins */
  position: relative;
  bottom: 15px; /* Consistent bottom spacing */
}
.product-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
  background: linear-gradient(45deg, #e38bff, #d274ff);
}

/* Featured Products Carousel */
.featured-products {
  background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
  padding: 60px 0;
}

.product-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 20px 0;
  cursor: grab;
}

.product-carousel::-webkit-scrollbar {
  height: 8px;
}

.product-carousel::-webkit-scrollbar-thumb {
  background: #d274ff;
  border-radius: 10px;
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4444;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: bold;
}

.price .original {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #2a2a2a;
  padding: 25px;  /* Adjusted for consistent spacing */
  margin: 10px;   /* Added margin for better separation */
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 60px;
  color: #d274ff;
  opacity: 0.5;
}

/* Enhanced Testimonial Styles */
.testimonial-card {
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(210, 116, 255, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #d274ff;
}

.testimonial-card h3 {
  color: #d274ff;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.testimonial-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.rating {
  color: #d274ff;
  font-size: 1.2rem;
  margin-top: 15px;
}

/* ---------------------------------------------- */
/* 6) Footer                                      */
/* ---------------------------------------------- */

footer {
  background: #101010;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;  /* Changed from 40px to 20px for better spacing */
}
.footer-container p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin: 10px 0;  /* Changed from 20px to 10px */
  flex-wrap: wrap;  /* Added to prevent overflow on mobile */
  justify-content: center;  /* Added for better alignment */
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px;
}

.footer-links a:hover {
  color: #d274ff;
}

.social-links {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
}

.social-links a {
  color: #d274ff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #e38bff;
}

/* ---------------------------------------------- */
/* 7) Modals (Newsletter)                         */
/* ---------------------------------------------- */

.modal {
  display: none; /* Standard: ausblenden */
  position: fixed;
  z-index: 10000; /* Über Header etc. */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.5s ease;
}
.modal-content {
  background: #2a2a2a;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}
#newsletter-form input[type="email"] {
  width: 80%;
  padding: 10px;
  margin: 15px 0;
  border: none;
  border-radius: 5px;
}
#newsletter-form button {
  padding: 12px 25px;
  background: linear-gradient(45deg, #d274ff, #e38bff);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(210, 116, 255, 0.2);
}
#newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
  background: linear-gradient(45deg, #e38bff, #d274ff);
}

/* Newsletter Notification Styles */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  animation: slideIn 0.3s ease;
  z-index: 10000;
  color: white;
}

.notification.success {
  background: #4CAF50;
}

.notification.error {
  background: #f44336;
}

/* Disabled state for newsletter form */
#newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------------------------------------------- */
/* 8) Kontaktformular                             */
/* ---------------------------------------------- */

.contact-section {
  background: #1c1c1c;
  padding-top: 60px;
}
.contact-section h2 {
  text-align: center;
  color: #d274ff;
  margin-bottom: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 30px auto;
}
.contact-form label {
  margin-bottom: 5px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #2a2a2a;
  color: #fff;
  backdrop-filter: blur(5px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d274ff;
  box-shadow: 0 0 10px rgba(210, 116, 255, 0.3);
}
.contact-form button {
  background: #d274ff;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #e38bff;
}
.contact-info {
  margin-top: 40px;
  text-align: center;
}
.contact-info h3 {
  color: #d274ff;
  margin-bottom: 10px;
}

/* ---------------------------------------------- */
/* 9) Responsives Design                          */
/* ---------------------------------------------- */

@media (max-width: 992px) {
  .navbar {
    padding: 15px 20px;
  }
  .logo {
    font-size: 1.6rem;
  }
  .nav-menu li a {
    font-size: 0.95rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .product-showcase {
    flex-direction: column;
    align-items: center;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: rgba(20, 20, 20, 0.95);
    flex-direction: column;
    padding: 20px;
    transition: right 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 10px;
    font-size: 1.1rem;
  }

  /* Menu Toggle Button Animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  /* Mobile-Menü sichtbar */
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 200px;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.95);
    height: calc(100% - 70px);
    transition: right 0.3s ease;
    padding-top: 30px;
    z-index: 998;
    backdrop-filter: blur(10px);
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }
  .menu-toggle .bar {
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  .navbar {
    padding: 10px 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    width: 100%;
    padding: 0 10px;
  }

  .product-card {
    width: 100%;
    max-width: 340px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Featured Products Mobile Improvements */
  .featured-products {
    padding: 20px 15px;
  }

  .product-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
    scroll-behavior: auto;
  }

  .product-card {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 400px;
  }

  .product-card img {
    height: 200px;
    object-fit: cover;
  }

  .featured-products .container {
    padding: 0 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media print {
  .video-hero,
  .newsletter-modal,
  .menu-toggle {
    display: none !important;
  }
}

/* ---------------------------------------------- */
/* Enhanced Mobile & Tablet Responsiveness         */
/* ---------------------------------------------- */

/* Tablet Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 95%;
    padding: 30px 15px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    max-width: 90%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    width: 90%;
  }

  .video-content {
    max-width: 90%;
  }

  .container {
    width: 90%;
    padding: 30px 20px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Ensure menu toggle is visible on tablets */
  .menu-toggle {
    display: flex;
  }

  /* Adjust logo size for tablets */
  .logo {
    font-size: 1.8rem;
  }

  /* Navbar padding for tablets */
  .navbar {
    padding: 15px 30px;
  }

  /* Adjust button sizes for better touch targets */
  .cta-btn,
  .product-buy,
  .buy-now {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .featured-products {
    padding: 30px 15px;
  }

  .product-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow: visible;
    scroll-behavior: auto;
  }

  .product-card {
    width: 100%;
    margin: 0;
    min-height: 450px;
  }

  .product-card img {
    height: 200px;
    object-fit: cover;
  }

  .product-card h3 {
    font-size: 1.2rem;
    margin: 12px;
  }

  .product-card p {
    font-size: 0.9rem;
    margin: 12px;
  }

  .featured-products .container {
    padding: 0 15px;
  }
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
  .container {
    width: 100%;
    padding: 20px 15px;
  }

  /* Header & Navigation */
  .navbar {
    padding: 10px 15px;
  }

  .logo {
    font-size: 1.5rem;
  }

  /* Enhanced Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(20, 20, 20, 0.98);
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 15px;
    font-size: 1.1rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    padding: 100px 15px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Product Cards */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    width: 100%;
    margin: 10px 0;
  }

  /* Team Section */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    margin: 10px 0;
  }

  /* Contact Form */
  .contact-form {
    width: 100%;
    padding: 0 15px;
  }

  /* Footer */
  .footer-container {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-links {
    justify-content: center;
    margin-top: 20px;
  }

  /* Modal Adjustments */
  .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 15px;
  }

  /* Video Hero */
  .video-content {
    padding: 0 15px;
  }

  /* Blog Posts */
  .blog-post {
    margin: 20px 15px;
  }

  /* Buttons */
  .cta-btn,
  .product-buy,
  .buy-now {
    width: 100%;
    max-width: none;
    padding: 15px 20px;
  }

  /* Form Elements */
  input,
  textarea,
  select {
    width: 100%;
    padding: 12px;
  }

  /* Featured Products Mobile Improvements */
  .featured-products {
    padding: 20px 15px;
  }

  .product-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
    scroll-behavior: auto;
  }

  .product-card {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 400px;
  }

  .product-card img {
    height: 200px;
    object-fit: cover;
  }

  .featured-products .container {
    padding: 0 15px;
  }
}

/* Small Mobile Devices (up to 380px) */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .container {
    padding: 15px 10px;
  }

  .cta-btn,
  .product-buy,
  .buy-now {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .product-card:hover,
  .team-card:hover,
  .cta-btn:hover {
    transform: none;
  }

  .nav-menu li a {
    padding: 15px;  /* Larger touch targets */
  }

  .footer-links a {
    padding: 10px;  /* Larger touch targets */
  }
}

/* Landscape Mode Fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 120vh;
  }

  .nav-menu {
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {
  .video-hero,
  .menu-toggle,
  .nav-menu,
  .cta-btn,
  .footer {
    display: none !important;
  }

  body {
    background: none;
    color: #000;
  }

  .container {
    width: 100%;
    max-width: none;
  }
}

/* ---------------------------------------------- */
/* Zusätzliche Animationen (Keyframes)            */
/* ---------------------------------------------- */

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideIn {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Du kannst beliebig weitere Codezeilen hinzufügen, 
   um das Stylesheet zu erweitern und zu verfeinern. */

/* --- Video-Hintergrund-Container --- */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Vollbild-Höhe */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Das Video selbst */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; /* Hinter Overlay und Content */
}

/* Overlay für abgedunkelten Effekt */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Inhalt über dem Video */
.video-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: #fff;
  padding: 20px;
}

/* Button z.B. wie deine cta-btn */
#mute-toggle {
  margin-top: 20px;
}

/* Optional: leichte Animationen */
.video-content h1 {
  animation: fadeInDown 1s ease;
}
.video-content p {
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
}

/* Keyframes (Beispiel) */
@keyframes fadeInDown {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Optional: Add a subtle shine effect to sections */
.intro-section::before,
.showcase-section::before,
.video-hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 70%);
animation: shine 10s linear infinite;
pointer-events: none;
}

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

/* Performance Optimizations */
img {
loading: lazy;
max-width: 100%;
height: auto;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
background: #d274ff;
border-radius: 5px;
}

/* Skeleton Loading */
.skeleton {
background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}

@keyframes loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}

/* Urgency Banner */
.urgency-banner {
background: linear-gradient(45deg, #ff4444, #ff6b6b);
color: white;
text-align: center;
padding: 10px;
font-weight: bold;
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.02); }
100% { transform: scale(1); }
}

/* FAQ Button Styles */
.faq-question {
width: 100%;
padding: 15px 20px;
background: #2a2a2a;
border: none;
border-radius: 5px;
color: #fff;
text-align: left;
font-size: 1.1rem;
cursor: pointer;
margin-bottom: 10px;
transition: all 0.3s ease;
position: relative;
}

.faq-question:hover {
background: #3a3a3a;
transform: translateX(5px);
}

.faq-question::after {
content: '+';
position: absolute;
right: 20px;
transition: transform 0.3s ease;
}

.faq-question.active::after {
transform: rotate(45deg);
}

.faq-answer {
display: none;
padding: 15px 20px;
background: #1c1c1c;
border-radius: 5px;
margin-bottom: 20px;
animation: fadeIn 0.5s ease;
}

/* Loading Animation */
.loading-skeleton {
background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}

/* Footer Improvements */
.footer-container {
padding: 40px 20px;
}

.footer-links {
display: flex;
gap: 20px;
margin: 20px 0;
}

.social-links {
display: flex;
gap: 15px;
font-size: 1.5rem;
}

.social-links a {
color: #d274ff;
transition: color 0.3s ease;
}

.social-links a:hover {
color: #e38bff;
}

/* Legal Pages Styling */
.legal-section {
padding-top: 100px;
min-height: calc(100vh - 200px);
}

/* Error Page Styles */
.error-page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.error-page h1 {
font-size: 8rem;
color: #d274ff;
margin-bottom: 20px;
animation: pulse 2s infinite;
}

/* Shopping Cart Styles */
.cart-icon {
position: relative;
font-size: 1.5rem;
cursor: pointer;
}

.cart-count {
position: absolute;
top: -8px;
right: -8px;
background: #d274ff;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
}

.cart-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #2a2a2a;
padding: 20px;
border-radius: 10px;
z-index: 1000;
}

.bundle-modal .modal-content {
max-width: 600px;
}

.bundle-options {
display: grid;
gap: 20px;
margin-top: 20px;
}

.bundle-option {
background: #333;
padding: 20px;
border-radius: 10px;
text-align: center;
}

.bundle-option button {
background: #d274ff;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
margin-top: 10px;
cursor: pointer;
transition: background 0.3s ease;
}

.bundle-option button:hover {
background: #e38bff;
}

/* Notification Styles */
.notification {
position: fixed;
bottom: 20px;
right: 20px;
background: #d274ff;
color: white;
padding: 15px 25px;
border-radius: 5px;
animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
z-index: 1000;
}

/* Product Features List */
.features-list {
text-align: left;
margin: 15px;
background: rgba(210, 116, 255, 0.1);
padding: 15px;
border-radius: 5px;
}

.features-list ul {
list-style: none;
}

.features-list li {
margin: 10px 0;
display: flex;
align-items: center;
gap: 10px;
}

.features-list li::before {
content: '✓';
color: #d274ff;
font-weight: bold;
}

/* Social Proof */
.social-proof {
background: rgba(210, 116, 255, 0.2);
padding: 10px;
border-radius: 5px;
margin: 15px;
font-weight: 600;
}

/* Blog Styles */
.blog-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 60px 0;
}

.blog-post {
background: #2a2a2a;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease;
margin: 40px auto; /* center the blog post */
max-width: 800px;
background: #222;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.blog-post:hover {
transform: translateY(-5px);
}

.post-content {
padding: 20px;
text-align: center;
}

.post-meta {
color: #888;
font-size: 0.9rem;
margin-bottom: 15px;
}

.read-more {
color: #d274ff;
font-weight: 600;
display: inline-block;
margin-top: 15px;
}

.blog-post .featured-image {
width: 100%;
height: auto;
border-radius: 5px;
margin-bottom: 20px;
}
.blog-post h1 {
font-size: 2.5rem;
margin-bottom: 15px;
color: #fff;
line-height: 1.2;
}
.blog-post .post-meta {
font-size: 0.9rem;
color: #ccc;
margin-bottom: 20px;
}
.blog-post .post-meta span {
margin-right: 10px;
}
.blog-post .content {
font-size: 1rem;
line-height: 1.8;
color: #ddd;
text-align: justify;
}
.blog-post .content p {
margin-bottom: 15px;
}
.blog-post .tags {
margin-top: 20px;
}
.blog-post .tags a {
display: inline-block;
background: #d274ff;
color: #fff;
padding: 5px 10px;
border-radius: 20px;
margin-right: 10px;
font-size: 0.8rem;
text-decoration: none;
transition: background 0.3s ease;
}
.blog-post .tags a:hover {
background: #e38bff;
}

/* Comparison Tool Styles */
.compare-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 40px;
}

.compare-feature {
background: #2a2a2a;
border-radius: 10px;
padding: 30px;
text-align: center;
position: relative;
}

.compare-feature.premium {
background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(210, 116, 255, 0.2);
}

.best-value {
position: absolute;
top: -15px;
right: -15px;
background: #d274ff;
color: white;
padding: 5px 15px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
}

/* --- Enhanced Button Styles --- */
.cta-btn,
.product-buy,
.buy-now,
form button[type="submit"] {
display: inline-block;
padding: 12px 25px;
background: linear-gradient(45deg, #d274ff, #e38bff);
color: #fff;
border: none;
border-radius: 30px;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
text-decoration: none;
box-shadow: 0 4px 15px rgba(210, 116, 255, 0.2);
}
.cta-btn:hover,
.product-buy:hover,
.buy-now:hover,
form button[type="submit"]:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
background: linear-gradient(45deg, #e38bff, #d274ff);
}

/* Modify Product Buy Button to center itself within its container */
.product-buy,
.buy-now {
display: block;
width: max-content;
margin: 20px auto; /* center the button horizontally */
}

/* (Optional) Adjust text inside product card for better alignment */
.product-card p,
.product-item p {
text-align: center;
}

/* --- Blog Hero Section --- */
.blog-hero {
position: relative;
background: linear-gradient(45deg, #121212, #292929);
color: #f0f0f0;
text-align: center;
padding: 100px 20px;
}
.blog-hero .hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.blog-hero .hero-content {
position: relative;
z-index: 2;
}

/* Customizable Star Ratings */
.product-rating {
font-size: 1rem;
color: #f1c40f; /* gold-ish star color */
margin: 10px 0;
}
.product-rating span {
color: #ccc;
font-size: 0.9rem;
margin-left: 5px;
}

.section, .hero-section, .container {
  background-color: transparent; /* or adjust as needed */
  /* ...existing code... */
}

main {
  margin-top: 80px; /* adjust based on your header's height */
}

.align-button {
  display: inline-block;
  margin-top: 1rem; /* adjust as needed for uniform alignment */
}

/* Featured Products Section Improvements */
.featured-products {
  padding: 40px 20px;
  overflow: hidden;
}

.product-carousel {
  gap: 25px;
  padding: 20px 10px;
  margin: 0 -10px;
  scroll-padding: 20px;
}

/* Style for the popup */
.popup-notification {
  position: fixed;
  bottom: 30px;  /* Increase bottom margin to give space */
  left: 20px;
  background-color: #212121;  /* Dark background for contrast */
  color: #fff;
  padding: 20px 30px;  /* Increase padding to make the box larger */
  border-radius: 12px;  /* Slightly rounded corners */
  visibility: hidden; /* Initially hidden */
  opacity: 0; /* Start with invisible state for smoother transition */
  transform: translateY(20px); /* Start with the popup below its position */
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s; /* Smooth transition */
  align-items: center;
  font-family: Arial, sans-serif;
  z-index: 9999;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);  /* Subtle shadow effect */
  max-width: 400px;  /* Increase max-width for a bigger pop-up */
  width: auto;
  font-size: 16px;  /* Increase font size */
}

.popup-content {
  display: flex;
  align-items: center;
}

.popup-img {
  width: 60px;  /* Increase profile image size */
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;  /* Adjust margin to maintain spacing */
  object-fit: cover;  /* Ensure the image fits inside the circle */
}

.popup-notification p {
  margin: 0;
  line-height: 1.6;  /* Increase line height for readability */
}

.popup-notification p span {
  font-size: 14px;  /* Increase font size for the time */
  color: #bbb;  /* Lighter color for the time */
}

/* When the popup is shown */
.popup-notification.show {
  visibility: visible; /* Make the popup visible */
  opacity: 1; /* Make the popup fully visible */
  transform: translateY(0); /* Move it to its original position */
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s; /* Smooth transition */
}

/* Media queries for mobile and tablet screens */
@media (max-width: 1024px) {
  .popup-notification {
    display: none; /* Hide the pop-up for devices with a screen width of 1024px or less */
  }
}

/* Cookie Compliance Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #101010;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  z-index: 10000;
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-accept-btn {
  margin-left: 20px;
  padding: 8px 16px;
  background: linear-gradient(45deg, #d274ff, #e38bff);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.cookie-banner .cookie-accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 116, 255, 0.3);
  background: linear-gradient(45deg, #e38bff, #d274ff);
}
