/* --- 1. DESIGN SYSTEM & VARIABLEN --- */
:root {
    --primary: #1E3A8A;
    --primary-light: #2563EB;
    --secondary: #10B981; 
    --secondary-hover: #059669;
    --accent: #FACC15;
    --white: #ffffff;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    
    /* Schatten */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Verläufe */
    --grad-blue: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    max-width: 100%;
    overflow-x: hidden; /* Verhindert das seitliche Scrollen komplett */
    position: relative;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: var(--text-main); 
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 2. TYPOGRAFIE & SEKTIONEN --- */
section { padding: 80px 0; }
.bg-light { background-color: var(--bg-gray); }

h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.25rem; margin-bottom: 40px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* --- 3. HEADER & NAVIGATION --- */
header {
    background: var(--primary);
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	}
	
	.nav-toggle, 
.nav-toggle-label { 
    display: none !important; 
}

.logo-link img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links { 
    display: flex; 
    align-items: center; 
}

/* Haupt-Links */
.nav-links a, .nav-item {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover, .nav-item:hover { color: var(--accent); }

/* Dropdown Container */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Das Menü, das aufklappt */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 30px; /* Gleicht den margin-left des Hauptlinks aus */
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1100;
}

/* Links im Dropdown */
.dropdown-content a {
    color: var(--primary) !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    display: block !important;
    font-size: 1rem !important;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #f3f4f6;
    color: var(--primary-light) !important;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* Cockpit & Language */
.nav-btn-cockpit {
    background: rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 6px;
}

/* --- SPRACHAUSWAHL OPTIMIERUNG --- */
.lang-wrapper {
    margin-left: 30px;
}

.lang-switch {
    background-color: var(--primary); /* Weißer Hintergrund für harten Kontrast */
    color: var(--white);         /* Blaue Schriftfarbe */
    font-size: 1rem;               /* Größere Schrift */
    font-weight: 700;
    padding: 8px 14px;             /* Mehr Innenabstand */
    border: 2px solid var(--accent); /* Akzent-Rahmen in Gelb */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: scale(1.05);
}

/* Mobile Toggle */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 3px;
    width: 30px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav-toggle-label span::before {
    content: '';
    position: absolute;
    top: -10px;
}

.nav-toggle-label span::after {
    content: '';
    position: absolute;
    top: 10px;
}

/* Animation zum "X" wenn geöffnet */
#nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
}

#nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
}

#nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* --- 4. HERO SECTION (Wiederhergestellt: hero-visual-bg) --- */
.hero-visual-bg {
    background: var(--grad-blue);
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 60px 0;
}

.hero-visual-bg h1 { color: var(--white); }

.hero-visual-bg .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content { flex: 1; }
.hero-image { flex: 1; }
.hero-image img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
}

/* Spezieller Abschnitt für flache Hero-Bereiche */
.hero-compact {
    min-height: 20vh !important; /* Deutlich reduziert */
    padding: 40px 0 !important;  /* Weniger Innenabstand oben/unten */
}

/* Optional: Verkleinert die H1 etwas für die kompakte Ansicht */
.hero-compact h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
/* Optimierter Hero für Editions-Seiten (Enterprise, Team, Free) */
.hero-edition {
    text-align: center;
    padding: 90px 20px 130px !important;
    min-height: auto !important;
}

.hero-edition .container {
    display: block !important;
    max-width: 1000px; /* Begrenzt die Gesamtbreite für bessere Lesbarkeit */
    margin: 0 auto;
}

.hero-edition h1 {
    font-size: 3.5rem; /* Große, dominante Headline */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: #fff;
}

.hero-edition p {
    font-size: 1.35rem;
    line-height: 1.6;
    max-width: 750px; /* Der Text unter der Headline bleibt schmaler */
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Floating Info Section */
.info-floating-frame {
    background: #ffffff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin-top: 80px;
    border: 1px solid #f0f4f8;
}

.info-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.info-text { flex: 1.2; }
.info-image-placeholder { 
    flex: 1; 
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #64748b;
}

/* Für abwechselnde Anordnung (Bild links/rechts) */
.flex-reverse { flex-direction: row-reverse; }


/* --- 5. WEITERE ELEMENTE --- */
.feature-list { list-style: none; margin: 30px 0; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.check-icon { color: var(--secondary); font-weight: bold; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.card-title { font-size: 1.4rem; color: var(--primary); font-weight: 800; margin-bottom: 5px; }


/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 700;
	font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(to bottom, #10B981, #059669);
    color: white;
    border-bottom: 3px solid #047857;
}

/* --- 6. TABELLEN & PRICING --- */
/* --- VEREDELTE VERGLEICHSTABELLE --- */
.table-wrapper {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    background: white;
    overflow: hidden; /* Für abgerundete Ecken am Header */
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Header-Styling */
.feature-table thead th {
    background: var(--primary);
    color: white;
    padding: 25px 15px;
    font-weight: 700;
    text-align: center;
    border: none;
}

/* Zeilen-Styling */
.feature-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    color: var(--text-main);
}

/* Erste Spalte (Features) hervorheben */
.feature-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #fcfcfc;
    color: var(--primary);
    width: 30%;
}

.feature-table td:first-child, 
.feature-table th:first-child {
    text-align: left;
    background: #f8fafc;
    font-weight: 600;
    color: var(--primary);
    width: 320px;
    position: sticky; /* Sticky Column für Mobile */
    left: 0;
    z-index: 5;
    border-right: 1px solid #f1f5f9;
}

.feature-table th:first-child { background: var(--primary); border-right: none; }

/* Icons & Werte */
.icon-check { color: #10B981; font-weight: bold; font-size: 1.2rem; }
.icon-no { color: #cbd5e1; font-weight: 300; font-size: 1.2rem; }
.text-val { font-weight: 500; color: var(--text-main); }
small { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

/* Footer & Buttons */
.feature-table tfoot td {
    background: #fcfcfc;
    padding: 30px 15px;
}

.btn-table {
    width: 100%;
    font-size: 0.9rem !important;
    padding: 12px 10px !important;
    white-space: nowrap;
}

.footer-payment-icons i {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-payment-icons i:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
    color: var(--accent); /* Optional: Icons leuchten in deiner Akzentfarbe auf */
}

/* Symbole veredeln */
.check-icon { color: #10B981; font-size: 1.2rem; }
.no-icon { color: #d1d5db; font-weight: 300; } /* Dezentes Grau statt Rot */

/* Hover-Effekt für Zeilen */
.feature-table tbody tr:hover td {
    background-color: rgba(30, 58, 138, 0.02);
}

/* Footer-Bereich mit Buttons */
.feature-table tfoot td {
    padding: 30px 10px;
    background: #f9fafb;
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0 50px;
    font-weight: 700;
    color: var(--primary);
}

/* Der Schalter-Container */
.switch {
    position: relative;
    display: inline-block;
    height: 34px;
    
    /* Die "Atombombe" gegen Schrumpfen: */
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    flex: 0 0 60px !important; /* Flex-Basis fixieren */
    
    margin: 0 10px; /* Etwas Luft zu den Texten */
}

/* Checkbox verstecken */
.switch input { opacity: 0; width: 0; height: 0; }

/* Der Slider-Hintergrund */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary);
    transition: .4s;
    border-radius: 34px;
}

/* Der weiße Punkt im Slider */
.slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Farbe wenn aktiv (Grün) */
input:checked + .slider { background-color: var(--secondary); }
input:checked + .slider:before { transform: translateX(26px); }

/* Preisanzeige-Logik */
.price-yearly { display: none; } /* Standardmäßig Monatlich zeigen */

/* Wenn Toggle aktiv: Monatlich weg, Jährlich her */
#period-toggle:checked ~ .pricing-grid .price-monthly { display: none; }
#period-toggle:checked ~ .pricing-grid .price-yearly { display: block; animation: fadeIn 0.4s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- 5. PRICING CARDS --- */
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten auf Desktop */
    gap: 25px; 
    margin: 40px auto 60px;
    max-width: 1200px;
}

.pricing-grid .card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 20px;
    /* Ein hauchdünner Rahmen in der Primärfarbe macht die Karte sichtbar */
    border: 1px solid rgba(30, 58, 138, 0.1); 
    /* Ein Schatten mit einem Stich ins Blaue wirkt hochwertiger */
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-grid .card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.2);
}
.pricing-grid .card .btn {
    font-size: 0.95rem; /* Etwas kleiner als der Standard-Button */
    padding: 14px 20px; /* Etwas schmaler, damit er sicher in die Box passt */
}

/* Titel-Styling innerhalb der Karten */
.card-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
}

/* 1. Den Abstand zwischen Preis-Info und Button festlegen */
.pricing-grid .card .per-driver {
    margin-bottom: 30px; /* Hier den Wert erhöhen für mehr Luft */
}

/* 2. Alle Buttons am unteren Kartenrand ausrichten (Symmetrie) */
.pricing-grid .card {
    display: flex;
    flex-direction: column;
}

.pricing-grid .card .btn {
    margin-top: auto; /* Schiebt den Button ans Ende der Karte */
    width: 100%;      /* Optional: Button füllt die Breite aus, wirkt sehr modern */
}


.main-price {
    font-size: 2rem; /* Etwas kleiner (vorher meist 2.5rem) */
    font-weight: 800;
    white-space: nowrap; /* Verhindert Zeilenumbruch innerhalb des Preises */
    color: var(--primary);
}

.per-driver {
    font-size: 0.85rem;
    opacity: 0.8;
}

.buy-now-link {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
    text-align: center;
}

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

.google-play-image-link {
    display: block;
    border: none;
    padding: 0;
    background: transparent;
    transition: transform 0.3s ease;
    /* Optional: Ein kleiner Schatten, damit es mehr wie ein Button wirkt */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.google-play-image-link:hover {
    transform: translateY(-3px); /* Leichter visueller Klick-Effekt */
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

/* Das Bild selbst */
.google-play-image-link img {
    display: block;
    width: 100%;
    /* WICHTIG: Passe diesen Wert an die tatsächliche Breite deiner grünen Buttons an,
       damit es harmonisch aussieht. Ca. 180px - 220px ist meist gut. */
    max-width: 200px; 
    height: auto; /* Behält das Seitenverhältnis bei */
    margin: 0 auto; /* Zentriert das Bild horizontal */
    border-radius: 8px; /* Falls das PNG Ecken hat, runden wir sie hier leicht ab */
}

/* Anpassung der Tabellenzelle, damit das Bild mittig sitzt */
.feature-table tfoot td:last-child {
     vertical-align: middle !important;
}

/* Symmetrie für alle Buttons in der Tabelle */
.table-action-card .btn {
    min-width: 100%; /* Füllt die Spalte aus */
    height: 55px;    /* Fixe Höhe für alle Buttons in der Reihe */
}

/* --- TABELLEN-SPEZIFISCHE ANPASSUNG --- */
.table-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

/* Button-Breite in der Tabelle kontrollieren */
.table-action-card .btn {
    width: 100%;
    max-width: 220px; /* Damit sie auf Desktop nicht zu klobig wirken */
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 14px 20px;
}

/* Padding im Tabellenfuß für mehr Luft wie bei den Cards */
.feature-table tfoot td {
    padding: 30px 15px !important; /* Gleiches Padding für alle */
    vertical-align: top !important; /* Zwingt alle Inhalte ganz nach oben */
    background: #fcfcfc;
}

/* --- 7. FOOTER --- */
footer { background: #111; color: var(--white); padding: 80px 5% 40px; margin-top: 100px; }
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: var(--accent); }


/* --- 8. RESPONSIVE DESIGN --- */
@media screen and (max-width: 968px) {
    /* Versteckt die Nav-Links standardmäßig auf Mobilgeräten */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px 0;
        z-index: 999;
    }

    /* Zeigt das Menü an, wenn die Checkbox aktiv ist */
    #nav-toggle:checked ~ .nav-links {
        display: flex !important;
    }

    /* Macht das Label (die drei Striche) sichtbar */
    .nav-toggle-label {
        display: block !important;
        cursor: pointer;
        padding: 10px;
    }
	
	.nav-links {
        /* Ergänzen Sie diese Zeile in Ihrem bestehenden .nav-links Block: */
        gap: 25px; /* Moderner Weg: Erzeugt automatisch 25px Abstand zwischen allen Elementen */
    }

    /* 2. Die einzelnen Links vergrößern und zentrieren */
    .nav-links a, 
    .nav-item {
        font-size: 1.3rem !important; /* Größere Schrift (ca. 21px) */
        padding: 10px 0 !important;   /* Vergrößert die Klickfläche nach oben/unten */
        margin-left: 0 !important;    /* Entfernt den Desktop-Seitenabstand */
        text-align: center;           /* Zentriert den Text */
        width: 100%;                  /* Link geht über die volle Breite */
        display: block;               /* Wichtig, damit Padding funktioniert */
    }

    /* 3. Dropdown-Menüs auf Mobile anpassen (damit sie nicht schweben) */
    .nav-dropdown {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }

    .dropdown-content {
        position: relative !important; /* Nicht mehr absolut positioniert */
        top: 0 !important;
        left: 0 !important;
        box-shadow: none !important;   /* Kein Schatten mehr nötig */
        background: rgba(0, 0, 0, 0.1) !important; /* Etwas dunklerer Hintergrund zur Unterscheidung */
        width: 100% !important;
        padding: 10px 0 !important;
        margin-top: 10px;
    }
    
    /* Die Links im Dropdown auch groß genug machen */
    .dropdown-content a {
        padding: 15px 0 !important;
        font-size: 1.1rem !important;
        color: #fff !important; /* Auf dunklem Grund (var(--primary)) muss Text weiß sein */
    }

    /* 4. Sprachumschalter Abstand */
    .lang-wrapper {
        margin-left: 0 !important;
        margin-top: 20px;
        transform: scale(1.1); /* Macht den Button etwas größer */
    }
	
	h1 { 
        font-size: 1.8rem !important; 
        word-wrap: break-word; 
        hyphens: auto; 
    }
    
    h2 { font-size: 1.5rem !important; }

    /* Speziell für die kompakte Hero-Sektion */
    .hero-compact {
        min-height: auto !important;
        padding: 30px 0 !important;
    }

    .hero-compact h1 {
        font-size: 1.6rem !important;
    }

    /* Hero Section Fix */
    .hero-visual-bg {
        width: 100%;
        padding: 40px 0;
        box-sizing: border-box;
    }

    .hero-visual-bg .container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px; /* Etwas mehr Luft zu den Rändern */
    }

    /* Verhindert, dass Bilder oder Content die Breite sprengen */
    .hero-content, .hero-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
	.pricing-grid {
        display: flex !important;      /* Wechsel von Grid zu Flex */
        overflow-x: auto;              /* Ermöglicht horizontales Scrollen */
        scroll-snap-type: x mandatory; /* Karten "rasten" beim Wischen ein */
        gap: 15px;
        padding: 10px 5px 25px 5px;    /* Platz für Schatten und Scrollbar unten */
        -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf iOS */
        scrollbar-width: thin;         /* Schmalere Scrollbar für Firefox */
    }

    /* 2. Die Preisboxen (Cards) innerhalb des Scroll-Bereichs */
    .pricing-grid .card {
        flex: 0 0 280px;               /* Jede Karte ist genau 280px breit */
        scroll-snap-align: center;     /* Karte zentriert sich beim Wischen */
        padding: 25px 15px !important; /* Kompakteres Padding */
    }

    /* 3. Schriftanpassungen in den Boxen */
    .card-title { 
        font-size: 1.1rem !important; 
        margin-bottom: 5px !important;
    }

    .main-price { 
        font-size: 1.8rem !important; 
    }

    .per-driver { 
        font-size: 0.75rem !important; 
    }

    .card-drivers {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .btn {
        padding: 12px 20px !important; /* Kleinere Buttons */
        font-size: 0.9rem !important;
    }
	.table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf iOS */
        margin: 0 -20px; /* Tabelle geht bis zum Bildschirmrand */
        padding: 0 5px;
        border-radius: 0;
    }
    
    .feature-table {
        min-width: 800px; /* Erzwingt horizontales Scrollen */
    }

    .feature-table td:first-child, 
    .feature-table th:first-child {
        width: 130px !important; /* Deutlich schmaler auf Mobile */
        min-width: 130px !important;
        max-width: 130px !important;
        position: sticky !important;
        left: 0;
        z-index: 50; /* Über den anderen Inhalten */
        background-color: #ffffff !important; /* Absolut blickdicht */
        box-shadow: 4px 0 10px rgba(0,0,0,0.1); /* Schatten als visueller Hinweis */
        font-size: 0.85rem;
        padding: 12px 10px !important;
    }
    
    .feature-table td:first-child {
        box-shadow: 4px 0 8px rgba(0,0,0,0.03);
    }
	.hero-edition h1 { font-size: 2.2rem; }
    .hero-edition p { font-size: 1.1rem; }
	
	.info-grid { flex-direction: column !important; padding: 30px; }
	
	
}

/* Optional: Extra-Fix für sehr kleine Handys (unter 480px) */
@media screen and (max-width: 480px) {
    h1 { font-size: 1.5rem !important; }
    .hero-compact h1 { font-size: 1.4rem !important; }
}
/* --- PRICING FIXES --- */

/* 1. Preise kompakter machen, damit sie bei 290,00 € nicht umbrechen */
.main-price {
    font-size: 1.8rem !important; /* Etwas kleiner für die Symmetrie */
    font-weight: 800;
    white-space: nowrap;
    color: var(--primary);
}

.per-driver {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* 2. Das Grid-System: Desktop 4, Tablet 2, Mobile 1 */
.pricing-grid {
    display: grid !important; /* Grid statt Flex nutzen */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Tablet: 2er Gitter */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: Konsequent untereinander, KEIN Scrollen */
@media (max-width: 650px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    .pricing-horizontal-wrapper {
        overflow-x: visible !important; /* Scrollbalken deaktivieren */
    }
    .pricing-group-frame {
        padding: 30px 15px !important;
    }
}

/* 3. Der neue Toggle innerhalb des Rahmens */
.frame-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 auto 35px;
    background: #f3f4f6;
    padding: 8px 20px;
    border-radius: 50px;
    width: fit-content;
}

.frame-toggle-container span {
    font-size: 0.9rem;
    font-weight: 700;
}

@media screen and (max-width: 968px) {
    /* 1. Den Wrapper für horizontales Scrollen vorbereiten */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf iOS */
        margin: 0 -20px; /* Tabelle geht bis zum Bildschirmrand */
        padding: 0 5px;
        border-radius: 0;
    }

    /* 2. Die erste Spalte fixieren (Breite reduzieren & Blickdicht machen) */
    .feature-table td:first-child, 
    .feature-table th:first-child {
        width: 130px !important; /* Deutlich schmaler auf Mobile */
        min-width: 130px !important;
        max-width: 130px !important;
        position: sticky !important;
        left: 0;
        z-index: 50; /* Über den anderen Inhalten */
        background-color: #f8fafc !important; /* Absolut blickdicht */
        box-shadow: 4px 0 10px rgba(0,0,0,0.1); /* Schatten als visueller Hinweis */
        font-size: 0.85rem;
        padding: 12px 10px !important;
    }
	.feature-table th:not(:first-child), 
    .feature-table td:not(:first-child) {
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
        text-align: center;
		}

    /* 3. Die restlichen Zellen verkleinern */
    .feature-table th, 
    .feature-table td {
        min-width: 100px; /* Editionen brauchen weniger Platz */
        padding: 12px 5px !important;
        font-size: 0.85rem;
    }

    /* 4. Die Buttons im Footer (tfoot) anpassen */
    .table-action-card {
        min-width: 120px;
        padding: 10px 5px;
    }
    
   .table-action-card .btn {
        display: flex !important;        /* Wechsel auf Flexbox */
        align-items: center;             /* Zentriert vertikal */
        justify-content: center;         /* Zentriert horizontal */
        height: 50px !important;         /* Einheitliche Höhe */
        padding: 0 5px !important;       /* Seitlicher Abstand */
        line-height: 1 !important;       /* Verhindert Text-Verschiebung */
        text-align: center;
        font-size: 0.75rem !important;
    }

    /* 5. th-Titel für Mobile optimieren */
    .th-title {
        font-size: 0.9rem;
        white-space: normal; /* Umbruch erlauben */
    }
	.google-play-image-link {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px; /* Gleiche Höhe wie die grünen Buttons */
}

.google-play-image-link img {
    height: 42px !important; /* Fast volle Höhe, behält aber Proportion */
    width: auto !important;   /* Verhindert Verzerrung */
    max-width: 100% !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
}

/* --- TRIAL FORMULAR RESPONSIVE --- */
.trial-container {
    max-width: 1000px !important; /* Breiter für entspanntes Lesen */
    margin: 0 auto;
}

.trial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei Spalten auf Desktop */
    gap: 30px;
    margin-bottom: 25px;
}

.trial-field {
    display: flex;
    flex-direction: column;
}

.trial-input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: white;
}

/* Mobile Optimierung: Alles untereinander */
@media screen and (max-width: 768px) {
    .trial-grid {
        grid-template-columns: 1fr; /* Wechselt zu einer Spalte */
        gap: 20px;
    }
    
    .info-floating-frame {
        padding: 30px 20px !important;
    }
}
/* --- 9. TYPOGRAFIE-OPTIMIERUNG (Überschreibt Standardwerte) --- */
h1 { 
    font-size: clamp(2.2rem, 6vw, 3.8rem) !important; 
    line-height: 1.1 !important; 
    text-wrap: balance; /* Verhindert einsame Wörter in der Zeile */
    hyphens: auto; 
}

/* --- 10. DYNAMISCHE MOCKUP-CONTAINER --- */
.info-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.home-mockup-container {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 10px !important; 
    overflow: visible;
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-stack-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/10;
}

/* Scroll-In Animation (Zustand: Unsichtbar) */
.layer-phone {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Startpositionen */
.phone-left { transform: translateX(-40px) rotate(-8deg); }
.phone-right { transform: translateX(40px) rotate(8deg); }

/* Endpositionen (wenn Klasse .is-visible durch JS gesetzt wurde) */
.is-visible .phone-left { 
    opacity: 1; 
    transform: translateX(0) rotate(-3deg); 
}
.is-visible .phone-right { 
    opacity: 1; 
    transform: translateX(0) rotate(3deg); 
}

/* --- 11. ZUSÄTZLICHE RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .info-grid { 
        grid-template-columns: 1fr; 
    }
    .home-mockup-container { 
        margin-top: 30px; 
    }
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    }
}

/* --- FIX FÜR STORY SECTION (MOBILE) --- */
@media screen and (max-width: 991px) {
    /* 1. Container auf vertikalen Flex umstellen */
    .info-grid-home {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* 2. Bild visuell nach OBEN schieben (order -1) */
    .home-mockup-container {
        order: -1 !important; 
        width: 100% !important;
        margin-top: 0 !important;
    }

    /* 3. Text zentrieren für harmonischen Look */
    .info-text {
        text-align: center;
        padding: 0 10px;
    }
    
    .info-text h2 {
        text-align: center !important;
    }
}
/* --- FIX FÜR SPRACHUMSCHALTER (DEZENT AUF MOBILE) --- */
@media screen and (max-width: 968px) {
    
    /* 1. Container zentrieren und Platz begrenzen */
    .lang-wrapper {
        margin-top: 15px !important;
        margin-bottom: 25px !important;
        margin-left: 0 !important;
        text-align: center;
        width: 100%;
        transform: none !important; /* Verhindert das "Aufblasen" */
    }

    /* 2. Der Button selbst: Klein, transparent, elegant */
    .lang-switch {
        display: inline-block;
        width: auto !important;        /* WICHTIG: Nimmt nur so viel Platz wie nötig */
        min-width: 100px;              /* Mindestbreite damit man trifft */
        
        padding: 6px 15px !important;  /* Deutlich weniger Polster als die Hauptlinks */
        font-size: 0.9rem !important;  /* Kleinere Schrift */
        
        /* Design: Transparente "Pille" statt fetter Balken */
        background-color: rgba(255, 255, 255, 0.1) !important; 
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        
        border-radius: 50px !important; /* Rund und freundlich */
        height: auto !important;
        
        /* Text zentrieren */
        text-align: center;
        text-align-last: center;
        appearance: none; /* Versucht, das native Design zu unterdrücken (funktioniert teils) */
    }
    
    /* Kleiner Hover-Effekt (falls man drauftippt) */
    .lang-switch:active, 
    .lang-switch:focus {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-color: #fff !important;
        color: #fff !important;
        outline: none;
    }
}