body {
    font-family: Barlow;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #f4f4f4;
    color: #333;
    padding-bottom: 0;
    padding-top: 10px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); 
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
}

main {
    padding-top: 170px;
    text-align: center;
}

section {
    margin-bottom: 20px;
}







.Rabattcode {
    color: #c0b37f;
}

.img-Logo {
    height: 70px;
}

.img-Unterstrich {
    height: 23px;
}

.img-Unterstrich2 {
    max-width: 60%;
    height: auto;
}

.img-Homepage {
    max-width: 100%;
    height: auto;
}

.img-Produkt {
    max-width: 250px;
    height: auto;
}

.img-socialmedia {
    height: 30px;
}


.kaufbutton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    background-color: #f4f4f4;
    color: #333;
    padding: 10px 10px;
    text-align: center;  
}






.heights-distance {
    margin-top: 180px;
}

.heights-distance-homepage {
    margin-top: 50px;
    margin-bottom: 50px;
}

.menu-link {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
}

.mail {
    color: #333;
    text-decoration: none;
    margin-left: 0px;
}

.mail:hover {
    text-decoration: underline;
}

.kmpm-design {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-decoration: none;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    box-sizing: border-box;
}

.left-image, .right-image {
    width: 290px; /* Breite der Bilder anpassen */
    height: auto;
}

.left-image {
    margin-right: 20px; /* Abstand zwischen linkem Bild und Text */
}

.right-image {
    margin-left: 20px; /* Abstand zwischen rechtem Bild und Text */
}

.text {
    flex-grow: 1;
    text-align: center;
}

/* Responsive Design für Handy-Ansicht */
@media (max-width: 768px) {
    .left-image, .right-image {
        display: none; /* Bilder werden in der Handy-Ansicht ausgeblendet */
    }

    .text {
        width: 100%; /* Text nimmt die volle Breite ein */
    }
}








.word1 {
    font-size: 20px;
    color: #333;
    margin-right: 10px; /* Abstand zwischen den Wörtern */
}

.word2 {
    font-size: 24px;
    color: #c0b37f;
    font-weight: bold;
}







.product-list {
    display: flex;
    flex-wrap: wrap; /* Produkte werden in der mobilen Ansicht untereinander gestapelt */
    justify-content: center; /* Zentriert die Produkte */
    gap: 20px; /* Abstand zwischen den Produkten */
    padding: 20px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 11%; /* Abgerundete Ecken */
    padding: 20px;
    width: calc(25% - 40px); /* Zwei Produkte pro Reihe auf Desktop */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Stellt sicher, dass die inneren Elemente die abgerundeten Ecken respektieren */
}

.product2 {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5%; /* Abgerundete Ecken */
    padding: 20px;
    width: calc(50% - 20%); /* Zwei Produkte pro Reihe auf Desktop */
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Stellt sicher, dass die inneren Elemente die abgerundeten Ecken respektieren */
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 11%; /* Abgerundete Ecken für das Bild */
}

.product h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.product .price {
    font-size: 1.2em;
    color: #c0b37f;
    font-weight: bold;
}

.product a {
    text-decoration: none;
    color: inherit;
}

.product a:hover {
    opacity: 0.8;
}

/* Responsive Design für Handys */
@media (max-width: 768px) {
    .product {
        width: calc(100% - 40px); /* Ein Produkt pro Reihe auf Handys */
    }

    .product-list {
        flex-direction: column; /* Produkte werden untereinander gestapelt */
        align-items: center; /* Zentriert die Produkte */
    }
}








/* Grundlegende Stile für das Video-Container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 Seitenverhältnis (Standard für Desktop) */
    overflow: hidden;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video füllt den Container aus */
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .video-container {
        padding-top: 100%; /* Quadratisches Seitenverhältnis (1:1) für Mobilgeräte */
    }

    video {
        object-fit: contain; /* Das gesamte Video wird sichtbar sein, ohne abgeschnitten zu werden */
    }
}







.container2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.gallery {
    position: relative;
    width: 50%;
    max-width: 600px;
    overflow: hidden;
    margin-right: 20px; /* Abstand zwischen Galerie und Inhalt */
    border-radius: 100px;
}

.gallery-container {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    
}

.gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
    transition: opacity 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Glattere Übergänge */
.gallery-container {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .gallery {
        overflow: hidden;
    }
    
    .gallery-container {
        -webkit-overflow-scrolling: touch;
    }
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.content {
    width: 50%;
    max-width: 400px;
    text-align: left;
    margin-top: 0;
}

.text2 {
    margin: 20px 0;
    font-size: 20px;
    color: #333;
}

.text2 h1 {
    font-size: 2em;
    margin: 0 0 20px 0;
}

@media (max-width: 768px) {
    .product {
        margin-bottom: 30px;
    }
}

.link-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #c0b37f;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 20px;
}

.link-button2 {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 20px;
}

.img-Button {
    height: 30px;
}

.link-button:hover {
    background-color: white;
}

.link-button2:hover {
    background-color: #c0b37f;
}



.price {
    font-size: 2em;
    color: #303030;
}

.price2 {
    font-size: 15px;
    color: #303030;
}

#section1 {
    scroll-margin-top: 200px; /* Passe den Wert an die Höhe deines Headers an */
}






.amazon-logo img {
    height: 1em; /* Passt die Höhe des Bildes an die Schriftgröße der h2 an */
    width: auto; /* Behält das Seitenverhältnis des Bildes bei */
    margin-left: 0.1em; /* Fügt einen kleinen Abstand zwischen "über" und dem Bild ein */
    margin-right: 0.1em; /* Fügt einen kleinen Abstand zwischen dem Bild und dem "?" ein */
    position: relative;
    top: 10px; /* Verschiebt das Bild um 4 Pixel nach unten */
}

.tiktok-logo img {
    height: 1.6em; /* Passt die Höhe des Bildes an die Schriftgröße der h2 an */
    width: auto; /* Behält das Seitenverhältnis des Bildes bei */
    margin-left: 0.1em; /* Fügt einen kleinen Abstand zwischen "über" und dem Bild ein */
    margin-right: 0.1em; /* Fügt einen kleinen Abstand zwischen dem Bild und dem "?" ein */
    position: relative;
    top: 10px; /* Verschiebt das Bild um 4 Pixel nach unten */
}


/* Wrapper-Container für die horizontale Zentrierung */
.wrapper {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: flex-start; /* Oben beginnen (vertikal) */
   
    background-color: #f4f4f4; /* Hintergrundfarbe */
}

/* Text-Container */
.text-container {
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left; /* Text linksbündig ausrichten */
    margin-top: 20px; /* Optional: Abstand vom oberen Rand */
}

/* Text-Stil */
p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

























/* MOBILE OPTIMIERUNGEN */
@media (max-width: 768px) {
    .container2 {
        flex-direction: column;
        align-items: center;
    }

    .gallery, .content {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .gallery {
        margin-bottom: 20px;
    }

    .prev-btn, .next-btn {
        display: none; /* Buttons auf Mobile ausblenden */
    }

    .gallery-container {
        -webkit-overflow-scrolling: touch; /* Momentum-Scrolling für iOS */
    }
}



/* PERFORMANCE OPTIMIERUNGEN */
.gallery-item {
    backface-visibility: hidden;
    perspective: 500px;
    transform-style: preserve-3d;
}

/* Verhindert Layout-Shifting beim Laden */
.gallery-container::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.03);
    z-index: -1;
}