/**
 * AUTOVION - Consolidated Stylesheet
 * Alle CSS-Styles in einer Datei konsolidiert
 *
 * Inhalt:
 * 1. CSS Variables
 * 2. Global/Base Styles
 * 3. Bootstrap Overrides
 * 4. Navigation & Top Bar
 * 5. Footer
 * 6. Layout System
 * 7. Breadcrumbs
 * 8. Hero Sections
 * 9. Vehicle Cards
 * 10. Vehicle Detail Page
 * 11. Vehicle Search
 * 12. Page Components (Cards, Lists)
 * 13. Contact Page
 * 14. Financing Page
 * 15. 404 Error Page
 * 16. WhatsApp Button
 * 17. htmx States
 * 18. Utility Classes
 * 19. Responsive Styles
 */

/* =============================================================================
   1. CSS VARIABLES
   ============================================================================= */
:root {
    /* CI-Farben */
    --color-primary: #231f20;
    --color-accent: #aed136;
    --color-white: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e9ecef;
    --color-text-secondary: #6c757d;

    /* Spacing (8px-Grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;

    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(35, 31, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(35, 31, 32, 0.12);
    --shadow-lg: 0 12px 32px rgba(35, 31, 32, 0.16);

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   2. GLOBAL/BASE STYLES
   ============================================================================= */
body {
    font-family: var(--font-system);
    color: var(--color-primary);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

/* =============================================================================
   3. BOOTSTRAP OVERRIDES
   ============================================================================= */

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-base);
    border: none;
    padding: 12px 28px;
    font-size: 15px;
}

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(174, 209, 54, 0.25) !important;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: #9bc02d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(174, 209, 54, 0.3);
    color: var(--color-white);
    border-color: #9bc02d;
}

.btn-primary:active,
.btn-primary:active:focus {
    background-color: #8ab028 !important;
    border-color: #8ab028 !important;
    color: var(--color-white) !important;
    transform: translateY(0);
    box-shadow: none !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 0 0.25rem rgba(163, 198, 57, 0.5) !important;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-outline-primary:active,
.btn-outline-primary:active:focus {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: none !important;
}

.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(35, 31, 32, 0.25) !important;
}

.btn-outline-secondary {
    color: var(--color-text-secondary);
    border: 2px solid var(--color-border);
}

.btn-outline-secondary:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-text-secondary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
}

.btn-accent:hover {
    background-color: #9bc02d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(174, 209, 54, 0.3);
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(174, 209, 54, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-check-input {
    border: 2px solid var(--color-border);
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(174, 209, 54, 0.15);
}

.form-check-label {
    font-size: 15px;
    color: var(--color-primary);
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 20px;
}

.alert-info {
    background-color: #e8f4f8;
    color: #0c5460;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Cards */
.card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.pagination {
    gap: 8px;
}

.page-link {
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 16px;
    transition: var(--transition-base);
}

.page-link:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-item.active .page-link {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.page-item.disabled .page-link {
    color: var(--color-text-secondary);
    border-color: var(--color-border);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--color-primary);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-bg-light);
    color: var(--color-accent);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(174, 209, 54, 0.15);
}

/* =============================================================================
   4. NAVIGATION & TOP BAR
   ============================================================================= */
.navbar {
    padding: 16px 0;
    box-shadow: 0 2px 24px rgba(35, 31, 32, 0.06);
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(174, 209, 54, 0.1);
}

.navbar-brand {
    padding: 0;
    margin-right: 48px;
}

.logo-image {
    height: 40px;
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(35, 31, 32, 0.08));
}

.logo-image:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 8px rgba(174, 209, 54, 0.2));
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px !important;
    position: relative;
    color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(174, 209, 54, 0.08);
    color: var(--color-accent);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: calc(100% - 48px);
}

.navbar-nav .nav-link.active {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(174, 209, 54, 0.15);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-base);
}

.top-bar__link svg {
    color: var(--color-accent);
}

.top-bar__link:hover {
    color: var(--color-accent);
}

/* =============================================================================
   5. FOOTER
   ============================================================================= */
.footer {
    background: #2a2627;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer a:hover {
    color: var(--color-accent);
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-logo .logo__text {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo .logo__text strong {
    color: var(--color-accent);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 15px;
    position: relative;
    display: inline-block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
    transition: var(--transition-base);
}

.footer-contact li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-legal a {
    position: relative;
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-legal a:hover::after {
    transform: scaleX(1);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(174, 209, 54, 0.4);
}

/* =============================================================================
   6. LAYOUT SYSTEM
   ============================================================================= */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-narrow {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-wide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

.section--sm {
    padding: 3rem 0;
}

.section--lg {
    padding: 7rem 0;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section--gray {
    background-color: #f8f9fa;
}

.content-section--white {
    background-color: #ffffff;
}

.content-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.content-section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.content-section__subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* =============================================================================
   7. BREADCRUMBS
   ============================================================================= */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.breadcrumb-item a {
    color: var(--color-accent);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: #9bc42a;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* =============================================================================
   8. HERO SECTIONS
   ============================================================================= */

/* Homepage Hero */
.hero-new {
    position: relative;
    background:
        linear-gradient(135deg, rgba(26, 23, 24, 0.95) 0%, rgba(35, 31, 32, 0.95) 50%, rgba(45, 40, 41, 0.95) 100%),
        url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    min-height: 68vh;
    padding: 100px 0 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(174, 209, 54, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(174, 209, 54, 0.05) 0%, transparent 50%);
    animation: pulseGradient 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 49%, rgba(174, 209, 54, 0.03) 49%, rgba(174, 209, 54, 0.03) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(174, 209, 54, 0.03) 49%, rgba(174, 209, 54, 0.03) 51%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 1;
}

.hero-new__wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-new__text {
    text-align: center;
    margin-bottom: 48px;
}

.hero-new__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-new__title .text-accent {
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(174, 209, 54, 0.3);
}

.hero-new__subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-new__search {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
    border-top: 4px solid var(--color-accent);
}

.hero-new__search .form-select,
.hero-new__search .btn {
    height: 56px;
    font-size: 16px;
}

.hero-new__search .form-select {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.hero-new__search .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(174, 209, 54, 0.15);
}

/* Standard Hero (Unterseiten) */
.hero-standard {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/hero-pattern.svg') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.hero-standard .container {
    position: relative;
    z-index: 1;
}

.hero-standard__content {
    max-width: 800px;
}

.hero-standard h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-standard .lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

/* =============================================================================
   9. VEHICLE CARDS
   ============================================================================= */
.vehicle-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #dcdde1;
}

.vehicle-card:hover .vehicle-card__image img {
    transform: scale(1.05);
}

.vehicle-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.badge--new {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.badge--reserved {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.badge--sold {
    background-color: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.4em 0.8em;
}

.vehicle-card__image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.vehicle-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vehicle-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.vehicle-card__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vehicle-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
}

.vehicle-card__title a {
    color: inherit;
}

.vehicle-card__title a:hover {
    color: var(--color-accent);
}

.vehicle-card__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 0;
}

.vehicle-card__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.spec-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
}

.spec-item__value {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.vehicle-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.vehicle-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Sold Vehicle Cards */
.vehicle-card--sold .vehicle-card__image--sold::after {
    content: 'Verkauft';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(35, 31, 32, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card--sold:hover .vehicle-card__image--sold::after {
    opacity: 1;
}

.vehicle-card__price--sold {
    opacity: 0.6;
    text-decoration: line-through;
}

/* =============================================================================
   10. VEHICLE DETAIL PAGE
   ============================================================================= */

/* Vehicle Hero */
.vehicle-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.vehicle-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.vehicle-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.quick-spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

.quick-spec-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.price-badge {
    background: linear-gradient(135deg, var(--color-accent) 0%, #9bc02d 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 12px rgba(174, 209, 54, 0.3);
}

.price-badge__value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.price-badge__tax {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Gallery */
.detail-content {
    padding: 3rem 0;
}

.gallery-main {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-nav--prev {
    left: 1rem;
}

.gallery-nav--next {
    right: 1rem;
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    margin-top: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--color-bg-light);
    border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

.gallery-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(174, 209, 54, 0.4);
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.data-item {
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.data-item:hover {
    background: rgba(174, 209, 54, 0.08);
}

.data-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.375rem;
}

.data-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    column-gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-primary);
    padding: 0.5rem 0;
}

.feature-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.price-box {
    text-align: center;
    padding: 1rem 0;
}

.price-box__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    white-space: nowrap;
}

.price-box__net {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.financing-preview {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.vehicle-description {
    line-height: 1.7;
    color: var(--color-primary);
}

/* =============================================================================
   11. VEHICLE SEARCH
   ============================================================================= */
.filter-sidebar {
    position: sticky;
    top: 20px;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

#ergebnis-container {
    min-height: 400px;
}

/* =============================================================================
   12. PAGE COMPONENTS (Cards, Lists)
   ============================================================================= */

/* Trust Cards */
.trust-card {
    padding: 32px 20px;
    transition: var(--transition-base);
}

.trust-card:hover {
    transform: translateY(-8px);
}

.trust-card__icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.trust-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.trust-card__text {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
    transition: var(--transition-base);
    border-left: 4px solid var(--color-accent);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating .star {
    color: var(--color-accent);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--color-primary);
    font-size: 16px;
}

/* Stats Section */
.section-stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3a3638 100%);
}

.stat-card {
    padding: 24px;
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Kategorie Cards (Ersatzteile, Datenschutz) */
.kategorie-card,
.datenschutz-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: var(--transition-base);
}

.kategorie-card:hover,
.datenschutz-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.kategorie-card__icon,
.datenschutz-card__icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.kategorie-card__title,
.datenschutz-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.datenschutz-card {
    text-align: center;
}

.datenschutz-card__title {
    font-size: 18px;
    margin-bottom: 12px;
}

.datenschutz-card__text {
    color: var(--color-text-secondary);
    font-size: 15px;
    margin-bottom: 0;
}

.kategorie-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kategorie-card__list li {
    padding: 8px 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    border-bottom: 1px solid var(--color-border);
}

.kategorie-card__list li:last-child {
    border-bottom: none;
}

/* Benefit/Vorteil Cards */
.benefit-card,
.vorteil-card {
    padding: 24px;
    transition: var(--transition-base);
}

.benefit-card:hover,
.vorteil-card:hover {
    transform: translateY(-4px);
}

.benefit-card__icon,
.vorteil-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}

/* Process Steps (Finanzierung) */
.process-step {
    position: relative;
    padding: 24px;
    text-align: center;
}

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.result-box {
    margin-top: 24px;
}

/* Datenschutz Sections */
.datenschutz-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.datenschutz-section__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
}

.datenschutz-section__number {
    background: var(--color-accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.datenschutz-section__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.datenschutz-section__content {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.datenschutz-section__content h3 {
    color: var(--color-primary);
    font-weight: 600;
}

.datenschutz-section__content ul {
    padding-left: 20px;
}

.datenschutz-section__content li {
    margin-bottom: 8px;
}

/* Impressum Lists */
.impressum-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.impressum-list__item {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.impressum-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.impressum-list__item .label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.impressum-list__item .value {
    color: var(--color-text-secondary);
}

.impressum-list__item .value a {
    color: var(--color-accent);
    word-break: break-all;
}

/* =============================================================================
   13. CONTACT PAGE
   ============================================================================= */
.kontakt-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.kontakt-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.kontakt-info-icon {
    flex-shrink: 0;
    color: var(--color-accent);
}

.kontakt-info-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.kontakt-info-item a:hover {
    color: var(--color-accent);
}

/* Öffnungszeiten */
.oeffnungszeiten {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oeffnungszeit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.oeffnungszeit-item:last-child {
    border-bottom: none;
}

.oeffnungszeit-item .tag {
    font-weight: 600;
    color: var(--color-primary);
}

.oeffnungszeit-item .zeit {
    color: var(--color-text-secondary);
}

/* Social Links Large */
.social-link-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition-base);
}

.social-link-large:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-4px);
}

/* Map Container */
.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(20%);
}

/* Contact Info Box */
.contact-info-box {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
}

/* =============================================================================
   14. CTA SECTION
   ============================================================================= */
.section-cta-new {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-cta-new::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(174, 209, 54, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.cta-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(174, 209, 54, 0.2);
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #aed136 0%, #9bc42a 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #231f20;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #231f20;
    font-weight: 500;
}

.cta-feature svg {
    color: #aed136;
    flex-shrink: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #aed136 0%, #9bc42a 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(174, 209, 54, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 209, 54, 0.4);
    color: #ffffff;
}

.btn-cta-secondary {
    background: #ffffff;
    color: #231f20;
    border: 2px solid #aed136;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: #aed136;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =============================================================================
   15. 404 ERROR PAGE
   ============================================================================= */
.error-hero {
    background: linear-gradient(180deg, var(--color-primary) 0%, #2d2a2b 100%);
    padding: 5rem 0 7rem;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.error-hero__road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
}

.error-hero__road::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #555;
}

.error-hero__lines {
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.error-hero__lines span {
    width: 60px;
    height: 8px;
    background: #f0c808;
    border-radius: 2px;
    animation: roadMove 1.5s linear infinite;
    opacity: 0.9;
}

.error-hero__lines span:nth-child(2) { animation-delay: -0.3s; }
.error-hero__lines span:nth-child(3) { animation-delay: -0.6s; }
.error-hero__lines span:nth-child(4) { animation-delay: -0.9s; }
.error-hero__lines span:nth-child(5) { animation-delay: -1.2s; }

@keyframes roadMove {
    0% { transform: translateX(100px); opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { transform: translateX(-100px); opacity: 0; }
}

.error-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.error-car {
    display: inline-block;
    margin-bottom: 1.5rem;
    position: relative;
    animation: carBounce 0.8s ease-in-out infinite;
}

.car-svg {
    width: 140px;
    height: 70px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.wheel {
    animation: wheelSpin 0.5s linear infinite;
    transform-origin: center;
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes carBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.exhaust {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.exhaust span {
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    position: absolute;
    animation: smoke 1s ease-out infinite;
}

.exhaust span:nth-child(2) { animation-delay: 0.3s; }
.exhaust span:nth-child(3) { animation-delay: 0.6s; }

@keyframes smoke {
    0% {
        opacity: 0.6;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-30px, -20px) scale(2);
    }
}

.error-code {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.error-code__digit {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: digitPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--delay) * 0.15s);
    opacity: 0;
    transform: translateY(20px);
}

.error-code__digit--accent {
    color: var(--color-accent);
}

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

.error-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.error-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.error-suggestions {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-suggestions__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.error-suggestions__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.error-suggestions__list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error-suggestions__list li:last-child {
    border-bottom: none;
}

.error-suggestions__list a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.error-suggestions__list a:hover {
    color: var(--color-accent);
}

.error-suggestions__list svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* =============================================================================
   16. WHATSAPP BUTTON
   ============================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7);
    }
}

/* =============================================================================
   17. HTMX STATES
   ============================================================================= */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request {
    opacity: 0.6;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.htmx-settling {
    opacity: 0;
}

.htmx-swapping {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* =============================================================================
   18. UTILITY CLASSES
   ============================================================================= */
.text-accent {
    color: var(--color-accent) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.border-accent {
    border-color: var(--color-accent) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Spacing */
.mt-section { margin-top: 5rem; }
.mb-section { margin-bottom: 5rem; }
.pt-section { padding-top: 5rem; }
.pb-section { padding-bottom: 5rem; }

/* Dividers */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e9ecef, transparent);
    margin: 3rem 0;
}

/* =============================================================================
   19. RESPONSIVE STYLES
   ============================================================================= */

/* Tablets & Small Desktops */
@media (max-width: 1200px) {
    .hero-standard h1 {
        font-size: 2.25rem;
    }

    .hero-new__title {
        font-size: 3rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-new {
        min-height: 75vh;
        padding: 100px 0 120px 0;
    }

    .hero-new__wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-new__title {
        font-size: 48px;
    }

    .hero-new__subtitle {
        font-size: 18px;
    }

    .hero-new__search {
        padding: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .vehicle-title {
        font-size: 2rem;
    }

    .price-badge__value,
    .price-box__value {
        font-size: 1.75rem;
    }

    .sidebar-sticky {
        position: static;
        margin-top: 2rem;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-thumb {
        width: 100px;
        height: 75px;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-actions {
        margin-top: 2rem;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Mobile Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        z-index: 1000;
        border-top: 1px solid var(--color-border);
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px;
        display: block;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
    }

    .filter-sidebar {
        position: static !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-new {
        min-height: 70vh;
        padding: 80px 0 100px 0;
    }

    .hero-new__title {
        font-size: 36px;
    }

    .hero-new__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-new__search {
        padding: 24px;
    }

    .hero-new__search .form-select,
    .hero-new__search .btn {
        height: 48px;
        font-size: 15px;
    }

    .hero-standard {
        padding: 3rem 0;
    }

    .hero-standard h1 {
        font-size: 2rem;
    }

    .hero-standard .lead {
        font-size: 1.1rem;
    }

    .vehicle-hero {
        padding: 2rem 0;
    }

    .quick-specs {
        gap: 0.75rem;
    }

    .quick-spec-item {
        font-size: 0.875rem;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-nav--prev {
        left: 0.5rem;
    }

    .gallery-nav--next {
        right: 0.5rem;
    }

    .gallery-thumb {
        width: 80px;
        height: 60px;
    }

    .gallery-thumbnails::-webkit-scrollbar {
        height: 6px;
    }

    .vehicle-card__image {
        height: 200px;
    }

    .vehicle-card__content {
        padding: 20px;
    }

    .vehicle-card__title {
        font-size: 18px;
    }

    .price-value {
        font-size: 20px;
    }

    .vehicle-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .vehicle-card__footer .btn {
        width: 100%;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section__title {
        font-size: 2rem;
    }

    .section-cta-new {
        padding: 3rem 0;
    }

    .cta-card {
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Spacing */
    .mt-section { margin-top: 3rem; }
    .mb-section { margin-bottom: 3rem; }
    .pt-section { padding-top: 3rem; }
    .pb-section { padding-bottom: 3rem; }

    .section {
        padding: 3rem 0;
    }

    .section--sm {
        padding: 2rem 0;
    }

    .section--lg {
        padding: 4rem 0;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-standard h1 {
        font-size: 1.75rem;
    }

    .hero-new__title {
        font-size: 1.75rem;
    }

    .navbar-brand .logo-image {
        height: 24px;
    }

    .error-code__digit {
        font-size: 3.5rem;
    }
}

/* Responsive Container Padding */
@media (min-width: 768px) {
    .container,
    .container-narrow,
    .container-wide {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-narrow,
    .container-wide {
        padding-left: 30px;
        padding-right: 30px;
    }

    .vehicle-card__image {
        height: 260px;
    }
}

/* =============================================================================
   20. COOKIE CONSENT BANNER
   ============================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(35, 31, 32, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.cookie-banner__text p {
    margin: 4px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__text strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-link:hover {
    color: white;
}

.cookie-banner__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__buttons .btn {
    padding: 10px 24px;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-banner__buttons .btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.cookie-banner__buttons .btn-accent:hover {
    background-color: #8fb02e;
    border-color: #8fb02e;
}

/* Google Maps Placeholder */
.map-consent-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.map-consent-placeholder__icon {
    color: #6c757d;
    margin-bottom: 20px;
    opacity: 0.6;
}

.map-consent-placeholder h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.map-consent-placeholder p {
    color: #6c757d;
    margin-bottom: 20px;
    max-width: 400px;
}

.map-consent-placeholder .btn {
    padding: 12px 28px;
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-banner__buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner__buttons .btn {
        flex: 1;
        max-width: 150px;
    }
}
