/* Kooperationsbutton und Dialog auf der Startseite */
.home-actions {
    width: min(1120px, calc(100vw - 4rem));
    margin-left: 50%;
    transform: translateX(-50%);
}

.btn-cooperation {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: linear-gradient(135deg, #ff9f43 0%, #f9d423 52%, #a3c98b 100%);
    background-size: 180% 180%;
    color: var(--color-bg);
    font-family: var(--font-primary);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(249, 212, 35, 0.4), 0 0 0 0 rgba(255, 159, 67, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
    animation: cooperation-pulse 2.8s ease-in-out infinite;
}

.btn-cooperation::after {
    content: '';
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: -35%;
    width: 28%;
    background: rgba(255, 255, 255, 0.55);
    transform: rotate(18deg);
    transition: left 0.55s ease;
}

.btn-cooperation:hover,
.btn-cooperation:focus-visible {
    background-position: 100% 50%;
    color: var(--color-bg);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 34px rgba(249, 212, 35, 0.5), 0 0 24px rgba(255, 159, 67, 0.35);
    outline: none;
}

.btn-cooperation:hover::after,
.btn-cooperation:focus-visible::after {
    left: 120%;
}

@keyframes cooperation-pulse {
    0%, 100% {
        box-shadow: 0 8px 26px rgba(249, 212, 35, 0.38), 0 0 0 0 rgba(255, 159, 67, 0.28);
    }
    50% {
        box-shadow: 0 10px 30px rgba(249, 212, 35, 0.48), 0 0 0 9px rgba(255, 159, 67, 0);
    }
}

.cooperation-modal {
    padding: 1rem;
}

.cooperation-modal-content {
    max-width: 620px;
    padding: 3.4rem 3rem 3rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249, 212, 35, 0.16), transparent 38%),
        linear-gradient(145deg, rgba(36, 75, 56, 0.98), rgba(15, 36, 27, 0.99));
    border: 1px solid rgba(249, 212, 35, 0.65);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62), 0 0 35px rgba(249, 212, 35, 0.12);
}

.cooperation-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f9d423, transparent);
}

.cooperation-close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.cooperation-close:hover,
.cooperation-close:focus-visible {
    color: #fff;
    background: rgba(249, 212, 35, 0.16);
    border-color: rgba(249, 212, 35, 0.65);
    outline: none;
}

.cooperation-eyebrow {
    margin-bottom: 0.75rem;
    color: #f9d423;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cooperation-modal-content h2 {
    margin-bottom: 1.3rem;
    color: var(--color-text);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.cooperation-modal-content p:not(.cooperation-eyebrow) {
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.75;
}

.cooperation-email {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 1.7rem auto 0.55rem;
    padding: 0.9rem 1.35rem;
    border: 1px solid rgba(249, 212, 35, 0.55);
    border-radius: 999px;
    background: rgba(249, 212, 35, 0.1);
    color: #f9d423;
    font-size: clamp(0.88rem, 3vw, 1.08rem);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.cooperation-email:hover,
.cooperation-email:focus-visible {
    background: #f9d423;
    color: var(--color-bg);
    transform: translateY(-2px);
    outline: none;
}

.cooperation-email-hint {
    display: block;
    color: var(--color-muted);
    font-size: 0.78rem;
}

@media (max-width: 768px) {
    .home-actions {
        width: 100%;
        margin-left: auto;
        transform: none;
    }

    .home-actions .btn-cooperation {
        width: 100%;
    }

    .cooperation-modal-content {
        padding: 3.2rem 1.35rem 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cooperation {
        animation: none;
    }
}
