body {
    /* Hintergrundbild */
    background: url('https://www.liam-niemeier.de/fileadmin/images/background-pic.jpg') center center / cover no-repeat fixed;
    position: relative;
    min-height: 100vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, sans-serif;
    user-select: none;
}

/* Animierter transparenter Gradient-Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(135deg, #2c3e50cc 0%, #34495ecc 100%);
    background-size: 400% 400%;
    animation: gradientMove 12s ease-in-out infinite;
    opacity: 0.85;
}

/* Hauptinhalt über das Overlay */
body > * {
    position: relative;
    z-index: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 9px 100px rgba(44, 62, 80, 0.15);
    width: 340px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.card-header {
    background: #22304a;
    height: 110px;
    position: relative;
    padding: 0;
}

.header-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
}

.avatar {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.15);
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #22304a;
    overflow: hidden;
    z-index: 2;
}

.avatar img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
}

.card-content {
    padding: 70px 24px 24px 24px;
}

.card-content h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #22304a;
}

.card-content .subtitle {
    font-size: 1rem;
    color: #7f8fa6;
    margin-bottom: 18px;
}

.description {
    color: #22304a;
    font-size: 0.98rem;
    margin-top: 8px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}

.main-btn {
    background: #22304a;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 0;
    width: 80%;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
    transition: background 0.2s;
}

.main-btn:hover {
    background: #2980b9;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}

.socials a {
    color: #22304a;
    font-size: 2rem;
    transition: color 0.2s;
}

.socials a:hover {
    color: #2980b9;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    min-width: 510px;
	max-width: 510px
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.25);
    position: relative;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2.2rem;
    color: #22304a;
    cursor: pointer;
    opacity: 0.85;
    transition: color 0.2s, opacity 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
}

.close-btn:hover {
    color: #2980b9;
    opacity: 1;
}

.popup-title {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #22304a;
    margin-bottom: 24px;
    gap: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.popup-title i {
    font-size: 2.2rem;
}

.popup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.popup-card {
    background: #22304a;
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
}

.popup-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: contain;
    padding: 0;
    display: block;
}

.popup-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popup-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
}

.popup-role {
    font-size: 1rem;
    color: #b2bec3;
    margin-bottom: 4px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.popup-link {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.01em;
}

.popup-link:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 16px;
    font-size: 0.92rem;
    color: #7f8fa6;
    text-align: center;
    letter-spacing: 0.02em;
}

.footer-links a {
    color: #7f8fa6;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #22304a;
}

@media (max-width: 1000px) {
    .popup-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .popup-content {
        padding: 12px;
		min-width: 0px;
    }

    .popup-card {
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }

    .popup-logo {
        width: 68px;
        height: 68px;
    }
}