/* Ratgeber: overview and guides. Guides reuse the legal page layout from recht.css (.lg-body, .lg-toc, .prose, .lg-table). */
.rg-hero .h1 { max-width: 18ch; }
.rg-hero .chip { margin-bottom: 1.1rem; }

/* "Kurz gesagt" at the top of each guide */
.rg-kurz { padding: 1.25rem 1.4rem 1.35rem; border-radius: .75rem; background: light-dark(#E8F3EA, #18291F); box-shadow: inset 0 0 0 1px light-dark(#CFE5D5, #2C4A35); }
.prose .rg-kurz h2 { margin-top: 0; font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--brand); }
.prose .rg-kurz ul { margin-top: .6rem; }
.prose .rg-kurz + .lg-sec { margin-top: 2.4rem; }

/* Table cells hold sentences, not numbers */
.rg-table th:first-child { width: 11rem; }
.rg-table td { color: var(--ink-2); }

/* Disclaimer and related guides at the end */
.rg-hinweis { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.55; color: var(--muted); }
.rg-more { padding-block: clamp(3rem, 6vw, 4rem) clamp(4rem, 8vw, 5.5rem); border-top: 1px solid var(--line); }
.rg-more h2 { font-size: .85rem; font-weight: 600; color: var(--brand); }

/* Overview page */
.rg-list { padding-bottom: clamp(4rem, 8vw, 5.5rem); }
.rg-list .lg-tiles { margin-top: 0; }

/* Buttons inside the text keep their own look */
.prose .btn { color: var(--ink); text-decoration: none; }
.prose .btn--light { color: var(--dark); }
.prose .lg-right .btn { margin-top: .4rem; }

/* Phones: each row becomes a small card */
@media (max-width: 37.5em) {
  .rg-table thead { display: none; }
  .rg-table tr { display: block; padding: .8rem 1rem; border-top: 1px solid var(--line); }
  .rg-table tbody tr:first-child { border-top: 0; }
  .rg-table th, .rg-table td { display: block; padding: 0; border: 0; }
  .rg-table th:first-child { width: auto; }
  .rg-table td { margin-top: .45rem; }
  .rg-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; color: var(--faint); }
}
.rg-list .lg-tiles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 37.5em) { .rg-list .lg-tiles { grid-template-columns: 1fr; } }
