/*
 Theme Name:   Haşim Üner
 Description:  High-Performance Child Theme für GeneratePress — Editorial Design System
 Template:     generatepress
 Version:      5.0.0
*/

/* =========================================
   DESIGN TOKENS (CSS Custom Properties)
   ========================================= */

:root {
    /* Farben */
    --hj-bg:            #f4f5f7;
    --hj-bg-surface:    #ffffff;
    --hj-text:          #222222;
    --hj-text-secondary:#555555;
    --hj-text-muted:    #696969;
    --hj-accent:        #b12a2a;
    --hj-accent-strong: #7a181b;
    --hj-rule:          #111111;
    --hj-rule-light:    #d0d0d0;
    --hj-border:        #e0e0e0;
    --hj-callout-bg:    #faf8f5;
    --hj-callout-border:#c9b99a;
    --hj-topic-bg:      #eee;
    --hj-topic-text:    #333;

    /* Wissensgraph */
    --hj-graph-essay:   #e8574b;
    --hj-graph-note:    #8b95a5;
    --hj-graph-glossar: #4da6e8;
    --hj-graph-topic:   #e8c94b;
    --hj-graph-bg:      #0a0f1a;
    --hj-graph-edge:    rgba(255,255,255,0.12);
    --hj-graph-label:   rgba(255,255,255,0.85);

    /* Typografie */
    --hj-serif:         'Merriweather', Georgia, 'Times New Roman', serif;
    --hj-sans:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --hj-mono:          'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

    /* Schriftgrößen */
    --hj-fs-xs:         0.7rem;
    --hj-fs-sm:         0.8rem;
    --hj-fs-base:       1.125rem;   /* 18px */
    --hj-fs-md:         0.95rem;
    --hj-fs-lg:         1.25rem;
    --hj-fs-xl:         1.4rem;
    --hj-fs-2xl:        clamp(1.8rem, 3.5vw, 2.6rem);
    --hj-fs-3xl:        clamp(2.8rem, 6vw, 5.2rem);

    /* Abstände */
    --hj-space-xs:      0.5rem;
    --hj-space-sm:      1rem;
    --hj-space-md:      1.5rem;
    --hj-space-lg:      2.5rem;
    --hj-space-xl:      3.5rem;
    --hj-space-2xl:     5rem;

    /* Layout */
    --hj-measure:       72ch;       /* optimale Lesezeilenbreite */
    --hj-content-width:  1140px;
    --hj-gutter:        2rem;
}

/* =========================================
   @FONT-FACE — Merriweather (lokal)
   ========================================= */

@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/merriweather-v33-latin-300.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-300.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/merriweather-v33-latin-300italic.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-300italic.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/merriweather-v33-latin-700.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-700.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/merriweather-v33-latin-700italic.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-700italic.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/merriweather-v33-latin-900.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-900.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/merriweather-v33-latin-900italic.woff2') format('woff2'),
         url('fonts/merriweather-v33-latin-900italic.woff') format('woff');
    font-display: swap;
}

/* =========================================
   BASIS — Typografie & Layout
   ========================================= */

/* Skip-to-Content (a11y WCAG 2.4.1) */
.hp-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    font-family: var(--hj-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--hj-rule);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    white-space: nowrap;
}

.hp-skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid var(--hj-accent);
    outline-offset: 2px;
}

body {
    background-color: var(--hj-bg);
    color: var(--hj-text);
    font-family: var(--hj-sans);
    font-weight: 300;
    font-size: var(--hj-fs-base);
    line-height: 1.7;
}

/* Fließtext-Elemente explizit Sans-Serif */
p, li, blockquote, table, input, textarea {
    font-family: var(--hj-sans);
    font-weight: 300;
}

/* --- Überschriften-Hierarchie --- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hj-serif);
    font-weight: 700;
    color: var(--hj-rule);
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.6em;
}

h1 {
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: -1px;
    line-height: 1.15;
}

h2 {
    font-size: 1.7rem;
    padding-bottom: 0.4em;
    border-bottom: 1px solid var(--hj-border);
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

h4 {
    font-family: var(--hj-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hj-text-secondary);
}

/* =========================================
   SITE-HEADER — Zeitungsstil
   ========================================= */

/* GP Standard-Header ausblenden */
.site-header {
    display: none !important;
}

/* --- Masthead (Titel + Tagline) --- */

.hp-site-header {
    position: relative;
    background:
        linear-gradient(180deg, rgba(247,243,237,0.98), rgba(247,243,237,0.92));
    border-bottom: 1px solid var(--hj-border);
}

.hp-masthead {
    padding: clamp(1.35rem, 3vw, 2.4rem) var(--hj-gutter) 1rem;
    text-align: center;
    border-bottom: 0;
}

.hp-masthead__inner {
    max-width: min(52rem, calc(100% - 2rem));
    margin: 0 auto;
}

.hp-masthead__link {
    text-decoration: none;
    color: var(--hj-rule);
    display: inline-block;
}

.hp-masthead__link:hover {
    text-decoration: none;
    color: var(--hj-rule);
}

.hp-masthead__title {
    display: block;
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--hj-rule);
    text-transform: none;
}

.hp-masthead__tagline {
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--hj-text-muted);
    margin: 0.55rem 0 0;
}

/* --- Schwebende Header-Bar --- */

.hp-header-bar {
    position: sticky;
    top: 0;
    z-index: 250;
    padding: 0 0.9rem 0.8rem;
}

.admin-bar .hp-header-bar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .hp-header-bar {
        top: 46px;
    }
}

/* --- Navigationsleiste --- */

.hp-nav {
    max-width: min(1080px, calc(100vw - 1.8rem));
    margin: 0 auto;
    border: 1px solid rgba(20, 24, 29, 0.08);
    border-radius: 18px;
    background: rgba(248, 244, 239, 0.82);
    box-shadow: 0 10px 30px rgba(27, 31, 35, 0.08);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hp-header-bar--scrolled .hp-nav {
    background: rgba(248, 244, 239, 0.92);
    border-color: rgba(20, 24, 29, 0.10);
    box-shadow: 0 16px 42px rgba(27, 31, 35, 0.12);
}

.hp-header-bar--search-open .hp-nav,
.hp-header-bar--menu-open .hp-nav {
    border-color: rgba(20, 24, 29, 0.12);
    box-shadow: 0 16px 42px rgba(27, 31, 35, 0.12);
}

.hp-nav__inner {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 58px;
}

.hp-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hp-nav__item {
    position: relative;
}

.hp-nav__link,
.hp-nav__list .menu-item a {
    display: block;
    font-family: var(--hj-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hj-text);
    text-decoration: none;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
    border-bottom: 0;
}

.hp-nav__link:hover,
.hp-nav__list .menu-item a:hover {
    color: var(--hj-accent);
    background: rgba(20, 24, 29, 0.05);
    text-decoration: none;
}

.hp-nav__item--active .hp-nav__link,
.hp-nav__list .current-menu-item a {
    color: var(--hj-accent);
    background: rgba(189, 78, 47, 0.08);
}

.hp-nav__actions {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* --- Hamburger Button (Desktop: hidden) --- */

.hp-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 0;
    height: 42px;
    padding: 0 0.9rem 0 0.75rem;
    background: rgba(20, 24, 29, 0.06);
    border: 1px solid rgba(20, 24, 29, 0.12);
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    z-index: 101;
}

.hp-nav__toggle-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.hp-nav__toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--hj-rule);
    margin: 3px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
    border-radius: 999px;
}

.hp-nav__toggle-label {
    display: inline-block;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hj-rule);
}

.hp-nav__toggle:hover {
    background: rgba(20, 24, 29, 0.09);
    border-color: rgba(20, 24, 29, 0.16);
}

/* Hamburger → X Animation */
.hp-nav__toggle[aria-expanded="true"] .hp-nav__toggle-icon .hp-nav__toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hp-nav__toggle[aria-expanded="true"] .hp-nav__toggle-icon .hp-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}
.hp-nav__toggle[aria-expanded="true"] .hp-nav__toggle-icon .hp-nav__toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Mobile Menu (hidden by default) --- */

.hp-nav-mobile {
    max-width: min(1080px, calc(100vw - 1.8rem));
    margin: 0.5rem auto 0;
    background: rgba(248, 244, 239, 0.92);
    border: 1px solid rgba(20, 24, 29, 0.08);
    border-radius: 18px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    box-shadow: 0 16px 42px rgba(27, 31, 35, 0.12);
    backdrop-filter: blur(16px);
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.2s ease;
}

.hp-nav-mobile[data-open="true"] {
    max-height: 400px;
    opacity: 1;
}

.hp-nav-mobile__list {
    list-style: none;
    margin: 0;
    padding: 0.55rem 1rem;
}

.hp-nav-mobile__item a,
.hp-nav-mobile__list .menu-item a {
    display: block;
    font-family: var(--hj-sans);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hj-text);
    text-decoration: none;
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid rgba(20, 24, 29, 0.08);
    transition: color 0.15s ease;
}

.hp-nav-mobile__item:last-child a,
.hp-nav-mobile__list .menu-item:last-child a {
    border-bottom: none;
}

.hp-nav-mobile__item a:hover,
.hp-nav-mobile__list .menu-item a:hover {
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-nav-mobile__item--active a,
.hp-nav-mobile__list .current-menu-item a,
.hp-nav-mobile__list .current_page_item a {
    color: var(--hj-accent);
}

/* --- Responsive: Mobile --- */

@media (max-width: 767px) {
    .hp-masthead {
        padding: 1.15rem var(--hj-gutter) 0.8rem;
    }

    .hp-header-bar {
        padding: 0 0.75rem 0.7rem;
    }

    .hp-nav__list {
        display: none;
    }

    .hp-nav__toggle {
        display: inline-flex;
    }

    .hp-nav__inner {
        justify-content: flex-start;
        min-height: 54px;
        padding-right: 4.9rem;
    }

    .hp-nav {
        max-width: calc(100vw - 1.5rem);
    }

    .hp-nav__actions {
        gap: 0.55rem;
    }

    .hp-nav-mobile {
        max-width: calc(100vw - 1.5rem);
    }
}

/* --- Links --- */

a {
    color: var(--hj-accent);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    text-decoration: underline;
}

/* --- Prose (Fließtext in Artikeln) --- */

.prose {
    max-width: var(--hj-measure);
}

.prose p {
    margin-bottom: 1.4em;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.prose > p:first-of-type::first-letter {
    font-weight: 900;
    font-size: 3.4rem;
    float: left;
    line-height: 1;
    margin-right: 0.06em;
    margin-top: 0.05em;
    color: var(--hj-rule);
}

/* --- Blockquote --- */

blockquote,
.prose blockquote {
    margin: var(--hj-space-lg) 0;
    padding: var(--hj-space-md) var(--hj-space-lg);
    border-left: 3px solid var(--hj-rule);
    background: transparent;
    font-style: italic;
    font-weight: 300;
    font-size: var(--hj-fs-lg);
    line-height: 1.6;
    color: var(--hj-text-secondary);
}

blockquote cite,
.prose blockquote cite {
    display: block;
    margin-top: var(--hj-space-sm);
    font-family: var(--hj-sans);
    font-style: normal;
    font-size: var(--hj-fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hj-text-muted);
}

/* --- Fußnoten --- */

.footnotes,
.hp-footnotes {
    margin-top: var(--hj-space-xl);
    padding-top: var(--hj-space-md);
    border-top: 1px solid var(--hj-rule);
    font-size: var(--hj-fs-md);
    line-height: 1.6;
    color: var(--hj-text-secondary);
}

.footnotes ol,
.hp-footnotes ol {
    padding-left: 1.5em;
}

.footnotes li,
.hp-footnotes li {
    margin-bottom: 0.6em;
}

sup.footnote-ref a,
a.footnote-backref {
    font-family: var(--hj-sans);
    font-size: 0.75em;
    font-weight: 700;
    color: var(--hj-accent);
    text-decoration: none;
    padding: 0 0.15em;
}

sup.footnote-ref a:hover,
a.footnote-backref:hover {
    text-decoration: underline;
}

/* --- Quellen --- */

.hp-sources {
    margin-top: var(--hj-space-lg);
    padding: var(--hj-space-md);
    background: var(--hj-callout-bg);
    border: 1px solid var(--hj-border);
    font-size: var(--hj-fs-md);
}

.hp-sources__title {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-text-muted);
    margin-bottom: var(--hj-space-sm);
}

.hp-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-sources li {
    padding: 0.4em 0;
    border-bottom: 1px solid var(--hj-border);
    line-height: 1.5;
}

.hp-sources li:last-child {
    border-bottom: none;
}

/* --- Callout-Box --- */

.hp-callout {
    margin: var(--hj-space-lg) 0;
    padding: var(--hj-space-md) var(--hj-space-lg);
    background: var(--hj-callout-bg);
    border-left: 3px solid var(--hj-callout-border);
    font-size: var(--hj-fs-md);
    line-height: 1.65;
}

.hp-callout__label {
    display: block;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-callout-border);
    margin-bottom: 0.5em;
}

/* --- Topic Pills --- */

.hp-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-topic-pill {
    display: inline-block;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3em 0.8em;
    background: var(--hj-topic-bg);
    color: var(--hj-topic-text);
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.hp-topic-pill:hover {
    background: var(--hj-rule);
    color: #fff;
    text-decoration: none;
}

/* --- Lesefortschritts-Balken --- */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.reading-progress__bar {
    height: 100%;
    width: 0%;
    background: var(--hj-accent);
    transition: width 80ms linear;
}

/* --- Inhaltsverzeichnis (Sticky TOC) --- */

.hp-toc {
    display: none;
}

@media (min-width: 1100px) {
    .hp-toc {
        display: block;
        position: sticky;
        top: 2rem;
        align-self: start;
        width: 220px;
        flex-shrink: 0;
        padding-right: var(--hj-gutter);
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .hp-toc[data-visible="true"] {
        opacity: 1;
        transform: translateX(0);
    }
}

.hp-toc__title {
    font-family: var(--hj-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-text-muted);
    margin-bottom: 1rem;
    display: block;
}

.hp-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Vertikale Linie links */
.hp-toc ol::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--hj-border);
}

.hp-toc li {
    position: relative;
    padding: 0.3em 0 0.3em 1rem;
    font-family: var(--hj-sans);
    font-size: 0.8rem;
    line-height: 1.4;
    border-bottom: none;
    transition: all 0.2s ease;
}

.hp-toc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background 0.25s ease;
}

/* Aktiver Abschnitt */
.hp-toc li.is-active::before {
    background: var(--hj-accent);
}

.hp-toc li.is-active a {
    color: var(--hj-rule);
    font-weight: 700;
}

.hp-toc a {
    color: var(--hj-text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    display: block;
}

.hp-toc a:hover {
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-toc li.toc-h3 {
    padding-left: 2rem;
    font-size: 0.75rem;
}

/* --- Section-Kicker (Label über Überschriften) --- */

.hp-kicker {
    display: block;
    font-family: var(--hj-sans);
    font-weight: 700;
    font-size: var(--hj-fs-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-accent);
    margin-bottom: 0.5rem;
}

/* --- Section-Title (Sektionsüberschrift) --- */

.hp-section-title {
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: var(--hj-fs-sm);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-rule);
    border-bottom: none;
    padding-bottom: 0;
}

/* --- Meta (Datum, Lesezeit) --- */

.hp-meta {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 400;
    color: var(--hj-text-muted);
    letter-spacing: 0.3px;
}

.hp-meta time {
    font-style: normal;
}

.hp-meta__separator::before {
    content: '·';
    margin: 0 0.4em;
}

/* --- Reading Time Badge --- */

.hp-reading-time {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hj-text-muted);
}

/* =========================================
   LAYOUT — Horizontale Linien & Container
   ========================================= */

.journal-front {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: 0 var(--hj-gutter);
}

.journal-rule {
    border: none;
    border-top: 1px solid var(--hj-rule);
    margin: var(--hj-space-xl) 0;
}

/* =========================================
   FRONT PAGE — Sektionen
   ========================================= */

/* --- 1. Editorial Hero --- */

.editorial-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: var(--hj-space-2xl) 0;
}

.editorial-hero--atmospheric {
    display: flex;
    align-items: flex-end;
    min-height: clamp(18rem, 48vw, 29rem);
    padding: clamp(2rem, 5vw, 3.35rem);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 244, 236, 0.82));
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.05);
}

.editorial-hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.editorial-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(0.95);
    transform: scale(1.01);
}

.editorial-hero--atmospheric::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.48), transparent 24%),
        linear-gradient(90deg, rgba(246, 242, 235, 0.95) 0%, rgba(246, 242, 235, 0.88) 38%, rgba(246, 242, 235, 0.74) 100%);
}

.editorial-hero--atmospheric:not(.editorial-hero--has-image)::before {
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.58), transparent 24%),
        radial-gradient(circle at right bottom, rgba(177, 42, 42, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 244, 236, 0.88) 58%, rgba(238, 233, 228, 0.94) 100%);
}

.editorial-hero--atmospheric::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.48), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22));
    pointer-events: none;
}

.editorial-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 780px;
}

/* Overline: ESSAY · DATUM · LESEZEIT */
.hp-overline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--hj-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-text-muted);
    margin-bottom: var(--hj-space-md);
}

.hp-overline__sep::before {
    content: '·';
    color: var(--hj-rule-light);
}

/* Titel: Dominantes Element */
.editorial-hero__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -2px;
    color: var(--hj-rule);
    margin-bottom: 0.45em;
    border-bottom: none;
    padding-bottom: 0;
}

.editorial-hero__title a {
    color: inherit;
    text-decoration: none;
}

.editorial-hero__title a:hover {
    color: var(--hj-accent);
    text-decoration: none;
}

/* Teaser / Excerpt */
.editorial-hero__excerpt {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    color: var(--hj-text-secondary);
    max-width: 620px;
    margin-bottom: var(--hj-space-lg);
}

/* CTA-Link */
.editorial-hero__cta {
    font-family: var(--hj-sans);
    font-weight: 700;
    font-size: var(--hj-fs-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-rule);
    border-bottom: 1px solid var(--hj-rule);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.editorial-hero__cta:hover {
    color: var(--hj-accent);
    border-color: var(--hj-accent);
    text-decoration: none;
}

/* --- 3. Notes List --- */

.notes-section {
    padding: var(--hj-space-sm) 0;
}

.notes-list {
    border-top: 1px solid var(--hj-rule);
}

.notes-list__item {
    padding: var(--hj-space-md) 0;
    border-bottom: 1px solid var(--hj-rule-light);
}

.notes-list__item:last-child {
    border-bottom: 1px solid var(--hj-rule);
}

.notes-list__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: var(--hj-fs-xl);
    line-height: 1.3;
    color: var(--hj-rule);
    margin-bottom: 0.4rem;
    border-bottom: none;
    padding-bottom: 0;
}

.notes-list__title a {
    color: var(--hj-rule);
    text-decoration: none;
}

.notes-list__title a:hover {
    color: var(--hj-accent);
}

.notes-list__excerpt {
    font-weight: 300;
    font-size: var(--hj-fs-md);
    line-height: 1.65;
    color: var(--hj-text-secondary);
    max-width: 680px;
}

/* --- 4. Topics Grid --- */

.topics-section {
    padding: var(--hj-space-sm) 0;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--hj-space-md);
}

/* =========================================
   PAGE: MISSION
   ========================================= */

.hp-mission {
    padding-bottom: var(--hj-space-2xl);
}

.hp-mission__hero {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-lg);
}

.hp-mission__title {
    margin: 0;
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--hj-rule);
    border-bottom: none;
    padding-bottom: 0;
}

.hp-mission__lede {
    max-width: 62ch;
    margin: var(--hj-space-sm) 0 0;
    font-family: var(--hj-serif);
    font-size: clamp(1.08rem, 2.15vw, 1.3rem);
    line-height: 1.65;
    color: var(--hj-text-secondary);
}

.hp-mission__frame {
    padding-top: var(--hj-space-lg);
    border-top: 1px solid var(--hj-rule);
}

.hp-mission__frame.single-body--with-toc {
    max-width: calc(var(--hj-content-width) + 260px);
}

.hp-mission__toc {
    margin-top: 0;
}

.hp-mission__content {
    max-width: 70ch;
}

.hp-mission__section + .hp-mission__section,
.hp-mission__closing {
    margin-top: var(--hj-space-2xl);
    padding-top: var(--hj-space-lg);
    border-top: 1px solid var(--hj-rule-light);
}

.hp-mission__section h2,
.hp-mission__closing h2 {
    margin: 0 0 var(--hj-space-sm);
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.7vw, 1.95rem);
    line-height: 1.28;
    color: var(--hj-rule);
    border-bottom: none;
    padding-bottom: 0;
}

.hp-mission__section p,
.hp-mission__closing p {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-size: var(--hj-fs-base);
    line-height: 1.8;
    color: var(--hj-text);
    margin-bottom: 1.2em;
    text-align: left;
}

.hp-mission__section p:last-child,
.hp-mission__closing p:last-child {
    margin-bottom: 0;
}

.hp-mission__section strong,
.hp-mission__closing strong {
    color: var(--hj-rule);
}

.hp-mission__section a,
.hp-mission__closing a {
    text-underline-offset: 0.16em;
    text-decoration-thickness: 1px;
}

.hp-mission__statement {
    margin-top: var(--hj-space-lg);
    padding: 1.2rem 1.3rem;
    border-left: 4px solid var(--hj-accent);
    background: var(--hj-callout-bg);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.hp-mission__statement p {
    margin: 0;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
    color: var(--hj-rule);
}

.hp-mission__cta {
    margin-top: var(--hj-space-lg);
}

.hp-mission__cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.95rem;
    margin-top: var(--hj-space-md);
}

.hp-mission__cta-card {
    display: block;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--hj-text);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hp-mission__cta-card:hover,
.hp-mission__cta-card:focus-visible {
    border-color: var(--hj-accent);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.hp-mission__cta-title {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--hj-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hj-rule);
}

.hp-mission__cta-copy {
    display: block;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--hj-text-secondary);
}

@media (max-width: 767px) {
    .hp-mission__hero {
        padding: var(--hj-space-xl) var(--hj-gutter) var(--hj-space-md);
    }

    .hp-mission__section p,
    .hp-mission__closing p {
        font-size: 1.05rem;
        line-height: 1.75;
    }
}

/* =========================================
   PAGE: KONTAKT
   ========================================= */

.hp-contact {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: 0 var(--hj-gutter) var(--hj-space-2xl);
}

.hp-contact__inner {
    max-width: 1080px;
}

.hp-contact__header {
    padding: var(--hj-space-2xl) 0 var(--hj-space-lg);
    max-width: 72ch;
}

.hp-contact__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--hj-rule);
    margin: 0;
}

.hp-contact__subline {
    margin-top: var(--hj-space-sm);
    font-family: var(--hj-serif);
    font-size: clamp(1.05rem, 2vw, 1.24rem);
    line-height: 1.65;
    color: var(--hj-text-secondary);
}

.hp-contact__section {
    margin-bottom: var(--hj-space-xl);
}

.hp-contact__section-header {
    max-width: 60ch;
    margin-bottom: var(--hj-space-md);
}

.hp-contact__section-eyebrow {
    margin: 0 0 0.55rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hj-accent);
}

.hp-contact__section-title {
    margin: 0;
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.7vw, 1.95rem);
    line-height: 1.28;
    color: var(--hj-rule);
}

.hp-contact__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.hp-contact__card {
    min-height: 100%;
    padding: 1.2rem 1.2rem 1.3rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 240, 0.9));
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.05);
}

.hp-contact__card-title {
    margin: 0 0 0.55rem;
    font-family: var(--hj-serif);
    font-size: 1.18rem;
    line-height: 1.4;
    color: var(--hj-rule);
}

.hp-contact__card-copy {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--hj-text-secondary);
}

.hp-contact__qualify {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: var(--hj-space-xl);
}

@media (min-width: 860px) {
    .hp-contact__qualify {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hp-contact__panel {
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(17, 17, 17, 0.09);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
}

.hp-contact__panel--muted {
    background: rgba(248, 245, 240, 0.86);
}

.hp-contact__panel-title {
    margin: 0;
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--hj-rule);
}

.hp-contact__panel-list {
    margin: 0.95rem 0 0;
    padding-left: 1.15rem;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.72;
    color: var(--hj-text-secondary);
}

.hp-contact__panel-list li + li {
    margin-top: 0.6rem;
}

.hp-contact__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hj-space-xl);
}

@media (min-width: 940px) {
    .hp-contact__layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }
}

.hp-contact__aside {
    padding: 1.2rem 1.15rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 18px;
    background: rgba(250, 248, 245, 0.92);
}

@media (min-width: 940px) {
    .hp-contact__aside {
        position: sticky;
        top: 7rem;
    }
}

.hp-contact__aside-title {
    margin: 0 0 0.8rem;
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--hj-rule);
}

.hp-contact__aside p {
    margin: 0 0 0.9rem;
    font-family: var(--hj-serif);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--hj-text-secondary);
}

.hp-contact__aside p:last-of-type {
    margin-bottom: 1rem;
}

.hp-contact__aside-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hp-contact__aside-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 16px;
    color: var(--hj-rule);
    font-family: var(--hj-serif);
    font-size: 0.98rem;
    line-height: 1.5;
    text-decoration: none;
}

.hp-contact__aside-links a:hover,
.hp-contact__aside-links a:focus-visible {
    border-color: var(--hj-accent);
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-contact__form-shell {
    padding: 1.5rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
}

.hp-contact__form-header {
    max-width: 62ch;
    margin-bottom: var(--hj-space-md);
}

.hp-contact__form-eyebrow {
    margin: 0 0 0.55rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hj-accent);
}

.hp-contact__form-title {
    margin: 0;
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.3;
    color: var(--hj-rule);
}

.hp-contact__form-lede {
    margin: 0.7rem 0 0;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hj-text-secondary);
}

.hp-contact__notice {
    margin-bottom: var(--hj-space-md);
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
}

.hp-contact__notice p {
    margin: 0;
    font-family: var(--hj-serif);
    line-height: 1.65;
}

.hp-contact__notice--success {
    border-color: rgba(44, 110, 73, 0.18);
    background: rgba(230, 243, 234, 0.9);
    color: #23492f;
}

.hp-contact__notice--error {
    border-color: rgba(177, 42, 42, 0.14);
    background: rgba(251, 239, 239, 0.92);
    color: #7c2525;
}

.hp-contact__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 720px) {
    .hp-contact__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hp-contact__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-contact__field {
    margin: 0;
}

.hp-contact__field--full,
.hp-contact__privacy,
.hp-contact__actions {
    grid-column: 1 / -1;
}

.hp-contact__field label {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hj-text-secondary);
}

.hp-contact__field-optional {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    color: var(--hj-text-muted);
}

.hp-contact__field input,
.hp-contact__field select,
.hp-contact__field textarea {
    width: 100%;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(24, 28, 34, 0.1);
    border-radius: 16px;
    background: #fff;
    color: var(--hj-text);
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.65;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hp-contact__field input:focus,
.hp-contact__field select:focus,
.hp-contact__field textarea:focus {
    outline: none;
    border-color: rgba(189, 78, 47, 0.42);
    box-shadow: 0 0 0 4px rgba(189, 78, 47, 0.08);
}

.hp-contact__field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(24, 28, 34, 0.45) 50%),
        linear-gradient(135deg, rgba(24, 28, 34, 0.45) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(1.15rem + 1px),
        calc(100% - 16px) calc(1.15rem + 1px);
    background-repeat: no-repeat;
    background-size: 6px 6px;
    padding-right: 2.8rem;
}

.hp-contact__field textarea {
    min-height: 13rem;
    resize: vertical;
}

.hp-contact__privacy {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--hj-text-secondary);
}

.hp-contact__privacy a {
    color: var(--hj-accent);
}

.hp-contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.hp-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.45rem;
    border: 1px solid var(--hj-rule);
    border-radius: 999px;
    background: var(--hj-rule);
    color: #fff;
    font-family: var(--hj-sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hp-contact__submit:hover,
.hp-contact__submit:focus-visible {
    transform: translateY(-1px);
    background: var(--hj-accent);
    border-color: var(--hj-accent);
}

.hp-contact__mail-link {
    font-family: var(--hj-sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hj-rule);
    text-decoration: none;
}

.hp-contact__mail-link:hover,
.hp-contact__mail-link:focus-visible {
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-contact__closing {
    margin: 1.4rem 0 0;
    max-width: 60ch;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hj-text-secondary);
}

/* =========================================
   NEWSLETTER
   ========================================= */

.hp-newsletter {
    scroll-margin-top: 7rem;
    position: relative;
    --hp-newsletter-ink: #223246;
    --hp-newsletter-ink-soft: #5a6878;
    --hp-newsletter-line: rgba(34, 50, 70, 0.15);
    --hp-newsletter-surface: #f3f6f9;
    --hp-newsletter-panel: rgba(255, 255, 255, 0.86);
}

.hp-newsletter--home {
    margin: 0 auto;
    max-width: 1080px;
}

.hp-newsletter--essay {
    margin-top: var(--hj-space-xl);
}

.hp-newsletter__shell {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: clamp(1.35rem, 2vw, 1.95rem);
    border: 1px solid var(--hp-newsletter-line);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(34, 50, 70, 0.1), transparent 26%),
        linear-gradient(135deg, #f8fafc 0%, var(--hp-newsletter-surface) 52%, #f2efeb 100%);
    box-shadow: 0 24px 52px rgba(34, 50, 70, 0.12);
}

.hp-newsletter__shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: min(11rem, 38%);
    height: 3px;
    background: linear-gradient(90deg, rgba(177, 42, 42, 0.9), rgba(177, 42, 42, 0.35), transparent 88%);
}

.hp-newsletter__shell::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -5.5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 50, 70, 0.11), rgba(34, 50, 70, 0) 70%);
    pointer-events: none;
}

.hp-newsletter__intro,
.hp-newsletter__form-wrap {
    position: relative;
    z-index: 1;
}

@media (min-width: 920px) {
    .hp-newsletter__shell {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        align-items: stretch;
    }
}

.hp-newsletter__intro {
    display: grid;
    align-content: start;
    gap: 0.95rem;
    max-width: 60ch;
}

.hp-newsletter__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    align-self: start;
    margin: 0;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(34, 50, 70, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hp-newsletter-ink);
}

.hp-newsletter__eyebrow::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: var(--hj-accent);
    box-shadow: 0 0 0 5px rgba(177, 42, 42, 0.1);
}

.hp-newsletter__title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    font-family: var(--hj-serif);
    font-size: clamp(1.7rem, 3.4vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--hp-newsletter-ink);
}

.hp-newsletter__lede {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(34, 50, 70, 0.82);
}

.hp-newsletter__promises {
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.hp-newsletter__promises li {
    position: relative;
    min-height: 100%;
    padding: 1rem 1rem 1rem 2.45rem;
    border: 1px solid rgba(34, 50, 70, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    font-family: var(--hj-sans);
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.58;
    color: var(--hp-newsletter-ink);
}

.hp-newsletter__promises li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.08rem;
    width: 0.7rem;
    height: 0.7rem;
    border: 2px solid var(--hj-accent);
    border-radius: 999px;
    background: transparent;
    box-shadow: 0 0 0 4px rgba(177, 42, 42, 0.16);
}

.hp-newsletter__form-wrap {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: clamp(1.15rem, 1.8vw, 1.5rem);
    border: 1px solid rgba(34, 50, 70, 0.09);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), var(--hp-newsletter-panel));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 14px 34px rgba(34, 50, 70, 0.08);
}

.hp-newsletter__notice {
    margin-bottom: 0;
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    border-radius: 18px;
}

.hp-newsletter__notice p {
    margin: 0;
    font-family: var(--hj-sans);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hp-newsletter__notice--success {
    border-color: rgba(44, 110, 73, 0.24);
    background: rgba(230, 243, 234, 0.9);
    color: #23492f;
}

.hp-newsletter__notice--error {
    border-color: rgba(177, 42, 42, 0.2);
    background: rgba(251, 239, 239, 0.92);
    color: #6f1c1f;
}

.hp-newsletter__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.hp-newsletter__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-newsletter__field {
    margin: 0;
}

.hp-newsletter__primary {
    display: grid;
    gap: 0.8rem;
    align-items: end;
}

@media (min-width: 640px) {
    .hp-newsletter__primary {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.hp-newsletter__field label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hp-newsletter-ink);
}

.hp-newsletter__field input {
    width: 100%;
    min-height: 3.45rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(34, 50, 70, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--hp-newsletter-ink);
    font-family: var(--hj-sans);
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hp-newsletter__field input::placeholder {
    color: #81909e;
}

.hp-newsletter__field input:hover {
    border-color: rgba(34, 50, 70, 0.24);
    background: #fff;
}

.hp-newsletter__field input:focus {
    outline: none;
    border-color: rgba(177, 42, 42, 0.5);
    box-shadow: 0 0 0 4px rgba(177, 42, 42, 0.1);
}

.hp-newsletter__consent {
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin: 0;
    font-family: var(--hj-sans);
    font-size: 0.92rem;
    line-height: 1.62;
    color: #445261;
}

.hp-newsletter__consent input {
    margin: 0.28rem 0 0;
    accent-color: var(--hj-accent);
}

.hp-newsletter__consent a {
    color: var(--hp-newsletter-ink);
    text-decoration-color: rgba(177, 42, 42, 0.42);
    text-underline-offset: 0.12em;
}

.hp-newsletter__consent a:hover,
.hp-newsletter__consent a:focus-visible {
    color: var(--hj-accent-strong);
}

.hp-newsletter__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.85rem;
}

.hp-newsletter__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.45rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid #8f1e22;
    border-radius: 18px;
    background: linear-gradient(135deg, #c63634 0%, var(--hj-accent-strong) 100%);
    color: #fff;
    font-family: var(--hj-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(177, 42, 42, 0.2);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
    .hp-newsletter__submit {
        width: auto;
        min-width: 13rem;
    }
}

.hp-newsletter__submit:hover,
.hp-newsletter__submit:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--hj-accent) 0%, #86171b 100%);
    border-color: #86171b;
    box-shadow: 0 18px 34px rgba(177, 42, 42, 0.26);
}

.hp-newsletter__secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--hj-sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-newsletter-ink);
    text-decoration: none;
}

.hp-newsletter__secondary::after {
    content: "\2192";
    font-size: 0.9rem;
    line-height: 1;
    color: var(--hj-accent);
}

.hp-newsletter__secondary:hover,
.hp-newsletter__secondary:focus-visible {
    color: var(--hj-accent-strong);
    text-decoration: none;
}

.hp-newsletter__footnote {
    margin: 0;
    font-family: var(--hj-sans);
    font-size: 0.89rem;
    line-height: 1.6;
    color: var(--hp-newsletter-ink-soft);
}

@media (max-width: 639px) {
    .hp-newsletter__shell {
        border-radius: 24px;
    }

    .hp-newsletter__form-wrap {
        border-radius: 20px;
    }

    .hp-newsletter__promises {
        grid-template-columns: 1fr;
    }
}

/* --- 5. Kolophon-Footer --- */

.hp-colophon {
    border-top: 2px solid var(--hj-rule);
    background: var(--hj-bg);
    padding: var(--hj-space-xl) 0 var(--hj-space-2xl);
    margin-top: var(--hj-space-xl);
}

.hp-colophon__inner {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: 0 var(--hj-gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hj-space-lg);
}

@media (min-width: 768px) {
    .hp-colophon__inner {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--hj-space-xl);
    }
}

.hp-colophon__label {
    display: block;
    font-family: var(--hj-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-text-muted);
    margin-bottom: var(--hj-space-sm);
}

.hp-colophon__mission p {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-style: italic;
    font-size: var(--hj-fs-md);
    line-height: 1.65;
    color: var(--hj-text-secondary);
    max-width: 360px;
}

.hp-colophon__mission-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hj-rule);
    border-bottom: 1px solid var(--hj-rule);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hp-colophon__mission-link:hover {
    color: var(--hj-accent);
    border-color: var(--hj-accent);
    text-decoration: none;
}

.hp-colophon__links {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.hp-colophon__links .hp-colophon__mission-link {
    margin-top: 0;
}

.hp-colophon__social {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--hj-border);
    border-radius: 3px;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 500;
    color: var(--hj-text);
    letter-spacing: 0.02em;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.hp-colophon__social:hover {
    color: var(--hj-accent);
    border-color: var(--hj-accent);
    text-decoration: none;
}

.hp-colophon__topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-colophon__topic-list li {
    padding: 0.25em 0;
    border-bottom: 1px solid var(--hj-border);
}

.hp-colophon__topic-list li:last-child {
    border-bottom: none;
}

.hp-colophon__topic-list a {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 400;
    color: var(--hj-text);
    text-decoration: none;
}

.hp-colophon__topic-list a:hover {
    color: var(--hj-accent);
}

.hp-colophon__meta p {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    color: var(--hj-text-secondary);
    margin-bottom: 0.4em;
}

.hp-colophon__legal {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6em;
    display: flex;
    gap: 1rem;
}

.hp-colophon__legal a {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    color: var(--hj-text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--hj-border);
    padding-bottom: 1px;
}

.hp-colophon__legal a:hover {
    color: var(--hj-accent);
    border-color: var(--hj-accent);
}

.hp-colophon__transparency {
    max-width: var(--hj-content-width);
    margin: var(--hj-space-lg) auto 0;
    padding: 0 var(--hj-gutter);
}

.hp-colophon__transparency p {
    margin: 0;
    max-width: 44rem;
    font-family: var(--hj-sans);
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--hj-text-muted);
}

.hp-colophon__transparency a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}

.hp-colophon__transparency a:hover,
.hp-colophon__transparency a:focus-visible {
    color: var(--hj-text);
}

.hp-colophon__closing {
    margin: var(--hj-space-md) auto 0;
    padding: 0 var(--hj-gutter);
    max-width: var(--hj-content-width);
    font-family: var(--hj-serif);
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    color: var(--hj-text-secondary);
    text-wrap: balance;
}

.hp-colophon__version {
    font-family: var(--hj-mono);
    font-size: 0.7rem;
    color: var(--hj-text-muted);
    letter-spacing: 0.5px;
}

.hp-colophon__empty {
    font-family: var(--hj-serif);
    font-style: italic;
    font-size: var(--hj-fs-sm);
    color: var(--hj-text-muted);
}

/* --- Fallback (kein Inhalt) --- */

.hp-empty {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-style: italic;
    font-size: 1rem;
    color: var(--hj-text-muted);
    padding: var(--hj-space-lg) 0;
}

/* =========================================
   SINGLES — Essay & Note
   ========================================= */

/* --- Essay Hero (Full-bleed mit Overlay) --- */

.essay-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0a0a;
}

.essay-hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.essay-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.65;
}

.essay-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

.essay-hero__content {
    position: relative;
    z-index: 3;
    max-width: var(--hj-content-width);
    width: 100%;
    margin: 0 auto;
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-xl);
}

.hp-kicker--light {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.essay-hero__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 0.4em;
    max-width: 820px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-bottom: none;
    padding-bottom: 0;
}

.essay-hero__excerpt {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* --- Meta-Leiste unter Hero --- */

.essay-meta-bar {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: var(--hj-space-md) var(--hj-gutter);
    border-bottom: 1px solid var(--hj-rule);
}

.essay-meta-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.essay-meta-bar__caption {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 400;
    font-style: italic;
    color: var(--hj-text-muted);
    margin-top: 0.6rem;
    line-height: 1.5;
}

/* --- Fallback Header (ohne Beitragsbild) --- */

.single-header {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-lg);
}

.single-header__title {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -1px;
    color: var(--hj-rule);
    margin-bottom: 0.4em;
    border-bottom: none;
    padding-bottom: 0;
}

.single-header__excerpt {
    font-family: var(--hj-serif);
    font-weight: 300;
    font-style: italic;
    font-size: var(--hj-fs-lg);
    line-height: 1.55;
    color: var(--hj-text-secondary);
    max-width: var(--hj-measure);
    margin-bottom: var(--hj-space-md);
}

/* --- Artikel-Body --- */

.single-body {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: 0 var(--hj-gutter) var(--hj-space-2xl);
}

.single-body--with-toc {
    max-width: calc(var(--hj-content-width) + 260px);
}

@media (min-width: 1100px) {
    .single-body--with-toc {
        display: flex;
        gap: var(--hj-gutter);
    }
}

.single-body__main {
    flex: 1;
    min-width: 0;
}

.single-body .prose,
.single-body__main .prose {
    max-width: var(--hj-measure);
}

/* Zwischenüberschriften im Essay */

.prose h2 {
    font-weight: 900;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.25;
    color: var(--hj-rule);
    margin-top: var(--hj-space-xl);
    margin-bottom: var(--hj-space-sm);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--hj-rule-light);
}

.prose h3 {
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.3;
    color: var(--hj-text-primary);
    margin-top: var(--hj-space-lg);
    margin-bottom: var(--hj-space-xs);
    border-bottom: none;
    padding-bottom: 0;
}

/* --- Artikel-Footer --- */

.essay-footer {
    max-width: var(--hj-measure);
    margin-top: var(--hj-space-xl);
}

.essay-footer .hp-meta {
    margin-top: var(--hj-space-md);
}

.essay-footer .hp-topics {
    margin-top: var(--hj-space-sm);
}

/* --- Kommentare (Diskussion) --- */

.hp-comments {
    max-width: var(--hj-measure);
    margin: var(--hj-space-2xl) auto var(--hj-space-xl);
    padding-top: var(--hj-space-xl);
    border-top: 1px solid var(--hj-rule-light);
}

.hp-comments__inner {
    font-family: var(--hj-sans);
}

.hp-comments__shell {
    display: grid;
    gap: var(--hj-space-lg);
}

.hp-comments__intro {
    display: grid;
    gap: 0.7rem;
    padding: clamp(1.2rem, 2.2vw, 1.75rem);
    border: 1px solid rgba(24, 28, 34, 0.08);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(189,78,47,0.10), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,244,239,0.96));
    box-shadow: 0 18px 50px rgba(24, 28, 34, 0.06);
}

.hp-comments__eyebrow {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hj-accent);
}

.hp-comments__headline {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.1;
    color: var(--hj-rule);
}

.hp-comments__lede {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--hj-text-secondary);
}

.hp-comments__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.hp-comments__count,
.hp-comments__summary-note {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-comments__count {
    background: rgba(24, 28, 34, 0.06);
    color: var(--hj-rule);
}

.hp-comments__summary-note {
    background: rgba(189,78,47,0.08);
    color: var(--hj-accent);
}

.hp-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.hp-comments .comment-list .comment {
    margin: 0;
}

.hp-comments .comment-list .children {
    list-style: none;
    margin: 1rem 0 0 1.25rem;
    padding: 0 0 0 1rem;
    border-left: 1px solid rgba(24, 28, 34, 0.08);
    display: grid;
    gap: 1rem;
}

.hp-comment__card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(24, 28, 34, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 28, 34, 0.05);
}

.hp-comment__avatar {
    align-self: start;
}

.hp-comment__avatar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 28, 34, 0.94), rgba(63, 73, 84, 0.88));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hp-comment__body {
    min-width: 0;
}

.hp-comment__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.hp-comment__identity {
    min-width: 0;
}

.hp-comment__author {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hj-rule);
}

.hp-comment__author a {
    color: inherit;
    text-decoration: none;
}

.hp-comment__author a:hover {
    color: var(--hj-accent);
}

.hp-comment__meta {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: var(--hj-text-muted);
}

.hp-comment__meta a {
    color: inherit;
    text-decoration: none;
}

.hp-comment__meta a:hover {
    color: var(--hj-accent);
}

.hp-comment__edit a,
.hp-comment__reply a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(24, 28, 34, 0.05);
    color: var(--hj-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.hp-comment__edit a:hover,
.hp-comment__reply a:hover {
    background: rgba(189,78,47,0.10);
    color: var(--hj-accent);
}

.hp-comment__content p {
    margin: 0.55rem 0;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hj-text-primary);
}

.hp-comment__content p:first-child {
    margin-top: 0;
}

.hp-comment__content p:last-child {
    margin-bottom: 0;
}

.hp-comment__awaiting,
.hp-comments__closed,
.hp-comments__empty p,
.hp-comments__form-note,
.hp-comments__form-privacy,
.hp-comments__form-footnote,
.hp-comments .logged-in-as,
.hp-comments .comment-notes {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--hj-text-secondary);
}

.hp-comment__awaiting {
    margin-bottom: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    background: rgba(189,78,47,0.08);
    color: var(--hj-accent);
}

.hp-comment__actions {
    margin-top: 0.85rem;
}

.hp-comments .comment-respond {
    padding: clamp(1.15rem, 2vw, 1.6rem);
    border: 1px solid rgba(24, 28, 34, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,239,0.98));
    box-shadow: 0 18px 50px rgba(24, 28, 34, 0.06);
}

.hp-comments .comment-reply-title,
.hp-comments .comments-title {
    margin: 0 0 0.9rem;
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.15;
    color: var(--hj-rule);
}

.hp-comments #reply-title small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.hp-comments #reply-title small a {
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-comments__form-intro {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.hp-comments__form-lede {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hj-text-primary);
}

.hp-comments__form-privacy a {
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-comments__form-privacy a:hover {
    text-decoration: underline;
}

.hp-comments .comment-form {
    display: grid;
    gap: 0.95rem;
}

.hp-comment-antispam {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-comments .comment-form-comment {
    order: -1;
}

.hp-comments .comment-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hj-text-secondary);
}

.hp-comment-field__required {
    font-size: 0.72rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--hj-accent);
}

.hp-comments .comment-form-author {
    display: inline-block;
    width: 100%;
}

.hp-comments .comment-form input[type="text"],
.hp-comments .comment-form textarea {
    width: 100%;
    padding: 0.82rem 0.95rem;
    font-family: var(--hj-serif);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hj-text-primary);
    background: #fff;
    border: 1px solid rgba(24, 28, 34, 0.10);
    border-radius: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.hp-comments .comment-form input:focus,
.hp-comments .comment-form textarea:focus {
    outline: none;
    border-color: rgba(189,78,47,0.42);
    box-shadow: 0 0 0 4px rgba(189,78,47,0.08);
}

.hp-comments .comment-form textarea {
    min-height: 12rem;
    resize: vertical;
}

.hp-comment-field__hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--hj-text-muted);
}

.hp-comments .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--hj-text-secondary);
}

.hp-comments .comment-form-cookies-consent input {
    margin-top: 0.25rem;
}

.hp-comments .comment-form-cookies-consent label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.hp-comments .form-submit {
    margin: 0.25rem 0 0;
}

.hp-comments .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--hj-rule);
    border-radius: 999px;
    background: var(--hj-rule);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.hp-comments .submit:hover {
    transform: translateY(-1px);
    background: var(--hj-accent);
    border-color: var(--hj-accent);
}

.hp-comments .comment-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.hp-comments .comment-navigation a {
    color: var(--hj-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (min-width: 700px) {
    .hp-comments .comment-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-comments .comment-form-comment,
    .hp-comments .comment-form-author,
    .hp-comments .comment-form-cookies-consent,
    .hp-comments .form-submit,
    .hp-comments__form-footnote,
    .hp-comments .logged-in-as,
    .hp-comments .comment-notes {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699px) {
    .hp-comment__card {
        grid-template-columns: 1fr;
    }

    .hp-comment__avatar {
        display: none;
    }

    .hp-comments .comment-list .children {
        margin-left: 0.6rem;
        padding-left: 0.8rem;
    }
}

/* --- Share-Buttons --- */

.hp-share {
    margin: var(--hj-space-lg) 0;
}

.hp-share__label {
    display: block;
    font-family: var(--hj-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-text-muted);
    margin-bottom: 0.8rem;
}

.hp-share__list {
    display: flex;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--hj-rule-light);
    border-radius: 2px;
    background: transparent;
    color: var(--hj-text);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hp-share__link svg {
    display: block;
    flex-shrink: 0;
}

.hp-share__link:hover {
    background: var(--hj-rule);
    color: #fff;
    border-color: var(--hj-rule);
    text-decoration: none;
}

.hp-share__link--copy.is-copied {
    background: var(--hj-accent);
    color: #fff;
    border-color: var(--hj-accent);
}

/* =========================================
   ARCHIVES — Essay & Note Listenansicht
   ========================================= */

.archive-header {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-md);
}

.archive-header__title {
    font-weight: 900;
    font-size: 2rem;
    color: var(--hj-rule);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.3em;
}

.archive-header__desc {
    font-weight: 300;
    font-style: italic;
    color: var(--hj-text-secondary);
    max-width: 560px;
}

.archive-list {
    max-width: var(--hj-content-width);
    margin: 0 auto;
    padding: 0 var(--hj-gutter) var(--hj-space-2xl);
    border-top: 1px solid var(--hj-rule);
}

.archive-item {
    padding: var(--hj-space-lg) 0;
    border-bottom: 1px solid var(--hj-rule-light);
}

.archive-item:last-child {
    border-bottom: 1px solid var(--hj-rule);
}

.archive-item__title {
    font-weight: 900;
    font-size: var(--hj-fs-xl);
    line-height: 1.3;
    color: var(--hj-rule);
    margin-bottom: 0.4rem;
    border-bottom: none;
    padding-bottom: 0;
}

.archive-item__title a {
    color: var(--hj-rule);
}

.archive-item__title a:hover {
    color: var(--hj-accent);
    text-decoration: none;
}

.archive-item__excerpt {
    font-weight: 300;
    font-size: var(--hj-fs-md);
    line-height: 1.65;
    color: var(--hj-text-secondary);
    max-width: var(--hj-measure);
    margin-top: 0.5em;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* GeneratePress-Meta auf Essay/Note-Singles verstecken (CSS-Fallback) */
.single-essay .entry-meta,
.single-note .entry-meta,
.single-essay footer.entry-meta,
.single-note footer.entry-meta,
.single-essay .post-meta,
.single-note .post-meta {
    display: none !important;
}

@media (max-width: 768px) {
    :root {
        --hj-gutter: 1.2rem;
    }

    .editorial-hero--atmospheric {
        padding: 1.45rem 1.15rem 1.55rem;
        border-radius: 24px;
    }

    .masthead {
        padding: var(--hj-space-xl) 0 var(--hj-space-lg);
    }

    .masthead__headline,
    .editorial-hero__title {
        letter-spacing: -1px;
    }

    .lead-editorial__columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .notes-list__title {
        font-size: 1.2rem;
    }

    .single-header {
        padding: var(--hj-space-xl) var(--hj-gutter) var(--hj-space-md);
    }

    .essay-hero {
        min-height: 55vh;
    }

    .essay-hero__title {
        letter-spacing: -0.5px;
    }

    .essay-meta-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-toc {
        display: none;
    }
}

/* =========================================
   GLOSSAR — Vernetzte Wissensbasis
   ========================================= */

/* --- Begriff-Markierung im Content --- */
.hp-glossar-term {
    border-bottom: 1.5px dotted var(--hj-accent);
    cursor: help;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.hp-glossar-term:hover,
.hp-glossar-term:focus {
    color: var(--hj-accent);
    border-bottom-style: solid;
    outline: none;
}

/* --- Glossar-Tooltip --- */
.hp-gtt {
    position: absolute;
    z-index: 9999;
    width: 280px;
    background-color: var(--hj-rule);
    color: #fff;
    border-radius: 6px;
    padding: var(--hj-space-md) var(--hj-space-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.hp-gtt--visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Pfeil oben (Standard: Tooltip ist unterhalb) */
.hp-gtt::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: var(--hj-rule);
}

/* Pfeil wenn Tooltip oberhalb ist */
.hp-gtt--below::before {
    bottom: auto;
    top: 100%;
    border-bottom-color: transparent;
    border-top-color: var(--hj-rule);
}

.hp-gtt__term {
    display: block;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.4em;
}

.hp-gtt__def {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-sm);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--hj-space-sm);
}

.hp-gtt__link {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hj-accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

.hp-gtt__link:hover {
    color: #e87070;
    text-decoration: underline;
}

/* =========================================
   GLOSSAR — Single: Hero + Body
   ========================================= */

.hp-glossar-hero {
    background-color: var(--hj-bg-surface);
    border-bottom: 1px solid var(--hj-border);
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-xl);
}

.hp-glossar-hero__inner {
    max-width: var(--hj-measure);
    margin: 0 auto;
    text-align: center;
}

.hp-glossar-hero__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--hj-rule);
    margin: var(--hj-space-sm) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-glossar-hero__kurz {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-lg);
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    color: var(--hj-text-secondary);
    max-width: 55ch;
    margin: var(--hj-space-md) auto 0;
}

.hp-glossar-hero__synonyme {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: var(--hj-space-md);
}

.hp-glossar-syn-pill {
    display: inline-block;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hj-text-muted);
    background-color: var(--hj-topic-bg);
    padding: 0.25em 0.75em;
    border-radius: 3px;
}

.hp-glossar-hero__topics {
    justify-content: center;
    margin-top: var(--hj-space-md);
}

/* --- Body --- */
.hp-glossar-body {
    padding: var(--hj-space-xl) var(--hj-gutter) var(--hj-space-2xl);
}

.hp-glossar-body__content {
    max-width: var(--hj-measure);
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

/* GP erzwingt manchmal andere Containerbreiten — explizit überschreiben */
.single-glossar .site-content,
.single-glossar .content-area,
.single-glossar .inside-article,
.archive-glossar .site-content,
.archive-glossar .content-area,
.archive-glossar .inside-article {
    max-width: none !important;
    padding: 0 !important;
}

.single-glossar .entry-content,
.archive-glossar .entry-content {
    max-width: none;
    padding: 0;
}

/* --- Rückverlinkungen --- */
.hp-glossar-related {
    max-width: var(--hj-measure);
    margin-right: auto;
    margin-left: auto;
    margin-top: var(--hj-space-xl);
    padding: var(--hj-space-lg);
    background-color: var(--hj-callout-bg);
    border-left: 3px solid var(--hj-accent);
    border-radius: 0 4px 4px 0;
}

.hp-glossar-related__heading {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hj-text-muted);
    margin-bottom: var(--hj-space-md);
}

.hp-glossar-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-glossar-related__item {
    display: flex;
    align-items: baseline;
    gap: 0.75em;
    padding: var(--hj-space-xs) 0;
}

.hp-glossar-related__item + .hp-glossar-related__item {
    border-top: 1px solid var(--hj-border);
}

.hp-glossar-related__type {
    flex-shrink: 0;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hj-accent);
    min-width: 3.5em;
}

.hp-glossar-related__link {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-base);
    color: var(--hj-text);
    text-decoration: none;
    line-height: 1.4;
}

.hp-glossar-related__link:hover {
    color: var(--hj-accent);
}

/* --- Back-Navigation --- */
.hp-glossar-backnav {
    max-width: var(--hj-measure);
    margin-right: auto;
    margin-left: auto;
    margin-top: var(--hj-space-xl);
    padding-top: var(--hj-space-md);
    border-top: 1px solid var(--hj-border);
    text-align: center;
}

.hp-glossar-backnav a {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    color: var(--hj-text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease;
}

.hp-glossar-backnav a:hover {
    color: var(--hj-accent);
}

/* =========================================
   GLOSSAR — Archiv
   ========================================= */

.hp-glossar-archive-header {
    background-color: var(--hj-bg-surface);
    border-bottom: 1px solid var(--hj-border);
    padding: var(--hj-space-2xl) var(--hj-gutter) var(--hj-space-xl);
}

.hp-glossar-archive-header__inner {
    max-width: var(--hj-measure);
    margin: 0 auto;
    text-align: center;
}

.hp-glossar-archive-header__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--hj-rule);
    margin: var(--hj-space-sm) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-glossar-archive-header__desc {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-lg);
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    color: var(--hj-text-secondary);
    max-width: 50ch;
    margin: var(--hj-space-sm) auto 0;
}

/* --- Buchstaben-Navigation --- */
.hp-glossar-nav {
    background-color: var(--hj-bg);
    border-bottom: 1px solid var(--hj-border);
    padding: var(--hj-space-md) var(--hj-gutter);
    position: sticky;
    top: 0;
    z-index: 10;
}

.hp-glossar-nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-width: var(--hj-content-width);
    margin: 0 auto;
}

.hp-glossar-nav__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-sm);
    font-weight: 700;
    color: var(--hj-text);
    background-color: transparent;
    border: 1px solid var(--hj-border);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hp-glossar-nav__letter:hover,
.hp-glossar-nav__letter:focus {
    background-color: var(--hj-accent);
    border-color: var(--hj-accent);
    color: #fff;
    transform: scale(1.1);
}

/* --- Index --- */
.hp-glossar-index {
    max-width: var(--hj-content-width);
    margin-right: auto;
    margin-left: auto;
    padding: var(--hj-space-xl) var(--hj-gutter) var(--hj-space-2xl);
}

.hp-glossar-index--empty {
    text-align: center;
    padding-top: var(--hj-space-2xl);
}

.hp-glossar-index__section {
    margin-bottom: var(--hj-space-2xl);
}

.hp-glossar-index__letter {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-2xl);
    font-weight: 900;
    color: var(--hj-accent);
    margin-bottom: var(--hj-space-md);
    padding-bottom: var(--hj-space-xs);
    border-bottom: 2px solid var(--hj-rule);
    text-align: center;
}

/* --- Glossar Cards --- */
.hp-glossar-index__entries {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hj-space-md);
}

@media (min-width: 768px) {
    .hp-glossar-index__entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hp-glossar-card {
    background-color: var(--hj-bg-surface);
    border: 1px solid var(--hj-border);
    border-radius: 4px;
    padding: var(--hj-space-md) var(--hj-space-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-glossar-card:hover {
    border-color: var(--hj-accent);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hp-glossar-card__title {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-xl);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 var(--hj-space-xs);
    border-bottom: none;
    padding-bottom: 0;
}

.hp-glossar-card__title a {
    color: var(--hj-text);
    text-decoration: none;
}

.hp-glossar-card__title a:hover {
    color: var(--hj-accent);
}

.hp-glossar-card__def {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-md);
    color: var(--hj-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--hj-space-sm);
}

.hp-glossar-card__more {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hj-accent);
    text-decoration: none;
}

.hp-glossar-card__more:hover {
    text-decoration: underline;
}

/* =============================================================================
   LEGAL PAGES — Impressum & Datenschutzerklärung
   ============================================================================= */

.hp-legal {
    padding: var(--hj-space-2xl) var(--hj-gutter);
}

.hp-legal__inner {
    max-width: var(--hj-measure);
    margin-left: auto;
    margin-right: auto;
}

.hp-legal__header {
    margin-bottom: var(--hj-space-xl);
    border-bottom: 2px solid var(--hj-rule);
    padding-bottom: var(--hj-space-md);
}

.hp-legal__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--hj-rule);
    margin: var(--hj-space-xs) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-legal__body h2 {
    font-family: var(--hj-sans);
    font-size: var(--hj-fs-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hj-text-secondary);
    margin: var(--hj-space-lg) 0 var(--hj-space-xs);
}

.hp-legal__body p,
.hp-legal__body ul {
    font-family: var(--hj-serif);
    font-size: var(--hj-fs-md);
    line-height: 1.75;
    color: var(--hj-text);
    margin-bottom: var(--hj-space-sm);
}

.hp-legal__body ul {
    padding-left: 1.5rem;
}

.hp-legal__body li {
    margin-bottom: 0.4rem;
}

.hp-legal__body a {
    color: var(--hj-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hp-legal__body a:hover {
    text-decoration: none;
}

.hp-legal__meta {
    margin-top: var(--hj-space-xl) !important;
    font-size: var(--hj-fs-sm) !important;
    color: var(--hj-text-secondary) !important;
    font-family: var(--hj-sans) !important;
    font-style: normal !important;
    border-top: 1px solid var(--hj-border);
    padding-top: var(--hj-space-sm);
}

/* =========================================
   404 PAGE
   ========================================= */

.hp-404 {
    padding: var(--hj-space-2xl) var(--hj-gutter);
}

.hp-404__inner {
    max-width: var(--hj-measure);
    margin: 0 auto;
}

.hp-404__header {
    text-align: center;
    margin-bottom: var(--hj-space-xl);
}

.hp-404__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--hj-rule);
    margin: var(--hj-space-xs) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-404__desc {
    font-family: var(--hj-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--hj-text-secondary);
    margin-top: var(--hj-space-sm);
}

.hp-404__search {
    margin-bottom: var(--hj-space-xl);
}

.hp-404__search-label {
    font-family: var(--hj-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-text-secondary);
    margin-bottom: var(--hj-space-xs);
}

.hp-404__nav-title {
    font-family: var(--hj-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-text-secondary);
    margin-bottom: var(--hj-space-sm);
    border-bottom: none;
    padding-bottom: 0;
}

.hp-404__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hj-space-sm);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--hj-space-xl);
}

.hp-404__links a {
    display: inline-block;
    font-family: var(--hj-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hj-rule);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--hj-rule-light);
    border-radius: 2px;
    transition: background 0.15s ease, color 0.15s ease;
}

.hp-404__links a:hover {
    background: var(--hj-rule);
    color: #fff;
    border-color: var(--hj-rule);
}

.hp-404__recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-404__recent-item {
    border-bottom: 1px solid var(--hj-rule-light);
}

.hp-404__recent-item:last-child {
    border-bottom: none;
}

.hp-404__recent-item a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--hj-space-sm);
    padding: var(--hj-space-sm) 0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hp-404__recent-title {
    font-family: var(--hj-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hj-rule);
}

.hp-404__recent-date {
    font-family: var(--hj-sans);
    font-size: 0.75rem;
    color: var(--hj-text-secondary);
    white-space: nowrap;
}

.hp-404__recent-item a:hover .hp-404__recent-title {
    color: var(--hj-accent);
}

/* =========================================
   SEARCH
   ========================================= */

/* --- Search Form --- */
.hp-search-form {
    display: flex;
    gap: 0;
    max-width: 100%;
}

.hp-search-form__input {
    flex: 1;
    padding: 0.65rem 1rem;
    font-family: var(--hj-serif);
    font-size: 0.95rem;
    color: var(--hj-text-primary);
    background: var(--hj-bg-surface);
    border: 1px solid var(--hj-rule-light);
    border-right: none;
    border-radius: 2px 0 0 2px;
}

.hp-search-form__input:focus {
    outline: none;
    border-color: var(--hj-rule);
}

.hp-search-form__input::placeholder {
    color: var(--hj-text-secondary);
    opacity: 0.7;
}

.hp-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: var(--hj-rule);
    color: #fff;
    border: 1px solid var(--hj-rule);
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hp-search-form__submit:hover {
    background: var(--hj-accent);
    border-color: var(--hj-accent);
}

/* --- Search Results Page --- */
.hp-search {
    padding: var(--hj-space-2xl) var(--hj-gutter);
}

.hp-search__inner {
    max-width: var(--hj-measure);
    margin: 0 auto;
}

.hp-search__header {
    margin-bottom: var(--hj-space-md);
}

.hp-search__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--hj-rule);
    margin: var(--hj-space-xs) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-search__query {
    font-style: italic;
}

.hp-search__count {
    font-family: var(--hj-sans);
    font-size: 0.85rem;
    color: var(--hj-text-secondary);
    margin-top: 0.4rem;
}

.hp-search__form-wrap {
    margin-bottom: var(--hj-space-xl);
    padding-bottom: var(--hj-space-lg);
    border-bottom: 1px solid var(--hj-rule-light);
}

.hp-search__results {
    margin-bottom: var(--hj-space-xl);
}

.hp-search__item {
    padding: var(--hj-space-md) 0;
    border-bottom: 1px solid var(--hj-rule-light);
}

.hp-search__item:last-child {
    border-bottom: none;
}

.hp-search__type {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    color: var(--hj-accent);
}

.hp-search__item-title {
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0.3rem 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-search__item-title a {
    color: var(--hj-rule);
    text-decoration: none;
}

.hp-search__item-title a:hover {
    color: var(--hj-accent);
}

.hp-search__excerpt {
    font-family: var(--hj-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--hj-text-secondary);
    margin-top: 0.4rem;
}

.hp-search__empty {
    text-align: center;
    font-family: var(--hj-serif);
    font-size: 1rem;
    color: var(--hj-text-secondary);
    padding: var(--hj-space-xl) 0;
}

.hp-search__empty .hp-404__links {
    justify-content: center;
    margin-top: var(--hj-space-md);
}

/* =========================================
   TOPIC ARCHIVE
   ========================================= */

.hp-topic-archive {
    padding: var(--hj-space-2xl) var(--hj-gutter);
}

.hp-topic-archive__inner {
    max-width: var(--hj-content-width);
    margin: 0 auto;
}

.hp-topic-archive__header {
    max-width: var(--hj-measure);
    margin: 0 auto var(--hj-space-xl);
    text-align: center;
    border-bottom: 2px solid var(--hj-rule);
    padding-bottom: var(--hj-space-md);
}

.hp-topic-archive__title {
    font-family: var(--hj-serif);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--hj-rule);
    margin: var(--hj-space-xs) 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-topic-archive__desc {
    font-family: var(--hj-serif);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--hj-text-secondary);
    max-width: 55ch;
    margin: var(--hj-space-sm) auto 0;
}

.hp-topic-archive__list {
    max-width: var(--hj-measure);
    margin: 0 auto;
}

.hp-topic-archive__empty {
    text-align: center;
    padding: var(--hj-space-xl) 0;
}

/* =========================================
   RELATED ESSAYS
   ========================================= */

.hp-related {
    max-width: var(--hj-content-width);
    margin: var(--hj-space-2xl) auto var(--hj-space-xl);
    padding: var(--hj-space-xl) var(--hj-gutter) 0;
    border-top: 2px solid var(--hj-rule);
}

.hp-related__title {
    font-family: var(--hj-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hj-text-secondary);
    margin-bottom: var(--hj-space-lg);
    border-bottom: none;
    padding-bottom: 0;
}

.hp-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hj-space-lg);
}

@media (min-width: 768px) {
    .hp-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hp-related__item {
    padding-bottom: var(--hj-space-md);
    border-bottom: 1px solid var(--hj-rule-light);
}

@media (min-width: 768px) {
    .hp-related__item {
        border-bottom: none;
        border-right: 1px solid var(--hj-rule-light);
        padding-right: var(--hj-space-md);
        padding-bottom: 0;
    }

    .hp-related__item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

.hp-related__item-title {
    font-family: var(--hj-serif);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0.4rem 0 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hp-related__item-title a {
    color: var(--hj-rule);
    text-decoration: none;
}

.hp-related__item-title a:hover {
    color: var(--hj-accent);
}

.hp-related__excerpt {
    font-family: var(--hj-serif);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--hj-text-secondary);
    margin-top: 0.4rem;
}

/* =========================================
   PREV / NEXT NAVIGATION
   ========================================= */

.hp-post-nav {
    max-width: var(--hj-content-width);
    margin: var(--hj-space-xl) auto var(--hj-space-2xl);
    padding: 0 var(--hj-gutter);
    border-top: 1px solid var(--hj-rule-light);
}

.hp-post-nav__inner {
    display: flex;
    justify-content: space-between;
    gap: var(--hj-space-lg);
}

.hp-post-nav__link {
    display: block;
    padding: var(--hj-space-md) 0;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.hp-post-nav__link--next {
    text-align: right;
}

.hp-post-nav__link--empty {
    flex: 1;
}

.hp-post-nav__label {
    display: block;
    font-family: var(--hj-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hj-text-secondary);
    margin-bottom: 0.3rem;
}

.hp-post-nav__title {
    display: block;
    font-family: var(--hj-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hj-rule);
    transition: color 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hp-post-nav__link:hover .hp-post-nav__title {
    color: var(--hj-accent);
}

@media (max-width: 599px) {
    .hp-post-nav__inner {
        flex-direction: column;
        gap: 0;
    }

    .hp-post-nav__link--next {
        text-align: left;
        border-top: 1px solid var(--hj-rule-light);
    }
}

/* =========================================
   HP-TOPICS MODIFIER
   ========================================= */

.hp-topics--spaced {
    margin-top: var(--hj-space-sm);
}

/* =========================================
   REDUCED MOTION (a11y)
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reading-progress__bar {
        transition: none !important;
    }

    .hp-nav__toggle-bar {
        transition: none !important;
    }

    html {
        scroll-behavior: auto !important;
    }
}

/* =========================================
   FOCUS-VISIBLE (a11y)
   ========================================= */

:focus-visible {
    outline: 2px solid var(--hj-accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* =========================================
   NAVIGATION SEARCH TOGGLE + OVERLAY
   ========================================= */

.hp-nav__search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(20, 24, 29, 0.04);
    border: 1px solid rgba(20, 24, 29, 0.08);
    border-radius: 999px;
    cursor: pointer;
    color: var(--hj-text);
    padding: 0;
    margin-left: 0;
    line-height: 1;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hp-nav__search-toggle:hover {
    color: var(--hj-accent);
    background: rgba(20, 24, 29, 0.07);
    border-color: rgba(20, 24, 29, 0.12);
}

.hp-header-bar--search-open .hp-nav__search-toggle,
.hp-header-bar--menu-open .hp-nav__toggle {
    color: var(--hj-accent);
    background: rgba(189, 78, 47, 0.08);
    border-color: rgba(189, 78, 47, 0.16);
}

.hp-nav-search {
    max-width: min(1080px, calc(100vw - 1.8rem));
    margin: 0.5rem auto 0;
    border: 1px solid rgba(20, 24, 29, 0.08);
    border-radius: 18px;
    background: rgba(248, 244, 239, 0.92);
    box-shadow: 0 16px 42px rgba(27, 31, 35, 0.12);
    backdrop-filter: blur(16px);
}

.hp-nav-search__inner {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0.9rem 1rem;
}

.hp-nav-search .hp-search-form {
    display: flex;
    gap: 0.5rem;
}

.hp-nav-search .hp-search-form__input {
    flex: 1;
}

@media (max-width: 767px) {
    .hp-nav-search {
        max-width: calc(100vw - 1.5rem);
    }

    .hp-nav-search__inner {
        padding: 0.8rem;
    }

    .hp-nav-search .hp-search-form {
        flex-direction: column;
    }
}

/* =========================================
   WISSENSGRAPH
   ========================================= */

/* --- Puls-Animation --- */

@keyframes hp-graph-pulse {
    0%, 100% { opacity: 0.18; }
    50% { opacity: 0.38; }
}

/* --- Full-width shell --- */

.page-wissensgraph .site-content,
.page-wissensgraph .content-area,
.page-wissensgraph .inside-article {
    max-width: none !important;
    padding: 0 !important;
}

.page-wissensgraph .entry-content {
    max-width: none;
    padding: 0;
}

.hp-graph {
    --hp-graph-shell: min(1460px, calc(100vw - clamp(1rem, 2.5vw, 2.5rem)));
    position: relative;
    display: grid;
    gap: clamp(0.9rem, 1.8vw, 1.4rem);
    padding: clamp(0.9rem, 2vw, 2rem);
    background:
        radial-gradient(circle at 10% 8%, rgba(232,87,75,0.08), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(77,166,232,0.08), transparent 24%),
        linear-gradient(180deg, #071019 0%, #09121b 48%, #0a131b 100%);
    color: #f7f0e7;
}

.hp-graph__intro,
.hp-graph__workspace {
    width: 100%;
    max-width: var(--hp-graph-shell);
    margin: 0 auto;
}

.hp-graph__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.2rem;
}

.hp-graph__intro-copy {
    min-width: 0;
}

.hp-graph__eyebrow {
    margin: 0 0 0.55rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
}

.hp-graph__headline {
    margin: 0;
    font-family: var(--hj-serif);
    font-size: clamp(2.25rem, 4.2vw, 4.5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: #fff9f1;
}

.hp-graph__lede {
    max-width: 50ch;
    margin: 0.7rem 0 0;
    font-family: var(--hj-serif);
    font-size: clamp(0.98rem, 1.25vw, 1.14rem);
    line-height: 1.6;
    color: rgba(247,240,231,0.66);
}

.hp-graph__meta {
    display: grid;
    justify-items: end;
    gap: 0.55rem;
    min-width: max-content;
}

.hp-graph__summary {
    margin: 0;
    font-family: var(--hj-sans);
    font-size: 0.84rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.62);
}

.hp-graph__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.hp-graph__stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    font-family: var(--hj-sans);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.68);
}

.hp-graph__stat-pill-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.66rem;
    color: rgba(255,255,255,0.42);
}

.hp-graph__stat-pill strong {
    font-size: 0.92rem;
    color: #fff7ef;
}

.hp-graph__workspace {
    position: relative;
}

.hp-graph__stage {
    display: grid;
    gap: 0.9rem;
}

.hp-graph__canvas-shell {
    position: relative;
}

.hp-graph__toolbar {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: none;
}

.hp-graph__canvas-shell.has-detail .hp-graph__toolbar {
    right: calc( min(360px, 32vw) + 1.75rem );
}

.hp-graph__toolbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    pointer-events: auto;
}

.hp-graph__toolbar-title {
    margin: 0;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(7,16,25,0.72);
    font-family: var(--hj-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.56);
    backdrop-filter: blur(14px);
}

.hp-graph__controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.hp-graph__filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.42rem 0.82rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(7,16,25,0.72);
    color: rgba(255,255,255,0.62);
    font-family: var(--hj-sans);
    font-size: 0.86rem;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hp-graph__filter--active {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

.hp-graph__filter[aria-pressed="false"] {
    opacity: 0.54;
}

.hp-graph__filter:hover,
.hp-graph__filter:focus-visible {
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

.hp-graph__filter-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hp-graph__filter-dot--essay   { background: var(--hj-graph-essay); }
.hp-graph__filter-dot--note    { background: var(--hj-graph-note); }
.hp-graph__filter-dot--glossar { background: var(--hj-graph-glossar); }
.hp-graph__filter-dot--topic   { background: var(--hj-graph-topic); }

.hp-graph__zoom {
    display: flex;
    gap: 0.45rem;
}

.hp-graph__zoom-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(7,16,25,0.72);
    color: rgba(255,255,255,0.74);
    font-family: var(--hj-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hp-graph__zoom-btn:hover,
.hp-graph__zoom-btn:focus-visible {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}

.hp-graph__canvas {
    position: relative;
    min-height: min(84vh, 980px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 18%, rgba(77,166,232,0.08), transparent 26%),
        radial-gradient(circle at 82% 14%, rgba(232,87,75,0.08), transparent 22%),
        linear-gradient(180deg, rgba(6,12,20,0.98) 0%, rgba(7,14,22,0.98) 100%);
    box-shadow: 0 18px 50px rgba(0,0,0,0.24);
}

.hp-graph__canvas::before,
.hp-graph__canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hp-graph__canvas::before {
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.18;
}

.hp-graph__canvas::after {
    background: radial-gradient(circle at center, transparent 46%, rgba(4,10,18,0.28) 100%);
}

.hp-graph__canvas svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.hp-graph__loading,
.hp-graph__error {
    position: absolute;
    inset: 1rem;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    text-align: center;
    border-radius: 18px;
    background: rgba(4,10,18,0.48);
    backdrop-filter: blur(8px);
}

.hp-graph__loading[hidden],
.hp-graph__error[hidden],
.hp-graph__detail[hidden],
.hp-graph__tooltip[hidden] {
    display: none !important;
}

.hp-graph__loading p,
.hp-graph__error p {
    max-width: 34ch;
    margin: 0;
    font-family: var(--hj-serif);
    font-size: clamp(0.96rem, 1.4vw, 1.08rem);
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
}

.hp-graph__error {
    background: linear-gradient(180deg, rgba(74,16,16,0.46), rgba(18,7,8,0.76));
    border: 1px solid rgba(232,87,75,0.24);
}

.hp-graph__error p {
    color: #ffd8cf;
}

.hp-graph__label {
    font-family: var(--hj-sans);
    font-size: 11px;
    font-weight: 500;
    fill: rgba(255,255,255,0.52);
    letter-spacing: 0.02em;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.64);
}

.hp-graph__glow {
    pointer-events: none;
    animation: hp-graph-pulse 2.8s ease-in-out infinite;
}

.hp-graph__node {
    cursor: pointer;
}

.hp-graph__node:focus {
    outline: none;
}

.hp-graph__node:focus .hp-graph__circle {
    stroke: #fff;
    stroke-width: 2.5;
}

.hp-graph__tooltip {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(4,10,18,0.9);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.hp-graph__tooltip-badge {
    display: inline-block;
    padding: 0.2rem 0.44rem;
    border-radius: 999px;
    color: #fff;
    font-family: var(--hj-sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hp-graph__tooltip-badge--essay   { background: var(--hj-graph-essay); }
.hp-graph__tooltip-badge--note    { background: var(--hj-graph-note); }
.hp-graph__tooltip-badge--glossar { background: var(--hj-graph-glossar); }
.hp-graph__tooltip-badge--topic   { background: var(--hj-graph-topic); }

.hp-graph__tooltip-label {
    font-family: var(--hj-sans);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.92);
}

.hp-graph__detail {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 5;
    width: min(360px, 32vw);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(6,14,24,0.86);
    box-shadow: 0 18px 42px rgba(0,0,0,0.26);
    backdrop-filter: blur(18px);
    overflow: auto;
}

.hp-graph__detail-inner {
    position: relative;
    padding: 1rem 1rem 1.1rem;
}

.hp-graph__detail-content {
    min-width: 0;
    padding-right: 2.75rem;
}

.hp-graph__detail-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.72);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.hp-graph__detail-close:hover,
.hp-graph__detail-close:focus-visible {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.hp-graph__detail-type {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
    color: #fff;
    font-family: var(--hj-sans);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-graph__detail-type--essay   { background: var(--hj-graph-essay); }
.hp-graph__detail-type--note    { background: var(--hj-graph-note); }
.hp-graph__detail-type--glossar { background: var(--hj-graph-glossar); }
.hp-graph__detail-type--topic   { background: var(--hj-graph-topic); }

.hp-graph__detail-title {
    margin: 0 0 0.55rem;
    font-family: var(--hj-serif);
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    font-weight: 900;
    line-height: 1.16;
    color: #fff4e7;
}

.hp-graph__detail-meta {
    margin: 0 0 0.65rem;
    font-family: var(--hj-sans);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
}

.hp-graph__detail-excerpt {
    margin: 0 0 0.9rem;
    font-family: var(--hj-serif);
    font-size: 0.96rem;
    line-height: 1.68;
    color: rgba(247,240,231,0.72);
}

.hp-graph__detail-subtitle {
    margin: 1rem 0 0.7rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: var(--hj-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

.hp-graph__detail-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.hp-graph__detail-links li {
    margin: 0;
}

.hp-graph__detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.68rem 0.82rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: #f7f0e7;
    font-family: var(--hj-sans);
    font-size: 0.88rem;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hp-graph__detail-link:hover,
.hp-graph__detail-link:focus-visible {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
}

.hp-graph__detail-link-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-graph__detail-link-dot--essay   { background: var(--hj-graph-essay); }
.hp-graph__detail-link-dot--note    { background: var(--hj-graph-note); }
.hp-graph__detail-link-dot--glossar { background: var(--hj-graph-glossar); }
.hp-graph__detail-link-dot--topic   { background: var(--hj-graph-topic); }

.hp-graph__detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
    padding: 0.66rem 0.92rem;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #fff5eb;
    font-family: var(--hj-sans);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hp-graph__detail-cta:hover,
.hp-graph__detail-cta:focus-visible {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
}

.hp-graph__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.15rem 0.1rem 0;
}

.hp-graph__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-family: var(--hj-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.56);
}

.hp-graph__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.62rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.hp-graph__legend-circle {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hp-graph__legend-circle--essay   { background: var(--hj-graph-essay); }
.hp-graph__legend-circle--note    { background: var(--hj-graph-note); }
.hp-graph__legend-circle--glossar { background: var(--hj-graph-glossar); }
.hp-graph__legend-circle--topic   { background: var(--hj-graph-topic); }

.hp-graph__footer-note {
    margin: 0;
    font-family: var(--hj-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.40);
}

@media (max-width: 1024px) {
    .hp-graph__intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-graph__meta {
        justify-items: start;
        min-width: 0;
    }

    .hp-graph__stats {
        justify-content: flex-start;
    }

    .hp-graph__detail {
        width: min(340px, 40vw);
    }

    .hp-graph__canvas-shell.has-detail .hp-graph__toolbar {
        right: calc( min(340px, 40vw) + 1.5rem );
    }
}

@media (max-width: 767px) {
    .hp-graph {
        padding: 0.72rem;
    }

    .hp-graph__toolbar {
        position: static;
        display: grid;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
        pointer-events: auto;
    }

    .hp-graph__canvas-shell.has-detail .hp-graph__toolbar {
        right: auto;
    }

    .hp-graph__toolbar-group {
        justify-content: flex-start;
    }

    .hp-graph__controls {
        justify-content: flex-start;
    }

    .hp-graph__canvas {
        min-height: 64vh;
        border-radius: 18px;
    }

    .hp-graph__detail {
        position: static;
        width: auto;
        margin-top: 0.75rem;
        max-height: none;
    }

    .hp-graph__detail-content {
        padding-right: 0;
        padding-top: 2.2rem;
    }

    .hp-graph__footer {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-graph__glow {
        animation: none;
    }

    .hp-graph__canvas svg * {
        transition: none !important;
    }

    .hp-graph__filter,
    .hp-graph__zoom-btn,
    .hp-graph__detail-link,
    .hp-graph__detail-cta,
    .hp-graph__detail-close {
        transition: none !important;
    }
}
