.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
.team-card {
    background: rgba(30,40,60,0.95);
    border-radius: 18px;
    box-shadow: 0 4px 24px #0008;
    padding: 1.5rem 1rem 1rem 1rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.team-card:hover, .team-card:focus {
    transform: scale(1.07) rotate(-1deg);
    box-shadow: 0 8px 32px #00e6d088;
    z-index: 2;
}
.team-head {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin: 0 auto 1rem auto;
    background: #222;
    box-shadow: 0 2px 8px #0006;
    object-fit: cover;
    border: 3px solid #00e6d0;
}
.team-names {
    margin-bottom: 0.5rem;
}
.ingame-name {
    font-size: 1.1rem;
    color: #00e6d0;
    font-weight: bold;
}
.real-name {
    font-size: 0.95rem;
    color: #fff;
    opacity: 0.8;
}
.role-badge {
    display: inline-block;
    margin-top: 0.7rem;
    padding: 0.35rem 1.4rem;
    border-radius: 2rem 2rem 2rem 2rem / 1.5rem 2.5rem 2.5rem 1.5rem;
    font-size: 1.08rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px #0004;
    border: 2.5px solid #fff2;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
    user-select: none;
    backdrop-filter: blur(2px);
    text-shadow: 0 1px 4px #0006;
    filter: drop-shadow(0 2px 8px #00e6d044);
}
.team-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(10,20,30,0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.team-modal.open {
    display: flex;
}
.modal-content {
    background: #1a2332;
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 8px 40px #00e6d088;
    text-align: center;
    position: relative;
    transform: scale(0.7);
    animation: zoomIn 0.4s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes zoomIn {
    from { transform: scale(0.7); }
    to { transform: scale(1); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.close-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: #00e6d0;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
/* Ende der Datei */
