/* ==========================================================================
   Autohaus AK - Immersive Luxury Showroom Stylesheet
   ========================================================================== */

/* Variables & Base Customization */
:root {
    --bg-dark: #070707;
    --bg-obsidian: #0f0f11;
    --bg-panel: rgba(22, 22, 26, 0.65);
    --bg-panel-hover: rgba(30, 30, 36, 0.8);
    
    /* Luxury Accents */
    --accent-gold: #c5a880;
    --accent-gold-hover: #e5d3b3;
    --accent-gold-glow: rgba(197, 168, 128, 0.25);
    --accent-gold-dark: #967a55;
    
    --accent-platinum: #e5e4e2;
    --text-white: #ffffff;
    --text-muted: #a0a0a5;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Grid & Widths */
    --max-width: 1400px;
    --nav-height: 80px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-sans);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Background Glows */
.ambient-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}
.glow-1 {
    top: -10vw;
    right: -10vw;
    background: var(--accent-gold);
}
.glow-2 {
    bottom: -15vw;
    left: -10vw;
    background: #4a5d6e; /* Subtle steel blue for contrast */
}

/* Utility Typo Classes */
.accent-gold {
    color: var(--accent-gold);
}
.font-serif {
    font-family: var(--font-serif);
}
.italic {
    font-style: italic;
}
.w-100 {
    width: 100%;
}

/* Buttons */
.btn-gold-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-gold);
    color: #000000;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-gold-solid:hover {
    background-color: var(--accent-gold-hover);
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-gold-outline:hover {
    background-color: var(--accent-gold);
    color: #000000;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.btn-trans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-trans:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-text:hover {
    color: var(--text-white);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.glass-panel:hover {
    border-color: var(--border-color-hover);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.luxury-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.luxury-nav.scrolled {
    height: 70px;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    min-width: 200px;
}
.brand-logo-img {
    display: block;
    height: 64px;
    max-height: 64px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: var(--transition-fast);
}
.luxury-nav.scrolled .brand-logo-img {
    height: 52px;
    max-height: 52px;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-link {
    color: #2c2c30;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
    color: #967a55;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #967a55;
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.luxury-nav .btn-gold-outline {
    border-color: #967a55;
    color: #967a55;
    font-weight: 600;
}
.luxury-nav .btn-gold-outline:hover {
    background-color: #967a55;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(150, 122, 85, 0.3);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005;
    padding: 0;
}
.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #111111;
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: #111115;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #967a55;
    transform: translateY(-2px);
}

/* Mobile Filter Toggle Button in Showroom */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    margin-bottom: 25px;
    padding: 14px 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}
.mobile-filter-toggle.active {
    background-color: var(--accent-gold);
    color: #000000;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65);
    transition: transform 12s ease;
}
.hero-section:hover .hero-img {
    transform: scale(1.05);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 7, 7, 0.85) 0%, rgba(7, 7, 7, 0.65) 45%, rgba(7, 7, 7, 0.25) 100%),
                linear-gradient(0deg, var(--bg-dark) 10%, transparent 60%);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin-left: calc((100vw - var(--max-width)) / 2 + 40px);
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Alignment compensation if max-width pushes margins */
@media (max-width: 1480px) {
    .hero-content {
        margin-left: 40px;
    }
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.35em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.hero-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
    max-width: 620px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 10;
}
.mouse {
    width: 20px;
    height: 35px;
    border: 1px solid var(--border-color-hover);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Showroom Section
   ========================================================================== */
.showroom-section {
    padding: 120px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px auto;
}
.section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}
.section-desc {
    color: var(--text-muted);
    font-weight: 300;
}

/* Showroom Wrapper */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(18, 18, 22, 0.9);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 4px;
    cursor: pointer;
}

.showroom-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Filters */
.showroom-sidebar {
    padding: 30px;
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}
.brand-filter-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.sidebar-header h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.filter-group {
    margin-bottom: 25px;
}
.filter-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}
.filter-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-value {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.search-wrapper {
    position: relative;
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.filter-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 12px 12px 12px 42px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 2px;
    transition: var(--transition-fast);
}
.filter-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.brand-filter-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.brand-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0 14px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 4px;
}
.brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.brand-btn-logo, .brand-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    filter: invert(0.85);
    color: #ffffff;
    transition: var(--transition-fast);
}
.brand-count {
    margin-left: auto;
    font-size: 0.72rem;
    opacity: 0.65;
    flex-shrink: 0;
}
.brand-btn:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.25);
}
.brand-btn:hover .brand-btn-logo {
    filter: invert(1);
}
.brand-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
    font-weight: 600;
}
.brand-btn.active .brand-btn-logo {
    filter: invert(0);
}
/* Allow first brand-btn alignment */
.brand-btn[data-brand="all"] {
    justify-content: center;
}

.filter-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 2px;
    margin: 15px 0;
}
.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-gold-glow);
    transition: var(--transition-fast);
}
.filter-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.range-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.filter-select {
    width: 100%;
    background-color: rgba(18, 18, 22, 0.95);
    border: 1px solid var(--border-color);
    padding: 13px 40px 13px 16px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5a880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: var(--transition-fast);
}
.filter-select option {
    background-color: #16161a;
    color: #ffffff;
    padding: 12px;
}
.filter-select:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 12px var(--accent-gold-glow);
}

/* mobile.de API simulation stats badge */
.mobile-sync-status {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 4px;
}
.status-dot {
    width: 7px;
    height: 7px;
    background-color: #2ecc71;
    border-radius: 50%;
}
.status-dot.pulsing {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: statusPulse 1.8s infinite;
}
.status-time {
    color: var(--text-muted);
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Active Filter Tags */
.active-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    min-height: 30px;
}
.active-tag {
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--accent-gold);
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.active-tag i {
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}
.active-tag i:hover {
    color: var(--text-white);
}

/* API Loader */
.api-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    gap: 20px;
    grid-column: 1 / -1;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.api-loader p {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Showroom Content Grid */
.showroom-content {
    min-height: 850px;
}
.cars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    transition: var(--transition-smooth);
}

/* Car Card */
.car-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.car-card-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.car-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.car-card:hover .car-card-img {
    transform: scale(1.06);
}
.car-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 12px;
    font-weight: 600;
}

.car-card-details {
    padding: 25px;
    background: linear-gradient(180deg, rgba(22, 22, 26, 0.4) 0%, rgba(15, 15, 17, 0.85) 100%);
}
.car-brand-model {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.car-brand {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin-bottom: 2px;
}
.car-model {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.car-price {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-white);
}

.car-specs-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.spec-item {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
}
.spec-label {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spec-value {
    color: var(--text-white);
    font-weight: 500;
    margin-top: 2px;
}

.car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}
.btn-card-details {
    color: var(--accent-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}
.car-card:hover .btn-card-details {
    color: var(--text-white);
}
.car-card:hover .btn-card-details i {
    transform: translateX(4px);
}
.btn-card-details i {
    transition: var(--transition-fast);
}

.mobile-badge {
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

/* No Results State */
.no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}
.icon-no-results {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}
.no-results h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
}
.no-results p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ==========================================================================
   mobile.de integration Info Section
   ========================================================================== */
.info-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-obsidian) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.info-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.info-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.benefit-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-text h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 8px;
}
.benefit-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.api-card {
    padding: 30px;
    overflow: hidden;
}
.api-header {
    display: flex;
    gap: 6px;
    margin-bottom: 25px;
    position: relative;
}
.api-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.api-dot.red { background-color: #ff5f56; }
.api-dot.yellow { background-color: #ffbd2e; }
.api-dot.green { background-color: #27c93f; }
.api-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}
.api-code {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-x: auto;
    margin-bottom: 25px;
}
.code-keyword { color: #f92672; }
.code-string { color: #e6db74; }
.code-function { color: #66d9ef; }
.code-comment { color: #75715e; }

.api-badge-row {
    display: flex;
    gap: 15px;
}
.api-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 2px;
    color: var(--text-white);
}
.api-badge i {
    color: var(--accent-gold);
    margin-right: 6px;
}

/* ==========================================================================
   Detail slide-out Panel (Drawer)
   ========================================================================== */
.detail-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.detail-drawer.active {
    pointer-events: auto;
}
.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.detail-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 900px;
    min-width: 375px;
    height: 100%;
    background: #0d0d0f;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 60px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.detail-drawer.active .drawer-content {
    right: 0;
}

.close-drawer {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}
.close-drawer:hover {
    color: var(--accent-gold);
}

/* Inside Drawer Content Layout */
.drawer-car-title {
    margin-bottom: 25px;
}
.drawer-car-brand {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
}
.drawer-car-name {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.1;
    margin-top: 5px;
}

.drawer-gallery {
    margin-bottom: 35px;
}
.gallery-main {
    height: 400px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-price-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}
.price-block {
    display: flex;
    flex-direction: column;
}
.price-block .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.price-block .price-val {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 5px;
}
.price-block .vat-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.spec-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.drawer-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.drawer-spec-item i {
    color: var(--accent-gold);
    width: 20px;
    font-size: 1rem;
    text-align: center;
}
.drawer-spec-info {
    display: flex;
    flex-direction: column;
}
.drawer-spec-info .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.drawer-spec-info .val {
    font-size: 0.85rem;
    font-weight: 500;
}

.drawer-details-desc {
    margin-bottom: 40px;
}
.drawer-section-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}
.drawer-details-desc p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Financing Calculator */
.financing-calculator {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 40px;
}
.calculator-header {
    margin-bottom: 25px;
}
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.calc-input-group {
    display: flex;
    flex-direction: column;
}
.calc-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.calc-label-row span:last-child {
    color: var(--accent-gold);
    font-weight: 600;
}
.calc-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 2px;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
}

.calc-results {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.calc-results .result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.calc-results .result-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 8px 0;
}
.calc-results .result-details {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.drawer-actions {
    display: flex;
    gap: 20px;
}
.drawer-actions .btn {
    flex: 1;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 120px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.contact-card {
    padding: 60px;
}
.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    justify-content: center;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-info-item i {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-item h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 4px;
}
.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 14px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 2px;
    transition: var(--transition-fast);
}
.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}
textarea.form-control {
    resize: none;
}

/* Chrome/Safari Autofill Dark Mode Override */
input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover, 
input.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #151518 inset !important;
    box-shadow: 0 0 0px 1000px #151518 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.luxury-footer {
    background: #070707;
    border-top: 1px solid var(--border-color);
    padding: 80px 40px 40px 40px;
}
/* Light Clean Footer Theme */
.light-footer {
    background-color: #ffffff;
    color: #1a1a1e;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.light-footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}
.light-footer .brand-logo-img {
    height: 65px !important;
    max-height: 65px !important;
    width: auto;
    margin-bottom: 12px;
}
.footer-desc {
    color: #55555e;
    font-size: 0.92rem;
    max-width: 360px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.footer-contact-mini {
    font-size: 0.88rem;
    color: #55555e;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-contact-mini a {
    color: #55555e;
    text-decoration: none;
}
.footer-contact-mini a:hover {
    color: #967a55;
}
.footer-col h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    color: #111115;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col ul a {
    color: #55555e;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.footer-col ul a:hover {
    color: #967a55;
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    clear: both;
    text-align: center;
    font-size: 0.85rem;
    color: #777782;
}

/* Legal Modals & Pages Styling - White Card on Dark Background */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.legal-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
}
.legal-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: #ffffff;
    color: #1a1a1e;
    padding: 50px 45px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
    z-index: 2005;
    overflow-y: auto;
}
.close-legal-modal {
    position: absolute;
    top: 22px;
    right: 25px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.close-legal-modal:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}
.legal-modal-content h2, .legal-page-container h1 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: #111115;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 15px;
    letter-spacing: 0.02em;
}
.legal-text-body h3, .legal-text-body h2 {
    font-size: 1.25rem;
    color: #8c6d3f;
    margin-top: 30px;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: var(--font-sans);
}
.legal-text-body p, .legal-text-body ul {
    font-size: 0.95rem;
    color: #3a3a42;
    line-height: 1.7;
    margin-bottom: 16px;
}
.legal-text-body strong {
    color: #111115;
}
.legal-text-body a {
    color: #8c6d3f;
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition-fast);
}
.legal-text-body a:hover {
    color: #111115;
}

/* Dedicated Legal Pages (Impressum.html & Datenschutz.html) */
.legal-page-wrapper {
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: #1a1a1e;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
}
.legal-page-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 25px;
}
.legal-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Laptop / Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 25px;
    }
    .hero-content {
        margin-left: 25px;
        max-width: 720px;
    }
    .hero-title {
        font-size: 4rem;
    }
    .showroom-section, .info-section, .contact-section {
        padding: 90px 25px;
    }
    .drawer-content {
        width: 75%;
    }
}

/* Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
    :root {
        --nav-height: 70px;
    }
    .nav-links, .nav-actions {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .nav-container {
        padding: 0 20px;
    }
    .brand-logo-img {
        height: 52px;
        max-height: 52px;
    }

    /* Hero */
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-content {
        margin-left: 20px;
        padding-right: 20px;
    }

    /* Showroom Layout & Filters */
    .showroom-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-filter-toggle {
        display: flex;
    }
    .showroom-sidebar {
        display: none;
        position: static;
        width: 100%;
        margin-bottom: 25px;
        padding: 25px 20px;
    }
    .showroom-sidebar.mobile-open {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    /* Info Section */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .api-card {
        padding: 20px;
    }

    /* Drawer */
    .drawer-content {
        width: 90%;
        padding: 50px 30px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Tablets Portrait & Large Smartphones (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    /* Hero */
    .hero-section {
        min-height: 580px;
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.6rem;
        margin-bottom: 20px;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn-gold-solid,
    .hero-buttons .btn-trans {
        width: 100%;
        text-align: center;
    }
    .hero-scroll-indicator {
        display: none; /* Hide on touch screens to save space */
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 45px;
    }
    .section-title {
        font-size: 2.3rem;
    }

    /* Cars Grid */
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .car-card-img-wrapper {
        height: 220px;
    }
    .car-brand-model {
        flex-direction: column;
        gap: 4px;
    }
    .car-model {
        font-size: 1.35rem;
    }

    /* Detail Drawer */
    .detail-drawer .drawer-content {
        width: 100%;
        padding: 40px 20px 60px 20px;
    }
    .close-drawer {
        top: 18px;
        right: 20px;
        font-size: 1.6rem;
    }
    .drawer-car-name {
        font-size: 2.1rem;
    }
    .gallery-main {
        height: 250px;
    }
    .drawer-price-specs {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .spec-list-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .drawer-actions {
        flex-direction: column;
        gap: 12px;
    }

    /* Contact Section */
    .contact-card {
        padding: 30px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-info-list {
        gap: 25px;
    }

    /* Footer */
    .light-footer, .luxury-footer {
        padding: 50px 20px 30px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Legal Modals & Pages */
    .legal-modal-content {
        width: 95%;
        padding: 30px 20px;
        max-height: 90vh;
    }
    .legal-page-wrapper {
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 50px;
    }
    .legal-card {
        padding: 25px 18px;
    }
    .legal-modal-content h2, .legal-page-container h1 {
        font-size: 1.8rem;
    }
}

/* Small Smartphones (max-width: 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    .brand-logo-img {
        height: 44px;
        max-height: 44px;
    }
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.25em;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .brand-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .car-card-img-wrapper {
        height: 200px;
    }
    .car-card-details {
        padding: 18px;
    }
    .car-specs-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .spec-label {
        font-size: 0.6rem;
    }
    .spec-value {
        font-size: 0.7rem;
    }
    .gallery-main {
        height: 210px;
    }
    .drawer-car-name {
        font-size: 1.7rem;
    }
    .calc-results .result-price {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   About Us Section Styles
   ========================================================================== */
.about-section {
    padding: 100px 0;
    position: relative;
}
.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.about-card {
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(197, 168, 128, 0.4);
}
.about-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-white);
}
.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Load More Button Mobile Optimization */
.load-more-btn {
    padding: 14px 40px;
    font-size: 0.95rem;
    max-width: 100%;
    box-sizing: border-box;
}

.cars-count-badge {
    white-space: nowrap;
    display: inline-block;
    margin-left: 4px;
}

@media (max-width: 576px) {
    .load-more-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Extended Vehicle Technical Specs & Equipment Badges
   ========================================================================== */
.drawer-price-specs-expanded {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.spec-list-grid-expanded {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 6px;
}

.drawer-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-spec-item i {
    color: var(--accent-gold);
    width: 22px;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.drawer-spec-info {
    display: flex;
    flex-direction: column;
}

.drawer-spec-info .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.drawer-spec-info .val {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-white);
}

.drawer-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    margin-top: 30px;
}

.drawer-section-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-section-title i {
    font-size: 1.1rem;
}

/* Equipment / Ausstattung Feature Badges */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: #e5e4e2;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.83rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.feature-pill i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.feature-pill:hover {
    background: rgba(197, 168, 128, 0.18);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* ==========================================================================
   Modern Vehicle Inquiry Modal Pop-up
   ========================================================================== */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.inquiry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.inquiry-modal-content {
    position: relative;
    width: 92%;
    max-width: 680px;
    max-height: 90vh;
    background: #0f0f13;
    color: var(--text-white);
    padding: 35px 35px 40px;
    border-radius: 8px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(197, 168, 128, 0.15);
    z-index: 2505;
    overflow-y: auto;
    transform: scale(0.95) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal.active .inquiry-modal-content {
    transform: scale(1) translateY(0);
}

.close-inquiry-modal {
    position: absolute;
    top: 20px;
    right: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.close-inquiry-modal:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(197, 168, 128, 0.15);
    transform: rotate(90deg);
}

.inquiry-modal-header {
    margin-bottom: 20px;
}

.inquiry-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inquiry-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    margin-top: 4px;
    line-height: 1.2;
}

/* Selected Vehicle Preview Banner inside Modal */
.inquiry-vehicle-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 22px;
}

.inquiry-car-thumb {
    width: 85px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-car-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.inquiry-car-brand {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.inquiry-car-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 2px 0;
}

.inquiry-car-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inquiry-car-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.inquiry-car-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Inquiry Form Type Pills */
.inquiry-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.type-pill {
    cursor: pointer;
    flex: 1;
    min-width: 130px;
}

.type-pill input {
    display: none;
}

.type-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.type-pill input:checked + span {
    background: rgba(197, 168, 128, 0.15);
    border-color: var(--accent-gold);
    color: var(--text-white);
}

.inquiry-field-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.inquiry-footer {
    margin-top: 20px;
}

.inquiry-privacy-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Success Feedback Screen */
.inquiry-success-container {
    text-align: center;
    padding: 30px 15px 10px;
    animation: fadeIn 0.4s ease;
}

.success-icon-wrap {
    font-size: 3.5rem;
    margin-bottom: 18px;
    animation: popScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.success-meta-box {
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

@keyframes popScale {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .inquiry-modal-content {
        padding: 25px 20px;
    }
    .inquiry-title {
        font-size: 1.8rem;
    }
    .inquiry-vehicle-banner {
        flex-direction: flex-row;
    }
    .inquiry-type-selector {
        flex-direction: column;
    }
}


