:root {
    --bg: #070a12;
    --bg-soft: #0b1020;

    --card: rgba(17, 22, 40, 0.88);
    --card-soft: rgba(15, 20, 37, 0.76);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(130, 106, 255, 0.32);

    --text: #f6f7fb;
    --text-soft: #a2acc3;
    --text-muted: #68728a;

    --purple: #7c5cff;
    --purple-light: #aa91ff;
    --blue: #458cff;
    --cyan: #55d8ff;

    --radius: 24px;
    --container: 1380px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    min-height: 100vh;

    color: var(--text);

    background:
        radial-gradient(
            circle at 70% 0%,
            rgba(77, 59, 190, 0.14),
            transparent 28%
        ),
        var(--bg);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}


.page-glow {
    position: fixed;

    z-index: -1;

    pointer-events: none;

    border-radius: 50%;

    filter: blur(120px);
}


.glow-top {
    width: 600px;
    height: 500px;

    top: -300px;
    left: 15%;

    background:
        rgba(112, 78, 255, 0.17);
}


.glow-right {
    width: 600px;
    height: 600px;

    right: -350px;
    top: 400px;

    background:
        rgba(46, 129, 255, 0.12);
}


/* HEADER */

.site-header {
    position: sticky;

    z-index: 50;

    top: 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.055);

    background:
        rgba(7, 10, 18, 0.76);

    backdrop-filter:
        blur(20px);
}


.header-inner {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.site-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}


.brand-logo {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: white;

    font-size: 13px;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 14px 40px
        rgba(92, 75, 255, 0.25);
}


.brand-text strong,
.brand-text span {
    display: block;
}


.brand-text strong {
    font-size: 15px;
}


.brand-text span {
    margin-top: 1px;

    color: var(--text-muted);

    font-size: 10px;
}


.main-nav {
    display: flex;
    align-items: center;

    gap: 4px;
}


.main-nav a {
    padding:
        9px
        12px;

    border-radius: 10px;

    color: var(--text-soft);

    font-size: 12px;

    transition:
        color .2s ease,
        background .2s ease;
}


.main-nav a:hover,
.main-nav a.active {
    color: #fff;

    background:
        rgba(255, 255, 255, 0.05);
}


/* HERO */

.hero {
    padding:
        105px
        0
        90px;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(400px, .85fr);

    align-items: center;

    gap: 90px;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--purple-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}


.hero h1 {
    max-width: 760px;

    margin:
        0
        0
        24px;

    font-size:
        clamp(50px, 6vw, 84px);

    line-height: .98;

    letter-spacing:
        -4px;
}


.hero h1 span {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            #a78bfa,
            #538cff,
            #5ce0ff
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.hero-lead {
    max-width: 670px;

    margin: 0;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.75;
}


.hero-actions {
    display: flex;

    gap: 12px;

    margin-top: 34px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        0
        20px;

    border-radius: 13px;

    font-size: 13px;
    font-weight: 750;

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.button:hover {
    transform:
        translateY(-2px);
}


.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 16px 45px
        rgba(89, 76, 255, .22);
}


.button-secondary {
    border:
        1px solid var(--border);

    color:
        var(--text-soft);

    background:
        rgba(255, 255, 255, .025);
}


.hero-visual {
    display: flex;
    justify-content: center;
}


.signal-card {
    position: relative;

    width: 410px;
    height: 410px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 40px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(100, 79, 255, .13),
            transparent 47%
        ),
        linear-gradient(
            145deg,
            rgba(18, 23, 42, .92),
            rgba(9, 13, 25, .92)
        );

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, .28);
}


.signal-ring {
    position: absolute;

    border:
        1px solid rgba(127, 103, 255, .18);

    border-radius: 50%;
}


.ring-one {
    width: 140px;
    height: 140px;
}


.ring-two {
    width: 230px;
    height: 230px;
}


.ring-three {
    width: 325px;
    height: 325px;
}


.signal-center {
    position: relative;

    z-index: 2;

    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 0 70px
        rgba(91, 80, 255, .42);

    font-size: 22px;
    font-weight: 900;
}


.signal-info {
    position: absolute;

    left: 26px;
    right: 26px;
    bottom: 24px;

    padding: 15px 17px;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 16px;

    background:
        rgba(8, 12, 23, .72);

    backdrop-filter:
        blur(12px);
}


.signal-info strong,
.signal-info small {
    display: block;
}


.signal-status {
    color: #62e7ae;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}


.signal-info strong {
    margin-top: 4px;

    font-size: 14px;
}


.signal-info small {
    margin-top: 2px;

    color: var(--text-muted);

    font-size: 10px;
}


/* TOPICS */

.topics-section {
    padding:
        70px
        0
        100px;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 35px;
}


.section-heading h2 {
    margin: 0;

    font-size:
        clamp(30px, 4vw, 46px);

    letter-spacing:
        -1.5px;
}


.section-heading > p {
    max-width: 390px;

    margin: 0;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}


.topics-grid {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 18px;
}


.topic-card {
    position: relative;

    min-height: 310px;

    grid-column: span 6;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(18, 23, 42, .93),
            rgba(10, 14, 27, .93)
        );

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.topic-card:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--border-hover);

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, .24);
}


.card-small {
    grid-column: span 4;
}


.card-normal {
    grid-column: span 6;
}


.card-wide {
    grid-column: span 8;
}


.card-large {
    grid-column: span 12;

    min-height: 350px;
}


.topic-background {
    position: absolute;

    inset: 0;

    opacity: .18;
}


.topic-background::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 11, 21, .96),
            rgba(8, 11, 21, .55)
        );
}


.topic-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.topic-card-content {
    position: relative;

    z-index: 2;

    min-height: inherit;

    display: flex;
    flex-direction: column;

    padding: 30px;
}


.topic-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 48px;

    border:
        1px solid rgba(124, 92, 255, .22);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(124, 92, 255, .2),
            rgba(69, 140, 255, .11)
        );

    font-size: 25px;
}


.topic-card h3 {
    margin:
        0
        0
        9px;

    font-size: 26px;

    letter-spacing:
        -.6px;
}


.topic-card p {
    max-width: 590px;

    margin: 0;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}


.topic-link {
    margin-top: auto;

    padding-top: 30px;

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--purple-light);

    font-size: 12px;
    font-weight: 750;
}


.topic-link span {
    transition:
        transform .2s ease;
}


.topic-card:hover .topic-link span {
    transform:
        translateX(5px);
}


.empty-public {
    padding: 50px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--card);
}


.empty-public h3 {
    margin:
        0
        0
        8px;
}


.empty-public p {
    margin: 0;

    color:
        var(--text-soft);
}


/* ABOUT */

.about-section {
    padding:
        15px
        0
        110px;
}


.about-card {
    position: relative;

    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 80px;

    padding:
        55px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        30px;

    background:
        linear-gradient(
            135deg,
            rgba(19, 23, 44, .94),
            rgba(27, 22, 67, .86)
        );
}


.about-card::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -200px;
    bottom: -300px;

    border-radius: 50%;

    background:
        rgba(104, 78, 255, .16);

    filter:
        blur(20px);
}


.about-card h2 {
    position: relative;

    z-index: 1;

    margin: 0;

    font-size:
        clamp(30px, 4vw, 48px);

    letter-spacing:
        -1.5px;
}


.about-copy {
    position: relative;

    z-index: 1;
}


.about-copy p {
    margin:
        0
        0
        15px;

    color:
        var(--text-soft);

    line-height: 1.8;
}


/* TOPIC PAGE */

.topic-page {
    min-height: 75vh;

    padding:
        75px
        0
        110px;
}


.back-link {
    display: inline-block;

    margin-bottom: 35px;

    color:
        var(--text-soft);

    font-size: 12px;
}


.topic-hero {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-bottom: 45px;
}


.topic-page-icon {
    width: 90px;
    height: 90px;

    flex: 0 0 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 26px;

    border:
        1px solid rgba(124, 92, 255, .24);

    background:
        linear-gradient(
            135deg,
            rgba(124, 92, 255, .24),
            rgba(69, 140, 255, .12)
        );

    font-size: 40px;
}


.topic-hero h1 {
    margin:
        0
        0
        8px;

    font-size:
        clamp(40px, 6vw, 68px);

    letter-spacing:
        -2px;
}


.topic-hero p {
    max-width: 800px;

    margin: 0;

    color:
        var(--text-soft);

    font-size: 16px;
}


.topic-feature-image {
    height: 430px;

    margin-bottom: 24px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);
}


.topic-feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.topic-content {
    padding:
        44px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--card);

    color:
        #c5ccda;

    font-size: 15px;

    line-height: 1.9;
}


.content-placeholder h2 {
    margin-top: 0;

    color:
        var(--text);
}


/* FOOTER */

.site-footer {
    border-top:
        1px solid var(--border);

    background:
        rgba(5, 8, 15, .75);
}


.footer-inner {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.footer-inner strong,
.footer-inner span {
    display: block;
}


.footer-inner strong {
    font-size: 13px;
}


.footer-inner span {
    margin-top: 3px;

    color:
        var(--text-muted);

    font-size: 10px;
}


.footer-links {
    display: flex;

    gap: 18px;

    color:
        var(--text-muted);

    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .signal-card {
        width: 100%;
    }

    .card-small,
    .card-normal,
    .card-wide,
    .card-large {
        grid-column: span 12;
    }

    .about-card {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .header-inner {
        height: 70px;
    }

    .hero {
        padding:
            70px
            0;
    }

    .hero h1 {
        letter-spacing:
            -2.5px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .signal-card {
        height: 330px;
    }

    .section-heading {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .topic-card {
        min-height:
            290px;
    }

    .about-card {
        padding:
            30px;
    }

    .topic-hero {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .topic-content {
        padding:
            26px;
    }

}

/* ==================================================
   NHF COLOR BOOST
   Orange + Blau
   ================================================== */

:root {
    --orange: #ff6a00;
    --orange-light: #ff9f1c;
    --blue: #258cff;
    --blue-light: #56c6ff;
}

/* Hintergrund */
body {
    background:
        radial-gradient(circle at 10% 5%, rgba(255, 106, 0, 0.16), transparent 30%),
        radial-gradient(circle at 90% 30%, rgba(37, 140, 255, 0.14), transparent 30%),
        #070a12;
}

/* Logo */
.brand-logo {
    background:
        linear-gradient(
            135deg,
            #ff9b1f,
            #ff5b00 55%,
            #258cff
        );

    box-shadow:
        0 0 30px rgba(255, 106, 0, 0.30),
        0 15px 45px rgba(37, 140, 255, 0.12);
}

/* Kleine Überschriften */
.eyebrow {
    color: var(--orange-light);
    text-shadow:
        0 0 18px rgba(255, 106, 0, 0.35);
}

/* Große Hero-Schrift */
.hero h1 span {
    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffb347,
            #ff6a00 45%,
            #258cff 75%,
            #56dfff
        );

    background-clip: text;
    -webkit-background-clip: text;
}

/* Hauptbutton */
.button-primary {
    background:
        linear-gradient(
            110deg,
            #ff9500,
            #ff6200
        );

    box-shadow:
        0 15px 45px rgba(255, 90, 0, 0.30);
}

.button-primary:hover {
    box-shadow:
        0 0 30px rgba(255, 106, 0, 0.30),
        0 20px 55px rgba(255, 80, 0, 0.20);
}

/* Funkkarte */
.signal-card {
    border-color:
        rgba(255, 106, 0, 0.20);

    background:
        radial-gradient(
            circle at center,
            rgba(255, 106, 0, 0.16),
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 15%,
            rgba(37, 140, 255, 0.13),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(24, 24, 42, 0.97),
            rgba(8, 12, 25, 0.97)
        );
}

.signal-ring {
    border-color:
        rgba(255, 125, 25, 0.30);
}

.ring-two {
    border-color:
        rgba(37, 140, 255, 0.25);
}

.signal-center {
    background:
        linear-gradient(
            135deg,
            #ff9d20,
            #ff5a00 55%,
            #258cff
        );

    box-shadow:
        0 0 75px rgba(255, 94, 0, 0.42);
}

/* Themenkarten */
.topic-card:hover {
    border-color:
        rgba(255, 106, 0, 0.45);

    box-shadow:
        0 0 35px rgba(255, 106, 0, 0.10),
        0 25px 70px rgba(0, 0, 0, 0.30);
}

/* 1. Karte Orange */
.topic-card:nth-child(3n + 1) .topic-icon {
    border-color:
        rgba(255, 106, 0, 0.38);

    background:
        rgba(255, 106, 0, 0.16);

    box-shadow:
        0 0 28px rgba(255, 106, 0, 0.12);
}

/* 2. Karte Blau */
.topic-card:nth-child(3n + 2) .topic-icon {
    border-color:
        rgba(37, 140, 255, 0.38);

    background:
        rgba(37, 140, 255, 0.16);

    box-shadow:
        0 0 28px rgba(37, 140, 255, 0.12);
}

/* 3. Karte Orange/Blau */
.topic-card:nth-child(3n + 3) .topic-icon {
    border-color:
        rgba(255, 106, 0, 0.30);

    background:
        linear-gradient(
            135deg,
            rgba(255, 106, 0, 0.15),
            rgba(37, 140, 255, 0.12)
        );
}

/* Links */
.topic-link,
.news-all-link {
    color: var(--orange-light);
}

.news-read-more {
    color: var(--blue-light);
}

/* News-Kategorie */
.news-category {
    color: var(--orange-light);

    border-color:
        rgba(255, 106, 0, 0.30);

    background:
        rgba(255, 106, 0, 0.08);
}

/* Über uns */
.about-card {
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(255, 106, 0, 0.14),
            transparent 38%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(37, 140, 255, 0.14),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(25, 24, 47, 0.97),
            rgba(12, 19, 41, 0.96)
        );
}

/* Navigation */
.main-nav a:hover {
    background:
        rgba(255, 106, 0, 0.08);
}

.main-nav a.active {
    background:
        linear-gradient(
            135deg,
            rgba(255, 106, 0, 0.15),
            rgba(37, 140, 255, 0.08)
        );

    border:
        1px solid rgba(255, 106, 0, 0.12);
}


/* ==================================================
   NHF KOMPAKTERE THEMENKARTEN
   ================================================== */

.topics-grid {
    gap: 14px;
}

/* Kartengrößen kompakter */
.card-small {
    grid-column: span 3;
}

.card-normal {
    grid-column: span 4;
}

.card-wide {
    grid-column: span 6;
}

.card-large {
    grid-column: span 12;
}

/* Weniger Höhe */
.topic-card {
    min-height: 220px;
}

.card-large {
    min-height: 260px;
}

/* Weniger Innenabstand */
.topic-card-content {
    padding: 22px;
}

/* Kleineres Icon */
.topic-icon {
    width: 44px;
    height: 44px;

    margin-bottom: 26px;

    border-radius: 13px;

    font-size: 20px;
}

/* Etwas kleinere Überschrift */
.topic-card h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

/* Beschreibung etwas kompakter */
.topic-card p {
    font-size: 12px;
    line-height: 1.55;
}

/* Link näher an den Inhalt */
.topic-link {
    padding-top: 18px;
}

/* Etwas weniger Abstand um den ganzen Themenbereich */
.topics-section {
    padding-top: 50px;
    padding-bottom: 75px;
}

/* Tablets */
@media (max-width: 1000px) {

    .card-small,
    .card-normal,
    .card-wide {
        grid-column: span 6;
    }

}

/* Smartphone */
@media (max-width: 650px) {

    .card-small,
    .card-normal,
    .card-wide,
    .card-large {
        grid-column: span 12;
    }

    .topic-card {
        min-height: 200px;
    }

}

/* ==================================================
   NHF IMAGE LIGHTBOX + DETAIL IMAGES
   ================================================== */

.detail-image-card {
    margin: 28px 0 22px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;

    background:
        rgba(10, 14, 26, .92);
}

.detail-image-trigger {
    display: block;
    cursor: zoom-in;
}

.detail-image-card img {
    width: 100%;
    max-height: 520px;

    display: block;

    object-fit: contain;
    background: #070b14;
}

.detail-image-hint {
    display: block;

    padding: 12px 16px;

    font-size: 12px;
    color: rgba(255,255,255,.62);
}


/* News-Liste / Übersichtsbild etwas kontrollierter */
.news-feature-image,
.topic-feature-image {
    margin: 26px 0 22px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background:
        rgba(10, 14, 26, .92);
}

.news-feature-image a,
.topic-feature-image a {
    display: block;
    cursor: zoom-in;
}

.news-feature-image img,
.topic-feature-image img {
    width: 100%;
    max-height: 460px;

    display: block;

    object-fit: contain;
    background: #070b14;
}


/* Lightbox */
.site-lightbox {
    position: fixed;
    inset: 0;

    z-index: 30000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.site-lightbox.open {
    display: flex;
}

.site-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(6px);
}

.site-lightbox-dialog {
    position: relative;
    z-index: 2;

    max-width: min(1400px, 95vw);
    max-height: 92vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.site-lightbox-dialog img {
    max-width: 100%;
    max-height: 92vh;

    display: block;

    border-radius: 18px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.65);
}

.site-lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    color: #fff;
    background: rgba(20, 24, 38, .95);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}


@media (max-width: 700px) {

    .detail-image-card img,
    .news-feature-image img,
    .topic-feature-image img {
        max-height: 320px;
    }

    .site-lightbox {
        padding: 12px;
    }

    .site-lightbox-close {
        top: 8px;
        right: 8px;
    }

}
/* ==================================================
   NHF BILDDARSTELLUNG KORREKTUR
   ================================================== */


/* --------------------------------------------------
   NEWS AUF STARTSEITE + NEWS-ÜBERSICHT
   -------------------------------------------------- */

.news-card {
    overflow: hidden;
}

.news-card .news-image {
    width: 100%;
    height: 230px;

    margin: 0;

    overflow: hidden;

    border-radius: 18px 18px 0 0;

    background: #0b101c;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.025);
}


/* --------------------------------------------------
   NEWS-DETAILSEITE
   -------------------------------------------------- */

.news-feature-image {
    width: 100%;
    max-width: 950px;

    margin: 30px auto;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: transparent;
}

.news-feature-image a {
    display: block;

    cursor: zoom-in;
}

.news-feature-image img {
    width: 100%;
    height: auto;
    max-height: none;

    display: block;

    object-fit: initial;

    background: transparent;
}


/* --------------------------------------------------
   THEMEN-DETAILSEITE
   -------------------------------------------------- */

.topic-feature-image {
    width: 100%;
    max-width: 950px;

    margin: 30px auto;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    background: transparent;
}

.topic-feature-image a {
    display: block;

    cursor: zoom-in;
}

.topic-feature-image img {
    width: 100%;
    height: auto;
    max-height: none;

    display: block;

    object-fit: initial;

    background: transparent;
}


/* --------------------------------------------------
   LIGHTBOX
   -------------------------------------------------- */

.site-lightbox-dialog img {
    width: auto;
    height: auto;

    max-width: 95vw;
    max-height: 92vh;

    object-fit: contain;

    border-radius: 16px;

    background: #05070c;
}


/* --------------------------------------------------
   RESPONSIVE
   -------------------------------------------------- */

@media (max-width: 900px) {

    .news-card .news-image {
        height: 200px;
    }

}


@media (max-width: 650px) {

    .news-card .news-image {
        height: 180px;
    }

    .news-feature-image,
    .topic-feature-image {
        margin: 20px auto;

        border-radius: 14px;
    }

}

/* ==================================================
   NHF KOMPAKTE BILDDARSTELLUNG V2
   Text im Vordergrund, Bilder als Zusatz
   ================================================== */


/* --------------------------------------------------
   NEWS-KARTEN:
   Auf Startseite und News-Übersicht KEINE Bilder
   -------------------------------------------------- */

.news-card .news-image {
    display: none !important;
}


.news-grid {
    gap: 16px;
}


.news-card {
    display: block;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 22, 38, .92),
            rgba(10, 15, 27, .92)
        );

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.news-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255, 106, 0, .30);
}


.news-card-content {
    padding: 22px !important;
}


.news-card h3 {
    margin-top: 10px;

    font-size: 19px;
}


.news-card p {
    margin-bottom: 0;

    font-size: 13px;
    line-height: 1.6;

    color: rgba(255,255,255,.68);
}


.news-read-more {
    display: inline-flex;

    margin-top: 18px;
}



/* --------------------------------------------------
   NEWS-DETAIL:
   Bild nur noch als kleines Zusatzbild
   -------------------------------------------------- */

.news-feature-image {
    width: 100%;
    max-width: 520px;

    margin: 24px 0 30px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    background: transparent;
}


.news-feature-image a {
    display: block;

    cursor: zoom-in;
}


.news-feature-image img {
    width: 100%;
    height: auto;

    display: block;

    max-height: none !important;

    object-fit: initial !important;

    background: transparent !important;
}



/* --------------------------------------------------
   THEMEN-DETAIL:
   Kein riesiges Headerbild mehr
   -------------------------------------------------- */

.topic-feature-image {
    width: 100%;
    max-width: 520px;

    margin: 24px 0 30px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    background: transparent;
}


.topic-feature-image a {
    display: block;

    cursor: zoom-in;
}


.topic-feature-image img {
    width: 100%;
    height: auto;

    display: block;

    max-height: none !important;

    object-fit: initial !important;

    background: transparent !important;
}



/* --------------------------------------------------
   MOBILE
   -------------------------------------------------- */

@media (max-width: 650px) {

    .news-card-content {
        padding: 18px !important;
    }


    .news-feature-image,
    .topic-feature-image {
        max-width: 100%;

        margin: 18px 0 24px;

        border-radius: 13px;
    }

}

/* ==================================================
   NHF BILDRAHMEN KORREKTUR + GELBER HOVER
   ================================================== */


/* Themen- und News-Bilder:
   Container nur so groß wie das Bild */
.topic-feature-image,
.news-feature-image {
    width: fit-content !important;
    max-width: 520px !important;

    margin: 24px 0 30px !important;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 16px !important;

    background: transparent !important;

    line-height: 0;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* Link ebenfalls nur Bildgröße */
.topic-feature-image a,
.news-feature-image a {
    display: inline-block !important;

    line-height: 0;

    cursor: zoom-in;
}


/* Bild selbst */
.topic-feature-image img,
.news-feature-image img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;

    display: block;

    object-fit: contain !important;

    background: transparent !important;
}


/* Knallgelber Hover */
.topic-feature-image:hover,
.news-feature-image:hover {
    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255, 230, 0, .55),
        0 0 18px rgba(255, 230, 0, .30),
        0 0 38px rgba(255, 230, 0, .12);

    transform: translateY(-2px);
}


/* News-Karten / andere Bildvorschauen ebenfalls gelb */
.news-card,
.topic-card {
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.news-card:hover,
.topic-card:hover {
    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255, 230, 0, .38),
        0 0 22px rgba(255, 230, 0, .18);
}


/* Mobile */
@media (max-width: 650px) {

    .topic-feature-image,
    .news-feature-image {
        width: 100% !important;
        max-width: 100% !important;
    }

    .topic-feature-image a,
    .news-feature-image a {
        display: block !important;
    }

    .topic-feature-image img,
    .news-feature-image img {
        width: 100% !important;
    }

}

/* ==================================================
   NHF THEMENBILD – RAHMEN DIREKT AM BILD
   ================================================== */

/* Äußeren alten Container komplett neutralisieren */
.topic-feature-image {
    display: inline-block !important;

    width: auto !important;
    max-width: 520px !important;

    margin: 24px 0 30px !important;

    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    line-height: 0;
}


/* Der eigentliche Rahmen sitzt jetzt direkt am Bild-Link */
.topic-feature-image a {
    display: inline-block !important;

    max-width: 100%;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;

    background: transparent;

    line-height: 0;

    cursor: zoom-in;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* Bild exakt ausfüllen */
.topic-feature-image img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
}


/* Gelber Hover jetzt direkt am Bild */
.topic-feature-image:hover {
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}


.topic-feature-image a:hover {
    border-color: #ffe600;

    box-shadow:
        0 0 0 1px rgba(255, 230, 0, .55),
        0 0 18px rgba(255, 230, 0, .30),
        0 0 38px rgba(255, 230, 0, .12);

    transform: translateY(-2px);
}


/* Mobil */
@media (max-width: 650px) {

    .topic-feature-image {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
    }

    .topic-feature-image a {
        display: block !important;

        width: 100%;
    }

    .topic-feature-image img {
        width: 100% !important;
    }

}

/* ==================================================
   NHF THEMENSEITE – ABSTÄNDE KORRIGIEREN
   ================================================== */

/* Bild näher an Überschrift und Inhalt */
.topic-feature-image {
    margin-top: 18px !important;
    margin-bottom: 16px !important;
}


/* Direkt folgendes Element ohne riesigen Abstand */
.topic-feature-image + * {
    margin-top: 0 !important;
}


/* Falls alter Abstand vom Inhaltsbereich kommt */
.topic-feature-image + section,
.topic-feature-image + div,
.topic-feature-image + article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ==================================================
   NHF THEMENSEITE – BILDABSTAND WIE NEWS
   ================================================== */

.topic-feature-image {
    display: inline-block !important;

    width: auto !important;
    max-width: 520px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;

    margin: 18px 0 16px 0 !important;
    padding: 0 !important;

    line-height: 0 !important;
}


/* Auch der klickbare Bildbereich darf keine
   künstliche Höhe behalten */
.topic-feature-image a {
    display: block !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    aspect-ratio: auto !important;
}


/* Bild selbst */
.topic-feature-image img {
    display: block !important;

    width: auto !important;
    max-width: 520px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    aspect-ratio: auto !important;
}


/* Inhaltsbox direkt nach dem Bild */
.topic-feature-image + * {
    margin-top: 16px !important;
    padding-top: 0 !important;
}


@media (max-width: 650px) {

    .topic-feature-image,
    .topic-feature-image a,
    .topic-feature-image img {
        width: 100% !important;
        max-width: 100% !important;
    }

}

/* ==================================================
   NHF BILDER V3
   Hochformat + Querformat ohne Verzerrung
   ================================================== */

/* Äußere Container neutral */
.topic-feature-image,
.news-feature-image {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 18px 0 20px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    line-height: 0 !important;
}


/* Link ist nur so groß wie das tatsächliche Bild */
.topic-feature-image a,
.news-feature-image a {
    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    line-height: 0 !important;

    cursor: zoom-in;
}


/* Das eigentliche Bild:
   Querformat max. 420px breit
   Hochformat max. 280px hoch */
.topic-feature-image img,
.news-feature-image img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 420px !important;
    max-height: 280px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;

    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 14px !important;

    background: transparent !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* Gelber Hover direkt am tatsächlichen Bild */
.topic-feature-image img:hover,
.news-feature-image img:hover {
    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.50),
        0 0 18px rgba(255,230,0,.28),
        0 0 35px rgba(255,230,0,.10);

    transform: translateY(-2px);
}


/* Mobil */
@media (max-width: 650px) {

    .topic-feature-image img,
    .news-feature-image img {
        max-width: 100% !important;
        max-height: 260px !important;
    }

}

/* ==================================================
   NHF ÖFFENTLICHE THEMEN-GALERIE
   ================================================== */

.topic-public-gallery {
    margin: 18px 0 18px;

    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;

    gap: 12px;
}


.topic-gallery-item {
    position: relative;

    width: 220px;
    height: 155px;

    padding: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    background: rgba(7, 11, 20, .85);

    cursor: zoom-in;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.topic-gallery-item img {
    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    display: block;

    object-fit: contain !important;

    border: 0 !important;
    border-radius: 8px;

    background: transparent !important;

    box-shadow: none !important;
    transform: none !important;
}


.topic-gallery-item:hover {
    border-color: #ffe600;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.48),
        0 0 18px rgba(255,230,0,.25),
        0 0 35px rgba(255,230,0,.08);

    transform: translateY(-2px);
}


.topic-gallery-main-badge {
    position: absolute;

    left: 7px;
    bottom: 7px;

    padding: 4px 7px;

    border-radius: 7px;

    color: #111;
    background: #ffe600;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;
}


.topic-public-gallery + * {
    margin-top: 0 !important;
}


@media (max-width: 650px) {

    .topic-public-gallery {
        gap: 9px;
    }


    .topic-gallery-item {
        width: calc(50% - 5px);
        height: 125px;

        padding: 5px;
    }

}

/* ==================================================
   NHF GALERIE – HAUPTBILD LABEL ÖFFENTLICH AUSBLENDEN
   ================================================== */

.topic-gallery-main-badge {
    display: none !important;
}


/* ==================================================
   NHF LIGHTBOX NAVIGATION
   ================================================== */

.site-lightbox-dialog {
    position: relative;
}


/* Pfeile */

.site-lightbox-nav {
    position: absolute;
    top: 50%;

    z-index: 5;

    width: 48px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;

    color: #fff;

    background:
        rgba(5, 8, 15, .78);

    backdrop-filter:
        blur(10px);

    font-size: 40px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.site-lightbox-prev {
    left: 14px;
}


.site-lightbox-next {
    right: 14px;
}


.site-lightbox-nav:hover {
    color: #111;

    border-color: #ffe600;

    background: #ffe600;

    box-shadow:
        0 0 20px
        rgba(255,230,0,.35);

    transform:
        translateY(-50%)
        scale(1.05);
}


.site-lightbox-nav[hidden] {
    display: none !important;
}


/* Zähler */

.site-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: 14px;

    z-index: 5;

    transform:
        translateX(-50%);

    padding: 7px 11px;

    border: 1px solid
        rgba(255,255,255,.14);

    border-radius: 999px;

    color: rgba(255,255,255,.88);

    background:
        rgba(5, 8, 15, .78);

    backdrop-filter:
        blur(10px);

    font-size: 11px;
    font-weight: 700;
}


.site-lightbox-counter[hidden] {
    display: none !important;
}


/* Schließen ebenfalls etwas schöner */

.site-lightbox-close {
    z-index: 10;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.site-lightbox-close:hover {
    color: #111;

    border-color: #ffe600;

    background: #ffe600;

    box-shadow:
        0 0 18px
        rgba(255,230,0,.30);
}



@media (max-width: 650px) {

    .site-lightbox-nav {
        width: 40px;
        height: 48px;

        border-radius: 11px;

        font-size: 32px;
    }


    .site-lightbox-prev {
        left: 7px;
    }


    .site-lightbox-next {
        right: 7px;
    }


    .site-lightbox-counter {
        bottom: 8px;
    }

}

/* ==================================================
   NHF GALERIE HARD FIX
   Kleine Vorschaubilder für News + Themen
   ================================================== */

.topic-public-gallery,
.news-public-gallery {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;

    gap: 12px !important;

    width: 100% !important;
    height: auto !important;

    margin: 18px 0 !important;
    padding: 0 !important;
}


/* Jede Galerie-Kachel fest begrenzen */
.topic-public-gallery .topic-gallery-item,
.news-public-gallery .news-gallery-item {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 220px !important;

    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;

    height: 155px !important;
    min-height: 155px !important;
    max-height: 155px !important;

    margin: 0 !important;
    padding: 7px !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 14px !important;

    background: rgba(7,11,20,.85) !important;

    cursor: zoom-in !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}


/* Bild darf NIEMALS die Galerie-Kachel sprengen */
.topic-public-gallery .topic-gallery-item img,
.news-public-gallery .news-gallery-item img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: transparent !important;

    box-shadow: none !important;
    transform: none !important;
}


/* Gelber Hover */
.topic-public-gallery .topic-gallery-item:hover,
.news-public-gallery .news-gallery-item:hover {
    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.48),
        0 0 18px rgba(255,230,0,.25),
        0 0 35px rgba(255,230,0,.08) !important;

    transform: translateY(-2px) !important;
}


/* Mobile */
@media (max-width: 650px) {

    .topic-public-gallery .topic-gallery-item,
    .news-public-gallery .news-gallery-item {
        flex: 0 0 calc(50% - 5px) !important;

        width: calc(50% - 5px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 5px) !important;

        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;

        padding: 5px !important;
    }

}

/* ==================================================
   NHF ÖFFENTLICHE THEMENBEITRÄGE
   ================================================== */

.topic-articles-public {
    margin-top: 34px;
}


.topic-articles-public-heading {
    margin-bottom: 18px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.topic-articles-public-heading h2 {
    margin: 6px 0 0;

    font-size: 27px;
}


.topic-articles-count {
    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;

    color: rgba(255,255,255,.60);

    background:
        rgba(255,255,255,.025);

    font-size: 10px;
}


.topic-articles-public-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 14px;
}


.topic-article-card {
    position: relative;

    min-height: 190px;

    padding: 22px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    color: #fff;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(19,23,40,.94),
            rgba(8,14,25,.94)
        );

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.topic-article-card:hover {
    transform: translateY(-3px);

    border-color: #ffe600;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.30),
        0 0 24px rgba(255,230,0,.13);
}


.topic-article-number {
    margin-bottom: 24px;

    color: #ff9f1c;

    font-size: 11px;
    font-weight: 800;
}


.topic-article-card h3 {
    margin: 0;

    font-size: 19px;
    line-height: 1.3;
}


.topic-article-card p {
    margin: 10px 0 0;

    color: rgba(255,255,255,.62);

    font-size: 12px;
    line-height: 1.6;
}


.topic-article-more {
    margin-top: auto;
    padding-top: 20px;

    color: #56c6ff;

    font-size: 11px;
    font-weight: 700;
}


/* ==================================================
   EINZELNER THEMENBEITRAG
   ================================================== */

.topic-article-page {
    min-height: 70vh;
}


.topic-article-hero {
    padding: 60px 0 20px;
}


.topic-article-back {
    display: inline-block;

    margin-bottom: 30px;

    color: rgba(255,255,255,.55);

    font-size: 11px;
    text-decoration: none;
}


.topic-article-back:hover {
    color: #ffe600;
}


.topic-article-hero h1 {
    max-width: 900px;

    margin: 12px 0 0;

    font-size:
        clamp(36px, 5vw, 62px);

    line-height: 1.05;
}


.topic-article-lead {
    max-width: 760px;

    margin-top: 20px;

    color: rgba(255,255,255,.70);

    font-size: 16px;
    line-height: 1.65;
}


.topic-article-body {
    padding: 18px 0 80px;
}


.topic-article-gallery {
    margin-bottom: 20px;

    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.topic-article-gallery-item {
    width: 220px;
    height: 155px;

    padding: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    background:
        rgba(7,11,20,.85);

    cursor: zoom-in;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.topic-article-gallery-item:hover {
    border-color: #ffe600;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.45),
        0 0 18px rgba(255,230,0,.24);

    transform: translateY(-2px);
}


.topic-article-gallery-item img {
    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
}


.topic-article-content {
    max-width: 950px;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    color: rgba(255,255,255,.78);

    background:
        rgba(17,21,37,.82);

    font-size: 14px;
    line-height: 1.8;
}


@media (max-width: 650px) {

    .topic-articles-public-grid {
        grid-template-columns: 1fr;
    }


    .topic-article-gallery-item {
        width: calc(50% - 6px);
        height: 125px;
    }


    .topic-article-content {
        padding: 20px;
    }

}

/* ==================================================
   NHF THEMENBEITRÄGE – LAYOUT FIX V2
   ================================================== */

/* Bereich auf dieselbe Breite wie der restliche Inhalt bringen */
.topic-articles-public {
    width: min(1180px, calc(100% - 48px)) !important;

    margin:
        34px auto 50px !important;

    padding: 0 !important;
}


/* Überschrift sauber ausrichten */
.topic-articles-public-heading {
    width: 100% !important;

    margin: 0 0 18px !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;

    gap: 20px !important;
}


.topic-articles-public-heading h2 {
    margin: 6px 0 0 !important;

    font-size: 26px !important;
    line-height: 1.2 !important;
}


/* Anzahl rechts etwas dezenter */
.topic-articles-count {
    flex: 0 0 auto !important;

    padding: 6px 10px !important;

    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 999px !important;

    color: rgba(255,255,255,.58) !important;

    background:
        rgba(255,255,255,.025) !important;

    font-size: 10px !important;
}


/* Wichtig:
   Eine einzelne Karte darf NICHT die komplette Seite füllen */
.topic-articles-public-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(260px, 340px)
        ) !important;

    justify-content: start !important;

    gap: 14px !important;
}


/* Einzelne Unterthemen-Karte */
.topic-article-card {
    width: 100% !important;
    min-height: 180px !important;

    padding: 20px !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 17px !important;

    color: #fff !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            135deg,
            rgba(18,22,38,.94),
            rgba(8,14,25,.94)
        ) !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease !important;
}


.topic-article-card:hover {
    transform: translateY(-3px) !important;

    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.28),
        0 0 22px rgba(255,230,0,.12) !important;
}


/* Nummer */
.topic-article-number {
    margin-bottom: 20px !important;

    color: #ff9f1c !important;

    font-size: 10px !important;
    font-weight: 800 !important;
}


/* Titel */
.topic-article-card h3 {
    margin: 0 !important;

    font-size: 18px !important;
    line-height: 1.3 !important;
}


/* Kurzbeschreibung */
.topic-article-card p {
    margin: 9px 0 0 !important;

    color: rgba(255,255,255,.62) !important;

    font-size: 12px !important;
    line-height: 1.55 !important;
}


/* Öffnen */
.topic-article-more {
    margin-top: auto !important;
    padding-top: 18px !important;

    color: #56c6ff !important;

    font-size: 11px !important;
    font-weight: 700 !important;
}


/* Tablet */
@media (max-width: 900px) {

    .topic-articles-public {
        width: min(100% - 32px, 1180px) !important;
    }

}


/* Smartphone */
@media (max-width: 650px) {

    .topic-articles-public {
        width: calc(100% - 28px) !important;

        margin-top: 26px !important;
    }


    .topic-articles-public-heading {
        align-items: flex-start !important;
    }


    .topic-articles-public-grid {
        grid-template-columns: 1fr !important;
    }


    .topic-article-card {
        min-height: 160px !important;
    }

}

/* ==================================================
   NHF THEMENBEITRAG DETAIL – FINAL LAYOUT
   ================================================== */

.topic-article-page {
    min-height: 70vh;
}


/* Kopfbereich */
.topic-article-hero {
    padding: 54px 0 18px !important;
}


.topic-article-hero .container,
.topic-article-body .container {
    width: min(1180px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


.topic-article-back {
    display: inline-flex !important;
    align-items: center;

    margin-bottom: 30px !important;

    color: rgba(255,255,255,.55) !important;

    font-size: 11px !important;
    text-decoration: none !important;

    transition: color .2s ease;
}


.topic-article-back:hover {
    color: #ffe600 !important;
}


.topic-article-hero h1 {
    max-width: 900px;

    margin: 12px 0 0 !important;

    font-size: clamp(34px, 5vw, 58px) !important;
    line-height: 1.05 !important;
}


.topic-article-lead {
    max-width: 760px;

    margin: 17px 0 0 !important;

    color: rgba(255,255,255,.68) !important;

    font-size: 15px !important;
    line-height: 1.65 !important;
}


/* Inhalt */
.topic-article-body {
    padding: 18px 0 70px !important;
}


/* Galerie kompakt halten */
.topic-article-gallery {
    margin: 0 0 20px !important;

    display: flex !important;
    flex-wrap: wrap !important;

    gap: 12px !important;
}


.topic-article-gallery-item {
    flex: 0 0 220px !important;

    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;

    height: 155px !important;
    min-height: 155px !important;
    max-height: 155px !important;

    padding: 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 14px !important;

    background: rgba(7,11,20,.85) !important;

    cursor: zoom-in;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}


.topic-article-gallery-item img {
    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: transparent !important;

    box-shadow: none !important;
    transform: none !important;
}


.topic-article-gallery-item:hover {
    border-color: #ffe600 !important;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.45),
        0 0 18px rgba(255,230,0,.24) !important;

    transform: translateY(-2px) !important;
}


/* Textblock */
.topic-article-content {
    max-width: 950px !important;

    margin: 0 !important;
    padding: 27px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;

    color: rgba(255,255,255,.78) !important;

    background:
        linear-gradient(
            135deg,
            rgba(18,22,38,.90),
            rgba(9,14,25,.90)
        ) !important;

    font-size: 14px !important;
    line-height: 1.8 !important;
}


@media (max-width: 650px) {

    .topic-article-hero .container,
    .topic-article-body .container {
        width: calc(100% - 28px) !important;
    }


    .topic-article-gallery-item {
        flex: 0 0 calc(50% - 6px) !important;

        width: calc(50% - 6px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 6px) !important;

        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;
    }


    .topic-article-content {
        padding: 20px !important;
    }

}

/* ==================================================
   NHF THEMENBEITRAG – KLEINES KARTENBILD
   ================================================== */

.topic-article-card {
    position: relative !important;
}


/* Nummer bei vorhandenem Bild nicht überdecken */
.topic-article-card:has(.topic-article-card-image)
.topic-article-number {
    padding-right: 110px;
}


.topic-article-card-image {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 92px;
    height: 68px;

    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    background: rgba(4,8,16,.65);
}


.topic-article-card-image img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    border: 0 !important;
    border-radius: 6px !important;

    box-shadow: none !important;
}


/* Titel bei Bild etwas Luft geben */
.topic-article-card:has(.topic-article-card-image) h3 {
    padding-right: 108px;
}


@media (max-width: 500px) {

    .topic-article-card-image {
        width: 78px;
        height: 58px;
    }


    .topic-article-card:has(.topic-article-card-image) h3 {
        padding-right: 90px;
    }

}

/* ==================================================
   NHF STATISCHE SEITEN
   ================================================== */

.static-page {
    min-height: 70vh;
}


.static-page-hero {
    padding: 58px 0 20px;
}


.static-page-hero .container,
.static-page-body .container {
    width: min(1180px, calc(100% - 48px)) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


.static-page-hero h1 {
    max-width: 900px;

    margin: 10px 0 0;

    font-size:
        clamp(36px, 5vw, 58px);

    line-height: 1.06;
}


.static-page-body {
    padding: 15px 0 80px;
}


.static-page-content {
    max-width: 950px;

    padding: 30px;

    box-sizing: border-box;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 18px;

    color:
        rgba(255,255,255,.78);

    background:
        linear-gradient(
            135deg,
            rgba(18,22,38,.90),
            rgba(9,14,25,.90)
        );

    font-size: 14px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}


.static-page-empty {
    margin: 0;

    color:
        rgba(255,255,255,.45);
}


@media (max-width: 650px) {

    .static-page-hero .container,
    .static-page-body .container {
        width:
            calc(100% - 28px) !important;
    }


    .static-page-hero {
        padding-top: 38px;
    }


    .static-page-content {
        padding: 20px;
    }

}

/* ==================================================
   NHF STARTSEITEN-SEITENKACHELN
   ================================================== */

.home-pages-section {
    width: min(1180px, calc(100% - 48px)) !important;

    margin: 38px auto 54px !important;
}


.home-pages-heading {
    margin-bottom: 18px;
}


.home-pages-heading h2 {
    margin: 6px 0 0;

    font-size: 27px;
    line-height: 1.2;
}


.home-pages-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(250px, 340px)
        );

    justify-content: start;

    gap: 14px;
}


.home-page-card {
    min-height: 185px;

    padding: 21px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 17px;

    color: #fff;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(18,22,38,.94),
            rgba(8,14,25,.94)
        );

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.home-page-card:hover {
    transform: translateY(-3px);

    border-color: #ffe600;

    box-shadow:
        0 0 0 1px rgba(255,230,0,.25),
        0 0 22px rgba(255,230,0,.11);
}


.home-page-card-label {
    margin-bottom: 22px;

    color: #ff9f1c;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}


.home-page-card h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.3;
}


.home-page-card p {
    margin: 9px 0 0;

    color: rgba(255,255,255,.60);

    font-size: 12px;
    line-height: 1.6;
}


.home-page-card-more {
    margin-top: auto;
    padding-top: 20px;

    color: #56c6ff;

    font-size: 11px;
    font-weight: 700;
}


@media (max-width: 650px) {

    .home-pages-section {
        width: calc(100% - 28px) !important;

        margin-top: 30px !important;
    }


    .home-pages-grid {
        grid-template-columns: 1fr;
    }


    .home-page-card {
        min-height: 165px;
    }

}

/* ==================================================
   NHF CARD COMPACT FINAL
   Nur Optik/Abstände – Grid bleibt unangetastet
   ================================================== */


/* ==================================================
   1. THEMENKARTEN
   ================================================== */

.topic-card {
    min-height: 145px !important;

    border-radius: 14px !important;
}


/* Auch große Karten nicht mehr riesig */
.topic-card.card-large {
    min-height: 155px !important;
}


/* Inhalt enger */
.topic-card-content {
    padding: 16px !important;
}


/* Icon deutlich kleiner */
.topic-card .topic-icon {
    width: 34px !important;
    height: 34px !important;

    margin-bottom: 14px !important;

    border-radius: 10px !important;

    font-size: 15px !important;
}


/* Titel */
.topic-card h3 {
    margin: 0 0 4px !important;

    font-size: 16px !important;
    line-height: 1.25 !important;
}


/* Beschreibung */
.topic-card p {
    margin: 0 !important;

    font-size: 11.5px !important;
    line-height: 1.45 !important;

    color: rgba(255,255,255,.64) !important;
}


/* Link kompakter */
.topic-card .topic-link {
    padding-top: 12px !important;

    font-size: 10.5px !important;
}


/* Hintergrundbild weiter dezent */
.topic-card .topic-background img {
    object-fit: cover !important;
}


/* ==================================================
   2. UNTERTHEMEN / INHALTE ZU MESHCORE ETC.
   ================================================== */

.topic-article-card {
    min-height: 128px !important;

    padding: 15px !important;

    border-radius: 14px !important;
}


/* Nummer enger */
.topic-article-number {
    margin-bottom: 10px !important;

    font-size: 9px !important;
}


/* Titel */
.topic-article-card h3 {
    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.25 !important;
}


/* Beschreibung */
.topic-article-card p {
    margin: 6px 0 0 !important;

    font-size: 11px !important;
    line-height: 1.45 !important;
}


/* Öffnen-Link */
.topic-article-more {
    padding-top: 11px !important;

    font-size: 10.5px !important;
}


/* Vorschaubild kleiner */
.topic-article-card-image {
    top: 12px !important;
    right: 12px !important;

    width: 70px !important;
    height: 52px !important;

    padding: 4px !important;

    border-radius: 9px !important;
}


/* Platz für kleines Bild */
.topic-article-card:has(.topic-article-card-image) h3 {
    padding-right: 78px !important;
}


.topic-article-card:has(.topic-article-card-image)
.topic-article-number {
    padding-right: 78px !important;
}


/* ==================================================
   3. FREIE SEITENKACHELN AUF STARTSEITE
   ================================================== */

.home-page-card {
    min-height: 128px !important;

    padding: 15px !important;

    border-radius: 14px !important;
}


/* INFO oben */
.home-page-card-label {
    margin-bottom: 10px !important;

    font-size: 9px !important;
}


/* Titel */
.home-page-card h3 {
    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.25 !important;
}


/* Kurzbeschreibung */
.home-page-card p {
    margin: 6px 0 0 !important;

    font-size: 11px !important;
    line-height: 1.45 !important;

    color: rgba(255,255,255,.64) !important;
}


/* Link */
.home-page-card-more {
    padding-top: 11px !important;

    font-size: 10.5px !important;
}


/* ==================================================
   4. HOVER ETWAS RUHIGER
   ================================================== */

.topic-card:hover,
.topic-article-card:hover,
.home-page-card:hover {
    transform: translateY(-1px) !important;
}


/* ==================================================
   5. MOBILE
   ================================================== */

@media (max-width: 650px) {

    .topic-card,
    .topic-card.card-large {
        min-height: 135px !important;
    }


    .topic-article-card,
    .home-page-card {
        min-height: 120px !important;
    }


    .topic-card-content {
        padding: 15px !important;
    }

}

/* ==================================================
   NHF THEMEN -> WEITERE BEREICHE ABSTAND
   ================================================== */

.topics-section {
    padding-bottom: 38px !important;
}

.home-pages-section {
    margin-top: 0 !important;
    margin-bottom: 55px !important;
}


/* ==================================================
   NHF HOME PAGE TILES POSITION FIX
   ================================================== */

.home-pages-section {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 50px !important;
}


.home-pages-section > .container {
    width: min(100% - 48px, 1600px);
    margin-left: auto;
    margin-right: auto;
}


.home-pages-heading {
    margin: 0 0 16px !important;
}


.topics-section {
    padding-bottom: 34px !important;
}


@media (max-width: 650px) {

    .home-pages-section > .container {
        width: calc(100% - 28px);
    }

}

/* ==================================================
   NHF HOME SECTION ALIGNMENT FINAL
   ================================================== */


/* Themenüberschrift kleiner */
.topics-section h2 {
    font-size: 32px !important;
    line-height: 1.15 !important;
}


/* Weitere Seiten exakt auf normale Inhaltsbreite */
.home-pages-section > .container {
    width: min(1180px, calc(100% - 48px)) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Überschrift Weitere Seiten etwas kompakter */
.home-pages-heading h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
}


/* Kartenbereich nicht unnötig breit ziehen */
.home-pages-grid {
    width: 100% !important;

    justify-content: start !important;
}


/* Mobile */
@media (max-width: 650px) {

    .topics-section h2 {
        font-size: 27px !important;
    }

    .home-pages-section > .container {
        width: calc(100% - 28px) !important;
    }

    .home-pages-heading h2 {
        font-size: 22px !important;
    }

}


/* ==================================================
   NHF WEITERE SEITEN – EXAKTE AUSRICHTUNG
   ================================================== */

.home-pages-section > .container {
    width: min(1400px, calc(100% - 48px)) !important;
    max-width: 1400px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 650px) {
    .home-pages-section > .container {
        width: calc(100% - 28px) !important;
    }
}


/* ==================================================
   NHF FOOTER LINKS FINAL
   ================================================== */

.site-footer .footer-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 30px !important;
}


.footer-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;

    gap: 18px !important;
}


.footer-links a {
    color: rgba(255,255,255,.48) !important;

    font-size: 10px !important;
    text-decoration: none !important;

    transition:
        color .18s ease !important;
}


.footer-links a:hover {
    color: #ffe600 !important;
}


/* Admin bewusst etwas absetzen */
.footer-admin-link {
    margin-left: 10px !important;

    opacity: .62;
}


@media (max-width: 650px) {

    .site-footer .footer-inner {
        align-items: flex-start !important;
        flex-direction: column !important;
    }


    .footer-links {
        justify-content: flex-start !important;

        gap: 13px 17px !important;
    }


    .footer-admin-link {
        margin-left: 0 !important;
    }

}

/* ==================================================
   NHF CONTENT CREATED DATE
   ================================================== */

.content-created-meta {
    margin-top: 9px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    color: rgba(255,255,255,.42);

    font-size: 10.5px;
    line-height: 1.4;
}


.content-created-meta::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 2px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #ff9f1c;

    box-shadow:
        0 0 8px rgba(255,159,28,.28);
}


.content-created-meta time {
    color: rgba(255,255,255,.62);
    font-weight: 600;
}


/* ==================================================
   NHF FORMATIERTER INHALT
   ================================================== */

.topic-content h2,
.topic-article-content h2,
.static-page-content h2 {
    margin: 34px 0 12px;

    font-size: 24px;
    line-height: 1.2;
}


.topic-content h3,
.topic-article-content h3,
.static-page-content h3 {
    margin: 26px 0 10px;

    font-size: 18px;
    line-height: 1.25;
}


.topic-content p,
.topic-article-content p,
.static-page-content p {
    margin: 0 0 18px;
}


.topic-content ul,
.topic-content ol,
.topic-article-content ul,
.topic-article-content ol,
.static-page-content ul,
.static-page-content ol {
    margin: 12px 0 20px;

    padding-left: 24px;
}


.topic-content li,
.topic-article-content li,
.static-page-content li {
    margin: 6px 0;
}


.topic-content strong,
.topic-article-content strong,
.static-page-content strong {
    color: rgba(255,255,255,.94);
}


.topic-content a,
.topic-article-content a,
.static-page-content a {
    color: #ffe600;

    text-decoration: none;

    border-bottom:
        1px solid rgba(255,230,0,.30);
}


.topic-content a:hover,
.topic-article-content a:hover,
.static-page-content a:hover {
    border-color: #ffe600;
}


/* ==================================================
   NHF RICHTEXT FINAL
   ================================================== */

.topic-content h2,
.topic-article-content h2,
.static-page-content h2 {
    margin: 32px 0 12px;

    font-size: 24px;
    line-height: 1.2;
}


.topic-content h3,
.topic-article-content h3,
.static-page-content h3 {
    margin: 25px 0 10px;

    font-size: 18px;
    line-height: 1.25;
}


.topic-content p,
.topic-content > div,
.topic-article-content p,
.topic-article-content > div,
.static-page-content p,
.static-page-content > div {
    margin: 0 0 17px;
}


.topic-content ul,
.topic-content ol,
.topic-article-content ul,
.topic-article-content ol,
.static-page-content ul,
.static-page-content ol {
    margin: 12px 0 20px;

    padding-left: 25px;
}


.topic-content li,
.topic-article-content li,
.static-page-content li {
    margin: 6px 0;
}


.topic-content strong,
.topic-article-content strong,
.static-page-content strong {
    color: rgba(255,255,255,.95);

    font-weight: 700;
}


.topic-content em,
.topic-article-content em,
.static-page-content em {
    font-style: italic;
}


.topic-content a,
.topic-article-content a,
.static-page-content a {
    color: #ffe600;

    text-decoration: none;

    border-bottom:
        1px solid rgba(255,230,0,.30);
}


.topic-content a:hover,
.topic-article-content a:hover,
.static-page-content a:hover {
    border-color: #ffe600;
}


/* ==================================================
   NHF RICHTEXT EXTENDED
   ================================================== */


/* TEXTFARBEN */

.topic-content .nhf-text-orange,
.topic-article-content .nhf-text-orange,
.static-page-content .nhf-text-orange {
    color: #ff9f1c;
}


.topic-content .nhf-text-yellow,
.topic-article-content .nhf-text-yellow,
.static-page-content .nhf-text-yellow {
    color: #ffe600;
}


.topic-content .nhf-text-purple,
.topic-article-content .nhf-text-purple,
.static-page-content .nhf-text-purple {
    color: #b98cff;
}


.topic-content .nhf-text-blue,
.topic-article-content .nhf-text-blue,
.static-page-content .nhf-text-blue {
    color: #60a5fa;
}


/* AUSRICHTUNG */

.topic-content .nhf-align-left,
.topic-article-content .nhf-align-left,
.static-page-content .nhf-align-left {
    text-align: left;
}


.topic-content .nhf-align-center,
.topic-article-content .nhf-align-center,
.static-page-content .nhf-align-center {
    text-align: center;
}


.topic-content .nhf-align-right,
.topic-article-content .nhf-align-right,
.static-page-content .nhf-align-right {
    text-align: right;
}


/* ZITAT */

.topic-content blockquote,
.topic-article-content blockquote,
.static-page-content blockquote {
    margin: 24px 0;

    padding: 17px 20px;

    border-left: 3px solid #b98cff;

    border-radius: 0 10px 10px 0;

    background: rgba(185,140,255,.06);

    color: rgba(255,255,255,.76);

    font-style: italic;
}


/* INFOBOX */

.topic-content .nhf-infobox,
.topic-article-content .nhf-infobox,
.static-page-content .nhf-infobox {
    position: relative;

    margin: 25px 0;

    padding: 42px 20px 19px;

    border: 1px solid rgba(185,140,255,.28);
    border-radius: 12px;

    background: rgba(185,140,255,.07);
}


.topic-content .nhf-infobox::before,
.topic-article-content .nhf-infobox::before,
.static-page-content .nhf-infobox::before {
    content: "INFO";

    position: absolute;

    top: 14px;
    left: 20px;

    color: #b98cff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}


/* ==================================================
   NHF KARTEN – KURZBESCHREIBUNG SAUBER UMBRECHEN
   ================================================== */

.topic-card p,
.topic-article-card p,
.home-page-card p {
    white-space: normal !important;

    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto;

    overflow: visible !important;
    text-overflow: clip !important;

    max-width: 100% !important;
}


/* ==================================================
   NHF KARTEN KURZTEXT – MAX. EINE ZEILE
   ================================================== */

.topic-card p,
.topic-article-card p,
.home-page-card p {
    white-space: nowrap !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    overflow-wrap: normal !important;
    word-break: normal !important;

    max-width: 100% !important;
}


/* ==================================================
   NHF UNTERTHEMEN – KARTEN-HINTERGRUNDBILD
   ================================================== */

.topic-article-card {
    position: relative !important;
    overflow: hidden !important;
}


.topic-article-background {
    position: absolute !important;

    inset: 0 !important;

    z-index: 0 !important;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}


.topic-article-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .18;

    filter:
        saturate(.75)
        contrast(.95);
}


.topic-article-background::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,13,22,.68) 0%,
            rgba(10,13,22,.52) 55%,
            rgba(10,13,22,.70) 100%
        );
}


/*
 * Sämtlicher normaler Karteninhalt
 * bleibt über dem Hintergrund.
 */
.topic-article-card > *:not(.topic-article-background) {
    position: relative;

    z-index: 1;
}


/* ==================================================
   NHF UNTERTHEMEN BACKGROUND – POSITION FIX
   ================================================== */

/*
 * Die allgemeine Regel darf die vorhandene
 * Positionierung des Vorschaubildes NICHT überschreiben.
 */
.topic-article-card > *:not(.topic-article-background) {
    z-index: 2;
}


/*
 * Vorhandenes kleines Hauptbild wieder oben rechts.
 */
.topic-article-card .topic-article-card-image {
    position: absolute !important;

    top: 18px !important;
    right: 18px !important;

    z-index: 3 !important;
}


/*
 * Nur Textbestandteile explizit über den Hintergrund legen.
 */
.topic-article-card .topic-article-number,
.topic-article-card h3,
.topic-article-card p,
.topic-article-card .topic-article-more {
    position: relative;

    z-index: 2;
}


/* ==================================================
   NHF FREIE SEITEN – KARTEN-HINTERGRUNDBILD
   ================================================== */

.home-page-card {
    position: relative !important;
    overflow: hidden !important;
}


.home-page-background {
    position: absolute !important;

    inset: 0 !important;

    z-index: 0 !important;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}


.home-page-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .18;

    filter:
        saturate(.75)
        contrast(.95);
}


.home-page-background::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,13,22,.68) 0%,
            rgba(10,13,22,.52) 55%,
            rgba(10,13,22,.70) 100%
        );
}


/*
 * Normaler Karteninhalt über dem Hintergrund
 */
.home-page-card > *:not(.home-page-background) {
    position: relative;

    z-index: 2;
}


/* ==================================================
   NHF THEMEN – BILD-ICONS
   ================================================== */

.topic-icon,
.topic-page-icon {
    overflow: hidden;
}


/*
 * Icon auf der Startseiten-Kachel
 */
.topic-icon img {
    display: block;

    width: 76%;
    height: 76%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/*
 * Icon auf der Themen-Detailseite
 */
.topic-page-icon img {
    display: block;

    width: 72%;
    height: 72%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* ==================================================
   NHF THEMEN-LOGOS – GRÖSSER UND DEUTLICHER
   ================================================== */


/* --------------------------------------------------
   STARTSEITEN-KACHELN
   -------------------------------------------------- */

.topic-card .topic-icon {
    width: 42px !important;
    height: 42px !important;

    padding: 2px !important;

    overflow: hidden !important;
}


/* Bild fast komplett ausfüllen */
.topic-card .topic-icon img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    display: block;

    object-fit: contain !important;

    border-radius: 8px;
}


/* --------------------------------------------------
   THEMEN-DETAILSEITE
   -------------------------------------------------- */

.topic-page-icon {
    width: 112px !important;
    height: 112px !important;

    flex: 0 0 112px !important;

    padding: 4px !important;

    overflow: hidden !important;

    border-radius: 27px !important;
}


/* Logo deutlich größer */
.topic-page-icon img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    display: block;

    object-fit: contain !important;

    border-radius: 20px;
}


/* ==================================================
   NHF THEMEN-LOGO – DETAILSEITE FEINSCHLIFF
   ================================================== */

/* Bei Bild-Logos weniger "Box in Box" */
.topic-page-icon:has(img) {
    width: 126px !important;
    height: 126px !important;

    flex: 0 0 126px !important;

    padding: 2px !important;

    border-color: transparent !important;
    background: transparent !important;

    box-shadow: none !important;
}


/* Logo selbst maximal nutzen */
.topic-page-icon:has(img) img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    border-radius: 22px;
}


/* Startseiten-Kachel ebenfalls etwas klarer */
.topic-card .topic-icon:has(img) {
    padding: 0 !important;

    border-color: transparent !important;
    background: transparent !important;

    box-shadow: none !important;
}


/* Bild komplett nutzen */
.topic-card .topic-icon:has(img) img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
}


/* ==================================================
   NHF BREADCRUMBS
   ================================================== */

.nhf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.42);

    font-size: 11px;
    line-height: 1.4;
}


.nhf-breadcrumb a {
    color: rgba(255,255,255,.58);

    text-decoration: none;

    transition:
        color .18s ease;
}


.nhf-breadcrumb a:hover {
    color: #ff9f1c;
}


.nhf-breadcrumb-separator {
    color: rgba(255,255,255,.22);

    user-select: none;
}


.nhf-breadcrumb-current {
    color: rgba(255,255,255,.78);

    font-weight: 600;
}


@media (max-width: 650px) {

    .nhf-breadcrumb {
        margin-bottom: 22px;

        gap: 6px;

        font-size: 10px;
    }

}


/* ==================================================
   NHF UNTERTHEMA – INHALT + GALERIE
   ================================================== */

.topic-article-body {
    padding-top: 10px;
    padding-bottom: 70px;
}


/* --------------------------------------------------
   INHALT
   -------------------------------------------------- */

.topic-article-content {
    max-width: 1180px;

    padding: 30px 34px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(18,22,38,.94),
            rgba(8,14,25,.94)
        );
}


.topic-article-content > :first-child {
    margin-top: 0;
}


.topic-article-content > :last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   GALERIE
   -------------------------------------------------- */

.topic-article-gallery-section {
    margin-top: 34px;
}


.topic-article-gallery-heading {
    margin-bottom: 14px;
}


.topic-article-gallery-heading h2 {
    margin: 5px 0 0;

    font-size: 22px;
    line-height: 1.2;
}


.topic-article-gallery {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(180px, 260px)
        );

    justify-content: start;

    gap: 12px;
}


/* einzelnes Bild soll nicht riesig werden */
.topic-article-gallery-item {
    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    background: rgba(255,255,255,.025);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.topic-article-gallery-item:hover {
    transform: translateY(-2px);

    border-color: rgba(255,159,28,.45);

    box-shadow:
        0 0 22px rgba(255,159,28,.10);
}


.topic-article-gallery-item img {
    display: block;

    width: 100%;
    height: 180px;

    object-fit: contain;

    background: rgba(0,0,0,.18);
}


/* --------------------------------------------------
   MOBILE
   -------------------------------------------------- */

@media (max-width: 650px) {

    .topic-article-content {
        padding: 22px 20px;
    }


    .topic-article-gallery {
        grid-template-columns: 1fr;
    }


    .topic-article-gallery-item img {
        height: auto;
        max-height: 300px;
    }

}


/* ==================================================
   NHF RICHTEXT INLINE-BILDER
   ================================================== */

.nhf-content-image {
    max-width: 100%;

    margin-top: 22px;
    margin-bottom: 22px;
}


.nhf-content-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,.08);

    background: rgba(0,0,0,.15);
}


.nhf-content-image figcaption {
    margin-top: 7px;

    color: rgba(255,255,255,.42);

    font-size: 10px;
    line-height: 1.45;
}


/* Größen */

.nhf-image-small {
    width: min(220px, 100%);
}


.nhf-image-medium {
    width: min(380px, 100%);
}


.nhf-image-large {
    width: min(620px, 100%);
}


.nhf-image-full {
    width: 100%;
}


/* Ausrichtung */

.nhf-image-left {
    margin-left: 0;
    margin-right: auto;
}


.nhf-image-center {
    margin-left: auto;
    margin-right: auto;
}


.nhf-image-right {
    margin-left: auto;
    margin-right: 0;
}


/*
 * Editor soll die Bilder ähnlich darstellen.
 */
.nhf-wysiwyg-content .nhf-content-image {
    max-width: 100%;
}


.nhf-wysiwyg-content .nhf-content-image img {
    display: block;

    max-width: 100%;
    height: auto;

    border-radius: 10px;
}


@media (max-width: 650px) {

    .nhf-image-small,
    .nhf-image-medium,
    .nhf-image-large,
    .nhf-image-full {
        width: 100%;
    }

}


/* ==================================================
   NHF RICHTEXT – FREIE BILDPOSITION
   ================================================== */

.nhf-content-image.nhf-image-free-position {
    position: relative;
}


/*
 * Auf kleinen Displays freie Desktop-Verschiebung
 * zurücksetzen.
 */
@media (max-width: 650px) {

    .nhf-content-image.nhf-image-free-position {
        left: 0 !important;
        top: 0 !important;

        width: 100% !important;
    }

}


/* ==================================================
   NHF INLINE IMAGE – TEXTFLUSS
   ================================================== */

.nhf-content-image.nhf-image-float-left {
    float: left;

    margin:
        6px
        24px
        18px
        0;
}


.nhf-content-image.nhf-image-float-right {
    float: right;

    margin:
        6px
        0
        18px
        24px;
}


/*
 * Nach Inhaltsbereich Floats sauber beenden.
 */
.topic-content::after,
.topic-article-content::after,
.static-page-content::after {
    content: "";

    display: block;

    clear: both;
}


@media (max-width: 650px) {

    .nhf-content-image.nhf-image-float-left,
    .nhf-content-image.nhf-image-float-right {
        float: none;

        width: 100% !important;

        margin:
            20px
            0 !important;
    }

}


/* ==================================================
   NHF INLINE IMAGE – FLOAT FIX
   ================================================== */

.nhf-content-image.nhf-image-float-left,
.nhf-content-image.nhf-image-float-right {
    clear: both;
}


/* ==================================================
   NHF TEXTFLUSS – KORREKTUR ÖFFENTLICH
   ================================================== */

figure.nhf-content-image.nhf-image-float-left {
    position: static !important;

    float: left !important;

    left: auto !important;
    top: auto !important;

    margin: 6px 24px 18px 0 !important;

    clear: both;
}


figure.nhf-content-image.nhf-image-float-right {
    position: static !important;

    float: right !important;

    left: auto !important;
    top: auto !important;

    margin: 6px 0 18px 24px !important;

    clear: both;
}


/* ==================================================
   NHF TEXTFLUSS – ABSTAND + ÜBERSCHRIFTEN ÖFFENTLICH
   ================================================== */

figure.nhf-content-image.nhf-image-float-left {
    margin:
        4px
        28px
        20px
        0 !important;
}


figure.nhf-content-image.nhf-image-float-right {
    margin:
        4px
        0
        20px
        28px !important;
}


.topic-content h2,
.topic-content h3,
.topic-article-content h2,
.topic-article-content h3 {
    clear: both;
}


/* ==================================================
   NHF TEXTFLUSS – SAUBERER ABSATZSTART PUBLIC
   ================================================== */

figure.nhf-content-image.nhf-image-float-left,
figure.nhf-content-image.nhf-image-float-right {
    position: static !important;

    top: auto !important;
    left: auto !important;

    transform: none !important;

    margin-top: 2px !important;
}


.topic-content h2,
.topic-content h3,
.topic-article-content h2,
.topic-article-content h3 {
    clear: both !important;
}


/* ==================================================
   NHF FREIE BILDPOSITION – PUBLIC
   ================================================== */

.topic-content,
.topic-article-content,
.static-page-content {
    position: relative;
}


figure.nhf-content-image.nhf-image-free-position {
    position: absolute !important;

    margin: 0 !important;

    float: none !important;

    z-index: 10;
}


@media (max-width: 650px) {

    figure.nhf-content-image.nhf-image-free-position {
        position: static !important;

        left: auto !important;
        top: auto !important;

        width: 100% !important;

        margin: 20px 0 !important;
    }

}

