/* Quicksearch */
.ba-quicksearch .ba-quicksearch__row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px !important;
  align-items: flex-end;
	margin: 0 !important;
	padding: 0 !important;
}

.ba-quicksearch select,
.ba-quicksearch button {
	color: #fff;
	padding-left: 24px;
	padding-right: 24px;
}

.ba-quicksearch button {
	margin-top: 16px !important;
}

.ba-quicksearch button span {
	font-size: 24px !important;
}	

.ba-quicksearch__field {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.ba-quicksearch__field label {
	display: none;
}


/* Listing Wrapper */
.ba-offers {
  margin: 0;
}

/* Direkt wirkende Elemente: stehen bewusst außerhalb des Filter-Kastens */
.ba-direct-controls {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}

.ba-direct-controls__left,
.ba-direct-controls__right {
  display: flex;
  gap: 0.75em;
  flex-wrap: wrap;
  align-items: center;
}

.ba-abschluss {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.ba-view-toggle {
  display: flex;
  gap: 0.35em;
}

/* Eigentliche Filterbox */
.ba-filter-box {
  border-radius: 20px;
  padding: 32px 64px;
  background-color: var(--awb-color4);
	color: #fff;
}

.ba-filter-box__headline {
  font-weight: 700;
  margin-bottom: 0.85em;
	display: none;
}

.ba-filters__advanced {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1em;
}

@media (max-width:1024px) {
  .ba-filters__advanced {
    grid-template-columns: 1fr;
	  padding: 16px;
  }
	.ba-filter-box {
		 padding: 0px;
	}
}

.ba-col label {
  display: inline-block;
  margin-bottom: .35em;
}

.ba-btn {
  appearance: none;
  border: 1px solid #000;
  border-radius: 50px;
  padding: 10px 32px;
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
	background-color: #fff;
	font-size: 22px;
	color: #000;
}
.ba-btn:hover {
	background-color: #fff;
	border: 1px solid var(--awb-color5);
	color: var(--awb-color5);
}

.ba-btn.is-active {
	background-color: var(--awb-color5);
	border: 1px solid #fff;
	color: #fff;
}
.ba-btn.is-active:hover {
	background-color: #fff;
	border: 1px solid var(--awb-color5);
	color: var(--awb-color5);
}

.ba-filter-box .ba-btn {
	background-color: rgba(255, 255, 255, 0.55);
	border: 1px solid #fff;
	font-size: 18px;
	padding: 10px 24px;
	color: #000;
}
.ba-filter-box .ba-btn:hover {
	background-color: #fff;
	color: #000;
}

.ba-filter-box .ba-btn.ba-mode-btn.is-active {
	background-color: var(--awb-color5);
	color: #fff;
}
.ba-filter-box .ba-btn.ba-mode-btn.is-active:hover {
	background-color: #fff;
	border: 1px solid var(--awb-color5);
	color: var(--awb-color5);
}

.ba-filter-box .ba-btn.ba-primary,
.ba-filter-box .ba-btn.ba-secondary {
	font-size: 14px;
}

.ba-filter-box .ba-btn.ba-primary {
	background-color: var(--awb-color5);
	color: #fff;
}
.ba-filter-box .ba-btn.ba-primary:hover {
	background-color: #fff;
	border: 1px solid var(--awb-color5);
	color: var(--awb-color5);
}


.ba-iconbtn {
  appearance: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.18);
  background: transparent;
  border-radius: 50px;
  cursor: pointer;
}

.ba-iconbtn.is-active {
  background: rgba(0,0,0,.08);
}

.ba-offers .ba-select {
  min-width: 200px;
  max-width: 100%;
	color: #fff;
	padding-left: 8px;
	padding-right: 4px;
	height: 44px;
}

.ba-offers .ba-sort .ba-select {
	color: #000;
	border: 1px solid rgba(0, 0, 0, .18);
}

@media (max-width:1024px) {
	.ba-btn {
		padding: 8px 16px;
		font-size: 20px;
	}
  .ba-offers .ba-select {
    min-width: 0;
    width: 100%;
  }
}

.ba-mode-switch {
  display: flex;
  gap: .5em;
}

.ba-mode-switch .ba-btn {
  flex: 1;
}

.ba-duration {
  margin-top: .9em;
}

.ba-duration__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75em;
  margin-bottom: .35em;
}

.ba-dual-range {
  position: relative;
  height: 32px;
  --a: 0%;
  --b: 100%;
}

.ba-dual-range__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 4px;
  background-color: #fff;
}

.ba-dual-range__range {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 4px;
  background-color: var(--awb-color5);
  left: var(--a);
  right: calc(100% - var(--b));
}

.ba-range {
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  bottom: 0;
  width: 100%;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
	z-index:1;
}

.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
	border: 1px solid #fff;
  background-color: var(--awb-color5);
  pointer-events: auto;
  cursor: pointer;
}

.ba-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
	border: 1px solid #fff;
  background-color: var(--awb-color5);
  pointer-events: auto;
  cursor: pointer;
}

.ba-range::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.ba-range::-moz-range-track {
  height: 4px;
  background: transparent;
}

.ba-right-top {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ba-flags,
.ba-degree {
  display: flex;
  gap: 16px;
	font-size: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.ba-switch {
  display: inline-flex;
  gap: .5em;
  align-items: center;
}

.ba-check {
  display: inline-flex;
  gap: .5em;
  align-items: center;
}

.ba-right-top .ba-flags {
  margin-left: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ba-actions {
  margin-top: 1em;
  display: flex;
  gap: .6em;
  flex-wrap: wrap;
}

.ba-results {
  margin-top: 1em;
}

.ba-results__status {
  margin: .75em 0;
}

.ba-results__list {
  display: flex;
  flex-direction: column;
  gap: .75em;
}

.ba-offer {
  display: flex;
  gap: 1em;
  align-items: stretch;
	border-radius: 20px;
	background-color: var(--awb-color2);
  padding: 1em;
  text-decoration: none;
  color: inherit;
}

.ba-offer__img {
  flex: 0 0 130px;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
}

.ba-offer__img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-offer__img-placeholder {
  width: 100%;
  height: 100%;
}

.ba-offer__body {
  flex: 1;
  min-width: 0;
}

.ba-offer__title {
  font-weight: 700;
  margin-bottom: .35em;
}

.ba-offer__excerpt {
  margin-top: .25em;
}

.ba-offer__meta {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
	color: var(--awb-color4);
	justify-content: center;
	padding-left: 32px;
	border-left: 1px solid #000;
}

.ba-meta-line {
  display: flex;
  gap: .6em;
  align-items: center;
  justify-content: flex-start;
}

.ba-meta-line i {
  width: 18px;
  text-align: center;
  opacity: .9;
}

.ba-empty {
  padding: 1em;
  border: 1px dashed rgba(0,0,0,.25);
  border-radius: 6px;
}

.ba-is-loading {
  opacity: .7;
}

/* Grid-Ansicht */
.ba-view--grid .ba-results__list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1em;
}

@media (max-width:1024px) {
  .ba-view--grid .ba-results__list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px) {
  .ba-view--grid .ba-results__list {
    grid-template-columns: 1fr;
  }

  .ba-offer {
    flex-direction: column;
  }

  .ba-offer__meta {
    flex: 0 0 auto;
  }
}

.ba-view--grid .ba-offer {
  flex-direction: column;
}

.ba-view--grid .ba-offer__img {
  width: 100%;
  flex: 0 0 auto;
}

.ba-view--grid .ba-offer__meta {
  width: 100%;
  flex: 0 0 auto;
	border: 0 none;
	padding-left: 0;
}

.ba-view--grid .ba-offer__excerpt {
  display: none;
}