/*
Theme Name: Power Theme
Author: Michael Burakowski
Description: Das offizielle Theme für PowerRankers.
Version: 1.0
Text Domain: power-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   1. CSS Variablen (Farbpalette & Typografie)
   ========================================================================== */
:root {
    --primary-color: #2563eb; 
    --accent-color: #3b82f6;  
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --header-bg: #ffffff;
    --surface-bg: #ffffff;
    --border-color: #e2e8f0;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --dot-color: rgba(0, 0, 0, 0.05); /* Sehr zarte graue Punkte im Light Mode */
}

body.dark-mode {
    --primary-color: #3b82f6; 
    --accent-color: #60a5fa;
    --text-color: #e0e0e0;
    --bg-color: #0b0b0b;      
    --header-bg: #121212;     
    --surface-bg: #121212;    
    --border-color: #333333;
    --dot-color: rgba(255, 255, 255, 0.05); /* Sehr zarte weiße Punkte im Dark Mode */
}

/* ==========================================================================
   Globale Einstellungen (Smooth Scroll & Header Offset)
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

/* ==========================================================================
   2. Reset & Basics
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease; 
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}
/* ==========================================================================
   Globale Überschriften-Typografie (Knackiger Zeilenabstand)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.section-title,
.faq-main-title,
.pr-strategy-title {
    line-height: 1.25 !important;
}
/* ==========================================================================
   3. Header & Navigation (Exakter Tailwind 1:1 Nachbau)
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    height: 70px; 
    position: sticky;
    top: 0;
    z-index: 9999;
}

body.dark-mode .site-header {
    background-color: rgba(10, 10, 10, 0.9);
}

/* Logo Bereich */
.site-branding {
    min-width: auto;
}

.site-title { 
    font-size: 1.25rem; 
    margin: 0; 
    letter-spacing: -0.05em; 
}

@media (min-width: 768px) {
    .site-title { font-size: 1.5rem; } 
}

.logo-power { color: var(--text-color); font-weight: 800; }
.logo-rankers { color: var(--primary-color); font-weight: 800; }

/* Rechte Seite: Aktionen */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px; 
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .header-actions { gap: 12px; } 
}

/* Dark Mode Button */
.dark-mode-btn {
    order: 1;
    background-color: transparent;
    border: none;
    color: #6b7280; 
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .dark-mode-btn { color: #9ca3af; }

/* CTA Button */
.header-cta.button {
    order: 2;
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 8px 12px !important; 
    border-radius: 8px; 
    font-size: 0.875rem !important; 
    font-weight: 500; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .header-cta.button {
        padding: 10px 20px !important; 
    }
}

/* Das Menü in der Mitte (Desktop) */
.header-center-nav ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px; 
}

.header-center-nav li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hamburger-Button */
.menu-toggle {
    order: 3;
    display: none !important; 
    background: transparent !important;
    border: none !important;
    padding: 8px !important; 
    margin-right: 0 !important; 
    cursor: pointer;
    color: #6b7280; 
    border-radius: 8px;
}

.hamburger-box { width: 20px; height: 14px; display: block; position: relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 100% !important;        
    height: 2px !important;        
    border-radius: 1px !important;   
    background-color: currentColor !important; 
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-inner { top: 6px; } 
.hamburger-inner::before { content: ""; top: -6px !important; } 
.hamburger-inner::after { content: ""; bottom: -6px !important; top: auto; } 

@media (max-width: 900px) {
    .menu-toggle { display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; }
}

/* ==========================================================================
   Mobile Fixes (CSS Trick für den Button, da wir das HTML nicht ändern)
   ========================================================================== */
@media (max-width: 600px) {
    .header-cta.button {
        width: 75px; 
        overflow: hidden;
        text-align: left;
        padding-left: 12px !important;
        padding-right: 0 !important;
    }
}

/* ==========================================================================
   4. Mobile Navigation & Hamburger
   ========================================================================== */
.main-navigation { display: none; }

.menu-toggle {
    order: 3; 
    display: none !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px !important;
    margin-right: 0 !important; 
    cursor: pointer;
    outline: none;
}

.hamburger-box { width: 30px; height: 18px; display: block; position: relative; }

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px !important;        
    height: 2px !important;        
    border-radius: 0 !important;   
    background-color: var(--text-color) !important; 
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { content: ""; top: -9px !important; }
.hamburger-inner::after { content: ""; bottom: -9px !important; top: auto; }

/* ==========================================================================
   5. Hauptinhalt & Blog-Artikel
   ========================================================================== */
.content-area {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;
}

article {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode article { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* ==========================================================================
   6. Footer & Widgets
   ========================================================================== */
.site-footer {
    background-color: var(--surface-bg);
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding: 60px 5% 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   7. Hero Section (Startseite)
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 100px 5% 120px;
    position: relative;
    background-image: radial-gradient(var(--dot-color) 2px, transparent 2px);
    background-size: 40px 40px; 
    transition: background-color 0.3s ease;
    overflow: hidden; 
    z-index: 1; 
}

/* Hero Hintergrund-Animation */
.hero-bg-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px; 
    display: flex;
    align-items: flex-end; 
    justify-content: space-evenly; 
    padding: 0 2%;
    z-index: -1; 
    pointer-events: none; 
}

.hero-bg-animation .bar {
    width: 4px; 
    background-color: var(--primary-color);
    border-radius: 10px 10px 0 0; 
    box-shadow: 0 0 10px var(--primary-color); 
    transform-origin: bottom; 
    animation: framerWave 2s infinite ease-in-out; 
}

@keyframes framerWave {
    0%   { transform: scaleY(0.2); opacity: 0.1; }
    50%  { transform: scaleY(1);   opacity: 0.4; }
    100% { transform: scaleY(0.2); opacity: 0.1; }
}

/* Hero Inhalte */
.hero-container {
    max-width: 1200px !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    background-color: var(--surface-bg);
}

.hero-title {
    font-size: 4rem; 
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.glow-text {
    display: block; 
    background: linear-gradient(90deg, var(--primary-color), #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.4));
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-btn-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border-radius: 50px !important; 
    font-size: 1.125rem !important; 
    font-weight: 700 !important; 
    border: none !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -4px rgba(37, 99, 235, 0.2) !important; 
    transition: all 0.3s ease !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-btn-primary:hover {
    background-color: var(--accent-color) !important;
    transform: scale(1.05) !important; 
}

.hero-btn-secondary {
    background-color: #ffffff !important; 
    color: #374151 !important; 
    border: 1px solid #d1d5db !important; 
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-btn-secondary:hover {
    background-color: #f3f4f6 !important; 
}

body.dark-mode .hero-btn-secondary {
    background-color: #1f2937 !important; 
    color: #d1d5db !important; 
    border-color: #374151 !important; 
}

body.dark-mode .hero-btn-secondary:hover {
    background-color: #374151 !important; 
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%; 
    }
    
    .hero-btn-primary, 
    .hero-btn-secondary {
        width: 100%;
        padding: 14px 24px !important;
        font-size: 1.05rem !important;
    }
}

/* Die Experten-Avatare */
.hero-experts {
    display: inline-flex;
    align-items: center;
    gap: 20px; 
    margin-bottom: 40px;
    padding: 10px 30px 10px 10px; 
    border-radius: 60px;
    background-color: rgba(128, 128, 128, 0.05); 
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .hero-experts { background-color: rgba(255, 255, 255, 0.05); }

.expert-avatars { display: flex; }

.expert-avatars .avatar {
    width: 64px; 
    height: 64px;
    border-radius: 50%;
    object-fit: cover; 
    border: 4px solid var(--bg-color); 
    margin-left: -20px; 
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background-color: var(--surface-bg); 
}

.expert-avatars .avatar:first-child { margin-left: 0; z-index: 3; }
.expert-avatars .avatar:nth-child(2) { z-index: 2; }
.expert-avatars .avatar:nth-child(3) { z-index: 1; }

.expert-avatars .avatar:hover { transform: translateY(-3px); z-index: 4; }

.expert-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.expert-text {
    font-size: 1.1rem; 
    font-weight: 800;
    color: var(--text-color);
}

.expert-stars {
    color: #fbbf24; 
    font-size: 1.2rem; 
    letter-spacing: 3px;
}

/* ==========================================================================
   8. Allgemeine Container & Sections
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-header { text-align: center; margin-bottom: 40px !important; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-color); opacity: 0.8; max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   8.5 Trust Bar & Tech Stack
   ========================================================================== */
.hero-trust { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 20px; margin-top: 45px; width: 100%; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--text-color); opacity: 0.8; white-space: nowrap; }
.trust-divider { color: var(--text-color); opacity: 0.3; font-size: 1.2rem; }

.tech-stack-bar { padding: 30px 5%; background-color: var(--surface-bg); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); text-align: center; transition: background-color 0.3s ease, border-color 0.3s ease; }
body.dark-mode .tech-stack-bar { background-color: #0b0f19; border-color: rgba(255, 255, 255, 0.05); }

.tech-stack-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-color); opacity: 0.5; margin-bottom: 25px; font-weight: 700; }
body.dark-mode .tech-stack-title { color: #64748b; opacity: 1; }

.tech-stack-inner { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.tech-item { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; color: var(--text-color); letter-spacing: -0.5px; }
body.dark-mode .tech-item { color: #e2e8f0; }

.tech-icon { width: 22px; height: 22px; }
.tech-icon.python { color: #3b82f6; fill: #3b82f6; }        
.tech-icon.bigquery { color: #ef4444; fill: #ef4444; }      
.tech-icon.openai { color: #10b981; }                       
.tech-icon.semrush { color: #f97316; stroke: #f97316; }    
.tech-icon.screamingfrog { color: #a855f7; stroke: #a855f7; } 

/* ==========================================================================
   9. Zielgruppen Section (Starter vs Scale-Up)
   ========================================================================== */
.target-groups-section { padding: 60px 0 60px !important; background-color: var(--bg-color); }
.target-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.target-card { background-color: var(--surface-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 50px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; }
body.dark-mode .target-card { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.target-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--primary-color); }

.card-title { font-size: 1.6rem; font-weight: 800; margin-top: 0; margin-bottom: 15px; }
.card-desc { color: var(--text-color); opacity: 0.8; margin-bottom: 30px; min-height: 50px; }

.card-features { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.card-features li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 0.95rem; color: var(--text-color); }
.card-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #10b981; font-weight: bold; font-size: 1.1rem; }

.card-eyebrow { height: 30px; display: flex; align-items: center; margin-bottom: 20px; }
.badge-starter { background-color: #2a2a2a; color: #e2e8f0; padding: 6px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; }
.kicker-scale-up { color: var(--primary-color); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.scale-up-card { position: relative; overflow: hidden; }
.tech-focus-badge { position: absolute; top: 0; right: 0; background-color: var(--primary-color); color: #ffffff; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; padding: 6px 14px; border-bottom-left-radius: 12px; letter-spacing: 0.5px; z-index: 2; }
.scale-up-card .card-features li::before { display: none; }
.scale-up-card .card-features li { padding-left: 0; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rocket-icon { width: 18px; height: 18px; fill: var(--primary-color); flex-shrink: 0; }

.card-btn-dark { background-color: var(--primary-color); color: #ffffff !important; border: 1px solid var(--primary-color); padding: 14px 20px; border-radius: 8px; text-align: center; font-weight: 600; transition: all 0.3s ease; margin-top: auto; }
.card-btn-dark:hover { background-color: var(--accent-color); border-color: var(--accent-color); }
body.dark-mode .card-btn-dark { background-color: #1e293b; border-color: #334155; }
body.dark-mode .card-btn-dark:hover { background-color: #334155; border-color: var(--primary-color); }

/* ==========================================================================
   10. Benefits Section
   ========================================================================== */
.benefits-section { padding: 60px 0 80px !important; background-color: var(--bg-color); background-image: radial-gradient(var(--dot-color) 2px, transparent 2px); background-size: 40px 40px; border-bottom: 1px solid var(--border-color); }
.benefits-main-title { text-align: center; font-size: 2.2rem; font-weight: 800; color: var(--text-color); margin-top: 0; margin-bottom: 50px !important; letter-spacing: -0.5px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px !important; margin: 0 auto; }
.benefit-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.benefit-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; background-color: rgba(37, 99, 235, 0.1); transition: transform 0.3s ease, background-color 0.3s ease; }
body.dark-mode .benefit-icon { background-color: #1e293b; }
.b-icon { width: 28px; height: 28px; color: var(--primary-color); }
.benefit-item:hover .benefit-icon { transform: translateY(-5px) scale(1.05); }
.benefit-item h4 { font-size: 1.25rem; font-weight: 800; margin-top: 0; margin-bottom: 15px; color: var(--text-color); }
.benefit-item p { font-size: 0.95rem; color: var(--text-color); opacity: 0.7; margin: 0; line-height: 1.6; }

/* ==========================================================================
   11. Prozess Section
   ========================================================================== */
.process-section { padding: 60px 0 80px !important; background-color: var(--bg-color); background-image: radial-gradient(var(--dot-color) 2px, transparent 2px); background-size: 40px 40px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.process-step { position: relative; padding: 40px 30px; background-color: var(--surface-bg); border-radius: 12px; border: 1px solid var(--border-color); z-index: 1; display: flex; flex-direction: column; height: 100%; }
.process-step.highlight-step { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1); }
.step-number { position: absolute; top: 20px; right: 20px; font-size: 4.5rem; font-weight: 900; line-height: 1; color: rgba(37, 99, 235, 0.08); z-index: -1; }
body.dark-mode .step-number { color: #1e293b; }
.step-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 25px; color: var(--text-color); }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { position: relative; padding-left: 15px; margin-bottom: 15px; font-size: 0.9rem; color: var(--text-color); opacity: 0.8; }
.step-list li::before { content: "•"; position: absolute; left: 0; color: var(--text-color); }

/* ==========================================================================
   12. Pricing Section (Original Look)
   ========================================================================== */
.pricing-section {
    padding: 40px 0 80px !important;
    background-color: transparent; 
    position: relative;
    z-index: 10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px; 
    margin: 0 auto;
    padding: 20px 5% 0; 
    align-items: stretch;
}

.pricing-card {
    background-color: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    padding: 24px; 
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
}

.pricing-card.highlight-card {
    border: 2px solid var(--primary-color);
    transform: translateY(-16px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
    z-index: 2;
}

.pricing-card.audit-card {
    background-color: #f3f4f6; 
    border-color: #e5e7eb;
}

body.dark-mode .pricing-card.audit-card {
    background-color: #1f2937;
    border-color: #374151;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-name {
    font-size: 1.25rem; 
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.package-price {
    font-size: 1.875rem; 
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.price-blue { color: var(--primary-color); }
.price-dark { color: var(--text-color); }

.price-period {
    font-size: 0.875rem; 
    font-weight: 400;
    color: #6b7280;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.package-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.875rem; 
    color: #4b5563; 
}

body.dark-mode .package-features li { color: #d1d5db; }

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.check-blue li::before { color: var(--primary-color); }
.check-green li::before { color: #10b981; }

.pricing-card .button {
    width: 100%;
    display: block;
    text-align: center;
    padding: 8px 0; 
    border-radius: 4px; 
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* ==========================================================================
   Button Hervorhebung (Dezentes Grau statt Transparent)
   ========================================================================== */
.card-btn-secondary {
    background-color: #f1f5f9 !important; 
    border: 1px solid #e2e8f0 !important; 
    color: var(--text-color) !important;
    font-weight: 600 !important;
}

.card-btn-secondary:hover { background-color: #e2e8f0 !important; }

body.dark-mode .card-btn-secondary {
    background-color: rgba(255, 255, 255, 0.08) !important; 
    border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .card-btn-secondary:hover { background-color: rgba(255, 255, 255, 0.12) !important; }

.card-btn-outline-gray,
.card-btn-gray {
    background-color: #f1f5f9 !important; 
    border: 1px solid #e2e8f0 !important;
    color: var(--text-color) !important;
}

.card-btn-outline-gray:hover,
.card-btn-gray:hover { background-color: #e2e8f0 !important; }

body.dark-mode .card-btn-outline-gray,
body.dark-mode .card-btn-gray {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .card-btn-outline-gray:hover,
body.dark-mode .card-btn-gray:hover { background-color: rgba(255, 255, 255, 0.12) !important; }

.card-btn-blue {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 700;
    border: 1px solid var(--primary-color);
}
.card-btn-blue:hover { background-color: var(--accent-color); border-color: var(--accent-color); }

.card-btn-outline-blue {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    background-color: transparent;
}
.card-btn-outline-blue:hover { background-color: var(--primary-color); color: white !important; }

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pricing-card.highlight-card { transform: none; } 
}

@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. Team Section
   ========================================================================== */
.team-section { padding: 60px 0 80px !important; background-color: var(--bg-color); background-image: radial-gradient(var(--dot-color) 2px, transparent 2px); background-size: 40px 40px; border-bottom: 1px solid var(--border-color); }
.team-section .section-subtitle { font-style: italic; font-size: 1.15rem; max-width: 700px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto; }
.team-member { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-image { width: 180px; height: 180px; border-radius: 50%; margin-bottom: 25px; overflow: hidden; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); border: 4px solid var(--surface-bg); background-color: var(--surface-bg); transition: transform 0.3s ease, box-shadow 0.3s ease; }
body.dark-mode .team-image { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); border-color: #1e1e1e; }
.team-member:hover .team-image { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.team-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 1.4rem; font-weight: 800; margin: 0 0 5px 0; color: var(--text-color); }
.team-role { color: var(--primary-color); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.team-desc { font-size: 0.95rem; line-height: 1.7; color: var(--text-color); opacity: 0.75; margin: 0; }

/* ==========================================================================
   14. FAQ Section
   ========================================================================== */
.faq-section { padding: 100px 0 120px; background-color: #f8f9fa; }
body.dark-mode .faq-section { background-color: var(--bg-color); }
.faq-main-title { text-align: center; font-size: 2.2rem; font-weight: 800; color: var(--text-color); margin-top: 0; margin-bottom: 50px; letter-spacing: -0.5px; }
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background-color: var(--surface-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { border-color: var(--primary-color); box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 24px 30px; font-size: 1.1rem; font-weight: 800; color: var(--text-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-icon { width: 24px; height: 24px; color: var(--primary-color); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; margin-left: 15px; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.is-open .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { margin: 0; padding: 0 30px 24px; color: var(--text-color); opacity: 0.8; line-height: 1.6; font-size: 0.95rem; }

/* ==========================================================================
   15. CTA Section (Call to Action am Ende)
   ========================================================================== */
.cta-section { padding: 60px 0 60px; background-color: var(--bg-color); background-image: radial-gradient(var(--dot-color) 2px, transparent 2px); background-size: 40px 40px; }
.cta-banner { background: linear-gradient(to right, #2563eb, #8b5cf6); border-radius: 24px; padding: 50px 40px; text-align: center; box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15); max-width: 1100px !important; margin: 0 auto; position: relative; overflow: hidden; }
/* Die größere Überschrift für den Desktop */
.cta-title { 
    color: #ffffff !important; 
    font-size: 3.6rem !important; /* <-- Das !important zwingt das Theme in die Knie */
    font-weight: 900 !important; 
    margin-top: 0 !important; 
    margin-bottom: 40px !important; 
    letter-spacing: -1.5px !important; 
    line-height: 1.1 !important;
}

/* Der Airbag fürs Smartphone */
@media (max-width: 768px) {
    .cta-title { 
        font-size: 2.2rem !important; 
        margin-bottom: 30px !important; 
    }
}
.cta-btn { background-color: #ffffff; color: var(--primary-color) !important; padding: 16px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 800; display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; border: none; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); background-color: #f8f9fa; color: var(--accent-color) !important; }

/* ==========================================================================
   16. Blog (Premium Tailwind-Look für Insights)
   ========================================================================== */
.blog-hero { 
    padding: 80px 5% 40px; 
    text-align: center; 
    background-color: var(--bg-color); 
    background-image: radial-gradient(var(--dot-color) 2px, transparent 2px); 
    background-size: 40px 40px; 
    border-bottom: 1px solid var(--border-color); 
}

.blog-hero-title { 
    font-size: 2.5rem; 
    font-weight: 900; 
    margin: 0 0 15px; 
    letter-spacing: -1px; 
    color: var(--text-color); 
}

.blog-hero-subtitle { 
    font-size: 1.1rem; 
    color: var(--text-color); 
    opacity: 0.7; 
    max-width: 600px; 
    margin: 0 auto; 
}

.blog-content { 
    padding: 60px 5% 100px; 
    background-color: var(--bg-color); 
}

.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.blog-card { 
    background-color: var(--surface-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}

.blog-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15); 
    border-color: rgba(37, 99, 235, 0.3); 
}

body.dark-mode .blog-card:hover { 
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.3); 
}

.blog-card-link-wrapper { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    color: inherit; 
    text-decoration: none; 
}

.blog-card-image { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    overflow: hidden; 
    background-color: #f1f5f9; 
    border-bottom: 1px solid var(--border-color); 
}

body.dark-mode .blog-card-image { background-color: #1e293b; }

.blog-card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.blog-card:hover .blog-card-image img { 
    transform: scale(1.05); 
}

.blog-card-body { 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.blog-card-meta { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 16px; 
}

.blog-category { 
    background-color: rgba(37, 99, 235, 0.1); 
    color: var(--primary-color); 
    padding: 4px 10px; 
    border-radius: 6px; 
    font-size: 0.75rem;
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.blog-date { 
    color: var(--text-color); 
    opacity: 0.6; 
    font-size: 0.85rem;
    font-weight: 500; 
}

.blog-card-title { 
    font-size: 1.25rem; 
    font-weight: 800; 
    margin: 0 0 12px; 
    color: var(--text-color); 
    line-height: 1.4; 
}

.blog-card-excerpt { 
    font-size: 0.95rem; 
    color: var(--text-color); 
    opacity: 0.7; 
    line-height: 1.6;
    margin-bottom: 24px; 
    flex-grow: 1; 
}

.blog-card-readmore { 
    font-weight: 700; 
    font-size: 0.95rem;
    color: var(--primary-color); 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    margin-top: auto; 
    transition: transform 0.3s ease; 
}

.blog-card-readmore::after {
    content: none; 
}

.blog-card:hover .blog-card-readmore { 
    transform: translateX(4px); 
}

@media (max-width: 768px) {
    .blog-hero { padding: 60px 5% 30px; }
    .blog-hero-title { font-size: 2rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-card-body { padding: 20px; }
}

/* ==========================================================================
   16.5 Single Article (Premium Editorial Look)
   ========================================================================== */
.single-hero {
    padding: 60px 5% 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center; 
}

.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

.single-category {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.meta-divider { opacity: 0.3; }
.single-date, .single-readtime { color: var(--text-color); opacity: 0.7; }

.single-title {
    font-size: 2.8rem; 
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.05em;
    margin: 0 0 20px;
    color: var(--text-color);
}

.single-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 40px;
}

.single-hero-image {
    max-width: 900px;
    margin: 0 auto 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.single-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
}

.single-content-wrapper {
    background-color: var(--bg-color);
    padding: 0 5% 100px;
}

.entry-content {
    max-width: 700px; 
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151; 
}

body.dark-mode .entry-content { color: #d1d5db; }

.entry-content p { margin-bottom: 1.5em; }

.entry-content h2 { 
    font-size: 2rem; 
    font-weight: 800; 
    margin: 1.5em 0 1em; 
    letter-spacing: -0.025em; 
    color: var(--text-color);
}

.entry-content h3 { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin: 1.5em 0 0.8em; 
    color: var(--text-color);
}

.entry-content ul, .entry-content ol { 
    margin-bottom: 1.5em; 
    padding-left: 20px; 
}

.entry-content li { margin-bottom: 0.5em; }

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5em 0;
    font-size: 0.95rem;
    background-color: var(--surface-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.entry-content th, .entry-content td {
    border: 1px solid var(--border-color);
    padding: 16px;
    text-align: left;
}

.entry-content th {
    background-color: #f8fafc; 
    font-weight: 800;
    color: var(--text-color);
}

body.dark-mode .entry-content th { background-color: rgba(255,255,255,0.05); }

/* Die reparierte Autorenbox */
.author-box, 
.wp-block-post-author {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 40px;
    background-color: #f8fafc; 
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: flex-start; 
    gap: 30px;
}

body.dark-mode .author-box,
body.dark-mode .wp-block-post-author { 
    background-color: rgba(255, 255, 255, 0.02); 
}

.author-avatar img,
.wp-block-post-author__avatar img {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important; 
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.author-info,
.wp-block-post-author__content {
    display: flex;
    flex-direction: column;
}

.author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.author-name,
.wp-block-post-author__name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 12px 0 !important;
    color: var(--text-color);
}

.author-desc,
.wp-block-post-author__bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .single-title { font-size: 2.2rem; }
    
    .author-box, 
    .wp-block-post-author { 
        flex-direction: column; 
        text-align: center; 
        align-items: center;
        padding: 30px 20px; 
    }
    
    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ==========================================================================
   17. Modals & UI Elemente
   ========================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); z-index: 99999; display: flex !important; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; }
.modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-container { background-color: var(--surface-bg, #ffffff); border: 1px solid var(--border-color); width: 100%; max-width: 450px; border-radius: 16px; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); transform: translateY(-20px); transition: transform 0.3s ease; max-height: 90vh; overflow-y: auto; }
body.dark-mode .modal-container { background-color: #121212; border-color: #333; }
.modal-overlay.is-open .modal-container { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 15px; background: transparent; border: none; color: var(--text-color, #000); font-size: 1.5rem; cursor: pointer; opacity: 0.5; z-index: 10; }
body.dark-mode .modal-close { color: #fff; }
.modal-content { padding: 40px 30px; }
.modal-form input, .modal-form textarea { width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid var(--border-color, #ccc); background-color: rgba(128, 128, 128, 0.05); color: var(--text-color); font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; box-sizing: border-box; }

.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; background-color: var(--primary-color); color: #fff; width: 50px; height: 50px; border-radius: 50%; border: none; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s ease; z-index: 998; }
.scroll-top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Preise-Unterseite: Hero & Vergleichstabelle
   ========================================================================== */
.pricing-page-hero {
    text-align: center;
    padding: 80px 5% 40px;
}

.comparison-section {
    padding: 60px 0 100px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Responsiver Container für die Tabelle */
.comparison-container {
    width: 100%;
    max-width: 1000px; /* Hält die Tabelle in perfekten Proportionen */
    margin: 0 auto;
    overflow-x: auto; 
    padding: 20px 0;
}

.comparison-table {
    width: 100%;
    table-layout: fixed; /* WICHTIG: Erzwingt saubere, feste Spaltenbreiten! */
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--surface-bg);
    border-radius: 16px;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.08); /* Edlerer, weicherer Schatten */
    border: 1px solid var(--border-color);
}

/* Exakte Spaltenbreiten definieren */
.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) { width: 26%; }

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) { width: 37%; }

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) { width: 37%; }

/* Tabellen-Zellen: Mehr Luft zum Atmen, zartere Linien */
.comparison-table th, 
.comparison-table td {
    padding: 24px 30px; 
    text-align: left;
    border-bottom: 1px solid #f1f5f9; 
    font-size: 1rem;
    vertical-align: middle;
    line-height: 1.6;
}

/* Kein Strich unter der letzten Zeile */
.comparison-table tr:last-child td { border-bottom: none; }

/* Der Tabellen-Kopf */
.comparison-table th {
    background-color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-color);
    padding-top: 35px; /* Etwas mehr Platz nach oben für den Header */
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9; 
}

/* --- Die PowerRankers Highlight-Spalte --- */
.comparison-table .highlight-column {
    background-color: #f8fafc; /* Sehr zartes Hellgrau/Blau */
    border-left: 1px solid var(--border-color); 
    border-right: 1px solid var(--border-color); 
}

th.highlight-column {
    background-color: #f8fafc !important;
    text-align: center;
    border-top-right-radius: 16px; /* Hält die Tabellen-Rundung intakt */
}

td.highlight-column {
    font-weight: 700;
    text-align: center;
    color: var(--text-color); 
}

/* Neu: Das edle PowerRankers-Badge im Header */
.pr-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); /* Blauer Glow */
}

/* Tags für Kosten und Kündbarkeit */
.tag { padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 800; display: inline-block; }
.tag-red { background-color: #fee2e2; color: #ef4444; }
.tag-green { background-color: #dcfce7; color: #10b981; }

/* Dark Mode Anpassungen */
body.dark-mode .comparison-table {
    background-color: var(--surface-bg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
body.dark-mode .comparison-table th, 
body.dark-mode .comparison-table td { border-bottom-color: rgba(255, 255, 255, 0.05); }
body.dark-mode .comparison-table th { background-color: var(--surface-bg); border-bottom-color: rgba(255, 255, 255, 0.1); }
body.dark-mode .comparison-table .highlight-column { background-color: rgba(255, 255, 255, 0.02) !important; }
@media (max-width: 768px) {
    .comparison-table {
        min-width: 800px; 
    }
}

/* ==========================================================================
   Medical SEO Landing Page (Premium Design & Vertical Rhythm)
   ========================================================================== */

.medical-landing-page {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.text-blue { color: var(--primary-color); }

.entry-content .medical-landing-page h2,
.entry-content .medical-landing-page h3,
.entry-content .medical-landing-page h4 {
    margin-top: 0; 
}

/* ==========================================================================
   Abstände (Vertical Rhythm) - Großzügiger Whitespace
   ========================================================================== */

.medical-landing-page section,
.med-section {
    padding: 120px 5% !important; 
    max-width: 1200px;
    margin: 0 auto !important;
    width: 100%;
    box-sizing: border-box;
}

.medical-landing-page section.med-hero,
.med-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-top: 160px !important;
    padding-bottom: 120px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    max-width: 1200px;
    margin: 0 auto !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .medical-landing-page section,
    .med-section {
        padding: 80px 5% !important; 
    }
    .medical-landing-page section.med-hero,
    .med-hero {
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }
}

/* ==========================================================================
   Seitenstruktur & Layout-Fixes
   ========================================================================== */

.entry-content:has(.medical-landing-page) {
    max-width: 100% !important; 
}

.single-content-wrapper:has(.medical-landing-page) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.medical-landing-page .cta-section {
    padding-bottom: 40px !important; 
}

.med-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.med-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.med-split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text { flex: 1; }
.split-visual { flex: 1; }

.med-hero-content { flex: 1; }
.med-hero-visual { flex: 1; display: flex; justify-content: center; }

/* ==========================================================================
   Typografie & Buttons
   ========================================================================== */

.med-badge {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.med-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.med-lead {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 30px;
}

.med-btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.med-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Komponenten (Cards, Alerts, Info-Boxen)
   ========================================================================== */

.med-info-box,
.legal-alert-box {
    margin-top: 40px !important;
}

.med-info-box {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
}

body.dark-mode .med-info-box {
    background-color: rgba(37, 99, 235, 0.1);
}

.legal-alert-box {
    background-color: #fff1f2;
    border-left: 5px solid #e11d48;
    padding: 40px;
    border-radius: 0 12px 12px 0;
}

body.dark-mode .legal-alert-box {
    background-color: rgba(225, 29, 72, 0.1);
}

.legal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.legal-header h2 { color: #be123c; margin: 0; font-size: 1.8rem; }
body.dark-mode .legal-header h2 { color: #fda4af; }
.alert-icon { font-size: 2rem; }

.legal-list { margin-top: 20px; padding-left: 20px; }
.legal-list li { margin-bottom: 15px; }

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-header {
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.glass-rank {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    margin-bottom: 10px;
}

body.dark-mode .glass-rank { background-color: #0f172a; }

.rank-1 {
    background-color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

body.dark-mode .rank-1 { background-color: #1e293b; }

.rank-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #94a3b8;
}

.rank-1 .rank-number { color: var(--primary-color); }

.rank-details strong { display: block; font-size: 1.1rem; }
.rank-details span { font-size: 0.85rem; color: #64748b; }

.med-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.med-card {
    background: var(--surface-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.med-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.med-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.med-reason-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.med-reason-card:hover {
    transform: translateY(-5px);
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.med-reason-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.code-block {
    background-color: #0f172a;
    color: #38bdf8;
    padding: 24px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Tabellen & Listen
   ========================================================================== */

.med-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.med-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.med-table th, .med-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.med-table th {
    background-color: #f1f5f9;
    font-weight: 800;
}

body.dark-mode .med-table th { background-color: rgba(255, 255, 255, 0.05); }

.med-conclusion {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.med-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px; 
    margin: 0 auto;
}

.med-check-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.med-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
}

.med-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981; 
    font-weight: 900;
    font-size: 1.1rem;
}

body.dark-mode .med-check-list li::before {
    color: #34d399; 
}

/* ==========================================================================
   Journey Flowchart
   ========================================================================== */

.journey-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 20px auto;
    padding: 20px 0;
}

.flow-row {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.flow-split {
    justify-content: space-between;
    gap: 20px;
}

.flow-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 12px 0;
    line-height: 1;
}

.flow-arrow-up {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.flow-node {
    background-color: var(--surface-bg);
    border: 2px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 320px;
    transition: transform 0.2s ease;
}

.flow-node:hover {
    transform: translateY(-2px);
}

.node-start {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
}

.node-decision {
    border-color: #f59e0b; 
    background-color: rgba(245, 158, 11, 0.05);
}

.node-action {
    border-color: #8b5cf6; 
    background-color: rgba(139, 92, 246, 0.05);
}

.node-success {
    border-color: #10b981; 
    background-color: rgba(16, 185, 129, 0.05);
    color: #059669;
}

.node-fail {
    border-color: #ef4444; 
    background-color: rgba(239, 68, 68, 0.05);
    color: #dc2626;
}

.flow-loop {
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.node-loop {
    font-size: 0.9rem;
    border-color: #94a3b8;
    border-style: dashed;
    background-color: transparent;
    padding: 12px 20px;
    max-width: 280px;
}

body.dark-mode .flow-node { background-color: #1e293b; }
body.dark-mode .node-start { background-color: rgba(37, 99, 235, 0.15); color: #60a5fa; }
body.dark-mode .node-decision { background-color: rgba(245, 158, 11, 0.1); }
body.dark-mode .node-action { background-color: rgba(139, 92, 246, 0.1); }
body.dark-mode .node-success { background-color: rgba(16, 185, 129, 0.1); color: #34d399; }
body.dark-mode .node-fail { background-color: rgba(239, 68, 68, 0.1); color: #f87171; }
body.dark-mode .node-loop { background-color: transparent; border-color: #64748b; }
body.dark-mode .flow-label { color: #94a3b8; }

/* ==========================================================================
   Timeline
   ========================================================================== */

.med-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px; 
}

.med-timeline::before {
    content: '';
    position: absolute;
    left: 15px; 
    top: 10px;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

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

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

.timeline-dot {
    position: absolute;
    left: -40px; 
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--surface-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.dark-mode .timeline-dot {
    background-color: #1e293b;
}

.timeline-content {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 24px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
}

body.dark-mode .timeline-content:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 800;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
}

.timeline-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================================================
   Responsive / Mobile Anpassungen
   ========================================================================== */

@media (max-width: 900px) {
    .med-hero { flex-direction: column; text-align: center; }
    .med-hero h1 { font-size: 2.5rem; }
    .med-grid-3 { grid-template-columns: 1fr; }
    .med-split-section { flex-direction: column; }
    .legal-alert-box { padding: 24px; }
}

@media (max-width: 768px) {
    .med-reasons-grid { grid-template-columns: 1fr; }
    .med-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .flow-split {
        flex-direction: column;
        gap: 15px;
    }
    .flow-node {
        max-width: 100%;
    }
}

/* ==========================================================================
   18. Globaler Ambient Glow Background & Transparenz
   ========================================================================== */

/* Light Mode: Sehr softe, cleane Glows im Hintergrund */
body {
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 40vw),
        radial-gradient(circle at 90% 40%, rgba(139, 92, 246, 0.04) 0%, transparent 40vw) !important;
    background-attachment: fixed !important;
}

/* Dark Mode: Der satte n8n-Look mit leuchtenden Orbs */
body.dark-mode {
    background-image: 
        radial-gradient(circle at 0% 5%, rgba(37, 99, 235, 0.12) 0%, transparent 40vw),
        radial-gradient(circle at 100% 30%, rgba(139, 92, 246, 0.10) 0%, transparent 45vw),
        radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50vw) !important;
    background-attachment: fixed !important;
}

/* Standard-Sektionen transparent machen, damit Body-Glow wirkt */
.target-groups-section,
.process-section,
.team-section,
.cta-section,
.blog-content,
.single-content-wrapper,
.medical-landing-page {
    background-color: transparent !important;
}

/* Die hellgrauen Standard-Sektionen (Tech-Stack, Benefits etc.) */
.tech-stack-bar,
.benefits-section,
.pricing-section,
.blog-hero {
    background-color: var(--bg-color) !important; 
}

body.dark-mode .tech-stack-bar,
body.dark-mode .benefits-section,
body.dark-mode .pricing-section,
body.dark-mode .faq-section,
body.dark-mode .blog-hero {
    background-color: rgba(255, 255, 255, 0.02) !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   19. Premium Glassmorphism "Box" Sektionen (.bg-light)
   ========================================================================== */

/* Light Mode: Milchglas-Box mit weichen Ecken */
.med-section.bg-light {
    background-color: rgba(255, 255, 255, 0.6) !important; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important; 
    border-radius: 24px; 
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05); 
    margin-top: 40px; 
    margin-bottom: 40px;
}

/* Dark Mode: N8n-Style Deep Glass */
body.dark-mode .med-section.bg-light {
    background-color: rgba(255, 255, 255, 0.03) !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4); 
}

/* ==========================================================================
   20. Mobile Media Queries (Alle Fixes gebündelt)
   ========================================================================== */

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .process-grid { grid-template-columns: 1fr; max-width: 500px; }
}

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: 1fr; gap: 50px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    
    /* Header Dropdown Menü für Mobile (Animiert & Milchglas) */
    .header-center-nav { 
        display: flex !important; 
        flex-direction: column;
        position: absolute; 
        top: 70px; 
        left: 0; 
        width: 100%; 
        
        /* Milchglas-Effekt */
        background-color: rgba(255, 255, 255, 0.85); 
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        
        border-bottom: 1px solid var(--border-color); 
        box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
        padding: 10px 0; 
        z-index: 9998; 

        /* Start-Zustand (Versteckt & leicht nach oben verschoben) */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        pointer-events: none; 
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
    }

    /* Dark Mode Milchglas für Mobile Menü */
    body.dark-mode .header-center-nav {
        background-color: rgba(10, 10, 10, 0.85);
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    }

    /* Der aktive, sichtbare Zustand (sanftes Heruntergleiten) */
    .header-center-nav.is-active { 
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .header-center-nav ul { flex-direction: column; width: 100%; gap: 0; }
    
    .header-center-nav li a { 
        padding: 15px 5%; 
        font-size: 1.1rem; 
        display: block; 
        border-bottom: 1px solid var(--border-color); 
        background: transparent; 
    }
    
    .menu-toggle { display: block !important; } 

    /* Animation: Hamburger zu "X" beim Ausklappen */
    .menu-toggle.is-active .hamburger-inner { background-color: transparent !important; }
    .menu-toggle.is-active .hamburger-inner::before { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .hamburger-inner::after { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 800px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; align-items: stretch; }
    .footer-columns { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .tech-stack-inner { gap: 25px; }
    .cta-banner { padding: 60px 20px; }
    .scroll-top-btn { bottom: 20px; right: 20px; width: 45px; height: 45px; }

    /* Saubere, feste Abstände für die Medical-Landingpages auf dem Handy */
    .med-hero,
    .med-section {
        padding: 40px 24px; 
    }

    .med-split-section {
        flex-direction: column;
        gap: 30px; 
    }
    
    .med-section-header {
        margin-bottom: 30px;
    }

    .med-btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 20px !important;
        font-size: 1.05rem !important;
        box-sizing: border-box;
        border-radius: 12px !important;
    }
    
    /* Mobile Fix für die schwebenden Boxen */
    .med-section.bg-light {
        border-radius: 16px; 
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Der finale Original Mobile-Look */
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-direction: column; gap: 15px; margin-top: 35px; }
    .trust-divider { display: none; }
    
    /* 1. Header & Button */
    .header-actions { gap: 10px !important; }
    .header-cta.button { padding: 8px 14px !important; font-size: 0 !important; }
    .header-cta.button::after { content: "Analyse"; font-size: 0.85rem; font-weight: bold; }

    /* 2. Weniger Whitespace im Hero-Bereich */
    .hero-section { padding: 50px 5% 60px !important; }
    .hero-badge { margin-bottom: 20px !important; }
    .hero-title { margin-bottom: 15px !important; font-size: 2.3rem !important; }
    .hero-subtitle { margin-bottom: 35px !important; font-size: 1.05rem !important; }

    /* 3. Experten-Layout */
    .hero-experts { flex-direction: column !important; background-color: transparent !important; border: none !important; padding: 0 !important; gap: 8px !important; margin-bottom: 35px !important; }
    body.dark-mode .hero-experts { background-color: transparent !important; }
    .expert-avatars { justify-content: center; }
    .expert-avatars .avatar { width: 56px !important; height: 56px !important; margin-left: -15px !important; border-width: 3px !important; }
    .expert-rating { align-items: center !important; }
    .expert-text { font-size: 1.05rem !important; }
    .expert-stars { font-size: 1.2rem !important; }
}

/* Compact Spacing for Mobile (Phone) View (<= 600px) */
@media (max-width: 600px) {
    section { padding: 50px 0 !important; }
    .hero-section { padding: 80px 5% 60px !important; }
    .hero-section h1 { margin-bottom: 20px !important; line-height: 1.2 !important; }
    .hero-section .hero-subtitle { margin-bottom: 30px !important; }
    .hero-experts { margin-top: 30px !important; margin-bottom: 30px !important; }
    .tech-stack-bar { padding: 30px 5% !important; }
    .tech-stack-bar p { margin-bottom: 15px !important; }
    .process-grid { gap: 15px !important; }
    .process-step { padding: 20px !important; }
    .process-step .step-number { font-size: 3rem !important; }
    .pricing-section .section-header { margin-bottom: 30px !important; }
    .pricing-grid { gap: 15px !important; }
    .pricing-card { padding: 20px !important; }
    .package-price { font-size: 2rem !important; margin-bottom: 15px !important; }
    .faq-accordion { gap: 10px !important; }
    .faq-item { padding: 15px !important; }
    .faq-question { padding: 0 !important; margin-bottom: 10px !important; }
    .faq-answer-inner p { padding: 0 !important; }
    .faq-answer-wrapper { margin-top: 10px !important; }
    .site-footer { padding: 40px 5% 20px !important; margin-top: 60px !important; }
    .footer-columns { gap: 20px !important; }
}
/* ==========================================================================
   Vergleichstabelle (Glassmorphism Upgrade)
   ========================================================================== */

/* 1. Die Sektion selbst wird zur schwebenden Glas-Karte */
/* 1. Die Sektion selbst wird zur schwebenden Glas-Karte */
.comparison-section.bg-light {
    max-width: 1200px;
    margin: 80px auto 20px auto; 
    padding: 30px 5% 40px 5%; /* <-- HIER: Oben 30px, Unten 40px (vorher 60px) */
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Dark Mode für die Glas-Karte */
body.dark-mode .comparison-section.bg-light {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* 2. Der innere Tabellen-Container (milchig statt hartweiß) */
.comparison-container {
    max-width: 1050px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    
    /* Desktop: Verhindert den Scrollbalken (ohne aggressives !important) */
    overflow-x: hidden; 
}

body.dark-mode .comparison-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.comparison-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: left;
    margin: 0 !important;
}

/* Exakte Spaltenbreiten (Optimiert für besseren Textfluss) */
.comparison-table th:nth-child(1) { width: 18%; } /* Feature-Spalte kann schmaler sein */
.comparison-table th:nth-child(2) { width: 28%; }
.comparison-table th:nth-child(3) { width: 29%; } /* Inhouse hat am meisten Text */
.comparison-table th:nth-child(4) { width: 25%; } /* PowerRankers bekommt deutlich mehr Luft */

/* Tabellen-Zellen (farblich an Glas angepasst) */
.comparison-table th,
.comparison-table td {
    padding: 10px 16px; /* <-- Deutlich schmaler und flacher */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: top;
    line-height: 1.4; /* Etwas engerer Textfluss */
	font-size: 0.75rem !important;
}

.comparison-table th:last-child,
.comparison-table td:last-child { border-right: none; }
.comparison-table tr:last-child td { border-bottom: none; }

/* Der Tabellen-Kopf */
.comparison-table th {
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #1e293b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-right-color: rgba(0, 0, 0, 0.08);
}

/* --- Die PowerRankers Spalte (Highlight) --- */
.comparison-table th.pr-highlight {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.comparison-table td.pr-highlight {
    background-color: rgba(37, 99, 235, 0.02);
    font-weight: 700;
    color: #0f172a;
}

/* Textfarben */
.table-text-red { color: #ef4444 !important; }
.table-text-green { color: #10b981 !important; }

/* Full-Width Fix */
.entry-content:has(.comparison-section) { max-width: 100% !important; }

/* Dark Mode Fixes für Linien und Texte */
body.dark-mode .comparison-table th,
body.dark-mode .comparison-table td {
    border-bottom-color: rgba(255,255,255,0.05);
    border-right-color: rgba(255,255,255,0.05);
}
body.dark-mode .comparison-table th {
    color: #f8fafc;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-right-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .comparison-table th.pr-highlight { background-color: rgba(37, 99, 235, 0.15); color: #60a5fa; }
body.dark-mode .comparison-table td.pr-highlight { background-color: rgba(255,255,255,0.01); color: #e2e8f0; }

/* ==========================================================================
   Preistabellen NUR für SEO-Preise Unterseite (Rankling, Rankster, Ranklord)
   ========================================================================== */
.seo-pricing-section {
    padding: 40px 0 100px 0;
    background: transparent; /* Verhindert jegliche ungewollte Box vom Theme */
}

.seo-pricing-container {
    max-width: 1200px; /* Sehr breit, damit die 3 Spalten atmen können */
    margin: 0 auto;
    padding: 0 20px;
}

.seo-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
    align-items: start;
    margin-top: 50px;
}

/* Das Design der einzelnen Karten */
.seo-pricing-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px 24px; /* <-- Reduziert von 40px 30px */
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Die mittlere Bestseller-Karte */
.seo-pricing-card.seo-highlight-card {
    border: 2px solid #2563eb;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    transform: translateY(-15px);
}

.seo-badge-bestseller {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563eb;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Typografie (Deutlich reduzierte Margins) */
.seo-package-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; color: #0f172a; }
.seo-package-desc { font-size: 0.85rem; color: #64748b; margin-bottom: 15px; } /* <-- Reduziert von 25px */
.seo-package-price { font-size: 2.5rem; font-weight: 900; color: #0f172a; margin-bottom: 2px; line-height: 1; }
.seo-package-price.text-blue { color: #2563eb; }
.seo-price-suffix { font-size: 1rem; font-weight: 500; color: #64748b; }
.seo-tax-note { font-size: 0.75rem; color: #94a3b8; margin-bottom: 20px; } /* <-- Reduziert von 35px */

/* Feature-Liste (Kompakterer Zeilenabstand) */
.seo-package-features { list-style: none; padding: 0; margin: 0 0 25px 0; flex-grow: 1; } /* <-- Reduziert von 40px */
.seo-package-features li { 
    padding: 8px 0; /* <-- Reduziert von 12px 0 */
    border-bottom: 1px solid #f8fafc; 
    font-size: 0.9rem; 
    color: #475569; 
    display: flex; 
    align-items: flex-start; 
    line-height: 1.4; 
}
.seo-package-features li:last-child { border-bottom: none; }
.seo-package-features li::before { content: "✓"; color: #10b981; font-weight: bold; margin-right: 10px; font-size: 1rem; }

/* Buttons */
.seo-btn-primary, .seo-btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* Primary Button (Blau) */
.seo-btn-primary { background-color: #2563eb; color: #ffffff !important; box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4); }
.seo-btn-primary:hover { background-color: #1d4ed8; transform: translateY(-2px); }

/* Secondary Button (Hellgrau gefüllt) */
.seo-btn-secondary { background-color: #f1f5f9; color: #0f172a !important; border: 1px solid #e2e8f0; }
.seo-btn-secondary:hover { border-color: #cbd5e1; background-color: #e2e8f0; }

/* Responsive */
@media (max-width: 900px) {
    .seo-pricing-grid { grid-template-columns: 1fr; gap: 30px; }
    .seo-pricing-card.seo-highlight-card { transform: none; }
}

/* Dark Mode */
body.dark-mode .seo-pricing-card { background-color: var(--surface-bg); border-color: #333; }
body.dark-mode .seo-package-name, body.dark-mode .seo-package-price { color: #f8fafc; }
body.dark-mode .seo-btn-secondary { color: #f8fafc !important; border-color: #444; }

/* ==========================================================================
   Pain-Point Feature Blocks (Kompakt & Modernes SaaS-Layout)
   ========================================================================== */
.pr-compare-section {
    padding: 40px 20px; /* Deutlich weniger Freiraum oben/unten */
    max-width: 900px; /* Etwas schmaler zentriert den Fokus */
    margin: 0 auto;
}

.pr-compare-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Blöcke rücken viel enger zusammen (vorher 24px) */
}

/* Die Haupt-Karte für jedes Feature */
.pr-compare-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px; /* Schön schmaler Innenabstand */
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pr-compare-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* Die Überschrift */
.pr-compare-title {
    font-size: 1.1rem; 
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0 !important; /* <-- Zwingt den Abstand nach oben und unten in ein festes Korsett */
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.2;
}

/* Der Container für die 3 Anbieter */
.pr-compare-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; 
    margin: 0 !important; /* <-- Blockiert unsichtbare WordPress-Absätze am Ende */
    padding: 0 !important;
}

/* Eine einzelne Box */
.pr-detail-item {
    background: #f8fafc;
    padding: 12px 16px; /* Flacher und schlanker */
    border-radius: 8px; /* Kleinere Rundung */
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Label und Text fast bündig */
    justify-content: center;
}

/* Die PowerRankers Highlight-Box */
.pr-detail-item.highlight {
    background: #eff6ff; 
    border: 1px solid #93c5fd; /* Filigranerer, aber präsenter Rand */
}

.pr-detail-label {
    font-size: 0.7rem; /* Kleiner, wie ein feines Dashboard-Label */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
}

.pr-detail-item.highlight .pr-detail-label {
    color: #2563eb; 
}

.pr-detail-text {
    font-size: 0.85rem; /* Knackiger Lesetext */
    color: #334155;
    line-height: 1.3;
}

.pr-detail-item.highlight .pr-detail-text {
    color: #1e3a8a;
    font-weight: 700;
}

/* Textfarben */
.text-red { color: #ef4444; font-weight: 600; }
.text-green { color: #10b981; font-weight: 600; }

/* ==========================================================================
   Mobile Anpassung: Maximale Kompaktheit
   ========================================================================== */
@media (max-width: 768px) {
    .pr-compare-block {
        padding: 16px; /* Sehr schmaler Rand auf Handys */
    }
    .pr-compare-details {
        grid-template-columns: 1fr;
        gap: 8px; /* Boxen stapeln sich fast nahtlos */
    }
    .pr-detail-item {
        padding: 10px 14px; /* Noch flacher auf Mobile */
    }
    .pr-detail-item.highlight {
        order: 3;
        margin-top: 4px; 
    }
}

/* Dark Mode Ergänzung */
body.dark-mode .pr-compare-block { background: var(--surface-bg); border-color: #333; }
body.dark-mode .pr-compare-title { color: #f8fafc; border-bottom-color: rgba(255,255,255,0.05); }
body.dark-mode .pr-detail-item { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.05); }
body.dark-mode .pr-detail-item.highlight { background: rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.3); }
body.dark-mode .pr-detail-item.highlight .pr-detail-text { color: #60a5fa; }
body.dark-mode .pr-detail-text { color: #e2e8f0; }

/* ==========================================================================
   Full-Width Fix (Befreit die Sektionen aus dem engen 700px WordPress-Container)
   ========================================================================== */
.entry-content:has(.pr-compare-section),
.entry-content:has(.seo-pricing-section),
.entry-content:has(.pr-time-examples-section),
.entry-content:has(.pr-strategy-section),
.entry-content:has(.faq-section),
.entry-content:has(.cta-section) { /* <-- CTA als krönender Abschluss hinzugefügt! */
    max-width: 100% !important; 
    padding-left: 0 !important;
    padding-right: 0 !important;
} 

/* ==========================================================================
   "Was passt in einen Monat" (Time Examples) Sektion
   ========================================================================== */
.pr-time-examples-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pr-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* Die Karten-Basis */
.pr-time-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

/* Die Highlight-Karte (Rankster) */
.pr-time-card.highlight {
    background: #f4f8ff; /* Sehr zartes Blau */
    border: 1px solid #bfdbfe;
}

/* Der Headerbereich jeder Karte (Badge + Stunden) */
.pr-time-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.pr-time-card.highlight .pr-time-header {
    border-bottom-color: #dbeafe;
}

/* Die Stundenanzeige */
.pr-time-hours {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

/* Die Badges (Labels) */
.pr-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pr-badge-rankling { background: #f1f5f9; color: #475569; }
.pr-badge-rankster { background: #2563eb; color: #ffffff; }
.pr-badge-ranklord { background: #1e293b; color: #ffffff; }

/* Die Listen (Features) */
.pr-time-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pr-time-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.pr-time-features li:last-child {
    margin-bottom: 0;
}

/* Die blauen Icons */
.pr-time-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #2563eb; /* PowerRankers Blau */
    margin-top: 2px; /* Leicht nach unten, damit es mit dem Text zentriert ist */
}

/* Der Text in der Liste */
.pr-time-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

/* Zwingt WordPress, hier keine P-Tags aufzublähen */
.pr-time-text p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive (Mobile) */
@media (max-width: 900px) {
    .pr-time-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Dark Mode Fixes */
body.dark-mode .pr-time-card { background: var(--surface-bg); border-color: #333; }
body.dark-mode .pr-time-card.highlight { background: rgba(37,99,235,0.05); border-color: rgba(37,99,235,0.3); }
body.dark-mode .pr-time-hours { color: #f8fafc; }
body.dark-mode .pr-time-text strong { color: #e2e8f0; }
body.dark-mode .pr-time-text p { color: #94a3b8; }
body.dark-mode .pr-time-header { border-bottom-color: rgba(255,255,255,0.05); }

/* ==========================================================================
   Individuelle Strategie Sektion
   ========================================================================== */
.pr-strategy-section {
    padding: 80px 20px;
    max-width: 1000px; /* Perfekte Breite für 3 Karten */
    margin: 0 auto;
}

/* Der obere Text-Bereich */
.pr-strategy-header {
    text-align: center;
    max-width: 800px; /* Text etwas schmaler halten für besseren Lesefluss */
    margin: 0 auto 50px auto;
}

/* Der blaue Fingerabdruck-Kreis */
.pr-strategy-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #eff6ff; /* Zartes Blau */
    color: #2563eb; /* PowerRankers Blau */
    border-radius: 50%;
    margin-bottom: 24px;
}

.pr-strategy-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.5px;
}

.pr-strategy-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px 0 !important;
}

.pr-strategy-text p:last-child {
    margin-bottom: 0 !important;
}

.pr-strategy-text strong {
    color: #0f172a;
    font-weight: 700;
}

/* Das 3-Spalten Grid unten */
.pr-strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Die weißen Karten */
.pr-strategy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pr-strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.pr-strategy-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0 !important;
}

.pr-strategy-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 !important;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .pr-strategy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pr-strategy-title {
        font-size: 1.8rem;
    }
}

/* Dark Mode Fixes */
body.dark-mode .pr-strategy-icon-wrapper { background: rgba(37,99,235,0.15); color: #60a5fa; }
body.dark-mode .pr-strategy-title, body.dark-mode .pr-strategy-text strong, body.dark-mode .pr-strategy-card h4 { color: #f8fafc; }
body.dark-mode .pr-strategy-text p, body.dark-mode .pr-strategy-card p { color: #94a3b8; }
body.dark-mode .pr-strategy-card { background: var(--surface-bg); border-color: #333; }

/* ==========================================================================
   FAQ Hintergrund Fix (Zwingt die Sektion in die Transparenz)
   ========================================================================== */
.faq-section {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Verhindert doppelte Hintergründe im Dark Mode */
body.dark-mode .faq-section {
    background-color: transparent !important;
    border: none !important;
}
/* ==========================================================================
   Globale Abstands-Korrektur (Zieht die Sektionen auf der Seite zusammen)
   ========================================================================== */

/* 1. Vergleich-Sektion (Warum Agenturen ausgedient haben) */
.pr-compare-section {
    padding: 40px 20px 20px 20px !important; 
}

/* 2. Preis-Karten (Wähle deine Geschwindigkeit) */
.seo-pricing-section {
    padding: 20px 0 40px 0 !important; /* Hier war vorher 100px Abstand nach unten! */
}

/* 3. Stunden-Beispiele (Was passt in einen Monat) */
.pr-time-examples-section {
    padding: 40px 20px !important; /* Vorher 60px */
}

/* 4. Strategie-Sektion (Standardisierter Preis) */
.pr-strategy-section {
    padding: 40px 20px !important; /* Vorher 80px */
}

/* 5. FAQ-Sektion */
.faq-section {
    padding: 40px 0 80px 0 !important; /* Vorher extrem große 100px und 120px */
}

/* 7. WordPress-Geisterabstände killen */
.entry-content:has(.pr-compare-section) section,
.pr-compare-wrapper,
.pr-time-grid {
    margin-bottom: 0 !important; 
}

/* ==========================================================================
   DARK MODE KONTRAST-FIXES (Buttons, Labels & Badges)
   ========================================================================== */

/* 1. Pricing: Die strahlend weißen "Kaufen"-Buttons elegant abdunkeln */
body.dark-mode .seo-btn-secondary {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .seo-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* 2. Pain-Points: Kleine Labels ("Klassische Agentur") aufhellen */
body.dark-mode .pr-detail-label {
    color: #94a3b8 !important; /* Ein gut lesbares, helles Blaugrau */
}

/* 3. Stunden-Beispiele: Das "Rankling" Badge lesbar machen */
body.dark-mode .pr-badge-rankling {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

/* 4. FAQ: Die Kästen ganz leicht vom tiefschwarzen Hintergrund abheben */
body.dark-mode .faq-item {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .faq-question {
    color: #f8fafc !important;
}

body.dark-mode .faq-answer-inner p {
    color: #cbd5e1 !important;
}/* 5. Stunden-Beispiele: Die Trennlinie in der Highlight-Karte (Rankster) abdunkeln */
body.dark-mode .pr-time-card.highlight .pr-time-header {
    border-bottom-color: rgba(37, 99, 235, 0.3) !important;
}
/* 6. Preistabellen: Feature-Listen und Subtexte perfekt abstimmen */
body.dark-mode .seo-package-features li {
    color: #cbd5e1 !important; /* Strahlend helles Grau für beste Lesbarkeit */
    border-bottom-color: rgba(255, 255, 255, 0.05) !important; /* Sehr dezente, abgedunkelte Trennlinien */
}

/* Die kleinen Zusatztexte (Beschreibung, "zzgl. MwSt.", "/mtl.") aufhellen */
body.dark-mode .seo-package-desc,
body.dark-mode .seo-tax-note,
body.dark-mode .seo-price-suffix {
    color: #94a3b8 !important; /* Ein weiches, gut lesbares Blaugrau */
}
/* ==========================================================================
   Mobile Fixes (Global)
   ========================================================================== */

/* Sorgt für einen sauberen Abstand an den Bildschirmrändern auf Handys */
@media (max-width: 768px) {
    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    /* Falls die Hero-Sektion auf der Ärzte-Seite eine eigene Klasse ohne Container hat: */
    .med-hero-section, 
    .entry-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}
/* ==========================================================================
   Mobile Fixes: SEO für Ärzte Hero-Sektion
   ========================================================================== */
@media (max-width: 768px) {
    .med-hero-content,
    .med-hero-visual {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important; /* Verhindert, dass das Padding die Box breiter als den Bildschirm macht */
    }
}
/* ==========================================================================
   AI Agenten Landingpage (Tech-Styling)
   ========================================================================== */

/* ==========================================================================
   AI Agenten Landingpage (Vollbild-Hintergrund Fix)
   ========================================================================== */

/* 1. Hauptcontainer: Nur als Ankerpunkt für den Hintergrund */
.agents-landing-page {
    position: relative;
    z-index: 1; 
    background: transparent !important; /* Löscht den alten weißen Kasten */
}

/* 2. Die unsichtbare Leinwand (Light Mode) */
.agents-landing-page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw); /* Zentriert den Hintergrund exakt auf Bildschirmmitte */
    width: 100vw; /* Volle Bildschirmbreite */
    z-index: -1; /* Legt das Grid hinter deine Texte und Boxen */
    
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 3. Die unsichtbare Leinwand (Dark Mode - ganz wichtig!) */
body.dark-mode .agents-landing-page::before {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Badges */
.tech-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.tech-badge.green { background-color: #ecfdf5; color: #10b981; border: 1px solid #a7f3d0; }
.tech-badge.blue { background-color: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.status-badge { float: right; font-size: 0.65rem; padding: 4px 10px; border-radius: 4px; background: #ecfdf5; color: #10b981; border: 1px solid #a7f3d0; text-transform: uppercase; font-weight: bold; }

/* Terminal Fenster Mockup */
.terminal-window {
    background-color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: left;
    margin: 40px auto;
    max-width: 700px;
    border: 1px solid #334155;
}
.terminal-header {
    background-color: #1e293b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #334155;
}
.mac-dots { display: flex; gap: 8px; }
.mac-dots span { width: 12px; height: 12px; border-radius: 50%; }
.mac-dots .red { background-color: #ef4444; }
.mac-dots .yellow { background-color: #f59e0b; }
.mac-dots .green { background-color: #10b981; }
.terminal-title { margin: 0 auto; color: #94a3b8; font-size: 0.8rem; font-family: monospace; transform: translateX(-24px); }
.terminal-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}
.terminal-body .cmd { color: #10b981; }
.terminal-body .sys { color: #38bdf8; }
.terminal-body .err { color: #ef4444; }

/* Spezifische Layout-Anpassungen */
.agents-hero { padding: 120px 20px 60px; text-align: center; }
.agents-hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.agents-hero p { max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; color: #475569; }

.tech-stack-banner { display: flex; justify-content: center; gap: 40px; padding: 40px 20px; flex-wrap: wrap; color: #64748b; font-weight: 600; font-size: 0.9rem; }
.tech-stack-banner span { display: flex; align-items: center; gap: 8px; }

.split-section { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 100px auto; padding: 0 20px; }
.split-text { flex: 1; }
.split-visual { flex: 1; }

.agent-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.agent-tags span { background: #1e293b; color: #f8fafc; font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; }

@media (max-width: 900px) {
    .split-section { flex-direction: column; }
    .agents-hero h1 { font-size: 2.5rem; }
}
/* ==========================================================================
   Dark Mode Fixes: Autonome SEO-Flotte
   ========================================================================== */

/* 1. Die Badges (Active, System Operational, Human in the Loop) */
body.dark-mode .tech-badge.green,
body.dark-mode .status-badge {
    background-color: rgba(16, 185, 129, 0.1); /* Transparentes Grün */
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399; /* Helleres Grün für starken Kontrast */
}

body.dark-mode .tech-badge.blue {
    background-color: rgba(37, 99, 235, 0.1); /* Transparentes Blau */
    border-color: rgba(37, 99, 235, 0.2);
    color: #60a5fa; /* Helleres Blau */
}

/* 2. Tech Stack Banner (Die Icons & Texte unter dem Hero) */
body.dark-mode .tech-stack-banner {
    color: #cbd5e1; /* Strahlenderes Silbergrau, damit es nicht absäuft */
}

/* 3. Textfarben (Hero Beschreibung & Split-Section) */
body.dark-mode .agents-hero p,
body.dark-mode .split-text p {
    color: #94a3b8; /* Angenehmes Hellgrau für perfekte Lesbarkeit */
}

/* 4. Secondary Buttons (z.B. "Zu den Agenten" & die grauen Buttons in der Preis-Tabelle) */
body.dark-mode .seo-btn-secondary {
    background-color: rgba(255, 255, 255, 0.05); /* Sehr edles, leicht durchlässiges Dunkelgrau */
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc !important;
}

body.dark-mode .seo-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
/* ==========================================================================
   Agenten-Karten Detail-Styling (Icon-Reihe & Capabilities)
   ========================================================================== */

/* Kopfzeile der Karte (Icon links, Badge rechts) */
.agent-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Die farbigen Boxen um die Emojis */
.agent-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
}
.agent-icon.icon-blue { background-color: #dbeafe; }   /* Hellblau */
.agent-icon.icon-purple { background-color: #f3e8ff; } /* Helllila */
.agent-icon.icon-orange { background-color: #ffedd5; } /* Hellorange */

/* Der untere Bereich mit Trennlinie und Tags */
.agent-capabilities {
    margin-top: auto; /* Drückt den Block immer ganz nach unten */
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.cap-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 12px;
    font-family: monospace; /* Gibt dem Label diesen techy Code-Look */
}

/* Dark Mode Anpassungen für die neuen Elemente */
body.dark-mode .agent-icon.icon-blue { 
    background-color: rgba(37, 99, 235, 0.2); 
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 20px rgba(96, 165, 250, 0.4); /* Erzeugt einen hellen Glow hinter dem schwarzen Emoji */
}
body.dark-mode .agent-icon.icon-purple { background-color: rgba(147, 51, 234, 0.2); }
body.dark-mode .agent-icon.icon-orange { background-color: rgba(234, 88, 12, 0.2); }
body.dark-mode .agent-capabilities { border-top-color: rgba(255, 255, 255, 0.1); }
/* Zwingt störrische Emojis im Dark Mode zum Leuchten */
body.dark-mode .emoji-glow {
    display: inline-block;
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0px 0px 12px rgba(96, 165, 250, 0.6));
}
/* ==========================================================================
   Agenten-Karten Hover Glow-Effekte (Individuelle Farben)
   ========================================================================== */

/* Weiche Animation für das Anheben und Leuchten */
#agents .seo-pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 1. Agent (Tech - Blau) */
#agents .seo-pricing-grid .seo-pricing-card:nth-child(1):hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.4);
}

/* 2. Agent (Content - Lila) */
#agents .seo-pricing-grid .seo-pricing-card:nth-child(2):hover {
    transform: translateY(-10px);
    border-color: #a855f7;
    box-shadow: 0 15px 40px -10px rgba(168, 85, 247, 0.4);
}

/* 3. Agent (LLM - Orange) */
#agents .seo-pricing-grid .seo-pricing-card:nth-child(3):hover {
    transform: translateY(-10px);
    border-color: #f97316;
    box-shadow: 0 15px 40px -10px rgba(249, 115, 22, 0.4);
}

/* --- Dark Mode Anpassungen für den Glow --- */
/* Im Dark Mode darf das Leuchten noch etwas intensiver wirken */
body.dark-mode #agents .seo-pricing-grid .seo-pricing-card:nth-child(1):hover {
    border-color: #60a5fa;
    box-shadow: 0 15px 50px -15px rgba(96, 165, 250, 0.5), 0 0 15px rgba(96, 165, 250, 0.1) inset;
}

body.dark-mode #agents .seo-pricing-grid .seo-pricing-card:nth-child(2):hover {
    border-color: #c084fc;
    box-shadow: 0 15px 50px -15px rgba(192, 132, 252, 0.5), 0 0 15px rgba(192, 132, 252, 0.1) inset;
}

body.dark-mode #agents .seo-pricing-grid .seo-pricing-card:nth-child(3):hover {
    border-color: #fb923c;
    box-shadow: 0 15px 50px -15px rgba(251, 146, 60, 0.5), 0 0 15px rgba(251, 146, 60, 0.1) inset;
}
/* ==========================================================================
   Human in the Loop Sektion (Listen & Metrics Terminal)
   ========================================================================== */

/* Die blaue Checkmark-Liste */
.human-loop-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.human-loop-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
}

.human-loop-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb; /* PowerRankers Blau */
    color: #ffffff;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px; /* Richtet den Kreis perfekt an der ersten Textzeile aus */
}

/* Das dunkle Metrics-Terminal ohne Mac-Punkte */
.metrics-window {
    background-color: #050505;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: #94a3b8;
    border: 1px solid #1e293b;
    margin: 0 auto;
    max-width: 500px;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #1e293b;
}

.metrics-header .live-status { 
    color: #22c55e; /* Grün */
}

.metrics-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

/* Farben für die Werte im Terminal */
.val-yellow { color: #eab308; }
.val-green { color: #22c55e; }
.val-blue { color: #3b82f6; }

/* Dark Mode Anpassungen */
body.dark-mode .human-loop-list li { color: #cbd5e1; }

/* ==========================================================================
   Human in the Loop - Badge (Light & Dark Mode)
   ========================================================================== */

.human-loop-badge {
    display: inline-block; 
    background-color: #eff6ff; 
    border: 1px solid #bfdbfe; 
    color: #2563eb; 
    text-transform: uppercase; 
    font-weight: 600; 
    letter-spacing: 1px; 
    font-size: 0.75rem; 
    border-radius: 4px; 
    padding: 6px 12px; 
    margin-bottom: 8px; /* Unser angepasster, knapper Abstand zur Überschrift */
}

/* Dark Mode Version (leicht transparent für den edlen Tech-Look) */
body.dark-mode .human-loop-badge {
    background-color: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}
/* ==========================================================================
   Premium Video Testimonial (Lazy Load / Facade)
   ========================================================================== */

.testimonial-video-section {
    /* Nutzt unser neues, großzügiges Padding */
    padding: 120px 5% !important;
    max-width: 1200px;
    margin: 0 auto !important;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.testimonial-text-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.testimonial-author {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 30px;
}

body.dark-mode .testimonial-author {
    color: #94a3b8;
}

/* Video Wrapper (Zwingt das Video immer in ein perfektes 16:9 Format) */
.video-facade-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: #0f172a; /* Dunkler Hintergrund, falls das Bild lädt */
    cursor: pointer;
    border: 1px solid var(--border-color, #e2e8f0);
}

body.dark-mode .video-facade-wrapper {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Das Vorschaubild */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert Verzerrungen */
    opacity: 0.7; /* Leicht abgedunkelt, damit der Play-Button knallt */
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.video-facade-wrapper:hover .video-thumbnail {
    opacity: 0.4;
    transform: scale(1.02); /* Leichter Zoom beim Hover */
}

/* Der animierte Play-Button */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-color, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
    z-index: 2;
}

/* Der pulsierende Ring hinter dem Button */
.play-button-overlay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color, #2563eb);
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

.video-facade-wrapper:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #1d4ed8;
}

.play-icon {
    color: white;
    font-size: 30px;
    margin-left: 6px; /* Optischer Ausgleich, damit das Dreieck mittig wirkt */
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Der echte Iframe (wird per JavaScript eingefügt) */
/* Video Wrapper (Vertikal 9:16 - Smartphone Look) */
.video-facade-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px; /* Verhindert, dass das Video auf großen Bildschirmen gigantisch wird */
    margin: 0 auto; /* Zentriert das "Handy" in der rechten Spalte */
    padding-bottom: 130%; 
    border-radius: 24px; /* Etwas runder, damit es wie ein echtes Smartphone wirkt */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: #0f172a;
    cursor: pointer;
    border: 8px solid #1e293b; /* Simuliert einen edlen Smartphone-Rahmen */
}

body.dark-mode .video-facade-wrapper {
    border-color: #0f172a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Mobile Anpassung */
@media (max-width: 900px) {
    .testimonial-video-section {
        padding: 80px 5% !important;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .testimonial-text-content {
        text-align: center;
    }
    .play-button-overlay {
        width: 60px;
        height: 60px;
    }
    .play-icon {
        font-size: 20px;
        margin-left: 4px;
    }
}

/* Zwingt den YouTube-Player, den gesamten vertikalen Rahmen perfekt auszufüllen */
.video-facade-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 16px; /* Passt das Video weich an die runden Ecken des Rahmens an */
}
/* ==========================================================================
   FAQ Abstands-Fix (Handwerker Landingpage)
   ========================================================================== */
.craftsman-landing-page .faq-section {
    padding-top: 0 !important;      /* Killt das doppelte Padding nach oben */
    padding-bottom: 0 !important;   /* Killt das doppelte Padding nach unten */
    margin-top: -40px !important;   /* Zieht die FAQ optisch näher an die Checkliste heran */
    margin-bottom: 20px !important; /* Perfekter Abstand zum lila CTA-Banner */
}

/* ==========================================================================
   18. Testimonial Slider (Video & Text Mix - Transparent & Klickbar)
   ========================================================================== */
.testimonial-slider-container {
    position: relative;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 50px 60px 50px; 
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================================
   Testimonial Slider Aufbau (Dynamische Höhe)
   ========================================================================== */
.testimonial-slides-wrapper {
    position: relative;
    width: 100%;
    display: block; /* Kein Grid mehr, damit die Höhe variabel bleibt */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    pointer-events: none;
    z-index: 1; 
}

.testimonial-slide.active {
    position: relative; /* Nur das aktive Slide bestimmt die Höhe des Containers! */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2; 
}

/* Spezifisches Styling für reines Text-Testimonial */
.testimonial-text-only,
.testimonial-grid {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.testimonial-text-only {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 40px;
}

.testimonial-text-only .quote-mark {
    font-size: 3rem;
    color: #4338ca; 
    line-height: 1;
    margin-bottom: -20px;
    font-family: Georgia, serif;
    opacity: 0.15;
}
/* ==========================================================================
   Schriftgröße für das Text-Testimonial anpassen
   ========================================================================== */
.testimonial-text-only h2 {
    font-size: 1.4rem !important; /* Deutlich kleiner (Standard war über 2rem) */
    line-height: 1.6 !important;  /* Sorgt für einen angenehmen Zeilenabstand */
    font-weight: 700 !important;
    margin-bottom: 25px !important;
}

/* Auf dem Smartphone noch einen Tick kompakter */
@media (max-width: 768px) {
    .testimonial-text-only h2 {
        font-size: 1.15rem !important;
    }
}
/* Pfeile & Navigation */
.slider-btn {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    color: #4338ca;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    user-select: none;
    background: transparent;
    border: none;
    border-radius: 8px;
    z-index: 100; 
}

.slider-btn:hover { background-color: rgba(67, 56, 202, 0.1); }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }

.slider-dots {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 100;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active, .dot:hover { background-color: #4338ca; transform: scale(1.2); }

/* ==========================================================================
   Mobile Optimierung für den Slider
   ========================================================================== */
@media (max-width: 768px) {
    .testimonial-slider-container { 
        padding: 0 45px 50px 45px; /* Schafft links und rechts Platz für die Pfeile */
    }
    
    .slider-btn { 
        display: flex; /* Pfeile wieder einblenden */
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 18px;
        width: 36px;
        height: 36px;
        top: 45%; 
        background-color: rgba(255, 255, 255, 0.95); /* Heller runder Hintergrund */
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    /* Dark Mode Anpassung für die mobilen Pfeile */
    body.dark-mode .slider-btn {
        background-color: rgba(30, 41, 59, 0.95);
        color: #60a5fa;
    }

    .prev-btn { left: 0px; }
    .next-btn { right: 0px; }
    
    .testimonial-text-only { 
        padding: 20px 10px; 
        margin-top: 10px; 
    }
}
/* ==========================================================================
   Dark Mode Fixes für Therapeuten-Landingpage
   ========================================================================== */
/* ==========================================================================
   Breadcrumb Styling (Light & Dark Mode)
   ========================================================================== */

/* Light Mode */
.med-breadcrumbs {
    color: #64748b !important; /* Farbe für die kleinen Pfeile (>) */
}

.med-breadcrumbs a {
    color: #64748b !important; /* Farbe für die verlinkten Seiten */
    text-decoration: none;
    transition: color 0.3s ease;
}

.med-breadcrumbs a:hover {
    color: var(--primary-color) !important; /* Hover-Effekt */
}

.med-breadcrumbs strong {
    color: #0f172a !important; /* Dunkel für die aktuelle Seite im Light Mode */
    font-weight: 600 !important;
}

/* Dark Mode Umschaltung */
body.dark-mode .med-breadcrumbs,
body.dark-mode .med-breadcrumbs a {
    color: #94a3b8 !important; /* Helles Silbergrau für Text und Links */
}

body.dark-mode .med-breadcrumbs a:hover {
    color: #60a5fa !important; /* Zartes Blau beim Drüberfahren */
}

body.dark-mode .med-breadcrumbs strong {
    color: #f8fafc !important; /* Strahlendes Weiß für die aktive Seite! */
}

/* 2. Grüne Alert-Box (Orientierungssystem) */
.legal-alert-green {
    background-color: #f0fdf4 !important;
    border-left-color: #16a34a !important;
}
.legal-alert-green .legal-header h2 {
    color: #166534 !important;
}

/* Dark Mode Umschaltung für die grüne Box */
body.dark-mode .legal-alert-green {
    background-color: rgba(22, 163, 74, 0.1) !important; /* Zartes, transparentes Grün */
    border-left-color: #22c55e !important; /* Leuchtend grüne Linie */
}
body.dark-mode .legal-alert-green .legal-header h2 {
    color: #4ade80 !important; /* Helle grüne Überschrift */
}
/* ==========================================================================
   Modernes Footer-Menü Styling (Ersetzt die WordPress Bullet-Points)
   ========================================================================== */

/* 1. Grund-Reset für alle Menü-Listen im Footer */
.footer-widget ul,
.footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Styling der Menüpunkte (Haupt-Ebene) */
.footer-widget ul li,
.footer-column ul li {
    margin-bottom: 12px !important;
    line-height: 1.4;
    position: relative;
}

/* Die Links der Haupt-Ebene */
.footer-widget ul li a,
.footer-column ul li a {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

/* Hover-Effekt: sanftes Einrücken & Farbwechsel auf PowerRankers-Blau */
.footer-widget ul li a:hover,
.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

/* 3. Elegante Struktur für eingerückte Unterseiten (.sub-menu) */
.footer-widget ul .sub-menu,
.footer-column ul .sub-menu {
    margin-top: 8px !important;
    margin-bottom: 14px !important;
    padding-left: 14px !important;
    border-left: 2px solid var(--border-color); /* Feine, moderne Linie links */
}

.footer-widget ul .sub-menu li,
.footer-column ul .sub-menu li {
    margin-bottom: 8px !important;
}

.footer-widget ul .sub-menu li:last-child,
.footer-column ul .sub-menu li:last-child {
    margin-bottom: 0 !important;
}

/* Links in der 2. Ebene (z.B. "SEO für Handwerker") etwas zarter gestalten */
.footer-widget ul .sub-menu li a,
.footer-column ul .sub-menu li a {
    font-size: 0.88rem;
    opacity: 0.65;
    font-weight: 400;
}

/* Dark-Mode Anpassung für die feine vertikale Trennlinie */
body.dark-mode .footer-widget ul .sub-menu,
body.dark-mode .footer-column ul .sub-menu {
    border-left-color: rgba(255, 255, 255, 0.1);
}
/* ==========================================================================
   Mobile Fix für das Footer-Menü (Zentriertes Layout)
   ========================================================================== */
@media (max-width: 800px) {
    /* Entfernt die freischwebende Linie und das Padding auf dem Smartphone */
    .footer-widget ul .sub-menu,
    .footer-column ul .sub-menu {
        border-left: none !important;
        padding-left: 0 !important;
    }

    /* Setzt stattdessen einen feinen Gedankenstrich vor die Unterseiten, 
       damit die Hierarchie auch zentriert klar erkennbar bleibt */
    .footer-widget ul .sub-menu li a::before,
    .footer-column ul .sub-menu li a::before {
        content: "— ";
        opacity: 0.5;
    }

    /* Deaktiviert das leichte seitliche Verschieben beim Antippen, 
       da das bei zentriertem Text unruhig wirkt */
    .footer-widget ul li a:hover,
    .footer-column ul li a:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   Legal Alert Box (Rote Abmahn-Box) - Dark Mode Anpassung
   ========================================================================== */

/* Standard (Light Mode) */
.legal-alert-box.alert-red {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}
.legal-alert-box.alert-red h2 {
    color: #b91c1c;
}
.legal-alert-box.alert-red p,
.legal-alert-box.alert-red ul {
    color: #7f1d1d;
}

/* Dark Mode Overrides */
body.dark-mode .legal-alert-box.alert-red {
    background-color: rgba(239, 68, 68, 0.1); /* Sanftes, transparentes Rot */
    border-left-color: #ef4444;
}
body.dark-mode .legal-alert-box.alert-red h2 {
    color: #fca5a5; /* Helles Pastell-Rot für gute Lesbarkeit */
}
body.dark-mode .legal-alert-box.alert-red p,
body.dark-mode .legal-alert-box.alert-red ul {
    color: #fecaca;
}
/* ==========================================================================
   Legal Alert Box (Blaue Info-Box) - Dark Mode Anpassung
   ========================================================================== */

/* Standard (Light Mode) */
.legal-alert-box.alert-blue {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
}
.legal-alert-box.alert-blue h2 {
    color: #1e40af;
}
.legal-alert-box.alert-blue p,
.legal-alert-box.alert-blue ul {
    color: #1e3a8a;
}

/* Dark Mode Overrides */
body.dark-mode .legal-alert-box.alert-blue {
    background-color: rgba(59, 130, 246, 0.1); /* Sanftes, transparentes Blau */
    border-left-color: #3b82f6;
}
body.dark-mode .legal-alert-box.alert-blue h2 {
    color: #93c5fd; /* Helles Pastell-Blau für gute Lesbarkeit */
}
body.dark-mode .legal-alert-box.alert-blue p,
body.dark-mode .legal-alert-box.alert-blue ul {
    color: #bfdbfe;
}
/* ==========================================================================
   Footer: SEO-Tipps in 3 Spalten (Modernes CSS Grid)
   ========================================================================== */

@media (min-width: 768px) {
    /* 1. Zwingt das Hauptmenü in ein echtes, 3-spaltiges Raster */
    .footer-zwei-spalten .menu {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* Exakt 3 gleich breite Spalten */
        gap: 30px !important; /* Sauberer Abstand dazwischen */
        align-items: start !important; /* Alle Blöcke starten sauber oben auf einer Linie */
    }
    
    /* 2. Entfernt alte Einrückungen und Linien */
    .footer-zwei-spalten .menu .sub-menu {
        display: block !important;
        margin-top: 12px !important;
        padding-left: 0 !important; 
        border-left: none !important; 
    }
    
    /* 3. Die Themenblöcke (Grid-Items) */
    .footer-zwei-spalten .menu > li {
        display: block !important; 
        width: 100% !important;
        margin-bottom: 0 !important; 
    }

    /* 4. Die einzelnen Links innerhalb der Blöcke */
    .footer-zwei-spalten .menu .sub-menu > li {
        display: block !important;
        width: auto !important;
        margin-bottom: 8px !important;
        white-space: nowrap !important; /* Hält die Links in einer Zeile */
    }
}
/* ==========================================================================
   Dark Mode Fix: Grüne Tabelle-Tags
   ========================================================================== */

body.dark-mode .tag-green {
    background-color: rgba(16, 185, 129, 0.15) !important; /* Sehr dunkles, weiches Grün als Hintergrund */
    color: #34d399 !important; /* Leuchtendes, gut lesbares Grün für den Text */
    border: 1px solid rgba(16, 185, 129, 0.3) !important; /* Feiner Rahmen für etwas mehr Kontur */
}

/* Falls du die blauen Tags auf der Seite auch nutzt, hier direkt der Fix dazu: */
body.dark-mode .tag-blue {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
/* ==========================================================================
   Dark Mode Fix: Hellerer Text für bessere Lesbarkeit (Kontrast)
   ========================================================================== */

/* Hellt den Einleitungstext und die Checklisten deutlich auf */
body.dark-mode .med-lead,
body.dark-mode .med-check-list li,
body.dark-mode .medical-landing-page p {
    color: #e2e8f0 !important; /* Ein klares, sehr helles Grau-Weiß */
}

/* Überschreibt die dunklen Farben in der Glass-Card (Mockup rechts) */
body.dark-mode .glass-card p {
    color: #cbd5e1 !important; /* Helleres Grau für die Beschreibungen */
}

body.dark-mode .glass-card span {
    color: #94a3b8 !important; /* Mittleres Grau für die Sterne und Zusatzinfos */
}