/*
 * ============================================
 * HYBRID-DESIGN: Modern + Storytelling
 * umrechner.online - Neue Startseite CSS
 * ============================================
 */

/* ========== HEADER FIX ========== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* ========== HERO SECTION ========== */
.hero-modern {
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-text {
    padding-right: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Hero Search (ersetzt CTAs) */
.hero-search-box {
    position: relative;
    margin-bottom: 16px;
}

.hero-search-box i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--sage-green);
    pointer-events: none;
}

.hero-search-box input {
    width: 100%;
    padding: 20px 32px 20px 70px;
    font-size: 18px;
    border: 3px solid var(--sage-green);
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 175, 63, 0.25);
}

.hero-search-box input:focus {
    outline: none;
    border-color: var(--lime-fresh);
    box-shadow: 0 6px 28px rgba(139, 175, 63, 0.35);
    transform: translateY(-2px);
}

.hero-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

.hero-search-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.chip-hero {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 20px;
    font-size: 14px;
    color: var(--sage-green);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.chip-hero:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 175, 63, 0.3);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--orange-vibrant);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-icon {
    font-size: 24px;
    color: var(--sage-green);
    margin-bottom: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-main {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    right: 10%;
    color: var(--orange-vibrant);
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    left: 0%;
    color: var(--sage-green);
    animation-delay: 1s;
}

.float-3 {
    top: 50%;
    right: 5%;
    color: var(--golden-amber);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========== STATS BAR (innerhalb Container) ========== */
.stats-bar-section {
    margin: 32px 0 40px 0;
}

.stats-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.stat-item-bar {
    text-align: center;
    flex: 1;
}

.stat-item-bar .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--orange-vibrant);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item-bar .stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-item-bar .stat-icon {
    font-size: 24px;
    color: var(--sage-green);
    margin-bottom: 4px;
}

.stat-divider-bar {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .stats-bar-content {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
    }

    .stat-divider-bar {
        display: none;
    }

    .stat-item-bar .stat-number {
        font-size: 24px;
    }
}

/* ========== NEU SECTION - IN SICH GESCHLOSSEN ========== */
.new-tools-section {
    padding: 40px 0;
}

.new-tools-container {
    background: linear-gradient(135deg, #FFF8F0 0%, #FAF4EC 50%, #FFF8F0 100%);
    border-radius: 24px;
    border-left: 6px solid var(--orange-vibrant);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.15);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Dekorative Elemente */
.new-tools-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent);
    border-radius: 50%;
}

.new-tools-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 175, 63, 0.1), transparent);
    border-radius: 50%;
}

/* Header mit Illustration */
.new-tools-header {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.new-header-visual {
    position: relative;
}

.new-header-illustration {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.new-header-content {
    position: relative;
}

.new-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.new-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.new-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Kompakte Rechner-Cards */
.new-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.new-tool-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.new-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.new-tool-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #FF8C00, #FF6B35);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}

/* Mini-Hero (Preview wie echter Hero) */
.new-tool-mini-hero {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream), var(--beige-light));
}

.mini-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    filter: blur(0.5px);
}

.mini-illustration-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

.mini-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,140,0,0.08), rgba(139,175,63,0.08));
}

.mini-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mini-icon-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--orange-vibrant);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
}

.mini-hero-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    padding: 0 8px;
    line-height: 1.2;
}

.new-tool-content {
    padding: 16px;
}

.new-tool-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.new-tool-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sage-green);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 1024px) {
    .new-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .new-tools-container {
        padding: 24px;
    }

    .new-tools-header {
        grid-template-columns: 100px 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .new-header-illustration {
        width: 90px;
        height: 90px;
    }

    .new-title {
        font-size: 22px;
    }

    .new-subtitle {
        font-size: 14px;
    }

    .new-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FEATURED/NEU TIMELINE ========== */
.featured-timeline {
    padding: 80px 0;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header-modern h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header-modern p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.timeline-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.timeline-badge-new {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #FF8C00, #FF6B35);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.timeline-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--beige-light);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--beige-light), var(--sand));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-green);
}

.timeline-content {
    padding: 24px;
}

.timeline-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sage-green);
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.timeline-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.timeline-date {
    padding: 12px 24px;
    background: var(--beige-light);
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== ZENTRALE SUCHE - ALS BADGE ========== */
.search-section {
    padding: 0 0 40px 0;
}

.search-badge-container {
    background: linear-gradient(135deg, #FFF8F0 0%, #FAF4EC 50%, #FFF8F0 100%);
    border-radius: 24px;
    border-left: 6px solid var(--sage-green);
    box-shadow: 0 4px 20px rgba(139, 175, 63, 0.15);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Dekorative Elemente */
.search-badge-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 175, 63, 0.1), transparent);
    border-radius: 50%;
}

.search-badge-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent);
    border-radius: 50%;
}

/* Header mit Icon */
.search-badge-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.search-icon-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--sage-green), var(--lime-fresh));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(139, 175, 63, 0.3);
    animation: pulse-search 3s ease-in-out infinite;
}

@keyframes pulse-search {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(139, 175, 63, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(139, 175, 63, 0.4); }
}

.search-header-text {
    position: relative;
}

.search-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.search-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Suchfeld in Badge - volle Breite */
.search-box-badge {
    position: relative;
    margin-bottom: 20px;
    z-index: 2;
}

.search-box-badge i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--sage-green);
    pointer-events: none;
}

.search-box-badge input {
    width: 100%;
    padding: 20px 32px 20px 70px;
    font-size: 18px;
    border: 3px solid var(--sage-green);
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(139, 175, 63, 0.2);
}

.search-box-badge input:focus {
    outline: none;
    border-color: var(--lime-fresh);
    box-shadow: 0 6px 24px rgba(139, 175, 63, 0.3);
    transform: translateY(-2px);
}

/* .search-suggestions-badge - Definition verschoben zu Zeile 2383 (SEARCH SUGGESTIONS FIX) */

.search-chips-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.chip-badge {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 20px;
    font-size: 14px;
    color: var(--sage-green);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.chip-badge:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 175, 63, 0.3);
}

.suggestion-item-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.suggestion-item-modern:last-child {
    border-bottom: none;
}

.suggestion-item-modern:hover {
    background: var(--beige-light);
}

.suggestion-item-modern.highlight {
    background: linear-gradient(90deg, rgba(139, 175, 63, 0.1), transparent);
}

.suggestion-item-modern i {
    font-size: 20px;
    color: var(--sage-green);
}

.suggestion-content-modern {
    flex: 1;
    text-align: left;
}

.suggestion-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.suggestion-meta {
    font-size: 13px;
    color: var(--text-light);
}

.search-chips {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.chips-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.chip {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 20px;
    font-size: 14px;
    color: var(--sage-green);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.chip:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 175, 63, 0.3);
}

/* Mobile Anpassung für Such-Badge */
@media (max-width: 768px) {
    .search-badge-container {
        padding: 24px;
    }

    .search-badge-header {
        grid-template-columns: 70px 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .search-icon-visual {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .search-title {
        font-size: 22px;
    }

    .search-subtitle {
        font-size: 14px;
    }

    .search-box-modern input {
        font-size: 16px;
        padding: 16px 24px 16px 56px;
    }

    .search-chips {
        justify-content: flex-start;
    }
}

/* ========== KATEGORIEN GRID ========== */
.categories-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige-light) 100%);
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.category-card-modern {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card-modern:hover::before {
    opacity: 1;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.category-illustration {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-illustration {
    transform: scale(1.1);
}

.illustration-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-light), var(--sand));
    border-radius: 16px;
}

.category-info-modern {
    margin-bottom: 20px;
}

.category-name-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.category-description-modern {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.category-meta-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.tool-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--beige-light);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sage-green);
}

.category-arrow {
    color: var(--sage-green);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-arrow {
    transform: translateX(4px);
}

/* ========== FEATURES ========== */
.features-modern {
    padding: 80px 0;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card-modern {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.feature-card-modern h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card-modern p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

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

.btn-secondary:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--orange-vibrant);
    border: 2px solid var(--orange-vibrant);
}

.btn-outline-primary:hover {
    background: var(--orange-vibrant);
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-illustration {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid-modern {
        grid-template-columns: 1fr;
    }

    .features-grid-modern {
        grid-template-columns: 1fr;
    }

    .section-header-modern h2 {
        font-size: 32px;
    }

    .search-title {
        font-size: 28px;
    }
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* ========== LOADING & ERROR STATES ========== */
.search-loading,
.search-no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.search-loading i {
    margin-right: 8px;
}

/* ========== USE CASES / PERSONAS ========== */
.use-cases-section {
    padding: 80px 0;
}

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

.persona-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.persona-card:hover::before {
    opacity: 1;
}

.persona-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.persona-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.persona-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.persona-info {
    margin-bottom: 20px;
}

.persona-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.persona-role {
    font-size: 14px;
    color: var(--sage-green);
    font-weight: 600;
}

.persona-story {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    padding: 0 8px;
}

.persona-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.persona-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

/* Mobile */
@media (max-width: 1024px) {
    .personas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .use-cases-section {
        padding: 60px 0;
    }
}

/* ========== BELIEBTE RECHNER - HORIZONTAL SCROLL ========== */
.popular-section {
    padding: 80px 0;
}

.popular-scroll-container {
    position: relative;
    margin-top: 40px;
}

.popular-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 0 24px 0;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.popular-scroll::-webkit-scrollbar {
    height: 8px;
}

.popular-scroll::-webkit-scrollbar-track {
    background: var(--beige-light);
    border-radius: 4px;
}

.popular-scroll::-webkit-scrollbar-thumb {
    background: var(--sage-green);
    border-radius: 4px;
}

.popular-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.popular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-card:hover::before {
    opacity: 1;
}

.popular-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.popular-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.25);
}

.popular-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.popular-category {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.popular-usage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--beige-light);
    border-radius: 12px;
    font-size: 13px;
    color: var(--orange-vibrant);
    font-weight: 600;
}

.popular-usage i {
    color: var(--orange-vibrant);
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--sage-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: -24px;
}

.scroll-right {
    right: -24px;
}

/* Mobile */
@media (max-width: 768px) {
    .scroll-btn {
        display: none; /* Touch scroll on mobile */
    }

    .popular-card {
        flex: 0 0 240px;
    }

    .popular-section {
        padding: 60px 0;
    }
}

/* ========== BLOG TEASER ========== */
.blog-teaser-section {
    padding: 80px 0;
}

.blog-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.blog-teaser-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-teaser-title a {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.4;
}

.blog-teaser-title a:hover {
    color: var(--orange-vibrant);
}

.blog-teaser-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 16px 0 20px;
}

.blog-teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sage-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.blog-teaser-link:hover {
    color: var(--orange-vibrant);
}

@media (max-width: 768px) {
    .blog-teaser-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== BLOG POST EINZELANSICHT - KOMPLETT NEU ========== */
.blog-post-badge {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Header mit Gradient-Akzent */
.blog-post-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px 40px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FAF4EC 100%);
    border-bottom: 3px solid var(--orange-vibrant);
    position: relative;
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent);
    border-radius: 50%;
}

.blog-icon-visual {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
    position: relative;
    z-index: 2;
}

.blog-header-text {
    position: relative;
    z-index: 2;
}

.blog-post-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: var(--orange-vibrant);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Content-Bereich - das Herzstück */
.blog-post-content {
    padding: 48px;
    line-height: 1.9;
    font-size: 17px;
    color: var(--text-primary);
}

/* Überschriften mit Akzent */
.blog-post-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--orange-warm);
    display: inline-block;
}

.blog-post-content h2::before {
    content: '📌 ';
    margin-right: 8px;
}

.blog-post-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--sage-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-post-content h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--sage-green), var(--lime-fresh));
    border-radius: 2px;
}

.blog-post-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--orange-vibrant);
}

/* Absätze */
.blog-post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Links im Design-Stil */
.blog-post-content a {
    color: var(--orange-vibrant);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.blog-post-content a:hover {
    color: var(--sage-green);
    border-bottom-color: var(--sage-green);
}

/* Listen mit schönen Styles */
.blog-post-content ul {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.blog-post-content ul li {
    position: relative;
    padding: 12px 0 12px 32px;
    margin-bottom: 8px;
    border-left: 3px solid var(--sage-green);
    background: linear-gradient(90deg, rgba(143, 175, 63, 0.05), transparent);
    border-radius: 0 8px 8px 0;
}

.blog-post-content ul li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 12px;
    color: var(--sage-green);
    font-weight: 700;
}

.blog-post-content ol {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.blog-post-content ol li {
    position: relative;
    padding: 16px 0 16px 56px;
    margin-bottom: 12px;
    background: var(--beige-light);
    border-radius: 12px;
    counter-increment: item;
}

.blog-post-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

/* Bilder */
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Blockquotes */
.blog-post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #FFF8F0, #FAF4EC);
    border-left: 5px solid var(--orange-vibrant);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
}

.blog-post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 60px;
    color: var(--orange-warm);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Code-Blöcke */
.blog-post-content code {
    background: var(--beige-light);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: var(--orange-vibrant);
}

.blog-post-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.blog-post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Tabellen */
.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-post-content th {
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.blog-post-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--beige-light);
}

.blog-post-content tr:hover td {
    background: var(--beige-light);
}

/* Horizontale Linie */
.blog-post-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green), var(--orange-warm));
    margin: 40px 0;
    border-radius: 2px;
}

/* Strong/Bold */
.blog-post-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Emphasis */
.blog-post-content em {
    color: var(--sage-green);
    font-style: italic;
}

/* Footer */
.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: var(--beige-light);
    border-top: 2px solid rgba(139, 175, 63, 0.2);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.blog-post-meta i {
    color: var(--sage-green);
}

.blog-post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-post-tags i {
    color: var(--sage-green);
    font-size: 14px;
}

.tag-chip {
    padding: 6px 14px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 20px;
    font-size: 12px;
    color: var(--sage-green);
    font-weight: 600;
    transition: all 0.2s ease;
}

.tag-chip:hover {
    background: var(--sage-green);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-post-header {
        grid-template-columns: 60px 1fr;
        gap: 16px;
        padding: 24px;
    }
    .blog-icon-visual {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    .blog-post-title {
        font-size: 22px;
    }
    .blog-post-content {
        padding: 24px;
        font-size: 16px;
    }
    .blog-post-content h2 {
        font-size: 22px;
    }
    .blog-post-content h3 {
        font-size: 19px;
    }
    .blog-post-content ul li,
    .blog-post-content ol li {
        padding-left: 40px;
    }
    .blog-post-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 20px 24px;
    }
}

/* ========== BLOG KATEGORIEN ACCORDION ========== */
.blog-categories-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-category-section {
    margin-bottom: 24px;
}

.blog-category-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.blog-category-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.blog-category-toggle.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.category-toggle-left {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.category-toggle-left i {
    font-size: 24px;
}

.category-name {
    font-size: 20px;
    font-weight: 700;
}

.category-count {
    font-size: 14px;
    opacity: 0.9;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

.category-chevron {
    font-size: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.blog-category-posts {
    background: white;
    border: 3px solid var(--orange-vibrant);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 32px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    position: relative;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover::before {
    opacity: 1;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.post-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.post-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Logo als Blog-Bild - zentriert und passend skaliert */
.post-card-image img[src*="logo"] {
    object-fit: contain;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.post-card-content {
    padding: 24px;
}

.post-card-title {
    margin-bottom: 12px;
}

.post-card-title a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: var(--orange-vibrant);
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--beige-light);
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card-meta i {
    color: var(--sage-green);
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
}

.post-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
    color: white;
}

.post-card-link i {
    transition: transform 0.2s ease;
}

.post-card-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .blog-category-toggle { padding: 16px 20px; }
    .category-name { font-size: 18px; }
    .blog-posts-grid { grid-template-columns: 1fr; }
}

/* ========== BLOG KATEGORIE FILTER ========== */
.blog-category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 24px;
    color: var(--sage-green);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 175, 63, 0.3);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.post-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(143, 175, 63, 0.1), rgba(143, 175, 63, 0.05));
    border: 1px solid var(--sage-green);
    border-radius: 20px;
    font-size: 12px;
    color: var(--sage-green);
    font-weight: 600;
    margin-bottom: 16px;
}

.post-card-category i {
    font-size: 10px;
}

@media (max-width: 768px) {
    .category-filter-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ========== BLOG HEADER BADGE ========== */
.blog-header-badge {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: center;
    padding: 36px 44px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.blog-header-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green), var(--orange-warm));
}

.blog-header-badge::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.08), transparent);
    border-radius: 50%;
}

.blog-header-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.35);
    position: relative;
    z-index: 2;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-header-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--orange-vibrant));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .blog-header-badge {
        grid-template-columns: 70px 1fr;
        gap: 16px;
        padding: 24px;
    }
    .blog-header-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    .blog-header-title {
        font-size: 28px;
    }
    .blog-header-subtitle {
        font-size: 15px;
    }
}

/* ========== WEISSE BADGES (Use Cases, Beliebte, Blog) ========== */
.white-badge-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.white-badge-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--beige-light);
}

.badge-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.25);
}

.badge-header-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.badge-header-text p {
    font-size: 16px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .white-badge-container { padding: 24px; }
    .white-badge-header {
        grid-template-columns: 70px 1fr;
        gap: 16px;
    }
    .badge-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .badge-header-text h2 { font-size: 22px; }
}

/* ========== FARBIGE BADGES (wiederverwendbar) ========== */
.colored-badge-container {
    background: linear-gradient(135deg, #FFF8F0 0%, #FAF4EC 50%, #FFF8F0 100%);
    border-radius: 24px;
    border-left: 6px solid var(--sage-green);
    box-shadow: 0 4px 20px rgba(139, 175, 63, 0.15);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.colored-badge-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 175, 63, 0.1), transparent);
    border-radius: 50%;
}

.colored-badge-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent);
    border-radius: 50%;
}

.colored-badge-header {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.colored-header-visual {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colored-header-visual img,
.colored-header-visual i {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.colored-header-visual i {
    font-size: 48px;
    color: var(--sage-green);
}

.colored-header-content {
    position: relative;
}

.colored-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.colored-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .colored-badge-container {
        padding: 24px;
    }
    .colored-badge-header {
        grid-template-columns: 100px 1fr;
        gap: 20px;
    }
    .colored-header-visual {
        width: 90px;
        height: 90px;
    }
    .colored-header-visual i {
        font-size: 36px;
    }
    .colored-title {
        font-size: 22px;
    }
}

/* ========== KATEGORIEN KOMPAKT (wie Beliebte) ========== */
.categories-compact-section {
    padding: 0;
}

.categories-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.category-compact-card {
    background: white;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.category-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-warm), var(--sage-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-compact-card:hover::before {
    opacity: 1;
}

.category-compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.category-compact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--orange-warm), var(--sage-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.category-compact-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.category-compact-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--beige-light);
    border-radius: 12px;
    font-size: 13px;
    color: var(--sage-green);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .categories-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-compact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .category-compact-title {
        font-size: 14px;
    }
}

/* ========== ORANGE VARIANT für Badges ========== */
.colored-badge-container.orange-variant {
    border-left-color: var(--orange-vibrant);
}

.colored-badge-container.orange-variant::before {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent);
}

.colored-badge-container.orange-variant::after {
    background: radial-gradient(circle, rgba(139, 175, 63, 0.1), transparent);
}

.colored-badge-container.orange-variant .colored-header-visual i {
    color: var(--orange-vibrant);
}

/* ========== SEARCH SUGGESTIONS FIX ========== */
.search-box-badge {
    position: relative;
}

.search-suggestions-badge {
    position: fixed !important;
    /* top, left, width werden via JavaScript dynamisch gesetzt */
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    display: none;
}

.suggestion-item-modern {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    border-bottom: 1px solid var(--border) !important;
}

.suggestion-item-modern:last-child {
    border-bottom: none !important;
}

.suggestion-item-modern:hover {
    background: var(--beige-light) !important;
}

.suggestion-item-modern.highlight {
    background: linear-gradient(90deg, rgba(139, 175, 63, 0.1), transparent) !important;
}

.suggestion-item-modern i {
    font-size: 20px !important;
    color: var(--sage-green) !important;
}

.suggestion-content-modern {
    flex: 1 !important;
    text-align: left !important;
}

.suggestion-name {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 4px !important;
}

.suggestion-meta {
    font-size: 13px !important;
    color: var(--text-light) !important;
}

.search-loading, .search-no-results, .search-error {
    padding: 20px !important;
    text-align: center !important;
    color: var(--text-secondary) !important;
}

/* ========================================
   BLOG SIDEBAR STYLES
   ======================================== */

/* Blog Main Container - Weiße Badge */
.blog-main-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 32px;
}

.blog-layout-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Sidebar */
.blog-sidebar-card {
    background: linear-gradient(135deg, #FFF8F0 0%, #FAF4EC 100%);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
    border: 2px solid rgba(255, 140, 0, 0.1);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.2);
}

.sidebar-header i {
    color: var(--orange-vibrant);
}

.blog-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border: 2px solid transparent;
}

.blog-nav-item i {
    font-size: 1em;
    width: 20px;
    text-align: center;
    color: var(--sage-green);
}

.blog-nav-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.nav-count {
    background: var(--beige-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.blog-nav-item:hover {
    background: white;
    border-color: var(--sage-green);
    transform: translateX(4px);
}

.blog-nav-item:hover i {
    color: var(--orange-vibrant);
}

.blog-nav-item.active {
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
    border-color: transparent;
}

.blog-nav-item.active i {
    color: white;
}

.blog-nav-item.active .nav-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Content Area */
.blog-content-area {
    min-height: 400px;
}

/* Empty State */
.blog-empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 40px;
    background: var(--beige-light);
    border-radius: 16px;
}

.blog-empty-state i {
    font-size: 64px;
    color: var(--orange-warm);
    margin-bottom: 24px;
    display: block;
    opacity: 0.5;
}

.blog-empty-state h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog-empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Placeholder für Posts ohne Bild */
.post-card-placeholder {
    background: linear-gradient(135deg, var(--beige-light), var(--sand));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-placeholder i {
    font-size: 48px;
    color: var(--orange-warm);
    opacity: 0.4;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    background: white;
    color: var(--orange-vibrant);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--orange-warm);
}

.pagination-btn:hover {
    background: var(--sage-green);
    border-color: var(--sage-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(143, 175, 63, 0.35);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--orange-warm), var(--orange-vibrant));
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
    transform: scale(1.1);
}

.pagination-btn i {
    font-size: 0.9em;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .blog-layout-wrapper {
        grid-template-columns: 220px 1fr;
        gap: 30px;
    }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .blog-main-container {
        padding: 24px;
        margin-top: 24px;
    }

    .blog-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .blog-sidebar {
        order: 2;
    }

    .blog-sidebar-card {
        position: static;
    }

    .pagination-btn {
        min-width: 42px;
        height: 42px;
        font-size: 0.9em;
    }
}
