/* Table of Contents:
   1. Variables & Global Styles
   2. Layout
   3. Header & Navigation
   4. Hero Section
   5. Services Section
   6. About Section
   7. Footer
   8. Utilities
   9. Animations
   10. Components
   11. Media Queries
*/

/* 1. Variables & Global Styles */
:root {
    --primary-color: #bccf01;
    --primary-dark: #a3b401;
    --primary-light: #d7e750;
    --primary-color-rgb: 188, 207, 1; /* RGB-Werte für rgba() */
    --secondary-color: #4a4a4a;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-light: #f9f9f9;
    --bg-dark: #212529;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius: 15px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --accent-color: #4d5700;        /* Dunkleres Olivgrün als Akzent */
    --accent-light: #697800;        /* Mittleres Olivgrün */
    --accent-lighter: #8a9c00;      /* Helleres Olivgrün */
    --info-color: #697800;          /* Anstelle von Blau für Info */
    --link-color: #4d5700;          /* Anstelle von Blau für Links */
    --link-hover: #343c00;          /* Dunklere Variante für Hover */
    /* Einheitliche Variablen für alle Stile */
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --navbar-bg: rgba(255,255,255,0.98);
    --navbar-scrolled-bg: rgba(255,255,255,0.98);
    --input-bg: #ffffff;
    --input-text: #333333;
    --shadow-color: rgba(0,0,0,0.1);
    /* Verbesserte Hintergrundfarben mit subtilen Farbverläufen */
    --hero-bottom-color: rgba(10, 10, 20, 0.95);
    --services-top-color: #f8f9fa;
    --services-bottom-color: #f0f2f5;
    --partner-services-top-color: #f5f7fa;
    --partner-services-bottom-color: #edf0f5;
    --about-top-color: #f8f9f8; /* Geändert zu #f8f9f8 */
    --about-bottom-color: #f2f4f2; /* Angepasst für einen subtilen Farbverlauf */
    --stats-top-color: #f0f2f5;
    --stats-bottom-color: #e8ebf0;
    
    /* Dark Mode Farben mit besseren Kontrasten */
    --dark-hero-bottom-color: rgba(5, 5, 15, 0.95);
    --dark-services-top-color: #1c1c1e;
    --dark-services-bottom-color: #1a1a1c;
    --dark-partner-services-top-color: #222224;
    --dark-partner-services-bottom-color: #202022;
    --dark-about-top-color: #1d1d1f;
    --dark-about-bottom-color: #1b1b1d;
    --dark-stats-top-color: #242426;
    --dark-stats-bottom-color: #202022;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --border-color: #2d3748;
    --navbar-bg: rgba(18,18,18,0.95);
    --navbar-scrolled-bg: rgba(18,18,18,0.98);
    --input-bg: #2d3748;
    --input-text: #f0f0f0;
    --shadow-color: rgba(0,0,0,0.5);
    --services-bg-color: #1a1a1a;
    --partners-bg-color: #222222;
    --about-bg-color: #1a1a1a;
    --stats-bg-color: #222222;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Spezifische Dark Mode Anpassungen */
[data-theme="dark"] .service-card,
[data-theme="dark"] .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-control {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

[data-theme="dark"] .services-section {
    background-color: var(--bg-color);
}

/* Grundlegende Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Verbesserte Lesbarkeit für Lead Text mit Primary Farbe */
.lead.text-primary.mb-4 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 
                 0 0 3px rgba(255, 255, 255, 0.4);
    font-weight: 500; /* Etwas kräftiger für bessere Lesbarkeit */
}

/* Dark Mode Anpassung für den Lead Text */
[data-theme="dark"] .lead.text-primary.mb-4 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
                 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Zusätzliche Verbesserung für Situationen mit Hintergrund-Bildern */
.bg-image .lead.text-primary.mb-4,
.hero-section .lead.text-primary.mb-4 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4),
                 0 0 10px rgba(0, 0, 0, 0.2),
                 0 0 5px rgba(255, 255, 255, 0.1);
}

/* 2. Layout */
.content-wrapper {
    min-height: 100vh;
    padding-top: 76px;
}

.section-header {
    margin-bottom: 3rem;
}

/* 3. Header & Navigation */
/* Header-Styles in header.html */

/* 4. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    color: #ffffff; /* Helle Textfarbe für bessere Lesbarkeit auf dunklem Video */
    position: relative;
    background-color: rgba(0, 0, 0, 0.65);
}

/* Video-Container Styling */
.hero-section .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    display: none; /* Wird über JS eingeblendet, wenn Video nicht geladen werden kann */
}

.hero-section h1 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Verstärkter Textschatten */
    font-weight: 700;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* Verstärkter Textschatten */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500; /* Etwas kräftiger für bessere Lesbarkeit */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Etwas dunkler für besseren Kontrast */
    z-index: 1;
}

.light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title .highlight-text {
    display: inline-block;
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6); /* Stärkerer Schatten für besseren Kontrast */
    letter-spacing: -0.02em; /* Leicht negativer Buchstabenabstand für modernen Look */
}

/* Korrigierte Styles für "Service & Consulting" Text */
.hero-title .subtitle {
    display: block;
    font-size: 2.8rem;
    margin-top: -0.3rem; /* Von -0.7rem auf -0.3rem geändert - weniger überlappend */
    margin-bottom: 0.5rem; /* Zusätzlicher Abstand nach unten */
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    padding-bottom: 5px; /* Zusätzlicher Platz am unteren Rand */
    line-height: 1.2; /* Verbesserter Zeilenabstand */
}

.hero-headline-wrapper {
    position: relative;
    margin-bottom: 1.5rem; /* Zusätzlicher Abstand nach unten */
    padding-bottom: 1rem; /* Zusätzliches Padding unten */
}

.hero-title .subtitle {
    display: block;
    font-size: 2.8rem;
    margin-top: -0.7rem; /* Etwas stärker angenähert */
    font-weight: 600; /* Kräftiger für bessere Lesbarkeit */
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5); /* Verstärkter Schatten */
}

@media (max-width: 768px) {
    .hero-title .highlight-text {
        font-size: 3.8rem; /* Etwas größer als vorher */
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* Angepasster Schatten für mobile Geräte */
    }
    
    .hero-title .subtitle {
        font-size: 2rem;
        margin-top: -0.2rem; /* Weniger überlappend auf mobilen Geräten */
        margin-bottom: 0.4rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        padding: 0 10px; /* Leichtes Padding für bessere Lesbarkeit auf mobilen Geräten */
    }
    
    .headline-accent {
        bottom: -15px; /* Etwas höher auf mobilen Geräten */
    }
}

.headline-accent {
    position: absolute;
    bottom: -20px; /* Von -10px auf -20px geändert - weiter nach unten */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative; /* Für den "Glow"-Effekt */
}

.text-gradient::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(3px);
    z-index: -1;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-badge i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Scroll Indikator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;  /* Abstand vom unteren Rand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: auto;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.scroll-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-3px);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: white;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Dark Mode-Kompatibilität hinzufügen */
[data-theme="dark"] .scroll-link {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .mouse {
    border-color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .wheel {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Partikel Animation */
.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(3px);
    animation: float-up var(--float-duration, 15s) linear infinite;
    
    /* Besser sichtbar im Light-Mode durch erhöhten Kontrast */
    box-shadow: 0 0 8px 2px rgba(77, 87, 0, 0.2);
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    filter: blur(2px);
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 75%;
    top: 60%;
    animation-delay: 5s;
    filter: blur(3px);
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 40%;
    top: 80%;
    animation-delay: 10s;
    filter: blur(1px);
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 85%;
    top: 25%;
    animation-delay: 7s;
    filter: blur(2px);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(15px); }
    50% { transform: translateY(10px) translateX(-10px); }
    75% { transform: translateY(-5px) translateX(5px); }
}

/* Light-Mode spezifische Anpassungen */
:root:not([data-theme="dark"]) .particle {
    background-color: rgba(77, 87, 0, 0.5); /* Dunklere Farbe für Light-Mode */
    opacity: 0.25; /* Höhere Deckkraft */
}

/* 5. Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--services-top-color);
    padding-top: 5rem;
    margin-top: -2px; /* Entfernt kleine Lücken */
}

.service-card {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 5px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 1.5rem;
}

/* Einheitlicher Service Card Header für alle Service Cards */
.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
}

/* Entfernung der service-icon-wrapper spezifischen Styles */
.service-icon-wrapper {
    display: none;
}

.card-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.card-footer {
    padding: 0;
    background: transparent;
    border-top: none;
    margin-top: auto;
}

/* Carousel Controls */
.carousel-indicators {
    position: static;
    margin-top: 2rem;
    margin-bottom: 0;
    justify-content: center;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.5;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    opacity: 1;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0.7;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100);
}

/* Feature-Listen in Service Cards */
.feature-list {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Feature-Listen exakt wie in social-media.html */
.feature-list {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    background-color: rgba(var(--primary-color-rgb), 0.15);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.check-icon i {
    font-size: 12px;
    color: var(--primary-color);
}

.feature-list li span:last-child {
    margin-top: 2px;
}

/* Dark Mode Anpassung */
[data-theme="dark"] .check-icon {
    background-color: rgba(var(--primary-color-rgb), 0.25);
}

/* Vereinheitlichte Feature-Listen für alle Seiten */
.feature-list {
    padding-left: 0;
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* Special fix for Business Consulting service card icon */
.card-business-consulting .service-card-header,
.business-consulting .service-card-header {
    align-items: flex-start;
}

.card-business-consulting .service-icon,
.business-consulting .service-icon {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-business-consulting .service-icon i,
.business-consulting .service-icon i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
}

.card-business-consulting .card-title,
.business-consulting .card-title {
    padding-top: 7px;
    margin-top: 0;
}

/* Specific fix for Business Consulting card icon alignment */
.service-card.business-consulting .service-icon i,
.service-card[data-service="business-consulting"] .service-icon i,
#business-consulting-card .service-icon i,
.business-consulting .service-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    text-align: center;
    line-height: 1;
    font-size: 24px;
    width: auto;
    height: auto;
}

/* Fix for specific misalignment with certain icon fonts */
.service-card.business-consulting .service-icon,
.service-card[data-service="business-consulting"] .service-icon,
#business-consulting-card .service-icon,
.business-consulting .service-icon {
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    margin-right: 1.25rem;
}

/* Ensure the card title aligns properly */
.service-card.business-consulting .card-title,
.service-card[data-service="business-consulting"] .card-title,
#business-consulting-card .card-title,
.business-consulting .card-title {
    padding-top: 0;
    margin-top: 0;
    line-height: 1.3;
}

/* Ensure header is properly displayed */
.service-card.business-consulting .service-card-header,
.service-card[data-service="business-consulting"] .service-card-header,
#business-consulting-card .service-card-header,
.business-consulting .service-card-header {
    display: flex;
    align-items: center;
}

/* Special fix for Business Consulting service card icon structure */
.service-card .service-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card .service-icon i {
    font-size: 24px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ensure consistent card body padding */
.service-card .card-body {
    padding: 1.5rem;
}

/* Ensure proper icon positioning and background for the hover effect */
.service-card .icon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Spezifische Korrektur für die Business Consulting Card */
.service-card .service-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 0;
}

/* Korrektur für die Position des Icons */
.service-icon-wrapper .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Korrekte Positionierung für den Text */
.service-icon-wrapper + .card-body h3.card-title {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Spezifische Anpassungen für den Briefcase-Icon */
.service-icon-wrapper .fa-briefcase {
    font-size: 24px !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Fix für die Business Consulting Card mit der speziellen service-icon-wrapper Struktur */
.service-card .service-icon-wrapper {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    align-items: center;
}

.service-card .service-icon-wrapper + .card-body {
    padding-top: 0;
}

.service-card .service-icon-wrapper + .card-body h3.card-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Die ursprüngliche service-icon Position korrigieren */
.service-icon-wrapper .service-icon {
    margin-right: 1.25rem;
    margin-bottom: 1.5rem;
}

/* 6. About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f8f9f8; /* Geändert zu #f8f9f8 für Light Mode */
    position: relative;
    padding: 7rem 0;
    z-index: 1;
    background-color: var(--about-bg-color);
}

.about-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(188, 207, 1, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(188, 207, 1, 0.03) 0%, transparent 60%);
    z-index: -1;
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 2rem;
    overflow: visible;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.lazy-image {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image[src*="placeholder"] + .image-placeholder {
    opacity: 1;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border: 4px solid var(--primary-color);
    text-align: center;
}

.badge-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.badge-content .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 2px;
}

.badge-content .badge-text {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 600;
}

.badge-content .years {
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-size: 0.9rem;
    margin-top: 2px;
}

.badge-content .exp {
    color: #666;
    line-height: 1;
    font-size: 0.8rem;
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .experience-badge {
    background-color: var(--primary-color);
    border-color: var(--dark-bg);
}

[data-theme="dark"] .badge-content .number {
    color: #000;
}

[data-theme="dark"] .badge-content .years {
    color: #000;
    font-weight: 700;
}

[data-theme="dark"] .badge-content .exp {
    color: #333;
}

.about-features {
    margin-bottom: 2rem;
}

.feature-row {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.feature-row i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

/* Korrektur für den Experience Badge */
.about-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border: 4px solid var(--primary-color);
}

.badge-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge-content .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0;
}

.badge-content .badge-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-content .years {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.badge-content .exp {
    color: var(--text-light);
    line-height: 1;
}

.badge-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.badge-ring circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-dasharray: 283;
    stroke-dashoffset: 70;
    transform: rotate(-90deg);
    transform-origin: center;
    opacity: 0.3;
}

/* Responsive Anpassungen für den Experience Badge */
@media (max-width: 767px) {
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: 20px;
    }
    
    .badge-content .number {
        font-size: 2rem;
    }
    
    .badge-content .badge-text {
        font-size: 0.8rem;
    }
}

/* 7. Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 2rem;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Überarbeiteter Statistik-Bereich mit modernerer Farbgestaltung */
.statistics-row {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #4d5700 0%, #697800 100%);
    color: white;
    padding: 3.5rem 1rem;
    text-align: center;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(188, 207, 1, 0.05) 0%, rgba(77, 87, 0, 0.90) 100%);
    position: relative;
    z-index: 1;
    padding: 5rem 0;
    background-color: var(--stats-bg-color);
}

.statistics-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* Subtiles Muster im Hintergrund */
.statistics-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-item {
    position: relative;
    padding: 0 1rem;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: translateY(-5px);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-label {
    opacity: 1;
}

/* Dark Mode Anpassung */
[data-theme="dark"] .statistics-row {
    background: linear-gradient(135deg, #343c00 0%, #4d5700 100%);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
    background: linear-gradient(180deg, rgba(188, 207, 1, 0.03) 0%, rgba(47, 57, 0, 0.90) 100%);
}

[data-theme="dark"] .stat-number {
    color: #d7e750; /* Hellere Primärfarbe im Dark Mode */
}

/* 8. Utilities */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pulse-btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.pulse-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    pointer-events: none;
}

.pulse-btn:hover::after {
    transform: scale(2);
    opacity: 0;
    transition: 0s;
}

/* 9. Animations */
.animate__delay-05s {
    animation-delay: 0.5s;
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-15s {
    animation-delay: 1.5s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

.animate__delay-3s {
    animation-delay: 3s;
}

/* Typing-Effekt Styling */
.typed-text {
    color: var(--primary-color);
    font-weight: 700; /* Fetter für bessere Sichtbarkeit */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* Schatten für besseren Kontrast */
    position: relative;
    padding: 0 2px; /* Leichtes Padding für bessere Lesbarkeit */
}

.typed-cursor {
    color: var(--primary-color);
    font-weight: 400;
    animation: typed-cursor-blink 0.7s infinite;
}

@keyframes typed-cursor-blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Typed.js Styling */
.typed-text {
    color: var(--primary-color);
    font-weight: 600;
}

.typed-cursor {
    color: var(--primary-color);
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
    -webkit-animation: typedjsBlink 0.7s infinite;
    animation: typedjsBlink 0.7s infinite;
}

@keyframes typedjsBlink {
    50% { opacity: 0.0; }
}

@-webkit-keyframes typedjsBlink {
    0% { opacity: 1; }
    50% { opacity: 0.0; }
    100% { opacity: 1; }
}

.typed-fade-out {
    opacity: 0;
    transition: opacity .25s;
    -webkit-animation: 0;
    animation: 0;
}

/* 10. Components */
/* Social Media Icons - KORRIGIERTE VERSION */
.social-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon i {
    position: relative;
    z-index: 2;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Korrigierte Social-Hover-Circle Definition */
.social-hover-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Korrigierter Selektor mit Punkt */
.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon:hover .social-hover-circle {
    opacity: 1;
    transform: scale(1);
}

/* Brand-spezifische Farben */
.linkedin:hover .social-hover-circle {
    background-color: #0077b5;
}

.twitter:hover .social-hover-circle {
    background-color: #1da1f2;
}

.instagram:hover .social-hover-circle {
    background-color: #e1306c;
}

.facebook:hover .social-hover-circle {
    background-color: #1877f2;
}

.xing:hover .social-hover-circle {
    background-color: #126567;

}

.youtube:hover .social-hover-circle {
    background-color: #ff0000;
}

/* Highlight Text in Primärfarbe */
.highlight-text {
    color: var(--primary-color);
}

/* Sicherstellen, dass es im Dark Mode auch funktioniert */
[data-theme="dark"] .highlight-text {
    color: var(--primary-color);
}

/* Scroll-to-Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Dark Mode Anpassung für den Button */
[data-theme="dark"] #scrollToTopBtn {
    background-color: var(--primary-color);
    color: #111;
}

/* Verbesserte Timeline-Items - besser abgehoben und visuell attraktiver */
.timeline-section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-light) 0%, #fff 100%);
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color), var(--primary-dark));
    margin-left: -2px;
    top: 0;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    overflow: hidden;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2), 0 5px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content {
    float: right;
}

.timeline-item:nth-child(even) .timeline-content {
    float: left;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 12px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Verbesserte Hover-Effekte */
.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(var(--primary-color-rgb), 0.15), 0 8px 16px rgba(0,0,0,0.2);
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .timeline-section {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, #121212 100%);
}

[data-theme="dark"] .timeline-content {
    background-color: var(--card-bg, #1e1e1e);
    color: var(--text-color, #f0f0f0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .timeline-dot {
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.3), 0 5px 12px rgba(0,0,0,0.4);
}

[data-theme="dark"] .timeline-item:nth-child(odd) .timeline-content::before {
    border-color: transparent var(--card-bg, #1e1e1e) transparent transparent;
}

[data-theme="dark"] .timeline-item:nth-child(even) .timeline-content::before {
    border-color: transparent transparent transparent var(--card-bg, #1e1e1e);
}

/* Responsive Anpassungen für die Timeline */
@media (max-width: 767px) {
    .timeline::before {
        left: 30px;
        margin-left: 0;
    }
    
    .timeline-dot {
        left: 30px;
        margin-left: 0;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        float: right;
        margin-left: 80px;
        padding: 1.5rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        float: right;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
    
    [data-theme="dark"] .timeline-item:nth-child(odd) .timeline-content::before,
    [data-theme="dark"] .timeline-item:nth-child(even) .timeline-content::before {
        border-color: transparent var(--card-bg, #1e1e1e) transparent transparent;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
}

/* Animation für Timeline-Elemente */
@keyframes timeline-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

.timeline-dot {
    animation: timeline-pulse 2s infinite;
}

/* Verhindert Animation auf Geräten, die reduced-motion bevorzugen */
@media (prefers-reduced-motion: reduce) {
    .timeline-dot {
        animation: none;
    }
}

/* 11. Media Queries */
/* Korrigiert mit Leerzeichen nach @media */
@media (max-width: 991.98px) {
    .content-wrapper {
        padding-top: 66px;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        margin-top: 2rem;
    }
    
    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-group .btn {
        width: 100%;
        max-width: 320px;
        margin-left: 0 !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .experience-badge {
        bottom: -20px;
        right: 10px;
        width: 120px;
        height: 120px;
    }
    
    .badge-content {
        width: 100px;
        height: 100px;
    }
    
    .badge-ring {
        width: 120px;
        height: 120px;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
    
    .experience-badge .years {
        font-size: 1rem;
    }
    
    .experience-badge .exp {
        font-size: 0.8rem;
    }
    
    .statistics-row {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .stat-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .about-cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .about-cta .btn {
        width: 100%;
    }
}

/* Theme Switch Styling */
.theme-switch {
    position: relative;
    margin-right: 5px;
}

.theme-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 50px;
    height: 26px;
    background-color: #e9ecef;
    border-radius: 100px;
    position: relative;
    padding: 5px;
    transition: background-color 0.2s;
    margin-bottom: 0;
}

.theme-switch-label .fa-sun {
    color: #f39c12;
    font-size: 14px;
}

.theme-switch-label .fa-moon {
    color: #4a5568;
    font-size: 14px;
}

.switch-ball {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: transform 0.2s linear, background-color 0.2s;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    top: 3px;
    left: 3px;
    z-index: 1;
}

.theme-switch-input:checked + .theme-switch-label {
    background-color: #2d3748;
}

.theme-switch-input:checked + .theme-switch-label .switch-ball {
    transform: translateX(24px);
    background-color: var(--primary-color);
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .hero-section .lead {
    color: #ffffff; /* Weißer Text im Dark Mode */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); /* Verstärkter Schatten im Dark Mode */
}

[data-theme="dark"] #heroVideo {
    filter: brightness(0.7); /* Dunkler im Dark Mode für besseren Kontrast */
}

/* Korrektur für Footer-Spacing */
#footer-placeholder {
    position: relative;
    z-index: 10; /* Höherer z-index als die Hintergrund-Elemente */
}

/* Sicherstellen, dass die schwebenden Elemente nicht in den Footer ragen */
.floating-element {
    position: absolute;
    width: 400px;
    height: 400px;
    max-height: 100vh; /* Begrenzt die Höhe auf die sichtbare Viewport-Höhe */
    background: linear-gradient(135deg, rgba(188, 207, 1, 0.02) 0%, rgba(188, 207, 1, 0.05) 100%);
    border-radius: 40% 60% 60% 40% / 40% 30% 70% 60%;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
    animation: float-slow 15s ease-in-out infinite;
    overflow: hidden; /* Verhindert Überläufe */
}

/* Kreativer Übergang zwischen Service und About Bereich */
.creative-divider {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(to bottom, #fafafa 0%, rgba(188, 207, 1, 0.03) 100%);
    z-index: 2;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: bottom;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23bccf01' opacity='0.05' d='M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5C438.64 32.43 512.34 53.67 583 72.05c69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: 0 bottom;
    background-size: 50% 100px;
    animation: wave-animation 20s linear infinite;
}

.wave.wave1 {
    z-index: 3;
    opacity: 0.3;
    animation-duration: 20s;
    bottom: 0;
}

.wave.wave2 {
    z-index: 2;
    opacity: 0.2;
    animation-duration: 15s;
    animation-direction: reverse;
    bottom: 10px;
    background-size: 60% 120px;
}

.wave.wave3 {
    z-index: 1;
    opacity: 0.1;
    animation-duration: 25s;
    bottom: 20px;
    background-size: 70% 140px;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: float-up 15s linear infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes float-up {
    0% {
        background-position: 0px 100%;
        opacity: 0.1;
    }
    50% {
        opacity: 0.15;
    }
    100% {
        background-position: 0px 0%;
        opacity: 0.1;
    }
}

.divider-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.divider-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.divider-icon:hover {
    transform: scale(1.1) rotate(10deg);
}

.divider-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(188, 207, 1, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.divider-icon:hover::before {
    transform: scale(2);
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .creative-divider {
    background: linear-gradient(to bottom, #151515 0%, rgba(188, 207, 1, 0.02) 100%);
}

[data-theme="dark"] .divider-icon {
    background-color: var(--card-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .creative-divider {
        height: 150px;
    }
    
    .wave {
        background-size: 60% 80px;
    }
    
    .wave.wave2 {
        background-size: 70% 90px;
    }
    
    .wave.wave3 {
        background-size: 80% 100px;
    }
}

@media (max-width: 576px) {
    .creative-divider {
        height: 120px;
    }
}

/* Bereichsübergänge - Hauptstile */
.section-transition {
    position: relative;
    height: 150px; /* Konsistente Höhe für alle Übergänge */
    overflow: hidden;
    z-index: 5;
    margin-top: -1px; /* Vermeidet Lücken zwischen den Sektionen */
    margin-bottom: -1px;
}

/* Übergangs-Wellen und Elemente */
.transition-wave {
    position: absolute;
    width: 100%;
    overflow: visible; /* Wichtig für die korrekte Darstellung der Wellen */
    line-height: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 100px; /* Erhöhte Höhe für bessere Wellendarstellung */
}

.transition-wave svg {
    position: relative;
    display: block;
    width: 150%; /* Deutlich breiter für volle Abdeckung */
    height: 100%;
    left: -25%; /* Zentrierte Positionierung */
    transform-origin: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05));
}

/* Verbesserte Übergangs-Wellen für nahtlose Darstellung */
.transition-wave {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 80px;
}

.transition-wave svg {
    position: relative;
    display: block;
    width: 120%; /* Von 100% auf 120% erhöht */
    height: 100%;
    left: -10%; /* Nach links verschoben um die Überlappung zu zentrieren */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05));
}

/* Optimiertes viewBox-Attribut für SVG in Hero zu Services Übergang */
.hero-to-services .transition-wave svg {
    width: 140%; /* Noch breiter für den ersten Übergang */
    left: -20%; /* Stärker nach links verschoben */
}

/* Optimiertes viewBox-Attribut für SVG in Services zu Partners Übergang */
.services-to-partners .transition-wave svg {
    width: 130%;
    left: -15%;
}

/* Optimiertes viewBox-Attribut für SVG in Partners zu About Übergang */
.partners-to-about .transition-wave svg {
    width: 130%;
    left: -15%;
}

/* Optimiertes viewBox-Attribut für SVG in About zu Stats Übergang */
.about-to-stats .transition-wave svg {
    width: 130%;
    left: -15%;
}

/* Verbesserte Animation für die Wellen */
@keyframes wave-animation {
    0% {
        transform: translateX(-2%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-2%);
    }
}

/* Animation auf die Wellen anwenden */
.transition-wave svg {
    animation: wave-animation 20s ease-in-out infinite;
}

/* Unterschiedliche Animation-Geschwindigkeiten für mehr Dynamik */
.hero-to-services .transition-wave svg {
    animation-duration: 25s;
}

.services-to-partners .transition-wave svg {
    animation-duration: 22s;
    animation-delay: -5s;
}

.partners-to-about .transition-wave svg {
    animation-duration: 28s;
    animation-delay: -8s;
}

.about-to-stats .transition-wave svg {
    animation-duration: 24s;
    animation-delay: -12s;
}

/* Verbesserte Farbübergänge */
/* Hero zu Services */
.hero-to-services {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, var(--services-top-color) 100%);
    height: 150px;
    position: relative;
    z-index: 5;
}

.hero-to-services .transition-wave {
    height: 100px;
    bottom: -2px; /* Leicht überlappend für nahtlosen Übergang */
    z-index: 10;
}

.hero-to-services .transition-wave svg {
    position: relative;
    display: block;
    width: 180%; /* Deutlich breiter für vollständige Abdeckung */
    height: 100%;
    left: -40%; /* Stärker nach links verschoben um seitliche Abschneidung zu vermeiden */
    transform-origin: center;
}

.hero-to-services .transition-wave svg path {
    fill: var(--services-top-color); /* Konsistente Farbvariable */
}

.hero-to-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(188, 207, 1, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 8s ease-in-out infinite alternate;
}

/* Services zu Fremdleistungen */
.services-to-partners {
    background: linear-gradient(to bottom, var(--services-bottom-color) 0%, var(--partner-services-top-color) 100%);
    height: 150px;
    position: relative;
    z-index: 5;
}

.services-to-partners .transition-wave {
    height: 100px;
    bottom: -2px; /* Leicht überlappend für nahtlosen Übergang */
    z-index: 10;
}

.services-to-partners .transition-wave svg {
    position: relative;
    display: block;
    width: 180%; /* Breiter für vollständige Abdeckung */
    height: 100%;
    left: -40%; /* Nach links verschoben um seitliche Abschneidung zu vermeiden */
    transform-origin: center;
}

.services-to-partners .transition-wave svg path {
    fill: var(--partner-services-top-color); /* Exakte Farbe des Zielbereichs */
}

/* Sicherstellen, dass die Services-Sektionen die richtigen Farben haben */
.services-section:nth-of-type(1) {
    background-color: var(--services-top-color);
    padding-bottom: 1rem; /* Mehr Platz zum Übergang */
}

.services-section:nth-of-type(2) {
    background-color: var(--partner-services-top-color);
    padding-top: 1rem; /* Mehr Platz zum Übergang */
    margin-top: -1px; /* Entfernt kleine Lücken */
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .services-to-partners {
    background: linear-gradient(to bottom, var(--dark-services-bottom-color) 0%, var(--dark-partner-services-top-color) 100%);
}

[data-theme="dark"] .services-to-partners .transition-wave svg path {
    fill: var(--dark-partner-services-top-color);
}

[data-theme="dark"] .services-section:nth-of-type(1) {
    background-color: var(--dark-services-top-color);
}

[data-theme="dark"] .services-section:nth-of-type(2) {
    background-color: var(--dark-partner-services-top-color);
}

/* Animation für mehr Dynamik */
.services-to-partners .transition-wave svg {
    animation: wave-movement 28s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes wave-movement {
    0% {
        transform: translateX(-4%) scale(1.01);
    }
    50% {
        transform: translateX(-1%) scale(1);
    }
    100% {
        transform: translateX(-4%) scale(1.01);
    }
}

/* Fremdleistungen zu About */
.partners-to-about {
    background: linear-gradient(to bottom, var(--partner-services-bottom-color) 0%, #f8f9f8 100%);
    height: 100px;
    margin-top: -1px;
}

.partners-to-about .transition-wave svg path {
    fill: #f8f9f8;
}

/* About zu Statistik */
.about-to-stats {
    background: linear-gradient(to bottom, var(--about-bottom-color) 0%, var(--stats-top-color) 100%);
    height: 120px;
    margin-top: -1px;
}

.about-to-stats .transition-wave svg path {
    fill: var(--stats-top-color);
    fill: rgba(188, 207, 1, 0.05);
}

.about-to-stats .transition-line {
    height: 1px;
    opacity: 0.3; /* Subtilere Linie */
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(188, 207, 1, 0.15) 20%, 
        rgba(188, 207, 1, 0.25) 50%, 
        rgba(188, 207, 1, 0.15) 80%, 
        transparent 100%);
    top: 50%;
    opacity: 0.4;
}

/* Effektvolle schwebende Partikel */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(3px);
    animation: float-up var(--float-duration, 15s) linear infinite;
}

.particle:nth-child(1) {
    width: 12px;
    height: 12px;
    left: 10%;
    --float-duration: 20s;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 30%;
    --float-duration: 15s;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 50%;
    --float-duration: 25s;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 70%;
    --float-duration: 18s;
    animation-delay: -7s;
}

.particle:nth-child(5) {
    width: 6px;
    height: 6px;
    left: 90%;
    --float-duration: 22s;
    animation-delay: -12s;
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .hero-to-services {
    background: linear-gradient(to bottom, var(--dark-hero-bottom-color) 0%, var(--dark-services-top-color) 100%);
}

[data-theme="dark"] .hero-to-services::before {
    background: radial-gradient(circle at 30% 30%, rgba(188, 207, 1, 0.07) 0%, transparent 70%);
}

[data-theme="dark"] .services-to-partners {
    background: linear-gradient(to bottom, var(--dark-services-bottom-color) 0%, var(--dark-partner-services-top-color) 100%);
}

[data-theme="dark"] .partners-to-about {
    background: linear-gradient(to bottom, var(--dark-partner-services-bottom-color) 0%, var(--dark-about-top-color) 100%);
}

[data-theme="dark"] .about-to-stats {
    background: linear-gradient(to bottom, var(--dark-about-bottom-color) 0%, var(--dark-stats-top-color) 100%);
}

[data-theme="dark"] .services-section:nth-of-type(1) {
    background: linear-gradient(180deg, #151515 0%, #171717 100%);
}

[data-theme="dark"] .services-section:nth-of-type(2) {
    background: linear-gradient(180deg, #181818 0%, #1a1a1a 100%);
}

[data-theme="dark"] .about-section {
    background: linear-gradient(180deg, #171717 0%, #191919 100%);
}

[data-theme="dark"] .statistics-row {
    background: linear-gradient(180deg, rgba(188, 207, 1, 0.03) 0%, rgba(47, 57, 0, 0.90) 100%);
}

[data-theme="dark"] .hero-to-services {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, #151515 100%);
}

[data-theme="dark"] .services-to-partners {
    background: linear-gradient(to bottom, #171717 0%, #181818 100%);
}

[data-theme="dark"] .partners-to-about {
    background: linear-gradient(to bottom, #1a1a1a 0%, #171717 100%);
}

[data-theme="dark"] .about-to-stats {
    background: linear-gradient(to bottom, #191919 0%, rgba(188, 207, 1, 0.03) 100%);
}

/* Modernere Animation für Wellen */
@keyframes wave-animation {
    0% {
        transform: translateX(-15%) scale(1.05);
    }
    50% {
        transform: translateX(-5%) scale(1);
    }
    100% {
        transform: translateX(0%) scale(1.02);
    }
}

@keyframes float-up {
    0% {
        transform: translateY(120%) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-20%) translateX(20px);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Interaktiver Scroll-Indikator für besseres UX */
.scroll-indicator-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 40px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid rgba(255, 255, 255, 0.7);
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: scroll-down 2s infinite;
    opacity: 0;
}

.scroll-arrow:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .section-transition {
        height: 100px;
    }
    
    .transition-wave {
        height: 70px;
    }
    
    .hero-to-services {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .section-transition {
        height: 80px;
    }
    
    .transition-wave {
        height: 50px;
    }
    
    .hero-to-services {
        height: 100px;
    }
}

/* Bereichsübergänge - Hauptstile */
.section-transition {
    position: relative;
    height: 120px;
    overflow: hidden;
    z-index: 5;
    margin-top: -1px; /* Vermeidet Lücken zwischen den Sektionen */
    margin-bottom: -1px;
}

/* Übergangs-Wellen und Elemente */
.transition-wave {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 80px; /* Angepasste Höhe für die Welle */
}

.transition-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100%;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.05)); /* Subtiler Schatten für mehr Tiefe */
}

/* Übergangsfarben für verschiedene Bereiche */

/* Hero zu Services */
.hero-to-services {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, var(--services-top-color) 100%);
    height: 150px;
    position: relative;
    z-index: 5;
}

.hero-to-services .transition-wave {
    height: 100px;
    bottom: -2px; /* Leicht überlappend für nahtlosen Übergang */
    z-index: 10;
}

.hero-to-services .transition-wave svg {
    position: relative;
    display: block;
    width: 180%; /* Deutlich breiter für vollständige Abdeckung */
    height: 100%;
    left: -40%; /* Stärker nach links verschoben um seitliche Abschneidung zu vermeiden */
    transform-origin: center;
}

.hero-to-services .transition-wave svg path {
    fill: var(--services-top-color); /* Konsistente Farbvariable */
}

.hero-to-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(188, 207, 1, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 8s ease-in-out infinite alternate;
}

/* Services zu Fremdleistungen - verbesserte Farbabstimmung */
.services-to-partners {
    background: linear-gradient(to bottom, var(--services-bottom-color) 0%, var(--partner-services-top-color) 100%);
    height: 150px;
    position: relative;
    z-index: 5;
}

.services-to-partners .transition-wave {
    height: 100px;
    bottom: -2px; /* Leicht überlappend für nahtlosen Übergang */
    z-index: 10;
}

.services-to-partners .transition-wave svg {
    position: relative;
    display: block;
    width: 180%; /* Breiter für vollständige Abdeckung */
    height: 100%;
    left: -40%; /* Nach links verschoben um seitliche Abschneidung zu vermeiden */
    transform-origin: center;
}

.services-to-partners .transition-wave svg path {
    fill: var(--partner-services-top-color); /* Exakte Farbe des Zielbereichs */
}

/* Sicherstellen, dass die Services-Sektionen die richtigen Farben haben */
.services-section:nth-of-type(1) {
    background-color: var(--services-top-color);
    padding-bottom: 1rem; /* Mehr Platz zum Übergang */
}

.services-section:nth-of-type(2) {
    background-color: var(--partner-services-top-color);
    padding-top: 1rem; /* Mehr Platz zum Übergang */
    margin-top: -1px; /* Entfernt kleine Lücken */
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .services-to-partners {
    background: linear-gradient(to bottom, var(--dark-services-bottom-color) 0%, var(--dark-partner-services-top-color) 100%);
}

[data-theme="dark"] .services-to-partners .transition-wave svg path {
    fill: var(--dark-partner-services-top-color);
}

[data-theme="dark"] .services-section:nth-of-type(1) {
    background-color: var(--dark-services-top-color);
}

[data-theme="dark"] .services-section:nth-of-type(2) {
    background-color: var(--dark-partner-services-top-color);
}

/* Animation für mehr Dynamik */
.services-to-partners .transition-wave svg {
    animation: wave-movement 28s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes wave-movement {
    0% {
        transform: translateX(-4%) scale(1.01);
    }
    50% {
        transform: translateX(-1%) scale(1);
    }
    100% {
        transform: translateX(-4%) scale(1.01);
    }
}

/* Fremdleistungen zu About */
.partners-to-about {
    background: linear-gradient(to bottom, var(--partner-services-bottom-color) 0%, #f8f9f8 100%);
    height: 100px;
    margin-top: -1px;
}

.partners-to-about .transition-wave svg path {
    fill: #f8f9f8;
}

/* About zu Statistik */
.about-to-stats {
    background: linear-gradient(to bottom, var(--about-bottom-color) 0%, var(--stats-top-color) 100%);
    height: 120px;
    margin-top: -1px;
}

.about-to-stats .transition-wave svg path {
    fill: var(--stats-top-color);
    fill: rgba(188, 207, 1, 0.05);
}

.about-to-stats .transition-line {
    height: 1px;
    opacity: 0.3; /* Subtilere Linie */
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(188, 207, 1, 0.15) 20%, 
        rgba(188, 207, 1, 0.25) 50%, 
        rgba(188, 207, 1, 0.15) 80%, 
        transparent 100%);
    top: 50%;
    opacity: 0.4;
}

/* Dekorative Punkte für Übergänge */
.transition-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(188, 207, 1, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 0;
}

/* Schwebende Formen für visuelle Tiefe */
.floating-shape {
    position: absolute;
    background: rgba(77, 87, 0, 0.25); /* Dunklere Farbe im Light-Mode */
    border-radius: 50%;
    animation: float-random 15s infinite linear;
    opacity: 0.7; /* Erhöhte Deckkraft */
    box-shadow: 0 0 15px rgba(77, 87, 0, 0.3); /* Zusätzlicher Schatten für bessere Sichtbarkeit */
}

.floating-shape:nth-child(1) {
    width: 30px;
    height: 30px;
    left: 10%;
    top: 20%;
    animation-duration: 25s;
    animation-delay: -2s;
}

.floating-shape:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 30%;
    top: 60%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 40px;
    height: 40px;
    left: 70%;
    top: 30%;
    animation-duration: 20s;
    animation-delay: -10s;
}

.floating-shape:nth-child(4) {
    width: 15px;
    height: 15px;
    left: 85%;
    top: 70%;
    animation-duration: 22s;
    animation-delay: -7s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-20px, 15px) rotate(90deg);
    }
    50% {
        transform: translate(10px, -25px) rotate(180deg);
    }
    75% {
        transform: translate(15px, 10px) rotate(270deg);
    }
}

/* Dark Mode spezifische Anpassungen */
[data-theme="dark"] .floating-shape {
    background: rgba(188, 207, 1, 0.15);
    opacity: 0.5;
    box-shadow: 0 0 12px rgba(188, 207, 1, 0.12);
}

/* Hervorheben der Übergangseffekte im Light-Mode */
:root:not([data-theme="dark"]) .section-transition {
    position: relative;
}

:root:not([data-theme="dark"]) .section-transition::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(188, 207, 1, 0.03) 0%, rgba(77, 87, 0, 0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .hero-to-services {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, var(--dark-services-top-color) 100%);
}

[data-theme="dark"] .hero-to-services .transition-wave svg path {
    fill: var(--dark-services-top-color);
}

[data-theme="dark"] .services-section {
    background-color: var(--dark-services-top-color);
}

[data-theme="dark"] .services-to-partners {
    background: linear-gradient(to bottom, #161616 0%, #181818 100%);
}

[data-theme="dark"] .partners-to-about {
    background: linear-gradient(to bottom, #181818 0%, #171717 100%);
}

[data-theme="dark"] .about-to-stats {
    background: linear-gradient(to bottom, #171717 0%, rgba(188, 207, 1, 0.03) 100%);
}

[data-theme="dark"] .transition-wave svg path {
    fill: rgba(30, 30, 30, 0.8);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .section-transition {
        height: 80px;
    }
    
    .transition-wave {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .section-transition {
        height: 60px;
    }
}

/* Alle Übergangsregeln entfernt - Stattdessen direkte Anschlüsse zwischen Sektionen */

/* Basis-Stile für Sektionen ohne Übergangselemente */
.services-section {
    background-color: var(--services-top-color);
    padding: 5rem 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.services-section:nth-of-type(2) {
    background-color: var(--partner-services-top-color);
    padding: 5rem 0;
}

.about-section {
    background-color: var(--about-top-color);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.statistics-row {
    background-color: var(--stats-top-color);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

/* Dark Mode Anpassungen für Sektionen ohne Übergänge */
[data-theme="dark"] .services-section {
    background-color: var(--dark-services-top-color);
}

[data-theme="dark"] .services-section:nth-of-type(2) {
    background-color: var(--dark-partner-services-top-color);
}

[data-theme="dark"] .about-section {
    background-color: var(--dark-about-top-color);
}

[data-theme="dark"] .statistics-row {
    background-color: var(--dark-stats-top-color);
}

/* Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 50%;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top i {
    font-size: 20px;
    line-height: 45px;
}

/* Dark Mode Anpassungen */
[data-theme="dark"] .scroll-to-top {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scroll-to-top:hover {
    background-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
