/* -----------------------------------------------------------
   HSP FRANCHISE PREMIUM DESIGN SYSTEM 2024
   ----------------------------------------------------------- */

/* 1. VARIABLEN & FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

/* -----------------------------------------------------------
   1. VARIABLEN & THEMES
   ----------------------------------------------------------- */
:root {
    /* LIGHT MODE (Standard) */
    --primary: #007A3D;
    --primary-dark: #005a2e;
    --primary-light: #e6f2eb;
    --accent: #d4af37;
    --text-main: #2c3e50;
    --text-light: #666666;
    --bg-light: #f9fbfd;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: rgba(0,0,0,0.05);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    
    /* Header & Nav */
    --header-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: #ffffff;
}

/* DARK MODE (Deine Farben + Premium Erweiterung) */
html.dark-mode {
    /* Deine gewünschten Farben */
    --primary: #66CC99; /* Das hellere Mint-Grün für Kontrast */
    --primary-dark: #4da67a;
    --primary-light: rgba(102, 204, 153, 0.1); /* Transparentes Grün */
    
    --bg-light: #1a1a1a; /* Hintergrund dunkel */
    --white: #252525;    /* Karten-Hintergrund (statt reinem Weiß) */
    --card-bg: #252525;
    
    --text-main: #f0f0f0;
    --text-light: #bbbbbb;
    
    --border-color: rgba(255,255,255,0.1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.3); /* Dunklere Schatten */
    
    /* Header & Nav */
    --header-bg: rgba(26, 26, 26, 0.95);
    --nav-bg: #222222;
}

html.dark-mode body {
    background-color: var(--bg-light);
    color: var(--text-main);
}

/* -----------------------------------------------------------
   DARK MODE OVERRIDES (Damit es "Endgegner" aussieht)
   ----------------------------------------------------------- */

/* Header & Navigation im Dark Mode */
html.dark-mode .main-header {
    background: var(--header-bg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

html.dark-mode .nav-list a { color: var(--text-main); }
html.dark-mode .menu-toggle { color: var(--text-main) !important; }

/* Karten & Boxen anpassen */
html.dark-mode .feature-card,
html.dark-mode .process-card,
html.dark-mode .contact-wrapper,
html.dark-mode .contact-info-card,
html.dark-mode .process-card-wrapper,
html.dark-mode .faq-item,
html.dark-mode .region-card,
html.dark-mode .stat-card {
    background: #2a2a2a; /* Etwas heller als Hintergrund */
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Texte in Karten */
html.dark-mode h1, 
html.dark-mode h2, 
html.dark-mode h3, 
html.dark-mode h4,
html.dark-mode strong,
html.dark-mode .location-item {
    color: #ffffff;
}

html.dark-mode .section-description,
html.dark-mode p {
    color: #cccccc;
}

/* Inputs im Dark Mode */
html.dark-mode .form-control {
    background: #333;
    border-color: #444;
    color: white;
}

html.dark-mode .form-control:focus {
    background: #444;
    border-color: var(--primary);
}

/* Hero Section Verlauf Abdunkeln */
html.dark-mode .hero-section,
html.dark-mode .contact-hero-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

/* Spezifische Fixes für Icons & Badges */
html.dark-mode .icon-box,
html.dark-mode .feature-icon-wrapper,
html.dark-mode .step-number,
html.dark-mode .timeline-marker {
    background: #333;
    color: var(--primary);
    border-color: var(--primary);
}

html.dark-mode .section-tag-badge {
    background: rgba(102, 204, 153, 0.1);
    color: var(--primary);
    border-color: rgba(102, 204, 153, 0.2);
}

/* Mobile Menü im Dark Mode */
@media (max-width: 992px) {
    html.dark-mode .main-nav {
        background: #222222 !important;
    }
    html.dark-mode .nav-list a {
        color: #ffffff !important;
    }
}

/* -----------------------------------------------------------
   BUTTON STYLE FÜR DEN TOGGLE
   ----------------------------------------------------------- */
.theme-switch {
    background: rgba(0,0,0,0.05);
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    margin-right: 15px; /* Abstand zum Menü */
}

.theme-switch:hover {
    background: rgba(0,0,0,0.1);
    transform: rotate(15deg);
}

/* Button im Dark Mode */
html.dark-mode .theme-switch {
    background: rgba(255,255,255,0.1);
    color: #ffeb3b; /* Gelb für die Sonne/Mond */
}

/* 2. BASIS RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 3. LAYOUT UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }
.section-bg-white { background-color: var(--white); }
.section-bg-light { background-color: var(--bg-light); }

.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* 4. PREMIUM HEADER */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 60px; transition: height 0.3s; }

.nav-list { display: flex; gap: 30px; }
.nav-list a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list li.active a::after { width: 100%; }

/* CTA Button im Header */
.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    transition: transform 0.3s, background 0.3s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* 5. HERO SECTIONS */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    overflow: hidden;
    background-size: 110% auto; 
    background-position: center center;
    transition: background-position 0.1s linear;
}

/* Grüne Blobs im Hintergrund */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,122,61,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

/* 6. BUTTONS */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,122,61,0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* 8. INTERAKTIVE ELEMENTE */
.stat-counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* 9. FORMULAR */
.contact-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border-top: 5px solid var(--primary);
}

.form-group { margin-bottom: 25px; position: relative; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: all 0.3s;
    font-family: inherit;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.1);
    outline: none;
}

/* 10. FOOTER */
.site-footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 { color: var(--white); margin-bottom: 25px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.copyright {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* 11. RESPONSIVE */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .nav-list { display: none; }
    .menu-toggle { display: block; font-size: 1.5rem; background: none; border: none; cursor: pointer; }
    
    .main-nav.active .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* * --------------------------------
 * ANIMATIONS & INTERAKTIVITÄT
 * --------------------------------
 */

/* Mobile Menu Slide */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 80px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
        display: flex;
        flex-direction: column;
    }

    .main-nav.active { right: 0; }
    .nav-list { flex-direction: column; gap: 20px; }
    .nav-list li { width: 100%; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
    .nav-list a { font-size: 1.2rem; display: block; }
}

/* Scroll Reveal */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* * --------------------------------
 * KONZEPT-SEITE PREMIUM STYLES
 * --------------------------------
 */

/* Hero Image mit 3D Effekt */
.hero-image-concept {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08); 
    transform: perspective(1000px) rotateY(-3deg) translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section:hover .hero-image-concept {
    transform: perspective(1000px) rotateY(0deg) translateY(0);
    box-shadow: 0 35px 70px rgba(0,122,61,0.15);
}

/* Prozess Karten (Das Fundament etc.) */
.process-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px 30px 30px;
    position: relative;
    overflow: visible !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,122,61,0.15);
    border-color: rgba(0,122,61,0.2);
}

/* Die Icons in den Listen */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e6f4ea;
    color: var(--primary);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.benefit-list li:hover .icon-wrapper {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Nummer oben rechts */
.process-number-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #005a2e);
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,122,61,0.4);
    border: 4px solid #ffffff;
    z-index: 10;
}
/* Das Bild im neuen Hero-Bereich */
.hero-image-concept {
    width: 100%;
    border-radius: 20px;
    /* Ein sehr weicher, tiefer Schatten für Eleganz */
    box-shadow: 0 25px 50px rgba(0,0,0,0.08); 
    /* Leichte 3D-Drehung für Dynamik */
    transform: perspective(1000px) rotateY(-3deg) translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section:hover .hero-image-concept {
    /* Richtet sich beim Hover auf */
    transform: perspective(1000px) rotateY(0deg) translateY(0);
    box-shadow: 0 35px 70px rgba(0,122,61,0.15);
}
/* * --------------------------------
 * PREMIUM SECTION HEADER DESIGN
 * --------------------------------
 */

/* Container Anpassung */
.section-header-premium {
    position: relative;
    max-width: 800px; /* Etwas breiter für bessere Lesbarkeit */
    margin-left: auto;
    margin-right: auto;
}

/* 1. Das kleine Label oben (Badge) */
.section-tag-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary); /* Dein Grün */
    background-color: rgba(0, 122, 61, 0.08); /* Ganz sachtes Grün im Hintergrund */
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 122, 61, 0.15);
}

/* 2. Die große Überschrift */
.section-title-large {
    font-size: 2.8rem; /* Größer und mächtiger */
    letter-spacing: -1px;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Der grüne Teil im Text */
.highlight-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Optional: Ein kleiner Kringel oder Unterstrich unter dem Wort "Masterplan" */
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 122, 61, 0.1); /* Textmarker-Effekt */
    z-index: -1;
    transform: skewX(-10deg);
}

/* 3. Die Trennlinie */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #8fc9a3);
    margin: 0 auto 30px; /* Zentriert */
    border-radius: 2px;
}

/* 4. Der Text */
.section-description {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .section-title-large {
        font-size: 2.2rem;
    }
}
/* * --------------------------------
 * INDEX-SEITE HERO IMAGE FIX
 * --------------------------------
 */

.hero-image-index {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* Basis-Schatten */
    box-shadow: 0 30px 60px rgba(0, 122, 61, 0.25);
    /* 3D-Startposition: Leicht gedreht */
    transform: perspective(1000px) rotateY(-3deg) translateY(20px);
    /* Weicher Übergang für Transform & Schatten */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
				all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Der Effekt beim Drüberfahren (Hover über die ganze Sektion) */
.hero-section:hover .hero-image-index {
    /* Richtet sich auf */
    transform: perspective(1000px) rotateY(0deg);
    /* Schatten wird etwas stärker/tiefer */
    box-shadow: 0 40px 80px rgba(0, 122, 61, 0.35);
}
/* * --------------------------------
 * WARUM-HSP SEITE STYLES
 * --------------------------------
 */

/* 1. Das Hero-Bild auf dieser Seite */
.hero-image-warum {
    width: 100%;
    border-radius: 20px;
    /* Ein etwas anderer Winkel als auf der Startseite für Abwechslung */
    transform: perspective(1000px) rotateY(5deg) translateY(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section:hover .hero-image-warum {
    transform: perspective(1000px) rotateY(0deg) translateY(0);
    box-shadow: 0 40px 80px rgba(0,122,61,0.2);
}

/* 2. Die großen Icons in den Vorteils-Karten */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,122,61,0.1);
    transition: all 0.4s ease;
}

/* Hover-Effekt für die Vorteils-Karten und ihre Icons */
.advantage-card {
    padding: 35px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,122,61,0.15);
    border-color: var(--primary-light);
}

.advantage-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0,122,61,0.3);
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}
/* 7. PREMIUM CARDS (Endgegner-Style für ALLE Karten) */
.feature-card {
    background: var(--white);
    padding: 40px 35px; /* Etwas mehr Platz innen */
    border-radius: 16px; /* Runder und moderner */
    border: 1px solid rgba(0, 122, 61, 0.06); /* Ganz feiner grüner Rand */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06); /* Weicherer, tieferer Schatten */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Sehr geschmeidige Animation */
    position: relative;
    overflow: hidden; /* Für den Glanz-Effekt */
    text-align: left; /* Standardmäßig linksbündig wirkt edler */
}

/* Der Hover-Effekt für die Karte selbst */
.feature-card:hover {
    transform: translateY(-12px); /* Schwebt höher */
    box-shadow: 0 25px 50px rgba(0, 122, 61, 0.18); /* Schatten wird grüner und tiefer */
    border-color: rgba(0, 122, 61, 0.25); /* Rand wird deutlicher */
}

/* Subtiler Glanz-Effekt beim Hover (Optional, wirkt sehr edel) */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
    z-index: 1;
}

.feature-card:hover::before {
    left: 100%; /* Glanz zieht einmal über die Karte */
}

/* Das neue, große Icon-Design (ersetzt .icon-box) */
.feature-icon-wrapper,
.icon-box { /* Wir wenden das Design auf beide Klassennamen an */
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 122, 61, 0.12);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Hover-Effekt für das Icon */
.feature-card:hover .feature-icon-wrapper,
.feature-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(10deg); /* Größer und leichte Drehung */
    box-shadow: 0 15px 30px rgba(0, 122, 61, 0.35);
}

/* Typografie in der Karte */
.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #666;
    line-height: 1.65;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* WICHTIG: Spezielle Karten (z.B. Pricing oder Prozess) müssen den Overflow resetten */
.process-card,
.pricing-card-container .feature-card {
    overflow: visible !important; /* Damit Badges rausstehen können */
}

.process-card:hover::before {
    display: none; /* Glanz-Effekt bei Prozesskarten deaktivieren, wenn gewünscht */
}
/* * --------------------------------
 * PFLEGEMARKT SEITE STYLES
 * --------------------------------
 */

.hero-image-market {
    width: 100%;
    border-radius: 20px;
    /* Leicht andere Drehung als die anderen Seiten für Abwechslung */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover-Effekt über die gesamte Sektion */
.hero-section:hover .hero-image-market {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 45px 90px rgba(0,122,61,0.25); /* Tieferer, grüner Schatten */
}
/* * --------------------------------
 * VORAUSSETZUNGEN SEITE STYLES
 * --------------------------------
 */

.hero-image-req {
    width: 100%;
    border-radius: 20px;
    /* Leicht andere Neigung für Individualität */
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover-Effekt */
.hero-section:hover .hero-image-req {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 45px 90px rgba(0,122,61,0.25);
}
/* * --------------------------------
 * STANDORTE SEITE STYLES
 * --------------------------------
 */

/* Hero Bild: Wieder eine leichte Variation der Drehung */
.hero-image-locations {
    width: 100%;
    border-radius: 20px;
    transform: perspective(1000px) rotateY(6deg) rotateX(3deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section:hover .hero-image-locations {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 45px 90px rgba(0,122,61,0.25);
}

/* Der Premium Map-Container */
.map-container-premium {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    height: 500px; /* Feste Höhe für den Look */
}

/* Das Kartenbild im Hintergrund (leicht unscharf für Fokus auf Text) */
.map-image-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.7); /* Unscharf und dunkler */
    transform: scale(1.05); /* Leicht reingezoomt um weiße Ränder durch Blur zu vermeiden */
    transition: all 0.5s ease;
}

.map-container-premium:hover .map-image-blur {
    filter: blur(1px) brightness(0.8); /* Wird etwas schärfer beim Hover */
    transform: scale(1.02);
}
/* Der Inhalt über der Karte */
.map-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 90, 46, 0.4); /* Ein Hauch von Grün über dem Bild */
    z-index: 2;
}

/* Container für das Karten-Diagramm */
    .map-chart-container {
        position: relative;
        width: 100%;
        height: 600px; /* Feste Höhe */
        border-radius: 20px;
        overflow: hidden;
        background-color: #fff; 
        box-shadow: 0 20px 50px rgba(0, 122, 61, 0.15);
    }

    /* Das Bild liegt UNTER dem Chart */
    .map-chart-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        /* HIER DEIN BILD EINBINDEN */
        background-image: url('bilder/deutschlandkarte.png');
        
        background-size: cover; /* Oder 'contain', je nach Bildformat */
        background-position: center;
        background-repeat: no-repeat;
        
        /* Falls das Bild zu hell/dunkel ist, hier anpassen. 
           Wenn das Bild schon perfekt ist, kannst du den Filter löschen. */
        filter: opacity(0.8); 
        
        pointer-events: none; /* Wichtig: Klicks gehen durch zum Chart */
        z-index: 1;
    }

    /* Das Chart liegt ÜBER dem Bild */
    #standorteMapChart {
        position: relative;
        z-index: 2; /* Höherer Index = Weiter vorne */
        width: 100% !important;
        height: 100% !important;
    }
    
    @media (max-width: 768px) {
        .map-chart-container {
            height: 400px;
        }
    }
	
/* * --------------------------------
 * STANDORTE "ENDGEGNER" DESIGN
 * --------------------------------
 */

/* 1. Counter Dashboard */
.stats-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 122, 61, 0.15);
}

.stat-card.featured {
    background: linear-gradient(135deg, var(--primary), #005a2e);
    color: white;
    transform: scale(1.05); /* Mittlere Karte etwas größer */
    box-shadow: 0 20px 40px rgba(0, 122, 61, 0.25);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 122, 61, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card.featured .stat-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* 2. Locations Grid (Masonry Look) */
.locations-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.region-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Großes Icon im Hintergrund (Deko) */
.region-icon-bg {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    color: rgba(0,0,0,0.03);
    transform: rotate(15deg);
    z-index: 0;
}

.region-header {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.region-header h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.region-line {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.region-list {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.region-list li {
    background: #f4f8f5;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #555;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.region-list li:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Special Card: Tagespflege */
.region-card.special-card {
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-top: 4px solid #FFD700; /* Gold */
}

.region-card.special-card .region-icon-bg {
    color: rgba(255,255,255,0.05);
}

.dark-mode-list li {
    background: rgba(255,255,255,0.1);
    color: #eee;
    border-color: rgba(255,255,255,0.1);
}

.dark-mode-list li:hover {
    background: #FFD700;
    color: #333;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .stats-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .stat-card.featured {
        transform: scale(1);
    }
}
/* * --------------------------------
 * PREMIUM FAQ DESIGN
 * --------------------------------
 */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    /* Der grüne Streifen links (initial unsichtbar/grau) */
    border-left: 4px solid transparent; 
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,122,61,0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 15px 40px rgba(0,122,61,0.15);
    border-color: rgba(0,122,61,0.1);
    border-left: 4px solid var(--primary); /* Grüner Akzent wenn offen */
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s;
}

.faq-q-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.faq-item.active .faq-q-text {
    color: var(--primary);
}

/* Der runde Button rechts */
.faq-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f8f5;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effekt */
    font-size: 0.9rem;
}

.faq-item:hover .faq-toggle-btn {
    background: var(--primary-light);
}

.faq-item.active .faq-toggle-btn {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

/* Der Antwort-Bereich */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #ffffff;
}

.faq-content-inner {
    padding: 0 30px 30px 30px;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(0,0,0,0.03);
    margin-top: -10px; /* Zieht den Text optisch etwas näher ran */
    padding-top: 20px;
}

/* Responsive Fix für Impressum Grid */
        @media (max-width: 768px) {
            .feature-card .grid-2 {
                grid-template-columns: 1fr !important;
                gap: 30px !important;
            }
            .feature-card .grid-2 > div:last-child {
                border-left: none !important;
                border-top: 1px solid #eee;
                padding-left: 0 !important;
                padding-top: 30px;
            }
        }
		/* * --------------------------------
 * KONTAKT SEITE - REFINED DESIGN
 * --------------------------------
 */

/* Das Formular Wrapper Design */
.contact-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    /* Ein sehr weicher, tiefer Schatten für den "Floating" Look */
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); 
    border-top: 5px solid var(--primary);
}

/* Verbesserte Formularfelder */
.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-control {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 122, 61, 0.1);
    transform: translateY(-2px);
}

/* Icons im Input */
.input-icon-wrapper { position: relative; }
.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.5;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    background: #f9fdfa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 122, 61, 0.1);
}

.checkbox-group input {
    margin-top: 4px;
    margin-right: 12px;
    accent-color: var(--primary);
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    color: #555;
    margin: 0;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group a { color: var(--primary); text-decoration: underline; }

/* Button Pulse Animation */
.btn-pulse {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0,122,61,0.3);
    position: relative;
    overflow: hidden;
}

.btn-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,122,61,0.4);
}

/* RECHTE SPALTE */

/* 1. VIP Contact Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.03);
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary), #005a2e);
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon-large {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-card-header h4 { margin: 0; font-size: 1.2rem; color: white; }
.info-card-header p { margin: 0; font-size: 0.9rem; opacity: 0.8; font-weight: 400; }

.info-card-body { padding: 30px; }

.contact-link-row {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.contact-link-row:hover { transform: translateX(5px); }

.icon-circle {
    width: 45px;
    height: 45px;
    background: #f4f8f5;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.link-text { display: flex; flex-direction: column; }
.link-text .label { font-size: 0.8rem; color: #888; text-transform: uppercase; font-weight: 600; }
.link-text .value { font-size: 1.05rem; color: #333; font-weight: 700; }

.divider-line { height: 1px; background: #eee; margin: 20px 0; }

/* 2. Timeline Design */
.process-timeline-wrapper {
    position: relative;
    padding-left: 10px;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 35px;
}

/* Die Linie zwischen den Punkten */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px; /* Zentriert unter dem Kreis */
    top: 40px;
    bottom: -40px; /* Verbindet zum nächsten */
    width: 2px;
    background: #e0e0e0;
}

.timeline-item:last-child::before { display: none; } /* Letzter hat keine Linie nach unten */

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 4px #f9fbfd; /* Weißer Rand für Abstand zur Linie */
}

.timeline-content h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .grid-2 { gap: 40px; }
    .contact-wrapper { padding: 30px 20px; }
}
/* * --------------------------------
 * TIMELINE "ENDGEGNER" STYLES
 * --------------------------------
 */

/* 1. Die Karte selbst (Container) */
.process-card-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.timeline-header {
    background: #fcfcfc;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.process-timeline-container {
    padding: 30px;
    position: relative;
}

/* 2. Die Items */
.timeline-item {
    position: relative;
    padding-left: 60px; /* Mehr Platz für den Marker */
    margin-bottom: 0; /* Reset */
    padding-bottom: 35px;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Die Verbindungslinie */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px; /* Zentriert unter dem Kreis (Marker Width / 2) */
    top: 50px;
    bottom: -10px;
    width: 2px;
    background: #e0e0e0;
    transition: background 0.3s;
}

.timeline-item:last-child::before { display: none; }

/* Wenn man über ein Item hovert, wird die Linie grün */
.timeline-item:hover::before {
    background: var(--primary-light);
}

/* 3. Der Marker (Zahl) */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px; /* Größer */
    height: 50px; /* Größer */
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 4. HOVER & PULS EFFEKT */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 122, 61, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 122, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 122, 61, 0);
    }
}

.timeline-item:hover .timeline-marker {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    animation: pulse-green 1.5s infinite;
}

/* 5. Der Inhalt Text */
.timeline-content h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}

.timeline-item:hover .timeline-content h5 {
    color: var(--primary);
}
/* * --------------------------------
 * FIX: NAVIGATION & HAMBURGER MENU
 * --------------------------------
 */

/* 1. DESKTOP STANDARD (Button verstecken) */
.menu-toggle {
    display: none; /* WICHTIG: Standardmäßig ausblenden */
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    z-index: 1001; /* Muss über dem Menü liegen */
    padding: 10px;
    transition: transform 0.3s;
}

/* Drehung des Icons wenn aktiv (Optionaler Effekt) */
.menu-toggle.is-active i {
    transform: rotate(90deg); 
}

/* 2. MOBILE ANSICHT (Ab 992px und kleiner) */
@media (max-width: 992px) {
    
    /* Button sichtbar machen */
    .menu-toggle {
        display: block;
    }

    /* Das Menü selbst (Slide-In Container) */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Startet rechts außerhalb des Bildschirms */
        width: 100%;  /* Volle Breite auf Mobile für besseren Fokus */
        height: 100vh; /* Volle Höhe */
        background: rgba(255, 255, 255, 0.98); /* Fast deckendes Weiß */
        backdrop-filter: blur(10px); /* Glas-Effekt */
        padding-top: 100px; /* Platz lassen für den Header oben */
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0); /* Weiche Animation */
        z-index: 998; /* Unter dem Header/Toggle, aber über dem Inhalt */
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    /* Wenn JS die Klasse 'active' hinzufügt -> Reinfahren */
    .main-nav.active {
        right: 0;
    }

    /* Die Liste der Links anpassen */
    .nav-list {
        display: flex; /* Sicherstellen, dass es flex ist */
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list li {
        width: 100%;
        opacity: 0; /* Für Animation */
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    /* Animation der Listenpunkte beim Öffnen */
    .main-nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Verzögerung für jeden Listenpunkt (Domino-Effekt) */
    .main-nav.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
    .main-nav.active .nav-list li:nth-child(3) { transition-delay: 0.3s; }
    .main-nav.active .nav-list li:nth-child(4) { transition-delay: 0.4s; }
    .main-nav.active .nav-list li:nth-child(5) { transition-delay: 0.5s; }
    .main-nav.active .nav-list li:nth-child(6) { transition-delay: 0.6s; }
    .main-nav.active .nav-list li:nth-child(7) { transition-delay: 0.7s; }

    /* Links groß und klickbar machen */
    .nav-list a {
        display: block;
        padding: 20px;
        font-size: 1.3rem;
        color: var(--text-main);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-list a:hover {
        background-color: #f9f9f9;
        color: var(--primary);
        padding-left: 0; /* Reset Desktop Hover */
    }

    /* CTA Button im mobilen Menü */
    .nav-cta {
        margin-top: 30px;
        display: inline-block !important;
        width: 80%;
        padding: 15px !important;
    }
}
/* * --------------------------------
 * FIX: HORIZONTAL SCROLL & FOOTER
 * --------------------------------
 */

/* 1. Globaler Schutz gegen Überbreite */
html, body {
    max-width: 100vw;       /* Nicht breiter als der Viewport */
    overflow-x: hidden;     /* Schneidet alles ab, was übersteht */
    position: relative;     /* Wichtig für die Begrenzung */
}

/* 2. Footer Responsive machen */
@media (max-width: 992px) {
    /* Footer Grid untereinander stapeln statt 4 Spalten */
    .footer-grid {
        grid-template-columns: 1fr !important; /* Erzwingt eine Spalte */
        gap: 40px;
        text-align: center; /* Sieht auf Mobile oft besser aus */
    }

    /* Elemente im Footer zentrieren für den Center-Look */
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        display: flex;
        justify-content: center; /* Links zentrieren */
        align-items: center;
    }
    
    /* Lange Wörter (wie E-Mails) umbrechen lassen, damit sie nichts sprengen */
    .footer-col a, 
    .footer-col p {
        word-break: break-word; 
        hyphens: auto;
    }
    
    /* Logo im Footer mobil etwas kleiner */
    .footer-col img {
        margin: 0 auto 20px;
    }
}
/* * --------------------------------
 * FIX: MENÜ-INHALT SICHTBAR MACHEN
 * --------------------------------
 */

@media (max-width: 992px) {
    /* 1. Die Liste zwingend anzeigen */
    .nav-list {
        display: flex !important; /* Überschreibt das alte 'display: none' */
        flex-direction: column;
        gap: 0;
        width: 100%;
        opacity: 1 !important; /* Sicherstellen, dass sie nicht transparent ist */
        visibility: visible !important;
        margin-top: 20px; /* Abstand zum X-Button */
    }

    /* 2. Die einzelnen Links stylen */
    .nav-list li {
        width: 100%;
        opacity: 1 !important; /* Falls alte Animationen hängen */
        transform: none !important; /* Keine Verschiebung */
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        color: #2c3e50 !important; /* Dunkle Schriftfarbe erzwingen */
        text-align: center; /* Text zentrieren für besseren Look */
    }

    /* 3. Der Container (Weißer Kasten) */
    .main-nav {
        justify-content: flex-start; /* Inhalt oben starten */
        padding-top: 100px; /* Platz lassen, damit man das X oben sieht */
    }
    
    /* CTA Button im Menü anpassen */
    .nav-cta {
        margin: 20px auto 0 auto !important; /* Zentrieren */
        display: inline-block !important;
        width: auto !important;
        padding: 12px 30px !important;
    }
}
/* * ----------------------------------------------------------------
 * FINALER NAVIGATIONS-RETTUNGSANKER (Überschreibt alle Konflikte)
 * ----------------------------------------------------------------
 */

@media (max-width: 992px) {
    
    /* 1. HAMBURGER BUTTON (Muss über allem liegen) */
    .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002 !important; /* Über dem weißen Menü-Hintergrund */
        color: #2c3e50 !important; /* Dunkelgrau, damit sichtbar auf Weiß */
    }

    /* 2. DER MENÜ-CONTAINER (Weißer Kasten) */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* Startet rechts draußen */
        width: 100% !important;
        height: 100vh !important;
        background: #ffffff !important; /* Weißer Hintergrund */
        padding-top: 100px !important; /* Platz oben für den Schließen-Button */
        
        /* Flexbox erzwingen */
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0) !important;
        z-index: 999 !important; /* Unter dem Toggle, über dem Rest */
        
        /* Alte Regeln zurücksetzen */
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
    }

    /* Wenn aktiv (JS fügt Klasse hinzu), fährt es rein */
    .main-nav.active {
        right: 0 !important;
    }

    /* 3. DIE LISTE DER LINKS (Muss sichtbar sein) */
    .nav-list {
        display: flex !important; /* Erzwingt Sichtbarkeit */
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        
        /* Positionierung normalisieren */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* 4. DIE EINZELNEN LINKS (Styling & Animation Reset) */
    .nav-list li {
        width: 100% !important;
        display: block !important;
        opacity: 1 !important; /* Animationen ausschalten, damit sofort sichtbar */
        transform: none !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-list a {
        display: block !important;
        padding: 20px 0 !important;
        font-size: 1.3rem !important;
        color: #2c3e50 !important; /* Dunkle Schriftfarbe */
        font-weight: 600 !important;
    }

    .nav-list a:hover {
        color: var(--primary) !important;
        background: #f9f9f9 !important;
    }

    /* Der aktive Link (Startseite etc.) */
    .nav-list li.active a::after {
        display: none !important; /* Strich unten entfernen auf Mobile */
    }

    /* 5. DER CTA BUTTON IM MENÜ */
    .nav-cta {
        margin: 30px auto !important;
        display: inline-block !important;
        width: auto !important;
        padding: 15px 40px !important;
        color: #ffffff !important;
        background: var(--primary) !important;
    }
}
/* * --------------------------------
 * FINAL DARK MODE FIXES (Reparatur)
 * --------------------------------
 */

/* 1. Inline-Backgrounds überschreiben (Wichtig für #prozess-start) */
html.dark-mode section[style*="background-color"], 
html.dark-mode div[style*="background-color"] {
    background-color: var(--bg-light) !important; /* Macht den Hintergrund dunkel */
}

/* 2. Texte in den Prozess-Karten (#prozess-start) sichtbar machen */
html.dark-mode #prozess-start .section-title-large,
html.dark-mode #prozess-start h3,
html.dark-mode #prozess-start h2 {
    color: #ffffff !important;
}

html.dark-mode #prozess-start p, 
html.dark-mode #prozess-start li,
html.dark-mode #prozess-start div {
    color: #cccccc !important;
}

/* 3. Die Karten selbst dunkel machen */
html.dark-mode .process-card,
html.dark-mode .feature-card {
    background-color: #252525 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* 4. Hamburger Menü Button sichtbar machen (Dein Bild mit dem roten Kreis) */
html.dark-mode .menu-toggle {
    color: #ffffff !important; /* Weiß statt Dunkelgrau im Dark Mode */
    background: rgba(255,255,255,0.1) !important; /* Leichter Hintergrund */
    border-radius: 5px;
}

/* 5. Kontaktformular Eingabefelder reparieren */
html.dark-mode input, 
html.dark-mode textarea, 
html.dark-mode select {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #444 !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: #888 !important;
}

/* 6. Timeline/Schritte (Zahlen-Kreise) */
html.dark-mode .process-number-badge,
html.dark-mode .timeline-marker,
html.dark-mode .step-number {
    background-color: #333 !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}
/* * --------------------------------
 * FIX: TEXTFARBEN IM DARK MODE
 * --------------------------------
 */

/* Überschreibt inline gesetzte Farben (style="color: #666") im Dark Mode */
html.dark-mode p[style*="color: #666"],
html.dark-mode span[style*="color: #666"],
html.dark-mode li[style*="color: #666"] {
    color: #e0e0e0 !important; /* Fast Weiß für maximalen Kontrast */
}

/* Genereller Fix für alle Paragraphen in weißen Sektionen */
html.dark-mode .section-bg-white p,
html.dark-mode .section-bg-light p {
    color: #fff !important;
}

/* Speziell für die Section-Descriptions (die Texte unter Überschriften) */
html.dark-mode .section-description {
    color: #eeeeee !important; /* Noch heller */
    opacity: 0.9;
}
/* * ----------------------------------------------------------------
 * FINALER DARK MODE STABILISATOR (Gegen das Flackern)
 * ----------------------------------------------------------------
 */

/* 1. Den weißen "Glanz-Effekt" (Lichtstreifen) im Dark Mode entfernen */
html.dark-mode .feature-card::before,
html.dark-mode .process-card::before {
    display: none !important; /* Kein weißer Blitz mehr! */
    animation: none !important;
    transition: none !important;
}

/* 2. Hover-Status stabilisieren (Kein Zurückspringen auf Weiß) */
html.dark-mode .feature-card:hover,
html.dark-mode .process-card:hover,
html.dark-mode .advantage-card:hover {
    background-color: #2a2a2a !important; /* Bleibt dunkelgrau */
    border-color: var(--primary) !important; /* Grüner Rand statt Licht */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important; /* Tieferer Schatten */
    transform: translateY(-5px); /* Die Bewegung darf bleiben */
}

/* 3. Texte und Icons im Hover-Zustand fixieren */
html.dark-mode .feature-card:hover h3,
html.dark-mode .process-card:hover h3,
html.dark-mode .feature-card:hover p,
html.dark-mode .process-card:hover p,
html.dark-mode .process-card:hover li,
html.dark-mode .process-card:hover div {
    color: #ffffff !important; /* Text bleibt weiß */
}

html.dark-mode .feature-card:hover .icon-wrapper,
html.dark-mode .process-card:hover .icon-wrapper {
    background-color: #333 !important; /* Icon Hintergrund dunkel */
    color: var(--primary) !important; /* Icon grün */
    box-shadow: none !important;
}

/* 4. Hintergrund der Sektion erzwingen (gegen inline style #f9fbfd) */
html.dark-mode #prozess-start {
    background-color: var(--bg-light) !important;
}
/* * --------------------------------
 * FIX: BENEFIT LIST ITEMS (Pflegemarkt Daten)
 * --------------------------------
 */

/* 1. Die Box selbst dunkel machen (überschreibt das helle Grau) */
html.dark-mode .benefit-list li {
    background-color: #2a2a2a !important; /* Dunkler Karten-Hintergrund */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Feiner heller Rand */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important; /* Etwas Schatten für Tiefe */
}

/* 2. Die dicke Zahl/Überschrift (strong) weiß machen */
html.dark-mode .benefit-list li strong {
    color: #ffffff !important;
}

/* 3. Den Beschreibungstext (span) hellgrau machen */
html.dark-mode .benefit-list li span {
    color: #cccccc !important;
}

/* 4. Das Icon anpassen (Hintergrund dunkel, Icon grün) */
html.dark-mode .benefit-list li .icon-wrapper {
    background-color: #333 !important;
    color: var(--primary) !important;
}
/* * --------------------------------
 * FIX: CHANCE-BOX (Marktbedarf)
 * --------------------------------
 */

/* 1. Hintergrund der Box dunkel machen */
html.dark-mode .chance-box {
    background-color: #2a2a2a !important; /* Dunkelgrau statt Weiß */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important; /* Schatten anpassen */
    border-color: var(--primary) !important; /* Der grüne Strich links bleibt */
}

/* 2. Den Titel ("Ihre Chance") anpassen - meistens schon ok, aber zur Sicherheit */
html.dark-mode .chance-title {
    color: var(--primary) !important; /* Bleibt HSP-Grün (oder Mint im Dark Mode) */
}

/* 3. Den Fließtext lesbar machen (Weiß statt #333 Dunkelgrau) */
html.dark-mode .chance-text {
    color: #e0e0e0 !important;
}
/* * --------------------------------
 * FIX: HIGHLIGHT ROW (0% Umsatzbeteiligung)
 * --------------------------------
 */

/* Basis-Design (Light Mode - entspricht deinem alten Inline-Style) */
.highlight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fdf4; /* Hellgrün */
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 122, 61, 0.2); /* Sanfter Rand */
    margin-bottom: 20px; /* Sicherstellen, dass Abstand da ist */
}

.highlight-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Icon und Text */
}

.highlight-value {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

/* DARK MODE OVERRIDE */
html.dark-mode .highlight-row {
    background-color: #2a2a2a !important; /* Dunkelgrau */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Heller, feiner Rand */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Damit die Schriftfarbe im Dark Mode das helle Mint-Grün nutzt */
html.dark-mode .highlight-label,
html.dark-mode .highlight-value {
    color: var(--primary) !important; 
}
/* * --------------------------------
 * FIX: INTERAKTIVE KARTE (Standorte)
 * --------------------------------
 */

/* 1. Den Container selbst dunkel machen */
html.dark-mode .map-chart-container {
    background-color: #2a2a2a !important; /* Dunkelgrauer Hintergrund statt Weiß */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Feiner heller Rand */
    box-shadow: 0 15px 40px rgba(0,0,0,0.5) !important; /* Tieferer Schatten */
}

/* 2. Das Hintergrundbild (Deutschlandkarte) anpassen */
html.dark-mode .map-chart-background {
    /* Wir verringern die Deckkraft leicht, damit sie nicht zu grell leuchtet */
    opacity: 0.6 !important; 
    /* Optional: Kontrast leicht erhöhen, damit die Grenzen sichtbar bleiben */
    filter: contrast(1.2) brightness(0.9) !important;
}

/* 3. Falls das Canvas (die Punkte) einen eigenen Hintergrund hat */
html.dark-mode #standorteMapChart {
    /* Sicherstellen, dass das Canvas transparent bleibt */
    background-color: transparent !important;
}
/* * --------------------------------
 * FIX: REGIONEN-TAGS (Städte-Liste)
 * --------------------------------
 */

/* 1. Die "Pillen" im Ruhezustand dunkel machen */
html.dark-mode .region-list li {
    background-color: #333333 !important; /* Dunkler Hintergrund */
    color: #e0e0e0 !important;           /* Heller Text */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Feiner heller Rand */
}

/* 2. Hover-Effekt im Dark Mode (bleibt grün, aber sauberer Übergang) */
html.dark-mode .region-list li:hover {
    background-color: var(--primary) !important; /* Wird grün */
    color: #ffffff !important; /* Text wird weiß */
    border-color: var(--primary) !important;
    transform: scale(1.05); /* Leichter Zoom bleibt */
}
/* * --------------------------------
 * FIX: KONTAKT INFO CARD (Dark Mode)
 * --------------------------------
 */

/* 1. Die Karte selbst dunkel färben */
html.dark-mode .contact-info-card {
    background-color: #2a2a2a !important; /* Dunkelgrau */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Feiner heller Rand */
    box-shadow: 0 15px 40px rgba(0,0,0,0.5) !important; /* Tieferer Schatten */
}

/* 2. Texte anpassen */
html.dark-mode .contact-info-card .label {
    color: #bbbbbb !important; /* "Rufen Sie uns an" in Hellgrau */
}

html.dark-mode .contact-info-card .value {
    color: #ffffff !important; /* Nummer/Mail in Weiß */
}

/* 3. Die runden Icons anpassen */
html.dark-mode .contact-info-card .icon-circle {
    background-color: #333333 !important; /* Dunkler Hintergrund für den Kreis */
    color: var(--primary) !important; /* Das Icon selbst in leuchtendem Grün */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 4. Die Trennlinie sichtbar machen */
html.dark-mode .contact-info-card .divider-line {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 5. Hover-Effekt im Dark Mode (Icon wird grün, Icon-Inhalt weiß) */
html.dark-mode .contact-link-row:hover .icon-circle {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(102, 204, 153, 0.3) !important;
}
/* * --------------------------------
 * FIX: TIMELINE CARD (Rechts im Kontakt)
 * --------------------------------
 */

/* 1. Karte und Header dunkel machen */
html.dark-mode .process-card-wrapper,
html.dark-mode .timeline-header {
    background-color: #2a2a2a !important; /* Dunkelgrau */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Feine Trennlinie */
}

/* 2. Titel ("Der Weg zum Ziel", "Anfrage senden") weiß machen */
html.dark-mode .timeline-header h3,
html.dark-mode .timeline-content h5 {
    color: #ffffff !important;
}

/* 3. Beschreibungstexte hellgrau machen (überschreibt auch inline color: #666) */
html.dark-mode .timeline-header p,
html.dark-mode .timeline-content p {
    color: #cccccc !important;
}

/* 4. Die Zahlen-Marker (1, 2, 3) anpassen */
html.dark-mode .timeline-marker {
    background-color: #333 !important; /* Dunkler Kreis */
    color: var(--primary) !important; /* Grüne Zahl */
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* 5. Die Verbindungslinie zwischen den Punkten abdunkeln */
html.dark-mode .timeline-item::before {
    background-color: #444 !important;
}
/* * --------------------------------
 * FIX: CHECKBOX & RECAPTCHA (Kontakt)
 * --------------------------------
 */

/* 1. Checkbox-Container dunkel färben */
html.dark-mode .checkbox-group {
    background-color: #2a2a2a !important; /* Dunkelgrau */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Feiner heller Rand */
}

/* 2. Text lesbar machen (Weiß/Hellgrau) */
html.dark-mode .checkbox-group label {
    color: #e0e0e0 !important;
}

/* 3. Link "Datenschutzerklärung" anpassen */
html.dark-mode .checkbox-group a {
    color: var(--primary) !important; /* Dein Mint-Grün */
}

/* 4. reCAPTCHA Dark Mode (CSS-Trick) */
/* Da wir das Google-iFrame nicht direkt stylen können, invertieren wir die Farben.
   Dadurch wird der weiße Kasten dunkel und die schwarze Schrift weiß. */
html.dark-mode .g-recaptcha {
    filter: invert(0.92) hue-rotate(180deg); 
    opacity: 0.9;
}
/* * ----------------------------------------------------------------
 * FINAL DARK MODE ALL-IN-ONE FIX
 * ----------------------------------------------------------------
 */

/* --- 1. HAMBURGER MENÜ & NAVIGATION --- */
/* Macht das Mobile-Menü dunkel */
@media (max-width: 992px) {
    html.dark-mode .main-nav {
        background: #1a1a1a !important; /* Dunkler Hintergrund */
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    
    html.dark-mode .nav-list a {
        color: #ffffff !important; /* Weiße Links */
        border-bottom-color: rgba(255,255,255,0.1) !important;
    }

    /* Der Hamburger Button selbst */
    html.dark-mode .menu-toggle {
        color: #ffffff !important; 
        background: rgba(255,255,255,0.1) !important;
        border-radius: 4px;
    }
}

/* --- 2. FAQ BEREICH (Akkordeon) --- */
html.dark-mode .faq-item,
html.dark-mode .faq-question,
html.dark-mode .faq-answer {
    background-color: #2a2a2a !important; /* Dunkelgrau */
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

html.dark-mode .faq-q-text {
    color: #ffffff !important; /* Frage-Text weiß */
}

html.dark-mode .faq-content-inner {
    color: #cccccc !important; /* Antwort-Text hellgrau */
    border-top-color: rgba(255,255,255,0.1) !important;
}

/* Button im FAQ */
html.dark-mode .faq-toggle-btn {
    background-color: #333 !important;
    color: var(--primary) !important;
}

/* --- 3. TIMELINE & KONTAKT INFO (Rechte Seite Kontakt) --- */
html.dark-mode .process-card-wrapper,
html.dark-mode .timeline-header,
html.dark-mode .contact-info-card {
    background-color: #2a2a2a !important;
    border-color: rgba(255,255,255,0.1) !important;
}

html.dark-mode .timeline-header h3, 
html.dark-mode .timeline-content h5,
html.dark-mode .info-card-header h4 {
    color: #ffffff !important;
}

html.dark-mode .timeline-header p,
html.dark-mode .timeline-content p,
html.dark-mode .info-card-header p {
    color: #cccccc !important;
}

/* Timeline Striche und Marker */
html.dark-mode .timeline-marker {
    background-color: #333 !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

html.dark-mode .timeline-item::before {
    background-color: #444 !important; /* Dunklere Linie */
}

/* --- 4. CHECKBOX & FORMULARE --- */
/* Zwingt die Checkbox-Box dunkel zu werden (überschreibt Inline-Style) */
html.dark-mode .checkbox-group {
    background-color: #2a2a2a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

html.dark-mode .checkbox-group label {
    color: #e0e0e0 !important;
}

html.dark-mode .checkbox-group a {
    color: var(--primary) !important;
}

/* Google ReCaptcha im Dark Mode "invertieren" damit es dunkel wirkt */
html.dark-mode .g-recaptcha {
    filter: invert(0.9) hue-rotate(180deg);
}

/* --- 5. "5,6+ MILLIONEN" BOX (Benefit List) --- */
html.dark-mode .benefit-list li {
    background-color: #2a2a2a !important; /* Überschreibt das helle Grau */
    border: 1px solid rgba(255,255,255,0.1) !important;
}

html.dark-mode .benefit-list li strong {
    color: #ffffff !important;
}

html.dark-mode .benefit-list li span {
    color: #cccccc !important;
}

/* --- 6. KARTE & REGIONEN --- */
html.dark-mode .region-list li {
    background-color: #333 !important;
    color: #eee !important;
    border-color: #444 !important;
}

html.dark-mode .region-list li:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* --- 7. FLACKERN BEHEBEN (Hover Effekte) --- */
/* Deaktiviert den weißen Glanz-Effekt im Dark Mode */
html.dark-mode .feature-card::before,
html.dark-mode .process-card::before {
    display: none !important;
}

/* Fixiert den Hintergrund beim Hover */
html.dark-mode .feature-card:hover,
html.dark-mode .process-card:hover {
    background-color: #2a2a2a !important;
    transform: translateY(-5px); /* Bewegung darf bleiben */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* Textfarbe beim Hover fixieren */
html.dark-mode .feature-card:hover h3,
html.dark-mode .process-card:hover h3 {
    color: #ffffff !important;
}
/* * --------------------------------
 * FIX: IMPRESSUM DARK MODE
 * --------------------------------
 */

/* 1. Hero-Hintergrund dunkel erzwingen (überschreibt den Inline-Verlauf) */
html.dark-mode .hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
}

/* 2. Telefonnummer & E-Mail lesbar machen */
/* Wir suchen gezielt nach Links in den Karten, die inline auf dunkel gesetzt sind */
html.dark-mode .feature-card a[style*="color: #333"],
html.dark-mode .feature-card a[href^="tel:"],
html.dark-mode .feature-card a[href^="mailto:"] {
    color: #ffffff !important;
}

/* 3. Hero Subtitle (falls er noch grau ist) */
html.dark-mode .hero-subtitle {
    color: #cccccc !important;
}
/* * --------------------------------
 * FIX: DATENSCHUTZ LISTE & HEADLINES
 * --------------------------------
 */

/* 1. Die Liste ("Art des Webbrowsers" etc.) lesbar machen */
/* Sucht nach Listen, die inline auf grau gesetzt sind */
html.dark-mode ul[style*="color: #666"] {
    color: #e0e0e0 !important; /* Hellgrau für den Text */
}

/* 2. Die Überschriften ("Löschung", "Änderungen") weiß machen */
/* Sucht nach H4-Überschriften, die inline auf dunkelgrau gesetzt sind */
html.dark-mode h4[style*="color: #333"] {
    color: #ffffff !important; /* Weiß für die Überschrift */
}

/* Optional: Icons in diesen Überschriften (Mülleimer, Sync) auch anpassen */
html.dark-mode h4[style*="color: #333"] i {
    color: var(--primary) !important; /* Bleibt grün */
}
/* * --------------------------------
 * FIX: INLINE-TEXTFARBEN (Datenschutz & Preise)
 * --------------------------------
 */

/* 1. Listen mit grauem Text (#666) lesbar machen */
html.dark-mode ul[style*="color: #666"] {
    color: #e0e0e0 !important; /* Hellgrau */
}

/* 2. Überschriften mit dunkelgrauem Text (#333) weiß machen */
html.dark-mode h4[style*="color: #333"] {
    color: #ffffff !important; /* Weiß */
}

/* 3. Preis-Zeilen & Bedingungen (#555) lesbar machen */
/* Das betrifft "Eintrittsgebühr" und "Monatliche Pauschale" */
html.dark-mode span[style*="color: #555"] {
    color: #e0e0e0 !important; /* Hellgrau */
}

/* Optional: Falls Icons in diesen Zeilen sind, sicherstellen dass sie leuchten */
html.dark-mode span[style*="color: #555"] i {
    color: var(--primary) !important; /* Dein Grün */
}
/* * --------------------------------
 * FIX: PREISE & TEXTE (Dark Mode)
 * --------------------------------
 */

/* 1. Preise (25.000 €) weiß machen */
/* Das überschreibt style="color: #333" bei spans */
html.dark-mode span[style*="color: #333"] {
    color: #ffffff !important;
}

/* 2. Labels (Eintrittsgebühr) hellgrau machen */
/* Das überschreibt style="color: #555" bei spans */
html.dark-mode span[style*="color: #555"] {
    color: #e0e0e0 !important;
}

/* 3. Sicherheits-Check: Alle starken Texte (strong) in Karten weiß machen */
html.dark-mode .feature-card strong,
html.dark-mode .pricing-card strong {
    color: #ffffff !important;
}