/**
 * NBX-DJ-004
 * DJ PIT Experience Hero
 * Northern Pulse Design System
 */

.nbx-dj-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(37, 208, 232, .16);
    border-radius: 26px;
    background:
        radial-gradient(
            ellipse at 85% 35%,
            rgba(120, 103, 242, .19),
            transparent 52%
        ),
        linear-gradient(135deg, #101722, #070A0F);
}

.nbx-dj-hero__content {
    position: relative;
    z-index: 3;
}

.nbx-dj-hero__title {
    position: relative;
    z-index: 3;
}

.nbx-dj-hero__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    min-height: 410px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(37, 208, 232, .08),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 60% 55%,
            rgba(120, 103, 242, .20),
            transparent 65%
        ),
        #101722;
}

/* Bühnenlicht */

.nbx-dj-hero__glow {
    position: absolute;
    z-index: 0;
    inset: -25%;
    background:
        conic-gradient(
            from 210deg at 50% 25%,
            transparent 0deg,
            rgba(37, 208, 232, .15) 18deg,
            transparent 38deg,
            rgba(120, 103, 242, .15) 65deg,
            transparent 90deg
        );
    filter: blur(15px);
    animation: nbx-dj-light 12s ease-in-out infinite alternate;
}

.nbx-dj-hero__ring {
    position: absolute;
    z-index: 0;
    width: 75%;
    aspect-ratio: 1;
    left: 12.5%;
    top: 10%;
    border-radius: 50%;
    border: 1px solid rgba(37, 208, 232, .25);
    box-shadow:
        0 0 60px rgba(37, 208, 232, .12),
        inset 0 0 50px rgba(120, 103, 242, .10);
}

/* Freigestelltes DJ-Porträt */

.nbx-dj-hero__portrait {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    margin: auto auto 0;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .38));
}

/* Namensplakette */

.nbx-dj-hero__caption {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 17px;
    border: 1px solid rgba(37, 208, 232, .28);
    border-radius: 14px;
    background: rgba(7, 10, 15, .80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.nbx-dj-hero__caption strong {
    color: #F7F9FC;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .04em;
}

.nbx-dj-hero__caption span {
    color: #25D0E8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

@keyframes nbx-dj-light {
    from {
        transform: rotate(-8deg) scale(1);
        opacity: .65;
    }
    to {
        transform: rotate(8deg) scale(1.12);
        opacity: 1;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .nbx-dj-hero {
        border-radius: 20px;
    }

    .nbx-dj-hero__visual {
        min-height: 0;
        margin-top: 24px;
        border-radius: 16px;
    }

    .nbx-dj-hero__portrait {
        max-width: 430px;
    }

    .nbx-dj-hero__caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 11px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nbx-dj-hero__glow {
        animation: none;
    }
}

/* NBX-DJ-004 – Mobile Portrait Feinschliff */

@media (max-width: 767px) {

    .nbx-dj-hero__caption {
        left: 14px;
        right: auto;
        bottom: 14px;
        width: auto;
        max-width: calc(100% - 28px);
        padding: 10px 14px;
        border-radius: 12px;
    }

    .nbx-dj-hero__caption strong {
        font-size: 16px;
        line-height: 1.2;
    }

    .nbx-dj-hero__caption span {
        font-size: 9px;
        letter-spacing: .08em;
    }

}

/* NBX-DJ-004 – Kompakte Namensplakette Desktop */

@media (min-width: 768px) {

    .nbx-dj-hero__caption {
        left: 20px;
        right: auto;
        bottom: 20px;
        width: auto;
        max-width: calc(100% - 40px);
        padding: 12px 18px;
    }

    .nbx-dj-hero__caption strong {
        font-size: 18px;
    }

    .nbx-dj-hero__caption span {
        font-size: 10px;
    }

}

/* ==========================================
   NBX – DJ PIT Seitenlayout
   Zentrierte Boxed-Darstellung
   ========================================== */

.nbx-dj-page {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .nbx-dj-page {
        width: calc(100% - 24px);
    }
}

/* NBX-DJ-005 – Verlinkte Angebotskarte */

.nbx-dj-offer-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.nbx-dj-offer-link__action {
    margin-top: 12px;
    color: #25D0E8;
    font-size: 14px;
    font-weight: 700;
}

.nbx-dj-offer-link:hover {
    border-color: rgba(37, 208, 232, .5);
}

.nbx-dj-offer-link:focus-visible {
    outline: 2px solid #25D0E8;
    outline-offset: 4px;
}

/* ==========================================
   NBX-DJ-005 – Eventangebote
   Northern Pulse Cards
   ========================================== */

.nbx-dj-page .nbx-discover-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.nbx-dj-page .nbx-discover-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    height: 100%;
    padding: 26px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(37, 208, 232, .16);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(37, 208, 232, .08),
            transparent 65%
        ),
        #17202D;
    color: #F7F9FC;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.nbx-dj-page .nbx-discover-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border: 1px solid rgba(37, 208, 232, .25);
    border-radius: 15px;
    background: rgba(37, 208, 232, .10);
    color: #25D0E8;
    font-size: 27px;
}

.nbx-dj-page .nbx-discover-card strong {
    color: #F7F9FC;
    font-size: 21px;
    line-height: 1.3;
}

.nbx-dj-page .nbx-discover-card > span:not(
    .nbx-discover-card__icon
):not(
    .nbx-dj-offer-link__action
) {
    color: #C4CED9;
    font-size: 14px;
    line-height: 1.7;
}

.nbx-dj-page .nbx-dj-offer-link__action {
    margin-top: auto;
    padding-top: 14px;
    color: #25D0E8;
    font-size: 14px;
    font-weight: 700;
}

@media (hover: hover) {
    .nbx-dj-page a.nbx-discover-card:hover {
        transform: translateY(-5px);
        border-color: rgba(37, 208, 232, .55);
        box-shadow: 0 20px 42px rgba(0, 0, 0, .22);
    }
}

.nbx-dj-page a.nbx-discover-card:focus-visible {
    outline: 3px solid #25D0E8;
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .nbx-dj-page .nbx-discover-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nbx-dj-page .nbx-discover-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nbx-dj-page .nbx-discover-card {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nbx-dj-page .nbx-discover-card {
        transition: none;
    }
}


/* NBX-DJ-005 – Angebotsbilder */

.nbx-dj-page .nbx-dj-offer-image {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .nbx-dj-page .nbx-dj-offer-image {
        height: 220px;
    }
}



