/* SEO-Day Home Screen Styles */

/* 
 * WICHTIG: Screen-CSS-Dateien müssen in der Regel LEER sein (nur Kommentare).
 * Alle wiederverwendbaren Styles müssen in Widget-CSS-Dateien unter 
 * htdocs/css/app/base/ definiert sein.
 * 
 * Verwendete Widget-Klassen:
 * - base-hero (für Hero-Section)
 * - base-section (für Sections)
 * - base-headline-h1, base-headline-h2, etc. (für Headlines)
 * - base-content-text (für Text-Inhalte)
 * - base-card (für Cards)
 * - base-grid (für Grid-Layouts)
 * - base-button-standard (für Buttons)
 * 
 * Screen-spezifische Klassen (nur auf Home-Screen):
 * - stat-item, stat-number, stat-label (Statistiken)
 * - seoday-about-header, seoday-about-badge, seoday-about-stats (About-Section)
 * - seoday-video-container, imac-mockup, imac-screen, etc. (Video-Section)
 * - kundenstimme-* (Kundenstimmen auf Home)
 * - sponsor-* (Sponsoren)
 * - seoday-blog-post-image-container, seoday-blog-post-image (Blog-Post-Bilder)
 */

/* Statistiken (nur auf Home-Screen) – mittig, hochwertig */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 36px;
    min-width: 140px;
    background: var(--color-bg-lightest);
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--color-shadow-light);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-orange);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    line-height: var(--line-height-tight);
}

@media (max-width: 575px) {
    .stat-item {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.stat-label {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About-Section (nur auf Home-Screen) */
.seoday-about-header {
    margin-bottom: 30px;
    text-align: center;
}

.seoday-about-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    margin-bottom: 20px;
}

.seoday-about-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 36px;
    justify-content: center;
    align-items: stretch;
}

/* Video-Section (nur auf Home-Screen) */
.seoday-video-container {
    margin: 40px 0;
}

.imac-mockup {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.imac-screen {
    position: relative;
    background: var(--color-black);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.imac-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-text-secondary);
    border-radius: 50%;
}

.seoday-video-wrapper {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.seoday-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imac-chin {
    width: 100%;
    height: 20px;
    background: var(--color-border-light-mode);
    border-radius: 0 0 8px 8px;
}

.imac-stand {
    width: 60px;
    height: 80px;
    background: var(--color-border-light-mode);
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
}

.imac-base {
    width: 120px;
    height: 10px;
    background: var(--color-border-light-mode);
    margin: 0 auto;
    border-radius: 4px;
}

/* Blog-Post-Bilder (nur auf Home-Screen) */
.seoday-blog-post-image-link {
    display: block;
    text-decoration: none;
}

.seoday-blog-post-image-container {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.seoday-blog-post-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog-Teaser: H3-Titel in einer Zeile gleich hoch (mehrzeilig, max. 2 Zeilen) */
.home-blog-posts-grid {
    align-items: stretch;
}

.home-blog-posts-grid > .base-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-blog-posts-grid .base-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.home-blog-posts-grid .base-card-body > .base-headline-h3 {
    width: 100%;
    min-height: calc(2 * 1.35em + 7px);
    box-sizing: border-box;
}

.home-blog-posts-grid .base-card-body > .base-headline-h3 h3 {
    display: block;
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .home-blog-posts-grid .base-card-body > .base-headline-h3 {
        min-height: calc(2 * 1.35 * 1.125em + 7px);
    }
}

@media (min-width: 1024px) {
    .home-blog-posts-grid .base-card-body > .base-headline-h3 {
        min-height: calc(2 * 1.35 * 1.25em + 7px);
    }
}

@media (min-width: 1440px) {
    .home-blog-posts-grid .base-card-body > .base-headline-h3 {
        min-height: calc(2 * 1.35 * 1.5em + 7px);
    }
}

/* Kundenstimmen (nur auf Home-Screen) – 2 Kacheln pro Zeile; ID-Selektoren (#) verboten (011-ui-css-general.mdc 005.001) */
.home-testimonials-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .home-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .home-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1440px) {
    .home-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kundenstimme-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.kundenstimme-logo {
    max-width: 150px;
    height: auto;
    display: inline-block;
}

.kundenstimme-content {
    padding: 3px;
    text-align: justify;
}

.kundenstimme-header {
    margin-bottom: 15px;
}

.kundenstimme-author {
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    margin-bottom: 5px;
}

.kundenstimme-company {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    margin-bottom: 10px;
}

.kundenstimme-text {
    color: var(--color-text);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0;
}

/* Sponsoren (nur auf Home-Screen) */
.sponsor-card-content {
    text-align: center;
    padding: 20px;
}

.sponsor-logo-container {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.sponsor-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    margin-top: 10px;
}

.sponsors-thanks-text {
    margin: 30px 0;
    padding: 20px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light-mode);
    border-radius: 8px;
    text-align: center;
}

.sponsors-thanks-text p {
    color: var(--color-text);
    font-size: var(--font-size-base);
    margin: 0;
}

/* Button-Container (nur auf Home-Screen) */
.seoday-social-wall-all-button,
.seoday-sponsors-cta {
    text-align: center;
    margin-top: 30px;
}
