/* ==========================================================
   08 · Hintergründe (DCE-Feld "Hintergrund" bzw. Container-Feld "CSS-Klasse")
   bg-weiss · bg-salbei · bg-gruen · bg-creme
   ========================================================== */

.bg-weiss { background: var(--weiss); border-block: 1px solid var(--line); }
.bg-creme { background: var(--creme); }
.bg-salbei { background: var(--salbei-hell); }
.bg-gruen { background: var(--gruen); color: var(--creme); }

/* gleicher Hintergrund direkt hintereinander: zu einer Fläche verschmelzen */
:is(.pd-section, .ext-container).bg-weiss + :is(.pd-section, .ext-container).bg-weiss,
:is(.pd-section, .ext-container).bg-salbei + :is(.pd-section, .ext-container).bg-salbei,
:is(.pd-section, .ext-container).bg-gruen + :is(.pd-section, .ext-container).bg-gruen { padding-top: 0; border-top: 0; }

/* auf Weiß: helle Flächen in Creme */
.bg-weiss { --flaeche: var(--creme); }
:root { --flaeche: var(--weiss); }

/* Grün (dunkel): helle Schrift */
.bg-gruen { --ink-soft: #e4e6de; --line: rgba(168, 189, 169, .35); }
.bg-gruen :is(h1, h2, h3, h4) { color: var(--weiss); }
.bg-gruen :is(h1, h2, h3) em { color: var(--salbei); }
.bg-gruen .eyebrow { color: var(--salbei); }
.bg-gruen a:not(.btn) { color: var(--weiss); }
.bg-gruen .text-link { border-color: var(--salbei); }
.bg-gruen .btn--primary { background: var(--creme); color: var(--gruen-dunkel); }
.bg-gruen .btn--primary:hover { background: var(--weiss); }
.bg-gruen .btn--ghost { color: var(--weiss); border-color: rgba(255, 255, 255, .6); }
.bg-gruen .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--weiss); }
/* Karten/Formulare auf Grün behalten dunkle Schrift */
.bg-gruen :is(.card:not(.card--dark), .tx-powermail, .faq-item, .contact) { color: var(--ink); --ink-soft: #56615b; --line: #e4e6de; }
