/* ═══════════════════════════════════════════════════════════════════════════
   News-Einzelseite (.nd-*) — Dark Luxury Enterprise
   ───────────────────────────────────────────────────────────────────────────
   Gehört zu tmp/page_news_detail.php (Route /news/:id). Aufbau:

     Hintergrund   .nd-bg (+ Raster, Korn, Orbs)   — feste Deko-Ebene
     Fortschritt   .nd-progress                     — Lesebalken unter der Nav
     Kopf          .nd-hero mit animiertem Rubrik-Siegel (.nd-seal)
     Zierlinie     .nd-rule mit wanderndem Licht
     Körper        .nd-layout: Lesespalte + Sticky-Spalte „Auf einen Blick“
     Anhang        .nd-pager (Nachbarbeiträge) und .nd-related (Karten)

   Alle Bewegung läuft über transform/opacity oder winzige SVG-Attribute
   (stroke-dashoffset). Die globale prefers-reduced-motion-Regel in app.css
   legt jede Animation still — die Endzustände bleiben sichtbar, weil
   Draw-ins mit `forwards` enden.
═══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   Ambient-Hintergrund
══════════════════════════════════════════════════════════════ */
.nd-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.nd-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.022) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 12%, transparent 80%);
    mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 12%, transparent 80%);
    animation: ndGridDrift 90s linear infinite;
}
@keyframes ndGridDrift { to { background-position: 64px 64px; } }

.nd-bg-grain {
    position: absolute; inset: 0; opacity: .018;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}
.nd-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.nd-orb-a {
    width: 640px; height: 470px; top: -12%; left: -7%;
    background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
    animation: ndOrbA 24s ease-in-out infinite;
}
.nd-orb-b {
    width: 540px; height: 400px; top: 42%; right: -9%;
    background: radial-gradient(circle, rgba(74,140,201,.045) 0%, transparent 70%);
    animation: ndOrbB 30s ease-in-out infinite;
}
@keyframes ndOrbA { 0%,100% { transform: translate(0,0) } 50% { transform: translate(42px,30px) } }
@keyframes ndOrbB { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-34px,-26px) } }

/* ══════════════════════════════════════════════════════════════
   Lesefortschritt
══════════════════════════════════════════════════════════════ */
.nd-progress {
    position: fixed; left: 0; right: 0;
    top: calc(var(--nav-h, 4.25rem) + var(--nav-safe-top, 0px));
    height: 2px; z-index: 49; pointer-events: none;
    background: rgba(201,168,76,.05);
}
.nd-progress-fill {
    display: block; width: 100%; height: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(201,168,76,.05), #c9a84c 35%, #f0dd9f 62%, #c9a84c);
    box-shadow: 0 0 14px rgba(201,168,76,.55);
}

/* ══════════════════════════════════════════════════════════════
   Seitenrahmen
══════════════════════════════════════════════════════════════ */
.nd-page {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.9rem 1.25rem 5rem;
}

.nd-page a:focus-visible,
.nd-page button:focus-visible {
    outline: 1px solid rgba(232,205,128,.75);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════
   Brotkrümelnavigation
══════════════════════════════════════════════════════════════ */
.nd-breadcrumb {
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-family: system-ui, sans-serif; font-size: .6rem; letter-spacing: .07em;
    color: #8a8170;
}
.nd-breadcrumb a { color: rgba(232,205,128,.72); text-decoration: none; transition: color .18s; }
.nd-breadcrumb a:hover { color: #f0dd9f; }
.nd-breadcrumb-sep { display: inline-flex; color: rgba(201,168,76,.42); }
.nd-breadcrumb-sep svg { width: 10px; height: 10px; }
.nd-breadcrumb-here {
    color: #8a8170;
    max-width: min(48ch, 58vw);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   Kopfbereich
══════════════════════════════════════════════════════════════ */
.nd-hero {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 2rem; align-items: center;
    padding: 1.4rem 0 1.9rem;
}

/* Rubrik-Siegel */
.nd-hero-text { min-width: 0; }
.nd-hero-visual { display: flex; justify-content: center; }
.nd-seal {
    width: min(68vw, 190px); height: auto; overflow: visible;
    filter: drop-shadow(0 22px 44px rgba(0,0,0,.55));
}

.nd-seal-halo { animation: ndHalo 6.5s ease-in-out infinite; }
@keyframes ndHalo { 0%,100% { opacity: .55 } 50% { opacity: 1 } }

.nd-seal-spin,
.nd-seal-spin-rev,
.nd-seal-orbit,
.nd-seal-ticks,
.nd-seal-core-dash {
    transform-box: view-box;
    transform-origin: 50% 50%;
}
.nd-seal-spin      { animation: ndSpin 46s linear infinite; }
.nd-seal-spin-rev  { animation: ndSpin 70s linear infinite reverse; }
.nd-seal-ticks     { animation: ndSpin 140s linear infinite reverse; }
.nd-seal-orbit     { animation: ndSpin 34s linear infinite; }
.nd-seal-core-dash { animation: ndSpin 90s linear infinite; opacity: .75; }
@keyframes ndSpin { to { transform: rotate(360deg); } }

/* Ringe zeichnen sich beim Laden (Umfang exakt als Dashlänge) */
.nd-seal-ring { fill: none; }
.nd-seal-ring-a {
    stroke-dasharray: 628.32; stroke-dashoffset: 628.32;
    animation: ndDraw 1.8s cubic-bezier(.6,.04,.34,1) .25s forwards;
}
.nd-seal-ring-b {
    stroke-dasharray: 464.96; stroke-dashoffset: 464.96;
    animation: ndDraw 1.6s cubic-bezier(.6,.04,.34,1) .5s forwards;
}
@keyframes ndDraw { to { stroke-dashoffset: 0; } }

.nd-seal-core { animation: ndCoreBreath 6s ease-in-out infinite; }
@keyframes ndCoreBreath { 0%,100% { opacity: .8 } 50% { opacity: 1 } }
.nd-seal-core-ring { animation: ndCoreRing 4.8s ease-in-out infinite; }
@keyframes ndCoreRing { 0%,100% { opacity: .4 } 50% { opacity: .85 } }

.nd-seal-dash { opacity: .8; }
.nd-seal-node { fill: #c9a84c; opacity: .6; filter: drop-shadow(0 0 4px rgba(201,168,76,.6)); }
.nd-seal-orbit-path { opacity: .8; }

.nd-seal-glyph {
    transform-box: fill-box; transform-origin: center;
    opacity: 0;
    animation: ndGlyphIn 1.2s cubic-bezier(.22,1,.36,1) .7s forwards,
               ndGlyphGlow 5s ease-in-out 2.2s infinite;
}
@keyframes ndGlyphIn {
    from { opacity: 0; transform: scale(.68) rotate(-8deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes ndGlyphGlow {
    0%,100% { filter: drop-shadow(0 0 0 rgba(201,168,76,0)); }
    50%     { filter: drop-shadow(0 0 9px rgba(232,205,128,.5)); }
}

.nd-seal-spark {
    transform-box: fill-box; transform-origin: center;
    animation: ndSpark 3.8s ease-in-out infinite;
}
@keyframes ndSpark {
    0%,100% { opacity: .22; transform: scale(.72) rotate(0deg); }
    50%     { opacity: 1;   transform: scale(1.1) rotate(45deg); }
}

/* Rubrik-Zeile */
.nd-kicker {
    display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
    margin-bottom: 1.35rem;
}
.nd-kicker-rule {
    width: 36px; height: 1px; flex: none;
    background: linear-gradient(90deg, rgba(201,168,76,0), rgba(201,168,76,.65));
}
.nd-kicker-cat {
    display: inline-flex; align-items: center; gap: .42rem;
    font-family: system-ui, sans-serif; font-size: .55rem; font-weight: 600;
    letter-spacing: .24em; text-transform: uppercase;
    color: var(--nd-accent, #4a8cc9);
}
.nd-kicker-cat svg { width: 13px; height: 13px; flex: none; }
.nd-kicker-version {
    display: inline-flex; align-items: center;
    padding: .26rem .6rem;
    border: 1px solid rgba(201,168,76,.26);
    border-radius: 999px;
    background: rgba(201,168,76,.05);
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: .78rem;
    letter-spacing: .06em; color: #e8cd80;
}

/* Titel — ruhige Elfenbeinfarbe, im @supports-Zweig als
   Gold-Schimmer. Ohne background-clip-Unterstützung bleibt der Titel
   lesbar (deshalb steht die Farbe ausserhalb des Blocks). */
.nd-title {
    margin: 0 0 1.25rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.05rem, 5.4vw, 3.85rem);
    font-weight: 400; line-height: 1.07; letter-spacing: .012em;
    color: #f2e9d6;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .nd-title {
        color: #f2e9d6;
        background-image: linear-gradient(100deg,
            #f2e9d6 0%, #f2e9d6 40%, #f0dd9f 50%, #f2e9d6 60%, #f2e9d6 100%);
        background-size: 260% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: ndTitleSheen 11s ease-in-out 1.4s infinite;
    }
}
@keyframes ndTitleSheen {
    0%, 52% { background-position: 130% 0; }
    78%, 100% { background-position: -35% 0; }
}

/* Vorspann */
.nd-lead {
    position: relative;
    margin: 0 0 1.7rem;
    padding-left: 1.15rem;
    max-width: 62ch;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.68; color: #d9cfba;
}
.nd-lead::before {
    content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(201,168,76,.85), rgba(201,168,76,.1));
}

/* Meta-Chips */
.nd-meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.nd-meta-item {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem .82rem;
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0));
    font-family: system-ui, sans-serif; font-size: .6rem; letter-spacing: .06em;
    color: #9a8f7c;
    transition: border-color .2s, color .2s, background .2s;
}
.nd-meta-item svg { width: 13px; height: 13px; flex: none; color: rgba(232,205,128,.72); }
.nd-meta-item time { font-variant-numeric: tabular-nums; }
.nd-meta-item:hover {
    border-color: rgba(201,168,76,.3);
    color: #c8bda8;
    background: linear-gradient(180deg, rgba(201,168,76,.05), rgba(255,255,255,0));
}
.nd-meta-updated { border-color: rgba(74,222,128,.22); color: #9fbfa8; }
.nd-meta-updated svg { color: #6fcf8e; }
.nd-meta-updated::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%; flex: none;
    background: #6fcf8e;
    box-shadow: 0 0 7px rgba(111,207,142,.8);
    animation: ndPulseDot 2.6s ease-in-out infinite;
}
@keyframes ndPulseDot { 0%,100% { opacity: .55 } 50% { opacity: 1 } }

/* ══════════════════════════════════════════════════════════════
   Zierlinie mit wanderndem Licht
══════════════════════════════════════════════════════════════ */
.nd-rule {
    display: flex; align-items: center; gap: .85rem;
    margin: 0 0 2.1rem;
}
.nd-rule-line {
    position: relative; flex: 1; min-width: 24px; height: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,.02), rgba(201,168,76,.34));
    overflow: hidden;
}
.nd-rule-line:last-of-type {
    background: linear-gradient(270deg, rgba(201,168,76,.02), rgba(201,168,76,.34));
}
.nd-rule-line::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -22%; width: 22%;
    background: linear-gradient(90deg, transparent, rgba(240,221,159,.9), transparent);
    animation: ndRuleSweep 6.5s cubic-bezier(.45,0,.55,1) infinite;
}
.nd-rule-line:last-of-type::after { animation-direction: reverse; }
@keyframes ndRuleSweep {
    0%        { transform: translateX(0); }
    62%, 100% { transform: translateX(560%); }
}
.nd-rule-gem { width: 17px; height: 17px; flex: none; overflow: visible; }
.nd-rule-gem-outer { fill: rgba(201,168,76,.04); stroke: rgba(201,168,76,.5); stroke-width: 1; }
.nd-rule-gem-inner {
    fill: rgba(201,168,76,.14); stroke: rgba(232,205,128,.6); stroke-width: 1;
    transform-box: fill-box; transform-origin: center;
    animation: ndGem 4.2s ease-in-out infinite;
}
.nd-rule-gem-dot {
    fill: #f0dd9f;
    transform-box: fill-box; transform-origin: center;
    animation: ndGemDot 4.2s ease-in-out infinite;
}
@keyframes ndGem { 0%,100% { transform: scale(.82) } 50% { transform: scale(1.06) } }
@keyframes ndGemDot { 0%,100% { opacity: .45 } 50% { opacity: 1 } }
.nd-rule-flat { margin: 0; flex: 1; }

/* ══════════════════════════════════════════════════════════════
   Raster: Lesespalte + Sticky-Spalte
══════════════════════════════════════════════════════════════ */
.nd-layout {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 2.1rem; align-items: start;
}

/* ── Lesespalte ──────────────────────────────────────────────── */
.nd-main {
    position: relative;
    padding: clamp(1.4rem, 3.4vw, 2.5rem) clamp(1.15rem, 3.4vw, 2.8rem) clamp(1.3rem, 3vw, 2.1rem);
    background: linear-gradient(180deg, rgba(16,12,6,.9), rgba(11,8,4,.86));
    border: 1px solid rgba(201,168,76,.1);
    border-left: 3px solid rgba(201,168,76,.42);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 26px 70px -36px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.02);
    backdrop-filter: blur(10px);
}
.nd-main::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(201,168,76,.5), rgba(201,168,76,.06) 58%, transparent);
}
.nd-main::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(340px 170px at 10% -6%, rgba(201,168,76,.055), transparent 72%);
}

/* ── Beitragsbild ────────────────────────────────────────────── */
.nd-figure {
    position: relative;
    margin: 0 0 1.5rem;
    border: 1px solid rgba(201,168,76,.16);
    border-radius: 8px; overflow: hidden;
    background: rgba(10,8,4,.6);
    box-shadow: 0 18px 44px -28px rgba(0,0,0,.9);
}
.nd-figure img { display: block; width: 100%; height: auto; }

/* ── Fließtext ───────────────────────────────────────────────── */
.nd-content {
    position: relative;
    font-family: system-ui, sans-serif;
    font-size: clamp(.9rem, .35vw + .78rem, .98rem);
    line-height: 1.95;
    color: #b6aa96;
}
.nd-content > * + * { margin-top: 1.05rem; }
.nd-content p { margin: 0; }

/* Initiale: erster Buchstabe als goldene Versalie */
.nd-content > p:first-of-type::first-letter {
    float: left;
    margin: .04em .14em 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.3em; font-weight: 400; line-height: .8;
    color: #e8cd80;
    text-shadow: 0 2px 18px rgba(201,168,76,.35);
}

.nd-content strong, .nd-content b { color: #e8ddc7; font-weight: 600; }
.nd-content em, .nd-content i { color: #cfc4ae; }

.nd-content h2 {
    position: relative;
    margin: 2.4rem 0 0; padding-top: 1.25rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.35rem, 2.6vw, 1.72rem); font-weight: 400;
    line-height: 1.25; letter-spacing: .05em; color: #f0e6d0;
}
.nd-content h2::before {
    content: ''; position: absolute; top: 0; left: 0; width: 68px; height: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,.8), transparent);
}
.nd-content h2::after {
    content: ''; position: absolute; top: -3px; left: 78px;
    width: 7px; height: 7px; border-radius: 1px;
    background: linear-gradient(135deg, #e8cd80, #a9862f);
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(201,168,76,.45);
}
.nd-content h3 {
    position: relative;
    margin: 1.75rem 0 0; padding-left: .9rem;
    font-family: system-ui, sans-serif;
    font-size: .76rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: #d8cba8;
}
.nd-content h3::before {
    content: ''; position: absolute; left: 0; top: .12em; bottom: .08em; width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(201,168,76,.85), rgba(201,168,76,.12));
}

/* Listen: Rauten bzw. römische Nummernkreise statt Standardpunkten */
.nd-content ul, .nd-content ol {
    margin: 0; padding: 0; list-style: none;
    display: flex; flex-direction: column; gap: .5rem;
}
.nd-content li { position: relative; padding-left: 1.45rem; margin: 0; }
.nd-content ul > li::before {
    content: ''; position: absolute; left: .28rem; top: .74em;
    width: 6px; height: 6px; border-radius: 1px;
    background: linear-gradient(135deg, #e8cd80, #a9862f);
    transform: rotate(45deg);
    box-shadow: 0 0 7px rgba(201,168,76,.4);
}
.nd-content ol { counter-reset: nd-ol; }
.nd-content ol > li { counter-increment: nd-ol; padding-left: 1.85rem; }
.nd-content ol > li::before {
    content: counter(nd-ol);
    position: absolute; left: 0; top: .42em;
    display: flex; align-items: center; justify-content: center;
    width: 1.15rem; height: 1.15rem;
    border: 1px solid rgba(201,168,76,.4); border-radius: 50%;
    background: rgba(201,168,76,.06);
    font-size: .52rem; font-weight: 600; line-height: 1; color: #e8cd80;
}

.nd-content blockquote {
    position: relative;
    margin: 1.6rem 0 0; padding: 1.15rem 1.25rem 1.15rem 3rem;
    border-left: 2px solid rgba(201,168,76,.55);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(201,168,76,.07), rgba(201,168,76,0));
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-size: 1.05rem; line-height: 1.75; color: #d9cfba;
}
.nd-content blockquote::before {
    content: '„';
    position: absolute; left: .8rem; top: .3rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.7rem; line-height: 1; color: rgba(201,168,76,.5);
}

.nd-content code {
    padding: .1em .42em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .82em; color: #e8cd80;
    background: rgba(201,168,76,.08);
    border: 1px solid rgba(201,168,76,.14); border-radius: 5px;
}
.nd-content pre {
    max-width: 100%; overflow-x: auto;
    padding: 1rem 1.1rem;
    background: rgba(5,3,1,.75);
    border: 1px solid rgba(201,168,76,.14); border-radius: 9px;
}
.nd-content pre code { padding: 0; background: none; border: 0; color: #cfc4ae; }

.nd-content a {
    color: #e8cd80; text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,.35);
    transition: color .18s, border-color .18s;
}
.nd-content a:hover { color: #f6e9bd; border-bottom-color: rgba(240,221,159,.85); }

/* ── Nachbarbeiträge ─────────────────────────────────────────── */
.nd-pager {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
    margin-top: 2.4rem; padding-top: 1.7rem;
    border-top: 1px solid rgba(201,168,76,.1);
}
.nd-pager-link {
    position: relative; min-width: 0;
    display: flex; flex-direction: column; gap: .35rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(201,168,76,.1); border-radius: 9px;
    background: rgba(255,255,255,.015);
    text-decoration: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.nd-pager-link:hover {
    border-color: rgba(201,168,76,.32);
    background: rgba(201,168,76,.045);
    box-shadow: 0 14px 34px -24px rgba(0,0,0,.9);
}
.nd-pager-dir {
    display: inline-flex; align-items: center; gap: .42rem;
    font-family: system-ui, sans-serif; font-size: .52rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: rgba(232,205,128,.68);
}
.nd-pager-dir svg { width: 12px; height: 12px; flex: none; transition: transform .22s; }
.nd-pager-prev:hover .nd-pager-dir svg { transform: translateX(-3px); }
.nd-pager-next { text-align: right; }
.nd-pager-next .nd-pager-dir { justify-content: flex-end; }
.nd-pager-next:hover .nd-pager-dir svg { transform: translateX(3px); }
.nd-pager-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.02rem; line-height: 1.35; letter-spacing: .03em;
    color: #e2d6c0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nd-pager-all {
    display: inline-flex; align-items: center; justify-content: center; gap: .42rem;
    align-self: center;
    padding: .68rem .95rem;
    border: 1px solid rgba(201,168,76,.16); border-radius: 9px;
    color: rgba(232,205,128,.8); text-decoration: none;
    font-family: system-ui, sans-serif; font-size: .55rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    transition: border-color .2s, background .2s, color .2s;
}
.nd-pager-all svg { width: 14px; height: 14px; }
.nd-pager-all:hover {
    border-color: rgba(201,168,76,.42);
    background: rgba(201,168,76,.06);
    color: #f0dd9f;
}
.nd-pager-empty { display: none; }
@media (min-width: 1024px) {
    /* Leere Zelle, damit „Übersicht“ auch ohne Nachbarn mittig bleibt. */
    .nd-pager-empty { display: block; }
}

/* ── Sticky-Spalte ───────────────────────────────────────────── */
.nd-aside { display: flex; flex-direction: column; gap: 1.1rem; }

.nd-panel {
    position: relative;
    padding: 1.35rem 1.25rem;
    background: rgba(14,10,5,.75);
    border: 1px solid rgba(201,168,76,.11); border-radius: 11px;
    backdrop-filter: blur(9px);
    box-shadow: 0 18px 50px -32px rgba(0,0,0,.9);
}
.nd-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    pointer-events: none; border-radius: 11px 11px 0 0;
    background: linear-gradient(90deg, rgba(201,168,76,.4), transparent 62%);
}

.nd-panel-title {
    display: flex; align-items: center; gap: .6rem;
    margin: 0 0 1rem;
    font-family: system-ui, sans-serif; font-size: .58rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: rgba(232,205,128,.8);
}
.nd-panel-title-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,.32), transparent);
}

.nd-facts { margin: 0; display: flex; flex-direction: column; }
.nd-fact {
    display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
    padding: .62rem 0;
    border-bottom: 1px dashed rgba(201,168,76,.09);
}
.nd-fact:first-child { padding-top: 0; }
.nd-fact:last-child { padding-bottom: 0; border-bottom: 0; }
.nd-fact dt {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: system-ui, sans-serif; font-size: .62rem; letter-spacing: .06em;
    color: #8a8170;
}
.nd-fact dt svg { width: 13px; height: 13px; flex: none; color: rgba(232,205,128,.55); }
.nd-fact dd {
    margin: 0; text-align: right;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .94rem; letter-spacing: .03em; color: #ded2ba;
}
.nd-fact-cat {
    display: inline-flex; align-items: center;
    padding: .17rem .52rem;
    border: 1px solid; border-radius: 999px;
    font-family: system-ui, sans-serif; font-size: .5rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
}
.nd-fact-version { font-variant-numeric: tabular-nums; }

.nd-panel-cta { display: flex; flex-direction: column; gap: .75rem; }
.nd-panel-eyebrow {
    font-family: system-ui, sans-serif; font-size: .5rem; font-weight: 600;
    letter-spacing: .24em; text-transform: uppercase;
    color: rgba(232,205,128,.62);
}
.nd-panel-text {
    margin: 0;
    font-family: system-ui, sans-serif; font-size: .68rem; line-height: 1.75;
    color: #8a8170;
}

/* Primär-Button */
.nd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .74rem 1.05rem;
    border: 1px solid rgba(201,168,76,.42); border-radius: 8px;
    background: linear-gradient(180deg, rgba(201,168,76,.16), rgba(201,168,76,.06));
    color: #f0dd9f; text-decoration: none;
    font-family: system-ui, sans-serif; font-size: .58rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.nd-btn svg { width: 13px; height: 13px; flex: none; transition: transform .22s; }
.nd-btn:hover {
    border-color: rgba(232,205,128,.7);
    background: linear-gradient(180deg, rgba(201,168,76,.26), rgba(201,168,76,.1));
    box-shadow: 0 0 26px -6px rgba(201,168,76,.45);
}
.nd-btn:hover svg { transform: translateX(3px); }

/* Link kopieren */
.nd-copy {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .62rem 1.05rem;
    background: none;
    border: 1px solid rgba(201,168,76,.14); border-radius: 8px;
    color: #9a8f7c;
    font-family: system-ui, sans-serif; font-size: .55rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    transition: border-color .2s, color .2s, background .2s;
}
.nd-copy svg { width: 13px; height: 13px; flex: none; }
.nd-copy:hover { border-color: rgba(201,168,76,.36); color: #d8cba8; background: rgba(201,168,76,.04); }
.nd-copy-check { display: none; }
.nd-copy.is-copied { border-color: rgba(74,222,128,.42); color: #9fdcb4; background: rgba(74,222,128,.05); }
.nd-copy.is-copied .nd-copy-link { display: none; }
.nd-copy.is-copied .nd-copy-check { display: block; }

/* ══════════════════════════════════════════════════════════════
   Weitere Beiträge
══════════════════════════════════════════════════════════════ */
.nd-related { margin-top: 3.4rem; }
.nd-related-head {
    display: flex; align-items: center; gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.nd-related-title {
    flex: none; margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.3rem, 2.6vw, 1.72rem); font-weight: 400;
    letter-spacing: .06em; color: #f0e6d0;
}
.nd-related-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;
}
.nd-rc {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: .6rem;
    padding: 1.2rem 1.2rem 1.1rem;
    background: linear-gradient(180deg, rgba(16,12,6,.82), rgba(11,8,4,.74));
    border: 1px solid rgba(201,168,76,.1); border-radius: 11px;
    text-decoration: none;
    transition: border-color .22s, transform .22s, box-shadow .22s, background .22s;
}
.nd-rc::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(201,168,76,.5), transparent 62%);
    opacity: .45; transition: opacity .22s;
}
.nd-rc:hover {
    border-color: rgba(201,168,76,.3);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(20,15,8,.9), rgba(13,9,4,.82));
    box-shadow: 0 26px 50px -32px rgba(0,0,0,1);
}
.nd-rc:hover::before { opacity: 1; }
.nd-rc-glow {
    position: absolute; top: -52px; right: -42px;
    width: 150px; height: 150px; border-radius: 50%;
    opacity: .07; filter: blur(38px); pointer-events: none;
}
.nd-rc-top {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.nd-rc-cat {
    display: inline-flex; align-items: center; gap: .32rem;
    padding: .2rem .52rem .2rem .42rem;
    border: 1px solid; border-radius: 999px;
    font-family: system-ui, sans-serif; font-size: .48rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.nd-rc-cat svg { width: 10px; height: 10px; flex: none; }
.nd-rc-date {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .82rem; letter-spacing: .03em; color: #8a8170; white-space: nowrap;
}
.nd-rc-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.12rem; line-height: 1.32; letter-spacing: .03em; color: #e6dcc6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nd-rc-excerpt {
    font-family: system-ui, sans-serif; font-size: .68rem; line-height: 1.7; color: #8a8170;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nd-rc-more {
    margin-top: auto; padding-top: .45rem;
    display: inline-flex; align-items: center; gap: .42rem;
    font-family: system-ui, sans-serif; font-size: .52rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    color: rgba(232,205,128,.6);
    transition: color .2s;
}
.nd-rc-more svg { width: 12px; height: 12px; flex: none; transition: transform .22s; }
.nd-rc:hover .nd-rc-more { color: rgba(232,205,128,.95); }
.nd-rc:hover .nd-rc-more svg { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   Responsive
══════════════════════════════════════════════════════════════ */
@media (min-width: 700px) {
    .nd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .nd-page { padding: 2.4rem 1.5rem 5.5rem; }
    .nd-hero {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 3.4rem;
        padding: 2.4rem 0 2.1rem;
    }
    .nd-seal { width: 100%; max-width: 262px; }
    .nd-layout { grid-template-columns: minmax(0, 1fr) 306px; gap: 2.6rem; }
    .nd-aside {
        position: sticky;
        top: calc(var(--nav-h, 4.25rem) + var(--nav-safe-top, 0px) + 2.6rem);
    }
    .nd-pager { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .85rem; }
    .nd-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .nd-page { padding: 1.35rem 1rem 3.6rem; }
    .nd-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
    .nd-lead { font-size: 1rem; }
    .nd-main { border-left-width: 2px; border-radius: 0 10px 10px 0; }
    .nd-content { line-height: 1.9; }
    .nd-content > p:first-of-type::first-letter { font-size: 2.75em; }
    .nd-pager-title { white-space: normal; }
    .nd-pager-next { text-align: left; }
    .nd-pager-next .nd-pager-dir { justify-content: flex-start; }
    .nd-related-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .nd-rule-flat { width: 100%; flex: none; }
}

/* Sanftere Variante bei reduzierter Bewegung: die globale Regel in app.css
   stoppt bereits alles; hier werden nur die vom JS gesetzten Endzustände
   ohne Übergang gehalten. */
@media (prefers-reduced-motion: reduce) {
    .nd-progress-fill { transition: none; }
    .nd-seal-spark, .nd-seal-node { animation: none; }
}
