/* Ratgeber-Layout (30.11.2026) für die von der Content-Crew erzeugten Ratgeber und Muster.
   Konzept: Marketing/Ausbau/Ausbau Bewerbungsassistent/Ausbau Webbaukasten Ratgeberseiten Content.docx
   Gebaut von Agenten/Veroeffentlichung-A6/veroeffentlichung.py (_ratgeber_koerper). Nur Variablen aus
   /style.css, damit Hell- und Dunkelmodus ohne eigene Regeln mitgehen. Bei jeder Änderung den ?v= in
   RATGEBER_CSS (veroeffentlichung.py) hochzählen und die Seiten neu rendern (nginx cacht ?v= ein Jahr). */

/* Lesefläche: Editorial statt Dashboard, begrenzte Zeilenlänge */
.rg-wrap{max-width:780px}
.rg-artikel p,.rg-artikel li{max-width:68ch}
.rg-artikel h2{font-family:var(--font-head);font-size:24px;line-height:1.25;letter-spacing:-.01em;margin:2em 0 .6em}
.rg-artikel h3{font-family:var(--font-head);font-size:18px}
.rg-artikel section{scroll-margin-top:80px}  /* Seitenkopf bleibt beim Scrollen oben (62 px) */
.rg-kopf h1{margin-bottom:.3em}
.rg-kopf .note{margin:0 0 4px;font-size:14px;color:var(--text-dim)}

/* Kurzantwort: helles Grün nur hier und für Hinweise */
.rg-kurz{background:var(--accent-sft);border:1px solid var(--border-st);border-left:4px solid var(--accent);
  border-radius:var(--radius-sm);padding:16px 20px;margin:22px 0}
.rg-kurz p{margin:0;font-size:17px;max-width:none}

/* Inhaltsübersicht */
.rg-toc{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 20px 12px;margin:0 0 8px}
.rg-toc-titel{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim)}
.rg-toc ol{margin:0;padding-left:1.3em}
.rg-toc li{margin:0;padding:5px 0;max-width:none;line-height:1.45}  /* Zeilen + Abstand = Touch-Ziel */
.rg-toc li::marker{color:var(--text-dim);font-size:14px}
/* inline (nicht inline-block): sonst steht die Nummer bei zweizeiligen Einträgen neben der letzten Zeile */

/* Schrittfolge: nummerierte Kreise */
.rg-schritte{list-style:none;counter-reset:rg-schritt;padding:0;margin:16px 0}
.rg-schritte li{counter-increment:rg-schritt;position:relative;padding:2px 0 2px 46px;margin:0 0 14px;min-height:32px}
.rg-schritte li::before{content:counter(rg-schritt);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;
  background:var(--accent);color:var(--btn-fg);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}

/* Tipps und Fehler: zwei ruhige Listen, keine Warnbox */
.rg-punkte,.rg-fehler{list-style:none;padding:0;margin:14px 0}
.rg-punkte li,.rg-fehler li{position:relative;padding-left:28px;margin:0 0 10px}
.rg-punkte li::before{content:"";position:absolute;left:4px;top:.55em;width:12px;height:7px;
  border-left:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);transform:rotate(-45deg)}
.rg-fehler li::before{content:"\2715";position:absolute;left:3px;top:0;color:var(--text-dim);font-size:14px;font-weight:700}

/* Muster- und Beispielkästen (<figure>, Kopierknopf aus js/kopieren.js) */
.rg-artikel figure.muster{margin:12px 0 22px}

/* Häufige Fragen: Kasten aus /style.css (.faq) */
.rg-artikel .faq{margin-top:10px}

/* Verwandte Themen: höchstens drei Karten */
.rg-verwandt .related{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}
.rg-verwandt .related li{max-width:none}
.rg-verwandt .related a{display:block;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:12px 16px;font-weight:600;transition:border-color var(--dur-hover) var(--ease-out)}
.rg-verwandt .related a:hover{border-color:var(--accent);text-decoration:none}
.rg-verwandt .related a::after{content:" \2192";color:var(--text-dim)}

/* Produktzone: ein primärer, ein sekundärer CTA */
.rg-produkt{background:var(--bg2);border:1px solid var(--border-st);border-radius:var(--radius);padding:24px;margin:40px 0 8px}
.rg-produkt h2{font-family:var(--font-head);font-size:22px;margin:0 0 .5em}
.rg-produkt>p{max-width:68ch}
.rg-kacheln{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rg-kacheln li{background:var(--bg3);border-radius:var(--radius-sm);padding:14px 16px;font-size:15px}
.rg-kacheln b{display:block;margin-bottom:4px;color:var(--text)}
.rg-kacheln span{color:var(--text-dim)}
.rg-aktionen{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:6px}
.rg-sekundaer{font-weight:600}
.rg-sekundaer::after{content:" \2192"}
.rg-start{margin:12px 0 0;font-size:14px;color:var(--text-dim)}
.rg-ende{margin-top:24px}

@media (max-width:640px){
  .rg-artikel h2{font-size:21px}
  .rg-kacheln{grid-template-columns:1fr}
  .rg-produkt{padding:20px 18px}
  .rg-aktionen .btn{width:100%;text-align:center}
}
