/* ============================================
   INHALTSVERZEICHNIS
   ============================================
   1. CSS Variablen (Light & Dark Theme)
   2. Basis-Styles (Reset, Body)
   3. Top Header Navigation
   4. Main Content Layout & Container
   5. AdSense Sidebar Layout
   6. Controls & Filter (Kategorie-Filter)
   7. Kategorie-Sections & Link-Cards
   8. Footer
   9. SEO Content Sections (Hero, Warum, Beliebte Rechner, FAQ)
   10. Dark Mode Overrides
   11. Responsive Design (Mobile)
============================================ */


/* ============================================
   1. CSS VARIABLEN
   ============================================ */

:root {
    --primary-gradient: linear-gradient(135deg, #d84462 0%, #764ba2 100%);
    --card-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 8px 30px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --bg-primary: linear-gradient(135deg, #d84462 0%, #764ba2 100%);
    --bg-body: #f8fafc;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-header: white;
    --card-bg: white;
    --border-color: #e2e8f0;
    --category-bg: white;
    --category-border: #e2e8f0;
}

[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --bg-body: #0f1419;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --text-header: white;
    --card-bg: #1a202c;
    --border-color: #4a5568;
    --category-bg: #1a202c;
    --category-border: #4a5568;
}


/* ============================================
   2. BASIS-STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    min-height: 100vh;
    transition: var(--transition);
    margin: 0;
}


/* ============================================
   3. TOP HEADER NAVIGATION
   ============================================ */

.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.12);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.top-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(to right, #d84462, #764ba2);
}

.top-header .home-icon {
    color: #666;
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.top-header .home-icon:hover {
    background: #f0f0f0;
}

.home-logo {
    width: 32px;
    height: auto;
    vertical-align: middle;
}

.top-header .logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #d84462 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.top-header .header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header .language-selector {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    padding: 6px 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.top-header .language-selector:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.top-header .theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header .toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.top-header .toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.top-header .toggle-switch.dark {
    background: #4a5568;
}

.top-header .toggle-switch.dark::before {
    transform: translateX(26px);
}

.top-header .toggle-icon {
    color: #666;
    font-size: 16px;
}


/* ============================================
   4. MAIN CONTENT LAYOUT & CONTAINER
   ============================================ */

.main-content {
    padding: 20px;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.container {
    background: transparent;
    width: 100%;
    max-width: 800px;
    flex: 1;
}


/* ============================================
   5. ADSENSE SIDEBAR LAYOUT
   ============================================ */

.adsense-sidebar {
    width: 160px;
    min-width: 160px;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow: hidden;
}

.adsense-sidebar.left {
    margin-right: 10px;
}

.adsense-sidebar.right {
    margin-left: 10px;
}

.ad-placeholder {
    width: 160px;
    height: 600px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-radius: 8px;
}


/* ============================================
   6. CONTROLS & FILTER (Kategorie-Filter)
   ============================================ */

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.category-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ============================================
   7. KATEGORIE-SECTIONS & LINK-CARDS
   ============================================ */

.category-section {
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.category-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: var(--category-bg);
    border: 1px solid var(--category-border);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-title {
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.link-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.card-logo {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-logo img {
    width: 130%;
    height: 130%;
    object-fit: cover;
    border-radius: 6px;
}

.card-name {
    font-size: 1.0rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    word-break: break-word;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
}

.empty-category {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-style: italic;
}


/* ============================================
   8. FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #d84462 0%, #764ba2 100%);
    color: #fff;
    padding: 36px 18px;
    font-family: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.site-footer::before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: rgba(0,0,0,0.12);
    margin-bottom: 12px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.footer-powered {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 160px;
}

.footer-nav a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 6px 4px;
    transition: opacity .18s ease, transform .18s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    opacity: 0.9;
    transform: translateY(-1px);
    outline: none;
}

.site-footer a:focus {
    outline: 3px solid rgba(214, 68, 98, 0.15);
    outline-offset: 2px;
}


/* ============================================
   9. SEO CONTENT SECTIONS
   ============================================ */

/* Hero Intro Section */
.seo-hero-intro,
.hero-section {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero-intro h1,
.hero-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d84462 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-hero-intro p,
.hero-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Warum finanzberechner.de Section */
.seo-why-section,
.seo-popular-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.seo-why-section h2,
.seo-popular-section h2,
.section-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.seo-feature-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seo-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.seo-feature-card p,
.feature-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Feature Title Colors */
.feature-title-blue { color: #007bff; }
.feature-title-green { color: #28a745; }
.feature-title-red { color: #dc3545; }
.feature-title-yellow { color: #ffc107; }
.feature-title-purple { color: #6f42c1; }
.feature-title-cyan { color: #17a2b8; }

/* Beliebte Rechner Section */
.seo-popular-section {
    background: transparent;
    box-shadow: none;
}

.seo-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.seo-popular-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-popular-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.seo-popular-card.border-blue { border-left: 4px solid #007bff; }
.seo-popular-card.border-green { border-left: 4px solid #28a745; }
.seo-popular-card.border-yellow { border-left: 4px solid #ffc107; }
.seo-popular-card.border-purple { border-left: 4px solid #6f42c1; }

.seo-popular-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.seo-popular-card p,
.popular-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.seo-popular-card a,
.popular-link {
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.seo-popular-card a:hover,
.popular-link:hover {
    opacity: 0.8;
}

/* Popular Title & Link Colors */
.popular-title-blue, .popular-link-blue { color: #007bff; }
.popular-title-green, .popular-link-green { color: #28a745; }
.popular-title-yellow, .popular-link-yellow { color: #ffc107; }
.popular-title-purple, .popular-link-purple { color: #6f42c1; }

/* FAQ Section */
.seo-faq-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: #ffffff;
}

.seo-faq-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.seo-faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.seo-faq-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.seo-faq-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.seo-faq-item summary,
.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-faq-item summary::-webkit-details-marker,
.faq-question::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::after,
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease;
}

.seo-faq-item[open] summary::after,
.seo-faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.seo-faq-item p,
.faq-answer {
    margin-top: 1rem;
    color: #666;
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}


/* ============================================
   10. DARK MODE OVERRIDES
   ============================================ */

/* Top Header Dark Mode */
[data-theme="dark"] .top-header {
    background: #1a202c;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

[data-theme="dark"] .top-header .home-icon {
    color: #a0aec0;
}

[data-theme="dark"] .top-header .home-icon:hover {
    background: #2d3748;
}

[data-theme="dark"] .top-header .language-selector {
    background: #2d3748;
    border: 1px solid #4a5568;
    color: #f7fafc;
}

[data-theme="dark"] .top-header .language-selector:hover {
    background: #374151;
    border-color: #6b7280;
}

[data-theme="dark"] .top-header .toggle-icon {
    color: #a0aec0;
}

[data-theme="dark"] .top-header .toggle-switch {
    background: #2d3748;
}

/* SEO Sections Dark Mode */
[data-theme="dark"] .seo-hero-intro,
[data-theme="dark"] .hero-section,
[data-theme="dark"] .seo-why-section {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .seo-hero-intro h1,
[data-theme="dark"] .seo-hero-intro p,
[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .hero-section p,
[data-theme="dark"] .seo-why-section h2,
[data-theme="dark"] .section-title,
[data-theme="dark"] .seo-popular-section h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .seo-feature-card {
    background: #1a202c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .seo-feature-card p,
[data-theme="dark"] .feature-text,
[data-theme="dark"] .seo-popular-card p,
[data-theme="dark"] .popular-text {
    color: var(--text-primary);
}

[data-theme="dark"] .seo-popular-card {
    background: var(--card-bg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Dark Mode */
[data-theme="dark"] .seo-faq-section {
    background: var(--card-bg);
}

[data-theme="dark"] .seo-faq-section h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .seo-faq-item {
    background: #1a202c;
    border-color: var(--border-color);
}

[data-theme="dark"] .seo-faq-item summary,
[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

[data-theme="dark"] .seo-faq-item summary::after,
[data-theme="dark"] .faq-question::after {
    color: var(--text-primary);
}

[data-theme="dark"] .seo-faq-item p,
[data-theme="dark"] .faq-answer {
    color: var(--text-primary);
    border-top-color: var(--border-color);
}


/* ============================================
   11. RESPONSIVE DESIGN (MOBILE)
   ============================================ */

/* Große Bildschirme - AdSense sichtbar */
@media (min-width: 1920px) {
    .container {
        max-width: 900px;
    }
}

/* Mittlere Bildschirme - AdSense ausblenden */
@media (max-width: 1200px) {
    .adsense-sidebar {
        display: none;
    }
    
    .main-content {
        padding: 20px;
        justify-content: center;
    }
    
    .container {
        max-width: 900px;
    }
    
    .links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 Links pro Zeile */
    gap: 10px;
    justify-items: center;
    }
}
@media (max-width: 420px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr); /* bei Mini-Handys nur 2 pro Reihe */
    }
}


/* Tablet */
@media (max-width: 900px) {
    .footer-title { 
        font-size: 1.35rem; 
    }
    
    .footer-inner { 
        padding: 0 12px; 
    }
}

/* Mobile Geräte */
@media (max-width: 768px) {
    /* Theme Toggle auf Mobile ausblenden */
    .top-header .theme-toggle {
        display: none !important;
    }
    
    .top-header .language-selector {
        display: block !important;
    }

    .top-header {
        padding: 8px 15px;
    }

    .top-header .logo {
        font-size: 20px;
    }
    
    /* Container Full Width */
    .container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-content {
        padding: 15px;
    }

    /* Controls & Filter */
    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .category-filter {
        justify-content: center;
    }

    /* Link Grid anpassen */
    .links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten wie du willst */
    gap: 10px;
    justify-items: stretch;  /* sorgt dafür, dass Grid-Items die Spaltenbreite nutzen */
    align-items: stretch;    /* sorgt dafür, dass Grid-Items gleich hoch sind */
    }

    .card-logo {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .category-header {
        padding: 12px 16px;
    }

    .category-title {
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero-section .header h1,
    .seo-hero-intro h1 {
        font-size: 2rem;
    }

    .hero-section,
    .seo-hero-intro {
        padding: 30px 15px;
    }
    
    /* SEO Sections */
    .seo-hero-intro {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .seo-hero-intro h1 {
        font-size: 1.5rem;
    }

    .seo-hero-intro p {
        font-size: 0.95rem;
    }

    .seo-why-section,
    .seo-popular-section,
    .seo-faq-section {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .seo-why-section h2,
    .seo-popular-section h2,
    .seo-faq-section h2,
    .section-title {
        font-size: 1.5rem;
    }

    .seo-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-popular-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-feature-card,
    .seo-popular-card {
        padding: 1.2rem;
    }

    .seo-faq-item {
        padding: 1.2rem;
    }

    .seo-faq-item summary,
    .faq-question {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-brand { 
        align-items: center; 
    }
    
    .footer-nav { 
        justify-content: center; 
        gap: 14px; 
        flex-wrap: wrap; 
    }
    
    .footer-title { 
        font-size: 1.2rem; 
    }
    
    .site-footer { 
        padding: 24px 12px; 
    }
}

/* Kleine Mobile Geräte */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-brand { 
        align-items: center; 
    }
    
    .footer-nav { 
        justify-content: center; 
        gap: 14px; 
        flex-wrap: wrap; 
    }
    
    .footer-title { 
        font-size: 1.2rem; 
    }
    
    .site-footer { 
        padding: 24px 12px; 
    }
}

/* Extra Kleine Mobile Geräte */
@media (max-width: 480px) {
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .link-card {
        padding: 12px;
    }

    .card-name {
        font-size: 0.8rem;
    }

    .top-header .header-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* SEO Sections */
    .seo-hero-intro h1,
    .hero-section h1 {
        font-size: 1.3rem;
    }

    .seo-hero-intro p,
    .hero-section p {
        font-size: 0.9rem;
    }

    .seo-why-section h2,
    .seo-popular-section h2,
    .seo-faq-section h2,
    .section-title {
        font-size: 1.3rem;
    }

    .seo-feature-card h3 {
        font-size: 1.1rem;
    }

    .seo-popular-card h3 {
        font-size: 1.2rem;
    }

    .seo-faq-item summary,
    .faq-question {
        font-size: 0.95rem;
    }
}

/* Performance-Optimierung: Nur sichtbare Bereiche rendern */
.category-section,
.seo-why-section,
.seo-popular-section,
.seo-faq-section {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* ============================================
   ENDE styles.css
   ============================================ */