/* ==========================================================
   09 · Text (DCE "Text") & Fließtext aus dem Editor (.rte)
   ========================================================== */

.pd-text__inner { max-width: 50rem; }
.pd-text--breit .pd-text__inner { max-width: none; }
.pd-text--schmal .pd-text__inner { max-width: 40rem; }
.pd-text.is-centered .pd-text__inner { margin-inline: auto; text-align: center; }
.pd-text.is-centered .actions { justify-content: center; }
.pd-text .section-title + .rte { margin-top: 1.25rem; }

/* Fließtext */
.rte { color: var(--ink-soft); }
.rte > :first-child { margin-top: 0; }
.rte strong { color: var(--ink); }
.bg-gruen .rte strong { color: var(--weiss); }
.rte :is(h2, h3, h4) { color: var(--ink); margin-top: 1.6em; }
.rte h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); }
.rte h3 { font-size: var(--step-2); }
.rte h4 { font-size: 1.1rem; }
.rte a:not(.btn) { color: var(--gruen); font-weight: var(--halbfett); }
.rte ul, .rte ol { padding-left: 0; margin: 0 0 1.25em; list-style: none; display: grid; gap: .55rem; }
.rte ul li { position: relative; padding-left: 1.75rem; }
.rte ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--salbei); box-shadow: 0 0 0 3px rgba(168, 189, 169, .3);
}
.rte ol { counter-reset: nr; }
.rte ol li { counter-increment: nr; position: relative; padding-left: 2.1rem; }
.rte ol li::before { content: counter(nr); position: absolute; left: 0; top: .05em; font-family: var(--serif); color: var(--apricot); font-size: 1.2rem; }
.rte .lead { font-size: var(--step-1); color: var(--ink); }
.rte .eyebrow { color: var(--gruen); }

/* Tabellen im Editor */
.rte table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.rte th, .rte td { border-bottom: 1px solid var(--line); padding: .75rem .5rem; text-align: left; vertical-align: top; }
.rte th { color: var(--ink); }

/* lange Rechtstexte (Impressum, Datenschutz) */
.pd-text--breit .rte { max-width: 52rem; }
.pd-text--breit .rte h2 { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pd-text--breit .rte h2:first-child { border-top: 0; padding-top: 0; }
.pd-text--breit .rte { overflow-wrap: anywhere; }
