/* Grundsätze, Vorschau-Variante ?darstellung=charta (Entwurf 01.11.2026, Bericht 84-grundsaetze-charta.md).
   Lädt grundsaetze.php nur in der Variante; Standardseite unberührt. Alle Regeln unter body.hb-gs-charta. */

/* gemeinsame Lesespalte für Kopf (ohne Bild) und Charta */
.hb-gs-charta { --hb-gs-spalte: 860px; }

/* ===== Hero ohne Bild: typografischer Kopf (GS-E2) ===== */
.hb-gs-hero-ohne .hb-hero__grid { max-width: calc(var(--hb-gs-spalte) + 40px); }
.hb-gs-hero-ohne .hb-hero { padding: 40px 0 0; }
.hb-gs-hero-ohne .hb-hero__text { padding-bottom: 32px; border-bottom: 1px solid var(--hb-linie); position: relative; }
.hb-gs-hero-ohne .hb-hero__text::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--hb-blau); }
.hb-gs-hero-ohne .hb-lead--h2 { max-width: 20em; }
@media (min-width: 900px) {
  .hb-gs-hero-ohne .hb-hero { padding: 64px 0 0; }
  .hb-gs-hero-ohne .hb-hero__text { padding-bottom: 44px; }
}

/* ===== Charta: nummerierte Liste statt Karten (GS-E1, GS-E4) ===== */
.hb-gs-charta-sec { background: #fff; }
.hb-gs-hero-ohne .hb-gs-charta-sec { padding-top: 8px; }
.hb-gs-hero-portraet .hb-gs-charta-sec { background: var(--hb-flaeche); --hb-sec-y: clamp(40px, 6vw, 72px); }
.hb-gs-charta-sec .hb-wrap { max-width: calc(var(--hb-gs-spalte) + 40px); }
.hb-charta { list-style: none; counter-reset: gebot; }
.hb-charta__gebot { counter-increment: gebot; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px;
  padding: 24px 0 26px; border-bottom: 1px solid var(--hb-linie); }
.hb-charta__gebot::before { content: counter(gebot); font-family: var(--hb-serif); font-weight: 400; font-size: 30px; line-height: 1;
  color: var(--hb-blau); font-variant-numeric: lining-nums tabular-nums; padding-top: 2px; }
.hb-charta__gebot p { max-width: 38em; font-size: var(--hb-fs); line-height: 1.6; color: var(--hb-text); hyphens: manual; overflow-wrap: break-word; }
.hb-charta__begriff { font-weight: 700; color: var(--hb-ink); }
.hb-gs-hero-portraet .hb-charta__gebot:first-child { padding-top: 8px; }
.hb-gs-hero-portraet .hb-charta { border-top: 0; }

@media (min-width: 760px) {
  .hb-charta__gebot { grid-template-columns: 72px minmax(0, 1fr); column-gap: 24px; padding: 36px 0 38px; }
  .hb-charta__gebot::before { font-size: 48px; padding-top: 0; }
  .hb-charta__gebot p { line-height: 1.7; }
}
@media (min-width: 900px) {
  .hb-gs-hero-ohne .hb-gs-charta-sec { padding-top: 16px; }
}
/* letzte Linie entfällt, der Abschnitt endet mit Weißraum */
.hb-charta__gebot:last-child { border-bottom: 0; }

/* Änderungsansicht: entfernter Strich vor dem Begriff */
.hb-chg-an .hb-charta .chg-del { margin-right: 6px; }
