/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary: #0069B4;
    --primary-dark: #00508c;
    --primary-light: #e6f2ff;
    --secondary: #333333;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --black: #000000;

    /* Search specific */
    --search-shadow: 0 8px 32px rgba(0,0,0,0.12);
    --search-highlight: #fff3cd;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== UTILITY BAR ===== */
.utility-bar {
    background: var(--gray-100);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    min-height: 50px;
}

.utility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.utility-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.utility-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 0;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.utility-link:hover { color: var(--primary); }

.utility-switch .switch-btn {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.utility-switch .switch-btn:hover { background: var(--primary-dark); }

/* ===== UTILITY BAR SUCHFELD ===== */
.utility-search {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    display: none;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.utility-search.active { display: flex; animation: slideDown 0.3s ease; }

.search-form { width: 100%; position: relative; }

.search-container {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 8px 16px;
    border: 2px solid var(--gray-300);
    transition: all 0.3s;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.search-container:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 105, 180, 0.1);
}

.search-icon {
    color: var(--gray-600);
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 8px 0;
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
    width: 100%;
}

.search-input::placeholder { color: var(--gray-500); }

.search-close {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.search-close:hover { background: var(--gray-200); color: var(--gray-800); }

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.search-toggle:hover { color: var(--primary); }

/* ===== SUCHERGEBNISSE ===== */
.search-results {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-width: 800px;
    margin: 8px auto 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--search-shadow);
    border: 1px solid var(--gray-300);
    display: none;
    flex-direction: column;
    max-height: 400px;
    overflow: hidden;
    z-index: 1101;
}

.search-results.active { display: flex; animation: fadeIn 0.2s ease; }

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
    font-size: 14px;
}

.results-count { color: var(--gray-700); font-weight: 500; }

.clear-results {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.clear-results:hover { background: var(--gray-200); color: var(--gray-800); }

.results-list { flex: 1; overflow-y: auto; padding: 8px 0; }

.result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--gray-900);
    transition: all 0.2s;
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
}

.result-item:last-child { border-bottom: none; }
.result-item:hover { background: var(--primary-light); }

.result-icon {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 14px;
}

.result-content { flex: 1; min-width: 0; }

.result-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-preview {
    font-size: 12px;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.highlight {
    background: var(--search-highlight);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray-600);
}

.no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--gray-400);
}

.no-results p { font-size: 14px; line-height: 1.5; }

/* Such-Kategorien / Vorschläge */
.search-categories {
    padding: 12px 16px;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-300);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.category-label { font-size: 12px; color: var(--gray-600); margin-right: 4px; }

.search-suggestion {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-suggestion:hover {
    background: var(--primary);
    color: var(--gray-900);
    border-color: var(--primary);
}

/* Animationen */
@keyframes slideDown { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }
@keyframes fadeIn { from {opacity:0; transform:translateY(-5px);} to {opacity:1; transform:translateY(0);} }

/* Utility Bar Responsive Fix */
@media (max-width: 768px) {
    .utility-bar { padding: 8px 0; }
    .utility-content { justify-content: center; gap: 10px; }
    .utility-links { gap: 12px; justify-content: center; }
    .utility-link span { display: inline !important; font-size: 12px; }
    .utility-link i { font-size: 12px; }
    .utility-search { padding: 0 15px; }
    .search-container { padding: 6px 12px; }
    .search-input { font-size: 14px; padding: 6px 0; }
    .search-input::placeholder { font-size: 14px; }

    .search-results {
        position: fixed;
        top: 60px;
        left: 15px; right: 15px;
        max-height: 60vh;
        z-index: 1101;
    }

    .search-categories { flex-direction: column; align-items: flex-start; }
    .search-suggestion { width: 100%; text-align: left; border-radius: 8px; }
}

@media (max-width: 480px) {
    .utility-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .utility-link {
        flex-shrink: 0;
        padding: 4px 8px;
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
    }

    .utility-search {
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 60px;
        z-index: 1100;
    }

    .utility-bar.active-search { padding-top: 60px; }
    .search-container { border-radius: 4px; }
}

/* ===== MAIN HEADER ===== */
.main-header {
    padding: 20px 0;
    background: var(--white);
    position: relative;
    z-index: 900;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-area { flex: 1; }

.company-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.main-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    max-width: 500px;
}

.logo-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gray-900);
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.logo-slogan {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.4;
}

.brand-logos { display: flex; align-items: center; gap: 30px; }

.brand-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.brand-logo:hover { opacity: 1; }

@media (max-width: 1024px) {
    .header-content { flex-direction: column; text-align: center; gap: 20px; }
    .brand-logos { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .brand-logo { height: 30px; }
    .logo-visual { width: 60px; height: 60px; font-size: 2rem; }
    .logo-name { font-size: 1.5rem; }
}

/* ===== MAIN NAVIGATION ===== */
.main-navigation {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    overflow: visible; /* Mega-Menü darf Slider überdecken */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; }

/* Fix: Mega-Menü volle Breite */
.nav-item.mega-dropdown { position: static; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #fff;
}

.dropdown-icon { 
    font-size: 12px; 
    margin-left: 4px; 
    transition: transform 0.3s ease;
}

/* Mega Menu - Full width, weiß, overlay */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1003;
    border-top: 3px solid var(--primary);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.mega-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1002;
    flex: 1;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    height: 100%;
}

.mega-column {
    background: var(--white);
    padding: 0;
    border-radius: 8px;
}

.mega-column h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}

.mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-links a {
    display: block;
    color: var(--gray-900);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s;
    font-size: 14px;
}

.mega-links a:hover { color: var(--primary); background: var(--primary-light); }

.mega-cta .mega-promo {
    background: var(--primary-light);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.btn-small { margin-top: 16px; padding: 10px 20px; font-size: 14px; }

/* Hover-Effekt Mega */
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Burger Button - Desktop: aus */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transform: scale(1.1);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 1024px) {
    /* Burger sichtbar, Desktop bleibt clean */
    .mobile-toggle { display: flex; }

    .nav-wrapper { position: relative; }

    /* Mobile Menü als helles Panel (lesbar!) */
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        display: none;
        z-index: 1102;
        border: 1px solid var(--gray-300);
        border-top: none;
        box-shadow: 0 14px 40px rgba(0,0,0,0.18);
        max-height: 80vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-list.active { display: flex; }

    .nav-item { position: relative; }

    .nav-link {
        padding: 16px 18px;
        border-bottom: 1px solid var(--gray-200);
        justify-content: space-between;
        background: transparent;
        color: var(--gray-900);
        font-weight: 600;
    }

    .nav-link:hover {
        background: var(--gray-100);
        border-bottom-color: var(--gray-200);
    }

    .dropdown-icon {
        color: var(--gray-600);
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .mega-dropdown.active > .nav-link .dropdown-icon {
        transform: rotate(180deg);
        color: var(--primary);
    }

    /* Mega menus on mobile: Accordion sauber & hell */
    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none;
        background: var(--gray-100);
        border-top: 1px solid var(--gray-200);
        box-shadow: none;
        min-height: auto;
    }

    .mega-dropdown.active .mega-menu { display: block; }

    .mega-container { padding: 16px 16px 18px; }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mega-column h4 {
        color: var(--primary);
        border-bottom: 1px solid var(--gray-300);
        margin-bottom: 10px;
        font-size: 15px;
        padding-bottom: 8px;
    }

    .mega-links a {
        color: var(--gray-800);
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid transparent;
    }

    .mega-links a:hover {
        background: var(--white);
        border-color: var(--gray-300);
        color: var(--primary);
    }

    .mega-cta .mega-promo {
        background: var(--white);
        border-left-color: var(--primary);
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    }

    /* Button im Menü */
    .btn-small {
        width: 100%;
        justify-content: center;
    }

    /* Burger-Button bleibt auf blauem Nav-Balken, Panel ist weiß */
    .main-navigation {
        background: var(--primary);
    }

    .mobile-toggle {
        background: rgba(255,255,255,0.12);
        border-radius: 10px;
        transition: background 0.2s ease;
    }
    .mobile-toggle:hover { background: rgba(255,255,255,0.18); }
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; height: 500px; overflow: hidden; z-index: 1; }
.slider-container { position: relative; height: 100%; z-index: 1; }
.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}
.slide.active { opacity: 1; }

.slide-image {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-image::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: none;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 600px;
    padding-top: 60px;
}

.slide-title { font-size: 3rem; font-weight: 800; margin-bottom: 16px; line-height: 1.1; color: var(--gray-900); }
.slide-description { font-size: 1.25rem; margin-bottom: 32px; max-width: 500px; color: var(--gray-900); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-large { padding: 20px 40px; font-size: 18px; align-self: flex-start; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Slider Controls */
.slider-prev, .slider-next {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s;
    font-size: 1.2rem;
}
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,0.8); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active { background: var(--white); }

@media (max-width: 768px) {
    .hero-slider { height: 300px; }
    .slide-content { text-align: center; align-items: center; padding: 0 20px; }
    .slide-title { font-size: 2rem; }
    .slide-description { font-size: 1.125rem; }
    .btn-large { align-self: center; }
    .slider-prev, .slider-next { width: 40px; height: 40px; font-size: 1rem; }
}

/* ===== SERVICE TILES ===== */
.service-tiles { padding: 60px 0; background: var(--white); position: relative; z-index: 1; }

.tiles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.service-tile {
    background: var(--primary);
    border-radius: 12px;
    padding: 30px 20px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-tile:hover::before {
    left: 100%;
}

.service-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 105, 180, 0.3);
    background: var(--primary-dark);
}

.tile-icon {
    width: 60px;
    height: 60px;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--white);
}

.tile-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.tile-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.tile-link {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 1200px) { .tiles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .tiles-grid { grid-template-columns: repeat(2, 1fr); }
    .service-tile { padding: 24px 16px; }
    .tile-icon { width: 50px; height: 50px; font-size: 1.25rem; }
}
@media (max-width: 480px) { .tiles-grid { grid-template-columns: 1fr; } }

/* ===== VEHICLE MODELS ===== */
.vehicle-models { padding: 60px 0; background: var(--white); position: relative; z-index: 1; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 40px; color: var(--gray-900); text-align: center; }

.models-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
}

.models-grid:first-of-type {
    grid-template-columns: repeat(5, 1fr);
}
.vehicle-models .models-grid:last-of-type { grid-template-columns: repeat(6, 1fr); }

.model-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid var(--gray-300);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

/* ✅ NUR DIESER BLOCK WURDE ANGEPASST (Bilder vollständig sichtbar) */
.model-image {
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    position: relative;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* statt cover -> nix wird abgeschnitten */
    transition: transform 0.3s;
}

.model-card:hover .model-image img { transform: scale(1.05); }

/* Electric Badge */
.electric-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
}

.model-name { font-size: 1.125rem; font-weight: 600; margin: 16px 0 4px; color: var(--gray-900); }
.model-type { color: var(--gray-600); font-size: 14px; margin-bottom: 16px; padding: 0 16px; }

@media (max-width: 1200px) {
    .models-grid { grid-template-columns: repeat(3, 1fr); }
    .models-grid:first-of-type { grid-template-columns: repeat(3, 1fr); }
    .vehicle-models .models-grid:last-of-type { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .vehicle-models .models-grid:last-of-type { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .models-grid { grid-template-columns: 1fr; } }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content { text-align: center; max-width: 800px; margin: 0 auto; }
.cta-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.cta-text { font-size: 1.25rem; margin-bottom: 40px; opacity: 0.9; }

.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-secondary { background: var(--white); color: var(--primary); }
.btn-secondary:hover { background: var(--gray-200); }

@media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
    .cta-text { font-size: 1.125rem; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; max-width: 300px; margin: 0 auto; }
}


/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }
    
    /* Brand-Logos ausblenden */
    .brand-logos {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Logo kleiner */
    .company-logo {
        height: 50px;
    }
    
    /* Slider Text mehr Abstand */
    .slide-content {
        padding-top: 100px;
    }
    
    /* IVECO Grid wie FIAT */
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== AKTIONEN & NEUIGKEITEN ===== */
.news-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 24px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-text {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.news-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section {
        padding: 60px 0;
    }
}

/* ===== KUNDENBEWERTUNGEN ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--white);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.google-badge .fab.fa-google {
    font-size: 3rem;
    color: #4285F4;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    color: #FBBC04;
    font-size: 18px;
}

.rating-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.rating-count {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

.reviews-slider-container {
    position: relative;
    padding: 0 60px;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.review-card {
    flex: 0 0 calc((100% - 90px) / 4);
    min-width: 0;
}

.review-prev,
.review-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--gray-300);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--gray-700);
    font-size: 18px;
}

.review-prev:hover,
.review-next:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.review-prev {
    left: 0;
}

.review-next {
    right: 0;
}

.review-card {
    background: var(--gray-100);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    color: #FBBC04;
    font-size: 14px;
}

.review-text {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}



@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
    
    .reviews-slider-container {
        padding: 0 50px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-prev,
    .review-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
    
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-slider-container {
        padding: 0 40px;
    }
}




/* ===== FOOTER ===== */
.footer {
    background: var(--gray-100);
    color: var(--gray-900);
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
    position: relative;
    padding-bottom: 12px;
}

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

.footer-tagline {
    color: var(--gray-800);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Standorte */
.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s;
}

.location-item:hover {
    background: var(--gray-200);
    transform: translateX(4px);
}

.location-item h5 {
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-item h5 i {
    color: var(--primary);
}

.location-item p {
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.location-item a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s;
}

.location-item a:hover {
    color: var(--primary);
}

/* Öffnungszeiten */
.hours-box {
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

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

.hours-box p {
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.6;
}

/* Wichtige Rufnummern */
.hotline-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.hotline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.hotline-item:hover {
    background: var(--gray-200);
}



.hotline-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.hotline-label {
    color: var(--gray-700);
    font-size: 13px;
    margin-bottom: 4px;
}

.hotline-number {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.hotline-number:hover {
    color: var(--primary);
}

/* Social Media */
.footer-social {
    margin-top: 20px;
}

.social-title {
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--gray-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--gray-900);
    font-size: 14px;
}

.footer-regions {
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-900);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-regions {
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

.footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .location-item:hover {
        transform: none;
    }
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 105, 180, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(0, 105, 180, 0.5);
    background: var(--primary-dark);
}

.float-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 70px;
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.float-btn:hover::after {
    opacity: 1;
    left: 75px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .floating-buttons {
        left: 10px;
        gap: 12px;
    }
    
    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .float-btn::after {
        display: none;
    }
}

/* ===== SCROLL ANIMATIONEN ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fix: Hover-Transform funktioniert trotz Scroll-Animation */
.model-card.scroll-animate.active:hover {
    transform: translateY(-4px) !important;
}

.service-tile.scroll-animate.active:hover {
    transform: translateY(-8px) !important;
}

.news-card.scroll-animate.active:hover {
    transform: translateY(-8px) !important;
}

.review-card.scroll-animate.active:hover {
    transform: translateY(-4px) !important;
}

/* Stagger-Effekt für mehrere Elemente */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate:nth-child(6) { transition-delay: 0.6s; }
.scroll-animate:nth-child(7) { transition-delay: 0.7s; }
.scroll-animate:nth-child(8) { transition-delay: 0.8s; }
.scroll-animate:nth-child(9) { transition-delay: 0.9s; }
.scroll-animate:nth-child(10) { transition-delay: 1s; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTACT PERSONS ===== */
.contact-persons-section {
    padding: 80px 0;
    background: var(--white);
}

.region-block {
    margin-bottom: 60px;
}

.region-block:last-child {
    margin-bottom: 0;
}

.region-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.person-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.person-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.person-image {
    width: 100%;
    height: 280px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}

.person-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.person-card:hover .person-image img {
    transform: scale(1.05);
}

.person-content {
    padding: 25px;
}

.person-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.person-position {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-style: italic;
}

.person-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.brand-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.brand-badge.fiat {
    background: #A31E22;
    color: var(--white);
}

.person-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.contact-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary);
}

.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    justify-content: center;
}

.btn-email:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 105, 180, 0.3);
}

.btn-email i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .contact-persons-section {
        padding: 60px 0;
    }
    
    .persons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .region-title {
        font-size: 1.5rem;
    }
    
    .person-image {
        height: 240px;
    }
}
