/* =====================================================================
   DREHMOMENT CSS-BUCKET 05: SECTIONS STYLING
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. STICKY HEADER & NAVIGATION (BULLETPROOF HEADER ARCHITECTURE)
   --------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Zwingt den Header, absolut randlos über die volle Breite zu dehnen */
    width: 100%;
    height: var(--header-height);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1001; /* Sticky Header Standard */
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.shrink {
    height: 85px;
    background: rgba(18, 18, 18, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px; /* Allow header to stretch wider than normal 1200px container */
    margin: 0 auto;
    position: relative;
}

/* 1. Logo Container */
.logo-container {
    display: flex;
    align-items: center; /* Zentriert die Logo-Box vertikal im Header */
    height: 100%;
}

/* Dual Logo Styling - Sauber im Header eingepasst */
.dual-logo-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #e5e7eb; /* Weiches Grau, nicht strahlend weiß */
    padding: 10px 20px; /* Symmetrisches Padding – kein Lesezeichen-Effekt mehr */
    height: 84px; /* Passt exakt in den 100px-Header mit je 8px Luft oben/unten */
    border-radius: var(--border-radius-md); /* 12px – konsistent mit dem Button-Stil */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    transition: var(--transition-smooth);
}

.brand-logo-uve {
    height: 58px; 
    width: auto;
    object-fit: contain;
    /* Dunkler Doppel-Schatten: Einer eng + hart (Kontrast für weißes HOFFMANN), einer weich + groß (Tiefe) */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
    transition: var(--transition-smooth);
}

.brand-logo-autoko {
    height: 54px; 
    width: auto;
    object-fit: contain;
    /* Identischer dunkler Doppel-Schatten für AutoKo */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* slightly reduced gap to fit the longer text */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition-fast);
    white-space: nowrap; /* Prevent wrapping for nav links */
    position: relative;
    /* Zentrale Variablen für den Glow-Effekt */
    --nav-color: var(--primary-brand-light);
    --nav-glow: rgba(44, 134, 216, 0.5);
}

/* Spezifische Farben für die gesplitteten Service-Reiter */
.nav-links a.nav-repair {
    --nav-color: var(--accent-red); /* Korrigierte Variable für Rot */
    --nav-glow: rgba(211, 47, 47, 0.5);
}

.nav-links a.nav-management,
.nav-links a.nav-database {
    --nav-color: var(--accent-cyan); /* Korrigierte Variable für Türkis */
    --nav-glow: rgba(6, 182, 212, 0.5);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nav-color);
    font-weight: 700;
    text-shadow: 0 0 12px var(--nav-glow);
}

/* 3. Action Container */
.action-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: none; /* Nur auf Mobile/Tablet */
    padding: 0.5rem;
}

.menu-icon {
    width: 28px;
    height: 28px;
}

/* ---------------------------------------------------------------------
   NAVIGATION RESPONSIVE (TABLET IS TREATED AS MOBILE BREAKPOINT)
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .menu-toggle {
        display: block; /* Hamburger-Menü ab Tablet-Breite */
        position: relative;
        z-index: 1003; /* Liegt über dem nav-container overlay (1002) */
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%; /* Versteckt auf der rechten Seite */
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background-color: var(--secondary-dark);
        border-left: 1px solid var(--tertiary-dark);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1002;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
    }
    
    .nav-container.open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
    }
    
    /* Hintergrund scroll-lock, wenn Menü offen ist */
    body.menu-open {
        overflow: hidden;
    }
}

/* ---------------------------------------------------------------------
   2. SEKTION: SPLIT HERO
   --------------------------------------------------------------------- */
.hero-split {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    padding: 0; /* Hero ist randlos */
    margin-top: 0;
}

.hero-part {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-start; /* Statt center, damit beide Slogans exakt auf der gleichen Höhe beginnen */
    justify-content: center;
    padding: 6rem 2rem 4rem 2rem;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 18, 18, 0.1), rgba(18, 18, 18, 0.4)); /* Deutlich heller */
    z-index: 1;
    transition: background 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-text-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 2rem;
    margin-top: 44vh; /* Noch etwas weiter nach unten, für mehr Luft zur mittleren Glasbox */
    border-left: 2px solid var(--primary-brand-light);
    margin-left: 1rem;
    padding-left: 1.5rem;
    box-shadow: -15px 0 30px -15px rgba(29, 115, 232, 0.4);
}

.hero-text-wrapper h1 {
    font-size: clamp(1.5rem, 4vw, 2.75rem); /* Vergrößert wie gewünscht */
    font-weight: 700; 
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #e5e7eb; /* Bisschen grauer, um den Glaskasten strahlen zu lassen */
}

/* Hintergrundbilder mit weichem Ken-Burns-Effekt (Filter heller) */
.workshop {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('../hero-workshop.png');
    background-size: cover;
    background-position: center;
}

.management {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('../hero-autohof.png');
    background-size: cover;
    background-position: center;
}

/* ---------------------------------------------------------------------
   HERO TOP UMBRELLA (DACHMARKE)
   --------------------------------------------------------------------- */
.hero-top-umbrella {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    
    /* Sanfter, dunkler Verlauf nach unten (keine harte Box) */
    background: linear-gradient(to bottom, rgba(15, 15, 16, 0.95) 0%, rgba(15, 15, 16, 0.7) 40%, rgba(15, 15, 16, 0) 100%);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 1.25rem;
    
    /* Abstand nach oben massiv erhöht, damit der Slogan wieder mittiger auf dem Hero-Bild sitzt */
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 6rem;
    pointer-events: none; /* Klicks gehen durch das Gradient-Feld durch (für Flügel-Hover) */
}

/* Einheitliche Dark-Box: umschließt beide Logos + Slogan als eng anliegender Rahmen */
.hero-glass-box {
    width: fit-content;
    margin: 0 auto;
    
    background: rgba(10, 10, 12, 0.38); /* Der hellere Shade, den du mochtest */
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.25rem 2.5rem; 
    
    /* auto auto auto lässt die Box exakt auf Inhaltsbreite schrumpfen */
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    
    /* Optische Mitte für den Slogan */
    transform: translateX(-50px);
    
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.hero-dach-logo-uve {
    height: 130px; 
    width: auto;
    object-fit: contain;
    justify-self: end; 
    margin-right: 1.5rem; 
    /* Schärferer, hellerer weißer Glow (80% Deckkraft, 12px Streuung) + tieferer schwarzer Schatten */
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85)) drop-shadow(0 4px 12px rgba(0,0,0,0.7));
    pointer-events: auto;
}

.hero-dach-logo-autoko {
    height: 120px; 
    width: auto;
    object-fit: contain;
    justify-self: start; 
    margin-left: 1.5rem; 
    /* Dasselbe für AutoKo: Der starke weiße Glow holt das Blau aus dem dunklen Hintergrund */
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85)) drop-shadow(0 4px 12px rgba(0,0,0,0.7));
    pointer-events: auto;
}

.hero-glass-slogan {
    color: #f3f4f6;
    margin: 0;
    font-weight: 700; 
    font-size: clamp(2.5rem, 4.5vw, 4.5rem); /* Slogan extrem vergrößert */
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); 
    pointer-events: auto;
    line-height: 1.1;
    justify-self: center; /* Sitzt exakt in der Mitte des Grids */
    text-align: center;
}

/* Google Rating Badge komplett entfernt gemäß V2.1 Plan */
/* ---------------------------------------------------------------------
   TRUST MARQUEE (LAUFBAND)
   --------------------------------------------------------------------- */
.trust-marquee {
    width: 100%;
    background-color: #0c0c0d; /* Sehr dunkles, fast schwarzes Grau */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.25rem 0; /* Deutlich mehr vertikaler Raum, damit es nicht verschwindet */
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
    z-index: 5;
}

.marquee-content {
    display: flex;
    overflow: hidden; /* Verhindert horizontales Scrollen auf dem Handy */
}

.marquee-track {
    display: flex;
    gap: 4rem;
    padding-right: 4rem; /* Simuliert exakt den Gap für den perfekten Übergang zum nächsten Zug */
    flex-shrink: 0;
    animation: scroll-marquee 40s linear infinite; /* Angenehmere, etwas ruhigere Geschwindigkeit */
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-brand); /* Alles in Marken-Blau, wie gewünscht */
    font-size: 0.95rem; /* Einen Ticken größer für bessere Lesbarkeit */
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marquee-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-brand);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* Bewegt exakt 1 Zug nach links */
}

@media (min-width: 1024px) {
    .hero-split {
        flex-direction: row;
        height: 100vh;
        min-height: 700px;
    }
    
    .hero-part {
        padding: 4rem;
        height: 100%;
    }
    
    .hero-part:hover {
        flex: 1.4; /* Intensiveres Auffächern der fokussierten Spalte */
    }
    
    /* Abdunkeln der inaktiven Seite */
    .hero-split:hover .hero-part:not(:hover) .hero-overlay {
        background: linear-gradient(rgba(12, 12, 14, 0.6), rgba(12, 12, 14, 0.9));
    }
}

/* ---------------------------------------------------------------------
   3. SEKTION: WERKSTATT-SERVICES (Symmetrisch)
   --------------------------------------------------------------------- */
.werkstatt-section {
    /* Verschmilzt visuell mit der Bento-Sektion zu einem massiven Block */
    background-color: var(--secondary-dark); 
    padding-bottom: 2rem; /* Weniger Abstand zur folgenden Bento-Sektion */
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* ---------------------------------------------------------------------
   4. SEKTION: ZUSATZLEISTUNGEN (BENTO)
   --------------------------------------------------------------------- */
.services-section {
    background-color: var(--secondary-dark);
    padding-top: 4rem; /* Abstand verdoppelt für mehr Freiraum */
    padding-bottom: 6rem; /* Extra Abstand nach unten für mehr Symmetrie */
}

.bento-item {
    position: relative;
    background-color: var(--card-bg);
    /* Um das "Bluten" des Hintergrundbildes an den abgerundeten Ecken zu verhindern,
       machen wir auch hier den Rahmen blickdicht in der Farbe des Hintergrunds (secondary-dark) */
    border: 1px solid var(--secondary-dark);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
    min-height: 280px;
}

.bento-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.25);
}

.bento-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-brand-light);
    margin-bottom: 2rem;
}

.bento-item h3 {
    margin-bottom: 0.75rem;
}

.bento-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Hintergrundbilder auf Bento-Kacheln */
.trade-card {
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.95)), url('../service-handel.png');
    background-size: cover;
    background-position: center;
}

.brokerage-card {
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.95)), url('../service-vermittlung.png');
    background-size: cover;
    background-position: center;
}

.detailing-card {
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.95)), url('../service-detailing.png');
    background-size: cover;
    background-position: center;
}

.fleet-card {
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.95)), url('../service-fleet.png');
    background-size: cover;
    background-position: center;
}

/* ---------------------------------------------------------------------
   FAHRZEUGDATENBANK CAROUSEL
   --------------------------------------------------------------------- */
.sales-card {
    padding: 0; /* Remove default bento padding to let carousel span edge-to-edge */
    overflow: hidden;
    position: relative;
    border: 1px solid var(--card-border);
}

.sales-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: flex-end;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 12, 14, 0.95) 0%, rgba(12, 12, 14, 0.4) 50%, rgba(12, 12, 14, 0.1) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
}

.vehicle-specs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-specs svg {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

.vehicle-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-brand-light);
    margin-bottom: 1.5rem;
}

.carousel-controls {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

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

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-cyan);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slide-content {
        padding: 2rem;
    }
    
    .carousel-controls {
        bottom: auto;
        top: 2rem;
        right: 2rem;
    }
}

/* ---------------------------------------------------------------------
   5. SEKTION: FUHRPARK-SERVICE (BESTEHEND)
   --------------------------------------------------------------------- */
.management-section {
    background-color: var(--primary-dark);
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-brand-light);
    flex-shrink: 0;
}

.management-visual {
    width: 100%;
    height: 350px;
    background: linear-gradient(rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.5)), url('../service-fleet.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .management-visual {
        height: 400px;
    }
}

/* Spezielle Image-Cards mit dunklem Glassmorphismus Overlay */
.service-card.service-card--image {
    position: relative;
    background-size: cover;
    background-position: center;
    /* Kein background-clip Hack mehr nötig */
    isolation: isolate;
    overflow: hidden;
    /* Der magische Trick: Wir machen den 1px Rand absolut blickdicht in der Hintergrundfarbe.
       Dadurch wird das durchscheinende "Bluten" des Bildes an den runden Ecken physikalisch abgedeckt! */
    border-color: var(--primary-dark);
}

.service-card.service-card--image:hover {
    /* Beim Hovern wird der blickdichte Rand rot – ebenfalls blickdicht! */
    border-color: var(--accent-red);
}

.service-card--image::before {
    content: '';
    position: absolute;
    /* Massiv größer machen als die Karte, damit die unsauberen 
       Backdrop-Filter-Ränder weit außerhalb des sichtbaren Bereichs liegen */
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 0; /* Die Rundung übernimmt exklusiv das overflow: hidden der Eltern-Karte */
    
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(2px); /* Weiter reduzierter Blur auf User-Wunsch */
    -webkit-backdrop-filter: blur(2px);
    z-index: 0;
}

.service-card--image > *:not(.ai-label) {
    position: relative;
    z-index: 1;
}

.service-card--image h3,
.service-card--image p,
.service-card--image li {
    color: #ffffff !important;
}

.service-card--image .card-icon {
    color: var(--primary-brand-light);
}

.visual-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-red);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

/* ---------------------------------------------------------------------
   6. SEKTION: DAS ÜBER-UNS MANIFEST (DUOTONE PILLAR)
   --------------------------------------------------------------------- */
.manifest-duotone-pillar {
    position: relative;
    padding: 8rem 0;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pillar-grid {
        /* Perfektes 50/50 Layout (Bild links, Text rechts) */
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.pillar-content {
    position: relative;
    z-index: 2;
}

/* Mega-Initial im Hintergrund (Riesiges 'A') */
.mega-initial {
    position: absolute;
    top: -50px;
    left: -40px;
    font-size: 250px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.pillar-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1.5rem 0;
    line-height: 1.1;
    color: #ffffff;
    position: relative;
}

.pillar-headline::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
}

.manifest-lead {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hub Layout Grid */
.manifest-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .manifest-hub-grid {
        /* Left cards (1fr), Center image (1.5fr for emphasis), Right cards (1fr) */
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 3rem;
        align-items: center;
    }
}

/* Card Columns */
.hub-cards-left, .hub-cards-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Feature Cards */
.manifest-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    height: 100%;
}

.manifest-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.manifest-card .check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 0.1rem;
    box-shadow: 0 4px 12px rgba(11, 78, 175, 0.3);
}

.manifest-card .check-text strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.manifest-card .check-text p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Visual Hub Image (Entblurrt & Voll in Farbe) */
.hub-visual {
    position: relative;
    z-index: 2;
}

.hub-image-wrapper {
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
}

.hub-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Hub Visual Overrides for Trust Badge (Zentriert & Kleiner) */
.hub-visual .floating-trust-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    padding: 1rem 1.5rem;
    width: max-content;
}

.hub-visual .badge-number {
    font-size: 2.2rem;
}

.hub-visual .badge-text {
    font-size: 0.8rem;
}

.manifest-conclusion {
    font-size: 1.1rem;
    color: #f3f4f6;
    line-height: 1.6;
}

.manifest-details p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* CONTAINER VERBREITERUNG FÜR 4 SPALTEN (8 KACHELN) */
.werkstatt-section .container--v2 {
    max-width: 1500px;
}

/* Duotone Visual Pillar */
.pillar-visual {
    position: relative;
    z-index: 1;
}

.abstract-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(29, 115, 232, 0.05) 50%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.duotone-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible; /* Wichtig für das floating badge */
}

.duotone-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    display: block;
    /* Leichtes Color-Tuning statt hartem Duotone */
    filter: brightness(90%) contrast(110%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1;
}

.duotone-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(19, 108, 188, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2;
    pointer-events: none;
}

.floating-trust-badge {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--secondary-dark);
    border: 1px solid var(--card-border);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border-left: 3px solid var(--accent-red);
}

.badge-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .mega-initial {
        display: none;
    }
    .floating-trust-badge {
        bottom: -20px;
        left: 20px;
    }
}

/* ---------------------------------------------------------------------
   7. SEKTION: WORKFLOW (DIE PULSIERENDE MATRIX)
   --------------------------------------------------------------------- */
.workflow-matrix-section {
    background-color: var(--bg-main);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.matrix-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Der pulsierende Datenfluss (Linie) */
.matrix-data-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05); /* Schiene */
    z-index: 1;
    overflow: hidden;
}

.matrix-data-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--primary-brand-light), transparent);
    animation: data-pulse 3s infinite linear;
}

@keyframes data-pulse {
    0% { left: -100%; }
    100% { left: 200%; }
}

.matrix-step {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    transition: transform 0.4s ease;
}

/* Zick-Zack Versatz auf Desktop */
@media (min-width: 1024px) {
    .step-up {
        transform: translateY(-40px);
    }
    .step-down {
        transform: translateY(40px);
    }
}

/* Der leuchtende Knotenpunkt */
.matrix-node {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), inset 0 0 10px rgba(6, 182, 212, 0.2);
    transition: var(--transition-smooth);
    position: relative;
}

.matrix-node::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed var(--accent-cyan);
    opacity: 0.3;
    animation: spin 10s linear infinite;
}

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

/* Die Isometrische Plattform-Karte */
.matrix-card {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    width: 100%;
    max-width: 280px;
    /* Subtiler 3D Effekt nach unten */
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                0 5px 0 var(--primary-dark);
    transition: var(--transition-smooth);
}

.matrix-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.matrix-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Interaktion: Plattform leuchtet rot von innen auf */
.matrix-step:hover .matrix-node {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.6);
}

.matrix-step:hover .matrix-node::before {
    border-color: var(--accent-red);
    animation-duration: 2s; /* Dreht sich schneller */
}

.matrix-step:hover .matrix-card {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.3);
    /* Der innere rote Glow */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6),
                inset 0 0 40px rgba(211, 47, 47, 0.1),
                0 5px 0 rgba(211, 47, 47, 0.4);
}

/* Mobile Darstellung (Vertikal) */
@media (max-width: 1023px) {
    .matrix-timeline {
        flex-direction: column;
        gap: 2rem;
        padding-left: 2rem;
    }
    
    .matrix-data-line {
        top: 0;
        bottom: 0;
        left: 2rem;
        width: 3px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .matrix-data-line::after {
        top: -100%;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(180deg, transparent, var(--accent-cyan), var(--primary-brand-light), transparent);
        animation: data-pulse-vert 3s infinite linear;
    }

    @keyframes data-pulse-vert {
        0% { top: -100%; }
        100% { top: 200%; }
    }
    
    .matrix-step {
        flex-direction: row;
        width: 100%;
        text-align: left;
    }
    
    .step-up, .step-down {
        transform: none !important;
    }
    
    .matrix-node {
        margin-bottom: 0;
        margin-right: 2rem;
        flex-shrink: 0;
    }
    
    .matrix-card {
        max-width: 100%;
        text-align: left;
    }
}

/* ---------------------------------------------------------------------
   8. SEKTION: SOCIAL PROOF / REVIEWS
   --------------------------------------------------------------------- */
.reviews-section {
    background-color: transparent; /* Verwendet den Flow der Hauptseite */
    padding: 2rem 5%; /* Vertikale Höhe auf ein absolutes Minimum reduziert */
    position: relative;
    overflow: hidden; 
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Google Rating Pill Top Placement */
.google-rating-top {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.google-rating-top .google-rating {
    background: var(--card-bg); /* Homogener Stil */
    border-color: var(--card-border);
}

.google-rating-top .star-icon.filled {
    color: #e57a00;
    fill: #e57a00;
}

.reviews-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-light);
    margin-bottom: 2rem; 
}

/* Erweitert den Container für Reviews, um die Boxen breiter und flacher zu machen */
.reviews-section .container--v2 {
    max-width: 1600px;
}

/* Asymmetrisches Trust-Bento */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 2.5fr 1fr 1fr; /* Gregor bekommt noch mehr Breite */
        align-items: start; /* Verhindert, dass die Karten sich künstlich in die Höhe strecken */
        gap: 2rem;
    }
    
    /* Bento-Highlight: Die erste Karte ist breiter (nimmt 2.5fr ein) */
    .review-card:nth-child(1) {
        padding: 2.2rem 2.5rem; /* Drastisch reduziertes Padding für flacheres Layout */
        background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.08), var(--primary-dark) 50%);
    }
    
    .review-card:nth-child(1) .review-text {
        font-size: 1.3rem; /* Größere Schrift für Highlight */
        line-height: 1.8;
    }
}

.review-card {
    background-color: var(--primary-dark);
    border: 1px solid var(--card-border); 
    border-radius: var(--border-radius-lg); 
    padding: 1.5rem 1.8rem; /* Reduziertes Basis-Padding */
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
}

/* Gradient-Border Haarlinie (Hover) via ::after Box */
.review-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-brand-light), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.15);
    border-color: transparent;
}

.review-card:hover::after {
    opacity: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.review-author {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.review-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.review-card .stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.review-card .star-icon.filled {
    fill: var(--accent-red); 
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

.review-text {
    font-style: italic;
    color: #e2e8f0; 
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem; /* Etwas kleiner für Kompaktheit */
}

/* Footer Actions: Google Rating Pill & Button */
.reviews-footer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Zusätzlicher Glass-Button Stil */
.btn--glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(229, 122, 0, 0.5); /* AutoKo Orange Hover */
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr); /* Auf Tablets 2-spaltig */
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    .reviews-grid {
        grid-template-columns: 1fr; /* Auf Handys 1-spaltig */
    }
    .reviews-footer-actions {
        flex-direction: column;
    }
}

/* ---------------------------------------------------------------------
   9. SEKTION: KONTAKT & MAPS (FILTER GRAUSTUFE)
   --------------------------------------------------------------------- */
.contact-section {
    background-color: var(--primary-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
    }
}

.info-list {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-item i {
    width: 24px;
    height: 24px;
    color: var(--primary-brand-light);
    margin-top: 0.25rem;
}

.info-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-item h4 {
    color: var(--primary-brand-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--primary-brand-light);
}

/* WhatsApp Styling */
.whatsapp-item .whatsapp-svg {
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
    border-radius: 50%;
    padding: 2px;
}

.whatsapp-item .whatsapp-text {
    color: #25D366;
}

.whatsapp-item .whatsapp-link:hover {
    color: #25D366;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

/* Google Maps Container im echten Night Mode */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    position: relative; /* Wichtig für das Overlay */
}

.map-container iframe {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(90%);
    opacity: 0.9;
    transition: var(--transition-smooth);
}

/* Custom Overlay um die Google-Adresse (Starenweg) zu verdecken - Out of Grid */
.map-label-hider {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 360px; /* Deutlich breiter, um das Route-Icon zu überdecken */
    height: 110px; /* Höher, um den schwarzen Kasten voll zu schlucken */
    background: var(--primary-brand); /* Sattes Werkstatt-Blau, korrekte Variable! */
    z-index: 20;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-label-hider span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .map-label-hider {
        width: 220px;
        height: 75px;
        padding: 0.75rem 1rem;
    }
    .map-label-hider span {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .map-container {
        height: 450px;
    }
}

.map-container:hover iframe {
    filter: invert(100%) hue-rotate(180deg) brightness(100%) contrast(100%);
    opacity: 1;
}

/* ---------------------------------------------------------------------
   8. MASTER FOOTER (DREHMOMENT STANDARD)
   --------------------------------------------------------------------- */
.main-footer {
    background-color: #0b0b0c;
    border-top: 1px solid var(--card-border);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--card-border);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(19, 108, 188, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.brand-col p {
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.footer-logo {
    height: clamp(60px, 8vw, 100px);
    width: auto;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--primary-brand-light);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* =====================================================================
   MASTER MOBILE PROTOCOL OVERRIDES (SAFE APPEND)
   Hier werden alle Mobile-Probleme (Hamburger, Ablauf, Grids) repariert.
   ===================================================================== */
/* 5. Helfer-Klassen */
.mobile-break { display: block; }

@media (max-width: 991px) {
    /* 1. Hamburger Menü: Vollbild-Overlay erzwingen */
    .nav-container {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -100vw;
    }
    .nav-container.open {
        right: 0 !important;
    }

    /* 2. Hero & Navbar: Logo-Quetschung verhindern */
    .header-actions .btn--primary,
    .action-container .btn--primary {
        display: none !important; 
    }
    
    .logo-container {
        margin-left: -0.5rem;
    }
    
    .brand-logo {
        transform: scale(1.6) translateY(-12%) !important;
    }
    
    .hero-top-umbrella {
        padding-bottom: 2rem !important;
    }
    
    .hero-text-wrapper {
        margin-top: clamp(280px, 35vh, 400px) !important;
    }
    /* 3. Ablauf / Workflow: Sauberes Grid (Text neben Punkt) */
    .workflow-timeline {
        padding-left: 0 !important;
    }
    .workflow-line {
        left: 0.6rem !important;
    }
    .workflow-step {
        display: grid !important;
        grid-template-columns: 20px 1fr !important;
        grid-template-areas: 
            "dot title"
            "dot desc" !important;
        gap: 0.25rem 1.5rem !important;
        align-items: start !important;
        text-align: left !important;
        margin-bottom: 2.5rem !important;
        width: 100% !important;
    }
    .workflow-dot {
        grid-area: dot !important;
        margin: 5px 0 0 0 !important;
    }
    .workflow-step h4 {
        grid-area: title !important;
        margin-bottom: 0.5rem !important;
    }
    .workflow-step p {
        grid-area: desc !important;
        max-width: 100% !important;
    }

    /* 4. Grids auf Mobile entzerren */
    .grid-3-cols, 
    .grid-4-cols,
    .bento-grid, 
    .reviews-grid,
    .split-layout,
    .split-layout-v2,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .fleet-card,
    .trade-card,
    .brokerage-card,
    .detailing-card,
    .sales-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
    
    /* 5. Edge-to-Edge: Padding reduzieren */
    .container--v2 {
        padding: 0 1.25rem !important;
    }
    section {
        padding: 4rem 0 !important;
    }
    /* 6. Header Dual-Logo-Box fix für Mobile */
    .main-header {
        height: 70px !important;
    }
    
    .dual-logo-box {
        height: 56px !important; /* Passt in den 70px-Mobile-Header mit je 7px Luft */
        padding: 8px 14px !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .brand-logo-uve {
        height: 36px !important;
        transform: none !important;
    }
    
    .brand-logo-autoko {
        height: 32px !important;
        transform: none !important;
    }
    
    /* 7. Hero Glass Box (Logos side-by-side above text) */
    .hero-glass-box {
        width: 95% !important;
        padding: 1rem 1.5rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem 2rem !important;
        transform: none !important;
    }
    
    .hero-dach-logo-uve {
        order: 1 !important;
        height: 100px !important; /* Massiv vergrößert */
        margin: 0 !important;
        transform: none !important;
    }
    
    .hero-dach-logo-autoko {
        order: 2 !important;
        height: 95px !important; /* Massiv vergrößert */
        margin: 0 !important;
        transform: none !important;
    }
    
    .hero-glass-slogan {
        order: 3 !important;
        width: 100% !important;
        grid-column: 1 / span 2 !important;
        margin-top: 1.2rem !important;
        font-size: 2.2rem !important; /* Sehr große, präsente Schrift */
        font-weight: 600 !important; /* Dünner/Cleaner wie vom Kunden gewünscht (lokales Bild) */
        line-height: 1.1 !important; /* Kompakterer Zeilenabstand bei großen Schriften */
        text-align: center !important;
    }
    
    .mobile-break {
        display: block !important;
    }
    
    /* Ensure Hero content has enough space below the new top structure */
    .hero-text-wrapper {
        margin-top: 360px !important; /* Further increased to clear the much larger umbrella logos */
    }
}

/* ---------------------------------------------------------------------
   VEHICLE MODAL (POP-UP)
   --------------------------------------------------------------------- */
.vehicle-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.vehicle-modal.active { opacity: 1; pointer-events: auto; }
.modal-overlay {
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* =====================================================================
   MASTER MOBILE PROTOCOL OVERRIDES (SAFE APPEND)
   Hier werden alle Mobile-Probleme (Hamburger, Ablauf, Grids) repariert.
   ===================================================================== */
/* 5. Helfer-Klassen */
.mobile-break { display: block; }

@media (max-width: 991px) {
    /* 1. Hamburger Menü: Vollbild-Overlay erzwingen */
    .nav-container {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -100vw;
    }
    .nav-container.open {
        right: 0 !important;
    }

    /* 2. Hero & Navbar: Logo-Quetschung verhindern */
    .header-actions .btn--primary,
    .action-container .btn--primary {
        display: none !important; 
    }
    
    .logo-container {
        margin-left: -0.5rem;
    }
    
    .brand-logo {
        transform: scale(1.6) translateY(-12%) !important;
    }
    
    .hero-top-umbrella {
        padding-bottom: 2rem !important;
    }
    
    .hero-text-wrapper {
        margin-top: clamp(280px, 35vh, 400px) !important;
    }
    /* 3. Ablauf / Workflow: Sauberes Grid (Text neben Punkt) */
    .workflow-timeline {
        padding-left: 0 !important;
    }
    .workflow-line {
        left: 0.6rem !important;
    }
    .workflow-step {
        display: grid !important;
        grid-template-columns: 20px 1fr !important;
        grid-template-areas: 
            "dot title"
            "dot desc" !important;
        gap: 0.25rem 1.5rem !important;
        align-items: start !important;
        text-align: left !important;
        margin-bottom: 2.5rem !important;
        width: 100% !important;
    }
    .workflow-dot {
        grid-area: dot !important;
        margin: 5px 0 0 0 !important;
    }
    .workflow-step h4 {
        grid-area: title !important;
        margin-bottom: 0.5rem !important;
    }
    .workflow-step p {
        grid-area: desc !important;
        max-width: 100% !important;
    }

    /* 4. Grids auf Mobile entzerren */
    .grid-3-cols, 
    .grid-4-cols,
    .bento-grid, 
    .reviews-grid,
    .split-layout,
    .split-layout-v2,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .fleet-card,
    .trade-card,
    .brokerage-card,
    .detailing-card,
    .sales-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
    
    /* 5. Edge-to-Edge: Padding reduzieren */
    .container--v2 {
        padding: 0 1.25rem !important;
    }
    section {
        padding: 4rem 0 !important;
    }
    /* 6. Header Dual-Logo-Box fix für Mobile */
    .main-header {
        height: 70px !important;
    }
    
    .dual-logo-box {
        height: 56px !important; /* Passt in den 70px-Mobile-Header mit je 7px Luft */
        padding: 8px 14px !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .brand-logo-uve {
        height: 36px !important;
        transform: none !important;
    }
    
    .brand-logo-autoko {
        height: 32px !important;
        transform: none !important;
    }
    
    /* 7. Hero Glass Box (Logos side-by-side above text) */
    .hero-glass-box {
        width: 95% !important;
        padding: 1rem 1.5rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem 2rem !important;
        transform: none !important;
    }
    
    .hero-dach-logo-uve {
        order: 1 !important;
        height: 100px !important; /* Massiv vergrößert */
        margin: 0 !important;
        transform: none !important;
    }
    
    .hero-dach-logo-autoko {
        order: 2 !important;
        height: 95px !important; /* Massiv vergrößert */
        margin: 0 !important;
        transform: none !important;
    }
    
    .hero-glass-slogan {
        order: 3 !important;
        width: 100% !important;
        grid-column: 1 / span 2 !important;
        margin-top: 1.2rem !important;
        font-size: 2.2rem !important; /* Sehr große, präsente Schrift */
        font-weight: 600 !important; /* Dünner/Cleaner wie vom Kunden gewünscht (lokales Bild) */
        line-height: 1.1 !important; /* Kompakterer Zeilenabstand bei großen Schriften */
        text-align: center !important;
    }
    
    .mobile-break {
        display: block !important;
    }
    
    /* Ensure Hero content has enough space below the new top structure */
    .hero-text-wrapper {
        margin-top: 360px !important; /* Further increased to clear the much larger umbrella logos */
    }
}

/* ---------------------------------------------------------------------
   VEHICLE MODAL (POP-UP)
   --------------------------------------------------------------------- */
.vehicle-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.vehicle-modal.active { opacity: 1; pointer-events: auto; }
.modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 18, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-content-wrapper {
    position: relative;
    background: #e5e7eb; /* Exakter Farbton der Logo-Box */
    width: 95%; max-width: 1400px; height: 90vh;
    border-radius: 16px; overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--primary-dark);
    display: flex; flex-direction: column;
}
.modal-close-btn {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(0,0,0,0.1); border: none; width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; color: var(--primary-dark); transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--accent-red); color: white; }
.modal-body { display: grid; grid-template-columns: 60% 40%; gap: 0; height: 100%; }
@media (max-width: 968px) { .modal-body { grid-template-columns: 1fr; } }
.modal-gallery { padding: 2rem; background: #d1d5db; display: flex; flex-direction: column; gap: 1rem; }
.main-image-container { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; background: #000; }
.main-image-container img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-strip { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.thumbnail-strip::-webkit-scrollbar { height: 6px; }
.thumbnail-strip::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; }
.thumbnail-strip::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; }
.thumbnail-strip img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; }
.thumbnail-strip img:hover, .thumbnail-strip img.active { opacity: 1; border: 2px solid var(--accent-cyan); }
.modal-info { padding: 3rem 2rem; overflow-y: auto; }
.modal-info h2 { font-family: 'Outfit', sans-serif; font-size: 2.2rem; margin: 0.5rem 0 0.25rem 0; color: var(--primary-dark); text-transform: uppercase; }
.modal-subtitle { font-size: 1.1rem; color: #4b5563; margin-bottom: 1.5rem; }
.modal-price { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary-brand); margin-bottom: 2rem; }
.modal-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; background: #f3f4f6; padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); }
.spec-item { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: #374151; }
.spec-item i { color: var(--primary-brand); width: 20px; height: 20px; }
.modal-check-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.check-item { display: flex; align-items: center; gap: 0.75rem; color: #4b5563; font-weight: 500; }
.check-item i { color: #10b981; } /* Grüner Haken */
.modal-description h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary-dark); text-transform: uppercase; }
.modal-description p { color: #4b5563; line-height: 1.7; margin-bottom: 2rem; }
.modal-ctas { display: flex; flex-direction: column; gap: 1rem; }
.btn--whatsapp { background: #166534; color: white; border: 1px solid rgba(255,255,255,0.1); }
.btn--whatsapp:hover { background: #14532d; border-color: rgba(255,255,255,0.2); color: white; }

/* ==========================================================================
   MOBILE OVERRIDES (Safe Append)
   ========================================================================== */
@media (max-width: 991px) {
    /* Modal Fixes */
    .modal-content-wrapper {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        border-radius: 0;
        margin: 0;
    }
    .modal-body {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .modal-gallery {
        padding: 1rem;
        padding-top: 4rem; /* Platz für Close-Button */
    }
    .main-image-container {
        height: 250px;
    }
    .modal-info {
        padding: 1.5rem;
    }
    .modal-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        position: fixed; /* Damit er immer greifbar bleibt */
    }
}
