.nb-popup {
    --nbp-grund: #111113;
    --nbp-text: #fff;
    --nbp-text-2: #c9c9c4;
    --nbp-rot: #e0302b;
    box-sizing: border-box;
    width: min(27.5rem, calc(100vw - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 6px;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--nbp-grund);
    color: var(--nbp-text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.nb-popup::backdrop {
    background: rgba(17, 17, 19, .62);
}
.nb-popup-rahmen {
    position: relative;
}
.nb-popup-bild {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 880 / 520;
    object-fit: cover;
    background: #0b0b0c;
}
.nb-popup-zu {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 17, 19, .72);
    color: #fff;
    cursor: pointer;
}
.nb-popup-zu:hover {
    background: #000;
}
.nb-popup :focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px;
}
.nb-popup-inhalt {
    padding: 1.5rem 1.75rem 1.5rem;
}
.nb-popup-titel {
    margin: 0 0 .6rem;
    font-family: var(--nb-display, 'Arial Narrow', sans-serif);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--nb-display-spacing, -.06em);
    color: var(--nbp-text);
}
.nb-popup-titel span {
    color: var(--nbp-rot);
}
.nb-popup-zu + .nb-popup-inhalt .nb-popup-titel {
    padding-right: 2.5rem;
}
.nb-popup-zeile {
    margin: 0 0 .6rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--nbp-text);
}
.nb-popup-text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--nbp-text-2);
}
.nb-popup-knoepfe {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.25rem;
}
.nb-popup-knopf,
.nb-popup-knopf:visited {
    display: inline-block;
    padding: 1rem 1.6rem;
    border: 2px solid var(--nb-rot, #bf1317);
    border-radius: 3px;
    background: var(--nb-rot, #bf1317);
    color: #fff;
    font: 600 1rem/1 var(--nb-sans, system-ui, sans-serif);
    text-align: center;
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}
.nb-popup-knopf:hover,
.nb-popup-knopf:focus {
    background: var(--nb-rot-dunkel, #951e22);
    border-color: var(--nb-rot-dunkel, #951e22);
    color: #fff;
    text-decoration: none;
}
.nb-popup-nein {
    min-height: 2.75rem;
    padding: .5rem .25rem;
    border: 0;
    background: none;
    color: var(--nbp-text);
    font: 500 1rem/1.2 var(--nb-sans, system-ui, sans-serif);
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}
.nb-popup-nein:hover {
    color: var(--nbp-text-2);
}
.nb-popup-klein {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--nbp-text-2);
}

.nb-popup-ecke {
    position: fixed;
    inset: auto auto 1.25rem 4.75rem;
    z-index: 1040;
    width: min(22.5rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 6rem);
    margin: 0;
}
.nb-popup-ecke .nb-popup-bild {
    aspect-ratio: 880 / 330;
}
.nb-popup-ecke .nb-popup-inhalt {
    padding: 1.1rem 1.25rem 1.25rem;
}
.nb-popup-ecke .nb-popup-titel {
    font-size: 2.125rem;
}
.nb-popup-ecke .nb-popup-zeile {
    font-size: 1.0625rem;
}
.nb-popup-ecke .nb-popup-text {
    font-size: .9375rem;
    margin-bottom: 1rem;
}
.nb-popup-ecke .nb-popup-knopf {
    padding: .85rem 1.25rem;
}
.nb-popup-ecke .nb-popup-klein {
    margin-top: 1rem;
    padding-top: .75rem;
    font-size: .75rem;
}
.nb-popup-ansage {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px), (max-height: 760px) {
    .nb-popup-mitte .nb-popup-bild {
        aspect-ratio: 880 / 340;
    }
}
@media (max-width: 480px) {
    .nb-popup-inhalt {
        padding: 1.25rem 1.25rem 1.25rem;
    }
    .nb-popup-titel {
        font-size: 2.25rem;
    }
    .nb-popup-zeile {
        font-size: 1.125rem;
    }
    .nb-popup-knopf {
        flex: 1 1 100%;
    }
    .nb-popup-nein {
        margin: 0 auto;
    }
    .nb-popup-ecke {
        inset: auto 1rem 4.75rem 1rem;
        width: auto;
        max-height: calc(100dvh - 9rem);
    }
    .nb-popup-ecke .nb-popup-bild {
        display: none;
    }
    .nb-popup-ecke .nb-popup-titel {
        padding-right: 2.5rem;
        font-size: 1.875rem;
    }
}
@media (max-height: 560px) {
    .nb-popup-bild {
        display: none;
    }
    .nb-popup-titel {
        padding-right: 2.5rem;
    }
}
