/* =====================================================================================================
   inhalt.css — Bausteine für Inhalts- und Ratgeberseiten (Pilot 30.11.2026)
   Eingebunden nur auf /immobilienbewertung-regensburg/, /geerbte-immobilie-verkaufen-regensburg/ und
   /ratgeber-immo-geerbt/ (Vorlage für die übrigen Ratgeber). Keine neuen Farben, keine neuen Schriften:
   Hausfarben aus style.css, Hanken Grotesk (Display) und Inter (Text) wie im Rest der Website. Keine Mono-Schrift:
   Adis 30.11.2026 „kryptische Schrift passt nicht zu Immobilien“. Kleine Überschriften im Stil der Startseiten-Eyebrow.

   Aufbau einer Seite:
     <body class="ih-body"> … <main class="ih-seite">
       Seitenkopf .ih-hero (Vollbild mit Verlauf wie Startseite und Marktmonitor; Kopfzeile .nav--hero darüber)
       <div class="ih-raster container">  nav.ih-nav (Desktop, mitlaufend) + div.ih-inhalt
         .ih-kurz (Kurz gesagt) · details.ih-navklapp (Handy) · section.ih-abschnitt …
         Bänder über die volle Breite: .ih-voll (+ .ih-dunkel, .ih-buehne, .ih-split, .ih-bildband)
       Abschluss .ib-schluss, danach Weiterlesen.
   Bausteine: .ih-hero (Kopf mit Vollbild), .ih-norm/.ih-normen (Paragraphen dezent), .ih-weiche (Weichensteller), .ih-fristen + .ih-lineal
   (Fristen-Zeitstrahl), .ih-baum (Entscheidungsweg), .mm-teil (Preis-Kachel wie im Marktmonitor),
   .ih-daten (Zahlenzeilen), .ih-schritte, .ih-spalten, .ih-faktoren; FAQ .rg-faq, Tabellen .rg-tabelle.
   ===================================================================================================== */

/* style.css setzt body{overflow-x:hidden} bei html{overflow-x:clip}: body wird dadurch zum Scroll-Container,
   und nichts darf mehr „kleben“ (auch die Kopfzeile nicht). clip schneidet genauso ab, ohne Scroll-Container. */
.ih-body { overflow-x: clip; }

.ih-seite {
  --ih-ink: var(--clr-darker);
  --ih-linie: var(--clr-sand);
  --ih-nav: 196px;
  --ih-gap: clamp(40px, 4.4vw, 72px);
  --ih-rand: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
  --ih-abstand: clamp(64px, 7.5vw, 108px);
  --mm-ink: #1c1a17;
  --mm-schatten: 0 24px 60px rgba(28,26,23,.16);
}
.ih-seite :is(a, button, summary):focus-visible { outline: 3px solid var(--clr-burgundy); outline-offset: 3px; border-radius: 4px; }
.ih-seite .ih-dunkel :is(a, button, summary):focus-visible,
.ih-seite .ib-schluss :is(a, button):focus-visible { outline-color: #fff; }

/* ── Schrift-Bausteine ─────────────────────────────────────────────────────────────────────────────── */
.ih-marke { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--font-body); font-size: .74rem; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--clr-muted); }
.ih-marke::before { content: ""; flex: 0 0 24px; height: 1px; background: currentColor; opacity: .55; }
.ih-h2 { margin: 0 0 20px; max-width: 21em; font-size: clamp(1.75rem, 1.1rem + 1.75vw, 2.55rem); line-height: 1.08; letter-spacing: -.025em; }
.ih-h3 { margin: 0 0 10px; font-size: clamp(1.15rem, 1rem + .4vw, 1.32rem); line-height: 1.25; letter-spacing: -.01em; }
.ih-lead { max-width: 62ch; margin: 0 0 1rem; font-size: clamp(1.03rem, .98rem + .2vw, 1.12rem); line-height: 1.65; color: var(--clr-dark); }
:where(.ih-text) :where(p, li) { max-width: 68ch; color: var(--clr-muted); overflow-wrap: break-word; }
:where(.ih-text) :where(p) strong, .ih-lead strong { color: var(--ih-ink); }
.ih-text a:not(.btn), .ih-lead a, .ih-fall a:not(.btn), .ih-weg a, .rg-faq__a a { color: var(--clr-burgundy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ih-kern { max-width: 30em; margin: 30px 0; padding-left: 20px; border-left: 3px solid var(--ih-ink); font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.18rem, 1rem + .55vw, 1.42rem); line-height: 1.35; letter-spacing: -.01em; color: var(--ih-ink); }
.ih-klein { font-size: .86rem; line-height: 1.6; color: var(--clr-muted); }
.ih-wort { display: inline-block; }

/* Paragraphen dezent: klein und grau im Satz, als Zeile unter einem Absatz */
.ih-norm { font-size: .88em; color: var(--clr-muted); white-space: nowrap; }
.ih-dunkel .ih-norm { color: rgba(255,255,255,.62); }
.ih-normen { margin: 12px 0 0; font-size: .82rem; line-height: 1.5; color: var(--clr-muted); }

/* ── Raster: mitlaufende Seitennavigation links, Inhalt rechts ─────────────────────────────────────── */
.ih-raster { display: grid; grid-template-columns: var(--ih-nav) minmax(0, 1fr); column-gap: var(--ih-gap); align-items: start; }
.ih-inhalt { min-width: 0; }
.ih-nav { position: relative; z-index: 3; margin-top: var(--ih-abstand); padding-bottom: 40px; transition: opacity .2s ease, visibility .2s ease; }
html.ih-js .ih-nav { position: sticky; top: calc(var(--nav-height) + 28px); }
.ih-nav--verdeckt { opacity: 0; visibility: hidden; }
.ih-nav ul, .ih-navklapp ul { margin: 0; padding: 0; list-style: none; }
.ih-nav li a { display: block; padding: 7px 0 7px 16px; border-left: 2px solid var(--clr-border); font-size: .9rem; line-height: 1.4; color: var(--clr-muted); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.ih-nav li a:hover { color: var(--ih-ink); border-left-color: var(--ih-linie); }
.ih-nav li a[aria-current="true"] { color: var(--ih-ink); font-weight: 600; border-left-color: var(--clr-burgundy); }
.ih-nav__cta { display: inline-block; margin: 22px 0 0 16px; font-family: var(--font-heading); font-weight: 700; font-size: .92rem; color: var(--clr-burgundy); text-decoration: none; }
.ih-nav__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.ih-navklapp { display: none; }
@media (max-width: 1099px) {
  .ih-raster { display: block; }
  .ih-nav { display: none; }
  .ih-navklapp { display: block; margin: 0 0 8px; border: 1px solid var(--clr-border); border-radius: 12px; background: #fff; }
  .ih-navklapp summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--font-body); font-size: .74rem; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--ih-ink); }
  .ih-navklapp summary::-webkit-details-marker { display: none; }
  .ih-navklapp summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--clr-burgundy); }
  .ih-navklapp[open] summary::after { content: "–"; }
  .ih-navklapp li a { display: block; padding: 11px 18px; border-top: 1px solid var(--clr-border); font-size: .95rem; color: var(--ih-ink); text-decoration: none; }
}

/* ── Abschnitte und Bänder ─────────────────────────────────────────────────────────────────────────── */
.ih-abschnitt { padding: calc(var(--ih-abstand) * .72) 0; border-top: 1px solid var(--clr-border); scroll-margin-top: calc(var(--nav-height) + 12px); }
.ih-kurz + .ih-abschnitt, .ih-navklapp + .ih-abschnitt, .ih-voll + .ih-abschnitt, .ih-abschnitt--ohne-linie { border-top: 0; }
.ih-abschnitt > :last-child { margin-bottom: 0; }
[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

/* volle Breite aus der Inhaltsspalte heraus; der Inhalt nutzt dann das ganze Raster (Navigation blendet aus) */
.ih-voll { margin-left: calc(-1 * (var(--ih-rand) + var(--ih-nav) + var(--ih-gap))); margin-right: calc(-1 * var(--ih-rand)); padding: var(--ih-abstand) var(--ih-rand); }
@media (max-width: 1099px) { .ih-voll { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; } }
.ih-dunkel { background: var(--ih-ink); color: rgba(255,255,255,.84); }
.ih-dunkel :is(h2, h3) { color: #fff; }
.ih-dunkel .ih-marke { color: rgba(255,255,255,.62); }
.ih-dunkel .ih-lead { color: rgba(255,255,255,.84); }
.ih-dunkel .ih-lead a, .ih-dunkel .ih-klein a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.ih-dunkel .ih-normen { color: rgba(255,255,255,.55); }
.ih-dunkel .ih-klein { color: rgba(255,255,255,.62); }

/* ── Kurz gesagt: die Antwort zuerst ───────────────────────────────────────────────────────────────── */
.ih-kurz { padding: var(--ih-abstand) 0 calc(var(--ih-abstand) * .75); }
.ih-kurz__text p { max-width: 38em; margin: 0 0 .9em; font-size: clamp(1.1rem, .98rem + .5vw, 1.32rem); line-height: 1.58; color: var(--ih-ink); }
.ih-kurz__text p:last-child { margin-bottom: 0; }
.ih-kurz__text p + p { font-size: clamp(1rem, .96rem + .2vw, 1.08rem); color: var(--clr-dark); }
.ih-kurz__text strong { font-weight: 700; }
@media (max-width: 1099px) { .ih-kurz { padding: clamp(40px, 8vw, 64px) 0 28px; } }

/* ── Weichensteller „Wofür brauchen Sie den Wert?“ ─────────────────────────────────────────────────── */
.ih-weiche { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.ih-weiche .ih-h2 { max-width: 12em; }
.ih-weiche__wahl { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.ih-weiche__wahl[hidden] { display: none; }
.ih-weiche__knopf { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 15px 4px 15px 28px; border-bottom: 1px solid rgba(255,255,255,.16); text-align: left; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.3; color: rgba(255,255,255,.72); transition: color .15s ease; }
.ih-weiche__knopf::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; }
.ih-weiche__knopf::after { content: "→"; font-family: var(--font-body); font-weight: 400; opacity: 0; transition: opacity .15s ease; }
.ih-weiche__knopf:hover { color: #fff; }
.ih-weiche__knopf[aria-pressed="true"] { color: #fff; }
.ih-weiche__knopf[aria-pressed="true"]::before { border-color: #fff; background: #fff; box-shadow: 0 0 0 3px var(--clr-burgundy); }
.ih-weiche__knopf[aria-pressed="true"]::after { opacity: 1; }
.ih-weiche__faelle { display: grid; gap: 18px; }
.ih-weiche--an .ih-fall:not(.ist-gewaehlt) { display: none; }
.ih-weiche--an .ist-gewaehlt { animation: ih-ein .28s ease both; }
@keyframes ih-ein { from { opacity: 0; transform: translateY(6px); } }

/* Antwortkarte des Weichenstellers: klare Überschrift, ruhige Zeilenliste */
.ih-fall { overflow: hidden; border-radius: 18px; background: #fff; color: var(--clr-dark); box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.ih-fall__koerper { padding: 26px 26px 28px; }
.ih-fall__titel { margin: 0 0 12px; max-width: 22em; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.35rem, 1.05rem + .95vw, 1.85rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ih-ink); }
.ih-dunkel .ih-fall__titel { color: var(--ih-ink); }
.ih-fall__grund { margin: 0 0 22px; max-width: 54ch; font-size: .98rem; line-height: 1.65; color: var(--clr-muted); }
.ih-fall__daten { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); margin: 0; border-top: 1px solid var(--clr-border); }
.ih-fall__daten dt { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--clr-border); font-size: .88rem; font-weight: 600; line-height: 1.5; color: var(--clr-muted); }
.ih-fall__daten dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--clr-border); font-size: .95rem; line-height: 1.55; color: var(--ih-ink); overflow-wrap: break-word; }
.ih-fall__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.ih-fall__fuss .btn { white-space: normal; }
@media (max-width: 899px) {
  .ih-weiche { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ih-weiche__wahl { margin-top: 18px; }
}
@media (max-width: 480px) {
  .ih-fall__koerper { padding: 22px 18px 24px; }
  .ih-fall__daten { grid-template-columns: minmax(0, 1fr); }
  .ih-fall__daten dt { padding: 12px 0 0; border-bottom: 0; }
  .ih-fall__daten dd { padding: 2px 0 12px; }
}

/* ── Fristen-Zeitstrahl ────────────────────────────────────────────────────────────────────────────── */
.ih-lineal { position: relative; height: 96px; margin: 44px 56px 0 0; }
.ih-lineal::before { content: ""; position: absolute; left: 0; right: 0; top: 56px; height: 2px; background: linear-gradient(90deg, #fff, rgba(255,255,255,.28)); }
.ih-lineal__punkt { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); font-family: var(--font-heading); font-size: clamp(.95rem, .78rem + .45vw, 1.15rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: #fff; white-space: nowrap; text-align: center; }
.ih-lineal__punkt small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ih-lineal__punkt::after { content: ""; position: absolute; left: 50%; top: 49px; width: 16px; height: 16px; margin-left: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--ih-ink); }
.ih-lineal__punkt--start { transform: none; text-align: left; }
.ih-lineal__punkt--start::after { left: 0; margin-left: 0; background: #fff; }
.ih-lineal__hinweis { margin: 0 56px 0 0; text-align: right; font-size: .74rem; color: rgba(255,255,255,.5); }
.ih-fristen__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); margin: 18px 0 0; padding: 0; list-style: none; }
.ih-frist { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.ih-frist .ih-frist__dauer { margin: 0 0 12px; font-family: var(--font-heading); font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.ih-frist .ih-frist__dauer small { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; font-size: .8rem; color: rgba(255,255,255,.55); }
.ih-frist h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.3; }
.ih-frist p { margin: 0; font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.76); overflow-wrap: break-word; }
.ih-frist p + p { margin-top: 10px; }
/* ausführlich (Ratgeber): Zeilen statt Spalten, weil die Texte Lesebreite brauchen */
.ih-fristen--ausfuehrlich .ih-fristen__liste { grid-template-columns: minmax(0, 1fr); }
.ih-fristen--ausfuehrlich .ih-frist { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; }
.ih-fristen--ausfuehrlich .ih-frist__inhalt p { max-width: 66ch; font-size: .98rem; }
.ih-fristen--ausfuehrlich .ih-frist h3 { font-size: 1.22rem; }
@media (max-width: 1099px) { .ih-fristen__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ih-frist { padding-bottom: 28px; } }
@media (max-width: 759px) {
  .ih-lineal, .ih-lineal__hinweis { display: none; }
  .ih-fristen__liste, .ih-fristen--ausfuehrlich .ih-fristen__liste { grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
  .ih-frist, .ih-fristen--ausfuehrlich .ih-frist { position: relative; display: block; padding: 0 0 28px 30px; border-top: 0; }
  .ih-frist::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--ih-ink); }
  .ih-frist:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 2px; background: rgba(255,255,255,.28); }
  .ih-frist .ih-frist__dauer { margin-bottom: 8px; }
}

/* ── Entscheidungsweg (Erbengemeinschaft) ──────────────────────────────────────────────────────────── */
.ih-baum { margin: 40px 0 0; text-align: center; }
.ih-baum__frage { display: inline-block; margin: 0; padding: 12px 22px; border: 2px solid var(--ih-ink); border-radius: 999px; background: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--ih-ink); }
.ih-baum__frage--wurzel { background: var(--ih-ink); color: #fff; font-size: 1.15rem; }
.ih-baum__antwort { margin: 10px 0 10px; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clr-muted); }
.ih-baum__zweige, .ih-baum__ziele { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 26px; }
.ih-baum__ziele { gap: 14px; }
.ih-baum__zweige::before, .ih-baum__ziele::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 26px; border: 2px solid var(--ih-linie); border-bottom: 0; border-radius: 16px 16px 0 0; }
.ih-baum__ziele::before { left: calc(25% - 3px); right: calc(25% - 3px); }
.ih-baum__zweige::after { content: ""; position: absolute; top: -2px; left: 50%; width: 2px; height: 2px; }
.ih-baum__zweig, .ih-baum__ziel { min-width: 0; }
.ih-baum__ziel { display: flex; flex-direction: column; }
.ih-weg { flex: 1; text-align: left; padding: 20px 20px 18px; border-radius: 16px; background: var(--clr-light); }
.ih-weg h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.3; }
.ih-weg__name { display: block; margin: 0 0 8px; font-family: var(--font-body); font-size: .74rem; font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--clr-muted); }
.ih-weg p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--clr-dark); overflow-wrap: break-word; }
.ih-weg--letztes { background: #fff; border: 1px dashed var(--ih-linie); }
@media (max-width: 899px) {
  .ih-baum { text-align: left; }
  .ih-baum__zweige, .ih-baum__ziele { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .ih-baum__zweige::before, .ih-baum__ziele::before { display: none; }
  .ih-baum__zweig, .ih-baum__ziel { margin-left: 12px; padding: 4px 0 14px 18px; border-left: 2px solid var(--ih-linie); }
  .ih-baum__zweig + .ih-baum__zweig { margin-top: 6px; }
  .ih-baum__frage { border-radius: 14px; }
}

/* ── Preis-Kacheln wie im Marktmonitor (Hülle .mm-teil aus marktmonitor/vorlage.php, gleiche Maße) ── */
.mm-zahl { font-variant-numeric: tabular-nums; }
.mm-teile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mm-teil { display: flex; flex-direction: column; padding: 24px 26px 22px; background: #fff; border-radius: 20px; box-shadow: var(--mm-schatten); }
.mm-teil__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.mm-teil h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--mm-ink); line-height: 1.25; }
.mm-teil__n { flex-shrink: 0; font-size: .8rem; color: var(--clr-muted); }
.mm-teil__art { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-muted); }
.mm-teil__wert { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; color: var(--mm-ink); }
.mm-teil__wert b { font-family: var(--font-heading); font-size: clamp(2.3rem, 1.6rem + 1.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.mm-teil__wert .mm-einheit { font-size: 1rem; font-weight: 600; color: var(--clr-muted); }
.mm-teil__skala { position: relative; height: 6px; margin: 16px 0 18px; border-radius: 100px; }
.mm-teil__skala i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--mm-ink); transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.mm-teil__neben { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 4px; padding-top: 14px; border-top: 1px solid var(--clr-border); font-size: .92rem; color: var(--clr-muted); }
.mm-teil__neben b { font-size: 1.02rem; font-weight: 800; color: var(--mm-ink); white-space: nowrap; }
@media (max-width: 1100px) { .mm-teil__kopf { flex-direction: column; gap: 2px; } }
@media (max-width: 960px) { .mm-teil { padding: 20px 20px 18px; } .mm-teil__neben { flex-direction: column; align-items: flex-start; gap: 2px; } }
@media (max-width: 760px) {
  .mm-teile { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mm-teil { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 18px 18px 16px; border-radius: 18px; }
  .mm-teil__kopf { grid-column: 1 / -1; flex-direction: row; margin-bottom: 12px; }
  .mm-teil__art, .mm-teil__wert, .mm-teil__skala { grid-column: 1; }
  .mm-teil__wert b { font-size: 2.2rem; }
  .mm-teil__skala { margin: 12px 0 0; }
  .mm-teil__neben { grid-column: 2; grid-row: 2 / 5; flex-direction: column; justify-content: flex-end; align-items: flex-end; gap: 2px; margin: 0; padding: 0; border: 0; text-align: right; font-size: .8rem; }
}
/* kompakt auf hellem Grund (Erbfall-Seite): Rahmen statt großem Schatten */
.ih-markt-kompakt .mm-teil { box-shadow: none; border: 1px solid var(--clr-border); }
.ih-markt__fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: 18px; }
.ih-markt__fuss .ih-klein { margin: 0; max-width: 72ch; }
.ih-pfeil { font-family: var(--font-heading); font-weight: 700; color: var(--clr-burgundy); text-decoration: none; white-space: nowrap; }
.ih-pfeil:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Bühne: Regensburg-Foto über die volle Breite, die Kacheln stehen auf der Bildkante (wie im Marktmonitor) */
.ih-buehne { position: relative; isolation: isolate; padding-bottom: 0; background: #fff; }
.ih-buehne__bild { position: absolute; left: 0; right: 0; top: 0; bottom: 170px; z-index: -2; margin: 0; }
.ih-buehne__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% 62%; }
.ih-buehne::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 170px; z-index: -1; background:
  linear-gradient(90deg, rgba(28,26,23,.93) 0%, rgba(28,26,23,.82) 34%, rgba(28,26,23,.4) 62%, rgba(28,26,23,.12) 86%),
  linear-gradient(180deg, rgba(28,26,23,.2) 0%, rgba(28,26,23,0) 30%, rgba(28,26,23,0) 60%, rgba(28,26,23,.6) 100%); }
.ih-buehne__kopf { max-width: 36em; padding-bottom: 46px; color: rgba(255,255,255,.86); }
.ih-buehne__kopf .ih-h2 { color: #fff; }
.ih-buehne__kopf .ih-lead { color: rgba(255,255,255,.86); }
.ih-buehne__kopf .ih-lead a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.ih-buehne__kopf .ih-marke { color: rgba(255,255,255,.7); }
.ih-buehne .mm-teile + .ih-markt__fuss { padding-bottom: calc(var(--ih-abstand) * .55); }
@media (max-width: 760px) { .ih-buehne__bild, .ih-buehne::before { bottom: 300px; } .ih-buehne__kopf { padding-bottom: 32px; } }

/* zwei Zahlen, die die Aussage sind */
.ih-kennzahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0; max-width: 760px; }
.ih-kennzahl { margin: 0; padding: 18px 0 0; border-top: 2px solid var(--ih-ink); }
.ih-kennzahl b { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); line-height: 1; letter-spacing: -.03em; color: var(--ih-ink); font-variant-numeric: tabular-nums; }
.ih-kennzahl b small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-right: 4px; }
.ih-kennzahl span { display: block; margin-top: 8px; font-size: .92rem; line-height: 1.5; color: var(--clr-muted); }
@media (max-width: 520px) { .ih-kennzahlen { grid-template-columns: minmax(0, 1fr); gap: 4px; } .ih-kennzahl { padding: 16px 0; } }

/* ── Zahlenzeilen (Gebühren, Freibeträge) ─────────────────────────────────────────────────────────── */
.ih-daten { max-width: 640px; margin: 22px 0 0; padding: 18px 22px 8px; border-radius: 16px; background: var(--clr-light); }
.ih-daten__titel { margin: 0 0 6px; font-size: .9rem; font-weight: 700; color: var(--ih-ink); }
.ih-daten dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; }
.ih-daten dt, .ih-daten dd { padding: 11px 0; border-bottom: 1px solid var(--ih-linie); }
.ih-daten dt { padding-right: 16px; font-size: .95rem; line-height: 1.45; color: var(--clr-dark); }
.ih-daten dd { margin: 0; font-family: var(--font-heading); font-size: 1.02rem; font-weight: 800; color: var(--ih-ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ih-daten dl > :nth-last-child(-n+2) { border-bottom: 0; }
.ih-daten__fuss { margin: 4px 0 10px; padding-top: 10px; border-top: 1px solid var(--ih-linie); font-size: .84rem; line-height: 1.55; color: var(--clr-muted); }

/* ── Spalten (drei Verfahren), Schritte, Faktoren ─────────────────────────────────────────────────── */
.ih-spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin: 36px 0 0; }
.ih-spalte { padding-top: 18px; border-top: 2px solid var(--ih-ink); }
.ih-spalte h3 { margin: 6px 0 10px; font-size: 1.12rem; line-height: 1.3; }
.ih-spalte p { margin: 0; font-size: .94rem; line-height: 1.65; color: var(--clr-muted); }
.ih-spalte__fuss { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--clr-border); font-size: .88rem !important; color: var(--clr-dark) !important; }
.ih-spalte__fuss a { color: var(--clr-burgundy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .ih-spalten { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

.ih-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin: 34px 0 0; padding: 0; list-style: none; }
.ih-schritt { padding-top: 16px; border-top: 2px solid var(--ih-ink); }
.ih-schritt__nr { display: block; margin-bottom: 10px; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--ih-ink); }
.ih-schritt h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; }
.ih-schritt p { margin: 0; font-size: .94rem; line-height: 1.65; color: var(--clr-muted); overflow-wrap: break-word; }
.ih-schritt a { color: var(--clr-burgundy); text-decoration: underline; text-underline-offset: 3px; }
/* lange Abläufe als Zeilen: Nummer · Titel · Text */
.ih-schritte--zeilen { grid-template-columns: minmax(0, 1fr); gap: 0; }
.ih-schritte--zeilen .ih-schritt { display: grid; grid-template-columns: 2.6em minmax(0, 13em) minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--clr-border); }
.ih-schritte--zeilen .ih-schritt:first-child { border-top: 2px solid var(--ih-ink); }
.ih-schritte--zeilen .ih-schritt__nr { margin: 3px 0 0; }
.ih-schritte--zeilen .ih-schritt h3 { margin: 0; }
@media (max-width: 899px) {
  .ih-schritte { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ih-schritte--zeilen { gap: 0; }
  .ih-schritte--zeilen .ih-schritt { grid-template-columns: 2.2em minmax(0, 1fr); }
  .ih-schritte--zeilen .ih-schritt p { grid-column: 2; }
}

.ih-faktoren { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 18px 0 0; padding: 0; list-style: none; }
.ih-faktoren li { padding: 13px 0; border-bottom: 1px solid var(--clr-border); font-size: .95rem; line-height: 1.55; color: var(--clr-muted); overflow-wrap: break-word; }
.ih-faktoren li strong { display: block; color: var(--ih-ink); font-family: var(--font-heading); font-size: 1rem; }
@media (max-width: 700px) { .ih-faktoren { grid-template-columns: minmax(0, 1fr); } }

/* Vermerk am Rand: Hinweis, der zum Abschnitt gehört */
.ih-notiz { max-width: 68ch; margin: 30px 0 0; padding: 20px 24px; border: 1px solid var(--clr-border); border-radius: 14px; background: #fff; }
.ih-notiz h3 { margin: 0 0 8px; font-size: 1.04rem; }
.ih-notiz p { margin: 0; font-size: .93rem; line-height: 1.7; color: var(--clr-muted); overflow-wrap: break-word; }
.ih-notiz p + p { margin-top: 10px; }
.ih-notiz a { color: var(--clr-burgundy); text-decoration: underline; text-underline-offset: 3px; }
.ih-notiz--sand { border: 0; background: var(--clr-light); }

/* ── Split: Bild bis an den Rand, Text daneben (Direktankauf) ─────────────────────────────────────── */
.ih-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 0; background: var(--clr-light); }
.ih-split__bild { margin: 0; min-height: 100%; }
.ih-split__bild img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 30% 40%; }
.ih-split__text { padding: var(--ih-abstand) clamp(24px, 5vw, 80px) var(--ih-abstand) clamp(28px, 4vw, 64px); max-width: 720px; }
.ih-split__text .check-list { margin: 18px 0 0; }
.ih-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ih-knoepfe .btn { white-space: normal; }
@media (max-width: 899px) {
  .ih-split { grid-template-columns: minmax(0, 1fr); }
  .ih-split__bild img { min-height: 0; aspect-ratio: 4 / 3; object-position: 30% 45%; }
  .ih-split__text { padding: 40px 24px 56px; }
}

/* ── Bildband über die volle Breite (Ratgeber) ─────────────────────────────────────────────────────── */
.ih-bildband { position: relative; padding: 0; }
.ih-bildband img { display: block; width: 100%; height: clamp(300px, 40vw, 560px); object-fit: cover; object-position: 50% 55%; }
.ih-bildband figcaption { position: absolute; left: var(--ih-rand); bottom: 22px; max-width: min(34em, calc(100% - 48px)); padding: 10px 14px; border-radius: 8px; background: rgba(40,40,40,.82); font-size: .84rem; line-height: 1.5; color: #fff; }
@media (max-width: 1099px) { .ih-bildband figcaption { left: 24px; } }
@media (max-width: 600px) { .ih-bildband figcaption { position: static; max-width: none; margin: 0; border-radius: 0; } }

/* ── Tabellen (aus den Seiten übernommen) ─────────────────────────────────────────────────────────── */
.rg-tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rg-tabelle th { text-align: left; padding: 13px 12px; border-bottom: 2px solid var(--ih-ink); font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clr-muted); vertical-align: bottom; }
.rg-tabelle td { padding: 13px 12px; border-bottom: 1px solid var(--clr-border); color: var(--clr-muted); vertical-align: top; line-height: 1.55; overflow-wrap: break-word; }
.rg-tabelle td:first-child { font-weight: 700; color: var(--ih-ink); }
.rg-tabelle tr:last-child td { border-bottom: 0; }
.rg-tabelle .rg-tabelle__wert { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ih-ink); font-variant-numeric: tabular-nums; }
.rg-tabelle__wrap { overflow-x: auto; margin-top: 24px; }
@media (max-width: 700px) {
  .rg-tabelle--karten thead { display: none; }
  .rg-tabelle--karten tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--clr-border); }
  .rg-tabelle--karten tr:last-child { border-bottom: 0; }
  .rg-tabelle--karten td { display: block; padding: 4px 0; border: 0; }
  .rg-tabelle--karten td[data-k]::before { content: attr(data-k); display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clr-muted); }
}
@media (max-width: 480px) { .rg-tabelle th, .rg-tabelle td { padding: 11px 8px; } .rg-tabelle .rg-tabelle__wert { white-space: normal; } }

/* ── Häufige Fragen: zu, nur <details> ────────────────────────────────────────────────────────────── */
.rg-faq__list { display: flex; flex-direction: column; margin-top: 30px; border-top: 2px solid var(--ih-ink); }
.rg-faq__item { border-bottom: 1px solid var(--clr-border); }
.rg-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.04rem; line-height: 1.4; color: var(--ih-ink); }
.rg-faq__item summary::-webkit-details-marker { display: none; }
.rg-faq__item summary::after { content: "+"; flex: 0 0 auto; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--clr-burgundy); }
.rg-faq__item[open] summary::after { content: "–"; }
.rg-faq__item summary:hover { color: var(--clr-burgundy); }
.rg-faq__a { max-width: 68ch; padding: 0 4px 22px; font-size: .96rem; line-height: 1.7; color: var(--clr-muted); overflow-wrap: break-word; }
@media (max-width: 560px) { .rg-faq__item summary { padding: 17px 2px; font-size: .98rem; } }

/* ── Weiterlesen: Zeilen statt Karten ─────────────────────────────────────────────────────────────── */
.ih-weiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 28px; }
.ih-weiter a { display: block; padding: 18px 0; border-top: 1px solid var(--clr-border); text-decoration: none; }
.ih-weiter__t { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.06rem; color: var(--ih-ink); }
.ih-weiter__t::after { content: " →"; color: var(--clr-burgundy); }
.ih-weiter__d { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.55; color: var(--clr-muted); }
.ih-weiter a:hover .ih-weiter__t { color: var(--clr-burgundy); }
@media (max-width: 700px) { .ih-weiter { grid-template-columns: minmax(0, 1fr); } }

/* ── Abschluss (Adis 30.11.2026: eigens gestaltet, mit Bild und Seitenbezug) ──────────────────────── */
.ib-schluss { position: relative; isolation: isolate; overflow: hidden; background: var(--clr-darker); color: #fff; padding: clamp(96px, 10vw, 148px) 0; }
.ib-schluss__hg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.ib-schluss__hg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.ib-schluss::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(28,26,23,.95) 0%, rgba(28,26,23,.9) 32%, rgba(28,26,23,.58) 58%, rgba(28,26,23,.34) 100%),
  linear-gradient(180deg, rgba(28,26,23,.5) 0%, rgba(28,26,23,0) 24%, rgba(28,26,23,0) 64%, rgba(28,26,23,.8) 100%); }
.ib-schluss__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
.ib-schluss__titel { margin: 0; max-width: 13em; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.95rem, 1.1rem + 2.5vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.22); }
.ib-schluss__titel span { display: block; color: rgba(255,255,255,.66); font-weight: 700; }
.ib-schluss__text p { margin: 22px 0 0; max-width: 34em; font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.65; color: rgba(255,255,255,.86); }
.ib-schluss__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.ib-schluss__knoepfe .btn { white-space: normal; }
.ib-personen { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }
.ib-personen__bilder { display: flex; flex-shrink: 0; }
.ib-personen__bilder img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.9); background: #fff; }
.ib-personen__bilder img + img { margin-left: -12px; }
.ib-schluss .ib-personen p { margin: 0; font-size: .92rem; line-height: 1.45; color: rgba(255,255,255,.75); }
.ib-personen b { display: block; font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: #fff; }
.ib-personen a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.ib-schluss__karte { justify-self: end; align-self: end; width: min(340px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ib-schluss__karte .mm-teil__skala i { display: none; }
.ib-schluss__karte .mm-teil__link { margin-top: 6px; font-family: var(--font-heading); font-weight: 700; color: var(--clr-burgundy); text-decoration: none; }
.ib-schluss__karte .mm-teil__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ib-schluss__karte :focus-visible { outline-color: var(--clr-darker) !important; }
@media (max-width: 900px) {
  .ib-schluss { padding: 0 0 clamp(64px, 10vw, 96px); }
  .ib-schluss__hg { position: relative; inset: auto; display: block; height: clamp(250px, 56vw, 420px); }
  .ib-schluss__hg img { object-position: 50% 22%; }
  .ib-schluss::before { inset: 0 0 auto 0; height: clamp(250px, 56vw, 420px); background: linear-gradient(180deg, rgba(28,26,23,.22) 0%, rgba(28,26,23,0) 28%, rgba(28,26,23,.42) 64%, var(--clr-darker) 100%); }
  .ib-schluss__raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ib-schluss__karte { order: -1; justify-self: start; align-self: start; width: 100%; max-width: 420px; margin: -92px 0 0; }
  .ib-schluss__text { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ih-nav, .ih-nav li a, .ih-weiche__knopf, .ih-weiche__knopf::after { transition: none; }
  .ih-weiche--an .ist-gewaehlt { animation: none; }
  html:has(.ih-seite) { scroll-behavior: auto; }
}

/* Entscheidungsweg über die volle Rasterbreite, ohne eigenen Grund (vier Wege brauchen Platz nebeneinander) */
.ih-baum-band { padding-top: 0; padding-bottom: 0; }
.ih-baum-band .ih-baum { max-width: 1152px; }
.ih-kennzahlen--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.ih-kennzahlen--vier .ih-kennzahl b { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
@media (max-width: 1000px) { .ih-kennzahlen--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ih-kennzahlen--vier { grid-template-columns: minmax(0, 1fr); } }

/* Notiz im dunklen Band */
.ih-dunkel .ih-notiz { margin-top: 36px; max-width: none; border-color: rgba(255,255,255,.2); background: transparent; }
.ih-dunkel .ih-notiz p { color: rgba(255,255,255,.76); max-width: 72ch; }
.ih-weg .ih-normen, .ih-frist .ih-normen, .ih-spalte .ih-normen { margin-top: 12px; }

/* Weichensteller am Handy: Auswahl als Schalter in Zeilen, damit der Vermerk früh im Blick ist */
@media (max-width: 899px) {
  .ih-weiche__wahl { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .ih-weiche__wahl[hidden] { display: none; }
  .ih-weiche__knopf { width: auto; padding: 9px 14px; border: 1.5px solid rgba(255,255,255,.34); border-radius: 999px; font-size: .95rem; }
  .ih-weiche__knopf::before, .ih-weiche__knopf::after { display: none; }
  .ih-weiche__knopf[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ih-ink); }
}

/* ── Seitenkopf: Vollbild, dunkler Verlauf, weiße Schrift (Muster: .v3-hero der Startseite, Bühne des Marktmonitors).
   Adis 30.11.2026: kein Sand oben, keine Etikett-Pille über der H1. Kopfzeile darüber ist .nav--hero (chrome.css). ── */
.ih-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 940px); background: #1c1a17; color: #fff; }
.ih-hero__bild { position: absolute; inset: 0; z-index: -2; margin: 0; }
.ih-hero__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--ih-fokus, 60% 45%); }
.ih-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(20,18,16,.88) 0%, rgba(20,18,16,.72) 30%, rgba(20,18,16,.3) 56%, rgba(20,18,16,0) 76%),
  linear-gradient(180deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,0) 20%, rgba(20,18,16,0) 58%, rgba(20,18,16,.62) 100%); }
.ih-hero__inhalt { width: 100%; padding-top: calc(var(--nav-height) + clamp(48px, 9vh, 120px)); padding-bottom: clamp(48px, 8vh, 92px); }
.ih-hero .breadcrumb { flex-wrap: wrap; row-gap: 2px; margin: 0 0 clamp(26px, 4vh, 44px); color: rgba(255,255,255,.72); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ih-hero .breadcrumb a, .ih-hero .breadcrumb span { color: rgba(255,255,255,.72); }
.ih-hero .breadcrumb a:hover { color: #fff; }
.ih-hero h1 { margin: 0; max-width: 11.5em; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.3rem, 1.3rem + 3vw, 4rem); line-height: 1.03; letter-spacing: -.03em; color: #fff; hyphens: manual; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.ih-hero h1 span { display: block; color: rgba(255,255,255,.7); }
.ih-hero__sub { max-width: 46ch; margin: 22px 0 30px; font-size: clamp(1.02rem, .94rem + .35vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.9); text-shadow: 0 1px 18px rgba(0,0,0,.45); }
.ih-hero__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ih-hero__cta { padding: 16px 28px; border-radius: 999px; font-size: 1rem; white-space: normal; box-shadow: 0 12px 30px rgba(146,69,69,.34); }
.ih-hero__zweit { display: inline-flex; align-items: center; padding: 15px 26px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: #fff; text-decoration: none; transition: background .2s ease; }
.ih-hero__zweit:hover { background: rgba(255,255,255,.2); color: #fff; }
.ih-hero__vertrauen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; font-size: .92rem; line-height: 1.45; color: rgba(255,255,255,.82); }
.ih-hero__google { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); text-decoration: none; }
.ih-hero__google .stars { color: #f0c14b; letter-spacing: 1px; }
.ih-hero__google strong { color: #fff; }
.ih-hero__personen { display: flex; align-items: center; gap: 12px; margin: 0; }
.ih-hero__avatare { display: flex; flex-shrink: 0; }
.ih-hero__avatare img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.9); background: #fff; }
.ih-hero__avatare img + img { margin-left: -12px; }
.ih-hero__personen b { display: block; font-family: var(--font-heading); font-weight: 800; color: #fff; }
.ih-hero__personen a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
/* Ratgeber: Autorenzeile direkt unter der H1 (Prüfstand ratgeber-autor-datum) */
.ih-hero .ph-head { max-width: 640px; }
.ih-hero .ph-head .ih-hero__personen { margin-top: 22px; }
/* Merkzettel-Link (von main.js eingefügt) kennt .nav--hero nicht: über dem Foto weiß wie auf der Startseite */
.nav--hero:not(.is-scrolled) .nav__merk, .nav--hero:not(.is-scrolled) .nav__merk-mobile { color: #fff; }
.nav--hero:not(.is-scrolled) .nav__merk svg, .nav--hero:not(.is-scrolled) .nav__merk-mobile svg { stroke: #fff; }
/* Bild mit Personen in der Mitte: ab 1000 px beginnt das Foto bei 34 %, links trägt Anthrazit den Text (wie Marktmonitor) */
@media (min-width: 1000px) {
  .ih-hero--rechts .ih-hero__bild { left: 34%; }
  .ih-hero--rechts::before { background:
    linear-gradient(90deg, #1c1a17 0%, #1c1a17 34%, rgba(28,26,23,.62) 42%, rgba(28,26,23,.14) 56%, rgba(28,26,23,0) 68%),
    linear-gradient(180deg, rgba(28,26,23,.45) 0%, rgba(28,26,23,0) 20%, rgba(28,26,23,0) 64%, rgba(28,26,23,.55) 100%); }
}
/* Handy (wie die Bühne des Marktmonitors): Foto als oberer Bildteil unter der transparenten Kopfzeile,
   der Text steht darunter auf Anthrazit – nichts liegt über Gesichtern, beide Knöpfe bleiben über dem Falz. */
@media (max-width: 760px) {
  .ih-hero { display: block; min-height: 0; }
  .ih-hero__bild { position: relative; inset: auto; height: clamp(230px, 38svh, 330px); }
  .ih-hero__bild img { object-position: var(--ih-fokus-handy, var(--ih-fokus, 60% 45%)); }
  .ih-hero::before { inset: 0 0 auto 0; height: clamp(230px, 38svh, 330px); background:
    linear-gradient(180deg, rgba(20,18,16,.6) 0%, rgba(20,18,16,.12) 30%, rgba(20,18,16,.2) 60%, #1c1a17 100%); }
  .ih-hero__inhalt { position: relative; margin-top: -34px; padding-top: 0; padding-bottom: 36px; }
  .ih-hero .breadcrumb { margin-bottom: 14px; font-size: .78rem; }
  .ih-hero h1 { font-size: clamp(1.95rem, 1.3rem + 3.6vw, 2.5rem); }
  .ih-hero__sub { margin: 12px 0 20px; font-size: 1rem; line-height: 1.55; }
  .ih-hero__knoepfe { gap: 10px; }
  .ih-hero__cta, .ih-hero__zweit { padding: 13px 22px; font-size: .98rem; }
  .ih-hero__vertrauen { gap: 12px 24px; margin-top: 22px; font-size: .86rem; }
  .ih-hero .ph-head .ih-hero__personen { margin-top: 16px; font-size: .84rem; }
  .ih-hero--rechts .ih-hero__bild { left: 0; }
}
@media (prefers-reduced-motion: reduce) { .ih-hero__zweit { transition: none; } }

/* === Rollout A === (30.11.2026: Scheidung, Wohnen im Alter, Abschreibung) ─────────────────────────────── */
/* Entscheidungsweg mit einem Blatt links (Scheidung: „Ja“ führt direkt zur Auszahlung), der Rest darunter */
.ih-baum .ih-weg__haken { margin-top: 10px; color: var(--clr-muted); }
.ih-baum__zweig > .ih-weg { text-align: left; }
.ih-baum__rest { max-width: 560px; margin: 40px auto 0; }
.ih-baum__rest .ih-baum__antwort { margin-top: 0; }
@media (min-width: 900px) {
  /* drei gleich breite Karten in einer Reihe: das Blatt links (1/3), die zweite Frage rechts (2/3) */
  .ih-baum--einseitig .ih-baum__zweige { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
  .ih-baum--einseitig .ih-baum__zweige::before { left: calc(100% / 6); right: calc(100% / 3); }
  .ih-baum--einseitig .ih-baum__zweig:first-child { display: flex; flex-direction: column; align-items: center;
    background: linear-gradient(var(--ih-linie), var(--ih-linie)) center top / 2px 100% no-repeat; }
  .ih-baum--einseitig .ih-baum__zweig:first-child > .ih-baum__antwort { margin: 0; padding: 0 10px 8px; background: #fff; }
  .ih-baum--einseitig .ih-baum__zweig:first-child > .ih-weg { flex: 0 0 auto; width: 100%; margin-top: auto; }
  .ih-spalten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .ih-baum__rest { margin: 6px 0 0 12px; padding: 4px 0 0 18px; border-left: 2px dashed var(--ih-linie); }
}
/* Zweite Zeile in der ersten Tabellenspalte (Voraussetzung unter dem Namen) */
.rg-tabelle td small { display: block; margin-top: 3px; font-size: .86rem; font-weight: 400; line-height: 1.5; color: var(--clr-muted); }
/* Übergang, bis ein Kopfbild gewählt ist (Wohnen im Alter): gleicher Kopf auf Anthrazit, ohne Foto und ohne Verlauf */
.ih-hero--ohne-bild { min-height: 0; }
.ih-hero--ohne-bild::before { display: none; }
@media (max-width: 760px) { .ih-hero--ohne-bild .ih-hero__inhalt { margin-top: 0; padding-top: calc(var(--nav-height) + 28px); } }
/* Tastaturfokus im dunklen Kopf: Burgunder auf Anthrazit ist zu schwach (unter 3:1), dort weiß wie im Abschluss */
.ih-seite .ih-hero :is(a, button):focus-visible { outline-color: #fff; }
/* === Rollout B === (30.11.2026: /ratgeber-10-fehler/, /ratgeber-angebotspreis/, /ratgeber-verkaufen/)
   Nur Ergänzungen vorhandener Bausteine, keine neuen Farben oder Schriften. */
/* Zeilen-Liste mit mehreren Absätzen je Punkt: Text als eigene Zelle (3. Spalte, am Handy 2.) */
.ih-schritte--zeilen .ih-schritt__text { grid-column: 3; min-width: 0; }
.ih-schritt__text p + p { margin-top: 10px; }
.ih-schritt .ih-normen { margin-top: 10px; font-size: .82rem; }
/* „Besser:“ – die Lösung hebt sich vom Befund ab, ohne eigene Hülle */
.ih-schritt .ih-besser { color: var(--clr-dark); }
.ih-schritt .ih-besser strong { color: var(--ih-ink); }
@media (max-width: 899px) { .ih-schritte--zeilen .ih-schritt__text { grid-column: 2; } }
/* lange Texte je Punkt (10 Fehler): Titel über dem Text statt eigener Spalte, die Zahl zählt nur (kein Zeitstrahl) */
.ih-schritte--lang .ih-schritt { grid-template-columns: 3em minmax(0, 1fr); gap: 8px 20px; padding: 28px 0; }
.ih-schritte--lang .ih-schritt h3, .ih-schritte--lang .ih-schritt__text { grid-column: 2; }
.ih-schritte--lang .ih-schritt h3 { font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); }
.ih-schritte--lang .ih-schritt__nr { grid-row: 1 / span 2; margin: 0; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .ih-schritte--lang .ih-schritt { grid-template-columns: 2.2em minmax(0, 1fr); gap: 6px 14px; padding: 22px 0; } }
/* Lange H1 (10 Fehler, Privat verkaufen): kleinere Stufe, damit die Zeilen über Anthrazit bleiben und nicht ins helle Foto laufen */
.ih-hero--langtitel h1 { font-size: clamp(2.1rem, 1.25rem + 2.3vw, 3.3rem); }
/* Spalten paarweise (vier Faktoren) */
@media (min-width: 900px) { .ih-spalten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
/* Spalten im dunklen Band: Linie und Text hell (wie .ih-frist) */
.ih-dunkel .ih-spalte { border-top-color: rgba(255,255,255,.28); }
.ih-dunkel .ih-spalte p { color: rgba(255,255,255,.76); }
.ih-dunkel .ih-spalte a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
/* Preisspanne zu niedrig · klug gesetzt · zu hoch: die Mitte ist das Ziel, ihre Linie ist weiß und kräftiger */
.ih-dunkel .ih-spalte--ziel { border-top: 3px solid #fff; }
.ih-dunkel .ih-spalte--ziel p { color: rgba(255,255,255,.9); }
/* === Rollout C === (Checkliste 22 Punkte, Ratgeber-Übersicht, Erbfall-Band; 30.11.2026) */
/* Split-Band auf Weiß statt Sand (Erbfall-Direktankauf, Checkliste): Linien trennen es vom Nachbarn */
.ih-split--weiss { background: #fff; border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }
/* „Kurz gesagt“ mit Nutzenliste darunter */
.ih-kurz .check-list { margin-top: 26px; max-width: 38em; }
.ih-kurz .check-list li { font-size: 1rem; line-height: 1.55; color: var(--clr-dark); }
/* Abschluss ohne Hintergrundfoto: das Produkt (freigestellte Broschüren) ist das Bild */
.ib-schluss--produkt { padding: clamp(80px, 9vw, 128px) 0; background: radial-gradient(60% 70% at 78% 50%, #34302a 0%, var(--clr-darker) 72%); }
.ib-schluss--produkt::before { content: none; }
.ib-schluss__produkt { margin: 0; justify-self: end; width: min(560px, 100%); }
.ib-schluss__produkt img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
@media (max-width: 900px) {
  .ib-schluss--produkt { padding: 64px 0 72px; background: var(--clr-darker); }
  .ib-schluss--produkt .ib-schluss__text { padding-top: 0; }
  .ib-schluss__produkt { justify-self: start; width: min(380px, 100%); margin-top: 36px; }
}
/* Phasen der Checkliste über die volle Spaltenbreite (.ih-text begrenzt sonst jedes li auf 68ch) */
.ck-phasen .ih-schritt { max-width: none; }
.ib-schluss--produkt .ib-schluss__raster { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 900px) { .ib-schluss--produkt .ib-schluss__raster { grid-template-columns: minmax(0, 1fr); } }
.ck-phasen .ih-schritt__nr { margin-top: -2px; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
/* === Zusammenführung (30.11.2026) === */
/* „Weitere Ratgeber“: .ratgeber-card__img hatte nirgends eine Regel – Bild ohne Maße, lazy, blieb 0 px hoch */
.ratgeber-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--clr-light, #ece3d3); }
.ratgeber-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* „Weitere Ratgeber“ an die neue Linie angleichen: kein Etikett-Chip, keine rote Unterstreichung */
.ih-body section[aria-labelledby="weitere-title"] .section-header .eyebrow { display: none; }
.ih-body section[aria-labelledby="weitere-title"] .section-title::after { content: none; }
/* === Fachartikel unter /wissen/ (GEO T30, 30.11.2026) — Bausteine aus api/fachartikel-bausteine.php === */
/* Referenzen: Hülle wie die „Verkauft“-Karten der Regionsseiten (ortseiten.php .ort-card/.reg-ref), Maße übernommen */
.ih-referenzen .ort-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.ih-referenzen .ort-card { display: block; overflow: hidden; background: #fff; border: 1px solid var(--clr-border); border-radius: 16px; box-shadow: 0 2px 16px rgba(0,0,0,.05); color: inherit; }
.ih-referenzen .ort-card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--clr-light); }
.ih-referenzen .ort-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ih-referenzen .ort-card__rib { position: absolute; top: 20px; right: -52px; width: 184px; transform: rotate(45deg); background: linear-gradient(180deg, #e8281d, #c81a10); color: #fff; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 2.4; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.ih-referenzen .ort-card__b { padding: 15px 18px; }
.ih-referenzen .ort-card__t { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--clr-burgundy); }
.ih-referenzen .ort-card__h { margin: 2px 0 6px; font-size: 1.06rem; font-weight: 800; color: var(--ih-ink); }
.ih-referenzen .ort-card__meta { margin-top: 3px; font-size: .85rem; color: var(--clr-muted); }
.ih-referenzen .reg-fakten { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ih-referenzen .reg-fakten span { display: inline-block; padding: 4px 10px; border-radius: 100px; background: rgba(146,69,69,.08); color: var(--clr-burgundy); font-size: .82rem; font-weight: 700; }
@media (max-width: 899px) { .ih-referenzen .ort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ih-referenzen .ort-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Quellen: Zeilen wie .ih-faktoren, Art und Herkunft klein darunter (ol für die Reihenfolge, ohne Nummern) */
.ih-quellen__liste { margin: 22px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ih-ink); }
.ih-quellen__liste li { padding: 12px 0; border-bottom: 1px solid var(--clr-border); font-size: .95rem; line-height: 1.5; color: var(--clr-dark); overflow-wrap: break-word; }
.ih-quellen__liste a { color: var(--ih-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--clr-border); text-underline-offset: 3px; }
.ih-quellen__liste a:hover { color: var(--clr-burgundy); text-decoration-color: currentColor; }
.ih-quellen__liste span { display: block; margin-top: 2px; font-size: .82rem; color: var(--clr-muted); }

/* Über diesen Ratgeber: Autoren in der Hülle von .ih-spalte, Daten als Zeilen */
.ih-autoren__paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin-top: 28px; }
.ih-autor { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; border-top: 2px solid var(--ih-ink); }
.ih-autor img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--clr-light); }
.ih-autor h3 { margin: 0 0 2px; font-size: 1.12rem; line-height: 1.3; }
.ih-autor h3 a { color: var(--ih-ink); text-decoration: none; }
.ih-autor h3 a:hover { color: var(--clr-burgundy); text-decoration: underline; text-underline-offset: 3px; }
.ih-autor p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--clr-muted); }
.ih-autor .ih-autor__rolle { margin-bottom: 6px; font-weight: 600; color: var(--clr-dark); }
.ih-autoren__daten { margin: 30px 0 0; }
.ih-autoren__daten div { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--clr-border); }
.ih-autoren__daten dt { font-size: .9rem; font-weight: 700; color: var(--ih-ink); }
.ih-autoren__daten dd { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--clr-muted); overflow-wrap: break-word; }
.ih-autoren__daten a { color: var(--clr-burgundy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .ih-autoren__paar { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ih-autoren__daten div { grid-template-columns: minmax(0, 1fr); }
}
/* Übersicht /wissen/ (01.12.2026): Einleitung, Artikelkarten in der Hülle der Referenzkarten (.ort-card), Abstand zum Abschluss */
.fa-liste { padding: calc(var(--ih-abstand) * .72) 0; }   /* wie .ih-abschnitt: gleicher Abstand zum Abschluss wie auf den Artikeln */
.fa-liste__kopf { max-width: 760px; }
.fa-liste__kopf .ih-lead { margin-top: 14px; }
.fa-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.fa-karte { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--clr-border); border-radius: 16px; box-shadow: 0 2px 16px rgba(0,0,0,.05); transition: box-shadow .2s, border-color .2s; }
.fa-karte:hover { box-shadow: 0 12px 30px rgba(0,0,0,.10); border-color: rgba(146,69,69,.35); }
.fa-karte:has(:focus-visible) { outline: 3px solid var(--clr-burgundy); outline-offset: 3px; }
.fa-karte__bild { aspect-ratio: 16 / 9; overflow: hidden; background: var(--clr-light); }
.fa-karte__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fa-karte__bild--ohne { display: flex; align-items: flex-end; padding: 22px 24px; background: var(--clr-darker); }
.fa-karte__bild--ohne span { font-family: var(--font-heading); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: rgba(255,255,255,.88); }
.fa-karte__text { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; }
.fa-karte__rubrik { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--clr-burgundy); }
.fa-karte__titel { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
.fa-karte__titel a { color: var(--ih-ink); text-decoration: none; }
.fa-karte__titel a::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.fa-karte__titel a:focus-visible { outline: none; }
.fa-karte:hover .fa-karte__titel a { color: var(--clr-burgundy); }
.fa-karte__anreisser { flex: 1; margin: 0 0 18px; font-size: .94rem; line-height: 1.6; color: var(--clr-muted); }
.fa-karte__fuss { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--clr-border); font-size: .84rem; color: var(--clr-muted); }
.fa-karte__avatare { display: flex; flex: none; }
.fa-karte__avatare img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; background: var(--clr-light); }
.fa-karte__avatare img + img { margin-left: -9px; }
.fa-liste__weiter { margin: 26px 0 0; font-size: .92rem; color: var(--clr-muted); }
@media (max-width: 760px) { .fa-karten { grid-template-columns: minmax(0, 1fr); gap: 18px; } .fa-karte__text { padding: 18px 18px 20px; } }
