/* Nerd-Pastell Steckbrief */

.np-steckbrief {
    position: relative;
    margin: 42px 0;
    padding: 34px;
    border: 2px solid #d8c8f3;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 120, 173, 0.18), transparent 24%),
        radial-gradient(circle at 86% 20%, rgba(111, 220, 207, 0.14), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 252, 0.92));
    box-shadow: 0 20px 50px rgba(100, 78, 160, 0.14);
}

.np-steckbrief::before {
    position: absolute;
    inset: 18px;
    content: "";
    border-radius: 22px;
    background-image:
        radial-gradient(circle, rgba(255, 209, 102, 0.65) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 120, 173, 0.42) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(111, 220, 207, 0.42) 0 1px, transparent 2px);
    background-size: 70px 70px, 96px 96px, 124px 124px;
    opacity: 0.5;
    pointer-events: none;
}

.np-steckbrief-pin {
    position: absolute;
    top: -20px;
    left: 46px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 28%, #fff 0 8%, transparent 9%),
        linear-gradient(135deg, #ff78ad, #ffb7d3);
    box-shadow:
        0 10px 18px rgba(255, 120, 173, 0.28),
        inset -4px -4px 0 rgba(190, 64, 126, 0.18);
}

.np-steckbrief-pin::after {
    position: absolute;
    left: 18px;
    top: 34px;
    content: "";
    width: 8px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b9a2e8, transparent);
    transform: rotate(16deg);
    transform-origin: top center;
}

.np-steckbrief-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 30px;
    align-items: center;
}

.np-steckbrief-text h3 {
    margin: 0 0 18px;
    color: #ff78ad;
    font-family: "Space Mono", ui-monospace, monospace;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.15;
    text-transform: uppercase;
}

.np-steckbrief-copy {
    color: #5f578e;
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
}

.np-steckbrief-copy p {
    margin: 0 0 12px;
}

.np-steckbrief-copy p:last-child {
    margin-bottom: 0;
}

.np-steckbrief-copy strong {
    color: #2f2a60;
}

.np-steckbrief-photo {
    margin: 0;
    justify-self: end;
    width: 220px;
}

.np-steckbrief-photo img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border: 8px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 16px 30px rgba(100, 78, 160, 0.16),
        8px 8px 0 rgba(255, 120, 173, 0.18);
    transform: rotate(2deg);
}

@media (max-width: 720px) {
    .np-steckbrief {
        padding: 30px 22px;
    }

    .np-steckbrief-content {
        grid-template-columns: 1fr;
    }

    .np-steckbrief-photo {
        justify-self: center;
        width: min(240px, 100%);
        order: -1;
    }

    .np-steckbrief-photo img {
        width: 100%;
        height: auto;
        max-height: 320px;
    }
}
