/* Ratgeber-Seiten (15.11.2026, Zweig ratgeber-zeiterfassung): Fließtext in Linie A „Vollbild-Foto“ */
.rg-text { max-width: 760px; }
.rg-text .lp-abschnitt { padding-top: 72px; }
.rg-text .lp-h2 { margin-bottom: 24px; }
.rg-text p { font-size: 18px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; }
.rg-stand { padding-top: 48px; font-size: 15px !important; }
.rg-liste { margin: 0 0 20px; padding-left: 22px; }
.rg-liste li { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 10px; }
.rg-liste strong { color: var(--text); }
.rg-text .lp-vorteile { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 28px; }
/* Minijob-Tabelle und Häufige Fragen (15.11.2026) */
.rg-tabelle-rahmen { margin: 8px 0 0; overflow-x: auto; }
.rg-tabelle { width: 100%; border-collapse: collapse; font-size: 17px; }
.rg-tabelle caption { text-align: left; font-size: 15px; color: var(--text-secondary); padding-bottom: 10px; }
.rg-tabelle th, .rg-tabelle td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(17, 24, 39, .12); }
.rg-tabelle th { font-size: 15px; font-weight: 600; color: var(--text); }
.rg-tabelle td { color: var(--text-secondary); }
.rg-tabelle td:last-child { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-frage + .rg-frage { margin-top: 28px; }
.rg-frage h3 { font-size: 20px; line-height: 1.35; color: var(--text); margin: 0 0 8px; }
/* Kurzliste „Das Wichtigste“ und Demo-Hinweis (16.11.2026, Analyse-Vorschläge 1 und 3) */
.rg-kurz { border-left: 3px solid var(--text); padding: 4px 0 4px 20px; margin: 8px 0 0; }
.rg-kurz-titel { font-size: 15px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text) !important; margin-bottom: 10px !important; }
.rg-kurz .rg-liste { margin-bottom: 0; }
.rg-kurz .rg-liste li { color: var(--text); }
.rg-kurz .rg-liste li:last-child { margin-bottom: 0; }
.rg-hinweis { margin-top: 20px !important; }
/* Handy: Kopfbild nur etwa halb so hoch, damit der Text schon im ersten Bild beginnt (Analyse-Vorschlag 2) */
@media (max-width: 600px) {
  .seite-ratgeber .fa-kopf { height: auto; min-height: 55svh; max-height: none;
    --fa-verlauf: linear-gradient(0deg, rgba(14, 20, 30, .86) 0%, rgba(14, 20, 30, .62) 55%, rgba(14, 20, 30, .4) 100%); }
  .seite-ratgeber .fa-kopf-text { padding-top: 96px; padding-bottom: 36px; }
  .seite-ratgeber .fa-kopf-text h1 { font-size: 32px; line-height: 1.12; }
}
.rg-tarif { font-weight: 600; color: var(--text) !important; margin-bottom: 104px !important; }
@media (max-width: 600px) {
  .rg-text p, .rg-liste li { font-size: 17px; }
  .rg-tarif { margin-bottom: 72px !important; }
}
/* Schlussbild: Abend-Biergarten statt Theke (dunkler, keine Preisschilder); am Handy dunklerer Verlauf für Kontrast ≥ 4,5:1 */
.seite-ratgeber[data-linie="foto"] .cta-final { --fa-schluss-foto: url(../img/foto-biergarten-1400.webp); }
.rg-text a { color: var(--text); text-decoration: underline; }
@media (max-width: 900px) {
  .seite-ratgeber[data-linie="foto"] .cta-final { --fa-schluss-foto: url(../img/foto-biergarten-800.webp); }
}
@media (max-width: 600px) {
  .seite-ratgeber[data-linie="foto"] .cta-final::before {
    background: linear-gradient(0deg, rgba(17, 24, 39, .92) 0%, rgba(17, 24, 39, .82) 55%, rgba(17, 24, 39, .45) 85%, rgba(17, 24, 39, .2) 100%);
  }
}
/* Breite Bildschirme: etwas dunklerer Verlauf, damit die Tischkante hinter der Unterzeile nicht unter 4,5:1 fällt */
@media (min-width: 601px) {
  .seite-ratgeber[data-linie="foto"] .cta-final::before {
    background: linear-gradient(0deg, rgba(17, 24, 39, .9) 0%, rgba(17, 24, 39, .78) 50%, rgba(17, 24, 39, .4) 85%, rgba(17, 24, 39, .15) 100%);
  }
}
/* Ausbau 26.11.2026 (Zweig ratgeber-ausbau): Inhaltsverzeichnis, Abschnitt „Geplant“, Minijob-Rechner, Vorlagen */
.rg-inhalt { margin: 40px 0 0; padding: 20px 24px; border: 1px solid rgba(17, 24, 39, .12); border-radius: 12px; }
.rg-inhalt-titel { font-size: 15px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text) !important; margin-bottom: 10px !important; }
.rg-inhalt ol { margin: 0; padding-left: 22px; }
.rg-inhalt li { font-size: 16px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 6px; }
.rg-inhalt li:last-child { margin-bottom: 0; }
.rg-text .rg-inhalt a { color: var(--text-secondary); text-decoration: none; }
.rg-text .rg-inhalt a:hover { color: var(--text); text-decoration: underline; }
.rg-text .rg-inhalt a[aria-current="true"] { color: var(--text); font-weight: 600; }
.rg-text .lp-abschnitt { scroll-margin-top: 88px; }
/* Breite Bildschirme: Inhalt fest rechts neben dem Text, Text bleibt 760 px breit */
@media (min-width: 1180px) {
  .rg-text { max-width: 1108px; display: grid; grid-template-columns: minmax(0, 760px) 236px; column-gap: 64px; align-items: start; }
  .rg-text > * { grid-column: 1; }
  .rg-text > .rg-inhalt { grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 104px; margin-top: 48px; padding: 0 0 0 20px; border: 0; border-left: 1px solid rgba(17, 24, 39, .12); border-radius: 0; }
  .rg-inhalt ol { list-style: none; padding-left: 0; }
  .rg-inhalt li { font-size: 15px; margin-bottom: 10px; }
}
.rg-quelle { font-size: 15px !important; }
/* Minijob-Rechner (nur mit JavaScript sichtbar) */
.rg-rechner { margin: 28px 0 0; padding: 20px 24px; border: 1px solid rgba(17, 24, 39, .12); border-radius: 12px; }
.rg-rechner[hidden] { display: none; }
.rg-rechner-titel { display: block; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.rg-rechner-feld { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rg-rechner-feld input { width: 120px; font: inherit; font-size: 20px; font-variant-numeric: tabular-nums; padding: 10px 14px; border: 1px solid rgba(17, 24, 39, .28); border-radius: 8px; color: var(--text); background: #fff; }
.rg-rechner-feld input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.rg-rechner-feld input[aria-invalid="true"] { border-color: #b42318; }
.rg-rechner-feld span { font-size: 17px; color: var(--text-secondary); }
.rg-text .rg-ergebnis-zeile { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; border-top: 1px solid rgba(17, 24, 39, .12); font-size: 17px; }
.rg-ergebnis-zeile strong { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-text .rg-ergebnis-hinweis { margin: 8px 0 0; font-size: 15px; color: #b42318; }
.rg-ergebnis-hinweis[hidden] { display: none; }
/* Vorlagen zum Herunterladen */
.rg-downloads { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rg-text .rg-downloads a { display: block; padding: 16px 20px; border: 1px solid rgba(17, 24, 39, .16); border-radius: 12px; text-decoration: none; font-size: 17px; font-weight: 600; color: var(--text); }
.rg-text .rg-downloads a:hover { border-color: var(--text); }
.rg-downloads a span { display: block; font-size: 15px; font-weight: 400; color: var(--text-secondary); margin-top: 4px; }
@media (max-width: 600px) {
  .rg-downloads { grid-template-columns: minmax(0, 1fr); }
  .rg-rechner, .rg-inhalt { padding: 16px 18px; }
  .rg-text .rg-ergebnis-zeile { flex-direction: column; gap: 2px; }
}
/* App-Bilder bei „So erledigst du das“ (26.11.2026); Dateien pflegt werkzeuge/website-bilder (liste.json) */
.rg-app-bild { margin-top: 20px; }
.rg-app-bild img { display: block; width: 100%; height: auto; }
.rg-app-bild--handy .iphone { max-width: 220px; margin-left: 0; }
.rg-app-bild--fenster { max-width: 508px; }
.rg-app-bild--fenster img, .rg-app-bild--breit img { border-radius: 12px; border: 1px solid rgba(17, 24, 39, .1); box-shadow: 0 8px 24px rgba(17, 24, 39, .08); }
/* Handy: nur der mittlere Teil (Kachel und Balken „über der Grenze“), sonst wäre die Schrift zu klein */
@media (max-width: 600px) {
  .rg-app-bild--breit img { aspect-ratio: 900 / 323; object-fit: cover; object-position: 80% 50%; }
}
/* Ratgeber-Übersicht ratgeber.html (26.11.2026): Themenliste mit gezeichneten Nummern und Linien (keine Karten) */
.rg-text.rg-uebersicht { max-width: 860px; display: block; }
.rg-themen-linie { line-height: 0; }
.rg-themen-linie .hand-trenn { width: 100%; height: 10px; color: var(--text); opacity: .55; }
.hand-trenn path { stroke-width: 1.4; }
.rg-uebersicht > .rg-themen-linie { margin-top: 36px; }
.rg-themen { list-style: none; margin: 0; padding: 0; }
.rg-thema { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-top: 28px; }
.rg-thema > .rg-themen-linie { grid-column: 1 / -1; margin-top: 24px; }
.rg-thema-nr .hand-nr { width: auto; height: 46px; color: var(--akzent-zahl, var(--text)); }
.hand-nr path { stroke-width: .5; }
.rg-thema-text h2 { font-size: 26px; line-height: 1.25; margin: 2px 0 8px; }
.rg-text .rg-thema-text h2 a { color: var(--text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.rg-text .rg-thema-text h2 a:hover, .rg-text .rg-thema-text h2 a:focus-visible { background-size: 100% 2px; }
.rg-text .rg-thema-text p { margin: 0; }
/* Stundenzettel: Blatt im gezeichneten Rahmen, daneben Text, Notiz mit Pfeil */
.rg-vorlage { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.rg-vorlage > .rg-tarif { grid-column: 1 / -1; margin-top: 40px; }
.rg-zettel { margin: 8px 0 0; }
.rg-zettel-bild { position: relative; display: block; width: 168px; margin: 16px; transform: rotate(-1.5deg); }
.rg-zettel-bild img { display: block; width: 100%; height: auto; box-shadow: 0 6px 18px rgba(17, 24, 39, .12); }
.rg-zettel-bild .hand-rahmen { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); height: calc(100% + 32px); max-width: none; }
.rg-downloads--text { display: block; margin-top: 4px; }
.rg-downloads--text li { font-size: 18px; margin-bottom: 10px; }
.rg-text .rg-downloads--text a { display: inline; padding: 0; border: 0; border-radius: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rg-downloads--text span { color: var(--text-secondary); font-size: 16px; }
.hand-notiz--rg { display: block; height: auto; margin: 4px 0 10px; color: var(--fa-tinte, var(--text)); }
.hand-notiz--rg path { stroke-width: .55; }
.rg-zettel-text .hand-notiz--links { margin-left: -8px; }
@media (max-width: 700px) {
  .rg-thema { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding-top: 22px; }
  .rg-thema-nr .hand-nr { height: 36px; }
  .rg-thema-text h2 { font-size: 22px; }
  .rg-vorlage { grid-template-columns: minmax(0, 1fr); }
  .rg-zettel { order: 2; }
  .rg-vorlage > .rg-tarif { order: 3; }
  .rg-zettel-text .hand-notiz--links { display: none; }
}
/* „Mehr im Ratgeber“ vor dem Schichtwerk-Abschnitt jedes Artikels */
.rg-mehr { margin: 72px 0 0; }
.rg-mehr .rg-themen-linie { margin-bottom: 18px; }
.rg-mehr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rg-mehr li { font-size: 17px; line-height: 1.5; }
.rg-text .rg-mehr a { color: var(--text); }
/* Gezeichnet in den Artikeln (26.11.2026): ein Begriff in „Das Wichtigste“ unterstrichen, eine Notiz mit Pfeil */
.rg-kurz .hand-wort .hand-unter { top: 82%; height: 12px; color: var(--akzent); }
.rg-kurz .hand-unter path { stroke-width: 4.4; }
.rg-kreis { position: relative; display: inline-block; align-self: flex-start; }
.rg-kreis .hand-kreis { position: absolute; left: -16px; top: -10px; width: calc(100% + 32px); height: calc(100% + 20px); max-width: none; color: var(--akzent); }
.rg-kreis .hand-kreis path { stroke-width: 2.2; }
/* Link vom Hauptartikel auf die Minijob-Seite (26.11.2026, Runde 2) */
.rg-weiter { margin-top: 20px !important; }
.rg-text .rg-weiter a { font-weight: 600; }
