.image-background-list {
    position: relative;
    height: 250px;
    background-image: url(https://autohaus-baumann.de/wp-content/uploads/2025/04/img-baumann-list.webp);
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.image-background-list .overlay-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: rgba(1, 44, 95, 0.7); /* Transparente schwarze Überlagerung */
    z-index: 1; /* Über der Hintergrundgrafik platzieren */
    display: flex; /* Flexbox für Zentrierung aktivieren */
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
    text-align: center; /* Text zentrieren */
}

.image-background-list .overlay-list h1 {
    color: white; /* Textfarbe */
    font-size: 40px; /* Schriftgröße */
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0; /* Standardabstände entfernen */

}


.kg-card-filter-list .card-header {
    background-color:transparent;
    border-bottom: none;
}

.kg-card-filter-list .card-body {
    padding-top: 0px;
}
.btn-filter-result-list {
    position: relative;
    display: inline-flex;
    text-align: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    min-height: 32px;
    min-width: 32px;
    padding: 4px 16px;
    margin: 0px;
    border-radius: 500px;
    transition: 0.1s ease-in-out;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    line-height: 1.5;
    font-weight: normal;
}

.btn.btn-filter-result-list:hover {
    color: #333;
    background: rgb(0, 176, 239);
    border: 1px solid rgb(0, 176, 239);
}

.kg-list-filter-select .form-control {
    opacity: unset;
    pointer-events: auto;
    height: auto;
    width: 100%;
    padding: 1px 14px 0px 6px;
    color: #333;
    background: transparent;
    //box-shadow: rgb(1, 44, 95) 0px 0px 0px 1px;
    font-size: 1rem;
    transition: 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
    border-radius: 6px;
}

.kg-list-filter-select .form-control:hover {
    color:  rgb(255, 255, 255);
    background: rgb(1, 44, 95);
    border: 2px solid rgb(0, 176, 239);
}

/*
.kg-list-filter-select .form-control:focus {
    color: #333;
    background: rgb(0, 176, 239);
    border: 1px solid rgb(0, 176, 239);
}
*/

.kg-list-filter-select .filter-select-active {
    color:  rgb(255, 255, 255);
    background: rgb(1, 44, 95);
}

.kg-list-view-block h3 a {
    font-size: 18px !important;
    font-weight: bold !important;
    color: var(--list-view-block-h3);
}

.kg-list-view-block .list-group-item {
    padding: 0px;
}

.kg-main-info-container ul {
    font-size: 14px;
}

.kg-list-view-block .kg-list-icon li i {
    margin-right: 10px;
    font-size: 16px;
    width: 22px;
}

.kg-emission_sticker {
    height: 29px;
}

.energy_efficiency_class {
    float: left;
    padding-right: 10px;
}

.kg-energy-images {
    padding: 5px;
}

.kg-main-info-container {
    border-bottom: 1px solid rgba(0,0,0,.1);;
    margin-bottom: 5px;

    position:relative;
    overflow:hidden;
}

.kg-price_offer {
    background-color: #ededed;
    color: #000;
    margin-bottom: 10px;
    padding: 5px 5px 5px 10px;
    border-top: 5px solid var(--main-color);
}
.kg-price_offer span {
    font-weight: bold;
    font-size: 24px;
}


.kg-price_new {
    padding: 0px 5px 0px 10px;
}

.kg-price_new span {
    font-weight:bold;
    font-size:20px;
}

.kg-reduced-price {
    color: rgba(65, 65, 65, 0.6)
}

.kg-uvp-outer {
    position: relative;

}
.kg-uvp-outer:before {
    position: absolute;
    content: "";
    left: 0;
    top: 45%;
    right: 0;
    border-top: 2px solid;
    color: #c52514;

    -webkit-transform:rotate(-9deg);
    -moz-transform:rotate(-9deg);
    -ms-transform:rotate(-9deg);
    -o-transform:rotate(-9deg);
    transform:rotate(-9deg);
}

.kg-calc-rate {
    font-size: 24px;
    padding: 0px 5px 0px 10px;
}

.kg-calc-rate span {
    font-size: 14px;
}

.kg-calc-rate .fa {
    font-size: 16px;
}

.kg-result-campaign {
    position:absolute;
    top:25px;
    right:-90px;
    width: 340px;
    background-color: var(--ation-main-color);
    color:rgb(255, 255, 255);
    transform: rotate(39deg);
    border-bottom:2px solid rgb(255, 255, 255);
    padding:5px 0px 5px 41px;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
}

/**
like it Button
 */

.kg-image-container {
    overflow: hidden;
    position: relative;
}

.container .btn-notice {
    position: absolute;
    top: 66%;
    right: 0px;
    transform: translate(-12%, -10%);
    -ms-transform: translate(-12%, -10%);
    background-color: rgba(67, 69, 72, 0.3);
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}

/* Lists properties */

.wpb_wrapper .kg-list-icon {
    padding-left: 15px;
}

.wpb_wrapper .kg-pagination-container .pagination {
    padding-left: 0px;
}

.wpb_wrapper .kg-pagination-container .pagination .page-link {

    padding: .4rem 0.6rem;
    color: #434548;

}

.wpb_wrapper .kg-pagination-container .pagination .page-item.active .page-link {

    padding: .4rem 0.6rem;
    color: #fff;
    background-color: #434548;
    border-color: #434548;

}

.kg-list-head {
    padding-bottom: 15px;
}

/* pagination */

.kg-pagination-container {
    padding-top: 15px;
    padding-bottom: 30px;

}

.page-link {
    cursor: pointer;
}

.kg-generated-link {
    color: #333;
    font-size: 10px;
}

/* filter menu */

.filter-list-view {
    top: 70px;
    z-index: 50;
}

.kg-detail-filter label{
    font-size: 12px;
}

.kg-detail-filter  .form-check-inline {
    margin: 0px;
}


/* start media queries */

@media (max-width: 992px) {

    .kg-price_offer {
        color: #333;
        margin-bottom: 10px;
        padding: 0px;
        border-top: none;
    }

    .kg-result_price {
        background-color: #ddd;
        color: #333;
        padding: 5px 5px 5px 10px;
        margin-top: 5px;
        border-top: 5px solid  var(--main-color);
    }

    .kg-calc-rate {
        padding: 0px;
    }


    .kg-calc-rate-overwrite {
        background-color: #FFF! important;
        z-index: 100;
    }

    .kg-calc-rate-overwrite {
        background-color: #FFF! important;
        z-index: 100;
    }

    .vw-calc-info-btn {
        color: var(--main-bg-color) !important;
    }

    .kg-calc-rate .fa {
        font-size: 16px;
    }

    .kg-calc-rate .fa.fa-info-circle {
        font-size: 18px;
    }


    .kg-calc-rate span {
        font-size: 15px;
    }

    .kg-price {
        margin-top: 4px;
    }

    .kg-energy-content {
        height: 53px;
        line-height: 1.0;
        padding-top: 6px;
    }
    .kg-energy-images {
        padding-left: 0px;
        padding-top: 9px;
        padding-bottom: 8px;
    }

    /* menu filter*/

    .filter-list-view {
        padding-bottom: 0px;
    }

}

@media (max-width: 768px) {

    .kg-price_new {
        padding: 0px;
    }

    .kg-energy-content {
        height: auto;
        padding-top: 6px;
        padding-bottom: 8px;
    }
}

@media (min-width: 769px) and (max-device-width : 1024px) {
    .kg-price_offer span{
        font-size: 20px;
    }
}