/* Pflegekratie – Zusatz-Stile nur für rente-und-pflege.html (v35, 27.11.2026).
   Nutzt ausschließlich die Farbvariablen aus style.css – helles, dunkles und Kontrast-Design funktionieren dadurch automatisch. */

/* Ablauf-Grafik: Pflegekasse → Rentenkonto → Rente (reines HTML, wächst mit der Lesehilfe-Schriftgröße mit) */
.rp-ablauf { margin: 1.5rem 0; }
.rp-schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.2rem; }
@media (min-width: 40rem) { .rp-schritte { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }
.rp-schritte li { position: relative; margin: 0; background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 1rem 1.1rem; text-align: center; }
.rp-schritte li.rp-ziel { background: var(--gold-soft); border-color: var(--gold); }
.rp-schritte strong { display: block; color: var(--navy); font-size: 1.12rem; }
.rp-schritte span { display: block; }
.rp-schritte li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -2.05rem; transform: translateX(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--gold-text); font-weight: 700; }
@media (min-width: 40rem) {
  .rp-schritte li:not(:last-child)::after { content: "→"; left: auto; right: -2.05rem; bottom: auto; top: 50%; transform: translateY(-50%); }
}
.rp-ablauf figcaption { font-size: .95rem; color: var(--text-muted); margin-top: .75rem; }

/* Vier Lebenslagen für Rentner */
.rp-lagen { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rp-lagen { grid-template-columns: repeat(2, 1fr); } }
.rp-lagen li { margin: 0; background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--navy); border-radius: var(--radius); padding: 1rem 1.1rem; }
.rp-lagen li.rp-nein { border-left-color: var(--warn-border); }
.rp-lagen h3 { margin-top: 0; font-size: 1.12rem; }
.rp-lagen p:last-child { margin-bottom: 0; }

/* Mustertexte zum Kopieren */
.muster { background: var(--surface); border: 1px dashed var(--navy); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: .75rem 0 1rem; }
.muster p { margin: 0 0 .7rem; }
.muster p:last-child { margin-bottom: 0; }
.muster-kopf { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.muster-kopf h3 { margin: 0; }
.js-copy { font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; padding: .55rem .9rem; border-radius: .6rem;
  color: var(--navy); background: var(--navy-soft); border: 2px solid var(--navy); min-height: 44px; }
.js-copy:hover { background: var(--surface); }
.js-copy[hidden] { display: none; }
.copy-status { font-size: .95rem; color: var(--text-muted); min-height: 1.4em; margin: 0 0 1rem; }

/* Beträge in Tabellen gut lesbar */
.rp-tabelle td.num, .rp-tabelle th.num { white-space: nowrap; }

@media print {
  .js-copy, .copy-status { display: none !important; }
  .muster { border-style: solid; }
}
