/* Allgemeine Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}




/* Hero-Video */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffd700;
    text-decoration: underline;
}

footer a:hover {
    color: #ffffff;
}

/* Bestseller Karten */
#bestsellers .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#bestsellers .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#bestsellers .btn {
    background-color: #007bff;
    border: none;
}

#bestsellers .btn:hover {
    background-color: #0056b3;
}





.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.product-image .hover {
    opacity: 0;
    transform: rotateY(180deg);
}

.product-image:hover .default {
    opacity: 0;
    transform: rotateY(180deg);
}

.product-image:hover .hover {
    opacity: 1;
    transform: rotateY(0deg);
}




/* wasserhärte rechner modal */
.calculator-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 1050; /* Ensure it appears above other content */
}

.calculator-icon img {
    width: 70px; /* Adjust size as needed */
    height: auto;
}

/* Allgemeine Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: #004080;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

.logo {
    display: block;
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    padding: 10px 0;
}

/* Parallax Sections */
.parallax-section {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.parallax-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}





/* Product Banner Section */
#product-banners {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.product-banner {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: rgb(2, 60, 94);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-banner.left {
    flex-direction: row;
}

.product-banner.right {
    flex-direction: row-reverse;
}

.banner-content {
    flex: 1;
    padding: 20px;
    text-align: left;
    background-color: rgb(45, 135, 187);
}

.banner-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #004080;
}

.banner-content p {
    font-size: 1rem;
    color: #555;
}

.product-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}




#premium-bestsellers {
    background-color: #d3f1ff;
    padding: 80px 0;
}


.banner-floating-title {
    position: absolute;
    top: -25px;
    left: 50px;
    background-color: #004080;
    color: white;
    padding: 8px 25px;
    border-radius: 5px;
    font-size: 1.8rem;
    z-index: 1;
}



.banner-info {
    flex: 1;
    padding-right: 40px;
}

.banner-info h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 2px 0;
    position: relative;
    padding-left: 25px;
    color: #ffffffce;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d571e;
}

.price-tag {
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
    margin: 20px 0;
}


.banner-image img:hover {
    transform: scale(1.3);
}

.btn-primary {
    background-color: #004080;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 64, 128, 0.3);
}


.bestseller-banner:nth-child(even) .banner-content {
    flex-direction: row-reverse;
}

.bestseller-banner:nth-child(even) .banner-info {
    padding-right: 0;
    padding-left: 40px;
}

.bestseller-banner:nth-child(even) .banner-floating-title {
    right: 50px;
    left: auto;
}

.banner-content {
    display: flex;
    background: linear-gradient(155deg, rgba(14, 155, 236, 0.8) 30%, rgba(38, 189, 38, 0.8) 80%);
    
    border-radius: 25px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
    overflow: visible;
    padding: 40px;
    margin-top: 40px; /* Increased top margin */
    max-width: 1000px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(8px);
}

.banner-info {
    flex: 0 0 70%;/*flex grow: wird nicht größer - flex shrink: wird nicht kleiner - flex basis: wird nicht verändert*/
    padding-right: 40px;
}
/**/


.banner-image {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    /* max-height: 100%; produkt image im container kleiner drinne*/
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.banner-image:hover img {
    transform: scale(1.3) translateY(-10px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.bestseller-banner:nth-child(even) .banner-image {
    left: -50px;
    right: auto;
}

.bestseller-banner {
    position: relative;
    margin-top: 40px;
    margin-bottom: 120px; /* Increased spacing between banners */
    padding: 20px 0;
}

.bestseller-banner .banner-image img {
    max-width: 140px; /* gewünschte Breite anpassen */
    height: auto;     /* Höhe automatisch anpassen, damit das Bild nicht verzerrt wird */
}

