/* Fahrzeug-Seiten — dunkles Mockup-Design (scoped) */

body.vehicle-pages {
    --v-primary: #e63946;
    --v-bg: #0d1117;
    --v-card-bg: rgba(22, 27, 34, 0.85);
    --v-hero-fade: #0d1117;
    --v-hero-fade-opacity: 0.85;
    --v-button-glow: #e63946;
    --v-button-fade: 0.6;
    --v-stat-1: #e63946;
    --v-stat-2: #3b82f6;
    --v-stat-3: #22c55e;
    --v-stat-4: #f97316;
    --v-stat-5: #a855f7;
    --v-stat-6: #eab308;
    --v-text: #e6edf3;
    --v-text-muted: #8b949e;
    --v-border: rgba(240, 246, 252, 0.1);
    background: var(--v-bg);
    color: var(--v-text);
}

body.vehicle-pages .site-main {
    padding-bottom: 3rem;
}

body.vehicle-pages .navbar-modern {
    border-bottom: 1px solid var(--v-border);
}

body.vehicle-pages .info-breadcrumb {
    color: var(--v-text-muted);
    margin-bottom: 1rem;
}

body.vehicle-pages .info-breadcrumb a {
    color: var(--v-text-muted);
}

body.vehicle-pages .info-breadcrumb a:hover {
    color: var(--v-primary);
}

/* Liste */
.v-list-header {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--v-primary);
}

.v-list-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--v-text);
}

.v-list-header p {
    margin: 0;
    color: var(--v-text-muted);
}

.v-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.v-list-card.bl-card,
.bl-card.v-list-card {
    padding: 0;
    overflow: hidden;
    border-left-width: 1px;
}

/* List card layout — base card in components.css */
.v-list-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.v-list-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-list-card-thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, var(--v-bg), transparent);
    pointer-events: none;
}

.v-list-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
}

.v-list-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
}

.v-list-card-summary {
    font-size: 0.9rem;
    color: var(--v-text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.v-list-card-link {
    font-size: 0.85rem;
    color: var(--v-primary);
    font-weight: 600;
}

.v-list-empty,
.v-back-link {
    color: var(--v-text-muted);
}

.v-back-link a {
    color: var(--v-primary);
}

/* Detail — Hero */
.v-detail-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.v-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .v-hero {
        grid-template-columns: 1fr;
    }
}

.v-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.v-hero-lead {
    font-size: 1.1rem;
    color: var(--v-text-muted);
    margin: 0 0 1rem;
}

.v-hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--v-text-muted);
    margin-bottom: 1.25rem;
}

.v-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.v-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.v-tag-primary {
    background: var(--v-primary);
    color: #fff;
}

.v-tag-muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--v-text-muted);
    border: 1px solid var(--v-border);
}

.v-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.v-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--v-button-glow) 50%, transparent);
    background: color-mix(in srgb, var(--v-button-glow) calc(var(--v-button-fade) * 15%), transparent);
    color: var(--v-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    max-width: 100%;
    flex-shrink: 1;
}

.v-hero-actions .v-btn-outline .v-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.v-hero-text,
.v-list-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.v-list-card-thumb img {
    image-rendering: auto;
}

.v-gallery-thumb-img,
.v-gallery-thumb img,
.v-gallery-thumb picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v-btn-outline:hover {
    border-color: var(--v-button-glow);
    box-shadow: 0 0 20px color-mix(in srgb, var(--v-button-glow) 45%, transparent);
    background: color-mix(in srgb, var(--v-button-glow) calc(var(--v-button-fade) * 25%), transparent);
}

.v-hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--v-border);
}

.v-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.v-hero-visual::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 50%;
    background: linear-gradient(to top, var(--v-hero-fade), transparent);
    opacity: var(--v-hero-fade-opacity);
    pointer-events: none;
}

.v-hero-slider-nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.v-hero-counter {
    font-size: 0.85rem;
    color: var(--v-text-muted);
    margin-right: 0.25rem;
}

.v-hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--v-border);
    background: rgba(0, 0, 0, 0.5);
    color: var(--v-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.v-hero-arrow:hover {
    border-color: var(--v-primary);
    background: color-mix(in srgb, var(--v-primary) 25%, transparent);
}

/* Stats-Bar */
.v-stats-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 1100px) {
    .v-stats-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .v-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

.v-stat-card {
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.25s ease;
}

.v-stat-card:hover {
    box-shadow: 0 4px 24px color-mix(in srgb, var(--stat-color, var(--v-primary)) 30%, transparent);
}

.v-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--stat-color, var(--v-primary)) 18%, transparent);
    color: var(--stat-color, var(--v-primary));
}

.v-stat-icon .v-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
}

.v-stat-card:hover .v-stat-icon .v-icon {
    transform: scale(1.12);
}

.v-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.v-stat-label {
    font-size: 0.75rem;
    color: var(--v-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Tabs */
.v-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.35rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid var(--v-border);
}

.v-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--v-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.v-tab .v-icon {
    width: 18px;
    height: 18px;
}

.v-tab.is-active {
    background: var(--v-primary);
    color: #fff;
}

.v-tab:hover:not(.is-active) {
    color: var(--v-text);
    background: rgba(255, 255, 255, 0.06);
}

.v-tab-panel {
    display: none;
}

.v-tab-panel.is-active {
    display: block;
}

/* Content Grid */
.v-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
    .v-content-grid {
        grid-template-columns: 1fr;
    }
}

.v-card {
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: 14px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

.v-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v-card-link {
    font-size: 0.8rem;
    color: var(--v-primary);
    text-decoration: none;
    font-weight: 600;
}

.v-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--v-text-muted);
}

.v-checklist .v-icon {
    width: 18px;
    height: 18px;
    color: var(--v-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.v-specs-mini dt {
    font-size: 0.8rem;
    color: var(--v-text-muted);
    margin-top: 0.5rem;
}

.v-specs-mini dd {
    margin: 0.15rem 0 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.v-gallery-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    aspect-ratio: 16 / 10;
}

.v-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-gallery-main::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(to top, var(--v-hero-fade), transparent);
    opacity: var(--v-hero-fade-opacity);
}

.v-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.v-gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
}

.v-gallery-thumb.is-active,
.v-gallery-thumb:hover {
    opacity: 1;
    border-color: var(--v-primary);
}

.v-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v-equipment-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--v-border);
    font-size: 0.9rem;
}

.v-equipment-list li:last-child {
    border-bottom: none;
}

.v-equipment-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--v-primary) 15%, transparent);
    color: var(--v-primary);
    flex-shrink: 0;
}

.v-equipment-icon .v-icon {
    width: 20px;
    height: 20px;
}

.v-quick-info dt {
    font-size: 0.8rem;
    color: var(--v-text-muted);
}

.v-quick-info dd {
    margin: 0 0 0.65rem;
    font-weight: 600;
}

.v-use-case {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.v-use-case-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-use-case-icon .v-icon {
    width: 22px;
    height: 22px;
}

.v-use-case strong {
    display: block;
    margin-bottom: 0.2rem;
}

.v-use-case p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--v-text-muted);
}

.v-specs-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.v-specs-full dt {
    font-size: 0.8rem;
    color: var(--v-text-muted);
}

.v-specs-full dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
}

body.vehicle-pages .content-rich {
    color: var(--v-text-muted);
}

body.vehicle-pages .content-rich a {
    color: var(--v-primary);
}

/* Ähnliche Fahrzeuge */
.v-similar {
    margin-top: 2rem;
}

.v-similar h2 {
    font-size: 1.35rem;
    margin: 0 0 1rem;
}

.v-similar-track-wrap {
    position: relative;
}

.v-similar-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--v-border) transparent;
}

.v-similar-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.v-similar-card:hover {
    border-color: var(--v-primary);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--v-primary) 30%, transparent);
}

.v-similar-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.v-similar-card-body {
    padding: 0.85rem 1rem;
}

.v-similar-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

.v-similar-card-sub {
    font-size: 0.8rem;
    color: var(--v-text-muted);
    margin: 0.25rem 0 0;
}

.v-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--v-border);
    background: rgba(0, 0, 0, 0.6);
    color: var(--v-text);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-carousel-btn:hover {
    border-color: var(--v-primary);
}

.v-carousel-btn.prev { left: -0.5rem; }
.v-carousel-btn.next { right: -0.5rem; }

@media (max-width: 768px) {
    .v-carousel-btn { display: none; }
}

.v-icon {
    display: block;
    flex-shrink: 0;
}

@keyframes v-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.v-stat-card:hover .v-stat-icon,
.v-equipment-list li:hover .v-equipment-icon {
    animation: v-icon-pulse 0.6s ease;
}
