.fahrzeug-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fahrzeug-karte {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #fff;
}
.fahrzeug-bildspalte {
    display: block;
}
.fahrzeug-bild {
    display: block;
    width: 100%;
    height: auto;
    background: #eee;
}
.fahrzeug-textspalte {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
}
.fahrzeug-link {
    color: inherit;
    text-decoration: none;
}
.fahrzeug-titel {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}
.fahrzeug-preis {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: bold;
}
.fahrzeug-daten {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 0.6rem;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}
.fahrzeug-datenzeile {
    display: contents;
}
.fahrzeug-daten dt {
    color: #666;
    font-weight: normal;
}
.fahrzeug-daten dd {
    margin: 0;
}
.fahrzeug-cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    background: #fcc707;
    color: #514f50;
    font-weight: 600;
    text-decoration: none;
}
.fahrzeug-cta:hover,
.fahrzeug-cta:focus {
    background: #feda00;
}
@media (max-width: 480px) {
    .fahrzeug-karte {
        grid-template-columns: 1fr;
    }
}

/* Fahrzeug-Detailseite: durchklickbare Bildergalerie */
.fahrzeug-galerie {
    margin: 0 0 1.5rem;
}
.fahrzeug-galerie-haupt {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #efefef;
    overflow: hidden;
}
.fahrzeug-galerie-bild {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    cursor: zoom-in;
}
.fahrzeug-galerie-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #514f50;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}
.fahrzeug-galerie-pfeil:hover,
.fahrzeug-galerie-pfeil:focus {
    background: #fcc707;
}
.fahrzeug-galerie-pfeil--zurueck {
    left: 0.5rem;
}
.fahrzeug-galerie-pfeil--vor {
    right: 0.5rem;
}
.fahrzeug-galerie-zaehler {
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
    padding: 0.15rem 0.5rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.8rem;
}
.fahrzeug-galerie-thumbs {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}
.fahrzeug-galerie-thumbs li {
    flex: 0 0 auto;
}
.fahrzeug-galerie-thumb {
    display: block;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    line-height: 0;
    cursor: pointer;
}
.fahrzeug-galerie-thumb img {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
}
.fahrzeug-galerie-thumb.ist-aktiv {
    border-color: #fcc707;
}

/* Lightbox (Vollbild-Ansicht) */
.fahrzeug-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
}
.fahrzeug-lightbox[hidden] {
    display: none;
}
.fahrzeug-lightbox-bild {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.fahrzeug-lightbox-schliessen {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.fahrzeug-lightbox-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.fahrzeug-lightbox-pfeil:hover,
.fahrzeug-lightbox-pfeil:focus {
    background: #fcc707;
    color: #514f50;
}
.fahrzeug-lightbox-pfeil--zurueck {
    left: 1rem;
}
.fahrzeug-lightbox-pfeil--vor {
    right: 1rem;
}
.fahrzeug-lightbox-zaehler {
    position: absolute;
    bottom: 1rem;
    color: #fff;
    font-size: 0.9rem;
}
body.fahrzeug-galerie-gesperrt {
    overflow: hidden;
}

.fahrzeug-zurueck {
    margin: 0 0 1.5rem;
}
.fahrzeug-zurueck-link {
    display: inline-block;
    color: #514f50;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #fcc707;
    padding-bottom: 2px;
}
.fahrzeug-zurueck-link:hover,
.fahrzeug-zurueck-link:focus {
    color: #fcc707;
}

/* Übersichtsseite: Suche/Filter/Sortierung */
.fahrzeug-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem;
}
.fahrzeug-select {
    flex: 0 1 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}
.fahrzeug-select:focus {
    outline: 2px solid #fcc707;
    outline-offset: 1px;
}
.fahrzeug-karte[hidden] {
    display: none;
}
.fahrzeug-keine-treffer {
    padding: 1rem;
    text-align: center;
    color: #666;
}
.fahrzeug-keine-treffer[hidden] {
    display: none;
}
.fahrzeug-btn {
    flex: 0 0 auto;
    padding: 0.5rem 1.25rem;
    border: none;
    background: #fcc707;
    color: #514f50;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
}
.fahrzeug-btn:hover,
.fahrzeug-btn:focus {
    background: #feda00;
}
.fahrzeug-btn--reset {
    background: transparent;
    color: #514f50;
    border: 1px solid #ccc;
}
.fahrzeug-btn--reset:hover,
.fahrzeug-btn--reset:focus {
    background: #efefef;
    border-color: #999;
}
