.ds-team-admin-link {
    margin-bottom: 1rem;
}

.ds-team-group {
    margin-bottom: 3rem;
}
.ds-team-group__title {
    margin-bottom: 1.5rem;
}
.ds-team-group h3.ds-team-subgroup__title {
    margin-top: var(--space-stack-medium) !important;
    margin-bottom: var(--space-stack-medium) !important;
}

/* Responsives Grid: 4 Spalten → 3 → 2 → 1 */
.ds-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 1024px) {
    .ds-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .ds-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 400px) {
    .ds-team-grid {
        grid-template-columns: 1fr;
    }
}

.ds-team-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-stack-small);
}

/* Foto */
.ds-team-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #666;
}
.ds-team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback-Initialen */
.ds-team-card__initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.05em;
}

.ds-team-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ds-team-card__name {
    margin: 0;
    font-size: 1rem;
}
.ds-team-card__role {
    margin: 0;
    opacity: 0.7;
    font-size: 0.875rem;
}
.ds-team-card__email,
.ds-team-card__phone {
    display: block;
    font-size: 0.8125rem;
    word-break: break-all;
}
