/* Oldtimer, Youngtimer & Reisefahrzeuge — page-specific refinements only. */

.vehicle-page main {
    outline: none;
}

.vehicle-page .skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.8rem 1rem;
    color: #ffffff;
    background: var(--color-emerald-dark);
    border: 2px solid var(--color-gold);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.vehicle-page .skip-link:focus {
    transform: translateY(0);
}

.vehicle-page a:focus-visible,
.vehicle-page button:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

.vehicle-hero-standard .hero-bg {
    background: #ffffff;
}

.vehicle-hero-standard .hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.vehicle-hero-standard .hero-bg-img {
    object-fit: contain;
    object-position: center;
    filter: none;
}

.vehicle-hero-standard .hero-overlay {
    background: rgba(7, 26, 21, 0.76);
}

.vehicle-hero-standard h1.hero-subtitle {
    max-width: 920px;
    margin-bottom: 1.2rem;
}

.vehicle-hero-standard p.hero-subtitle {
    max-width: 760px;
}

.vehicle-grid-section {
    max-width: 1240px;
    text-align: center;
}

.vehicle-grid-intro {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.vehicle-model-grid {
    padding: 0;
}

.vehicle-model-grid .card-image picture {
    display: contents;
}

.vehicle-model-grid .card-image img {
    width: 100%;
    height: 100%;
}

.vehicle-model-grid .card-label {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    justify-content: center;
}

.vehicle-grid-footer {
    max-width: 1050px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.55;
}

#youngtimer,
#ablauf {
    background-color: #f7f5f0;
}

.vehicle-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.vehicle-cta-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .vehicle-hero-standard {
        min-height: 700px;
        height: 100svh;
    }

    .vehicle-hero-standard .hero-overlay {
        background: rgba(7, 26, 21, 0.8);
    }

    .vehicle-hero-standard .hero-content {
        padding-right: 3.25rem;
        padding-left: 1rem;
    }

    .vehicle-hero-standard .hero-logo {
        width: 180px;
    }

    .vehicle-hero-standard h1.hero-subtitle,
    .vehicle-hero-standard p.hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.45;
    }

    .vehicle-grid-section {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .vehicle-grid-section > .section-title {
        max-width: calc(100% - 3rem);
        margin-right: auto;
        margin-left: auto;
    }

    .vehicle-grid-intro {
        text-align: left;
    }

    .vehicle-model-grid .card-image {
        padding: 0.35rem;
    }

    .vehicle-model-grid .card-label {
        min-height: 4.6rem;
        padding: 0.65rem 0.35rem;
        font-size: 0.78rem;
        letter-spacing: 0.2px;
        line-height: 1.25;
    }

    .vehicle-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .vehicle-cta-button {
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        text-align: center;
    }

    .vehicle-page .site-footer a {
        display: inline-flex;
        min-height: 1.5rem;
        align-items: center;
    }
}

@media (max-width: 390px) {
    .vehicle-hero-standard h1.hero-subtitle,
    .vehicle-hero-standard p.hero-subtitle {
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-page *,
    .vehicle-page *::before,
    .vehicle-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
