/* ============================================================
   LexMart — Ratgeber
   Ergänzt lexmart.css + lexmart-blog.css + lexmart-muster.css.
   Tiefe Gliederung: Überschriften unter Überschriften, Normleisten,
   Checklisten, Hinweise.  Orange · Schwarz · Weiß · Instrument Sans
   ============================================================ */

/* mehrgliedrige Kapitel — Überschriften unter Überschriften */
.rg-chapter h3{font-size:clamp(16.5px,1.3vw,19px);margin:30px 0 11px;letter-spacing:-.015em;color:var(--ink);}
.rg-chapter h3:first-child{margin-top:0;}
.rg-chapter h4{font-size:14.5px;font-weight:700;margin:22px 0 8px;color:var(--ink);letter-spacing:-.005em;}
.rg-chapter h4 .nr,.rg-chapter h3 .nr{color:var(--orange);font-variant-numeric:tabular-nums;font-weight:700;margin-right:8px;}
.rg-chapter p:last-child{margin-bottom:0;}

/* Normleiste (Block-Verweis auf Fundstellen) */
.rg-norm{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:600;letter-spacing:.01em;
  color:var(--orange-700);background:var(--orange-50);border:1px solid var(--orange-100);border-radius:8px;padding:6px 12px;margin:2px 0 14px;}
.rg-norm .ico{width:15px;height:15px;flex:none;}

/* Checkliste */
.rg-check{list-style:none!important;padding-left:0!important;margin:6px 0 20px!important;display:flex;flex-direction:column;gap:0;}
.rg-check li{position:relative;padding:11px 0 11px 34px!important;border-bottom:1px solid var(--line-2);font-size:14.5px;line-height:1.55;color:var(--ink-2);margin:0!important;}
.rg-check li:last-child{border-bottom:0;}
.rg-check li::before{content:"";position:absolute;left:2px;top:13px;width:18px;height:18px;border-radius:5px;
  background:var(--orange-50);border:1.5px solid var(--orange);
  -webkit-mask:none;mask:none;}
.rg-check li::after{content:"";position:absolute;left:7px;top:16px;width:8px;height:5px;border-left:2px solid var(--orange);border-bottom:2px solid var(--orange);transform:rotate(-45deg);}

/* nummerierte Schritt-Liste */
.rg-steps{counter-reset:step;list-style:none!important;padding-left:0!important;margin:8px 0 20px!important;display:flex;flex-direction:column;gap:12px;}
.rg-steps li{position:relative;padding-left:46px!important;min-height:32px;font-size:14.5px;line-height:1.6;color:var(--ink-2);margin:0!important;}
.rg-steps li::before{counter-increment:step;content:counter(step) ".";position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;
  background:var(--orange);color:#fff;font-size:14px;font-weight:700;display:grid;place-items:center;font-variant-numeric:tabular-nums;}
.rg-steps li strong{color:var(--ink);}

/* Definition / Begriff */
.rg-def{border-left:3px solid var(--orange);background:var(--paper-2);padding:14px 18px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin:18px 0;}
.rg-def b{color:var(--ink);}
.rg-def p{margin:0!important;font-size:14.5px!important;line-height:1.6;color:var(--ink-2);}

/* Warnhinweis (Frist / Risiko) */
.rg-warn{display:flex;gap:14px;padding:16px 18px;background:#FDF3F0;border:1px solid #F3CDC2;border-left:4px solid #D9542B;border-radius:var(--radius-sm);margin:24px 0;}
.rg-warn .ico{width:22px;height:22px;flex:none;color:#C0421E;margin-top:2px;}
.rg-warn p{margin:0!important;font-size:15px!important;line-height:1.55;color:var(--ink-2);}
.rg-warn strong{color:#A8381A;}

/* Vergleichstabelle */
.rg-table{width:100%;border-collapse:collapse;margin:10px 0 22px;font-size:15px;}
.rg-table th,.rg-table td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5;}
.rg-table th{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3);background:var(--paper-2);}
.rg-table td{color:var(--ink-2);}
.rg-table tr:last-child td{border-bottom:0;}
.rg-table td:first-child{font-weight:600;color:var(--ink);white-space:nowrap;}
/* Mobil: erste Spalte umbrechen lassen, damit die Tabelle ohne
   horizontales Scrollen in die Breite des Telefons passt */
@media(max-width:560px){
  /* breitere (3–4-spaltige) Tabellen werden horizontal scrollbar,
     statt am Rand abgeschnitten zu werden (overflow-x:clip des Dokuments) */
  .rg-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:14px;}
  .rg-table th,.rg-table td{padding:9px 10px;}
  .rg-table td:first-child{white-space:normal;}
}

/* inline cross link within prose */
.rg-chapter a.rg-link{color:var(--orange);font-weight:600;border-bottom:1px solid var(--orange-100);}
.rg-chapter a.rg-link:hover{border-color:var(--orange);}

/* FAQ — längere Antworten nicht abschneiden (überschreibt lexmart.css 600px) */
.art-faq .faq-item.open .faq-a{max-height:4000px;}
/* FAQ — ausführlich (übernimmt blog.css Grundstil, ergänzt Listen) */
.art-faq .faq-a-inner .faq-h{display:block;font-weight:600;color:var(--ink);margin:4px 0 8px;font-size:15px;}
.art-faq .faq-a-inner ol,.art-faq .faq-a-inner ul{margin:4px 0 12px;padding-left:22px;display:flex;flex-direction:column;gap:7px;}
.art-faq .faq-a-inner li{font-size:15px;line-height:1.55;color:var(--ink-2);}

/* Literatur als PDF-Download-Liste */
.jur-box ul.lit-list{list-style:none!important;padding:0!important;margin:14px 0 0!important;display:flex;flex-direction:column;}
.jur-box ul.lit-list li{margin:0!important;padding:0!important;}
.jur-box ul.lit-list li::before{display:none!important;content:none!important;}
.jur-box ul.lit-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);color:var(--ink-2);text-decoration:none;font-weight:500;line-height:1.45;transition:.15s;}
.jur-box ul.lit-list li:first-child a{border-top:0;}
.jur-box ul.lit-list a:hover{color:var(--orange);}
.lit-pdf{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--orange-700);white-space:nowrap;flex:none;}
.lit-pdf svg{width:14px;height:14px;flex:none;}
/* Auto-Glossarverlinkung im Fließtext */
.blog-body a.rg-glosslink,.faq-a-inner a.rg-glosslink{color:var(--orange-700);font-weight:600;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:var(--orange-100);}
.blog-body a.rg-glosslink:hover,.faq-a-inner a.rg-glosslink:hover{color:var(--orange);text-decoration-color:var(--orange);}

/* Hero-Chips vollständig im Bild halten (Icon links sichtbar, „2026" rechts nicht abgeschnitten) */
.ms-visual .ms-chip-float--tl{top:6%;left:4%;}
.ms-visual .ms-chip-float--br{bottom:7%;right:4%;}

/* LexMart-Logo oben rechts im Ratgeber-Hero-Sheet */
.ms-sheet__logo{display:inline-flex;align-items:center;gap:7px;}
.ms-sheet__logo .logo__star{width:20px;height:20px;color:var(--orange);}
.ms-sheet__logoword{font-weight:700;font-size:15px;letter-spacing:-.01em;color:var(--orange);text-transform:uppercase;line-height:1;}
.ms-sheet__logo--head .logo__star{width:18px;height:18px;}

/* Tipp der Redaktion: kompakt wie auf der Rechtsgebiete-Unterseite */
.rg-chapter .tipp{gap:14px;padding:13px 18px 15px;margin:18px 0;align-items:flex-start;}
.rg-chapter .tipp__ico{width:20px;height:20px;background:none;border-radius:0;color:var(--orange);margin-top:0;}
.rg-chapter .tipp__ico svg{width:20px;height:20px;stroke:var(--orange);}
.rg-chapter .tipp__body{margin-top:-1px;}
.rg-chapter .tipp__body h4{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-700);margin:0 0 4px;line-height:1;}
.rg-chapter .tipp__body p{font-size:14.5px!important;color:var(--ink-2);line-height:1.55;margin:0!important;}
