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;
}


/*-----------------------------------------------------*/

#übercontainer {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 90%;
  margin: 50px auto;
}

#filter-container,
#produkte-container {
    display: flex;
    flex-direction: column;
}

#filter-container {
    width: 20%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#filter-container {
  flex: 0 0 260px;  /* feste Filterbreite */
}


#produkte-container {
  flex: 1;         
  min-width: 0;     
}


.container {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    height: auto;
    margin: 50px auto;
    padding: 20px;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#overline {
    margin-top: 20px;
    padding: 0;
    height: 50px;
    font-size: 25px;
    width: 80%;
}

#inhalt {
    max-width: 800px;
    margin: 0 auto;
}

#headerimgfull{
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
}

#headerimgdev{
    display: none;
}

#headerimgfdev{
    width: 100%;
}
#headerimgffull{
    width: 100%;
}

#filter {
    display: flex;
    flex-direction: column;
}

/* Standard: Overlay verstecken */
.filter-overlay {
  display: none;
}

/* Button styling */
.filter-toggle {
  display: none;
  background: #285268;
  color: white;
  padding: 10px 20px;
  
}

.headerbild {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.headerbild h1 {
  position: absolute;
  bottom: 40px; /* Abstand vom unteren Rand */
  color: white;
  font-size: 2.8em;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  margin: 0;
  z-index: 10;
  text-align: left;
  left: 20px;
}

.intro-text {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

select,
input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    
}


.filterButton {
    background-color: #004d40;
    color: white;
    border: none;
    padding: 10px 20px;
    
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px 0;
    display: block;
    width: 100%;
    text-align: center;
}

.filterButton:hover,
.filterButton.active {
    background-color: #ffaf2f;
}

#produkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  justify-items: center;
}


.produktboxen {
  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;
}

/* sichtbarer Hover-Effekt */
.produktboxen:hover {
  background-color: #e2e8ed;              /* etwas heller */
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.produktlink{
    text-decoration: none;
}


/* --- Produktbild --- */
.produktbild {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background-color: white;
  border-radius: 4px;
  margin-bottom: 10px;
}

.produktboxen:hover .produktbild {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

/* --- Produkttext --- */
.produkttext {
  text-align: left;
  margin-top: 5px;
}

.product-title {
  font-weight: bold;
  font-size: 1em;
  color: #000;
  margin: 5px 0 3px;
  hyphens: auto;            /* erlaubt automatische Silbentrennung */
  overflow-wrap: break-word; /* bricht lange Wörter */
  word-wrap: break-word;
  line-height: 1.3em;
  text-align: left;
}

.produkttext p {
  font-size: 0.9em;
  color: #333;
  margin: 0 0 10px;
}

/* --- Preis + Warenkorb nebeneinander --- */
.preis-und-warenkorb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* --- Preis --- */
.preisgestalltung {
  font-weight: 700;
  font-size: 1em;
  color: #000;
  margin: 0;
}

/* --- Einkaufswagenbutton --- */
.einkaufwagenimg {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.einkaufwagenimg:hover {
  transform: scale(1.1);
  background-color: #37b735;
}


.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: 26px;
  height: 26px;
  display: block;
}

.warenkorb-btn:hover {
  transform: scale(1.1);
}

h3 {
    font-size: 1.5em;
    color: #285268;
    margin-top: 15px;
}

p {
    color: #777;
    margin: 10px 0;
}


#vansy-footer {
  background-color: #1f3a46;
  color: #ffffff;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

.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;
  }
}

h2 {
    color: #285268;
}

.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;
    z-index: 1000000;
}

.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);
    
    display: none;
    width: 250px;
    z-index: 1000;
}

.help-popup a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    
    transition: background 0.2s;
}

.help-popup a:hover {
    background: #f1f1f1;
}

.help-popup .close-btn {
    text-align: right;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

/* Standard (Live) → keine Bindestriche */
.product-title .hyphen {
  display: none;
}

/* In Dev-Umgebung → Bindestrich sichtbar */

/*__________________________________________*/
/* Overlay-Popup: standardmäßig AUS */
.quick-cart-popup{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}

/* Wenn aktiv → einblenden */
.quick-cart-popup.active{
  display: flex;
}

/* Box */
.quick-cart-content{
  background:#fff;
  width: 90%;
  max-width: 640px;
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
  display: flex;
  gap: 20px;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.close-btn{
  position:absolute;
  top:8px; right:12px;
  font-size:22px;
  cursor:pointer;
}

.popup-header{
  display:flex; gap:16px; align-items:flex-start;
}

.popup-header img{
  width:130px; height:auto; border-radius:8px; flex-shrink:0;
}

.popup-head-text h3{ margin:0; font-size:1.35rem; color:#1f2b38; }
.popup-head-text p{ margin:.25rem 0 0; font-weight:600; color:#286c2a; }
/*_________________________________________*/


@media (min-width: 1366px) {
      #produkte {
    grid-template-columns: repeat(5, 1fr);
  }

}

@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;
    }

}

@media (max-width:768px) {

    .container {
        width: 100%;
    }

    .produkttext {
        text-align: left;
    }

    .produktbild {
        width: 100%;
        height: auto;
    }
     .filter-toggle {
    display: inline-block;
    margin: 10px;
  }
  #filter-container {
    display: none;
  }

  .headerbild{
    margin-top: 100px;
    margin-bottom: -30px;
  }

  #headerimgf{
    margin-top: 100px;
  }

#headerimgdev{
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
}

    #headerimgfull{
    display: none;
  }

    #produkte {
    grid-template-columns: repeat(2, 1fr);
  }


/* Overlay & Drawer */
.filter-overlay.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000000;
}

.filter-drawer {
  background: white;
  width: 60%;
  max-width: 300px;
  height: 100%;
  padding: 20px;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  position: absolute;
  right: 0;
}

/* Close Button */
.filter-close {
  background: transparent;
  border: none;
  font-size: 1.5em;
  float: right;
}

/* Apply Button sticky */
.apply-filter {
  position: absolute;
  bottom: 60px;
  width: calc(100% - 40px);
  background: #ffaf2f;
  color: white;
  padding: 10px;
  
}
    body[data-env="dev"] .product-title .hyphen {
  display: inline;
}
.quick-cart-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
}

.quick-cart-popup.active {
  display: flex;
}

.quick-cart-content {
  background: #fff;
  width: 80%;
  max-width: 420px;      
  border-radius: 14px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header: Bild + Titel + Preis */
.popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.popup-header img {
  width: 130px;
  height: auto;
  border-radius: 8px;
  background: #f7f7f7;
}

.popup-head-text h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  color: #1f2b38;
  font-weight: 600;
}

.popup-head-text p {
  margin: 2px 0 0;
  font-weight: 600;
  color: #286c2a;
  font-size: 0.95rem;
}

/* Formular */
.quick-cart-content form {
  width: 100%;
  text-align: left;
  margin-top: 10px;
}

.quick-cart-content label {
  display: block;
  margin: 6px 0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.quick-cart-content input[type="radio"] {
  margin-right: 6px;
  accent-color: #004d40; /* Vansy-Farbe */
}

/* Button */
.popup-add-btn {
  background: #ffaf2f;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 8px;
}

.popup-add-btn:hover {
  background: #e69900;
}

/* Schließen */
.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover { color: #000; }

}


@media (max-width:480px) {
    html body {
        max-width: 480px;
        overflow-x: hidden;
    }

      #produkte {
    grid-template-columns: repeat(2, 1fr);
  }

        .produktboxen {
    width: 135px;
  }

  .produktbild {
    width: 70%;        
    height: 110px;      
    object-fit: contain; 
    margin: 0 auto;      
    display: block;
  }

    #übercontainer{
        width: 100%;
    }

    .container {
        width: 100%;
    }

    .produkttext {
        text-align: left;
    }


.preisgestalltung{
    margin-bottom: 25px;
}

}