/* === Team Popup === */

.team-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-popup-overlay.is-open {
    display: flex;
}

.team-popup-box {
    background: #ffffff;
    border-radius: 10px;
    max-width: 520px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popupFadeIn 0.25s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Schließen-Button */
.team-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.team-popup-close:hover {
    color: #1a2e5a;
}

/* Header */
.team-popup-header {
    border-bottom: 2px solid #e20000;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.team-popup-header H2 {
    font-size: 2.4rem;
    color: #e20000;
    margin: 0 0 4px;
}

.team-popup-title {
    font-size: 1.75rem;
    color: #666;
    margin: 0;
}

/* Body */
.team-popup-body p {
    font-size: 1.5rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 14px;
}

/* Links */
.team-popup-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-popup-links li a {
    display: inline-block;
    color: #0a3a70;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s;
}

.team-popup-links li a:hover {
    color: #e0ca00; /* Gelb aus dem Logo */
    text-decoration: underline;
}

/* Responsiv */
@media (max-width: 560px) {
    .team-popup-box {
        padding: 28px 22px;
    }
}