/* FGNM Netzwerk – Status-Meldungen für das Webflow-Formular */

.fgnm-netzwerk-msg {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
}

.fgnm-netzwerk-msg--success {
    background: #e6f4ea;
    border: 1px solid #34a853;
    color: #1a7436;
}

.fgnm-netzwerk-msg--error {
    background: #fce8e6;
    border: 1px solid #ea4335;
    color: #c5221f;
}

.fgnm-netzwerk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    margin: 16px 0;
}

.fgnm-netzwerk-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
 * Netzwerk – Profil-Pop-up
 * --------------------------------------------------------- */

.fgnm-netzwerk-card {
    cursor: pointer;
}

.fgnm-netzwerk-modal[hidden] {
    display: none;
}

.fgnm-netzwerk-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fgnm-netzwerk-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.fgnm-netzwerk-modal__panel {
    position: relative;
    background: #fff;
    color: #1c1c1c;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 36px 32px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fgnm-netzwerk-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    padding: 4px 10px;
}

.fgnm-netzwerk-modal__close:hover {
    color: #000;
}

.fgnm-netzwerk-modal__title {
    margin: 0 0 20px;
    font-size: 2rem;
    line-height: 1.2;
}

.fgnm-netzwerk-modal__bio {
    line-height: 1.6;
    font-size: 1rem;
}

.fgnm-netzwerk-modal__bio p {
    margin: 0 0 1em;
}

.fgnm-netzwerk-modal__bio p:last-child {
    margin-bottom: 0;
}

.fgnm-netzwerk-modal__bio a {
    color: inherit;
    text-decoration: underline;
}

.fgnm-netzwerk-modal__links {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fgnm-netzwerk-modal__links li {
    margin: 0;
}

.fgnm-netzwerk-modal__links a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}

.fgnm-netzwerk-modal__links a:hover,
.fgnm-netzwerk-modal__links a:focus-visible {
    background: #1c1c1c;
    color: #fff;
}

@media (max-width: 600px) {
    .fgnm-netzwerk-modal__panel {
        padding: 32px 20px 24px;
    }
    .fgnm-netzwerk-modal__title {
        font-size: 1.5rem;
    }
}
