/* IFA SEO Marktdaten Styling */
.ifa-seo-marktdaten {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.ifa-seo-marktdaten h2 {
    margin-top: 0;
    color: #111827;
    font-size: 1.5rem;
}

.ifa-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.ifa-data-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ifa-data-card .ifa-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.ifa-data-card .ifa-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb; /* Primärfarbe Blau */
    margin-bottom: 4px;
}

.ifa-data-card .ifa-sub {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* CSS-basierter Balken-Chart */
.ifa-chart-container {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.ifa-chart-container h3 {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 16px;
}

.ifa-bar-chart {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ifa-bar-label {
    min-width: 120px;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.ifa-bar-track {
    flex-grow: 1;
    background: #e5e7eb;
    border-radius: 999px;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.ifa-bar-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    height: 100%;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transition: width 1s ease-out;
}