/* =========================================================
   AUT0LOTTO – FAHRZEUGÜBERSICHT
========================================================= */

.page-vehicles main {
    overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.vehicles-hero {
    position: relative;
    isolation: isolate;

    padding: 84px 0 68px;

    overflow: hidden;
}

.vehicles-hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(47, 109, 246, 0.18),
            transparent 31%
        ),
        radial-gradient(
            circle at 82% 32%,
            rgba(61, 184, 194, 0.08),
            transparent 32%
        );
}

.vehicles-hero-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.vehicles-hero-glow-one {
    top: -150px;
    right: 3%;

    width: 500px;
    height: 500px;

    background:
        radial-gradient(
            circle,
            rgba(47, 109, 246, 0.15),
            transparent 70%
        );
}

.vehicles-hero-glow-two {
    bottom: -220px;
    left: -110px;

    width: 470px;
    height: 470px;

    background:
        radial-gradient(
            circle,
            rgba(40, 111, 213, 0.11),
            transparent 70%
        );
}

.vehicles-hero-content {
    max-width: 790px;
}

.vehicles-hero-content h1 {
    max-width: 760px;
    margin-bottom: 20px;

    font-size: clamp(48px, 6vw, 78px);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.vehicles-hero-content h1 span {
    color: var(--al-primary-light);
}

.vehicles-hero-content > p {
    max-width: 680px;
    margin-bottom: 35px;

    color: #9aa9ba;

    font-size: 17px;
    line-height: 1.75;
}

.vehicles-hero-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.vehicles-hero-stats > div {
    min-width: 158px;
    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.025);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vehicles-hero-stats strong,
.vehicles-hero-stats span {
    display: block;
}

.vehicles-hero-stats strong {
    margin-bottom: 3px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
}

.vehicles-hero-stats span {
    color: #77879a;

    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

/* =========================================================
   INHALT
========================================================= */

.vehicles-content-section {
    position: relative;

    padding: 38px 0 105px;
}

/* Toolbar */

.vehicles-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: center;
    gap: 18px;

    margin-bottom: 18px;
    padding: 15px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 34, 53, 0.85),
            rgba(8, 23, 39, 0.88)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.21);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.vehicles-search-wrapper {
    position: relative;
}

.vehicles-search-icon {
    position: absolute;
    top: 50%;
    left: 15px;

    color: #74859a;

    font-size: 19px;

    transform: translateY(-50%);
}

.vehicles-search-wrapper input {
    width: 100%;
    min-height: 51px;
    padding: 0 45px 0 46px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;

    font-size: 13px;

    transition:
        border-color var(--al-transition),
        background var(--al-transition),
        box-shadow var(--al-transition);
}

.vehicles-search-wrapper input::placeholder {
    color: #697b90;
}

.vehicles-search-wrapper input:focus {
    border-color: rgba(92, 141, 255, 0.53);

    background: rgba(47, 109, 246, 0.05);

    box-shadow:
        0 0 0 4px rgba(47, 109, 246, 0.1);

    outline: none;
}

.vehicles-search-clear {
    position: absolute;
    top: 50%;
    right: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.04);
    color: #8292a5;

    font-size: 20px;

    transform: translateY(-50%);
}

.vehicles-filter-group {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.vehicles-select-wrapper select {
    min-height: 51px;
    padding: 0 36px 0 14px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;

    background-color: rgba(255, 255, 255, 0.03);
    color: #d7dfe9;

    font-size: 11px;
    font-weight: 720;

    cursor: pointer;
}

.vehicles-select-wrapper select:focus {
    border-color: rgba(92, 141, 255, 0.45);

    outline: none;
}

.vehicles-select-wrapper option {
    background: #0d1d2f;
    color: #ffffff;
}

/* Ergebniszeile */

.vehicles-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 44px;
    margin-bottom: 24px;
}

.vehicles-result-bar p {
    margin: 0;

    color: #7d8da0;

    font-size: 11px;
}

.vehicles-result-bar strong {
    color: #ffffff;

    font-size: 13px;
}

.vehicles-reset-button {
    padding: 8px 0;

    background: transparent;
    color: #7199fb;

    font-size: 11px;
    font-weight: 780;
}

/* =========================================================
   FAHRZEUGKARTEN
========================================================= */

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.vehicle-list-card {
    min-width: 0;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 35, 54, 0.94),
            rgba(8, 23, 39, 0.96)
        );

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);

    overflow: hidden;

    transition:
        transform var(--al-transition),
        border-color var(--al-transition),
        box-shadow var(--al-transition);
}

.vehicle-list-card:hover {
    transform: translateY(-6px);

    border-color: rgba(92, 141, 255, 0.27);

    box-shadow:
        0 29px 68px rgba(0, 0, 0, 0.31),
        0 0 40px rgba(47, 109, 246, 0.06);
}

.vehicle-list-card[hidden] {
    display: none;
}

/* Bild */

.vehicle-list-image-wrapper {
    position: relative;

    display: block;

    height: 325px;

    background: #071421;

    overflow: hidden;
}

.vehicle-list-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 650ms ease,
        filter 650ms ease;
}

.vehicle-list-card:hover .vehicle-list-image {
    transform: scale(1.055);

    filter:
        saturate(1.05)
        contrast(1.02);
}

.vehicle-list-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 13, 24, 0.94),
            transparent 65%
        );

    pointer-events: none;
}

.vehicle-status-badge,
.vehicle-soldout-badge {
    position: absolute;
    top: 16px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 29px;
    padding: 7px 11px;

    border-radius: var(--al-radius-pill);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;

    backdrop-filter: blur(11px);
}

.vehicle-status-badge {
    left: 16px;
}

.vehicle-status-active {
    border: 1px solid rgba(79, 201, 155, 0.18);

    background: rgba(29, 111, 82, 0.83);
    color: #ffffff;
}

.vehicle-status-active > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #82f0c2;

    box-shadow:
        0 0 0 4px rgba(130, 240, 194, 0.12);
}

.vehicle-status-upcoming {
    border: 1px solid rgba(255, 200, 61, 0.18);

    background: rgba(128, 88, 16, 0.82);
    color: #ffe49a;
}

.vehicle-status-completed {
    border: 1px solid rgba(255, 255, 255, 0.09);

    background: rgba(40, 50, 64, 0.84);
    color: #b9c3cf;
}

.vehicle-soldout-badge {
    right: 16px;

    border: 1px solid rgba(239, 100, 103, 0.2);

    background: rgba(135, 41, 44, 0.84);
    color: #ffffff;
}

.vehicle-image-bottom {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 3;
}

.vehicle-image-bottom span,
.vehicle-image-bottom strong {
    display: block;
}

.vehicle-image-bottom span {
    margin-bottom: 4px;

    color: #719cff;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.vehicle-image-bottom strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 24px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Karteninhalt */

.vehicle-list-content {
    padding: 23px;
}

.vehicle-list-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 21px;
}

.vehicle-list-topline > div:first-child {
    min-width: 0;
}

.vehicle-list-brand {
    display: block;

    margin-bottom: 5px;

    color: #6f99ff;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vehicle-list-topline h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 880;
}

.vehicle-list-topline h2 a {
    transition: color var(--al-transition);
}

.vehicle-list-topline h2 a:hover {
    color: #7da2ff;
}

.vehicle-list-price {
    flex: 0 0 auto;

    text-align: right;
}

.vehicle-list-price span,
.vehicle-list-price strong {
    display: block;
}

.vehicle-list-price span {
    margin-bottom: 3px;

    color: #718196;

    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.vehicle-list-price strong {
    color: #ffffff;

    font-size: 23px;
    font-weight: 950;
}

/* Daten */

.vehicle-list-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;

    margin-bottom: 21px;
}

.vehicle-list-specs > div {
    min-width: 0;
    padding: 11px 8px;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.025);

    text-align: center;
}

.vehicle-list-specs > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    margin-bottom: 6px;

    border-radius: 8px;

    background: rgba(47, 109, 246, 0.09);
    color: #7298f7;

    font-size: 13px;
}

.vehicle-list-specs small,
.vehicle-list-specs strong {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-list-specs small {
    margin-bottom: 2px;

    color: #6d7d91;

    font-size: 7px;
    font-weight: 750;
    text-transform: uppercase;
}

.vehicle-list-specs strong {
    color: #dce4ee;

    font-size: 10px;
}

/* Fortschritt */

.vehicle-list-progress {
    margin-bottom: 19px;
}

.vehicle-progress-head,
.vehicle-progress-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.vehicle-progress-head {
    margin-bottom: 8px;
}

.vehicle-progress-head span {
    color: #77879a;

    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.vehicle-progress-head strong {
    color: #ffffff;

    font-size: 11px;
}

.vehicle-progress-track {
    width: 100%;
    height: 7px;

    border-radius: var(--al-radius-pill);

    background: rgba(255, 255, 255, 0.06);

    overflow: hidden;
}

.vehicle-progress-track > span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #3474f6,
            #64a0ff
        );

    box-shadow:
        0 0 12px rgba(64, 128, 255, 0.36);
}

.vehicle-progress-bottom {
    margin-top: 7px;
}

.vehicle-progress-bottom span {
    color: #6b7c90;

    font-size: 8px;
}

/* Ziehung */

.vehicle-list-draw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 20px;
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.022);
}

.vehicle-list-draw small,
.vehicle-list-draw strong {
    display: block;
}

.vehicle-list-draw small {
    margin-bottom: 2px;

    color: #6f8094;

    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.vehicle-list-draw strong {
    color: #dfe7f0;

    font-size: 12px;
}

.vehicle-card-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(38px, 1fr));
    gap: 4px;

    min-width: 210px;
}

.vehicle-card-countdown .countdown-unit {
    padding: 7px 3px;

    border-radius: 7px;

    background: rgba(47, 109, 246, 0.06);

    text-align: center;
}

.vehicle-card-countdown .countdown-number {
    display: block;

    color: #ffffff;

    font-size: 11px;
    line-height: 1;
}

.vehicle-card-countdown .countdown-label {
    display: block;

    margin-top: 4px;

    color: #65778d;

    font-size: 6px;
    text-transform: uppercase;
}

.vehicle-upcoming-text,
.vehicle-completed-text {
    color: #8897a8;

    font-size: 10px;
    font-weight: 750;
}

/* Aktionen */

.vehicle-list-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vehicle-list-actions .al-button {
    width: 100%;
}

.vehicle-action-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);
    color: #68798d;

    font-size: 11px;
    font-weight: 800;
}

/* Leere Zustände */

.vehicles-empty-state,
.vehicles-no-results {
    padding: 85px 30px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.02);

    text-align: center;
}

.vehicles-empty-icon {
    margin-bottom: 15px;

    font-size: 48px;
}

.vehicles-empty-state h2,
.vehicles-no-results h2 {
    margin-bottom: 9px;

    font-size: 28px;
}

.vehicles-empty-state p,
.vehicles-no-results p {
    max-width: 500px;
    margin: 0 auto 23px;

    color: #8292a5;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1120px) {
    .vehicles-toolbar {
        grid-template-columns: 1fr;
    }

    .vehicles-filter-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vehicles-select-wrapper select {
        width: 100%;
    }

    .vehicles-grid {
        gap: 18px;
    }

    .vehicle-list-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-card-countdown {
        min-width: 185px;
    }
}

@media (max-width: 850px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-list-image-wrapper {
        height: 360px;
    }
}

@media (max-width: 680px) {
    .vehicles-hero {
        padding: 58px 0 48px;
    }

    .vehicles-hero-content h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .vehicles-hero-content > p {
        font-size: 15px;
    }

    .vehicles-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vehicles-filter-group {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vehicle-list-image-wrapper {
        height: 295px;
    }

    .vehicle-list-topline {
        flex-direction: column;
    }

    .vehicle-list-price {
        text-align: left;
    }

    .vehicle-list-draw {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-card-countdown {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .vehicles-content-section {
        padding-bottom: 75px;
    }

    .vehicles-toolbar {
        padding: 10px;
    }

    .vehicles-filter-group {
        grid-template-columns: 1fr;
    }

    .vehicles-result-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .vehicle-list-card {
        border-radius: 16px;
    }

    .vehicle-list-image-wrapper {
        height: 240px;
    }

    .vehicle-image-bottom strong {
        font-size: 20px;
    }

    .vehicle-list-content {
        padding: 18px;
    }

    .vehicle-list-specs {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vehicle-list-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FAHRZEUGSEITE – VISUELLE KORREKTUREN
========================================================= */

/* Alte Serifenschriften überschreiben */

.page-vehicles,
.page-vehicles button,
.page-vehicles input,
.page-vehicles select,
.page-vehicles textarea,
.page-vehicles h1,
.page-vehicles h2,
.page-vehicles h3,
.page-vehicles h4,
.page-vehicles p,
.page-vehicles a,
.page-vehicles span,
.page-vehicles strong,
.page-vehicles small {
    font-family:
        Inter,
        Arial,
        "Segoe UI",
        sans-serif !important;
}

/* Header ebenfalls korrigieren */

.page-vehicles .brand-name,
.page-vehicles .main-navigation a,
.page-vehicles .header-ticket-button {
    font-family:
        Inter,
        Arial,
        "Segoe UI",
        sans-serif !important;
}

/* Hero kompakter */

.page-vehicles .vehicles-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 58px;
}

.page-vehicles .vehicles-hero-content {
    max-width: 760px;
}

.page-vehicles .vehicles-hero-content h1 {
    max-width: 720px;
    margin-bottom: 20px;

    font-size: clamp(48px, 5.2vw, 74px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.page-vehicles .vehicles-hero-content > p {
    max-width: 660px;
    margin-bottom: 30px;

    font-size: 16px;
}

/* Hero nicht unnötig über gesamte Höhe ziehen */

.page-vehicles .vehicles-hero::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 7%;

    width: 410px;
    height: 270px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 109, 246, 0.11),
            transparent 68%
        );

    transform: translateY(-50%);
    pointer-events: none;
}

/* Statistiken moderner */

.page-vehicles .vehicles-hero-stats > div {
    min-width: 150px;
    padding: 14px 17px;

    background: rgba(255, 255, 255, 0.018);
}

.page-vehicles .vehicles-hero-stats strong {
    font-size: 19px;
}

.page-vehicles .vehicles-hero-stats span {
    font-size: 9px;
}

/* Inhaltsbereich enger */

.page-vehicles .vehicles-content-section {
    padding-top: 30px;
    padding-bottom: 65px;
}

/* Filterleiste leichter */

.page-vehicles .vehicles-toolbar {
    padding: 12px;

    border-radius: 15px;

    background:
        rgba(14, 31, 49, 0.63);

    box-shadow:
        0 13px 32px rgba(0, 0, 0, 0.16);
}

.page-vehicles .vehicles-search-wrapper input,
.page-vehicles .vehicles-select-wrapper select {
    min-height: 48px;
}

/* Fahrzeuggrid */

.page-vehicles .vehicles-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: start;
    gap: 24px;
}

/* Bei nur einem Fahrzeug Karte zentrieren */

.page-vehicles .vehicles-grid
.vehicle-list-card:only-child {
    grid-column: 1 / -1;

    width: min(100%, 920px);
    margin-inline: auto;
}

/* Einzelkarte horizontaler und kompakter */

.page-vehicles .vehicles-grid
.vehicle-list-card:only-child {
    display: grid;
    grid-template-columns:
        minmax(330px, 0.95fr)
        minmax(390px, 1.05fr);
}

.page-vehicles .vehicles-grid
.vehicle-list-card:only-child
.vehicle-list-image-wrapper {
    height: 100%;
    min-height: 570px;
}

.page-vehicles .vehicles-grid
.vehicle-list-card:only-child
.vehicle-list-content {
    display: flex;
    flex-direction: column;

    padding: 27px;
}

/* Bild und Karte etwas kleiner */

.page-vehicles .vehicle-list-image-wrapper {
    height: 285px;
}

.page-vehicles .vehicle-image-bottom strong {
    font-size: 21px;
}

.page-vehicles .vehicle-list-content {
    padding: 20px;
}

.page-vehicles .vehicle-list-topline {
    margin-bottom: 18px;
}

.page-vehicles .vehicle-list-topline h2 {
    font-size: 22px;
}

.page-vehicles .vehicle-list-price strong {
    font-size: 21px;
}

/* Fahrzeugdaten kompakter */

.page-vehicles .vehicle-list-specs {
    margin-bottom: 18px;
}

.page-vehicles .vehicle-list-specs > div {
    padding: 10px 7px;
}

.page-vehicles .vehicle-list-draw {
    margin-bottom: 17px;
    padding: 12px;
}

/* Buttons moderner */

.page-vehicles .vehicle-list-actions .al-button {
    min-height: 48px;

    font-size: 13px;
}

/* Weniger Abstand vor dem Newsletter */

.page-vehicles + .newsletter-section,
.page-vehicles .newsletter-section {
    padding-top: 25px;
}

body.page-vehicles .newsletter-section {
    padding-top: 20px;
}

/* Tablet */

@media (max-width: 900px) {
    .page-vehicles .vehicles-grid
    .vehicle-list-card:only-child {
        display: block;

        width: 100%;
    }

    .page-vehicles .vehicles-grid
    .vehicle-list-card:only-child
    .vehicle-list-image-wrapper {
        height: 360px;
        min-height: 0;
    }
}

/* Smartphone */

@media (max-width: 600px) {
    .page-vehicles .vehicles-hero {
        padding-top: 48px;
        padding-bottom: 42px;
    }

    .page-vehicles .vehicles-hero-content h1 {
        font-size: clamp(39px, 12vw, 53px);
    }

    .page-vehicles .vehicles-hero-stats {
        grid-template-columns: 1fr;
    }

    .page-vehicles .vehicles-grid
    .vehicle-list-card:only-child
    .vehicle-list-image-wrapper {
        height: 250px;
    }

    .page-vehicles .vehicle-list-content {
        padding: 18px;
    }
}