

.auto3-grid-section{
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
}


.auto3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width:100%;
}


.auto3-card {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}





.auto3-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}



.auto3-grid-section .numberofoffers{
font-size:24px;
color:#fff!important;
}




.d-flex-date p.auto3-price + p.auto3-price {
 color:#f7941d!important;
}


.card-title-section{
  border-bottom:1px solid #dee2e6;
}


.card-emmision-section{
  border-top:1px solid #dee2e6;
  padding-top:10px;
}


 .auto3-card-content{
   display: flex;
   flex-direction: column;
}


.card-title-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111!important;
  line-height: 1.3;
  margin-bottom: 0px;
  padding-top: 15px;

}


.card-title-section,
.card-emmision-section p{ 
  padding-left: 15px;
}

.card-emmision-section p{ 
  padding-right: 15px;
}

.card-body-section {
  padding: 15px;
}

.model-description{
white-space: nowrap; 
overflow: hidden; 
text-overflow: ellipsis; 
max-width: 200px;
}

.auto3-price {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.auto3-km {
  color: #555;
  font-size: 0.9rem;
}



.d-flex-date{
  display: flex;
  flex-wrap:wrap;
  width: 100%;
  align-items: center;
 font-size:13px;
}


.d-flex-date p{
  display: flex;
  color: #111!important;
}


.d-flex-date p + p{
  margin-left: 10px;
}

.d-flex-date p.seatbells + p.seatbells{
  margin-left:0px;

}

.d-flex-date p span {
  margin-right: 2px;
}


.card-emmision-section p{
  font-size:12px;
}


/* pagination */


.pagination{
 text-align:center;
 margin-top:60px;
}

.pagination-dots,
.auto3-page-link,
.page-numbers{
 text-align: center;
 position: relative;
 margin: 2px;
 font-size: 20px;
 display: inline-block;
 height: 37px;
 line-height: 34px;
 text-align: center;
 width: auto;
 min-width: 37px;
 border-radius: 4px;
 -webkit-transition: all .3s;
 -o-transition: all .3s;
 transition: all .3s;
 vertical-align: top;

border: 2px solid #f7941d!important;
/*border: 2px solid #054163!important;*/
color: #f7941d!important;
/*color: #054163!important;*/
background-color:#fff!important;
}



.cvf-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;

}





.pagination .current,
.auto3-page-link.active{
background-color:#f7941d!important;
/*background-color:#054163!important;*/
color:#fff!important;
}

.disabled{
  display:none;
}


/* slider */


.fahrzeugliste-slider {
width: 100%;
max-width: 1200px;
}

.slider-wrapper{
max-width:1300px;
margin:auto;
padding:50px 0;
}

.fahrzeugliste-slider.swiper {
 padding-bottom: 25px!important; 
padding-left:5px;
padding-right:5px;
}
.slider-wrapper .swiper-slide {
min-height: 480px; /* or whatever you prefer */
display: flex;
align-items: stretch;
}


.swiper-slide .auto3-card {
width: 100%;
display: flex!important;
flex-direction: column!important;
}


.slider-wrapper .auto3-prev,
.slider-wrapper .auto3-next {
  cursor: pointer;
  font-size: 2rem;
  user-select: none;
  padding: 10px;
  color: #333;
}



.swiper-button-next, .swiper-button-prev {
color:#000!important;
}


.slider-wrapper .swiper-button-next{
right:0px;
}

 
.slider-wrapper .swiper-button-prev {
left:0;
top:50%!important;
    //rotate: 180deg;
}

/* Optional: if slider is overflow:hidden, force visibility */
.fahrzeugliste-slider-wrapper {
  position: relative;
  overflow: visible; /* important */
}




.slider-wrapper .swiper-button-next:after,
.slider-wrapper .swiper-button-prev:after {
 
  /* font-family:"Font Awesome 5 Free"!important;*/
  /* font-weight: 600 !important; */
}


.slider-wrapper .swiper-button-next:after{
  /* content: "\f105";*/ /* Font Awesome icon for arrow right */

}

.slider-wrapper .swiper-button-prev:after {
  /* content:"\f104"*/ /* Font Awesome icon for arrow left */

}


.swiper-button-prev{
   
}


/* Optional: responsive text tweaks */


@media (max-width: 1265px) {
.slider-wrapper .swiper-button-next,
.slider-wrapper .swiper-button-prev{
bottom: 3px;
top: auto !important;
}

.slider-wrapper .swiper-button-prev {
    left: 30% !important;
 right: auto!important;
     /*transform: translateX(-100%); */
    /* optional: Abstand zum rechten Pfeil */
    /* margin-right: 10px; */
  }

  /* rechter Pfeil: bei 50% der Breite, kein Rück-Offset */
  .slider-wrapper .swiper-button-next {
    left: auto;
     right:30% !important;
    transform: translateX(0);
    margin-left: 10px;
  }


}

@media (max-width: 1230px) {
  .slider-wrapper {
 padding-left:20px;
 padding-right:20px;
  }

}

@media (max-width: 1160px) and (min-width: 1100px) {
  .d-flex-date.getrieb p+p {
    margin-left: 0px;
}

.d-flex-date.getrieb {
  flex-direction: column;
  align-items: baseline;
}

}

@media (min-width: 830px) and (max-width: 874px) {
 .d-flex-date.getrieb p+p {
    margin-left: 0px;
}

.d-flex-date.getrieb {
  flex-direction: column;
  align-items: baseline;
}
}





@media (max-width: 767px) {
  .auto3-card-img img {
    height: 100%;
  }
}




@media (max-width: 500px) {
  .auto3-card-content h3 {
    font-size: 0.95rem;
  }
  .auto3-price {
    font-size: 1rem;
  }
}







.auto3-grid-section p.numberofoffers{
 color:#3d3d3d!important;
}







/* 1) Make all slides in the row the same height */
.fahrzeugliste-slider .swiper-wrapper{
  align-items: stretch;               /* key */
}

/* 2) Each slide should be flexible and auto-height */
.fahrzeugliste-slider .swiper-slide{
  display: flex;                      /* so child can stretch */
  height: auto !important;            /* ignore fixed heights */
}

/* 3) Anchor must fill the slide (yours already does on one item) */
.fahrzeugliste-slider .swiper-slide > a{
  display: flex;
  width: 100%;
  height: 100%;
}

/* 4) Card fills the slide and uses column layout */
.auto3-card{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 5) Middle content grows; footer sticks to bottom */
.auto3-card-content{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-emmision-section{
  margin-top: auto;                   /* pins footer to bottom */
  border-top: 1px solid #eee;
  padding: 12px 16px;
}

/* Optional: keep image area consistent */
.auto3-card-img img{
  width: 100%;
  object-fit: cover;
  display: block;
}



/* 1) Cards container: equal-height columns */
.auto3-cards {                     /* parent of all .auto3-card items */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;            /* make every grid item same row height */
}

/* 2) Card: full height, vertical layout */
.auto3-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 3) Image takes a fixed ratio; content grows; footer stays at bottom */
.auto3-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auto3-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;                         /* fill available height */
 
}

/* Title block: reserve consistent space + ellipsis after N lines */
.card-title-section {              /* tune these two to your type scale */
  --lines: 2;
  --lh: 1.3;
  min-height: calc(var(--lines) * var(--lh) * 1em);
  margin-bottom: 12px;
}
.card-title-section h3,
.card-title-section .model-description {
  line-height: var(--lh);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title-section h3 { -webkit-line-clamp: 1; margin: 0 0 4px; }
.card-title-section .model-description { -webkit-line-clamp: 1; }

/* Body grows naturally */
.card-body-section { margin-top: 8px; }

/* Footer sticks to the bottom of the card */
.card-emmision-section {
  margin-top: auto;                /* pushes footer to bottom */
  padding: 12px 0px;
  border-top: 1px solid #eee;
}

}

