/* =========================================
   HERO
========================================= */

.vehicles-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;
    background: #080d14;
}


.vehicles-hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(38, 80, 159, 0.55),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #060a10 0%,
            #101a2a 58%,
            #173d7f 100%
        );
}


.vehicles-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 15, 0.9),
            rgba(3, 8, 15, 0.15)
        );
}


.vehicles-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
    padding-bottom: 80px;
}


.vehicles-eyebrow {
    margin: 0 0 10px;

    color: var(--brand-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


.vehicles-hero .vehicles-eyebrow {
    color: #ffffff;
}


.vehicles-hero h1 {
    margin: 0;

    font-size:
        clamp(
            48px,
            6vw,
            78px
        );

    line-height: 0.97;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


.vehicles-hero h1 span {
    color: var(--brand-blue);
}


.vehicles-hero-description {
    max-width: 620px;

    margin: 22px 0 27px;

    color:
        rgba(
            255,
            255,
            255,
            0.87
        );

    font-size: 17px;
    line-height: 1.65;
}



/* =========================================
   FAHRZEUGE
========================================= */

.vehicles-section {
    padding:
        55px
        0
        60px;

    background:
        #f5f7fa;
}


.vehicles-heading {
    margin-bottom: 27px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}


.vehicles-heading h2 {
    margin: 0;

    font-size:
        clamp(
            32px,
            4vw,
            48px
        );

    line-height: 1;

    letter-spacing: -0.035em;
}


.vehicles-count {
    padding:
        10px
        16px;

    border-radius: 8px;

    color:
        var(--brand-blue);

    background:
        var(--brand-blue-light);

    font-size: 13px;
    font-weight: 800;
}



/* GRID */

.vehicles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}



/* KARTE */

.vehicle-list-card {
    overflow: hidden;

    border:
        1px solid
        var(--border-color);

    border-radius:
        var(--radius-medium);

    background: #ffffff;

    box-shadow:
        var(--shadow-small);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.vehicle-list-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 40px
        rgba(
            15,
            23,
            42,
            0.14
        );
}



/* BILD */

.vehicle-list-image {
    position: relative;

    height: 245px;

    display: block;

    overflow: hidden;

    background: #e3e6ea;
}


.vehicle-list-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.vehicle-list-card:hover
.vehicle-list-image img {
    transform:
        scale(1.035);
}



/* STATUS */

.vehicle-status {
    position: absolute;

    top: 16px;
    left: 16px;

    padding:
        7px
        11px;

    border-radius: 6px;

    color: #ffffff;

    background:
        var(--brand-blue);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


.vehicle-status-reserved {
    background: #343a40;
}



/* INHALT */

.vehicle-list-content {
    padding: 23px;
}


.vehicle-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;
}


.vehicle-brand {
    margin: 0 0 3px;

    color: var(--brand-blue);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


.vehicle-title-row h2 {
    margin: 0;

    font-size: 22px;

    line-height: 1.1;
}


.vehicle-variant {
    margin: 5px 0 0;

    color:
        var(--text-muted);

    font-size: 13px;
}


.vehicle-price {
    flex: 0 0 auto;

    color:
        var(--brand-blue);

    font-size: 21px;
    font-weight: 800;

    white-space: nowrap;
}



/* FAHRZEUGDATEN */

.vehicle-data-grid {
    margin-top: 22px;

    padding:
        17px
        0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        15px
        20px;

    border-top:
        1px solid
        var(--border-color);

    border-bottom:
        1px solid
        var(--border-color);
}


.vehicle-data-grid span {
    display: block;

    margin-bottom: 2px;

    color:
        var(--text-muted);

    font-size: 11px;
}


.vehicle-data-grid strong {
    display: block;

    font-size: 13px;
}



/* FOOTER DER KARTE */

.vehicle-card-footer {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


.vehicle-transmission {
    color:
        var(--text-muted);

    font-size: 12px;
}


.vehicle-details-link {
    color:
        var(--brand-blue);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
}


.vehicle-details-link span {
    margin-left: 5px;
}



/* =========================================
   KEINE FAHRZEUGE
========================================= */

.vehicles-empty {
    padding:
        70px
        30px;

    border-radius:
        var(--radius-medium);

    background: #ffffff;

    text-align: center;

    box-shadow:
        var(--shadow-small);
}


.vehicles-empty-icon {
    width: 65px;
    height: 65px;

    margin:
        0
        auto
        18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        var(--brand-blue);

    background:
        var(--brand-blue-light);

    font-size: 30px;
}


.vehicles-empty h2 {
    margin: 0;

    font-size: 28px;
}


.vehicles-empty p {
    max-width: 550px;

    margin:
        12px
        auto
        25px;

    color:
        var(--text-muted);
}



/* =========================================
   CTA
========================================= */

.vehicles-cta {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--brand-blue-dark),
            var(--brand-blue)
        );
}


.vehicles-cta-inner {
    min-height: 190px;

    padding-top: 35px;
    padding-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.vehicles-cta-eyebrow {
    margin: 0 0 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


.vehicles-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            30px,
            4vw,
            45px
        );
}


.vehicles-cta p:not(
    .vehicles-cta-eyebrow
) {
    margin: 10px 0 0;

    max-width: 600px;

    color:
        rgba(
            255,
            255,
            255,
            0.83
        );
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .vehicles-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}



/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 640px) {

    .vehicles-hero {
        min-height: 410px;
    }


    .vehicles-hero h1 {
        font-size: 45px;
    }


    .vehicles-section {
        padding-top: 38px;
    }


    .vehicles-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .vehicles-grid {
        grid-template-columns: 1fr;
    }


    .vehicle-list-image {
        height: 230px;
    }


    .vehicle-title-row {
        flex-direction: column;
    }


    .vehicle-price {
        font-size: 23px;
    }


    .vehicles-cta-inner {
        min-height: 260px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;
    }


    .vehicles-cta-inner .button {
        width: 100%;
    }

}