/* Shared inventory card system: car, machinery and trailer. */
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-grid{gap:30px;align-items:stretch}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card{position:relative;isolation:isolate;background:var(--at-bg);border:1px solid var(--at-line);border-radius:8px;overflow:hidden;box-shadow:0 7px 24px #00000006;transition:border-color .3s,box-shadow .35s,transform .45s cubic-bezier(.2,.7,.2,1)}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--at-red);transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-image{aspect-ratio:4/3;background:#ececea;position:relative;border-bottom:1px solid var(--at-line);overflow:hidden}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-image img{object-fit:contain;object-position:center;transform:none;transition:filter .4s}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-badge{top:16px;left:16px;border:1px solid #ffffff80;border-radius:3px;background:#ffffffed;color:#242424;backdrop-filter:blur(8px);padding:7px 10px;font-size:9px;font-weight:600;letter-spacing:.05em}
html:root:root .car-photo-open{position:absolute;bottom:14px;right:14px;display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff80;border-radius:4px;padding:9px 12px;background:#fffffff0;color:#222;backdrop-filter:blur(8px);font-family:inherit;font-size:11px;cursor:pointer;min-height:36px;box-shadow:0 3px 10px #0001;transition:background .25s,color .25s}
html:root:root .car-photo-open:hover{background:#171717;color:#fff;border-color:#171717}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-body{padding:26px;gap:0}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-brand{font-size:10px;line-height:1.4;color:var(--at-muted);letter-spacing:.14em;display:block;font-weight:600}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-body h3{font-size:34px;line-height:1.05;margin:9px 0 12px;letter-spacing:0;color:var(--at-ink);overflow-wrap:anywhere}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-subtitle{font-size:12px;line-height:1.65;margin:0;min-height:0;color:var(--at-muted);overflow-wrap:anywhere}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;margin:24px 0 0;padding:22px 0;border-top:1px solid var(--at-line);border-bottom:1px solid var(--at-line);color:var(--at-ink)}
html:root:root .car-specs>div{min-width:0}
html:root:root .car-specs dt{font-size:10px;color:var(--at-muted);margin-bottom:6px;line-height:1.4;letter-spacing:.015em}
html:root:root .car-specs dd{margin:0;font-size:13px;font-weight:600;line-height:1.4;color:var(--at-ink);overflow-wrap:anywhere}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy{font-size:11px;line-height:1.55;color:var(--at-muted);padding:0;border:0;margin:18px 0}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy>strong{font-size:11px;font-weight:600;color:var(--at-ink)}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy p{font-size:11px;line-height:1.55;margin:6px 0;color:var(--at-muted)}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy dl{margin:8px 0}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy dl>div{gap:10px}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .vehicle-energy dd{white-space:normal;text-align:right}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-price{border:0;margin-top:auto;padding:22px 0 0;gap:12px;align-items:flex-end;display:flex;justify-content:space-between;flex-wrap:wrap}
html:root:root .car-price-label{display:block;font-size:10px;color:var(--at-muted);margin-bottom:6px;letter-spacing:.04em}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-price strong{display:block;font-size:28px;letter-spacing:-.04em;line-height:1.15;color:var(--at-ink);font-weight:600}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-price small{display:block;color:var(--at-muted);font-size:10px;margin-top:6px}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-open{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:44px;height:auto;width:auto;padding:12px 15px;border:1px solid var(--at-line);border-radius:4px;background:transparent;color:var(--at-ink);font-size:11px;font-weight:600;transition:background .25s,color .25s,border-color .25s}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-open:hover{background:var(--at-red);border-color:var(--at-red);color:#fff}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:focus-within{border-color:var(--at-red)}
html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:focus-within:after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card.is-visible:hover,html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:not(.reveal):hover{transform:translateY(-5px);box-shadow:0 18px 38px #00000012;border-color:var(--at-line)}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:hover:after{transform:scaleX(1)}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:hover .car-image img{transform:none;filter:brightness(1.035)}}
html:root:root[data-theme="dark"] :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card{background:#191919;box-shadow:0 8px 24px #0002}
html:root:root[data-theme="dark"] :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-image{background:#dddeda}
@media(max-width:1100px) and (min-width:701px){html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-grid{gap:24px}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-body{padding:22px}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-body h3{font-size:34px}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-badge{top:12px;left:12px}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-price strong{font-size:27px}html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-specs{margin-top:20px;padding:20px 0}}
@media(prefers-reduced-motion:reduce){html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card,html:root:root :is(#fahrzeuge,#baumaschinen,#anhaenger) .car-card:after{transition:none}}
