/* Team-spezifische Styles */

/* Team Hero Section */
.team-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1e1e1e 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, transparent 50%, rgba(51, 102, 255, 0.03) 100%);
    z-index: 1;
}

/* Subtle geometric patterns */
.team-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, transparent 40%, rgba(255, 140, 0, 0.02) 41%, rgba(255, 140, 0, 0.02) 42%, transparent 43%),
        linear-gradient(-30deg, transparent 40%, rgba(255, 140, 0, 0.02) 41%, rgba(255, 140, 0, 0.02) 42%, transparent 43%);
    background-size: 100px 100px;
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    animation: elegantFadeIn 1.2s ease-out;
}

@keyframes elegantFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-hero-content h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    color: #f8f8f8;
    text-shadow: none;
    line-height: 1.2;
    position: relative;
}

.team-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-orange) 20%, var(--brand-orange) 80%, transparent 100%);
}

.team-hero-content p {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
    animation: elegantFadeIn 1.2s ease-out 0.2s both;
}

/* Team Section */
.team-section {
    padding: 6rem 2rem;
    background-color: var(--bg-dark);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

/* Team Member Cards */
.team-member {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.2);
    border-color: var(--brand-orange);
}

/* Team Member Image */
.team-member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-accent) 100%);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

/* Placeholder for missing images */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-accent) 100%);
}

.placeholder-initial {
    font-size: 6rem;
    font-weight: bold;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Member Overlay */
.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-experience {
    background: var(--brand-orange);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Team Member Info */
.team-member-info {
    padding: 2rem;
}

.team-member-info h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-position {
    color: var(--brand-orange);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Member Specialties */
.member-specialties {
    margin-top: 1.5rem;
}

.specialties-label {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty-tag {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-hover) 100%);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.specialty-tag:hover {
    transform: translateY(-2px);
}

/* Team Contact Section */
.team-contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-dark) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--brand-orange);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-hover) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon-img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* Makes the icon white */
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon-img {
    transform: scale(1.1);
}

.contact-details h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--gray-light);
    margin: 0;
    line-height: 1.4;
}

.contact-cta {
    text-align: center;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.contact-cta h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-cta p {
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-hover) 100%);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-hero-section {
        padding: 5rem 1rem;
        min-height: 60vh;
    }
    
    .team-hero-content h1 {
        font-size: 3.2rem;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }
    
    .team-hero-content h1::after {
        width: 60px;
        bottom: -12px;
    }
    
    .team-hero-content p {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .team-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-member {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-section,
    .team-contact-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .team-hero-section {
        padding: 4rem 1rem;
        min-height: 50vh;
    }
    
    .team-hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 1.5rem;
    }
    
    .team-hero-content h1::after {
        width: 50px;
        bottom: -10px;
    }
    
    .team-hero-content p {
        font-size: 1.1rem;
        letter-spacing: 0.2px;
    }
    
    .team-container {
        grid-template-columns: 1fr;
        min-width: auto;
    }
    
    .team-member {
        min-width: auto;
    }
    
    .team-member-info {
        padding: 1.5rem;
    }
    
    .specialty-tags {
        justify-content: center;
    }
    
    .contact-cta {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
