/* Produktbereich */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.product-gallery {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.main-slider {
    width: 100%;
    height: auto;
}

.main-slider img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.thumbs-slider {
    width: 100%;
}

.thumbs-slider img {
    width: auto;
    height: auto;
    max-height: 100px;  /* Neu */
 /*   max-width: 100px;   Neu */
    border-radius: 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
}

.thumbs-slider .swiper-slide-thumb-active img {
    opacity: 1;
}


.product-info {
    flex: 1 1 40%;
}

.product-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 30px;
    color: var(--primary-color);
}


/* Preis-Block (normale & Sale-Variante) */
.price {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    font-size: 32px;
    color: var(--danger-color);
    font-weight: 700;
    margin: 20px 0 10px;
}

.price-current {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--font-color);
}

.price--sale .price-current {
    color: var(--danger-color);             /* Aktionspreis hervorheben */
}

.price-old {
    padding-left: 20px;
    font-size: 1.2rem;
    color: var(--dark-grey);
    font-weight: 500;
    opacity: 0.8;
    text-decoration: line-through !IMPORTANT;
}
.price-aktion-info {
    font-size: 1.2rem;
    color: var(--danger-color);
    font-weight: 600;
    opacity: 0.7;
}



.mwstversand {
    font-size: 15px;
    color: var(--dark-grey);
    margin-bottom: 15px;
}

.ordernumber {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.delivery-time {
    /*color: green;*/
    font-weight: 600;
    margin-bottom: 25px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: left; /* zentriert, kann auch left/right je nach Wunsch */
    margin-top: 20px;
}

.buy-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 300px;
    text-align: center;
}

.buy-button:hover {
    background-color: var(--accent-color);
}

.quote-button {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 300px;
    text-align: center;
}

.quote-button:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}



/* Card-Stil */
.details, .features, .faq {
    margin-top: 40px;
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.details h2, .features h2, .faq h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

body.darkmode .details,
body.darkmode .features,
body.darkmode .faq {
    background: #1e1e1e;
}

/* Tabellen */
.features table {
    width: 100%;
    border-collapse: collapse;
}

.features th, .features td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.features th {
    background: var(--secondary-color);
    text-align: left;
}

/* Tabellen */
table {
    width: 60%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

th {
    background: var(--secondary-color);
    text-align: left;
}

@media (max-width: 1440px) {
    .thumbs-slider img {
    max-height: 100px;  /* Neu */
    max-width: 100px;   /* Neu */
    }
}

@media (max-width: 1024px) {
    .thumbs-slider img {
    max-height: 75px;  /* Neu */
    max-width: 75px;   /* Neu */
    }
}
/* Responsive Navigation & Layout */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 20px;
    }

    .product-gallery {
        width: 95%;
        flex: none;
        justify-content: center;
    }

    .main-slider {
        width: 100%;
        max-width: 100%;
    }

    .main-slider img {
        width: 100%;
        height: auto;
        max-height: 60vh;  /* <-- Begrenzung der Bildhöhe auf max. 60% der Viewporthöhe */
        object-fit: contain;
        display: block;
    }
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    .buy-button {
        margin: 5px auto;
        width: 90%;
    }
    .quote-button {
        margin: 5px auto;
        width: 90%;
    }
    .thumbs-slider {
        display: none;
    }
}
