/* ==========================================================================
   MANIFEST – SPEZIFISCHE STYLES
   Abhängigkeiten: main.css (globale Variablen & Komponenten)
   ========================================================================== */

/* Nutzt die globalen Custom Properties aus main.css:
   --nacht, --gold, --schwan, --pfau, --kraehe, --text, --dim
   Die Manifest-Seite verwendet --gold als primäre Akzentfarbe. */

/* ==========================================================================
   HERO MIT PARTIKEL-CANVAS
   ========================================================================== */
.hero-anti {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, #1a2a40 0%, var(--nacht) 100%);
}

#particleCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-intro {
    max-width: 650px;
    margin-top: 1.5rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   LESEFORTSCHRITT (Mobil & Desktop)
   ========================================================================== */
#reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 3px;
    z-index: 1002;
    background: transparent;
}

.reading-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 0.1s ease;
}

/* ==========================================================================
   KAPITEL-NAVIGATION (Nur Desktop)
   ========================================================================== */
.chapter-nav-desktop {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-nav-desktop ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chapter-dot {
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transition: background 0.3s, transform 0.3s;
}

.chapter-dot:hover,
.chapter-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* ==========================================================================
   KREISLAUF-GRAFIK
   ========================================================================== */
.kreislauf-section {
    background: rgba(212, 175, 55, 0.02);
    text-align: center;
}

.kreislauf-subtitle {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.kreislauf-desktop { display: block; }
.kreislauf-mobil { display: none; }

.kreislauf-svg-container {
    max-width: 800px;
    margin: 0 auto;
}

.kreislauf-svg {
    max-width: 100%;
    height: auto;
}

.kreislauf-svg a:hover circle {
    fill: rgba(212, 175, 55, 0.15);
    transition: fill 0.3s ease;
}

.kreislauf-svg a:focus circle {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.pulse-line {
    animation: pulse 3s ease-in-out infinite;
}

.pulse-line:nth-child(odd) { animation-delay: 0s; }
.pulse-line:nth-child(even) { animation-delay: 1.5s; }

.kreislauf-liste {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}

.kreislauf-liste li { margin-bottom: 0.75rem; }

.kreislauf-liste a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    transition: background 0.2s;
}

.kreislauf-liste a:hover,
.kreislauf-liste a:active {
    background: rgba(212, 175, 55, 0.08);
}

.kr-pfeil { margin-right: 0.5rem; color: var(--gold); }

.kreislauf-zentrum {
    text-align: center;
    margin-top: 1rem;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   AKKORDEON (FLÜSSIGE ANIMATION)
   ========================================================================== */
.akkordeon-item {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.akkordeon-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.akkordeon-trigger[aria-expanded="true"] {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.akkordeon-trigger {
    width: 100%;
    text-align: left;
    padding: 1rem 1.2rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    font-family: inherit;
    min-height: 48px;
    touch-action: manipulation;
}

.akkordeon-trigger:hover { background: rgba(212, 175, 55, 0.05); }
.akkordeon-trigger:active { background: rgba(212, 175, 55, 0.1); }
.akkordeon-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.akkordeon-label { flex: 1; margin-right: 1rem; }

.akkordeon-icon {
    width: 20px; height: 20px;
    position: relative;
    flex-shrink: 0;
}

.akkordeon-icon::before,
.akkordeon-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    transition: transform 0.3s ease;
}

.akkordeon-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.akkordeon-icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.akkordeon-icon.open::after { transform: rotate(90deg); }

.akkordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.2rem;
}

.akkordeon-content.open {
    max-height: none;
    padding: 1rem 1.2rem 1.5rem 1.2rem;
}

/* Verschachtelte Akkordeons */
.akkordeon-nested {
    margin-left: 1.5rem;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   TABELLE (UR-WUNDE)
   ========================================================================== */
.ur-wunde-tabelle {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.ur-wunde-tabelle table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ur-wunde-tabelle th {
    text-align: left;
    padding: 0.5rem;
    border-bottom: 2px solid var(--gold);
    color: var(--gold);
}

.ur-wunde-tabelle td {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    vertical-align: top;
}

.ebene-label { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   ZURÜCK-NACH-OBEN & MOBILE-AKTIONSLEISTE
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--nacht);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-actions {
    display: none;
    position: fixed;
    bottom: 1rem; right: 1rem;
    z-index: 1001;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-action-btn {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--nacht);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .chapter-nav-desktop { display: none; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 2rem; }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .kreislauf-desktop { display: none; }
    .kreislauf-mobil { display: block; }

    /* Responsive Tabelle */
    .ur-wunde-tabelle table,
    .ur-wunde-tabelle thead,
    .ur-wunde-tabelle tbody,
    .ur-wunde-tabelle th,
    .ur-wunde-tabelle tr,
    .ur-wunde-tabelle td { display: block; }

    .ur-wunde-tabelle thead { display: none; }

    .ur-wunde-tabelle tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 8px;
        padding: 0.75rem;
        background: rgba(212, 175, 55, 0.03);
    }

    .ur-wunde-tabelle td {
        border: none;
        padding: 0.25rem 0;
        text-align: left;
    }

    .ur-wunde-tabelle td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--gold);
        margin-bottom: 0.15rem;
        font-size: 0.85rem;
    }

    .akkordeon-nested {
        margin-left: 0.5rem;
        border-left-width: 2px;
    }

    .akkordeon-trigger { padding: 0.9rem 1rem; }
    .akkordeon-content { padding: 0 1rem; }
    .akkordeon-content.open { padding: 0.75rem 1rem 1.25rem 1rem; }

    #backToTop { display: none !important; }
    .mobile-actions { display: flex; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .akkordeon-trigger { font-size: 0.95rem; }
}

/* ==========================================================================
   REDUZIERTE BEWEGUNG (Barrierefreiheit)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .pulse-line { animation: none; }
    .akkordeon-content { transition: none; }
    .hero-cta { animation: none; }
}

/* ==========================================================================
   DRUCK
   ========================================================================== */
@media print {
    .akkordeon-content {
        max-height: none !important;
        padding: 0.5rem 0 !important;
    }

    .akkordeon-trigger { font-weight: bold; }

    .akkordeon-icon,
    #cookie-consent-banner,
    #backToTop,
    .mobile-actions,
    .hero-actions,
    .kreislauf-section,
    #reading-progress,
    .chapter-nav-desktop { display: none !important; }

    body { font-size: 11pt; line-height: 1.4; }
}
/* ==========================================================================
   MANIFEST-PORTAL – SPEZIFISCHE STYLES (manifest.php)
   Ergänzung für die neue Manifest-Seite. Diese Regeln sind unabhängig
   von den Anti-Schöpfungs-Manifest-Stilen und erweitern die Datei.
   ========================================================================== */

/* ── Manifest-Hero (Einleitungsblock) ──────────────────────────── */
.manifest-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, #1a2a40 0%, var(--nacht) 100%);
    text-align: center;
}

.manifest-hero .container {
    max-width: 750px;
}

.manifest-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.manifest-hero .hero-subtitle {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--schwan);
    margin-bottom: 1.5rem;
}

/* ── Tab-Navigation ───────────────────────────────────────────── */
.manifest-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    background: rgba(11, 26, 47, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 60px; /* Platz für den fixierten Header */
    z-index: 50;
}

.manifest-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dim);
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.manifest-tab:hover {
    color: var(--schwan);
    background: rgba(26, 138, 138, 0.1);
    border-color: var(--pfau);
}

.manifest-tab.active {
    color: var(--nacht);
    background: var(--gold);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: var(--dim);
    transition: all 0.3s ease;
}

.manifest-tab.active .tab-count {
    background: rgba(11, 26, 47, 0.3);
    color: var(--nacht);
}

/* ── Inhaltsbereich & Manifest-Items ──────────────────────────── */
.manifest-content {
    padding: 4rem 0;
}

.manifest-item {
    max-width: 800px;
    margin: 0 auto;
}

.manifest-item h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.manifest-untertitel {
    font-size: 1rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.manifest-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.manifest-text p {
    margin-bottom: 1.2rem;
}

.manifest-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin: 2rem 0 0.5rem;
}

.manifest-divider {
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    max-width: 800px;
    margin: 3rem auto;
}

/* ── Sprungmarken (horizontale Schnellnavigation) ─────────────── */
.sprungmarken {
    margin: 1rem 0 2rem;
}

.sprungmarken ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.sprungmarken li a {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: var(--dim);
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.sprungmarken li a:hover {
    color: var(--schwan);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

/* ── PDF-Button & Hinweise ────────────────────────────────────── */
.pdf-button {
    margin-top: 1.5rem;
}

.pdf-hinweis {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(26, 138, 138, 0.1);
    border: 1px solid rgba(26, 138, 138, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--schwan);
}

.pdf-hinweis a {
    color: var(--gold);
    text-decoration: underline;
}

/* ── "Siehe auch"-Verweise (unter einem Manifest) ─────────────── */
.verweise-section {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.verweise-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.verweise-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.verweise-section li a {
    color: var(--pfau);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.verweise-section li a:hover {
    color: var(--gold);
}

/* ── Leerer Zustand (keine Manifeste sichtbar) ────────────────── */
.manifest-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--dim);
}

.manifest-empty .btn {
    margin-top: 1.5rem;
}

/* ── "Weitere Dokumente"-Grid ──────────────────────────────────── */
.manifest-verweise {
    background: rgba(11, 26, 47, 0.5);
    padding: 4rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.manifest-verweise h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.verweise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.verweis-card {
    display: block;
    padding: 1.8rem;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.verweis-card:hover {
    background: rgba(26, 138, 138, 0.1);
    border-color: var(--pfau);
    transform: translateY(-4px);
}

.verweis-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--schwan);
    margin-bottom: 0.5rem;
}

.verweis-card p {
    font-size: 0.9rem;
    color: var(--dim);
    line-height: 1.5;
}

/* ── Responsive Anpassungen ───────────────────────────────────── */
@media (max-width: 768px) {
    .manifest-tabs {
        gap: 0.3rem;
        padding: 1rem 0;
        top: 55px;
    }

    .manifest-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .tab-count {
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .manifest-hero {
        min-height: 40vh;
    }

    .manifest-hero h1 {
        font-size: 2rem;
    }

    .manifest-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .manifest-item h2 {
        font-size: 1.6rem;
    }

    .sprungmarken ul {
        justify-content: center;
    }

    .verweise-section ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* ==========================================================================
   KASKADEN-DARSTELLUNG & UNTER-NAVIGATION (NEU in v3.0)
   ========================================================================== */

/* ── Horizontale Unter-Navigation (Liste aller Manifeste im aktiven Tab) ── */
.manifest-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 2.5rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.manifest-liste-link {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    color: var(--dim);
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.manifest-liste-link:hover {
    color: var(--schwan);
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
}

/* ── Manifest-Karte (geschlossener Zustand) ──────────────────────── */
.manifest-karte {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.manifest-karte:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(26, 26, 46, 0.5);
}

.manifest-karte-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.manifest-karte-header h2 {
    font-size: 1.6rem;
    margin: 0;
    flex: 1;
}

/* ── Expand-Button („Lesen ▸“) ────────────────────────────────────── */
.manifest-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.manifest-expand-btn:hover {
    background: var(--gold);
    color: var(--nacht);
}

.expand-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

/* ── Beschreibungstext in der Karte ───────────────────────────────── */
.manifest-beschreibung {
    color: var(--dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
}

/* ── Expandierbarer Inhalt ────────────────────────────────────────── */
.manifest-content-collapsible {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(11, 26, 47, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

/* ── Responsive Anpassungen für die neuen Elemente ───────────────── */
@media (max-width: 768px) {
    .manifest-liste {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .manifest-liste-link {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }

    .manifest-karte-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .manifest-karte-header h2 {
        font-size: 1.3rem;
    }

    .manifest-expand-btn {
        align-self: flex-end;
    }
}
/* ── Spezielle Elemente in Manifest-Texten ──────────────────────────── */
.manifest-text pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--schwan);
    margin: 1.5rem 0;
}

.manifest-text blockquote {
    border-left: 3px solid var(--gold);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    font-style: italic;
    color: var(--schwan);
}

.manifest-text blockquote p {
    margin-bottom: 0;
}

.manifest-section-divider {
    border: none;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
    margin: 2rem auto;
    max-width: 200px;
}
/* ── Schöne Tabellen (für das Manifest der ersten Regung) ───────── */
.manifest-tabelle.schoen {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.8rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.manifest-tabelle.schoen thead {
    background: linear-gradient(135deg, var(--pfau), rgba(26, 138, 138, 0.7));
}

.manifest-tabelle.schoen thead th {
    padding: 0.9rem 1.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--schwan);
    text-align: left;
    border: none;
    letter-spacing: 0.5px;
}

.manifest-tabelle.schoen tbody tr {
    transition: background 0.3s ease;
}

.manifest-tabelle.schoen tbody tr:nth-child(odd) {
    background: rgba(26, 26, 46, 0.4);
}

.manifest-tabelle.schoen tbody tr:nth-child(even) {
    background: rgba(26, 26, 46, 0.2);
}

.manifest-tabelle.schoen tbody tr:hover {
    background: rgba(212, 175, 55, 0.08);
}

.manifest-tabelle.schoen tbody td {
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    vertical-align: top;
}

.manifest-tabelle.schoen tbody tr:last-child td {
    border-bottom: none;
}

/* ── Affirmationen im Manifest ──────────────────────────────────── */
.manifest-affirmation {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gold);
    margin: 2rem 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
/* ==========================================================================
   MOBILE-OPTIMIERUNG – ELEGANT, MODERN, ZUGÄNGLICH
   ========================================================================== */

/* ── Tab-Navigation: Kompakt & scrollbar ──────────────────────── */
@media (max-width: 768px) {
    .manifest-tabs {
        gap: 0.3rem;
        padding: 0.6rem 0.8rem;
        top: 55px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE/Edge */
        mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    }

    .manifest-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .manifest-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 20px;
    }

    .tab-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
        padding: 0 4px;
    }
}

/* ── Unter-Navigation: Kleine Chips ──────────────────────────── */
@media (max-width: 768px) {
    .manifest-liste {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 0.3rem;
        padding-bottom: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .manifest-liste-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 16px;
        flex-shrink: 0;
    }
}

/* ── Karten-Header: Sauberer vertikaler Stack ───────────────── */
@media (max-width: 768px) {
    .manifest-karte {
        padding: 1.2rem;
    }

    .manifest-karte-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .manifest-karte-header h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .manifest-expand-btn {
        align-self: flex-end;
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ── PDF-Buttons & Hinweise: Kompakt & zentriert ────────────── */
@media (max-width: 768px) {
    .pdf-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    .pdf-hinweis {
        font-size: 0.8rem;
        padding: 0.8rem;
        text-align: center;
    }
}

/* ── Expandierbarer Inhalt: Weniger Innenabstand ────────────── */
@media (max-width: 768px) {
    .manifest-content-collapsible {
        padding: 1rem;
    }

    .manifest-text {
        font-size: 0.95rem;
    }

    .manifest-text h3 {
        font-size: 1.2rem;
    }

    .manifest-text h4 {
        font-size: 1rem;
    }
}

/* ── Querverweise-Grid: Einspaltig, große Touch-Ziele ────────── */
@media (max-width: 768px) {
    .verweise-grid {
        grid-template-columns: 1fr;
    }

    .verweis-card {
        padding: 1.2rem;
    }
}

/* ── Tabellen: Card-Ansicht auf Mobilgeräten ────────────────────── */
@media (max-width: 768px) {
    .manifest-tabelle.schoen,
    .manifest-tabelle.schoen thead,
    .manifest-tabelle.schoen tbody,
    .manifest-tabelle.schoen th,
    .manifest-tabelle.schoen tr,
    .manifest-tabelle.schoen td {
        display: block;
    }

    .manifest-tabelle.schoen thead {
        display: none;
    }

    .manifest-tabelle.schoen tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: 8px;
        padding: 0.75rem;
        background: rgba(26, 26, 46, 0.3);
    }

    .manifest-tabelle.schoen tbody tr:nth-child(odd),
    .manifest-tabelle.schoen tbody tr:nth-child(even) {
        background: rgba(26, 26, 46, 0.3);
    }

    .manifest-tabelle.schoen td {
        border: none;
        padding: 0.25rem 0;
        text-align: left;
        font-size: 0.85rem;
    }

    .manifest-tabelle.schoen td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--gold);
        margin-bottom: 0.15rem;
        font-size: 0.8rem;
    }
}
/* ── Affirmationen: Weniger Rand, kleinere Schrift ───────────── */
@media (max-width: 768px) {
    .manifest-affirmation {
        font-size: 1rem;
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

/* ── Sprungmarken: Zentriert, kleinere Buttons ────────────────── */
@media (max-width: 768px) {
    .sprungmarken ul {
        justify-content: center;
    }

    .sprungmarken li a {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* ── "Siehe auch"-Box: Vertikale Links ────────────────────────── */
@media (max-width: 768px) {
    .verweise-section ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
.proklamation-text {
    text-align: center;
    max-width: 650px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--schwan);
}

.proklamation-text p {
    margin-bottom: 1.5rem;
}