/* ==========================================================================
   CSS Variablen & Globale Stile (ZERTEX Design-System)
   ========================================================================== */
:root {
    /* 1. Primärfarben */
    --color-primary-accent: #FF5A1F;
    --color-primary-dark: #0F1418;
    --color-primary-bg: #1A1F24;

    /* 2. Sekundärfarben */
    --color-secondary-grey: #2B3238;
    --color-secondary-blue-grey: #3B4752;
    --color-secondary-accent-blue: #4BBEFF;

    /* 3. Textfarben */
    --color-text-heading: #FFFFFF;
    --color-text-body: #E5E9EC;
    --color-text-muted: #9BA6B2;

    /* 4. Conversion-Stile */
    --color-link-hover: #FF784E;
    --color-button-text: #0F1418;
    --color-success: #22C55E;
    --color-error: #E11D48;

    /* 5. Struktur-Werte */
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html { 
    /* KORREKTUR: Muss 'auto' sein, damit GSAP ScrollToPlugin funktioniert */
    scroll-behavior: auto; 
    font-size: 16px; 
}

body { 
    font-family: var(--font-body); 
    line-height: 1.6; 
    margin: 0; 
    padding-top: 80px; 
    transition: background-color var(--transition-speed), color var(--transition-speed);
    color: var(--color-text-body);

    /* Hauptfarbe beibehalten */
    background-color: var(--color-primary-dark);

    /* Mehrschichtiger Glow-Hintergrund */
    background-image:
        radial-gradient(
            120% 120% at 20% 10%,       /* sanfter Lichtschein oben links */
            rgba(255, 90, 31, 0.12),
            transparent 70%
        ),
        radial-gradient(
            100% 100% at 80% 90%,       /* kühler Kontrast unten rechts */
            rgba(0, 180, 255, 0.08),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            var(--color-primary-dark) 0%,
            #12181d 100%
        );

    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* WICHTIG: Verhindert "Ruckeln" bei "overflow: hidden" */
    overflow-x: hidden;
}


.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: 0 auto; 
}

section { 
    padding: 100px 0; 
    background-color: transparent; /* Alle Sektionen sind standardmäßig transparent */
}

h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    font-weight: 700; 
    margin-top: 0; 
    color: var(--color-text-heading);
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
h3 { font-size: 1.5rem; }

p {
    color: var(--color-text-body);
}

.section-subtitle { 
    text-align: center; 
    color: var(--color-text-muted);
    font-size: 1.1rem; 
    max-width: 600px; 
    margin: -40px auto 50px auto; 
}

.section-tag {
    display: inline-block;
    color: var(--color-primary-accent);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cta-button { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-accent); 
    color: var(--color-button-text); 
    padding: 12px 24px; 
    border-radius: 9999px; /* Rund */
    text-decoration: none; 
    font-weight: 700;
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed); 
    font-family: var(--font-body); 
    border: none;
    cursor: pointer;
}
.cta-button:hover { 
    transform: translateY(-3px); 
    background-color: var(--color-link-hover);
    box-shadow: 0 0 20px #ff5a1f33;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(15, 20, 24, 0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--color-secondary-blue-grey);
    padding: 15px 0; 
    z-index: 1000; 
    height: 80px; 
    display: flex; 
    align-items: center; 
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 90%; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.logo img { max-height: 45px; }
.logo-light { display: none; } 
.logo-dark { display: block; } 

.main-nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    align-items: center; 
}
.main-nav ul li { 
    margin-left: 30px; 
}
.main-nav ul li a { 
    text-decoration: none; 
    font-weight: 600; 
    color: var(--color-text-heading); 
    position: relative; 
    padding-bottom: 5px; 
    transition: color var(--transition-speed); 
}
.main-nav ul li a:hover { 
    color: var(--color-primary-accent); 
}
.main-nav ul li a::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background-color: var(--color-primary-accent); 
    transition: width var(--transition-speed); 
}
.main-nav ul li a:hover::after, 
.main-nav ul li a.active::after { 
    width: 100%; 
}

/* =============================================
   Rich Dropdown Menü (3-Spalten Layout)
   ============================================= */

/* 1. Auslöser (Parent) */
.main-nav ul li.has-dropdown {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

/* Pfeil-Animation */
.main-nav ul li.has-dropdown > a i {
    transition: transform 0.3s ease;
}
.main-nav ul li.has-dropdown:hover > a i {
    transform: rotate(180deg);
    color: var(--color-primary-accent);
}

/* 2. Der Dropdown-Container */
.dropdown-menu.rich-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    
    /* Design: Dunkel & Modern */
    background-color: #0F1418; 
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    
    /* Größe für 3 Spalten */
    min-width: 900px; 
    padding: 30px;
    
    /* Verstecken/Zeigen Logik */
    display: none; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

/* Hover-Zustand: Anzeigen */
.main-nav ul li.has-dropdown:hover .dropdown-menu.rich-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Kleines Dreieck oben */
.dropdown-menu.rich-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #0F1418;
    border-left: 1px solid var(--color-secondary-blue-grey);
    border-top: 1px solid var(--color-secondary-blue-grey);
}

/* 3. Grid-Layout (3 Spalten) */
.dropdown-three-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr; /* 1. Spalte etwas breiter */
    gap: 0; 
}

/* Spalten-Definition */
.col-group {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
}

/* Vertikale Trennlinie */
.col-group.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.col-group:first-child { padding-left: 0; }
.col-group:last-child { padding-right: 0; }

/* Überschriften */
.dropdown-header-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: block;
    border-left: 3px solid var(--color-primary-accent);
    padding-left: 10px;
}

/* Listen-Container */
.dropdown-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

/* --- Item Styling (Allgemein) --- */
.dropdown-item {
    display: flex;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    color: var(--color-text-body);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item:hover .item-title {
    color: var(--color-primary-accent);
}

.dropdown-item:hover .item-icon {
    color: var(--color-primary-accent);
    transform: scale(1.1);
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.item-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* --- Variante 1: Kompakt (Linke Spalte) --- */
.dropdown-item.compact {
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 15px;
}

.dropdown-item.compact .item-icon {
    font-size: 1.2rem;
    width: 30px; 
}

/* --- Variante 2: Feature Card (Mitte & Rechts) --- */
.dropdown-item.feature-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%; /* Karte füllt den verfügbaren Platz */
}

.dropdown-item.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.dropdown-item.feature-card .item-icon.large {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-primary-accent); /* Immer farbig */
    background: rgba(255, 90, 31, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.dropdown-item.feature-card .item-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* --- Mobile Anpassung --- */
@media (max-width: 992px) {
    .dropdown-menu.rich-dropdown {
        position: static;
        transform: none;
        display: block; 
        opacity: 1;
        visibility: visible;
        min-width: auto;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .dropdown-menu.rich-dropdown::before { display: none; }

    .dropdown-three-cols {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 20px;
        border-left: 2px solid var(--color-secondary-blue-grey);
    }
    
    .col-group {
        padding: 0;
        border: none;
    }
    .col-group.border-right { border-right: none; }

    .dropdown-header-title {
        margin-bottom: 10px;
        border-left: none;
        padding-left: 0;
        color: #fff;
    }

    /* Auf Mobile Karten-Look entfernen für Platzersparnis */
    .dropdown-item.feature-card {
        background: transparent;
        border: none;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        height: auto;
    }
    
    .dropdown-item.feature-card .item-icon.large {
        width: auto;
        height: auto;
        background: transparent;
        font-size: 1.2rem;
        margin-bottom: 0;
        color: var(--color-text-muted);
    }

    .dropdown-item.feature-card:hover {
        transform: none;
        background: transparent;
    }
}

/* ==========================================================================
   FIX: Mobile Header Stabilisierung
   ========================================================================== */

/* 1. Container zwingen, in einer Zeile zu bleiben */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap !important; /* WICHTIG: Verhindert Umbruch */
    width: 100%;
    box-sizing: border-box; 
}

/* 2. Mobile Anpassungen (Tablets & Handys) */
@media (max-width: 992px) {
    
    .header-container {
        padding: 0 15px; /* Etwas weniger Rand an den Seiten für mehr Platz */
        height: 80px;    /* Feste Höhe definiert den Raum klar */
    }

    /* Das Logo darf nicht beliebig wachsen */
    .logo img.logo-dark {
        height: auto;
        max-height: 40px; /* Begrenzt die Höhe des Logos */
        max-width: 180px; /* Begrenzt die Breite (wichtig bei langen Logos) */
        object-fit: contain; /* Verhindert Verzerren */
    }

    /* Der Burger-Button darf nicht gequetscht werden */
    .mobile-menu-toggle {
        flex-shrink: 0; /* Verhindert, dass das Logo den Button kleiner drückt */
        margin-left: 15px; /* Sicherheitsabstand zum Logo */
        width: 44px;    /* Feste Klickfläche */
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 3. Für sehr kleine Handys (z.B. iPhone SE) */
@media (max-width: 380px) {
    .logo img.logo-dark {
        max-width: 140px; /* Logo noch kleiner machen, damit Platz bleibt */
        max-height: 35px;
    }
}

/* ==========================================================================
   FIX: Header-Stabilisierung (Verhindert Verrutschen beim Scrollen)
   ========================================================================== */
@media (max-width: 992px) {
    
    .header-container {
        /* Zwingt den Container auf volle Breite des Headers */
        width: 100% !important; 
        
        /* Deaktiviert die automatische Zentrierung (die das Rutschen verursacht) */
        margin: 0 !important; 
        max-width: none !important;
        
        /* Sorgt für festen Innenabstand links/rechts */
        padding: 0 20px !important; 
        
        /* Verhindert, dass Padding die Breite sprengt */
        box-sizing: border-box !important; 
        
        /* Fixiert die Höhe, damit der Inhalt nicht springt */
        height: 80px; 
        
        /* Flexbox-Sicherheit */
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap !important;
    }

    /* Sicherheitsmaßnahme: Verhindert, dass das Logo den Container sprengt */
    .logo img {
        max-width: 180px;
        height: auto;
        object-fit: contain;
    }
}

/* =============================================
   UPDATE: Header Button (Strategy Call)
   ============================================= */

/* 1. Unterstrich-Animation für den Button KOMPLETT DEAKTIVIEREN */
.main-nav ul li a.header-cta-button::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* 2. Button-Design (Identisch zum FAQ-Button) */
.header-cta-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* Farben & Form */
    background-color: var(--color-primary-accent); /* Das Zertex Orange */
    color: var(--color-button-text) !important;   /* Dunkle Schrift erzwingen */
    border-radius: 9999px;                        /* Runde Pillen-Form */
    
    /* Größe anpassen */
    padding: 12px 20px !important;                /* Breite & Höhe wie FAQ */
    margin-left: 10px;
    
    /* Typografie */
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-body);
    
    /* Animation */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    
    /* WICHTIG: Überschreibt das Padding von normalen Nav-Links */
    padding-bottom: 12px !important; 
}

/* 3. Hover-Effekt (Pop & Glow) */
.header-cta-button:hover {
    background-color: var(--color-link-hover);
    transform: translateY(-3px);                  /* Leichtes Anheben */
    box-shadow: 0 0 20px rgba(255, 90, 31, 0.4);  /* Der "Glow" Effekt */
    color: var(--color-button-text) !important;   /* Text bleibt dunkel */
}

.mobile-menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--color-text-heading); 
    font-size: 1.8rem; 
    cursor: pointer; 
}

#theme-toggle {
    display: none;
}

/* ==========================================================================
   Hero Sektion (Redesign: Modern Glass & Trust)
   ========================================================================== */

/* 1. Basis-Setup & Hintergrund */
#hero {
    position: relative;
    /* Ihr bestehendes Hintergrundbild mit dunklem Overlay */
    background-image: 
        linear-gradient(rgba(15, 20, 24, 0.7), rgba(15, 20, 24, 0.7)),
        url(../bilder/header-schweissen.png);
    
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    
    /* Volle Höhe abzüglich Header */
    min-height: calc(100vh - 80px); 
    padding: 60px 0; /* Puffer oben/unten */
    
    display: flex; 
    align-items: center; 
    overflow: hidden; /* Wichtig für den Glow-Effekt */
}

/* 2. Haupt-Grid (Layout) */
.hero-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Text, 50% Visuals */
    gap: 60px;
    align-items: center;
}

/* --- LINKE SEITE: Text & Trust-Elemente --- */

.hero-text-content {
    text-align: left;
    z-index: 2; /* Über dem Glow */
}

/* Tag über der Headline */
.hero-text-content .section-tag {
    display: inline-block;
    color: var(--color-primary-accent);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Hauptüberschrift */
.hero-text-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

/* Beschreibungstext */
.hero-text-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.6;
}

/* Button-Bereich */
.hero-buttons {
    margin-bottom: 40px;
}

/* Die neuen Trust-Bulletpoints (Haken-Liste) */
.hero-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-body);
    font-weight: 500;
    font-size: 1rem;
}

.hero-trust-list li i {
    color: var(--color-success); /* Grün */
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.4));
}


/* --- RECHTE SEITE: Glassmorphism Cards & Animation --- */

.hero-visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Grid für die 4 Karten */
.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Die einzelne Glas-Karte (angepasst für Links) */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(12px);          
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    padding: 25px 20px;
    
    display: flex;
    flex-direction: column;
    gap: 15px;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    
    /* Animation einbinden */
    animation: float 6s ease-in-out infinite;

    /* NEU HINZUGEFÜGT für Links: */
    text-decoration: none; /* Entfernt die Unterstreichung */
    cursor: pointer;       /* Zeigt die Klick-Hand */
    color: inherit;        /* Behält die Textfarbe bei */
}

/* Icon-Box in der Karte */
.hero-glass-card .icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 90, 31, 0.15); /* Zertex Orange transparent */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glass-card .icon-box i {
    font-size: 1.3rem;
    color: var(--color-primary-accent);
}

/* Text in der Karte */
.hero-glass-card h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.hero-glass-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0 0;
}

/* Hover-Effekt: Karte stoppt & leuchtet */
.hero-glass-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary-accent);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 90, 31, 0.2);
}

/* =========================================
   Kompakte Karten für SAP & QMB
   ========================================= */

.hero-glass-card.small-card {
    flex-direction: row;       /* Icon und Text nebeneinander */
    align-items: center;       /* Vertikal zentrieren */
    padding: 15px 20px;        /* Weniger Innenabstand */
    gap: 15px;                 /* Abstand zwischen Icon und Text */
    min-height: auto;          /* Keine Mindesthöhe erzwingen */
}

/* Kleineres Icon für die kompakten Karten */
.hero-glass-card .icon-box.small-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-bottom: 0;          /* Kein Abstand nach unten nötig */
    flex-shrink: 0;            /* Verhindert Quetschen des Icons */
    display: flex;             /* Zentrierung sicherstellen */
    align-items: center;
    justify-content: center;
}

/* Text-Anpassungen für die kompakte Ansicht */
.hero-glass-card.small-card .card-content {
    text-align: left;          /* Text linksbündig */
}

.hero-glass-card.small-card .card-content h3 {
    font-size: 1rem;           /* Überschrift etwas feiner */
    margin-bottom: 2px;
}

.hero-glass-card.small-card .card-content p {
    font-size: 0.85rem;        /* Untertext etwas kleiner */
    margin: 0;
}

/* Dekorativer Glow im Hintergrund */
.hero-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,90,31,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- ANIMATION DEFINITION --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Zeitversetzter Start für organischen Look */
.hero-cards-grid .hero-glass-card:nth-child(1) { animation-delay: 0s; }
.hero-cards-grid .hero-glass-card:nth-child(2) { animation-delay: 1.5s; }
.hero-cards-grid .hero-glass-card:nth-child(3) { animation-delay: 0.8s; }
.hero-cards-grid .hero-glass-card:nth-child(4) { animation-delay: 2.5s; }


/* ==========================================================================
   MOBILE ANPASSUNG (Responsive) - OPTIMIERT
   ========================================================================== */
@media (max-width: 992px) {
    
    /* 1. Hero Container: Platz schaffen */
    #hero {
        height: auto;
        min-height: auto;       /* Keine erzwungene Bildschirmhöhe */
        padding-top: 140px;     /* WICHTIG: Genug Abstand, damit Header nichts verdeckt */
        padding-bottom: 100px;  /* Platz unten für den "Back-to-top" Button */
        display: block;         /* Kein horizontales Layout mehr */
    }

    /* 2. Layout-Struktur: Untereinander stapeln */
    .hero-grid-modern {
        display: flex;
        flex-direction: column;
        gap: 40px;              /* Abstand zwischen Text und Karten */
    }

    /* 3. Text-Bereich: Zentriert und lesbar */
    .hero-text-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
    }

    .hero-text-content h1 {
        font-size: 2.2rem;      /* Etwas kleiner, damit es nicht umbricht wie wild */
        line-height: 1.2;
    }

    .hero-text-content p {
        margin: 20px auto;      /* Zentrieren */
        font-size: 1rem;
    }

    .hero-trust-list {
        align-items: center;    /* Listenelemente zentrieren */
        margin-top: 30px;
    }

    /* 4. Karten-Grid: Sauberer Stapel */
    .hero-cards-grid {
        display: flex;
        flex-direction: column; /* Alles untereinander */
        gap: 15px;              /* Gleichmäßiger Abstand */
        padding: 0 15px;        /* Randabstand zum Bildschirmrand */
    }
    
    /* Standard-Karten (groß) */
    .hero-glass-card {
        padding: 25px;
        width: 100%;            /* Volle Breite nutzen */
        box-sizing: border-box; /* Padding inklusive */
    }

    /* 5. SPEZIAL: Die neuen kleinen Karten (SAP & QMB) */
    /* Diese sollen auf dem Handy "flach" bleiben (Icon neben Text) */
    .hero-glass-card.small-card {
        flex-direction: row;        /* Nebeneinander erzwingen */
        align-items: center;        /* Vertikal mittig */
        text-align: left;           /* Text linksbündig (sieht besser aus bei Listen) */
        padding: 15px 20px;
        justify-content: flex-start;
    }

    /* Anpassung des Icons in den kleinen Karten */
    .hero-glass-card.small-card .icon-box {
        margin-bottom: 0;           /* Kein Abstand nach unten */
        margin-right: 15px;         /* Abstand zum Text rechts */
        width: 45px;                /* Feste Größe */
        height: 45px;
        flex-shrink: 0;             /* Icon darf nicht gequetscht werden */
    }
    
    .hero-glass-card.small-card .card-content h3 {
        font-size: 1.1rem;
        margin: 0;
    }
}


/* ==========================================================================
   "Über Uns" Sektion mit Zählern
   ========================================================================== */

.about-grid-new {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 60px;
    align-items: center;
}
.about-text-new h2 {
    text-align: left;
    margin-bottom: 20px;
}
.about-text-new p {
    color: var(--color-text-body);
    margin-bottom: 15px;
}
.about-stats-new {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.stat-item {
    text-align: center;
    border: 1px solid var(--color-secondary-blue-grey);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--color-primary-bg); /* Panel-Hintergrund */
}
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary-accent);
    line-height: 1.1;
}
.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Neue Leistungs-Sektion (wird zur "Karte")
   ========================================================================== */
#leistungen {
    /* Die Sektion selbst bleibt transparent */
    padding: 100px 0; 
}

/* Der Container wird zur "Karte" MIT dem "Flow-Hintergrund" */
#leistungen > .container {
    /* 1. Die "Karten"-Optik (Rand, Schatten, Abstand) */
    border: 1px solid transparent; 
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 80px 60px;

    /* 2. Der kopierte "Flow-Hintergrund" vom Body */
    background-color: var(--color-primary-dark);
    background-image:
        radial-gradient(
            120% 120% at 20% 10%,       
            rgba(255, 90, 31, 0.12),
            transparent 70%
        ),
        radial-gradient(
            100% 100% at 80% 90%,       
            rgba(0, 180, 255, 0.08),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            var(--color-primary-dark) 0%,
            #12181d 100%
        );
    background-repeat: no-repeat;
}

#leistungen h2 {
    text-align: left;
    margin-bottom: 50px;
}
.header-count {
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 10px;
}
.services-grid {
    display: flex;
    flex-direction: column;
}
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}

.service-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.service-number {
    display: inline-block;
    background-color: var(--color-primary-accent);
    color: var(--color-button-text);
    font-family: var(--font-heading);
    font-weight: 700;
    width: 32px; 
    height: 32px;
    line-height: 32px;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}
.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}
.service-content p {
    margin-bottom: 25px;
    max-width: 500px;
    color: var(--color-text-body);
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}
.service-tags span {
    background-color: var(--color-secondary-grey);
    color: var(--color-text-muted);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.service-link {
    color: var(--color-primary-accent);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: color var(--transition-speed);
}
.service-link:hover {
    color: var(--color-link-hover);
}
.service-link .arrow {
    transition: transform 0.3s ease;
}
.service-link:hover .arrow {
    transform: translateX(5px);
}
.service-image {
    background-color: var(--color-secondary-grey);
    border-radius: var(--border-radius);
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   Ablauf (Timeline) - KORRIGIERT FÜR GSAP
   ========================================================================== */

#ablauf {
    /* Die Sektion hat normales Padding (wird für den Start-Trigger benötigt) */
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Container für den Titel (innerhalb des Pin-Containers) */
#ablauf .process-pin-container .container {
    padding-bottom: 50px; /* Abstand zwischen Titel und Kacheln */
}

/* NEU: Das "Fenster", durch das die Kacheln scrollen */
.process-grid-wrapper {
    width: 100%;
    overflow: hidden; /* Versteckt die Kacheln, die draußen sind */
    
    height: 350px; /* Höhe des "Fensters" (an Karten angepasst) */
    display: flex;
    align-items: center;
}

#ablauf h2 {
    text-align: left;
}
#ablauf .section-tag {
    text-align: left;
}
#ablauf .section-subtitle {
    text-align: left;
    margin-left: 0;
    max-width: 100%; 
}

/* Das Grid, das horizontal bewegt wird */
.process-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: max-content; 
    
    /* Zentriert das Grid mit dem Container-Text */
    padding-left: max(5%, (100vw - 1100px) / 2);
    padding-right: max(5%, (100vw - 1100px) / 2);
    box-sizing: border-box; 
}


.process-card {
    position: relative; /* Für die Trennlinie */
    flex: 0 0 400px; 
    background-color: var(--color-primary-bg);
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 350px; 
    display: flex; 
    flex-direction: column;
    box-sizing: border-box; 
}

/* Trennlinie (aus vorherigem Schritt) */
.process-card::before {
    content: ""; 
    position: absolute;
    width: 1px; 
    background-color: var(--color-secondary-blue-grey); 
    left: -15px; /* Hälfte von 30px gap */
    top: 2.5rem; 
    bottom: 2.5rem;
}
.process-card:first-child::before {
    display: none;
}

.process-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.process-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.process-step-indicator {
    display: flex;
    gap: 5px;
}
.process-step-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-secondary-blue-grey);
}
.process-step-indicator .dot.active {
    background-color: var(--color-primary-accent);
}
.process-step-number {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
}
.process-icon {
    font-size: 2.5rem;
    color: var(--color-primary-accent);
    margin-bottom: 20px;
}
.process-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text-heading);
}
.process-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}


/* ==========================================================================
   Blog (Card-Design im Stil von KI-Dashboards)
   ========================================================================== */
#blog { 
    background-color: transparent;
    padding: 100px 0; 
}

.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
    gap: 30px; 
}

.blog-card { 
    background-color: var(--color-primary-bg); /* Dunkler Kartenhintergrund */
    border: 1px solid var(--color-secondary-blue-grey); /* Dezenter Rahmen */
    border-radius: var(--border-radius); 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    height: 100%; /* Gleiche Höhe für alle Karten */
}

.blog-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.4); 
    border-color: #FFFFFF; /* Leuchtet weiß beim Hover */
}

/* 1. Das Bild oben */
.blog-card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
}

/* 2. Der Inhalt */
.blog-card-body { 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

/* 3. Meta-Daten (Datum & Lesezeit) */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-meta i {
    color: var(--color-text-muted);
}

/* 4. Titel (Blau wie im Bild oder Orange je nach Wunsch) */
.blog-card-title { 
    font-size: 1.4rem; 
    line-height: 1.3;
    margin: 0 0 15px 0; 
    font-family: var(--font-heading);
    font-weight: 700;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

/* 5. Auszugstext */
.blog-card-excerpt {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Drückt den Footer nach unten */
}

/* 6. Tags (Pill Shape) */
.blog-card-tags {
    display: flex;        /* Aktiviert Flexbox */
    flex-wrap: wrap;      /* Erlaubt Umbruch in neue Zeile */
    gap: 10px;            /* 10px Abstand zwischen ALLEN Tags (oben/unten/rechts/links) */
    margin-bottom: 25px;
}

.blog-card-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05); /* Sehr dunkler Hintergrund */
    border: 1px solid var(--color-secondary-blue-grey);
    color: var(--color-text-muted); 
    padding: 6px 14px;
    border-radius: 50px; /* Pillenform */
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-tag {
    border-color: var(--color-text-muted);
    color: var(--color-text-body);
}

/* 7. Link (Read More) */
.blog-card-link { 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    color: #FF5A1F;
    font-size: 1rem;
    margin-top: auto; 
    transition: gap 0.3s ease, color 0.3s ease;
}

.blog-card-link:hover { 
    color: var(--color-primary-accent); /* Orange */
    gap: 12px; /* Pfeil bewegt sich */
}

.blog-card-link i { 
    transition: transform 0.3s ease; 
}

/* ==========================================================================
   FAQ Sektion (Akkordeon)
   ========================================================================== */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--color-secondary-blue-grey);
}
.faq-item {
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 25px 30px 25px 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-heading);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--color-primary-accent);
}
.faq-question::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--color-primary-accent);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    content: '–';
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 0 25px 0;
    color: var(--color-text-muted);
    margin: 0;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.4s ease-in;
}

/* ==========================================================================
   Kontaktformular (wird zur "Karte")
   ========================================================================== */
#kontakt { 
    background-color: var(--color-primary-bg); /* Hintergrund für die "Karte" */
    border-radius: var(--border-radius);
    padding: 80px 60px;
}
.contact-info {
    max-width: 800px;
    margin: -20px auto 40px auto;
    text-align: center;
}
.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact-info a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    color: var(--color-primary-accent);
}
.contact-info i {
    color: var(--color-primary-accent);
    width: 20px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.form-group {
    margin-bottom: 0;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.form-group label .required {
    color: var(--color-error);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-secondary-blue-grey);
    background-color: var(--color-primary-dark);
    color: var(--color-text-body);
    font-size: 1rem;
    font-family: var(--font-body);
    box-sizing: border-box; 
    transition: border-color 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-accent);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
}
.checkbox-group label {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-weight: normal;
}
.checkbox-group a {
    color: var(--color-primary-accent);
    text-decoration: none;
}
.checkbox-group a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}
.submit-container {
    text-align: center;
    margin-top: 20px;
}

/* ==========================================================================
   NEU: FOOTER
   ========================================================================== */

.main-footer {
    /* Dunkler Hintergrund oder transparent, je nach Wunsch */
    background-color: #0F1418; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    padding-bottom: 40px;
    margin-top: 100px; /* Abstand zum Inhalt darüber */
}

/* --- GRID LAYOUT OBEN --- */
.footer-top-grid {
    display: grid;
    /* Logo-Spalte + 3 gleich große Spalten */
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 40px;
    margin-bottom: 80px; /* Abstand zur unteren Leiste */
}

/* Logo Anpassung */
.footer-logo img {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
}

/* Überschriften (Farbig wie im Bild) */
.footer-heading {
    color: var(--color-primary-accent); /* Dein Zertex-Orange */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase; /* Optional: Großbuchstaben */
    letter-spacing: 0.5px;
}

/* Listen-Styling */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Abstand zwischen den Links */
}

.footer-nav-list li a {
    color: #e5e5e5; /* Helles Grau/Weiß */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-nav-list li a:hover {
    color: var(--color-primary-accent);
    padding-left: 5px; /* Kleiner Ruck nach rechts beim Hover */
}


/* --- UNTERE LEISTE (Bottom Bar) --- */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Wichtig für Handy */
    gap: 20px;
    padding-top: 30px;
    /* Nur oben eine Linie, wie im Bild? Oder gar keine Linie? */
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */ 
}

.footer-copyright {
    color: #fff;
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 30px;
}

.footer-legal-links a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px; /* Abstand Unterstrich */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--color-primary-accent);
}

/* Social Icons rechts */
.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #fff;
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--color-primary-accent);
    transform: translateY(-3px);
}


/* --- MOBILE ANPASSUNG --- */
@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: 1fr; /* Alles untereinander */
        gap: 50px;
        text-align: center; /* Auf Handy zentriert sieht oft besser aus */
    }

    .footer-heading {
        margin-bottom: 15px;
    }

    .footer-logo img {
        margin: 0 auto;
        display: block;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 20px;
    }
}

.copyright { 
    color: var(--color-text-muted); 
    font-size: 0.9rem; 
}

/* ==========================================================================
   Helfer-Klassen
   ========================================================================== */
.back-to-top { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: var(--color-primary-accent); 
    color: var(--color-button-text); 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    text-align: center; 
    line-height: 50px; 
    font-size: 1.5rem; 
    z-index: 999; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.5s, visibility 0.5s, box-shadow 0.3s; 
    border: none; 
    cursor: pointer; 
}
.back-to-top:hover {
    box-shadow: 0 0 20px #ff5a1f33;
}
.back-to-top.visible { 
    opacity: 1; 
    visibility: visible; 
}
.booking-cta-wrap { 
    display: flex; 
    justify-content: center; 
    margin-top: 60px; 
}
.no-border {
    border: none;
    box-shadow: none; 
    background: transparent; 
}

/* Animations-Setup */
.animate-once { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
}
.animate-once.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ==========================================================================
   NEU: Stile für Rechtstexte (Impressum, AGB, Datenschutz)
   ========================================================================== */
.legal-content .container {
    max-width: 800px; 
}

.legal-content h1, 
.legal-content h2 {
    text-align: left;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary-accent); 
}

.legal-content p, 
.legal-content li {
    color: var(--color-text-muted); 
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content strong {
    color: var(--color-text-heading); 
}

.legal-content a {
    color: var(--color-primary-accent);
}
.legal-content a:hover {
    color: var(--color-link-hover);
}

/* ==========================================================================
   NEU: Stile für Blog-Artikel (Light Mode / Editorial Design)
   Ref: Lorbeer Media Style
   ========================================================================== */

/* 1. Wrapper: Bricht aus dem globalen Dark-Mode aus (Full Width) */
.blog-post-wrapper {
    background-color: #F9FAFB; /* Sehr helles Grau/Weiß für den Hintergrund */
    color: #101828; /* Dunkles Grau für Text (besser lesbar als reines Schwarz) */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 100px 0; /* Großzügiger Abstand */
}

/* Container innerhalb des Wrappers zentrieren */
.blog-post-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. SPLIT HEADER GRID (Links Text, Rechts Bild) */
.blog-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Text, 50% Bild */
    gap: 80px; /* Viel Platz zwischen Text und Bild */
    align-items: center;
    margin-bottom: 100px; /* Abstand zum Fließtext */
}

/* --- Linke Seite (Text & Meta) --- */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* "Zurück"-Link */
.back-link {
    color: #475467;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.back-link:hover {
    color: var(--color-primary-accent); /* Dein Orange */
}

/* Kategorie Badge (Pill Shape - wie im Screenshot) */
.category-pill {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--color-primary-accent); /* Orange Outline */
    color: var(--color-primary-accent);
    padding: 6px 16px;
    border-radius: 100px; /* Pillenform */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

/* Blog Titel (Massiv & Dunkel) */
.blog-title {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Sehr groß für den Editorial Look */
    line-height: 1.1;
    font-weight: 700;
    color: #101828; 
    margin: 0 0 25px 0;
    letter-spacing: -1px;
}

/* Veröffentlichungsdatum */
.meta-date {
    color: #667085;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 30px;
}

/* --- Autoren Box (Avatar + Info) --- */
.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    /* Optional: Ein leichter Rand für Kontrast */
    border: 2px solid #fff; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #101828;
    font-family: var(--font-body);
}

.author-info p {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: #475467; /* Muted Grey */
    line-height: 1.4;
}

/* --- Rechte Seite (Header Bild) --- */
.header-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    /* Damit das Bild "schwebt" wie im Screenshot */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -4px rgba(16, 24, 40, 0.1); /* Editorial Shadow */
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wichtig, damit es gut skaliert */
    display: block;
    aspect-ratio: 1 / 1; /* Quadratisch oder 4:3 (aspect-ratio: 4/3) je nach Wunsch */
}

/* 3. CONTENT BEREICH (Zentriert & Lesbar - "Medium" Style) */
.content-container {
    max-width: 760px; /* Schmaler für bessere Lesbarkeit */
    margin: 0 auto;
    font-size: 1.125rem; /* ca. 18px */
    line-height: 1.8;
    color: #475467; /* Sanftes Dunkelgrau für Fließtext */
}

/* Typografie im Content */
.content-container h2 {
    color: #101828;
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 24px;
    font-weight: 700;
    text-align: left;
    letter-spacing: -0.5px;
}

.content-container h3 {
    color: #101828;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: left;
}

.content-container p {
    margin-bottom: 24px;
    color: #475467;
}

/* Listen */
.content-container ul, 
.content-container ol {
    margin-bottom: 32px;
    padding-left: 24px;
}
.content-container li {
    margin-bottom: 12px;
    color: #475467;
    padding-left: 8px;
}

/* Links im Text */
.content-container a {
    color: var(--color-primary-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}
.content-container a:hover {
    color: var(--color-link-hover);
}

/* Lead Text (Erster Absatz fett/größer) */
.content-container .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #101828;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* CTA Box im Text (angepasst an Dark Brand Identity) */
.cta-box {
    background-color: var(--color-primary-dark);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
    color: #fff;
    box-shadow: 0 20px 40px -4px rgba(16, 24, 40, 0.1);
}
.cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: #D0D5DD; }

/* Button in der CTA-Box: Dunkle Schrift, keine Unterstreichung */
.cta-box .cta-button {
    color: #0F1418 !important; /* Dunkle Schrift (wie im Header) */
    text-decoration: none !important; /* Entfernt die Unterstreichung */
    opacity: 1;
    display: inline-flex; /* Wichtig für korrektes Padding/Verhalten */
}

/* Hover-Effekt: Exakte Kopie des Header-Buttons */
.cta-box .cta-button:hover {
    background-color: var(--color-link-hover) !important; /* Wird heller Orange */
    transform: translateY(-2px); /* Schwebt leicht nach oben */
    box-shadow: 0 0 20px #ff5a1f33; /* Leichter Glow-Effekt */
    color: #0F1418 !important; /* Schrift bleibt dunkel */
}

/* 4. RESPONSIVE (Mobile) */
@media (max-width: 992px) {
    .blog-post-wrapper {
        width: 100%;
        left: 0;
        margin: 0;
        padding: 60px 0;
    }
    
    .blog-header-grid {
        grid-template-columns: 1fr; /* Untereinander */
        gap: 40px;
        margin-bottom: 60px;
    }
    
    /* Auf Mobile: Bild nach oben oder unten? 
       Lorbeer hat Text oben, Bild unten. Das ist Standard. 
       Wenn Bild oben sein soll: order: -1; */
    .header-image-wrapper {
        order: -1; /* Bild zuerst */
        margin-bottom: 10px;
    }

    .blog-title {
        font-size: 2.5rem; /* Kleiner auf Handy */
    }
    
    .content-container {
        font-size: 1rem;
        padding: 0;
    }
}



/* NEU: Vergleichstabelle (aus vorherigem Schritt) */
.comparison-table-wrapper {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    overflow-x: auto; 
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease;
}

.comparison-table {
    width: 100%;
    min-width: 700px; 
    border-collapse: collapse; 
    background-color: var(--color-primary-bg); 
    border-radius: var(--border-radius);
    overflow: hidden; 
    border: 1px solid var(--color-secondary-blue-grey);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}

.comparison-table thead th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-heading);
    background-color: rgba(0,0,0,0.1); 
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    background-color: rgba(255, 90, 31, 0.05); 
    border-left: 1px solid var(--color-secondary-blue-grey);
    border-right: 1px solid var(--color-secondary-blue-grey);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none; 
}

.comparison-table tbody td {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: var(--color-text-body);
}

.comparison-table .pro {
    color: var(--color-success); 
    font-weight: 700;
    margin-right: 8px;
}
.comparison-table .con {
    color: var(--color-error); 
    font-weight: 700;
    margin-right: 8px;
}


/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (prefers-reduced-motion: reduce) { 
    .animate-once { transition: none; } 
    .timeline-item { transition: none; }
}

@media (max-width: 992px) { 
    h1 { font-size: 2.8rem; } 
    h2 { font-size: 2.2rem; }
    .about-grid-new { grid-template-columns: 1fr; }
    .about-text-new h2 { text-align: center; }
    .about-stats-new { 
        flex-direction: row; 
        justify-content: space-around; 
        margin-top: 40px; 
    }
}

/* KORRIGIERTER BLOCK FÜR TABLET UND HANDY */
@media (max-width: 768px) { 
    .main-nav ul { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background-color: var(--color-primary-bg); 
        padding: 20px 0; 
        border-bottom: 1px solid var(--color-secondary-blue-grey);
    } 
    .main-nav ul.active { display: flex; } 
    .main-nav ul li { margin: 10px 0; text-align: center; } 
    .header-cta-button-container {
        margin-left: 0;
        margin-top: 15px;
    }
    .mobile-menu-toggle { display: block; } 
    
    /* Globale Zentrierung für Sektions-Titel, die linksbündig waren */
    .about-text-new h2,
    #leistungen h2,
    #ablauf h2,
    #ablauf .section-tag,
    #ablauf .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats-new { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    
    .service-item {
        grid-template-columns: 1fr;
    }
    .service-image {
        grid-row: 1;
    }

    .hero-grid-new {
        grid-template-columns: 1fr;
    }
    .hero-text-content h1 {
        font-size: 2.8rem;
    }
    .hero-image-content {
        grid-row: 1; /* Bild nach oben auf Mobile */
        margin-bottom: 30px;
    }
    .scroll-indicator {
        display: none; /* Auf Mobilgeräten ausblenden */
    }
    
    /* Hero-Karten auf Mobile */
    .norm-grid { 
        grid-template-columns: 1fr; 
        justify-items: center; /* Zentriert die Karten */
    }

    /* Blog-Artikel auf Mobile */
    .blog-post-header h1 { font-size: 2.2rem; }
    
    /* ==========================================================
       FIX FÜR HERO-ÜBERLAPPUNG
       ========================================================== */
    #hero {
        height: auto;     /* Entfernt die feste 100vh-Höhe */
        min-height: 0;    /* Setzt die Mindesthöhe zurück */
        padding: 60px 0;  /* Stellt normales Sektions-Padding wieder her */
        display: block;   /* Deaktiviert 'display: flex' */
    }

    .hero-text-content {
        text-align: center; /* Zentriert den Hero-Text */
    }
    
    .hero-grid-new {
        gap: 30px; 
    }

    /* ==========================================================
       FIX FÜR ABLAUF-SEKTION (GSAP)
       ========================================================== */
    /* Deaktiviert das horizontale Scroll-Fenster */
    .process-grid-wrapper {
        height: auto;
        overflow: visible;
        display: block;
    }
    /* Stapelt die Kacheln vertikal */
    .process-grid {
        display: grid;
        grid-template-columns: 1fr; /* Eine Spalte */
        width: 100%;
        padding-left: 0; /* Entfernt Desktop-Einzug */
        padding-right: 0;
        gap: 20px; /* Reduzierter Abstand */
    }
    .process-card {
        flex-basis: auto; /* Hebt feste Breite auf */
        height: auto; /* Automatische Höhe */
        min-height: 300px; /* Stellt sicher, dass sie nicht zu klein sind */
    }
    /* Versteckt die Trennlinien auf Mobilgeräten */
    .process-card::before {
        display: none;
    }


    /* ==========================================================
       FIX FÜR BLOG-TOC
       ========================================================== */
    .blog-layout-container {
        grid-template-columns: 1fr; /* 1 Spalte */
    }
    .blog-toc-sidebar {
        display: none; /* TOC ausblenden */
    }
    .comparison-table-wrapper {
         /* Zeigt den Rahmen auf Mobilgeräten, da die Tabelle scrollt */
        border-color: var(--color-secondary-blue-grey);
    }
    .comparison-table {
        border: none;
        border-radius: 0;
    }
    

    /* ==========================================================
       FIX FÜR FOOTER-ÜBERLAPPUNG
       ========================================================== */
    .main-footer {
        padding-bottom: 100px; /* Mehr Platz für Cookie-Icon etc. */
    }
}

@media (max-width: 480px) { 
    h1 { font-size: 2.2rem; } 
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; } 
    .cta-button { padding: 12px 24px; } 
    .comparison-box { padding: 1.5rem; } 
    .stat-number { font-size: 2.5rem; }
    .faq-question { font-size: 1.1rem; }
    .hero-grid-new h1 { font-size: 2.2rem; }

    /* Sektions-Karten auf Mobile */
    #leistungen, #blog, #kontakt {
        padding: 40px 20px; /* Weniger Innenabstand */
    }
    
    /* Blog-Artikel auf Mobile */
    .blog-post-wrapper { padding: 20px 0; }
    .blog-post { 
        padding: 20px;
    }
    #leistungen > .container {
        padding: 40px 20px; /* Weniger Innenabstand */
    }
}

/* =============================================
   Kompletter Paket-Abschnitt (Preis-Karten)
   ============================================= */

/* Container für die Sektion */
#pakete {
    padding-top: 140px; /* Puffer für den Header */
    padding-bottom: 80px;
}

/* Raster-Layout für die Karten */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch; 
}

/* Basis-Stil der Paket-Karten */
.package-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* =============================================
   Preis/Dauer-Details (Durchgehendes Balken-Design)
   ============================================= */
.package-details {
    display: flex;
    justify-content: center;
    gap: 30px; 
    background-color: #2a2a2e;

    /* --- KORREKTUREN --- */
    
    /* 1. "Durchgehend" (ignoriert Karten-Padding von 30px) */
    margin-left: -30px;
    margin-right: -30px;

    /* 2. "Nicht so stark" (dünner) & Inhalt wieder einrücken */
    padding: 15px 30px; /* 15px oben/unten, 30px links/rechts */
    
    /* 3. Abstand nach unten (zur Feature-Liste) */
    margin-bottom: 20px; 
    /* --- Ende Korrekturen --- */
}

.detail-item {
    text-align: center;
}

/* Titel (PREIS, DAUER) - dezent hell */
.detail-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important; 
    margin-bottom: 5px;
    text-transform: uppercase; 
}

/* Werte (ab 1.900 €) - kräftig hell */
.detail-item span {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff !important; 
}

/* Werte für die "featured" (orange) Karte */
.package-card.featured .detail-item span {
    color: var(--primary-color) !important; 
}

/* Hervorgehobenes "Professional"-Paket */
.package-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.03); 
    box-shadow: 0 10px 30px rgba(242, 97, 3, 0.2); 
}
.package-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

/* Kopfzeile der Karten */
.package-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 10px;
}

/* Icons (Schild etc.) - jetzt dezent grau */
.package-header i {
    font-size: 40px;
    color: #FF5A1F; /* Orange */
    margin-bottom: 15px;
}

/* Überschrift (Basic, Pro, Premium) */
.package-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000000; /* Schwarze Akzentfarbe */
    margin-bottom: 5px;
}

/* Untertitel (z.B. "Die essentielle Dokumentation") */
.package-header p {
    font-size: 16px;
    color: #000000;
    margin: 0;
}

/* Feature-Liste (Stichpunkte) */
.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Hält den Button unten */
}

/* Einzelner Stichpunkt (Standard-Textfarbe) */
.package-features li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000000; 
    margin-bottom: 15px;
}

/* NEU: Stichpunkte mit "Minus" werden verblasst dargestellt */
.package-features li:has(.fa-minus) { 
    color: #000000; 
    opacity: 0.5; 
}

/* Haken- & Minus-Icons in der Liste */
.package-features li i {
    font-size: 18px;
    margin-right: 12px;
}
.package-features li .fa-check {
    color: #28a745; /* Grün */
}
.package-features li .fa-minus {
    color: #dc3545; /* Rot */
}


/* Buttons am Ende der Karten */
.package-card .cta-button,
.package-card .cta-button-outline {
    width: 100%;
    text-align: center;
    margin-top: 25px; 
    padding: 14px 20px;
}

/* Outline-Button-Stil (für Basic & Premium) - ANGEPASST */
.cta-button-outline {
    display: inline-block;
    background-color: #2a2a2e;
    
    /* 1. KORREKTUR: Textfarbe an Rahmenfarbe anpassen (Orange) */
    border: 2px solid var(--primary-color);
    color: var(--primary-color); /* War vorher #000000 */

    /* 2. KORREKTUR: Radius an Haupt-Button anpassen (Pillenform) */
    border-radius: 50px; /* War vorher 8px */
    
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer; /* Zeigt eine Klick-Hand an */
}

/* NEU: Hover-Effekt, der den Button "füllt" */
.cta-button-outline:hover {
    background-color: #9BA6B2;
    opacity: 0.7;
   /*  color: #fff; /* Weißer Text auf orangem Grund */
}

/* =============================================
   Paket-Vergleichstabelle (Dunkel-in-Dunkel-Design)
   ============================================= */

/* 1. Sektion bekommt den "Flow-Hintergrund" */
#paket-vergleich {
    padding-top: 60px;
    padding-bottom: 80px;
    
    /* Der kopierte "Flow-Hintergrund" */
    background-color: var(--secondary-color); /* Ihre dunkle Hauptfarbe */
    background-image:
        radial-gradient(
            120% 120% at 20% 10%, 
            rgba(255, 90, 31, 0.12), /* Oranges Leuchten */
            transparent 70%
        ),
        radial-gradient(
            100% 100% at 80% 90%, 
            rgba(0, 180, 255, 0.08), /* Blaues Leuchten */
            transparent 70%
        ),
        linear-gradient(
            180deg,
            var(--secondary-color) 0%, 
            var(--secondary-color) 100% 
        );
    background-repeat: no-repeat;
    
    border-top: 1px solid #333; /* Dunkle Trennlinie */
}

/* 2. Sektion-Überschriften (müssen hell sein) */
#paket-vergleich .section-tag {
    color: #FF5A1F;
}
#paket-vergleich h2,
#paket-vergleich .section-subtitle {
    color: #fff; /* Weißer Text */
}

.comparison-table-wrapper {
    overflow-x: auto; 
    margin-top: 40px;
    -webkit-overflow-scrolling: touch;
}

/* 3. Die Tabelle selbst (dunkel, aber mit Kontrast) */
.comparison-table {
    width: 100%;
    min-width: 700px; 
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden; 
    
    /* Hintergrund: Einfarbig dunkel (passt zum Flow-BG) */
    background-color: #2a2a2e; /* Sehr dunkles Grau (wie bei Prozesskarten) */
    
    /* Subtile Trennung vom Sektions-Hintergrund */
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
}

/* 4. Text & Ränder INNEN anpassen (muss hell werden) */
.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #444; /* Dunkle Trennlinie */
    color: rgba(255, 255, 255, 0.85); /* Heller Text für Lesbarkeit */
}

/* Kopfzeile der Tabelle */
.comparison-table thead {
    background-color: rgba(0, 0, 0, 0.2); /* Etwas dunklerer Header */
    color: #fff;
}
.comparison-table thead th {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.comparison-table thead th:first-child {
    text-align: left;
}

/* Feature-Namen (erste Spalte) */
.comparison-table tbody td:first-child {
    font-weight: 600;
    color: #fff; /* Weißer Text für Features */
    font-size: 16px;
}

/* Zentrierte Spalten (Pakete) */
.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) {
    text-align: center;
}

/* Gruppen-Überschriften (z.B. "Analyse & Doku") */
.comparison-table tr.table-group-header td {
    background-color: rgba(0, 0, 0, 0.15); /* Dunklerer Trenner */
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 20px;
}

/* Haken & Minus-Zeichen */
.comparison-table .check {
    font-size: 20px;
    font-weight: bold;
    color: #28a745; /* Grün */
}
.comparison-table .minus {
    font-size: 20px;
    font-weight: bold;
    color: #dc3545; /* Rot */
}

/* Hervorgehobene "Professional"-Spalte */
.comparison-table .featured-col {
    background-color: var(--primary-color) !important;
}
.comparison-table tbody tr td:nth-child(3) { 
    /* Spalten-Hervorhebung (subtiler Overlay) */
    background-color: rgba(255, 255, 255, 0.05); 
}

/* Fußzeile mit den Buttons */
.comparison-table tfoot td {
    padding: 30px 20px;
    border-bottom: 0;
    background-color: rgba(0, 0, 0, 0.15); /* Passend zu Gruppen-Headern */
}

.comparison-table tfoot .cta-button,
.comparison-table tfoot .cta-button-outline {
    width: 100%;
    padding: 12px 10px; 
    font-size: 15px;
}

/* Outline-Button für dunklen Hintergrund anpassen */
.comparison-table tfoot .cta-button-outline {
    border-color: #fff;
    color: #fff;
}
.comparison-table tfoot .cta-button-outline:hover {
    background-color: #fff;
    color: var(--secondary-color);
}


/* ==========================================================================
   LANDING PAGE STYLES (EN 1090 & Co.)
   ========================================================================== */

/* ==========================================================================
   HERO SECTION (Nahtloser Hintergrund / Zentriert)
   ========================================================================== */

.landing-hero {
    position: relative;
    padding: 140px 0 100px 0; /* Etwas mehr Platz oben für die Optik */
    
    /* 1. Basis-Farbe: Exakt wie der Rest der Seite */
    background-color: vvar(--color-primary-bg);
    
    /* 2. Optional: Ein sehr dezenter "Atmosphere"-Glow (wie bei modernen Seiten)
       Falls Ihnen das zu viel ist, löschen Sie die Zeile mit 'background-image' einfach. */
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 90, 31, 0.08) 0%, transparent 50%);
    
    overflow: hidden;
    border: none; /* Keine Ränder, damit es nahtlos ist */
}

/* --- Layout & Text (Wie besprochen: Zentriert & Weiß/Orange) --- */

.landing-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.landing-hero-image {
    display: none !important;
}

.landing-hero-text {
    width: 100%;
    padding: 0;
}

/* H1: Weiß */
.landing-hero h1 {
    font-size: 3.8rem; /* Etwas größer für mehr Impact ohne Bild */
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
}

/* EN 1090: Orange */
.landing-hero .text-highlight {
    color: var(--color-primary-accent, #ff5a1f);
}

.landing-hero .hero-subheadline {
    font-size: 1.25rem;
    color: var(--color-text-muted, #ccc);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Liste (Clean, ohne Box) */
.hero-benefits-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 40px;
    padding: 0;
    background: transparent;
    border: none;
}

.hero-benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #eee;
    font-size: 1.1rem;
}

.hero-benefits-list .icon-circle {
    color: #22c55e; /* Grüne Haken für "Bestanden/Sicher" */
    background: transparent;
    min-width: 24px;
    margin-right: 15px;
    margin-top: 4px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .landing-hero {
        padding: 100px 0 60px 0;
    }
    .landing-hero h1 {
        font-size: 2.6rem;
    }
    .hero-benefits-list {
        padding-left: 10px; /* Leicht eingerückt auf Handy */
    }
}

/* --- PROBLEM SECTION (Pain Points) --- */
.text-center-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pain-card {
    background: rgba(225, 29, 72, 0.05); /* Sehr zartes Rot */
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    background: rgba(225, 29, 72, 0.08);
    border-color: var(--color-error);
}

.pain-icon {
    font-size: 2rem;
    color: var(--color-error);
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.pain-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.pain-summary {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
    background: var(--color-primary-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-error);
}

/* --- VALIDATION SECTION --- */
.validation-section {
    background-color: var(--color-primary-bg, #0b1215);
    padding: 100px 0;
    margin: 60px 0;
    position: relative;
    border-top: 1px solid var(--color-secondary-blue-grey);
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}

.validation-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
}

.validation-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.validation-list li {
    display: flex;
    gap: 20px;
    font-size: 1.05rem;
    align-items: flex-start;
}

.validation-list li i {
    color: var(--color-error); /* Rot für "Systemfehler" */
    margin-top: 5px;
    font-size: 1.2rem;
}

.validation-logic {
    background: rgba(255, 90, 31, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-primary-accent);
}

/* --- TRUST BANNER --- */
.trust-banner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--color-secondary-blue-grey);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-heading);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--color-primary-accent);
}

/* --- SOLUTION / OBJECTION HANDLING --- */
.objection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.objection-card {
    background: var(--color-primary-bg);
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 12px;
    padding: 30px;
}

.objection-card.highlight {
    border-color: var(--color-success);
    background: rgba(34, 197, 94, 0.05);
}

.objection-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.objection-header i {
    font-size: 1.5rem;
    color: var(--color-primary-accent);
}
.objection-card.highlight .objection-header i {
    color: var(--color-success);
}

.objection-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.objection-body p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.result-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, var(--color-primary-accent) 0%, #d63f0a 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 90, 31, 0.3);
}

.result-box h3 {
    color: #0F1418;
    margin-top: 0;
}
.result-box p {
    color: #0F1418;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* --- CLOSING CTA --- */
.closing-cta {
    padding: 100px 0;
    text-align: center;
    background-color: #2b32387a;
}
.closing-cta h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* Der "Glow"-Effekt im Hintergrund */
.closing-cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    /* Ein sehr weicher, dunkler Orangen-Schein */
    background: radial-gradient(circle, rgba(255, 90, 31, 0.08) 0%, transparent 70%);
    pointer-events: none; /* Klicks gehen durch */
    z-index: 0;
}

/* --- MOBILE STICKY CTA --- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1A1F24;
    padding: 15px;
    border-top: 1px solid var(--color-secondary-blue-grey);
    z-index: 10000;
    text-align: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.mobile-sticky-cta a {
    display: block;
    background-color: var(--color-primary-accent);
    color: var(--color-button-text);
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .landing-hero { padding-top: 100px; }
    .landing-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-benefits-list { align-items: flex-start; text-align: left; }
    .hero-cta-group { display: flex; flex-direction: column; align-items: center; }
    .image-container-styled { order: -1; margin-bottom: 40px; } /* Bild nach oben */
    
    .objection-grid { grid-template-columns: 1fr; }
    
    .mobile-sticky-cta { display: block; } /* Sticky CTA einblenden */
    body { padding-bottom: 70px; } /* Platz für Sticky CTA machen */
}

/* ==========================================================================
   INTERAKTIVE FEATURES (Tabs Layout)
   ========================================================================== */

#loesungen-interaktiv {
    padding-top: 80px;
    padding-bottom: 100px;
}

/* Container für das gesamte Widget */
.features-widget {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr; /* Links Liste (schmaler), Rechts Inhalt (breiter) */
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--color-primary-bg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    min-height: 500px; /* Mindesthöhe, damit das Layout stabil bleibt */
}

/* --- LINKE SEITE (Die Liste der Buttons) --- */
.features-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--color-secondary-blue-grey);
    background-color: rgba(255, 255, 255, 0.02);
}

.feature-tab {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-secondary-blue-grey);
    padding: 25px 30px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    outline: none; /* Entfernt den blauen Rahmen beim Klicken */
}

/* Der letzte Button braucht keinen Rand unten */
.feature-tab:last-child {
    border-bottom: none;
}

/* Hover-Effekt für inaktive Tabs */
.feature-tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 35px; /* Kleiner Slide-Effekt nach rechts */
}

/* --- AKTIVER STATUS (Wenn ausgewählt) --- */
.feature-tab.active {
    background-color: rgba(255, 90, 31, 0.08); /* Zertex Orange ganz zart */
    color: #fff; /* Text wird Weiß für besseren Kontrast */
    font-weight: normal; /* WICHTIG: Keine fette Schrift mehr, verhindert das Springen */
}

/* Der orange Balken links beim aktiven Tab */
.feature-tab.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-primary-accent);
}

/* Pfeil-Icon Animation */
.feature-tab i {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* Icon wird sichtbar und orange beim aktiven Tab */
.feature-tab.active i {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-primary-accent);
}

/* --- RECHTE SEITE (Der Inhalt) --- */
.features-content-area {
    padding: 50px;
    position: relative;
    /* Subtiler Glow oben rechts */
    background: radial-gradient(circle at top right, rgba(255,90,31,0.08), transparent 60%);
    display: flex;
    align-items: center; /* Vertikal zentrieren */
}

/* WICHTIG: Standardmäßig sind alle Inhalte versteckt */
.feature-content {
    display: none; 
    opacity: 0; /* Startzustand für Animation */
    transform: translateY(10px); /* Leicht nach unten versetzt */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Sanfte Transition statt Keyframe-Animation */
}

/* WICHTIG: Nur der aktive Inhalt wird angezeigt */
.feature-content.active {
    display: block;
    /* Kleiner Trick: setTimeout im JS wird nicht benötigt, wenn wir Animation anders lösen, 
       aber für reines CSS ist keyframe oft robuster gegen "Hängen". 
       Wir nutzen hier eine Animation, die performanter ist. */
    animation: slideFadeIn 0.3s forwards;
}

/* Neue, performantere Animation */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling der Inhalte */
.icon-big {
    font-size: 3.5rem;
    color: var(--color-primary-accent);
    margin-bottom: 25px;
    display: block;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Checkliste im Content */
.feature-check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.feature-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--color-text-body);
    font-weight: 500;
}

.feature-check-list i {
    color: var(--color-success); /* Grün */
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    padding: 4px;
    font-size: 0.8rem;
}

/* Button im Content */
.cta-button.small {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* --- MOBILE ANPASSUNG (Responsive) --- */
@media (max-width: 992px) {
    .features-widget {
        grid-template-columns: 1fr; /* Alles untereinander */
        min-height: auto;
    }

    .features-list {
        border-right: none;
        border-bottom: 1px solid var(--color-secondary-blue-grey);
    }

    /* Auf Mobile Tabs etwas kleiner */
    .feature-tab {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .features-content-area {
        padding: 30px 20px;
        min-height: auto;
    }

    .icon-big {
        font-size: 2.5rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   FAQ SPLIT LAYOUT (Nutzt bestehendes FAQ Design)
   ========================================================================== */

#loesung-faq {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Das Grid für die Aufteilung */
.faq-split-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Links (Fragen) breiter, Rechts (Text) schmaler */
    gap: 80px;
    align-items: start;
}

/* RECHTS: Text & Button */
.faq-header-side {
    order: 2; /* Auf Desktop nach rechts schieben */
}

.faq-header-side h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* LINKS: Die Fragen-Liste */
.faq-list-side {
    order: 1; /* Auf Desktop nach links */
}

/* Kleine Anpassung, damit der Sticky-Effekt funktioniert */
.sticky-content {
    position: sticky;
    top: 120px;
}

/* MOBILE ANPASSUNG */
@media (max-width: 992px) {
    .faq-split-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-header-side {
        order: 1; /* Auf Handy wieder nach oben */
        text-align: center;
    }
    
    .faq-header-side h2,
    .faq-header-side .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-list-side {
        order: 2;
    }

    .sticky-content {
        position: static;
    }
}


/* =========================================
   STEP CARDS DESIGN & ANIMATION
   ========================================= */

#step-cards-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.steps-grid-wrapper {
    display: grid;
    /* 3 Spalten nebeneinander */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    position: relative;
}

/* KARTEN DESIGN */
.step-card {
    background: rgba(255, 255, 255, 0.03); /* Sehr dunkles Grau/Transparent */
    border: 1px solid var(--color-secondary-blue-grey, #333);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    /* ANIMATION STARTZUSTAND */
    opacity: 0;
    transform: translateY(30px); /* Leicht nach unten verschoben */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ANIMATION ENDZUSTAND (wird per JS hinzugefügt) */
.step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effekt */
.step-card:hover {
    transform: translateY(-10px); /* Karte schwebt nach oben */
    border-color: var(--color-primary-accent, #ff5a1f);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Große Nummer im Hintergrund */
.step-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03); /* Fast unsichtbar */
    line-height: 1;
    font-family: var(--font-heading, sans-serif);
}

.step-card:hover .step-number {
    color: rgba(255, 90, 31, 0.1); /* Wird leicht Orange bei Hover */
}

/* Icon */
.step-icon {
    font-size: 2rem;
    color: var(--color-primary-accent, #ff5a1f);
    margin-bottom: 20px;
    background: rgba(255, 90, 31, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text */
.step-card h3 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.step-time {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    background: #1a1a1a;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.step-time.highlight {
    color: #22c55e; /* Grün */
    background: rgba(34, 197, 94, 0.1);
}

.step-card p {
    color: #aaa;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Die letzte Karte etwas hervorheben (optional) */
.highlight-card {
    border-color: rgba(34, 197, 94, 0.3); /* Leicht Grün */
}

/* --- MOBILE ANPASSUNG --- */
@media (max-width: 992px) {
    .steps-grid-wrapper {
        grid-template-columns: 1fr; /* Alles untereinander */
        gap: 20px;
    }
    
    .step-card {
        padding: 30px;
        align-items: center; /* Zentriert auf Handy */
        text-align: center;
        /* Auf Mobile Animation etwas schneller */
        transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .step-number {
        right: 20px;
        top: 20px;
        font-size: 3rem;
    }
}

/* ==========================================================================
   STYLES FÜR ÜBER UNS SEITE
   ========================================================================== */

/* --- Story Section (Split Layout) --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.story-content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.story-content p {
    margin-bottom: 20px;
    color: var(--color-text-body);
    font-size: 1.05rem;
}

/* ==========================================================================
   NEU: MISSION ALS HERO & WERTE (Split & 2x2)
   ========================================================================== */

.mission-values-section {
    /* WICHTIG: Mehr Padding oben (150px), da dies nun der Hero unter dem Header ist */
    padding: 220px 0 80px 0;
    background: transparent;
    position: relative;
}

/* --- TEIL A: MISSION (Split Layout) --- */
.mission-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Text, 50% Visual */
    gap: 80px;
    align-items: center;
    margin-bottom: 120px; /* Großer Abstand zu den Werten */
}

/* Linke Seite (Text) */
.mission-text-side {
    text-align: left;
}

/* H1 Styling für den Hero-Titel */
.mission-text-side h1 {
    font-size: 3.5rem; /* Groß für Hero-Impact */
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-align: left;
    font-weight: 700;
}

.mission-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Rechte Seite (Visual / Quote Box) */
.mission-visual-side {
    position: relative;
}

/* Die Box im Stil des Bildes (Rechts) */
.mission-quote-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-primary-accent);
    margin-bottom: 20px;
}

.mission-quote-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.mission-quote-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #e5e5e5;
    line-height: 1.5;
}

/* Dekorative Linie */
.graphic-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary-accent);
    margin-top: 30px;
    border-radius: 2px;
}


/* --- TEIL B: WERTE (2x2 Grid) --- */
.values-section-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.values-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.value-card-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.value-card-tile:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary-accent);
    background: rgba(255, 255, 255, 0.05);
}

.value-icon-large {
    width: 60px;
    height: 60px;
    background: rgba(255, 90, 31, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.value-card-tile h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.value-card-tile p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}


/* --- MOBILE ANPASSUNG --- */
@media (max-width: 992px) {
    .mission-values-section {
        padding: 130px 0 60px 0; /* Padding für Mobile Header angepasst */
    }

    .mission-split-layout {
        grid-template-columns: 1fr; /* Untereinander */
        gap: 50px;
        margin-bottom: 80px;
    }

    .mission-text-side {
        text-align: center;
    }
    
    .mission-text-side h1 {
        text-align: center;
        font-size: 2.4rem; /* Kleiner auf Handy */
    }

    .values-grid-2x2 {
        grid-template-columns: 1fr; /* 1 Spalte auf Handy */
        gap: 20px;
    }
}

/* --- Team Section --- */
.team-section {
    padding-bottom: 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--color-primary-bg);
    border: 1px solid var(--color-secondary-blue-grey);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

.team-img-placeholder {
    width: 200px;
    height: 200px;
    background-color: var(--color-secondary-blue-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 3px solid var(--color-primary-accent);
}

.team-img-placeholder i {
    font-size: 4rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FIX: Team-Fotos (Rund & Cover)
   ========================================================================== */

/* 1. Container als "Maske" nutzen */
.team-img-placeholder {
    /* Damit das Bild nicht über den runden Rand hinausragt */
    overflow: hidden; 
    /* Padding entfernen, falls vorhanden, damit das Bild den Kreis füllt */
    padding: 0;       
    /* Positionierung sicherstellen */
    position: relative;
}

/* 2. Das Bild selbst stylen */
.team-img-placeholder img.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* WICHTIG: Bild füllt den Kreis ohne Verzerrung */
    object-position: center; /* Fokus auf die Mitte des Bildes */
    display: block;
}

.team-content h3 {
    margin: 0 0 5px 0;
    color: #fff;
}

.team-role {
    display: block;
    color: var(--color-primary-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.team-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.team-qualifications {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block; /* Damit es zentriert aber linksbündig ist */
}

.team-qualifications li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.team-qualifications li i {
    color: var(--color-success);
}

/* ==========================================================================
   STYLE: Team Social Media (LinkedIn: Links & Hover-Blau)
   ========================================================================== */

.team-social {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Feiner Trennstrich */
    
    /* WICHTIG: Linksbündig für "Eck"-Position */
    text-align: left; 
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    
    /* STANDARD: Grau (Unauffällig) */
    color: var(--color-text-muted); 
    transition: color 0.3s ease, transform 0.3s ease;
}

.linkedin-link i {
    /* Icon ist standardmäßig auch grau (erbt vom Link) */
    color: inherit; 
    font-size: 1.3rem;
}

/* HOVER-EFFEKT: Jetzt wird alles Blau */
.linkedin-link:hover {
    color: #0077b5; /* LinkedIn-Blau nur beim Hovern */
    transform: translateX(5px); /* Kleine Bewegung nach rechts */
}

/* ==========================================================================
   FIX: Nahtloser "Durchgehender" Hintergrund (Über Uns)
   ========================================================================== */

/* 1. Mache die mittleren Sektionen transparent */
.mission-values-section,
.team-section,
.story-section { /* Falls du der Story eine Klasse gibst */
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding-top: 20px; /* Abstände beibehalten, aber ohne Trennung */
    padding-bottom: 60px;
}

/* 2. Den Hero-Übergang weicher machen (optional) */
.landing-hero {
    border-bottom: none !important;
    /* Damit der Glow vom Hero nicht hart abgeschnitten wird */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* 3. Der CTA am Ende bleibt als einziger getrennt (wie gewünscht) */
.closing-cta {
    background-color: #1A1F24; /* Dunkler abgesetzt */
    border-top: 1px solid var(--color-secondary-blue-grey);
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   FIX: Lücke entfernen (Brute Force)
   ========================================================================== */

/* 1. Die Sektion mit dem Button (oben) */
.closing-cta {
    /* Weniger Platz unter dem Button */
    padding-bottom: 100px !important; 
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* 2. Der Footer (unten) */
.main-footer {
    /* Zieht den Footer direkt an die Sektion davor */
    margin-top: 0px !important; 
    
    /* WICHTIG: Innenabstand verringern! */
    /* Hier stand vorher 80px -> Jetzt 30px, damit der Text hochrutscht */
    padding-top: 30px !important; 
    
    /* Falls eine Border stört, weg damit oder dünn lassen */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important; 
}

/* 4. Korrektur für die Mission-Box (damit sie auf dem durchgehenden Hintergrund gut aussieht) */
.mission-quote-box {
    /* Ein leichter Hintergrund ist hier nötig für Lesbarkeit, aber dezenter */
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(10px); /* Glas-Effekt statt fester Farbe */
    border-left: 4px solid var(--color-primary-accent);
}

/* 5. Korrektur für die Werte-Karten (Glas-Effekt verstärken) */
.value-card-horizontal {
    background: rgba(255, 255, 255, 0.02); /* Sehr transparent */
    backdrop-filter: blur(5px);
}

/* Mobile Anpassungen für Über uns */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-image {
        order: -1; /* Bild zuerst */
        margin-bottom: 30px;
    }
    .mission-text {
        font-size: 1.2rem;
    }
}