/* Ratgeber (ratgeber.php) – geladen über $seo['stylesheets'] */

.rg-wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.rg-hero { background: linear-gradient(135deg, #eaf3fe 0%, #f6f9fc 65%, #fff8e1 100%); border-bottom: 1px solid var(--line); padding: 28px 0 32px; margin-bottom: 28px; }
.rg-hero h1 { margin: 10px 0 10px; font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.rg-lead { font-size: 1.08rem; line-height: 1.65; color: var(--muted); margin: 0; }

.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rg-grid--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rg-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 18px; transition: box-shadow .18s, border-color .18s, transform .18s;
}
.rg-card:hover { box-shadow: var(--shadow-card); border-color: rgba(3,103,211,.35); transform: translateY(-1px); }
.rg-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf3fe; font-size: 1.4rem; }
.rg-card__title { font-size: 1.05rem; line-height: 1.35; margin: 12px 0 6px; }
.rg-card__link { color: var(--text); text-decoration: none; }
.rg-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rg-card:focus-within { outline: 3px solid rgba(3,103,211,.35); outline-offset: 2px; }
.rg-card p { margin: 0 0 10px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.rg-card__more { font-size: .88rem; font-weight: 700; color: var(--logo-blue); }

.rg-article { padding-top: 24px; padding-bottom: 40px; }
.rg-article__head { margin: 14px 0 22px; }
.rg-article__head h1 { margin: 12px 0 8px; font-size: clamp(1.6rem, 4.2vw, 2.3rem); line-height: 1.2; }
.rg-meta { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }

.rg-toc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--logo-blue); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 26px; }
.rg-toc ul { margin: 8px 0 0; padding-left: 18px; }
.rg-toc li { margin: 4px 0; }
.rg-live { background: #e7f4e1; border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 24px; line-height: 1.55; }

.rg-section { margin-bottom: 28px; }
.rg-section h2 { font-size: clamp(1.2rem, 3vw, 1.45rem); margin: 0 0 10px; scroll-margin-top: 100px; }
.rg-section p { line-height: 1.75; margin: 0 0 12px; }
.rg-list { margin: 6px 0 12px; padding-left: 0; list-style: none; }
.rg-list li { position: relative; padding-left: 28px; margin: 8px 0; line-height: 1.6; }
.rg-list li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--success); font-weight: 800; }

.rg-inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; margin: 0 0 28px; border-radius: var(--r-sm); background: #fff8e1; border: 1px solid rgba(252,192,0,.5);
}
.rg-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 10px; }
.rg-faq summary { font-weight: 700; cursor: pointer; }
.rg-faq details p { margin: 10px 0 0; }

.rg-cta {
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin: 32px 0; padding: 22px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #eaf3fe, #fff); border: 1px solid rgba(3,103,211,.2);
}
.rg-cta h2 { margin: 0 0 6px; font-size: 1.2rem; }
.rg-cta p { margin: 0; color: var(--muted); max-width: 520px; line-height: 1.55; }
.rg-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
