/* 1. Global CSS (from performance.php) */
:root {
            --seotologie-teal: #3DBDBD;
            --seotologie-dark-teal: #083A2E;
            --seotologie-slate-dark: #1e293b;
            --seotologie-slate-light: #f8fafc;
            --seotologie-accent-red: #8D1D2C;
            --seotologie-shadow-premium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --seotologie-radius-premium: 12px;
        }

        /* 1. Global Performance Base (NO GAP POLICY) */
        html body #page,
        html body #page .site-main,
        html body #page .ast-container,
        html body #page #content, 
        html body #page .site-content, 
        html body #page #main,
        html body #page .entry-content,
        html body #page .post-content,
        html body #page article.page,
        html body #page #primary,
        html body #page .ast-plain-container,
        html body #page article.post { 
            padding-top: 0 !important; 
            margin-top: 0 !important; 
        }

        /* Flush Title Spacing (v16.51) - Exakt wie Kategorie */
        html body.single .ast-article-single,
        html body.page .ast-article-single {
            margin-top: 0 !important; /* Blockiere Astras 4em Abstand bei Boxed Containern */
            padding-top: 0 !important;
        }
        .entry-title, .entry-header { 
            margin-top: 0 !important;
            padding-top: 2rem !important; /* Optisch ansprechend, an Kategorie angeglichen */
        }
        #page, .site-content, .ast-separate-container { background-color: #ffffff !important; }
        .seotologie-hero-master-wrapper { margin-bottom: 0px !important; z-index: 10 !important; position: relative !important; margin-top: 0 !important; padding-top: 0 !important; }

        /* HERO: 50/50 Grid-Split (Critical CSS – verhindert Block-Layout vor async CSS) */
        .seotologie-hero-section {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            align-items: center !important;
            gap: 40px !important;
            max-width: 1240px !important;
            margin: 0 auto !important;
            padding: 40px 0 40px !important;
        }
        .seotologie-hero-content {
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
        }
        .seotologie-hero-visual {
            display: flex !important;
            justify-content: flex-end !important;
            max-width: 100% !important;
            width: 100% !important;
            overflow: visible !important;
        }
        .seotologie-hero-visual img,
        .seotologie-hero-visual .scanner-hero-mockup {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }
        @media (max-width: 921px) {
            .seotologie-hero-section {
                display: block !important;
                grid-template-columns: none !important;
                padding: 80px 12px 30px !important;
                text-align: left !important;
            }
            .seotologie-hero-content {
                align-items: flex-start !important;
                text-align: left !important;
            }
            .seotologie-hero-outer-header {
                text-align: left !important;
            }
        }

        /* 2. Header: Premium Dark Alignment (Enterprise 1200px Grid v16.26) */
        /* 7b. Site Branding Performance (Lighthouse Non-composited Fix) */
        .site-branding, .site-branding *, .ast-site-identity, .ast-site-identity * {
            transition: none !important;
        }

        /* 8. Modern Breadcrumbs: Vertical Axis Lock (v26.0) */
        #seotologie-premium-axis-crumbs {
            background-color: #D1DBD7 !important; /* Lighter Premium Sage */
            border-bottom: 1px solid rgba(0,0,0,0.06) !important;
            margin: 0 !important;
            min-height: 44px !important;
            display: flex !important;
            flex-direction: row !important; /* Row-Lock against stacking */
            align-items: center !important;
            justify-content: flex-start !important;
            box-sizing: border-box !important;
            z-index: 99 !important;
            position: relative !important;
            width: 100% !important;
            max-width: 100vw !important;
            overflow: hidden !important;
        }
        .seotologie-axis-wrapper {
            max-width: 1021px !important;
            margin: 0 auto !important;
            padding: 0 20px !important; /* Perfect Alignment Axis */
            width: 100% !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
            white-space: nowrap !important;
            -webkit-overflow-scrolling: touch !important;
            scrollbar-width: none !important;
            font-family: 'DM Sans', 'Inter', sans-serif !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            line-height: 1.5 !important;
            color: #000000 !important;
        }
        .seotologie-axis-wrapper::-webkit-scrollbar { display: none !important; }
        /* SUPREME NUCLEAR SPECIFICITY */
        html body #page #seotologie-premium-axis-crumbs .seotologie-axis-wrapper a,
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper a {
            color: #000000 !important;
            text-decoration: underline !important;
            font-family: 'DM Sans', 'Inter', sans-serif !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            display: inline-flex !important;
            align-items: center !important;
            line-height: 1.5 !important;
            opacity: 1 !important;
            flex-shrink: 0 !important;
        }
        /* Spans (nicht verlinkte Elemente: Home-Startseite, aktuelle Seite) → KEIN Underline */
        html body #page #seotologie-premium-axis-crumbs .seotologie-axis-wrapper span,
        html body #page #seotologie-premium-axis-crumbs .seotologie-axis-wrapper *:not(a):not(svg),
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper span,
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper .trail-end {
            color: #000000 !important;
            text-decoration: none !important;
            font-family: 'DM Sans', 'Inter', sans-serif !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            display: inline-flex !important;
            align-items: center !important;
            line-height: 1.5 !important;
            opacity: 1 !important;
            flex-shrink: 0 !important;
        }
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper a:hover {
            opacity: 0.7 !important;
            text-decoration: none !important;
        }
        /* Home Icon Normalization */
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper .breadcrumb-home-link i,
        #seotologie-premium-axis-crumbs .seotologie-axis-wrapper .breadcrumb-home-link svg {
            color: #000000 !important;
            margin-right: 8px !important;
            font-size: 1.1rem !important;
            vertical-align: middle !important;
        }
        .breadcrumb-separator {
            margin: 0 12px !important;
            color: #000000 !important;
            font-weight: 500 !important;
        }
        /* UNIVERSAL LOCKDOWN: Any stray span or text node must be black */
        .seotologie-axis-wrapper, 
        .seotologie-axis-wrapper *,
        .seotologie-axis-wrapper span {
            color: #000000 !important;
            opacity: 1 !important;
        }
        /* Tagline Contrast Hardening */
        .seotologie-axis-wrapper .breadcrumb-tagline {
            color: #000000 !important;
            font-weight: 500 !important;
            margin-left: 8px !important;
            display: inline-block !important;
        }
        
        /* 8b. Logo Proportional Resilience Fix (Match 360x64 Native) */
        .site-branding img, .custom-logo, .site-logo-img img {
            max-width: 180px !important;
            width: 100% !important;
            height: auto !important;
            aspect-ratio: 360 / 64 !important;
            display: block !important;
            object-fit: contain !important;
        }

        html body #masthead { 
            background: #083A2E !important; 
            box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important; 
            position: relative !important; 
            z-index: 100 !important; 
            height: auto !important;
            margin-bottom: 0 !important; /* Gap Flush */
            padding-bottom: 0 !important;
        }
        html body .ast-primary-header-bar {
            background: linear-gradient(135deg, #083A2E 0%, #083A2E 100%) !important;
            min-height: 64px !important; border-bottom: none !important;
            margin-bottom: 0 !important;
            padding-bottom: 0 !important;
        }
        html body #masthead .ast-primary-header-bar .ast-container,
        .ast-container, .site-content .ast-container, .main-header-bar .ast-container,
        #seotologie-premium-axis-crumbs .ast-container,
        #colophon .ast-container,
        .ast-builder-grid-row-container-inner {
            max-width: 1000px !important; /* Unified Grid v16.38 Lockdown */
            padding: 0 15px !important; 
            margin: 0 auto !important;
        }



        /* 3b. Header Branding Contrast Fix (Lighthouse) */
        .site-title a, .site-branding .site-title a {
            color: #ffffff !important; /* Pure White on Dark Green = Perfect Contrast */
            text-decoration: none !important;
        }
        .site-description, .ast-site-description {
            color: #3DBDBD !important; /* Teal tagline */
            opacity: 1 !important;
        }

        /* 4. Breadcrumbs: Axis Cleanup (Duplicates Removed) */
        #seotologie-premium-axis-crumbs {
            border-top: none !important;
            z-index: 99 !important;
            position: relative !important;
        }
        
        #seotologie-premium-axis-crumbs .ast-container {
            max-width: 1000px !important; /* Unified Grid v16.37 */
            padding: 0 15px !important; 
            margin: 0 auto !important;
            display: flex !important;
            align-items: center !important;
            text-align: left !important;
            justify-content: flex-start !important;
        }

        /* Precision Axis Lock: 1000px Grid Logic (v16.37) */
        @media (min-width: 1021px) {
            #seotologie-premium-axis-crumbs .ast-container {
                padding-left: 15px !important; /* Unified Axis */
            }
        }

        /* Axis-Aligned Typography & Iconography */
        #seotologie-premium-axis-crumbs a,
        #seotologie-premium-axis-crumbs span {
            color: #4a5a54 !important; 
            font-size: 0.88rem !important;
            font-weight: 500 !important;
            text-decoration: none !important;
            display: inline-flex !important;
            align-items: center !important;
            line-height: 1 !important;
        }
        /* Verlinkte Elemente: dezente Unterstreichung nur bei echten Links */
        #seotologie-premium-axis-crumbs a {
            text-decoration: underline !important;
        }
        /* Aktuelle Seite (trail-end) und Separatoren: nie unterstrichen */
        #seotologie-premium-axis-crumbs .trail-end,
        #seotologie-premium-axis-crumbs .breadcrumb-separator {
            text-decoration: none !important;
            color: #6b7280 !important;
        }
        #seotologie-premium-axis-crumbs a:hover { color: #083A2E !important; text-decoration: underline !important; }
        #seotologie-premium-axis-crumbs .breadcrumb-separator { margin: 0 10px; color: rgba(0,0,0,0.15); font-size: 0.8rem; }
        #seotologie-premium-axis-crumbs svg { margin-right: 8px; color: #083A2E !important; flex-shrink: 0; }

        /* 5. Mobile Navigation: Force Premium Dark Restoration & UX Fixes */
        
        /* CLS Fix & Hitbox Optimization (48x48px Touch Target) */
        html body.ast-header-break-point .site-header-primary-section-right {
            min-height: 48px !important;
            min-width: 48px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
        }
        
        html body.ast-header-break-point .ast-mobile-menu-buttons,
        html body.ast-header-break-point .menu-toggle {
            min-height: 48px !important;
            min-width: 48px !important;
            padding: 10px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        /* Hardware Acceleration (Smooth 60fps Slide-in) */
        html body.ast-header-break-point #ast-mobile-popup,
        html body.ast-header-break-point .ast-mobile-header-wrap {
            transform: translateZ(0);
            will-change: transform, opacity;
        }

        /* Premium Dark Mode for Mobile Menu */
        html body.ast-header-break-point #ast-mobile-header,
        html body.ast-header-break-point #ast-mobile-popup,
        html body.ast-header-break-point .ast-mobile-header-wrap,
        html body.ast-header-break-point .ast-mobile-header-content,
        html body.ast-header-break-point .ast-mobile-popup-inner { 
            background: #083A2E !important; 
            background-color: #083A2E !important; 
        }
        
        html body.ast-header-break-point #ast-hf-mobile-menu a.menu-link,
        html body.ast-header-break-point #ast-mobile-header .main-navigation .menu-item .menu-link { 
            color: #ffffff !important; 
            font-family: 'Inter', sans-serif !important; 
            border-bottom: 1px solid rgba(255,255,255,0.08) !important; 
            padding-top: 14px !important;
            padding-bottom: 14px !important;
        }
        
        html body.ast-header-break-point #ast-hf-mobile-menu a.menu-link:hover { 
            color: #3DBDBD !important; 
            background: rgba(255,255,255,0.03) !important; 
            padding-left: 20px !important;
            transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease !important;
        }

        /* 6. Footer: Enterprise Hierarchy (1200px Sync) */
        html body #colophon, .site-footer { padding: 60px 0 50px !important; background: #0C4A3A !important; border-top: 1px solid rgba(255,255,255,0.05) !important; }
        html body #colophon .ast-builder-grid-row-container-inner { 
            max-width: 1000px !important; /* Unified Grid v16.37 */
            margin: 0 auto !important; 
            padding: 0 15px !important; 
        }
        
        html body #colophon .widget-title, 
        html body #colophon .footer-heading,
        html body #colophon h1, html body #colophon h2, html body #colophon h3, html body #colophon h4 { 
            font-size: 1.4rem !important; font-weight: 700 !important; color: #CBD3D0 !important; 
            margin: 0 0 20px 0 !important; padding-bottom: 8px !important; border-bottom: 1px solid rgba(172,188,182,0.2) !important; 
            text-transform: uppercase !important; letter-spacing: 2px !important; display: block !important; 
            font-family: inherit !important;
        }
        
        /* Mobile Footer Spacer & Typography Normalization */
        @media (max-width: 768px) {
            html body #colophon, .site-footer {
                padding: 40px 0 30px !important;
            }
            html body #colophon .ast-builder-grid-row-container-inner {
                padding: 0 20px !important;
            }
            html body #colophon .widget-title, 
            html body #colophon .footer-heading,
            html body #colophon h1, html body #colophon h2, html body #colophon h3, html body #colophon h4 { 
                font-size: 1.25rem !important; 
                margin-bottom: 15px !important;
                letter-spacing: 1.5px !important;
            }
        }
        
        /* Header Navigation Typography Consistency (#masthead sync) */
        #masthead .main-header-menu .menu-link,
        #masthead .main-header-menu .menu-item > a,
        #masthead .ast-builder-menu .menu-item > a,
        #masthead .ast-builder-menu .menu-link,
        #masthead .ast-primary-header-bar .menu-item > .menu-link,
        .ast-theme-transparent-header .main-header-menu .menu-link,
        .ast-theme-transparent-header #masthead .main-header-menu .menu-link,
        #masthead.ast-theme-transparent-header .main-header-menu .menu-link {
            font-family: 'DM Sans', 'Inter', sans-serif !important;
            font-size: 15px !important; 
            font-weight: 600 !important;
            letter-spacing: 0.05em !important;
            text-transform: uppercase !important;
        }

        /* Borlabs Floating Status */
        html body #borlabs-cookie-widget a,
        html body .borlabs-cookie-btn, html body .brlbs-btn, html body .brlbs-cmpnt-btn {
            z-index: 99999 !important;
            overflow: visible !important;
            position: relative !important;
        }

        /* PREMIUM BUTTONS: Base Styling */
        html body .ast-custom-button,
        html body .seotologie-hero-cta-primary,
        html body .seotologie-btn-premium,
        html body .ast-button, html body .site-content #submit,
        html body .wp-block-button__link,
        html body form#respond #submit {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
            height: 44px !important;
            padding: 0 24px !important;
            background-color: #0DB9AF !important;
            background-image: none !important; /* flach statt Glanz-Verlauf - nur Text mittig, Lichteffekt bleibt ueber ::before */
            color: #083A2E !important;
            border: 1px solid #0A9E95 !important;
            border-radius: 6px !important;
            font-family: 'Inter', 'DM Sans', sans-serif !important;
            font-weight: 600 !important;
            font-size: 16px !important;
            line-height: 1 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.05em !important;
            cursor: pointer !important;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
        }

        /* Base Styling for Secondary Button */
        html body .seotologie-hero-cta-secondary {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
            height: 44px !important;
            padding: 0 24px !important;
            background-color: transparent !important;
            background-image: none !important;
            color: #083A2E !important;
            border: 2px solid #083A2E !important;
            border-radius: 6px !important;
            font-family: 'Inter', 'DM Sans', sans-serif !important;
            font-weight: 600 !important;
            font-size: 16px !important;
            line-height: 1 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.05em !important;
            cursor: pointer !important;
            box-shadow: none !important;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
        }
        
        html body .seotologie-hero-cta-secondary:hover {
            color: #083A2E !important;
        }

        /* PREMIUM BUTTONS: Lichtstrahl-Effekt & Hover-Gradients */
        html body .ast-custom-button::before,
        html body .seotologie-hero-cta-primary::before,
        html body .seotologie-hero-cta-secondary::before,
        html body .seotologie-btn-premium::before,
        html body .ast-button::before, html body .site-content #submit::before,
        html body .wp-block-button__link::before {
            content: '' !important; position: absolute !important; top: -50% !important; left: -20% !important;
            width: 45% !important; height: 200% !important; z-index: 5 !important;
            background: linear-gradient(90deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.4) 30%, 
                rgba(255,255,255,0.95) 50%, 
                rgba(255,255,255,0.4) 70%, 
                rgba(255,255,255,0) 100%) !important;
            transform: translateX(-200%) rotate(25deg) !important; pointer-events: none !important;
            filter: blur(2px) !important;
            transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1) !important;
        }
        
        html body .ast-custom-button:hover::before,
        html body .seotologie-hero-cta-primary:hover::before,
        html body .seotologie-hero-cta-secondary:hover::before,
        html body .seotologie-btn-premium:hover::before,
        html body .ast-button:hover::before, html body .site-content #submit:hover::before,
        html body .wp-block-button__link:hover::before { 
            transform: translateX(350%) rotate(25deg) !important;
        }
        
        /* Hover: Teal-Gradient (Premium SaaS Look) */
        html body .ast-custom-button:hover,
        html body .seotologie-hero-cta-primary:hover,
        html body .seotologie-btn-premium:hover,
        html body .wp-block-button__link:hover,
        html body .ast-button:hover, 
        html body form#respond #submit:hover,
        html body .site-content #submit:hover {
            background-color: #0AA59B !important;
            background-image: none !important;
            border-color: #0AA59B !important;
            color: #083A2E !important;
            box-shadow: 0 2px 6px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.10), 0 8px 24px rgba(8,143,141,0.40) !important;
            transform: translateY(-2px) !important;
        }

        /* Button Glow Overflow Fallback Lockdown (Ohne Borlabs!) */
        .ast-custom-button, .seotologie-hero-cta-primary, .seotologie-hero-cta-secondary, 
        .seotologie-btn-premium, .ast-faq-community-btn, .ast-button, .site-content #submit, 
        .wp-block-button__link, form#respond #submit, 
        .menu-toggle, .ast-mobile-menu-buttons {
            position: relative !important;
            overflow: hidden !important;
            z-index: 1 !important;
        }
        
        /* Force Footer Grid wrap on Mobile */
        @media (max-width: 768px) {
            html body #colophon .ast-builder-grid-row {
                flex-wrap: wrap !important;
                display: flex !important;
            }
            html body #colophon .ast-builder-grid-row > div {
                width: 100% !important;
                flex: 1 1 100% !important;
                padding-bottom: 20px !important;
            }
        }
        html body #colophon p, html body #colophon a { font-size: 1.1rem !important; color: #CBD3D0 !important; line-height: 1.7 !important; }
        html body #colophon a { color: #7FDBCC !important; text-decoration: none !important; }
        html body #colophon a:hover { color: #ffffff !important; }

        /* 7. Author Block Flex Alignment (v16.38) */
        .seotologie-author-block { margin-bottom: 50px !important; }
        .author-flex-container { 
            display: flex !important; gap: 40px !important; align-items: flex-start !important; 
        }
        .author-image { 
            flex-shrink: 0 !important; width: 220px !important; 
        }
        .author-image img { 
            width: 100% !important; height: auto !important; border-radius: 8px !important; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; filter: grayscale(10%) contrast(105%);
        }
        .author-text { flex: 1 !important; }
        @media (max-width: 768px) {
            .author-flex-container { flex-direction: column !important; gap: 25px !important; }
            .author-image { width: 100% !important; max-width: 250px !important; margin: 0 auto !important; }
        }

        /* 8. Feature Cards: Premium Visuals (v16.38/41) */
        .seotologie-about-features-container {
            display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
            gap: 25px !important; margin-top: 30px !important;
        }
        .feature-card {
            padding: 30px !important; border-radius: 12px !important; 
            border: 1px solid rgba(0,0,0,0.05) !important; transition: transform 0.3s ease, opacity 0.3s ease !important; /* box-shadow removed for perf */
            height: 100% !important; display: flex !important; flex-direction: column !important;
        }
        .feature-card:hover { transform: translateY(-5px) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; }
        .feature-card h3 { margin-bottom: 15px !important; font-size: 1.25rem !important; color: #083A2E !important; }
            /* Avoid max-height transitions for CLS/Performance, use opacity */
            transition: opacity 400ms ease !important; 
            opacity: 0;
            font-size: var(--seotologie-f-base) !important; line-height: 1.7 !important;
        .seotologie-faq-content a {
            text-decoration: underline !important;
            text-underline-offset: 4px !important;
            color: #0DB9AF !important;
            font-weight: 500 !important;
            transition: opacity 0.2s ease, transform 0.2s ease !important; /* all replaced with opacity/transform */
        }
        .seotologie-faq-content a:hover {
            color: #083A2E !important;
            text-decoration-thickness: 2px !important;
        }
        .seotologie-faq-item[open] .seotologie-faq-content {
            max-height: none !important;
            opacity: 1 !important;
        }
        
        /* Mobile Spacing Optimization */
        @media (max-width: 768px) {
            .seotologie-faq-trigger { padding: 15px 18px !important; font-size: var(--seotologie-f-sm) !important; }
            .seotologie-faq-content { padding: 20px 18px !important; font-size: var(--seotologie-f-sm) !important; }
        }

        /* 10. Kategorie/Archiv Header Alignment & Spacing Fix */
        html body.archive .ast-archive-description,
        html body.category .ast-archive-description,
        html body.search .ast-archive-description {
            padding-left: 0 !important;
            padding-right: 0 !important;
            padding-top: 3.5em !important; /* Deutlich mehr Luft zur Breadcrumbleiste */
            padding-bottom: 2em !important;
            margin-left: 0 !important;
            border: none !important;
            background: transparent !important;
        }

        /* 10. Premium Code Boxes: Enterprise Dark Contrast (v21.0) */
        .seotologie-premium-code-box, 
        .code-wrapper pre,
        pre.seotologie-code-block {
            background-color: var(--seotologie-slate-dark) !important;
            color: var(--seotologie-slate-light) !important;
            border-radius: var(--seotologie-radius-premium) !important;
            padding: 24px !important;
            border: 1px solid rgba(255,255,255,0.1) !important;
            font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace !important;
            font-size: var(--seotologie-f-sm) !important;
            line-height: 1.6 !important;
            overflow-x: auto !important;
            margin: 25px 0 !important;
            position: relative !important;
            box-shadow: var(--seotologie-shadow-premium) !important;
        }
        /* Inline Code harmonization */
        code:not(pre code) {
            background-color: rgba(30, 41, 59, 0.05) !important;
            color: var(--seotologie-dark-teal) !important;
            padding: 2px 6px !important;
            border-radius: 4px !important;
            font-size: var(--seotologie-f-base) !important;
            font-family: inherit;
        }
        pre code {
            background-color: transparent !important;
            color: inherit !important;
            padding: 0 !important;
            font-size: 1em !important;
        }

        /* 7. Asset Optimization */

/* 2. Archive Fixes */
/* Artikel-Karten: kein Rahmen – category, archive, tag UND page */
html body.category .ast-article-post, html body.archive .ast-article-post, html body.tag .ast-article-post, html body.page .ast-article-post,
html body.category .ast-article-inner, html body.archive .ast-article-inner, html body.tag .ast-article-inner, html body.page .ast-article-inner,
html body.category .blog-layout-4, html body.archive .blog-layout-4, html body.tag .blog-layout-4, html body.page .blog-layout-4,
html body.category .blog-layout-4.ast-article-inner, html body.archive .blog-layout-4.ast-article-inner, html body.page .blog-layout-4.ast-article-inner {
    border: none !important; box-shadow: none !important;
    background: transparent !important; outline: none !important;
}
html body.category article img, html body.archive article img, html body.tag article img, html body.page article img,
html body.category .post-thumb-img-content img, html body.archive .post-thumb-img-content img, html body.page .post-thumb-img-content img,
html body.page .ast-blog-featured-section img, html body.page .wp-post-image {
    border: none !important; box-shadow: none !important; outline: none !important;
}
/* Beschreibungstext: auf ALLEN Seiten linksbündig */
section.ast-archive-description,
section.ast-archive-description *,
.ast-archive-description,
.ast-archive-description *,
.page-header, .page-header *,
.taxonomy-description, .taxonomy-description * {
    text-align: left !important;
    background: transparent !important;
}

/* 3. H2 Fixes */
h1, .seotologie-hero-title, .entry-title {
        font-size: clamp(1.4rem, 2.2vw, 1.7rem) !important;
        line-height: 1.1 !important;
    }
    h2, .wp-block-heading, .entry-content :where(h2) {
        font-size: clamp(1.1rem, 1.8vw, 1.4rem) !important;
        line-height: 1.2 !important;
        margin-bottom: var(--seotologie-space-s, 20px) !important;
    }
    h3, .ast-faq-heading, .widget-title {
        font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
        line-height: 1.3 !important;
    }

    /* HEADER ALIGNMENT RESTORATION (Bypass Cache) */
    .main-header-bar .ast-container, header#masthead .ast-builder-grid-row {
        display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important;
    }
    .site-header-primary-section-left, .site-header-primary-section-right {
        display: flex !important; align-items: center !important;
    }
    
    /* FOOTER DESIGN RESTORATION (Bypass Cache) */
    .site-footer { background-color: #083A2E !important; border: none !important; }

    .site-footer .site-above-footer-wrap, .site-footer .site-below-footer-wrap,
    .site-footer .ast-builder-footer-grid-columns, .site-footer .site-footer-section,
    .site-footer .footer-widget-area, .site-footer .widget_block, .site-footer .ast-footer-copyright {
        background-color: transparent !important; background: transparent !important;
        border: none !important; box-shadow: none !important;
    }
    .site-footer .brlbs-cmpnt-container { display: block !important; }
    /* RESPONSIVE TABLES (Bypass Cache) */
    .seotologie-legal-table-wrapper {
        overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0;
        border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
    }
    .seotologie-legal-table {
        width: 100%; border-collapse: collapse; min-width: 600px;
        background: #fff; font-size: 0.95rem; margin: 0 !important;
    }
    .seotologie-legal-table th, .seotologie-legal-table td {
        padding: 14px 16px; border-bottom: 1px solid #e2e8f0; text-align: left; color: #475569;
    }
    .seotologie-legal-table th { background-color: #f8fafc; font-weight: 600; color: #0f172a; border-bottom: 2px solid #e2e8f0; }

/* 5. Emergency Footer Color Override */
/* EMERGENCY FOOTER COLOR OVERRIDE */
    html body .site-above-footer-wrap[data-section="section-above-footer-builder"],
    html body #colophon,
    html body .site-footer {
        background-color: #0C4A3A !important;
    }

/* 6. Info-Seiten (Suchergebnisse + 404) - gemeinsame, wiederverwendbare Komponenten im SEOtologie-Look.
   Formular/Button sind bewusst 1:1 an .seotologie-input/.seotologie-btn-primary aus der Toolbox
   angelehnt (toolbox-shared-v2.css / toolbox-designsystem-v11.css), damit Suchfeld & Button auf
   Such- und 404-Seite optisch identisch zu den Tool-Formularen sind, statt einen eigenen Stil zu erfinden. */
.seotologie-infopage-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--seotologie-slate-light);
    font-size: 1.6rem;
    margin-bottom: 16px;
}
.seotologie-infopage-header {
    padding-top: 2.5em;
    margin-bottom: 30px;
}
.seotologie-infopage-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--seotologie-slate-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}
.seotologie-infopage-title-accent {
    color: var(--seotologie-dark-teal);
}
.seotologie-infopage-intro {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 65ch;
}

/* Suchformular - exakt wie .seotologie-input / .seotologie-btn-primary in der Toolbox */
.seotologie-inline-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.seotologie-inline-search-inputwrap {
    position: relative;
    flex: 1 1 280px;
}
.seotologie-inline-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 44px 14px 18px !important;
    font-size: 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    outline: none !important;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease-out, box-shadow 0.25s ease-out, background-color 0.2s ease-out !important;
}
.seotologie-inline-search-input:hover:not(:focus) {
    border-color: #94a3b8 !important;
}
.seotologie-inline-search-input:focus {
    outline: none !important;
    border-color: #0ba39c !important;
    box-shadow: 0 0 0 3px rgba(11, 163, 156, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
}
.seotologie-inline-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
/* Farben/Hover-Effekt kommen jetzt bewusst von .seotologie-btn-premium (identisch zum Hero-CTA-Button,
   "Website prüfen") - diese Klasse steuert hier nur noch das Layout innerhalb der Inline-Suchleiste. */
.seotologie-inline-search-button {
    margin: 0 !important;
}
@media (max-width: 600px) {
    .seotologie-inline-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .seotologie-inline-search-button {
        width: 100%;
    }
}

/* Hilfreiche Karten-Abschnitte ("Was du jetzt tun kannst" / "Warum du diese Seite siehst" / Such-Tipps) */
.seotologie-helper-card {
    background: var(--seotologie-slate-light);
    border-radius: var(--seotologie-radius-premium);
    padding: 28px 30px;
    margin: 0 0 24px;
}
.seotologie-helper-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--seotologie-dark-teal);
    font-size: 1.25rem;
    margin: 0 0 14px;
}
.seotologie-helper-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.seotologie-helper-card li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #334155;
}
.seotologie-helper-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--seotologie-teal);
    font-weight: 700;
}
.seotologie-helper-card.is-neutral li::before {
    content: "•";
    color: #94a3b8;
    font-weight: 400;
}
.seotologie-helper-card a {
    color: var(--seotologie-teal);
    font-weight: 600;
    text-decoration: underline;
}

/* 7. Sticky-Footer-Fix fuer kurze Seiten (404, leere Suche): Astra streckt #content.site-content /
   .ast-container per Flexbox auf die Rest-Viewporthoehe (klassische Sticky-Footer-Mechanik). Bei
   wenig Inhalt bleibt dadurch ein grosser Leerraum vor dem Footer. Per Firefox-DevTools bestaetigt
   (19.08.2026): div.ast-container in #content.site-content hatte auf der 404-Seite 1290px Hoehe
   trotz kurzem Inhalt. Bewusst nur auf body.error404/body.search eingeschraenkt, damit die
   Sticky-Footer-Mechanik auf normalen (langen) Seiten unangetastet bleibt.  */
html body.error404 #content.site-content,
html body.search #content.site-content {
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
}
html body.error404 .ast-container,
html body.search .ast-container {
    height: auto !important;
    min-height: 0 !important;
}

/* --- ABOUT PAGE: FEATURE CARDS --- */
.seotologie-different .feature-cards {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 24px; 
    margin-top: 32px;
}
.seotologie-different .feature-card {
    background: #ffffff; 
    padding: 32px 24px; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
    text-align: center; 
    transition: transform 0.2s ease;
}
.seotologie-different .feature-card:hover {
    transform: translateY(-4px);
}
.seotologie-different .feature-card-icon {
    font-size: 2.2rem; 
    margin: 0 auto 20px auto; 
    width: 72px; 
    height: 72px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f0fdfa; 
    border-radius: 50%; 
    color: #0d9488;
}
.seotologie-different .feature-card h3 {
    margin: 0 0 12px 0; 
    font-size: 1.25rem; 
    color: #083A2E;
}
.seotologie-different .feature-card p {
    margin: 0; 
    font-size: 1rem; 
    color: #475569; 
    line-height: 1.6;
}
