/* ============================
   Team Übersicht Grid
============================ */
.team-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

/* Einzelne Team Karte */
.team-public-card {
    background: linear-gradient(135deg, #0a0a0a, #0f0f0f);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,255,255,0.08);
}

.team-public-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,255,255,0.25);
}

.team-public-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(0,255,255,0.35);
}

.team-public-card h3 {
    margin: 8px 0 6px 0;
    color: #fff;
    font-size: 1.05rem;
}

.team-tasks {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* ============================
   Rollen Sektionen
============================ */
.team-role-section {
    margin-bottom: 24px;
}

.team-role-heading {
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-role-heading span {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .team-public-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }
}
