.seo-heins-headline {
  text-wrap: wrap !important;
}

@media (max-width: 768px) {
  #filter-button {
    background-color: #e3232e;
  }
}

.main_car .right_detail_car #anfrageFormular input[type="submit"] {
  width: 100%;
  padding: 20px;
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}

.details-link {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  /* Abstand oben hinzufügen */
  text-align: center;
  /* Text zentrieren */
  line-height: 30px;
  /*   Abstand zwischen den Zeilen erhöhen */
}

.auto-item .auto-item-second .auto-price {
  height: 44px;
  margin-top: 0;
  margin-left: auto;
  line-height: 30px;
  /*  Abstand zwischen den Zeilen erhöhen */
  color: #000;
  width: 49%;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding-top: 9px;
  text-decoration: none;
  padding-bottom: 15px;
  white-space: nowrap;
  margin-bottom: 0 !important;
}

.auto-item .auto-item-second a.details-link {
  height: 44px;
  margin-top: 0;
  margin-left: auto;
  line-height: 30px;
  /* Abstand zwischen den Zeilen erhöhen */
  color: #000;
  width: 49%;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding-top: 9px;
  text-decoration: none;
  padding-bottom: 15px;
}

.auto-item .auto-item-second .btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auto-price {
  background: #af091d !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.details-link {
  background: #af091d !important;
  white-space: nowrap;
  color: #ffffff !important;
}

#email-senden input[type="submit"] {
  background-color: #af091d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
}

.autoforce1-list .pagination span.current,
.autoforce1-list .pagination a:hover {
  background-color: #af091d !important;
  border: 1px solid #000;
  color: #ffffff !important;
}

.main_car .right_detail_car #auto-preis {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 23px;
  font-weight: bold;
  /* margin: 20px 0; */
  background-color: #af091d !important;
  padding: 9px 24px;
  height: 44px;
  text-align: center;
  border-bottom-left-radius: 10px;
  width: auto;
}

.slider-nav .slick-slide.slick-current {
  border: 5px solid #af091d;
}

@media only screen and (max-width: 768px) {
  .price_and_back {
    display: flex;
    margin-bottom: 0 !important;
    white-space: nowrap;
  }

  .price_and_back > div {
    width: 50%;
  }

  .price_and_back #auto-preis {
    font-size: 23px;
    font-weight: bold;
    background-color: #af091d;
    padding: 9px 24px;
    height: 44px;
    text-align: center;
    /*       border-bottom-left-radius: 10px; */
    margin-top: 0.5px;
    white-space: nowrap;
  }

  .price_and_back #back-button {
    white-space: nowrap;
    text-align: center;
    height: 45px;
    padding: 0px 0;
  }

  .price_and_back a {
    line-height: 1.4;
    /* Zeilenhöhe leicht reduziert für kompaktere Darstellung */
  }

  .main_car .left_detail_car {
    border-bottom: 0;
  }

  .main_car .left_detail_car {
    border-bottom: 0;
  }

  .right_detail_car #auto-preis,
  .right_detail_car #back-button {
    display: none;
  }

  .autoforce1-filter {
    width: 100%;
    margin-bottom: 20px;
  }

  .autoforce1-filter form label {
    margin-top: 5px;
  }

  .autoforce1-list {
    width: 100%;
  }

  .main_car .left_detail_car {
    width: 100%;
    /* 		margin-bottom:20px; */
    margin-bottom: 0px !important;
  }

  .main_car .right_detail_car {
    width: 100%;
  }

  .slider-nav {
    display: none !important;
  }

  .left_detail_car .price_and_back {
    display: flex;
    margin-bottom: 0px !important;
    white-space: nowrap;
  }

  .main_car .left_detail_car #back-button {
    width: 50%;
  }

  .autoforce1-list .pagination span.current,
  .autoforce1-list .pagination a:hover {
    background-color: #af091d !important;
    border: 1px solid #000;
    color: #ffffff !important;
  }

  .main_car .left_detail_car #back-button a {
    color: #fff;
    background-color: #000;
    padding: 10px 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border-radius: 0;
    height: 44px;
    width: 100%;
    text-align: center;
  }

  .carousel {
    margin-bottom: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .carousel img {
    max-width: 100% !important;
    /*         height: auto !important; */
  }

  .main_car .right_detail_car {
    border-top: 0;
  }

  .main_car .right_detail_car #auto-titel {
    margin-top: 0;
    display: none;
  }

  .main_car .left_detail_car #auto-ausstattung {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  .main_car .left_detail_car #auto-titel {
    display: block;
    padding: 0 15px;
    font-size: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .autoforce1-filter form button {
    margin-top: 20px;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 15px;
    color: #ffffff !important;
    background-color: #e3232e !important;
  }
}

@media screen and (max-width: 420px) {
  .price_and_back > div {
    width: 50% !important;
  }

  .price_and_back #auto-preis {
    font-size: 18px;
    padding: 9px 15px;
  }

  .price_and_back #back-button a {
    font-size: 16px !important;
  }

  .price_and_back #back-button {
    display: flex !important;
    align-items: center !important;
  }
}
