.team-intro-container {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.team-intro {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member-image {
    height: 300px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    padding: 20px;
    text-align: center;
}

.team-member-info h3 {
    margin: 0 0 5px;
    color: #009a93;
    font-size: 18px;
    letter-spacing: 1px;
}

.team-member-info .position {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Responsive Anpassungen für Team */
@media screen and (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .team-member-image {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .team-member-image {
        height: 320px;
    }
}