/**
 * Public Home v2 - FINALES DESIGN
 * Mit Hero-Foto rechts und abwechselnden Modul-Layouts
 */

/* ==========================================================================
   Reset & Base
   ========================================================================== */

.public-home-v2 {
    --pink-primary: #CE0F69;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-cream: #FBF7F4;
    --bg-white: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
}

.container-text {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Placeholder Images */
.image-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* ==========================================================================
   Hero Section mit Foto rechts
   ========================================================================== */

.hero-with-image {
    background: var(--bg-cream);
    padding: 4rem 0 5rem;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content-left {
    padding-right: 2rem;
}

.smile-logo-heart {
    margin-bottom: 1rem;
}

.hero-main-title {
    margin: 0 0 3rem 0;
}

.title-smile {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.title-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.2em;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    background: var(--pink-primary);
    border-radius: 12px;
    color: white;
}

.feature-badge svg {
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.9375rem;
    line-height: 1.4;
}

.badge-text strong {
    font-size: 1.0625rem;
}

.hero-image-right {
    position: relative;
}

.hero-main-photo {
    aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Intro Text Section
   ========================================================================== */

.intro-text-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 2.5rem 0;
    line-height: 1.3;
}

.intro-paragraphs {
    max-width: 900px;
    margin: 0 auto;
}

.intro-paragraphs p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0 0 1.5rem 0;
}

.intro-paragraphs p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.cta-primary-section {
    padding: 3rem 0;
    background: var(--bg-white);
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
}

.btn-cta-pink,
.btn-cta-pink-large {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--pink-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-cta-pink-large {
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
}

.btn-cta-pink:hover,
.btn-cta-pink-large:hover {
    background: #a80c56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 15, 105, 0.3);
}

.btn-cta-dark {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background: var(--text-dark);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-cta-dark:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Video Section
   ========================================================================== */

.video-showcase {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.section-title-center {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 1rem 0;
}

.section-subtitle-center {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.video-embed-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder-large {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Features Grid (4 Boxen)
   ========================================================================== */

.features-four-box {
    padding: 5rem 0;
    background: var(--bg-white);
}

.features-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--pink-primary);
    border-radius: 16px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* ==========================================================================
   SMILE Module Section - Abwechselndes Layout
   ========================================================================== */

.smile-modules-detailed {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.modules-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.smile-logo-small {
    margin: 0 auto 1rem;
}

.smile-big-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem 0;
}

.smile-tagline {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-gray);
    font-style: italic;
    margin: 0 0 2rem 0;
}

.modules-intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
}

/* Module Rows */
.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.module-row:last-child {
    margin-bottom: 0;
}

/* Layout left: Text links, Foto rechts */
.module-row.layout-left .module-text-side {
    order: 1;
}

.module-row.layout-left .module-image-side {
    order: 2;
}

/* Layout right: Foto links, Text rechts */
.module-row.layout-right .module-image-side {
    order: 1;
}

.module-row.layout-right .module-text-side {
    order: 2;
}

.module-text-side {
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.module-letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--pink-primary);
    color: white;
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.module-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

.module-image-side {
    position: relative;
}

.module-photo {
    aspect-ratio: 4 / 3;
}

.module-photo.landscape {
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-showcase {
    padding: 5rem 0;
    background: var(--bg-white);
}

.team-intro-text,
.team-goal-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.team-member {
    text-align: center;
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */

.partners-showcase {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.partners-grid {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
}

.partner-placeholder {
    font-size: 1rem;
    color: var(--text-gray);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta-large {
    padding: 5rem 0;
    background: var(--bg-white);
    text-align: center;
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2.5rem 0;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content-left {
        padding-right: 0;
    }
    
    .features-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .module-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .module-row.layout-right .module-image-side,
    .module-row.layout-left .module-image-side {
        order: 1;
    }
    
    .module-row.layout-right .module-text-side,
    .module-row.layout-left .module-text-side {
        order: 2;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .title-smile {
        font-size: 3.5rem;
    }
    
    .smile-big-title {
        font-size: 3rem;
    }
    
    .features-grid-four {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-pink-large,
    .btn-cta-dark {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .container-text,
    .container-wide {
        padding: 0 1rem;
    }
    
    .title-smile {
        font-size: 2.5rem;
    }
    
    .hero-with-image,
    .intro-text-section,
    .video-showcase,
    .features-four-box,
    .smile-modules-detailed,
    .team-showcase,
    .partners-showcase,
    .final-cta-large {
        padding: 3rem 0;
    }
    
    .module-row {
        margin-bottom: 3rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
