/**
 * S.Y.Z. GmbH & Co. KG - About Page Styles
 * Modern Corporate Design - Professional & Visual
 * Version 3.0
 */

/* ============================================================================
   ABOUT HERO - Full-Width Hero mit Hintergrundbild
   ============================================================================ */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 74, 103, 0.92) 0%, 
        rgba(26, 46, 63, 0.88) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.about-hero-text {
    max-width: 800px;
    color: white;
}

.about-hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-hero .hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1rem;
}

/* ============================================================================
   STATS SECTION - Zahlen & Fakten
   ============================================================================ */
.stats-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(44, 74, 103, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--color-dark);
    opacity: 0.7;
}

/* ============================================================================
   TWO COLUMN LAYOUT - Content + Image
   ============================================================================ */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-column {
    padding-right: 2rem;
}

.image-column {
    position: relative;
}

.column-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* Image Stats Overlay */
.image-stats-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 3rem;
}

.overlay-stat {
    text-align: center;
}

.overlay-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.overlay-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================================
   HIGHLIGHT BOX - Inline Feature Box
   ============================================================================ */
.highlight-box-inline {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-light);
    border-left: 4px solid var(--color-primary);
}

.highlight-box-inline .highlight-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-box-inline h4 {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.highlight-box-inline p {
    font-size: 1rem;
}

/* ============================================================================
   VALUE ICONS - Große Icons für Werte
   ============================================================================ */
.value-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================================================
   FEATURE GRID - 2 Column Features
   ============================================================================ */
.feature-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--color-grey);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--color-primary-dark);
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================================================
   TEAM CARDS - Modern Team Grid
   ============================================================================ */
.team-card {
    background: white;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-grey);
}

.team-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.avatar-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.team-name {
    color: var(--color-primary-dark);
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--color-dark);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================================================
   GRID LAYOUTS - Responsive Grids
   ============================================================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* ============================================================================
   SECTION HEADER - Modern Section Headers
   ============================================================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(44, 74, 103, 0.1);
}

.section-title {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ============================================================================
   ANIMATIONS - Scroll Animations
   ============================================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   RESPONSIVE - Mobile Optimierungen
   ============================================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-column {
        padding-right: 0;
    }
    
    .image-column {
        order: -1;
    }
    
    .column-image {
        height: 400px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero .hero-description {
        font-size: 1rem;
    }
    
    .stats-section {
        margin-top: -40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .column-image {
        height: 300px;
    }
    
    .image-stats-overlay {
        position: static;
        margin-top: 1rem;
        justify-content: center;
        gap: 2rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .value-icon-large {
        font-size: 3rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .about-hero {
        min-height: 350px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .image-stats-overlay {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Print Styles */
@media print {
    .about-hero {
        background: none !important;
        height: auto !important;
    }
    
    .hero-overlay {
        display: none !important;
    }
    
    .about-hero-content {
        color: black !important;
    }
    
    .stats-section {
        margin-top: 0 !important;
    }
    
    .stat-box,
    .card,
    .feature-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}
