/* 
 * Widgets Sections CSS
 * Alle Section-Definitionen
 * Farben müssen via Custom Properties aus der colors.css genutzt werden
 */

/* Section - Mobile-First */
.base-section {
    padding: var(--spacing-xl) 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.base-section h2 {
    font-size: var(--font-size-xl);
    margin: 0 0 var(--spacing-md);
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

/* Section Intro */
.base-section-intro {
    margin-bottom: var(--spacing-xl);
}

.base-section-intro p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-family-base);
    margin: 0;
}

.base-section-intro strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

/* Section Image Strip */
.base-section-image-strip {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-sizing: border-box;
}

.base-section-image-strip-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
}

/* Responsive - Mobile-First */
/* Tablet/iPad: 600px-768px */
@media (width >= 600px) {
    .base-section {
        padding: var(--spacing-2xl) 0;
    }

    .base-section h2 {
        font-size: var(--font-size-2xl);
    }

    .base-section-image-strip-img {
        min-height: 180px;
        height: auto;
    }
}

/* Kleiner Desktop/13-Zoll: 1024px-1366px */
@media (width >= 1024px) and (width <= 1366px) {
    .base-section h2 {
        font-size: var(--font-size-3xl);
    }

    .base-section-image-strip-img {
        min-height: 150px;
        height: auto;
    }
}

/* Großer Desktop/Widescreen: min-width: 1440px */
@media (width >= 1440px) {
    .base-section-image-strip-img {
        min-height: 150px;
        height: auto;
    }
}

/* Section - Legacy Support (ohne widget- Präfix) - Vorlage padding: 2rem 0 */
.base-section-alt {
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.base-section-alt h2 {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-md);
    font-family: var(--font-family-base);
    line-height: 1.3;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

.base-section-alt-intro {
    margin-bottom: var(--spacing-xl);
}

.base-section-alt-intro p {
    font-size: var(--font-size-098rem);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-family-base);
    margin: 0;
}

.base-section-alt-intro strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

/* Vorlage .base-section-alt-image-strip { padding-top: 0; } */
.base-section-alt-image-strip {
    padding-top: 0;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.base-image-strip-img {
    width: 100%;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
}

