/* =========================================================
   H2 CHAUFFEURSERVICE
   FAHRZEUGE-SEITE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.fleet-page-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #070707;
}

.fleet-page-hero__background {
    position: absolute;
    inset: 0;

    background-image: url("../images/first-class.png");
    background-position: center 58%;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.03);
}

.fleet-page-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 4, 4, 0.98) 0%,
            rgba(4, 4, 4, 0.88) 45%,
            rgba(4, 4, 4, 0.35) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0.72) 100%
        );
}

.fleet-page-hero__content {
    position: relative;
    z-index: 2;

    max-width: 780px;

    padding-top: 150px;
    padding-bottom: 110px;
}

.fleet-page-hero__content h1 {
    max-width: 750px;
}

.fleet-page-hero__text {
    max-width: 650px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 1.05rem;
    line-height: 1.85;
}


/* =========================================================
   EINLEITUNG
========================================================= */

.fleet-intro {
    padding-bottom: 70px;
}


/* =========================================================
   FAHRZEUG-ABSCHNITTE
========================================================= */

.vehicle-showcase {
    padding: 120px 0;
}

.vehicle-showcase--dark {
    background-color: #080808;
    color: #ffffff;
}

.vehicle-showcase--light {
    background-color: #f4f1eb;
    color: #111111;
}

.vehicle-showcase__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, 0.88fr);

    gap: 90px;

    align-items: center;
}

.vehicle-showcase__grid--reverse .vehicle-showcase__image {
    order: 2;
}

.vehicle-showcase__grid--reverse .vehicle-showcase__content {
    order: 1;
}


/* =========================================================
   FAHRZEUGBILDER
========================================================= */

.vehicle-showcase__image {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background-color: #111111;
}

.vehicle-showcase__image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.48) 100%
        );
}

.vehicle-showcase__image img {
    width: 100%;
    height: 100%;
    min-height: 520px;

    display: block;

    object-fit: cover;

    transition:
        transform 700ms ease,
        filter 700ms ease;
}

.vehicle-showcase__image:hover img {
    transform: scale(1.035);

    filter: contrast(1.03);
}

.vehicle-showcase__index {
    position: absolute;
    z-index: 2;

    right: 24px;
    bottom: 18px;

    color: rgba(255, 255, 255, 0.86);

    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   FAHRZEUG-INHALT
========================================================= */

.vehicle-showcase__content {
    max-width: 560px;
}

.vehicle-showcase__content h2 {
    margin-bottom: 26px;
}

.vehicle-showcase__content > p:not(.eyebrow) {
    margin-bottom: 34px;

    opacity: 0.74;

    line-height: 1.85;
}


/* =========================================================
   AUSSTATTUNGSLISTE
========================================================= */

.vehicle-features {
    display: grid;
    gap: 0;

    margin: 0 0 38px;
    padding: 0;

    list-style: none;

    border-top: 1px solid rgba(201, 164, 92, 0.35);
}

.vehicle-features li {
    position: relative;

    padding: 16px 10px 16px 30px;

    border-bottom: 1px solid rgba(201, 164, 92, 0.22);

    line-height: 1.6;
}

.vehicle-features li::before {
    content: "";

    position: absolute;

    left: 2px;
    top: 24px;

    width: 8px;
    height: 8px;

    border: 1px solid var(--gold);

    transform: rotate(45deg);
}


/* =========================================================
   VORTEILE
========================================================= */

.fleet-benefits {
    background-color: #111111;
    color: #ffffff;
}

.fleet-benefits__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.fleet-benefit {
    min-height: 280px;

    padding: 38px 34px;

    border: 1px solid rgba(201, 164, 92, 0.25);

    background-color: rgba(255, 255, 255, 0.025);

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        background-color 300ms ease;
}

.fleet-benefit:hover {
    transform: translateY(-6px);

    border-color: rgba(201, 164, 92, 0.58);

    background-color: rgba(255, 255, 255, 0.045);
}

.fleet-benefit > span {
    display: block;

    margin-bottom: 52px;

    color: var(--gold);

    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.fleet-benefit h3 {
    margin-bottom: 18px;
}

.fleet-benefit p {
    color: rgba(255, 255, 255, 0.68);

    line-height: 1.75;
}


/* =========================================================
   LINKS UND BUTTONS AUF HELLEN ABSCHNITTEN
========================================================= */

.vehicle-showcase--light .button {
    color: #111111;
}

.vehicle-showcase--light .button:hover {
    color: #ffffff;
}

.vehicle-showcase--light .eyebrow {
    color: var(--gold-dark, #9f7d3d);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .vehicle-showcase__grid {
        gap: 60px;
    }

    .vehicle-showcase__image,
    .vehicle-showcase__image img {
        min-height: 460px;
    }

}


/* =========================================================
   KLEINE TABLETS
========================================================= */

@media (max-width: 1000px) {

    .fleet-page-hero {
        min-height: 700px;
    }

    .fleet-page-hero__content {
        padding-top: 130px;
        padding-bottom: 90px;
    }

    .vehicle-showcase {
        padding: 100px 0;
    }

    .vehicle-showcase__grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .vehicle-showcase__grid--reverse .vehicle-showcase__image,
    .vehicle-showcase__grid--reverse .vehicle-showcase__content {
        order: initial;
    }

    .vehicle-showcase__content {
        max-width: 720px;
    }

    .vehicle-showcase__image,
    .vehicle-showcase__image img {
        min-height: 470px;
    }

    .fleet-benefits__grid {
        grid-template-columns: 1fr;
    }

    .fleet-benefit {
        min-height: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .fleet-page-hero {
        min-height: 720px;
    }

    .fleet-page-hero__background {
        background-position: 68% center;
    }

    .fleet-page-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 4, 4, 0.97) 0%,
                rgba(4, 4, 4, 0.86) 72%,
                rgba(4, 4, 4, 0.5) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(0, 0, 0, 0.7) 100%
            );
    }

    .fleet-page-hero__content {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .fleet-page-hero__text {
        font-size: 1rem;
    }

    .fleet-intro {
        padding-bottom: 50px;
    }

    .vehicle-showcase {
        padding: 82px 0;
    }

    .vehicle-showcase__grid {
        gap: 40px;
    }

    .vehicle-showcase__image,
    .vehicle-showcase__image img {
        min-height: 340px;
    }

    .vehicle-showcase__index {
        right: 18px;
        bottom: 14px;

        font-size: 3rem;
    }

    .vehicle-showcase__content > p:not(.eyebrow) {
        margin-bottom: 28px;
    }

    .vehicle-features {
        margin-bottom: 32px;
    }

    .fleet-benefit {
        padding: 32px 28px;
    }

    .fleet-benefit > span {
        margin-bottom: 36px;
    }

}


/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 480px) {

    .fleet-page-hero {
        min-height: 680px;
    }

    .fleet-page-hero__content {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .vehicle-showcase {
        padding: 70px 0;
    }

    .vehicle-showcase__image,
    .vehicle-showcase__image img {
        min-height: 280px;
    }

    .vehicle-showcase__index {
        font-size: 2.7rem;
    }

    .vehicle-features li {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .vehicle-features li::before {
        top: 22px;
    }

    .fleet-benefit {
        padding: 30px 24px;
    }

}


/* =========================================================
   REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vehicle-showcase__image img,
    .fleet-benefit {
        transition: none;
    }

    .vehicle-showcase__image:hover img,
    .fleet-benefit:hover {
        transform: none;
    }

}