/* Ratgeber-Seiten (pages/ratgeber*.html). Ergänzt site.css und modell.css. */

/* Artikelkopf */
.r-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 28px; padding-bottom: 48px; }
.r-head h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; font-weight: 800; color: var(--brand-navy); letter-spacing: -0.02em; margin: 10px 0 18px; }
.r-lead { font-size: 18.5px; color: var(--text-muted); line-height: 1.65; }
.r-head-img img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(15,26,61,0.16); }
.r-head-img.is-portrait img { height: 440px; object-position: center 30%; }

.r-wrap { max-width: 820px; padding-bottom: 72px; }

/* Kurz gesagt */
.r-takeaways { background: var(--brand-navy); color: #fff; border-radius: 18px; padding: 24px 28px; margin-bottom: 36px; }
.r-takeaways strong { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 12px; }
.r-takeaways ul { list-style: none; display: grid; gap: 10px; }
.r-takeaways li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.r-takeaways svg { color: var(--brand-accent); flex-shrink: 0; margin-top: 3px; }

/* Fließtext */
.r-body { font-size: 17px; line-height: 1.75; color: var(--text-dark); }
.r-body h2 { font-size: 26px; line-height: 1.25; color: var(--brand-navy); font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.01em; }
.r-body p { margin: 0 0 16px; }
.r-body a { color: var(--brand-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.r-list { margin: 0 0 18px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.r-list li { position: relative; padding-left: 22px; }
.r-list li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); }

.r-fig { margin: 28px 0; }
.r-fig img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 14px 34px rgba(15,26,61,0.12); }
.r-fig--narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
.r-fig figcaption { font-size: 14px; color: var(--text-muted); margin-top: 10px; text-align: center; }

.r-box { display: block; background: var(--bg-light); border-left: 4px solid var(--brand-navy); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 26px 0; }
.r-box strong { display: block; color: var(--brand-navy); font-size: 16px; margin-bottom: 6px; }
.r-box p { margin: 0; font-size: 16px; }
.r-box--gold { border-left-color: var(--brand-accent); background: #fbf7ee; }
.r-check { list-style: none; display: grid; gap: 8px; margin: 6px 0 0; }
.r-check li { position: relative; padding-left: 30px; font-size: 16px; }
.r-check li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--brand-accent); }

.r-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0 26px; font-size: 15px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.r-table th, .r-table td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.r-table thead th { background: var(--brand-navy); color: #fff; border-top: 0; font-size: 14px; }
.r-table tbody th { color: var(--text-muted); font-weight: 600; width: 26%; }
.r-table tbody tr:nth-child(even) td, .r-table tbody tr:nth-child(even) th { background: var(--bg-light); }

/* CTA mit Foto */
.r-cta { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; margin: 44px 0 0; box-shadow: 0 16px 40px rgba(15,26,61,0.08); }
.r-cta-photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-accent); }
.r-cta strong { display: block; font-size: 20px; color: var(--brand-navy); margin-bottom: 6px; }
.r-cta p { font-style: italic; color: var(--text-dark); margin-bottom: 6px; }
.r-cta-name { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.r-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Karten */
.r-related { margin-top: 56px; }
.r-related h2 { font-size: 24px; color: var(--brand-navy); margin-bottom: 18px; }
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.r-grid--2 { grid-template-columns: repeat(2, 1fr); }
.r-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.r-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(15,26,61,0.12); }
.r-card-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.r-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.r-meta { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #a37a26; }
.r-card h3 { font-size: 18px; line-height: 1.3; color: var(--brand-navy); margin: 8px 0 8px; }
.r-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.r-more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; color: var(--brand-navy); }

.r-index { padding: 32px 0 80px; }
.r-index-title { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; font-weight: 800; color: var(--brand-navy); letter-spacing: -0.02em; margin: 8px 0 14px; }
.r-index .r-cta { max-width: 820px; margin: 56px auto 0; }

@media (max-width: 960px) {
  .r-head { grid-template-columns: 1fr; gap: 28px; }
  .r-head-img img, .r-head-img.is-portrait img { height: 280px; }
  .r-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .r-grid, .r-grid--2 { grid-template-columns: 1fr; }
  .r-body { font-size: 16.5px; }
  .r-body h2 { font-size: 22px; }
  .r-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .r-cta-btns { justify-content: center; }
  .r-table { font-size: 13.5px; }
  .r-table th, .r-table td { padding: 9px 10px; }
}
.r-fig--medium { max-width: 560px; margin-left: auto; margin-right: auto; }
.r-diagram svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.r-fig--plain { text-align: center; }
.r-fig--plain img { width: auto; max-width: 260px; margin: 0 auto; box-shadow: none; border-radius: 0; filter: drop-shadow(0 16px 24px rgba(15,26,61,0.18)); }
