/* ===================================
   TEAM PHOTO SECTION - Single Image with Frame
   =================================== */

.split-image-section {
    background: var(--bg-darker);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* An about-us--modern: weiche Trennung, Gold-Glow links */
.split-image-section--modern {
    isolation: isolate;
}

.split-image-section--modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.28) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.split-image-section--modern::after {
    content: '';
    position: absolute;
    width: min(100%, 640px);
    height: 260px;
    top: 8%;
    left: -10%;
    background: radial-gradient(ellipse 70% 70% at 20% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.split-image__inner {
    position: relative;
    z-index: 1;
}

.split-image-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.split-image-section--modern .section-header {
    text-align: center;
}

.split-image-section--modern .section-header .team-eyebrow {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.team-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}

/* Team Photo Frame - Single Image */
.team-photo-frame {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    border-radius: var(--radius-2xl, 28px);
    overflow: hidden;
    /* etwas stärkere Füllung, weniger Blur = flüssigeres Scrollen */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.team-photo-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-2xl, 28px);
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent),
        var(--primary)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.team-photo-frame:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 30px 80px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.team-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.4s ease;
}

.team-photo-frame:hover img {
    transform: scale(1.02);
}

/* Old split image styles - kept for reference but not used */

/* Content below images */
.split-image-content {
    text-align: center;
    margin-top: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.split-image-content--panel {
    max-width: 720px;
    margin-top: 56px;
    padding: 28px 32px 32px;
    border-radius: var(--radius-2xl, 28px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    /* kein extra backdrop-filter — Performanz */
}

.split-image-content h3.split-image-content__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    margin: 0 0 16px 0;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.split-image-content__lead {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.split-image-content h3 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.split-image-content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

/* Removed - not needed for single image */

/* Responsive */
@media (max-width: 768px) {
    .split-image-section--modern::after {
        display: none;
    }

    .team-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .split-image-content--panel {
        padding: 20px 18px 24px;
        margin-top: 40px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.03);
    }

    .split-image-content__lead {
        font-size: 16px;
    }

    .split-image-section {
        padding: 60px 0;
    }
    
    .team-photo-frame {
        border-radius: 16px;
        margin: 0 16px;
        /* Disable all effects on mobile for performance */
        transition: none !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    .team-photo-frame:hover {
        transform: none !important;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 215, 0, 0.1) !important;
    }
    
    .team-photo-frame::before {
        animation: none !important;
    }
    
    .team-photo-frame img {
        border-radius: 14px;
        transition: none !important;
    }
    
    .team-photo-frame:hover img {
        transform: none !important;
    }
    
    .split-image-content h3 {
        font-size: 28px;
    }
    
    .split-image-content p {
        font-size: 16px;
    }
}

