/* Moderne Teamliste mit Orange-Design - DARK MODE */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-group {
    margin-bottom: 40px;
}

.team-group-header {
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.team-group-header:hover {
    transform: scale(1.05);
}

.team-group-image {
    max-width: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
    transition: box-shadow 0.3s ease;
}

.team-group-header:hover .team-group-image {
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.6);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.team-member-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 140, 0, 0.4);
    border-color: #FF8C00;
}

.team-member-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-content {
    padding: 20px;
}

.team-member-name {
    font-size: 20px;
    font-weight: 700;
    color: #FFA500;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.team-member-name a {
    color: #FFA500 !important;
}

.team-member-name a:hover {
    color: #FFB732 !important;
}

.team-member-role {
    font-size: 14px;
    font-weight: 600;
    color: #FF8C00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.team-member-description {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.team-member-info {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    border-top: 1px solid #333;
    padding-top: 12px;
}

.team-info-grid {
    color: #b0b0b0;
}

.team-info-item strong {
    color: #FF8C00 !important;
}

.team-info-item span {
    color: #b0b0b0 !important;
}

.team-contact {
    border-top: 1px solid #333 !important;
}

.team-contact strong {
    color: #FF8C00 !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, #555 0%, #333 100%);
    color: #999;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.team-admin-controls {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #333;
    display: flex;
    gap: 12px;
    align-items: center;
}

.team-admin-link {
    color: #FF8C00 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.team-admin-link:hover {
    color: #FFA500 !important;
    text-decoration: underline;
}

.team-order-controls {
    display: flex;
    gap: 8px;
}

.team-order-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B35 100%);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-order-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}

/* Dark Mode Anpassungen für Text */
.team-member-content strong {
    color: #FF8C00;
}

.team-member-content span {
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }
}
