/* Ratgeber Serif — seriöses Ratgeber-Layout, ausschließlich lokale Ressourcen (keine Webfonts, kein CDN) */
:root {
  --rg-ink: #1c2430;
  --rg-text: #2e3846;
  --rg-muted: #5f6b7a;
  --rg-navy: #1f3a5f;
  --rg-wine: #7a2335;
  --rg-line: #dfe3e8;
  --rg-paper: #ffffff;
  --rg-bg: #f6f4ef;
  --rg-note: #fbf6e9;
  --rg-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --rg-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rg-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.rg { margin: 0; background: var(--rg-bg); color: var(--rg-text); font: 17px/1.75 var(--rg-sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rg-navy); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--rg-wine); }
h1, h2, h3, h4 { font-family: var(--rg-serif); color: var(--rg-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }
.rg-skip { position: absolute; left: -9999px; }
.rg-skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }
.rg-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.rg-header { background: var(--rg-paper); border-top: 5px solid var(--rg-navy); }
.rg-header-inner { padding: 22px 20px; }
.rg-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--rg-ink); }
.rg-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rg-navy); color: #fff; font: 700 24px/1 var(--rg-serif); }
.rg-brand > span:last-child { font: 700 26px/1.1 var(--rg-serif); }
.rg-brand small { display: block; font: 400 14px/1.4 var(--rg-sans); color: var(--rg-muted); margin-top: 3px; }
.rg-nav { background: var(--rg-navy); }
.rg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.rg-nav a { display: block; padding: 12px 16px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.rg-nav li:first-child a { padding-left: 0; }
.rg-nav a:hover, .rg-nav a:focus { background: rgba(255,255,255,.12); color: #fff; }

.rg-main { padding-top: 40px; padding-bottom: 40px; }

/* Startseite / Kategorie-Kopf */
.rg-hero { border-bottom: 1px solid var(--rg-line); padding-bottom: 26px; margin-bottom: 32px; max-width: 820px; }
.rg-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--rg-wine); margin-bottom: .6em; }
.rg-hero h1 { font-size: 44px; }
.rg-lead { font-size: 20px; color: var(--rg-muted); }

/* Zweispaltig */
.rg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.rg-aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.rg-box { background: var(--rg-paper); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); padding: 20px 22px; font-size: 15px; }
.rg-box strong { display: block; font-family: var(--rg-serif); font-size: 18px; color: var(--rg-ink); margin-bottom: .5em; }
.rg-box ul { list-style: none; margin: 0; padding: 0; }
.rg-box li { border-top: 1px solid var(--rg-line); }
.rg-box li:first-child { border-top: 0; }
.rg-box li a { display: block; padding: 8px 0; text-decoration: none; }
.rg-box--note { background: var(--rg-note); border-color: #eadfbf; border-left: 4px solid var(--rg-wine); }
.rg-box--note p { margin-bottom: .6em; }

/* Fließtext */
.rg-prose h2 { font-size: 30px; margin-top: 1.6em; }
.rg-prose h3 { font-size: 23px; margin-top: 1.4em; }
.rg-prose ul, .rg-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.rg-prose li { margin-bottom: .45em; }
.rg-prose blockquote { margin: 1.6em 0; padding: 16px 22px; background: var(--rg-paper); border-left: 4px solid var(--rg-navy); font-family: var(--rg-serif); font-size: 19px; color: var(--rg-ink); }
.rg-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.rg-prose th, .rg-prose td { border: 1px solid var(--rg-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.rg-prose th { background: #eef1f5; }

/* Ratgeber-Liste */
.rg-section-title { font-size: 28px; border-top: 3px double var(--rg-ink); padding-top: 18px; margin: 48px 0 24px; }
.rg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rg-list--cat { margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
.rg-card { background: var(--rg-paper); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; }
.rg-card-img img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.rg-card-body { padding: 18px 22px; }
.rg-card h3 { font-size: 21px; margin: .25em 0 .5em; }
.rg-card h3 a { color: var(--rg-ink); text-decoration: none; }
.rg-card h3 a:hover { color: var(--rg-wine); }
.rg-card p { font-size: 15px; color: var(--rg-muted); margin-bottom: .6em; }
.rg-card time { font-size: 13px; color: var(--rg-muted); }
.rg-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--rg-wine); text-decoration: none; }

/* Artikel */
.rg-article h1 { font-size: 40px; margin-top: .3em; }
.rg-meta { font-size: 14px; color: var(--rg-muted); border-bottom: 1px solid var(--rg-line); padding-bottom: 16px; }
.rg-figure { margin: 0 0 32px; }
.rg-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--rg-radius); }
.rg-article--page { max-width: 820px; }
.faq { margin-top: 40px; }
.faq h2 { font-size: 28px; }
.faq details { background: var(--rg-paper); border: 1px solid var(--rg-line); border-radius: var(--rg-radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--rg-ink); }
.faq details p { margin: .8em 0 0; }

/* Footer */
.rg-footer { background: var(--rg-ink); color: #c9d1db; padding: 36px 0; font-size: 15px; }
.rg-footer a { color: #fff; }
.rg-footer ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rg-footer-brand { font: 700 20px/1.3 var(--rg-serif); color: #fff; }
.rg-copy { margin: 0; color: #8d98a6; font-size: 13px; }

@media (max-width: 960px) {
  .rg-layout { grid-template-columns: minmax(0, 1fr); }
  .rg-aside { position: static; }
  .rg-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body.rg { font-size: 16px; }
  .rg-hero h1, .rg-article h1 { font-size: 31px; }
  .rg-prose h2 { font-size: 25px; }
  .rg-card { grid-template-columns: minmax(0, 1fr); }
  .rg-card-img img { aspect-ratio: 16/9; min-height: 0; }
  .rg-nav li:first-child a { padding-left: 16px; }
}

/* List-Style-Fix für Content-Bereiche (wie in allen Templates) */
[class*="cat-intro"] ul, [class*="home-intro"] ul, .article-content ul { list-style: disc; }
[class*="cat-intro"] ol, [class*="home-intro"] ol, .article-content ol { list-style: decimal; }
