/* Widget Sections CSS - Universelle Section-Klasse */

/* Base Section - Universelle Section-Klasse */
.base-section {
    margin-bottom: 3rem;
    width: 100%;
}

/* Section Header (eine Klasse pro Element, 011-ui-html.mdc Regel 021: enthaelt Section + Header) */
.base-section-header {
    margin-bottom: 3rem;
    width: 100%;
    text-align: center;
    position: relative;
}

.base-section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-on-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(243, 147, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.base-section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.base-section-header .base-headline-h1,
.base-section-header .base-headline-h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.base-section-header .base-headline-h1::after,
.base-section-header .base-headline-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(243, 147, 36, 0.5);
}

.base-section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 700px;
    margin: 0 auto;
    font-weight: var(--font-weight-normal);
}

/* Responsive Design - Mobile-First */
@media (max-width: 576px) {
    .base-section {
        margin-bottom: 2rem;
    }
    
    .base-section-header {
        margin-bottom: 2rem;
    }
    
    .base-section-header .base-headline-h1,
    .base-section-header .base-headline-h2 {
        font-size: var(--font-size-2xl);
    }
    
    .base-section-subtitle {
        font-size: var(--font-size-base);
        padding: 0 1rem;
    }
}

/* Tablet/iPad: 600px-768px */
@media (min-width: 600px) and (max-width: 768px) {
    .base-section-header .base-headline-h1,
    .base-section-header .base-headline-h2 {
        font-size: var(--font-size-2xl);
    }
    
    .base-section-subtitle {
        font-size: var(--font-size-base);
    }
}

/* Kleiner Desktop/13-Zoll: 1024px-1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
    .base-section {
        margin-bottom: 3rem;
    }
}

/* Großer Desktop/Widescreen: min-width 1440px */
@media (min-width: 1440px) {
    .base-section {
        margin-bottom: 4rem;
    }
}
