html,
body {
  overflow-x: hidden;
}

.page-autoboerse {
  padding-top: 0;
}

.page-autoboerse .vehicle-card[hidden],
.page-autoboerse .vehicle-detail[hidden] {
  display: none !important;
}

.page-autoboerse .hero {
  padding-top: clamp(34px, 4.5vw, 68px);
  padding-bottom: clamp(30px, 4vw, 58px);
  min-height: clamp(380px, 42vw, 500px);
}

.page-autoboerse .hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.9rem);
  line-height: .92;
  max-width: 900px;
}

.page-autoboerse .hero p {
  max-width: 680px;
  font-size: clamp(1rem, 1.18vw, 1.2rem);
}

.page-autoboerse .section-head {
  margin-bottom: 18px;
}

.page-autoboerse .filter-row {
  margin-bottom: 20px;
}

.page-autoboerse .vehicle-card .vehicle-media {
  aspect-ratio: 2 / 1;
  max-height: 320px;
}

.page-autoboerse .hero {
  padding-top: clamp(34px, 4.5vw, 68px);
  padding-bottom: clamp(30px, 4vw, 58px);
  min-height: clamp(380px, 42vw, 500px);
}

.page-autoboerse .vehicle-media {
  position: relative;
  overflow: hidden;
  background: #eef1f5;
  aspect-ratio: 2 / 1;
  min-height: 0;
  max-height: 320px;
}

.page-autoboerse .vehicle-media-shell {
  position: relative;
  overflow: hidden;
  background: #eef1f5;
}

.page-autoboerse .vehicle-media-shell .vehicle-media {
  min-height: 0;
}

.page-autoboerse .vehicle-card {
  height: 100%;
}

.page-autoboerse .vehicle-body {
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
}

.page-autoboerse .vehicle-title-row {
  min-height: 5.6rem;
}

.page-autoboerse .vehicle-title-row h3 {
  overflow-wrap: anywhere;
  font-size: clamp(1.55rem, 1.7vw, 1.95rem);
  line-height: 1.06;
}

.page-autoboerse .vehicle-copy {
  min-height: 4.5em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.page-autoboerse .specs {
  align-self: start;
}

.page-autoboerse .vehicle-media .badge-row {
  z-index: 2;
  max-width: calc(100% - 32px);
}

.page-autoboerse .vehicle-media .badge {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.1;
  padding-top: 7px;
  padding-bottom: 7px;
}

.page-autoboerse .vehicle-media-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 4px;
  color: #fff;
  background: rgba(5, 6, 8, .7);
  box-shadow: 0 12px 26px rgba(5, 6, 8, .28);
  transform: translateY(-50%);
  cursor: pointer;
}

.page-autoboerse .vehicle-media-arrow:hover,
.page-autoboerse .vehicle-media-arrow:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.page-autoboerse .vehicle-media-prev {
  left: 12px;
}

.page-autoboerse .vehicle-media-next {
  right: 12px;
}

.page-autoboerse .vehicle-card .vehicle-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 7px;
  letter-spacing: .035em;
  font-size: .78rem;
  box-shadow: 0 10px 18px rgba(11, 13, 16, .10);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.page-autoboerse button.btn,
.page-autoboerse [data-vehicle-inquiry-open] {
  cursor: pointer;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn i {
  font-size: .95rem;
  line-height: 1;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn:hover,
.page-autoboerse .vehicle-card .vehicle-actions .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(11, 13, 16, .15);
}

.page-autoboerse .vehicle-card .vehicle-actions .btn-dark {
  background: #128c4b;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn-dark:hover,
.page-autoboerse .vehicle-card .vehicle-actions .btn-dark:focus-visible {
  background: #0f7a42;
}

.page-autoboerse .vehicle-card .vehicle-actions .vehicle-call-link,
.page-autoboerse .vehicle-card .vehicle-actions .vehicle-call-link:hover,
.page-autoboerse .vehicle-card .vehicle-actions .vehicle-call-link:focus-visible {
  background: #0b0d10;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn-ghost {
  color: #10151b;
  background: #f8fafc;
  border-color: #d8dee6;
}

.page-autoboerse .vehicle-card .vehicle-actions .btn-ghost:hover,
.page-autoboerse .vehicle-card .vehicle-actions .btn-ghost:focus-visible {
  background: #eef2f6;
  border-color: #c7d0da;
}

.page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link {
  min-height: 52px;
  border-color: var(--red);
  box-shadow: 0 14px 28px rgba(213, 0, 28, .22);
  font-size: .84rem;
}

.page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link:hover,
.page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}


.page-autoboerse main > section {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(34px, 4vw, 64px);
}


.page-autoboerse .vehicle-detail {
  grid-template-areas:
    "heading heading"
    "gallery summary"
    "note note"
    "actions actions";
  align-items: start;
}

.page-autoboerse .vehicle-detail .detail-heading {
  grid-area: heading;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.page-autoboerse .vehicle-detail .detail-heading > div {
  flex: 1 1 auto;
  min-width: 0;
}

.page-autoboerse .vehicle-detail .detail-heading h3 {
  margin: 10px 0 8px;
  text-transform: none;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: .98;
  white-space: nowrap;
  max-width: 100%;
}

.page-autoboerse .vehicle-detail .vehicle-top-back {
  width: auto;
  min-width: 210px;
}

.page-autoboerse .vehicle-detail .gallery-main {
  grid-area: main;
  aspect-ratio: 4 / 3;
  width: min(100%, 560px);
  max-height: 420px;
  position: relative;
  overflow: hidden;
  background: #eef1f5;
}

.page-autoboerse .vehicle-detail .gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(118px, 154px) minmax(0, 1fr);
  grid-template-areas:
    "main thumbs ."
    "description description description";
  align-self: start;
  align-content: start;
  gap: 8px;
}

.page-autoboerse .vehicle-detail .gallery-thumbs {
  grid-area: thumbs;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: start;
  align-content: start;
  align-self: stretch;
  gap: 6px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

.page-autoboerse .vehicle-detail .gallery-thumbs a {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #eef1f5;
}

.page-autoboerse .vehicle-media::before,
.page-autoboerse .vehicle-detail .gallery-main::before,
.page-autoboerse .vehicle-detail .gallery-thumbs a::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--gallery-bg);
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  transform: scale(1.18);
  opacity: .95;
}

.page-autoboerse .vehicle-media img,
.page-autoboerse .vehicle-detail .gallery-main img,
.page-autoboerse .vehicle-detail .gallery-thumbs img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.page-autoboerse .vehicle-detail .detail-main {
  display: grid;
  gap: 16px;
}

.page-autoboerse .vehicle-detail .detail-copy {
  grid-area: summary;
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-price {
  grid-column: 1 / -1;
  border-bottom-color: rgba(213, 0, 28, .24);
  background: #fff6f7;
  border-radius: 6px;
  padding: 12px 14px;
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-wide {
  grid-column: 1 / -1;
}

.page-autoboerse .vehicle-detail .gallery-main,
.image-modal-frame {
  touch-action: pan-y;
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-price span {
  color: var(--red);
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-price strong {
  color: var(--red);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 950;
  line-height: 1;
}

.page-autoboerse .vehicle-detail > .vehicle-rich-description {
  grid-area: description;
  width: 100%;
  margin-top: 2px;
  display: none;
}

.page-autoboerse .vehicle-detail .gallery .vehicle-rich-description {
  grid-area: description;
  width: 100%;
  margin-top: clamp(14px, 2vw, 22px);
}

.page-autoboerse .vehicle-detail .vehicle-detail-note {
  grid-area: note;
  width: 100%;
}

.page-autoboerse .vehicle-detail .vehicle-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.page-autoboerse .feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  line-height: 1.15;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn {
  gap: 8px;
  white-space: normal;
  line-height: 1.15;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn i {
  flex: none;
  font-size: .98rem;
  line-height: 1;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link {
  color: var(--red);
  background: #fff6f7;
  border-color: rgba(213, 0, 28, .42);
  box-shadow: 0 12px 24px rgba(213, 0, 28, .12);
}

.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link:hover,
.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link:focus-visible {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

@media (min-width: 981px) and (max-width: 1300px) {
  .page-autoboerse .vehicle-detail {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .58fr);
    gap: 14px;
    padding: 12px;
  }

  .page-autoboerse .vehicle-detail .gallery-main {
    width: min(100%, 500px);
    max-height: 375px;
  }

  .page-autoboerse .vehicle-detail .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 375px;
    gap: 5px;
  }

  .page-autoboerse .vehicle-detail .detail-copy {
    gap: 9px;
    padding-top: 4px;
  }

  .page-autoboerse .vehicle-detail .detail-copy p {
    font-size: .95rem;
    line-height: 1.42;
  }

  .page-autoboerse .vehicle-detail .feature-list span {
    padding: 4px 7px;
    font-size: .74rem;
  }
}

.page-home #betrieb .building-dots {
  display: none;
}

@media (max-width: 980px) {
  .page-home .hero-content h1 {
    font-size: clamp(2.7rem, 8vw, 4.4rem);
    line-height: .92;
    max-width: 11.5ch;
  }

  .page-autoboerse h1 {
    font-size: clamp(2.35rem, 8vw, 3.8rem);
    line-height: .92;
    max-width: 12ch;
  }

  .page-autoboerse .vehicle-media {
    min-height: 0;
  }

  .page-autoboerse .vehicle-media-arrow {
    width: 38px;
    height: 50px;
  }


  .page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link {
    grid-column: 1 / -1;
  }

  .page-autoboerse .vehicle-title-row {
    min-height: 0;
  }

  .page-autoboerse .vehicle-copy {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .page-home .hero-content h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.85rem);
    line-height: .93;
    max-width: 10.5ch;
  }

  .page-home .hero-copy {
    font-size: clamp(1rem, 5vw, 1.14rem);
    line-height: 1.34;
  }

  .page-autoboerse .hero {
    padding-top: 34px;
    padding-bottom: 32px;
    min-height: 420px;
  }

  .page-autoboerse h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: .94;
    max-width: 10.5ch;
  }

  .page-autoboerse .hero p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .page-autoboerse .hero-panel {
    padding: 18px;
  }

  .page-autoboerse .filter-row {
    gap: 8px;
  }

  .page-autoboerse .filter-chip {
    padding: 8px 12px;
    font-size: .72rem;
  }

  .page-autoboerse .vehicle-detail .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .page-autoboerse .vehicle-media-arrow {
    width: 34px;
    height: 46px;
  }

  .page-autoboerse .vehicle-card .vehicle-media {
    aspect-ratio: 1.9 / 1;
    max-height: 190px;
  }

  .page-autoboerse .vehicle-media-prev {
    left: 8px;
  }

  .page-autoboerse .vehicle-media-next {
    right: 8px;
  }

  .page-autoboerse .vehicle-card .vehicle-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn:not(.vehicle-detail-link) {
    min-height: 40px;
    padding: 0 5px;
    gap: 4px;
    font-size: .64rem;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn:not(.vehicle-detail-link) i {
    font-size: .82rem;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link {
    grid-column: 1 / -1;
  }
}

@media (min-width: 641px) and (max-width: 1300px) {
  .page-autoboerse .vehicle-detail {
    grid-template-areas:
      "heading heading"
      "gallery summary"
      "note note"
      "actions actions";
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .72fr);
    align-items: start;
  }

  .page-autoboerse .vehicle-detail .gallery {
    grid-area: gallery;
  }

  .page-autoboerse .vehicle-detail .detail-copy {
    grid-area: summary;
    display: grid;
  }

  .page-autoboerse .vehicle-detail .detail-main {
    min-width: 0;
  }

  .page-autoboerse .vehicle-detail .feature-list {
    padding-top: 2px;
  }

  .page-autoboerse .vehicle-detail .vehicle-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .page-autoboerse .vehicle-detail .vehicle-actions .btn {
    min-width: 0;
    width: auto;
    padding-inline: 12px;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .page-autoboerse .vehicle-detail .gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "thumbs"
      "description";
  }

  .page-autoboerse .vehicle-detail .gallery-main {
    aspect-ratio: 4 / 3;
    width: 100%;
    max-height: clamp(220px, 48vh, 360px);
  }

  .page-autoboerse .vehicle-detail .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .page-autoboerse .vehicle-detail .gallery-thumbs a {
    max-height: 82px;
  }
}
@media (max-width: 860px) {
  .page-autoboerse .vehicle-detail {
    grid-template-areas:
      "heading"
      "gallery"
      "summary"
      "description"
      "note"
      "actions";
    grid-template-columns: minmax(0, 1fr);
  }

  .page-autoboerse .vehicle-detail .detail-heading {
    display: grid;
  }

  .page-autoboerse .vehicle-detail .vehicle-top-back {
    min-width: 0;
    width: 100%;
  }

  .page-autoboerse .vehicle-detail .vehicle-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-autoboerse .vehicle-detail .gallery .vehicle-rich-description {
    display: none;
  }

  .page-autoboerse .vehicle-detail > .vehicle-rich-description {
    display: block;
  }
}

.page-autoboerse .header-action {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.page-autoboerse .header-action-mark {
  width: 26px;
  height: 26px;
}

.page-autoboerse .header-action-mark img {
  width: 15px;
  height: 15px;
}

.page-autoboerse .filter-chip {
  min-height: 44px;
  padding: 0 16px;
  font-size: .8rem;
}

.page-autoboerse .vehicle-media-arrow {
  width: 44px;
  min-width: 44px;
}

.page-autoboerse .vehicle-media .badge,
.page-autoboerse .badge {
  min-height: 34px;
  font-size: .78rem;
}

.page-autoboerse .spec span,
.page-autoboerse .detail-list span {
  font-size: .8rem;
  line-height: 1.18;
}

.page-autoboerse .footer-grid a {
  min-height: 32px;
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {
  .page-autoboerse .header-action {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .page-autoboerse .filter-chip {
    min-height: 44px;
    padding: 0 14px;
    font-size: .78rem;
  }

  .page-autoboerse .vehicle-media-arrow {
    width: 44px;
    min-width: 44px;
    height: 48px;
  }

  .page-autoboerse .footer-grid a {
    min-height: 36px;
  }
}

@media (min-width: 1180px) {
  .page-autoboerse .vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-autoboerse .vehicle-card .vehicle-media {
    aspect-ratio: 16 / 9;
    max-height: 230px;
  }

  .page-autoboerse .vehicle-body {
    gap: 12px;
    padding: 16px;
  }

  .page-autoboerse .vehicle-title-row {
    gap: 10px;
    min-height: 4.8rem;
  }

  .page-autoboerse .vehicle-title-row h3 {
    font-size: clamp(1.25rem, 1.25vw, 1.55rem);
    line-height: 1.08;
  }

  .page-autoboerse .price {
    font-size: clamp(1.22rem, 1.25vw, 1.55rem);
  }

  .page-autoboerse .vehicle-copy {
    min-height: 3em;
    font-size: .92rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  .page-autoboerse .specs {
    gap: 7px;
  }

  .page-autoboerse .spec {
    padding: 7px;
  }

  .page-autoboerse .spec span,
  .page-autoboerse .detail-list span {
    font-size: .7rem;
  }

  .page-autoboerse .spec strong {
    font-size: .84rem;
  }

  .page-autoboerse .vehicle-card .vehicle-actions {
    gap: 7px;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn {
    min-height: 40px;
    padding: 0 9px;
    font-size: .72rem;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link {
    min-height: 46px;
    font-size: .78rem;
  }

  .page-autoboerse .vehicle-media .badge,
  .page-autoboerse .badge {
    min-height: 28px;
    padding: 0 9px;
    font-size: .68rem;
  }

  .page-autoboerse .vehicle-media-arrow {
    width: 38px;
    min-width: 38px;
    height: 48px;
  }
}

@media (min-width: 1620px) {
  .page-autoboerse .vehicle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-autoboerse .vehicle-card .vehicle-media {
    max-height: 205px;
  }
}

@media (min-width: 760px) and (max-width: 1179px) {
  .page-autoboerse .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-autoboerse .vehicle-card .vehicle-media {
    max-height: 230px;
  }

  .page-autoboerse .vehicle-body {
    gap: 12px;
    padding: 16px;
  }

  .page-autoboerse .vehicle-title-row h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  }

  .page-autoboerse .price {
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  }

  .page-autoboerse .vehicle-copy {
    min-height: 0;
    font-size: .94rem;
    -webkit-line-clamp: 2;
  }

  .page-autoboerse .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .page-autoboerse .spec {
    padding: 8px;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn {
    min-height: 42px;
    padding: 0 9px;
    font-size: .72rem;
  }
}

.page-autoboerse .spec {
  min-width: 0;
}

.page-autoboerse .spec span,
.page-autoboerse .spec strong {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-card .vehicle-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn {
    min-height: 38px;
    padding: 0 5px;
    border-radius: 6px;
    gap: 4px;
    font-size: .64rem;
    line-height: 1.05;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn:not(.vehicle-detail-link) i {
    display: none;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .vehicle-detail-link {
    grid-column: 1 / -1;
    min-height: 46px;
    font-size: .78rem;
  }
}

.page-autoboerse .spec span {
  hyphens: auto;
  font-size: .68rem;
  line-height: 1.08;
  overflow-wrap: break-word;
  white-space: normal;
}

@media (min-width: 1180px) {
  .page-autoboerse .specs {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .95fr));
  }

  .page-autoboerse .spec span {
    font-size: .56rem;
  }
}

.page-autoboerse .vehicle-detail .detail-heading h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-detail {
    overflow: hidden;
  }

  .page-autoboerse .vehicle-detail .detail-heading,
  .page-autoboerse .vehicle-detail .detail-heading > div,
  .page-autoboerse .vehicle-detail .detail-heading h3,
  .page-autoboerse .vehicle-detail .gallery,
  .page-autoboerse .vehicle-detail .gallery-main,
  .page-autoboerse .vehicle-detail .gallery-thumbs {
    min-width: 0;
    max-width: 100%;
  }

  .page-autoboerse .vehicle-detail .detail-heading h3 {
    white-space: normal;
    font-size: clamp(1.05rem, 5.4vw, 1.45rem);
    line-height: 1.12;
  }
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-card .vehicle-actions .btn:not(.vehicle-detail-link) {
    min-height: 38px;
    padding: 0 3px;
    gap: 0;
    font-size: .64rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .page-autoboerse .vehicle-card .vehicle-actions .btn:not(.vehicle-detail-link) i {
    display: none;
  }
}

/* Vehicle card title: keep brand and model on one typographic line. */
.page-autoboerse .vehicle-card .vehicle-title-row h3 {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-card .vehicle-title-row h3 {
    font-size: clamp(1.05rem, 5.8vw, 1.35rem);
    line-height: 1.02;
  }
}

.page-autoboerse,
.page-autoboerse a,
.page-autoboerse button,
.page-autoboerse input,
.page-autoboerse textarea,
.page-autoboerse select,
.page-autoboerse .vehicle-media,
.page-autoboerse .gallery-main,
.page-autoboerse .gallery-thumbs a,
.vehicle-inquiry-modal,
.vehicle-inquiry-modal a,
.vehicle-inquiry-modal button,
.vehicle-inquiry-modal input,
.vehicle-inquiry-modal textarea {
  touch-action: manipulation;
}

@media (max-width: 980px) {
  .page-autoboerse .vehicle-copy {
    color: #4a535e;
    font-size: .9rem;
    line-height: 1.42;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
  }

  .page-autoboerse .vehicle-detail .detail-copy p,
  .page-autoboerse .vehicle-rich-description {
    color: #3f4852;
    font-size: .92rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-copy {
    font-size: .84rem;
    line-height: 1.34;
    -webkit-line-clamp: 2;
  }

  .page-autoboerse .vehicle-detail .detail-copy p,
  .page-autoboerse .vehicle-rich-description {
    font-size: .86rem;
    line-height: 1.44;
  }
}

.page-autoboerse .vehicle-media .badge-row {
  gap: 6px;
  top: 12px;
  left: 12px;
}

.page-autoboerse .vehicle-media .badge {
  min-height: 26px;
  padding: 0 9px;
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .045em;
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-media .badge-row {
    gap: 5px;
    top: 10px;
    left: 10px;
  }

  .page-autoboerse .vehicle-media .badge {
    min-height: 23px;
    padding: 0 7px;
    font-size: .54rem;
    letter-spacing: .035em;
  }
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 14px;
  border-radius: 6px;
  background: #f8fafc;
  border-bottom-color: transparent;
  padding: 10px 12px;
}

.page-autoboerse .vehicle-detail .detail-list .detail-list-wide span,
.page-autoboerse .vehicle-detail .detail-list .detail-list-wide strong {
  margin-top: 0;
  min-width: 0;
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-detail .detail-list .detail-list-wide {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3px;
    padding: 9px 10px;
  }
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn-red:not(.vehicle-back-link),
.page-autoboerse .vehicle-detail .vehicle-actions .btn-red:not(.vehicle-back-link):hover,
.page-autoboerse .vehicle-detail .vehicle-actions .btn-red:not(.vehicle-back-link):focus-visible {
  color: #fff;
  background: #0b0d10;
  border-color: #0b0d10;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn-dark,
.page-autoboerse .vehicle-detail .vehicle-actions .btn-dark:hover,
.page-autoboerse .vehicle-detail .vehicle-actions .btn-dark:focus-visible {
  color: #fff;
  background: #128c4b;
  border-color: #128c4b;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn-ghost:not(.vehicle-back-link) {
  color: #10151b;
  background: #f8fafc;
  border-color: #d8dee6;
}

.page-autoboerse .vehicle-detail .vehicle-actions .btn-ghost:not(.vehicle-back-link):hover,
.page-autoboerse .vehicle-detail .vehicle-actions .btn-ghost:not(.vehicle-back-link):focus-visible {
  background: #eef2f6;
  border-color: #c7d0da;
}

.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link,
.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link:hover,
.page-autoboerse .vehicle-detail .vehicle-actions .vehicle-back-link:focus-visible {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 14px 28px rgba(213, 0, 28, .22);
}

@media (max-width: 980px) {
  .page-home .hero-content h1 {
    max-width: 100%;
    line-height: 1.02;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  .page-home .hero .wrap {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .page-home .eyebrow {
    margin-bottom: 10px;
    font-size: .68rem;
    line-height: 1.15;
    letter-spacing: .08em;
  }

  .page-home .hero-content h1 {
    margin-bottom: 16px;
    font-size: 31px;
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .page-home .hero-copy {
    max-width: 32rem;
    font-size: 15px;
    line-height: 1.36;
  }
}

@media (max-width: 360px) {
  .page-home .hero .wrap {
    padding-top: 38px;
    padding-bottom: 52px;
  }

  .page-home .hero-content h1 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.04;
  }

  .page-home .hero-copy {
    font-size: 14px;
    line-height: 1.34;
  }
}

@media (max-width: 640px) {
  .page-autoboerse .vehicle-detail .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-autoboerse .vehicle-detail .detail-list > div:not(.detail-list-price):not(.detail-list-wide) {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
  }

  .page-autoboerse .vehicle-detail .detail-list .detail-list-price,
  .page-autoboerse .vehicle-detail .detail-list .detail-list-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .page-home #betrieb .split-media {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-radius: var(--radius);
    touch-action: pan-y;
    user-select: none;
  }

  .page-home #betrieb .split-media img {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
  }

  .page-home #betrieb .split-media img:first-child,
  .page-home #betrieb .split-media img.is-active {
    opacity: 1;
    visibility: visible;
  }

  .page-home #betrieb .split-media img.is-active {
    pointer-events: auto;
  }

  .page-home #betrieb .building-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 3;
    display: flex;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(5, 6, 8, .62);
    transform: translateX(-50%);
  }

  .page-home #betrieb .building-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
  }

  .page-home #betrieb .building-dots button.is-active {
    background: #fff;
  }
}

.page-autoboerse .vehicle-detail .gallery-main,
.image-modal-frame {
  touch-action: pan-y;
}
