/**
    CSS File fuer neues Design vom Fahrzeugbestand 2026
 */

.swiper-button-next, .swiper-button-prev, .btn {
    border-radius: 12px;
}

#detailViewThumbSlider .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 0.4s;
}

#detailViewThumbSlider .swiper-slide-thumb-active {
    opacity: 1;
}

#detailViewThumbSlider .swiper-slide-thumb-active img{
    border: 0.1px solid var(--main-color);
}

#detailViewThumbSlider .swiper-slide img, #detailViewMainSlider .swiper-slide img {
    border-radius: 12px !important;
}

#detailViewMainSlider {
    margin-bottom: 12px;
}

#detailViewMainSlider img {
    width: 100%;
}

.detail-go-back {
    width: 40px;
    align-content: center;
    display: inline-block;
    transition: 0.4s;
}

.detail-go-back:hover {
    transform: scale(1.1);
}

.detail-go-back:active {
    transform: scale(0.9);
}

.kg-spec-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.kg-location-detail {
    margin-top: 5px;
}

.kg-matrix-card {
    padding: 0;
    margin-bottom: 12px;
}

.kg-matrix-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px #0000000A !important;
}

.kg-spec-grid i {
    width: 16px;
    margin-right: 5px;
}

.kg-campaign-label {
    width: fit-content;
    margin-bottom: 12px;
}

.kg-campaign-label:nth-child(1) {
    margin-left: 40px;
}

.kg-matrix-action {
    display: flex;
    margin-left: -15px;
}

.kg-campaign-label {
    margin-top: 4px;
    padding: 2px 6px !important;
}

.kg-rate p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .kg-matrix-card {
        margin-top: 12px !important;
    }

    .kg-mobile-padding {
        padding: 0 !important;
    }

    .swiper-button-next, .swiper-button-prev {
        transform: scale(0.8);
    }

    .detail-go-back {
        display: none;
    }

    .kg-campaign-label:nth-child(1) {
        margin-left: 0;
    }

    #btn-show-pricealert {
        margin-bottom: 0px !important;
    }
}

.kg-detail-header {
    display: flex;
    align-items: flex-start;
}

.kg-detail-title {
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swiper-slide {
    cursor: pointer;
}

.kg-rate a {
    font-weight: 400;
    font-size: 15px;
}

#kg-detail-similar-swiper {
    padding: 20px 0;
}

#kg-detail-similar-swiper:after {
    content: '';
    width: 40px;
    height: 100%;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

#kg-detail-similar-swiper:before {
    content: '';
    width: 40px;
    height: 100%;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.swiper-slide {
    background: transparent !important;
}

.kg-matrix-card div[style*="overflow-y: auto"]::-webkit-scrollbar {
    width: 6px;
}
.kg-matrix-card div[style*="overflow-y: auto"]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.kg-matrix-card div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.kg-matrix-card div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
    background: var(--main-color, #888);
}

#data_protection, #privacy_policy {
    align-self: start;
}

.kd-conditions {
    font-size: 15px;
    line-height: 17px;
}

.kg-conditions-container {
    display: flex;
    gap: 12px;
    padding-left: 0;
}


.kg-detail-vehicle-description {
    padding: 24px !important; background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); max-height: 1164px;
}

.kg-detail-vehicle-description h3 {
    font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--main-bg-color);
}

.kg-detail-vehicle-description > div {
    line-height: 1.7; color: #444; overflow-y: auto;
}

.kg-desktop-left-padding {
    padding-right: 0;
    padding-left: 15px;
}

#vehicleInquiry {
    padding: 24px !important; background: #fff; border-radius: 12px; border-top: 4px solid var(--main-bg-color);
}

#vehicleInquiry h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 0;
}

/* Detailseite */
div#vwCalculation, .vv-calculation-container label {
    font-size: 15px;
    line-height: 17px;
}


/* Ausstattung */
.kg-bento-features {
    display: block;
}

.kg-feature-cat-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.kg-feature-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kg-feature-pill {
    background: #f4f6f8;
    color: #333;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.kg-feature-pill i {
    color: var(--main-bg-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

.kg-feature-pill:hover {
    background: #fff;
    border-color: var(--main-bg-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .kg-feature-pill {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .kg-detail-vehicle-description {
        max-height: 700px;
        overflow-x: hidden;
    }

    #kg-detail-similar-swiper:after,
    #kg-detail-similar-swiper:before {
        content: none;
    }

    .kg-ansprechpartner-img {
        width: 40px !important; height: 40px !important;
    }

    .kg-ansprechpartner-position {
        font-size: 7px;
    }

    #mobileSitenav {
        display: none !important;
    }

    .kg-seal img {
        max-width: 100px !important;
    }

    .kg-detail-card-ausstattung {
        min-height: 0;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .kg-detail-vehicle-description {
        max-height: 1235px;
    }

    #financingExample {
        padding-left: 0 !important;
    }
}

.kg-detail-card-new {
    padding: 24px !important; background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.kg-detail-card-new h3 {
    font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--main-bg-color);
}

.financing-offer-container {
    padding: 24px !important; background: var(--main-bg-color); border-radius: 12px; color: #fff;
}

.financing-offer-h3 {
    font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; color: #fff;
}

.financing-offer-rate {
    font-size: 2rem; font-weight: 800; line-height: 1;
}

.kg-ansprechpartner-img {
    width: 80px; height: 80px; object-fit: cover;
}

.kg-seal img {
    max-width: 100%;
    margin-left: 0;
}

.kg-detail-card-ausstattung {
    min-height: 1164px;
}

.kg-price-right .kg-rate a span{
    margin-top: 0;
    font-size: 20px !important;
    font-weight: bold !important;
    position: relative;
}

#goToFinancingAfterRender, #request, #pricealert_form btn-success {
    background: var(--main-gw-bg-color) !important;
}

.kg-consumption {
    font-size: 17px !important;
    line-height: 19px !important;
}

.kg-price-alert-header {
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.kg-price-alert-header h3{
    display: inline-block;
    width: 90%;
}

.kg-price-alert-header i {
    margin-left: 10px;
    font-size: 20px;
    color: var(--main-color);
}

.table_wltp {
    width: 100% !important;
}

