/* ════════════════════════════════════════
   RATGEBER (29.09.2026)
   Nur auf /ratgeber/ geladen, baut auf styles.css auf (Tokens, Nav, Footer).
   Lesetypografie für lange Texte auf dunklem Grund.
════════════════════════════════════════ */

/* Footer immer am unteren Rand, auch wenn die Seite kürzer als das Fenster ist */
body.rg { min-height: 100vh; display: flex; flex-direction: column; }
body.rg > main { flex: 1 0 auto; width: 100%; }

/* Container wie die Startseite (.hybrid-v2 .w: 1080px), Lesetext darin bis 820px wie die FAQ der Startseite */
.rg-page { position: relative; overflow: hidden; max-width: 1080px; margin: 0 auto; padding: 40px 28px 88px; }
.rg-page .ghost { font-size: 200px; top: 24px; right: -12px; }
.rg-page > .rg-crumbs, .rg-page > .rg-lead, .rg-title, .rg-meta, .rg-body, .rg-next { max-width: 820px; }
.rg-page > .rg-next.rg-next-wide { max-width: none; }

/* ── Breadcrumb: schneller Weg zurück ── */
.rg-crumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 28px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.rg-crumbs a { color: var(--teal); }
.rg-crumbs a:hover { text-decoration: underline; }
.rg-crumbs span[aria-hidden] { opacity: .5; }
.rg-crumbs [aria-current] { color: var(--sub); opacity: .75; }

/* ── Kopf ── */
.rg-title { position: relative; z-index: 1; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 6.4vw, 44px); line-height: 1.15; letter-spacing: -.01em; color: var(--paper); text-wrap: balance; margin-bottom: 14px; }
.rg-meta { position: relative; z-index: 1; font-size: 15px; color: var(--sub); margin-bottom: 36px; }
.rg-meta a { color: var(--teal); }
.rg-meta a:hover { text-decoration: underline; }

/* ── Fließtext ── */
.rg-body { position: relative; z-index: 1; }
.rg-body p, .rg-body li { font-size: 17px; line-height: 1.7; color: rgba(244,242,234,.86); text-wrap: pretty; }
.rg-body p { margin-bottom: 18px; }
.rg-body strong { color: var(--paper); font-weight: 600; }
.rg-body a { color: var(--teal); border-bottom: 1px solid rgba(92,183,176,.35); }
.rg-body a:hover { border-bottom-color: var(--teal); }
.rg-body h2 { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--paper); margin: 52px 0 16px; scroll-margin-top: 80px; }
.rg-body h3 { font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--paper); margin: 32px 0 10px; }
.rg-body ul, .rg-body ol { margin: 0 0 20px 22px; }
.rg-body ul { list-style: disc; }
.rg-body ol { list-style: decimal; }
.rg-body li { margin-bottom: 8px; padding-left: 4px; }
.rg-body li::marker { color: var(--gold); }
.rg-body hr { border: 0; border-top: 1px solid var(--line-dark); margin: 44px 0; }

/* ── Kurz gesagt ── */
.rg-kurz { margin: 8px 0 12px; padding: 22px 24px; background: rgba(255,255,255,.035); border-left: 3px solid var(--gold); }
.rg-kurz p:first-child { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.rg-kurz ul { margin-bottom: 0; }
.rg-kurz li { font-size: 17px; }
.rg-kurz li:last-child { margin-bottom: 0; }

/* ── Handlungsaufforderung ── */
.rg-cta { margin: 22px 0 8px; }
.rg-cta a, .rg-cta a:hover { display: inline-block; width: auto; padding: 16px 28px; border: 0; background: var(--gold); color: var(--ntext); font-size: 16px; font-weight: 700; letter-spacing: -.01em; transition: opacity .2s; }
.rg-cta a:hover { opacity: .88; }

/* ── Häufige Fragen, Hinweis, Quellen ── */
.rg-body .rg-note { font-size: 15px; line-height: 1.6; color: var(--sub); }
.rg-sources { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.rg-sources h2 { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.rg-sources ul { margin: 0 0 0 18px; }
.rg-body .rg-sources li { font-size: 15px; line-height: 1.6; color: var(--sub); margin-bottom: 4px; }

/* ── Weiter zum Kurs / Ratgeber (Seitenende) ── */
.rg-next { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 16px; }
.rg-next a { color: var(--teal); }
.rg-next a:hover { text-decoration: underline; }

/* ── Übersichtsseite ── */
.rg-lead { position: relative; z-index: 1; font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--sub); margin-bottom: 40px; text-wrap: pretty; }
.rg-group { position: relative; z-index: 1; margin-bottom: 44px; }
.rg-group > h2 { font-family: var(--f-mono); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.rg-card { display: block; padding: 22px 22px 20px; margin-bottom: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); transition: border-color .2s, background .2s; }
.rg-card:hover { border-color: rgba(92,183,176,.5); background: rgba(255,255,255,.05); }
.rg-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--paper); margin-bottom: 8px; text-wrap: balance; }
.rg-card p { font-size: 16px; line-height: 1.6; color: var(--sub); margin-bottom: 12px; }
.rg-card span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 860px) {
  .rg-page { padding: 56px 56px 112px; }
  .rg-page .ghost { font-size: 260px; top: 30px; right: 56px; }
  .rg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  .rg-cards .rg-card { margin-bottom: 0; }
  .rg-body h2 { font-size: 28px; }
  .rg-body h3 { font-size: 20px; }
  .rg-body p, .rg-body li { font-size: 18px; }
  .rg-kurz li { font-size: 17.5px; }
  .rg-lead { font-size: 21px; }
  .rg-card h3 { font-size: 21px; }
}
