:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f2f3f5;
  color: #1b2027;
  --accent: #a91622;
  --line: #dce0e5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(100% - 32px, 1250px); margin-inline: auto; }
header, footer { background: #191e26; color: white; }
header { border-bottom: 4px solid #be2532; }
.header-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
.brand, .phone { color: white; text-decoration: none; }
.brand { font-size: 1.24rem; font-weight: 800; }
.phone { font-weight: 600; }
main { padding-block: 32px 48px; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.04em; margin: 0 0 24px; }
.preview { color: #603500; background: #ffedcc; padding: 12px; border-radius: 8px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 12px; }
label { display: grid; gap: 6px; font-size: .875rem; font-weight: 650; }
input, select, button { font: inherit; }
input, select { width: 100%; padding: 10px; border: 1px solid #a9b1bd; border-radius: 6px; background: #fff; color: inherit; }
#result, small, .spec-summary { color: #525b67; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); align-items: start; gap: 16px; }
.vehicle { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 16px; }
.cover { display: block; width: 100%; aspect-ratio: 4/3; padding: 0; border: 0; background: #e4e7ec; color: #525b67; cursor: pointer; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-body { padding: 16px; }
.vehicle-meta { display: flex; align-items: center; gap: 8px; }
.badge { background: #eeeef1; padding: 4px 8px; border-radius: 5px; font-size: .8rem; font-weight: 650; }
h2 { margin: 10px 0 6px; font-size: 1.14rem; overflow-wrap: anywhere; }
.spec-summary { min-height: 1.1em; margin: 0 0 12px; font-size: .88rem; }
.price { display: block; font-size: 1.42rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.details-button, .primary { border: 1px solid var(--line); border-radius: 7px; padding: 10px; font-size: .9rem; font-weight: 650; text-decoration: none; cursor: pointer; }
.details-button { background: white; color: inherit; }
.primary { background: var(--accent); border-color: var(--accent); color: white; }
.details { margin-top: 15px; border-top: 1px solid var(--line); }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .9rem; }
dt { color: #525b67; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.photos { display: grid; gap: 8px; }
.photos img { width: 100%; border-radius: 6px; }
footer { border-top: 4px solid #be2532; padding-block: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: inherit; }
:focus-visible { outline: 3px solid #2868bd; outline-offset: 2px; }
.cover:focus-visible { outline-offset: -3px; }
@media (max-width: 570px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
}
.filters { grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(0, 1fr)); }
.description { white-space: pre-wrap; overflow-wrap: anywhere; }
.details a.details-button { display: inline-block; }
.zoom-photo { border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.zoom-photo img { display: block; }
dialog { border: 1px solid var(--line); border-radius: 12px; color: inherit; max-width: calc(100% - 24px); max-height: 95vh; }
dialog::backdrop { background: rgb(16 22 30 / .78); }
#photo-dialog img { display: block; max-width: 100%; max-height: 81vh; object-fit: contain; margin-top: 10px; }
#photo-dialog form { text-align: right; }
#inquiry-dialog { width: 34rem; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#inquiry-form label { margin-top: 12px; }
#inquiry-form textarea { padding: 8px; width: 100%; font: inherit; border: 1px solid #a9b1bd; border-radius: 6px; resize: vertical; }
#inquiry-form button:disabled { opacity: .55; cursor: default; }
footer .footer-content { display: grid; }
.locations { display: flex; flex-wrap: wrap; gap: 12px 48px; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 720px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .filters label:first-child { grid-column: 1 / -1; } }
#vehicle-dialog { width: 1000px; padding: clamp(14px, 3vw, 28px); }
#vehicle-dialog-title { margin-top: 0; font-size: clamp(1.25rem, 3vw, 1.85rem); }
#vehicle-dialog-meta { margin: 4px 0 0; color: #475363; }
.vehicle-detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; margin-top: 20px; }
.gallery-main { display: block; width: 100%; aspect-ratio: 4 / 3; background: #eff1f4; border-radius: 8px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 4px; margin-top: 5px; }
.gallery-thumb { flex: 0 0 78px; height: 60px; border: 2px solid transparent; padding: 2px; border-radius: 6px; background: white; cursor: pointer; }
.gallery-thumb[aria-pressed="true"] { border-color: #be2532; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.vehicle-detail-price { display: block; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.15; }
.vehicle-detail-actions { align-items: center; }
.vehicle-detail-actions a { color: #34425a; }
.vehicle-detail-copy:empty { display: none; }
.vehicle-detail-copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.vehicle-detail-copy h3 { margin: 0 0 8px; }
.vehicle-detail-copy .description { margin-top: 0; line-height: 1.55; }
.vehicle-equipment { columns: 2; padding-left: 20px; margin: 0 0 18px; }
.vehicle-equipment li { margin-bottom: 4px; break-inside: avoid; overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .vehicle-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vehicle-detail-offer { grid-row: 1; }
  .vehicle-detail-offer dl { margin-bottom: 0; }
  .vehicle-equipment { columns: 1; }
}
.price-tax { margin: 5px 0 0; color: #475363; font-size: .82rem; line-height: 1.4; }
/* Kundenwebsite V3.0.40 */
body { font-size: 1rem; }
.shop-logo { width: min(270px, 60vw); height: auto; display: block; background: white; border-radius: 6px; padding: 5px 10px; }
.shop-intro { padding: 8px 0 24px; max-width: 900px; }
.shop-intro h1 { margin-bottom: 12px; }
.shop-intro p { line-height: 1.5; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .07em; font-weight: 750; font-size: .875rem; }
.shop-services { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-left: 20px; color: #475363; }
.stock-title { font-size: 1.5rem; margin: 0 0 18px; }
.filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
select { appearance: none; padding-right: 32px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23475363' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center; }
.card-highlights { padding-left: 18px; margin: 12px 0 0; font-size: .875rem; line-height: 1.45; color: #34425a; }
.card-highlights li { overflow-wrap: anywhere; }
.price-tax, .badge { font-size: .875rem; }
.gallery-stage, .lightbox-stage { position: relative; touch-action: pan-y; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 56px; padding: 0; border: 1px solid #fff9; border-radius: 8px; background: #191e26db; color: white; font: 2.5rem/1 Arial, sans-serif; cursor: pointer; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-counter { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #191e26db; color: white; padding: 5px 12px; border-radius: 20px; font-size: .875rem; pointer-events: none; }
#large-counter { text-align: center; margin: 10px 0 0; }
#photo-dialog { width: min(1100px, calc(100% - 24px)); }
#photo-dialog img { width: 100%; min-height: 160px; }
.vehicle-location { padding: 14px; border-radius: 8px; background: #f2f3f5; font-size: .9rem; line-height: 1.55; }
.dialog-heading { position: sticky; top: -1px; z-index: 3; background: white; padding-block: 10px; align-items: flex-start; }
.dialog-heading > :last-child { flex-shrink: 0; }
#vehicle-close, #inquiry-dialog .dialog-heading button, #photo-dialog form button { min-height: 44px; }
#photo-dialog > form { position: sticky; top: 0; z-index: 3; background: white; padding: 5px 0; }
html:has(dialog[open]) { overflow: hidden; }
@media (max-width: 650px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
  #vehicle-dialog, #inquiry-dialog { padding: 12px; max-height: 94dvh; }
  .vehicle-detail-offer { grid-row: auto; }
  .vehicle-detail-gallery { grid-row: 1; }
  .vehicle-detail-layout { margin-top: 12px; }
  .dialog-heading { gap: 8px; }
  #vehicle-close { max-width: 130px; }
  .vehicle-detail-actions .primary { flex: 1; text-align: center; min-height: 48px; }
  input, select, textarea { font-size: 1rem; }
  .shop-intro { padding-bottom: 16px; }
  .shop-services { display: grid; gap: 6px; }
}
@media (max-width: 360px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .dialog-heading { flex-wrap: wrap; }
}

/* V3.0.42: kürzerer Einstieg und direkte Kontaktwege */
main { padding-top:24px; }
.shop-intro { padding:0 0 20px; max-width:900px; }
.shop-intro .eyebrow { margin:0 0 8px; }
.shop-intro h1 { margin:0 0 8px; font-size:clamp(1.7rem,3.8vw,2.4rem); }
.shop-intro > p:last-child { margin:0; color:#475363; }
.shop-logo { width:min(235px,58vw); border-radius:3px; padding:5px 8px; }
.shop-profile { padding-bottom:16px; border-bottom:1px solid #ffffff38; }
.shop-profile h2 { margin:0 0 8px; font-size:1.25rem; }
.shop-profile p { margin:6px 0; color:#d5dce5; line-height:1.5; }
.location-contact { display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:10px; }
.location-contact a { display:inline-flex; align-items:center; min-height:44px; color:#8d1020; font-weight:700; text-underline-offset:3px; }
@media (max-width:650px) {
  main { padding-top:20px; }
  .shop-intro { padding-bottom:18px; }
}
