body {
    background-color: white;
    background-size: cover;
    background-position: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

#logo2 {
    height: 60px;
    width: auto;
    left: 0;
    margin-right: 20px;
    margin-left: auto;
}

#logodev {
  position: fixed;
  top: 15px;               
  left: 50%;                
  transform: translateX(-50%);  
  height: 60px;
  width: auto;
  z-index: 10000;           
}


/*----------------------------------------------------*/
.navfull {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    z-index: 10000;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    letter-spacing: 2px;
}


.navfull nav {
    display: flex;
    align-items: center;
}

.navfull .full-nav {
    color: #152c52;
    font-size: 1em;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
    margin: 5px;
}

.navfull .full-nav:hover {
    background-color: #ffaf2f;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    position: relative;
}

.nav-toggle {
    position: fixed;
    top:7px;
    left: 10px;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 2000;
    background: none; 
    scale: 0.8;
}

.warenkorb-toggle {
    position: fixed;
    top:7px;
    right: 5px;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 2000;
    scale: 0.8;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-menu ul li {
    margin: 20px 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #004d40;
    font-size: 1.2em;
}

.close-nav {
    background: none;
    border: none;
    font-size: 2em;
    color: #333;
    cursor: pointer;
    align-self: flex-end;
    padding: 10px;
    margin: 10px;
}

.nav-menu.open {
    transform: translateX(0);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    color: #285268;
    margin: 10px 0;
    padding: 15px;
    
}

ul li a {
    color: #285268;
    text-decoration: none;
    font-weight: bold;
}


.product-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.image-gallery {
  display: flex;
  gap: 20px;
  flex: 1 1 45%;
}

.thumbnail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: #00796b;
  opacity: 1;
}

.main-image-container {
  position: relative;
  flex-grow: 1;
}

.main-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  z-index: 10;
}

.image-nav:hover {
  background: rgba(0,0,0,0.5);
}

.image-nav.prev {
  left: 10px;
}

.image-nav.next {
  right: 10px;
}

.product-info {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.product-info h1 {
  font-size: 2.2em;
  color: #222;
  margin-bottom: 10px;
  hyphens: auto;
  word-break: break-word;
}

.product-price {
  font-size: 1.6em;
  color: #00796b;
  margin-bottom: 15px;
  font-weight: bold;
}

.product-usps {
  list-style: disc;
  margin: 20px 0;
  padding-left: 20px;
  color: #444;
}

.variant-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.variant-options label {
  font-size: 1.1em;
  cursor: pointer;
}

.variant-options .out-of-stock {
  color: #999;
  text-decoration: line-through;
}

.add-to-cart-btn {
  background-color: #004d40;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.add-to-cart-btn:hover {
  background-color: #00796b;
}

.product-description {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}


#product-highlights {
  background: #f9fbfc;
  padding: 80px 8%;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

/* Container Layout */
.highlights-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Linker Textblock */
.highlights-left {
  flex: 1 1 300px;
  min-width: 260px;
}

.highlights-left h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.highlights-left p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.highlight-btn {
  background-color: #ffb300;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 6px;
  transition: 0.3s;
  display: inline-block;
}

.highlight-btn:hover {
  background-color: #ffa000;
  transform: translateY(-2px);
}

/* Grid für Produkte */
.highlights-grid {
  flex: 2 1 700px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* ====================================================
   PRODUKTHIGHLIGHTS – GLEICHES DESIGN WIE PRODUKTBOXEN
   ==================================================== */

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  justify-items: center;
}

/* Produktkarte */
.highlight-card {
  background-color: #d6dee3;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  width: 200px;
  padding: 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
}

.highlight-card { position: relative; }
.highlight-card a { position: relative; z-index: 1; display:block; }
.warenkorb-btn {
  position: absolute; 
  right: 8px; 
  bottom: 8px; 
  z-index: 3000000;        /* über dem Link */
}


/* Hover-Effekt */
.highlight-card:hover {
  background-color: #e2e8ed;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

/* Produktbild */
.highlight-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background-color: white;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.highlight-card:hover img {
  transform: scale(1.03);
}

/* Produkttext */
.highlight-card h3 {
  font-weight: bold;
  font-size: 1em;
  color: #000;
  margin: 5px 0 3px;
  hyphens: auto;
  overflow-wrap: break-word;
  line-height: 1.3em;
  text-align: left;
}

.highlight-card p {
  font-size: 0.9em;
  color: #333;
  margin: 0 0 10px;
  text-align: left;
}

/* Preis + Warenkorb nebeneinander */
.preis-und-warenkorb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* Preisgestaltung */
.highlight-card strong {
  font-weight: 700;
  font-size: 1em;
  color: #000;
  margin: 0;
}

/* Warenkorb-Button */
.warenkorb-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  border: none;
  border-radius: 8px 0 0 0;
  padding: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  background-color: none;
}

.warenkorb-btn img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.warenkorb-btn:hover img {
  transform: scale(1.1);
  background-color: #37b735;
}

#vansy-footer {
  background-color: #1f3a46;
  color: #ffffff;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

/* ================================
   QUICK CART POPUP STYLING
   ================================ */

.quick-cart-popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000000;
  padding: 20px;
}

.quick-cart-content {
  background: white;
  width: 95%;
  max-width: 600px;
  border-radius: 18px;
  padding: 25px 30px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeInPopup 0.25s ease;
}

@keyframes fadeInPopup {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}

.popup-image {
  width: 140px;
  border-radius: 10px;
}

.popup-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
}

.popup-price {
  font-weight: bold;
  color: #0a8a26;
  font-size: 1.25rem;
}

.popup-variants {
  margin-bottom: 25px;
}

.variant-label {
  display: block;
  margin-bottom: 8px;
}

.variant-option {
  display: block;
  margin: 6px 0;
  font-size: 1rem;
}

.popup-add-btn {
  width: 100%;
  background: #02a63a;
  border: none;
  padding: 15px;
  color: white;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
}

.popup-add-btn:hover {
  background: #029334;
}

.popup-cancel {
  display: inline-block;
  margin: 0 auto;
  width: 100%;
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.95rem;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #ffb300;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #ffb300;
}

.payment-icons img {
  height: 28px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: 0.3s;
  color: white;
}

.payment-icons img:hover {
  opacity: 1;
}

.social-icons a img {
  width: 26px;
  margin-right: 12px;
  opacity: 0.8;
  transition: 0.3s;
}

.social-icons a img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 850px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .payment-icons, .social-icons {
    justify-content: center;
  }
}



.help-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.help-button:hover {
    background: #e68900;
}

/* Pop-up Fenster */
.help-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    width: 250px;
    z-index: 1000;
}

.help-popup a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background 0.2s;
}

.help-popup a:hover {
    background: #f1f1f1;
}

.help-popup .close-btn {
    text-align: right;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.thumbnail video,
.thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
}

.main-media {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}



@media (min-width: 1024px) {
   .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .close-nav {
        display: none;
    }

    #devheadline {
        display: none;
    }

    #logodev {
        display: none;
    }

    .smallhref {
        pointer-events: none;
    }

      #produkte {
    grid-template-columns: repeat(4, 1fr);
  }

  .warenkorb-toggle{
    display: none;
  }
}

@media (max-width: 1023px) {
    .navfull {
        display: none;
    }

    #übercontainer {
        display: block;

    }

    #filter-container {
        display: block;
        width: 90%;
        margin-bottom: 20px;
        background-color: #d6dee3;
    }

    #produkte-container {
        display: block;
    }

    .produktboxen {
        display: flex;
        align-items: center;
        /* Zentriert den Inhalt vertikal */
        margin-bottom: 20px;
        padding: 10px;
        border: 1px solid #ddd;
        background-color: #d6dee3;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .produktbild {
        width: 70%;
        height: auto;
        object-fit: cover;
        /* Verhindert Bildverzerrung */
        
    }

    .produkttext {
        flex-grow: 1;
        /* Nimmt den verfügbaren Platz ein */
        padding-left: 20px;
    }

    .smallhref {
        text-decoration: none;
    }

    #filter-container {
        margin-top: 50px;
    }

    #devheadline {
        display: flex;
        margin-top: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        color: #285268;
    }

    .highlights-container {
    flex-direction: column;
  }

.highlights-container {
    flex-direction: column;
  }

  .highlights-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px;
  scroll-snap-type: x mandatory;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

  #product-highlights {
    padding-bottom: 0;
    margin-bottom: -200px;
    margin-top: -50px; /* zieht den Bereich optisch nach oben */
  }

/* Damit nichts über die Seite hinausragt */
.highlights-container {
  max-width: 100%;
  overflow: hidden;
}

/* Jede Karte bleibt innerhalb */
.highlight-card {
  flex: 0 0 230px; /* gleiche Breite wie Desktop */
  scroll-snap-align: center;
  height: 300px;
  width: 150px;
}

.highlights-grid{
  margin-bottom: -220px;
  margin-top: -130px;
}

#vansy-footer{
  margin-top: 180px;
}

}

@media (max-width:768px) {

  .product-top{
    margin-top: 100px;
  }

  .product-info{
    padding: 10;
    width: 100%;
  }

  .quick-cart-popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 90vh;
  width: 90vw;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000000;
  padding: 20px;

}

.popup-info {
  min-width: 0;
}


.üpopup {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    overflow-wrap: break-word;
    white-space: normal;
    min-width: 0;  /* wichtig bei flex */
}




}


@media (max-width:480px) {
    html body {
        max-width: 480px;
        overflow-x: hidden;
    }

}