/* --- HIDRIVER CLEAN LUXURY THEME (v1.2 Final) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --gold: #c5a059;
    --navy: #101828;
    --navy-light: #1d2939;
    --slate: #475467;
    --white: #ffffff;
    --bg-light: #f9fafb;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.1);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Verhindert seitliches Scrollen durch Animationen */
}

a { color: var(--navy); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-top: 0;
    line-height: 1.2;
}

/* --- LAYOUT --- */
.section {
    padding: 120px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px auto;
}

.section-title h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 20px;
    color: var(--slate);
    font-weight: 300;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

/* --- HERO BEREICH (MIT KEN BURNS EFFEKT) --- */
.hero-section {
    position: relative;
    background: var(--navy);
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Definition der Zoom-Animation */
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../img/hero-wien.jpg') center/cover no-repeat;
    opacity: 0.5; /* Etwas heller für besseren Kontrast */
    z-index: 1;
    animation: kenBurns 20s ease-in-out infinite alternate; /* Die Animation */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: white;
}

.hero-content h1 {
    font-size: 64px;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    color: #eaecf0;
    margin-bottom: 50px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* --- SUCHFELD (GLASSMORPHISM) --- */
.hero-search-box {
    background: rgba(255, 255, 255, 0.85); /* Halb-transparent */
    backdrop-filter: blur(12px);            /* Milchglas-Effekt */
    -webkit-backdrop-filter: blur(12px);
    padding: 10px;
    border-radius: 100px;
    display: flex;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.3s ease;
}

.hero-search-box:hover {
    transform: scale(1.02);
}

.hero-search-box input {
    flex: 1;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
}

.hero-search-box button {
    background: var(--navy);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-search-box button:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* --- LEBENDIGE KARTEN (HOVER EFFEKTE) --- */
.feature-card, .step-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
}

.feature-card:hover, .step-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Icon leuchtet und dreht sich beim Hover */
.feature-card:hover .feature-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--slate);
    font-size: 16px;
    line-height: 1.8;
}

/* --- STEPS DESIGN --- */
.step-card {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #eaecf0;
}

.step-card:hover {
    border-left: 2px solid var(--gold); /* Linie wird Gold beim Hover */
}

.step-number {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1;
}

/* --- CTA SECTION (MIT HINTERGRUNDBILD) --- */
.cta-driver {
    /* Hintergrundbild mit dunklem Overlay für Lesbarkeit */
    background: linear-gradient(rgba(16, 24, 40, 0.7), rgba(16, 24, 40, 0.9)), url('../img/driver-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effekt: Bild bleibt stehen beim Scrollen */
    
    color: white;
    text-align: center;
    padding: 140px 20px; /* Mehr Platz oben/unten wirkt edler */
    position: relative;
    margin-bottom: 0; /* WICHTIG: Kein Abstand nach unten zum Footer */
}

.cta-driver h2 { 
    color: white; 
    font-size: 42px;
    margin-bottom: 20px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-driver p { 
    color: #e0e0e0; /* Helles Grau statt Dunkelgrau */
    max-width: 600px; 
    margin: 0 auto 40px auto; 
    font-size: 18px;
}

/* Gold Button mit Shine Effekt */
.btn-gold {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--gold), #d4b06a);
    color: var(--navy);
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
    color: var(--navy); /* Textfarbe beibehalten */
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-gold:hover::after {
    left: 100%;
}

/* HEADER FIX */
header {
    background: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    position: sticky; /* Header bleibt oben kleben */
    top: 0;
    z-index: 100;
}

/* --- MOBILE MENU DEFAULTS (Desktop) --- */
/* Diese Zeilen fehlten in deiner Version! */
.mobile-menu-btn { display: none; }
.mobile-nav-overlay { display: none; }
.desktop-nav { display: flex; align-items: center; }

/* --- RESPONSIVE ANPASSUNGEN (Handy & Tablet) --- */
@media (max-width: 768px) {
    
    /* 1. Schriftgrößen drastisch verkleinern, damit lange Wörter passen */
    .hero-content h1 { font-size: 34px; line-height: 1.2; }
    .hero-content p { font-size: 18px; }
    
    .section-title h2 { 
        font-size: 30px; /* Kleiner, damit "Sicherheitsversprechen" passt */
        word-wrap: break-word; /* Erzwingt Umbruch bei zu langen Wörtern */
        hyphens: auto; /* Aktiviert automatische Silbentrennung (wichtig für Deutsch!) */
    }

    /* 2. Abstände verringern für mehr Platz */
    .section { padding: 60px 20px; }
    .section-title { margin-bottom: 40px; }
    .grid-3 { gap: 40px; }

    /* 3. Mobile Navigation & Header Fixes */
    .desktop-nav { display: none; } /* Desktop Menü weg */
    
    .mobile-menu-btn {
        display: block; /* Hamburger Button da */
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: var(--navy);
        padding: 5px;
        z-index: 1002;
    }

    /* Logo etwas kleiner */
    .logo a { font-size: 20px; }
    
    /* Header kompakter */
    header { padding: 15px 20px; }

    /* Suchbox im Hero anpassen */
    .hero-search-box { 
        flex-direction: column; 
        background: rgba(255,255,255,0.9); /* Weniger transparent für Lesbarkeit */
        box-shadow: none; 
        border-radius: 20px;
    }
    .hero-search-box input { 
        width: 100%; 
        border-radius: 10px; 
        margin-bottom: 10px; 
        text-align: center; /* Text zentrieren sieht mobil oft besser aus */
    }
    .hero-search-box button { 
        width: 100%; 
        border-radius: 10px; 
    }

    /* 4. Das Mobile Overlay Menü (Struktur) */
    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--navy);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mobile-nav-overlay.active { transform: translateX(0); }

    .mobile-nav-overlay a {
        font-family: var(--font-heading);
        font-size: 24px; /* Etwas kleiner als Desktop Overlay */
        color: white;
        margin: 12px 0;
        text-decoration: none;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
    }

    .mobile-nav-overlay.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .close-btn {
        position: absolute;
        top: 25px; right: 25px;
        font-size: 40px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    /* Footer Mobil-Optimierung */
    .footer-bottom { flex-direction: column; gap: 20px; }
}