/* Fahrzeugbereich: Website-Schrift und lokal gespeicherte Lucide-Icons. */
.etauto-page,
.etauto-page button,
.etauto-page input,
.etauto-page select,
.etauto-page textarea,
#favorite-drawer,
#favorite-drawer button {
  font-family: "Lato", sans-serif;
}
.etauto-page .custom-btn,
button.favorite-float {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.etauto-page .custom-btn > span:not(.vehicle-icon) { min-width: 0; }
.etauto-page .custom-btn:focus-visible,
button.favorite-float:focus-visible {
  outline: 3px solid #b72d3b;
  outline-offset: 3px;
}
.vehicle-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentColor;
  -webkit-mask: var(--vehicle-icon) center / contain no-repeat;
  mask: var(--vehicle-icon) center / contain no-repeat;
  vertical-align: middle;
}
.vehicle-icon--heart { --vehicle-icon: url('/images/lucide/heart.svg'); }
.vehicle-icon--printer { --vehicle-icon: url('/images/lucide/printer.svg'); }
.vehicle-icon--mail { --vehicle-icon: url('/images/lucide/mail.svg'); }
.vehicle-icon--phone { --vehicle-icon: url('/images/lucide/phone.svg'); }
.vehicle-icon--arrow-right { --vehicle-icon: url('/images/lucide/arrow-right.svg'); }
.vehicle-icon--list { --vehicle-icon: url('/images/lucide/list.svg'); }
.vehicle-icon--layout-grid { --vehicle-icon: url('/images/lucide/layout-grid.svg'); }
.vehicle-icon--car { --vehicle-icon: url('/images/lucide/car.svg'); }
.vehicle-icon--chevron-right { --vehicle-icon: url('/images/lucide/chevron-right.svg'); }
.vehicle-icon--chevron-left { --vehicle-icon: url('/images/lucide/chevron-left.svg'); }
.vehicle-icon--calendar { --vehicle-icon: url('/images/lucide/calendar.svg'); }
.vehicle-icon--gauge { --vehicle-icon: url('/images/lucide/gauge.svg'); }
.vehicle-icon--fuel { --vehicle-icon: url('/images/lucide/fuel.svg'); }
.vehicle-icon--settings-2 { --vehicle-icon: url('/images/lucide/settings-2.svg'); }
.vehicle-icon--trash-2 { --vehicle-icon: url('/images/lucide/trash.svg'); }
.vehicle-icon--sliders-horizontal { --vehicle-icon: url('/images/lucide/sliders-horizontal.svg'); }
.vehicle-heading,
.vehicle-actions,
.vehicle-toolbar,
.vehicle-view-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.vehicle-heading { justify-content: space-between; }
.vehicle-heading h1 { flex: 1 1 460px; min-width: 0; overflow-wrap: anywhere; }
.vehicle-actions { flex: 0 1 auto; }
.vehicle-toolbar { justify-content: space-between; }
.vehicle-view-switch { gap: 8px; }
.vehicle-view-switch .custom-btn[aria-pressed="true"] {
  color: #9e2331;
  background: #fff3f4;
  border-color: #b72d3b;
}
.etauto-page .vehicle-phone span:not(.vehicle-icon) { white-space: nowrap; }
.etauto-page .vehicle-meta { font-size: 14px; gap: 10px 14px; }
.etauto-page .vehicle-meta .vehicle-icon { width: 16px; height: 16px; flex-basis: 16px; }
.etauto-page .vehicle-title { font-size: 20px; font-weight: 900; line-height: 1.35; }
.etauto-page .vehicle-price-actions { gap: 12px; }
.vehicle-results[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
}
.vehicle-results[data-view="grid"] > .vehicle-item { margin: 0 !important; }
.vehicle-results[data-view="grid"] .vehicle-row {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: 0;
  gap: 16px;
}
.vehicle-results[data-view="grid"] .vehicle-row > * {
  width: 100%;
  padding-left: 0;
  margin-top: 0;
  flex: 0 0 auto;
}
.vehicle-results[data-view="grid"] .vehicle-row > .uk-width-expand { flex: 1 1 auto; }
.vehicle-results[data-view="grid"] .vehicle-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
}
.vehicle-results[data-view="grid"] .vehicle-price-actions { align-items: flex-start; text-align: left !important; }
.etauto-page .uk-pagination { flex-wrap: wrap; }
.etauto-page .uk-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; }
@media (max-width: 1199px) {
  .etauto-page .vehicle-view-switch .custom-btn { padding-inline: 12px; }
  .vehicle-results[data-view="grid"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .vehicle-actions { width: 100%; }
  .vehicle-actions .custom-btn { flex: 1 1 130px; }
  .vehicle-toolbar { align-items: flex-start; }
  .etauto-page .vehicle-row { flex-wrap: wrap; row-gap: 16px; }
  .etauto-page .vehicle-row > * { width: 100%; flex: 0 0 100%; }
  .etauto-page .vehicle-image img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; }
  .etauto-page .vehicle-price-actions { align-items: flex-start; text-align: left !important; }
}
@media print {
  .vehicle-actions, .favorite-float, #favorite-drawer, #kontakt-form,
  .etauto-page aside .custom-btn { display: none !important; }
}
