header {
    z-index: 1000;
}

body {
    font-family: Arial, sans-serif;
    background-color: #6a227c;
    /*background-image: url('images/background_clear.PNG'); /* Bilddatei im gleichen Ordner */
    background-size: cover; /* Skaliert das Bild auf Bildschirmgröße */
    background-position: center; /* Zentriert das Bild */
    background-attachment: fixed; /* Bild bleibt beim Scrollen fix */
    text-align: center;
    padding: 20px;
    padding-top: 100px; /* Höhe des Banners (inkl. Padding) */
}

/* Banner */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ff9800;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  padding: 10px 0;
  font-family: Arial, sans-serif;
  z-index: 1000;
}

/* Laufender Text */
.banner__text {
  display: inline-block;
  padding-left: 100%;
  /* Animation pausiert bei Hover */
  animation: scroll-left 12s linear infinite;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Keyframes für Laufschrift */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optional: Responsive Schriftgröße
@media (max-width: 600px) {
  .banner__text {
    font-size: 1rem;
  }
} */


/*main {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0,8);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}*/

/* Standard: Hamburger-Button ausblenden */
.hamburger {
    display: none; /* Versteckt den Button auf großen Bildschirmen */
}

/* Kasten weiß mit runden Ecken - Textausrichtung mittig*/
.container {
    background: rgba(255, 255, 255, 0.8); /* 80% weiß, 20% transparent */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für besseren Kontrast */
}

/* Abstand für Sprungziele */
[id] {
  scroll-margin-top: 200px; /* Höhe deines Headers */
}


/* Logo */
.logo {
    width: 150px; /* Größe anpassen */
    height: auto;
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}
nav {
    background-color: #333;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 48px;
    left: 0;
    text-align: center;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 12px;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Produktbereich */
.produkt {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* Badges für Bestseller/Neues Produkt Sticker */
.produkt.bestseller,
.produkt.neu {
  position: relative; /* stellt sicher, dass absolute Positionierung innerhalb dieses Containers wirkt */
}

/* Badge für Bestseller-Sticker */
.produkt.bestseller .badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #ff6600;       /* auffälliges Orange – frei wählbar */
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 5;
}

/* „Neu im Sortiment“-Badge (grün) */
.produkt.neu .badge-new {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #28a745;       /* frisch-grüner Ton */
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 5;
}

/* Produktbilder 
.produkt img {
    width: 250px;
    height: auto;
    border-radius: 5px;
    margin-right: 20px;
} */

.produktbild {
  width: 250px;
  height: auto;
  border-radius: 5px;
}

/* Nur in Slideshows: zunächst ausblenden */
.produkt-bilder:not(.einfach) .produktbild {
  display: none;
}


/* Produktbild statisch ohne Slider */

.produkt-bilder.einfach {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Produktbild mehrere mit Slider */
.produkt-bilder {
  position: relative;
  width: 250px;
  margin-right: 20px;
  margin-bottom: 20px;
  text-align: center;
  overflow: hidden;
}

.bilder-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

/* Pfeile */
.produkt-bilder button.prev,
.produkt-bilder button.next {
  width: 40px;
  height: 40px;
  color: black;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.produkt-bilder.einfach button {
  display: none;
}

.produkt-bilder button.prev {
  left: 5px;
}

.produkt-bilder button.next {
  right: 5px;
}

/* Produktinformationen */
.produkt-info {
    flex: 1;
    text-align: left;
}

/* Preis und Buchen-Button nebeneinander */
.preis-und-button {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

/* Preis */
.preis {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Buchungs-Button */
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}


/* Beschreibung über die gesamte Breite */
.beschreibung {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* Lieferkostenrechner */

.lieferkosten { max-width: 520px; margin: 20px auto; }
.lieferkosten input { width:100%; padding:10px; border:1px solid #ccc; border-radius:6px; }
.lieferkosten button { margin-top:10px; padding:10px 14px; border:0; border-radius:6px; cursor:pointer; background:#007bff; color:#fff; }

/* Tabelle Lieferkosten */

.kosten-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1.05rem;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}
  
.kosten-tabelle thead {
    background-color: #f0f0f0;
  }
  
.kosten-tabelle th,
.kosten-tabelle td {
    border: 1px solid #ddd;
    padding: 12px 15px;
}
  
.kosten-tabelle tr:nth-child(even) {
    background-color: #fafafa;
}

/* Referenzen */

.ref-bilder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ref-bilder img,
.ref-bilder video {
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Hochformat-Bilder/Videos: zwei nebeneinander */
.ref-bilder img.hoch,
.ref-bilder video.hoch {
  width: 48%;
}

/* Querformat-Bilder/Videos: alleine in der Zeile */
.ref-bilder img.quer,
.ref-bilder video.quer {
  width: 100%;
}


/* Modal Fenster */

#bookingModal {
    display: none;
    position: fixed;
    top: 10%;
    left: 30%;
    width: 40%;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #aaa;
    z-index: 1000;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 90vh;
}

/* reCaptcha */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}


/* send_booking Feedback Style */
.feedback {
    font-size: 1.25rem;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
  
.feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}
  
.feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}


/* Responsive Design für Smartphones */
@media (max-width: 768px) {
    body {
      font-family: Arial, sans-serif;
      background-color: #6a227c;
      /*cbackground-image: url('images/background_clear_media.jpg');
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      background-attachment: fixed; */
      text-align: center;
      padding: 20px;
      padding-top: 100px; /* Höhe des Banners (inkl. Padding) */

    }

    /*main {
        width: 80%;
        margin: 20px auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0,8);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }*/

    /* Kasten weiß mit runden Ecken */
    .container {
        background: rgba(255, 255, 255, 0.8); /* 80% weiß, 20% transparent */
        padding: 20px;
        border-radius: 10px;
        width: 80%;
        max-width: 600px;
        margin: 50px auto;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für besseren Kontrast */
    }

    /* Produktbereich */
    .produkt {
        flex-direction: column; /* Statt nebeneinander -> untereinander */
        text-align: center;
        padding: 15px;
    }

    /* Badge für Bestseller/Neues Produkt Sticker */

    .produkt.bestseller,
    .produkt.neu {
      display: flex;
      flex-direction: column;      /* Elemente untereinander anordnen */
      align-items: flex-start;     /* Linksbündig starten */
    }

    .produkt.bestseller .produkt-bilder,
    .produkt.bestseller .badge,
    .produkt.bestseller .produkt-info,
    .produkt.neu .produkt-bilder,
    .produkt.neu .badge-new,
    .produkt.neu .produkt-info {
      order: unset;                 /* Reset der Reihenfolge */
    }

    /* Spezifische Reihenfolge: Bild → Badge → Info */
    .produkt.bestseller .produkt-bilder,
    .produkt.neu .produkt-bilder {
      order: 1;
      width: 100%;
    }
    .produkt.bestseller .badge,
    .produkt.neu .badge-new {
      position: static;             /* Löst das Absolute auf */
      order: 2;
      font-size: 1.25rem;
      margin: 10px 0;               /* Abstand um Badge herum */
      align-self: flex-end;         /* Rechtsbündig im Column-Layout */
      transform: none;              /* ggf. Scale hier zurücksetzen */
    }
    .produkt.bestseller .produkt-info,
    .produkt.neu .produkt-info {
      order: 3;
      width: 100%;
    }

    .produkt img {
        width: 100%; /* Bild wird in voller Breite angezeigt */
        max-width: 300px; /* Aber nicht zu groß */
        align-items: center;
        margin-bottom: 10px;
    }

    /* Produktinformationen */
    .produkt-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .preis-und-button {
        flex-direction: column; /* Button unter dem Preis */
    } 
    
    /* Preis */
    .preis {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .logo {
        width: 75px; /* Größe anpassen */
        height: auto;
        position: fixed;
        top: 135px;
        right: 10px;
    }
    
    /* Hamburger-Button */
    .hamburger {
        display: block;
        font-size: 24px;
        background: none;
        color: white;
        border: none;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    /* Menü anzeigen, wenn es aktiv ist */
    nav.active ul {
        display: flex;
    }

    /* Tabelle Lieferkosten */

    .kosten-tabelle {
        font-size: 0.95rem;
      }
    
      .kosten-tabelle th,
      .kosten-tabelle td {
        padding: 10px;
      }

    /* Referenzen */

    .ref-bilder img.hoch,
    .ref-bilder img.quer,
    .ref-bilder video.hoch,
    .ref-bilder video.quer {
        width: 100%;
    }

    /* Booking Modal fenster */

    #bookingModal {
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        padding: 15px;
        }
    
      #bookingModal input,
      #bookingModal select,
      #bookingModal button {
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
        }
    
      .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }

/* send_booking Feedback Style */

.feedback {
        font-size: 1rem;
        padding: 15px;
        margin: 20px 10px;
        width: 90%;
    }
    
    .feedback.success {
        background-color: #e2f5e9;
        border-width: 1px;
    }
    
    .feedback.error {
        background-color: #fbeaec;
        border-width: 1px;
    }


}