/* weitere.css – Regeln für ueber-uns.html, profis.html, aktuelles.html und rechtliches.html.
   Lädt NACH css/entwurf.css und css/kontakt.css (von dort: section--frei, anfrage, danke, erreichen).
   Nur Variablen des Systems (Farben, Abstände, Schriftgrößen), keine festen Farbwerte. */

/* 1. Abschnitte dieser Seiten wachsen mit dem Text (section--frei aus kontakt.css).
      Kurze Abschnitte bleiben einen Bildschirm hoch, der Inhalt steht oben. */
main > .section.section--frei > .wrap { display: block; }
main > .section.section--frei.section--kurz { min-height: 0; }

/* 2. Lesespalte: höchstens rund 70 Zeichen, 18 px, ruhiger Zeilenabstand */
.lese { display: grid; gap: var(--s-4); align-content: start; max-width: 70ch; font-size: var(--t-body); line-height: 1.6; }
.lese > h3 { margin-top: var(--s-6); font-family: var(--font-text); font-size: var(--t-card); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; scroll-margin-top: calc(var(--nav, 72px) + var(--s-5)); }
.lese > h3:first-child { margin-top: 0; }
.lese strong, .lese b { font-weight: 500; }
.lese em { font-style: italic; }
.lese > h2 { margin-top: var(--s-6); font-size: var(--t-h3); line-height: 1.2; }
.lese > h2:first-child { margin-top: 0; }
.danke h3 { font-size: var(--t-h3); line-height: 1.2; }
.lese a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.lese a:not(.btn):hover { text-decoration-color: currentColor; }
.lese ul { display: grid; gap: var(--s-2); margin: 0; padding-left: var(--s-5); }

/* 3. Zeilen mit Stichwort links und Text rechts (Über uns: Kurz gefasst, Zeitalter des Stucks;
      Für Profis: Leistungen, Fachpartner). Am Handy untereinander. */
.paare { display: grid; margin: 0; padding: 0; list-style: none; }
.paare > * { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-1) var(--s-5); padding-block: var(--s-4); border-top: 1px solid var(--line); }
.paare > *:last-child { border-bottom: 1px solid var(--line); }
.paare :is(dt, h3, .paare__name) { font-family: var(--font-text); font-size: var(--t-body); font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.paare :is(dd, p) { margin: 0; max-width: 62ch; }
.paare ul { display: grid; gap: var(--s-1); margin: 0; padding-left: var(--s-5); max-width: 62ch; }
@media (min-width: 768px) {
  .paare > * { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .paare--schmal > * { grid-template-columns: minmax(0, 1fr); }
}

/* 4. Spalten neben der Lesespalte: oben bündig, Abstand am Handy */
.spalten { align-items: start; row-gap: var(--s-7); }
.spalten + .btn-row, .lese + .btn-row { margin-top: var(--s-7); }
.neben h2 { font-size: var(--t-h3); line-height: 1.2; }
.neben { display: grid; gap: var(--s-4); align-content: start; }

/* 5. Sprungleiste (rechtliches.html): drei Verweise, 44 px Klickhöhe */
.sprung { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin: 0; padding: var(--s-2) 0; list-style: none; border-block: 1px solid var(--line); }
.sprung a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 4px; }
.sprung a:hover { text-decoration-color: currentColor; }
.recht { scroll-margin-top: var(--nav, 72px); }
.recht h2 { hyphens: manual; overflow-wrap: break-word; }
main > .section.recht-kopf.section--frei { min-height: 0; }
.nach-oben { margin-top: var(--s-7); }
.nach-oben a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 4px; }

/* 6. Meldungen (aktuelles.html): Datum, Titel, Text; durch Linien getrennt */
.meldungen { display: grid; margin: 0; padding: 0; list-style: none; max-width: 70ch; }
.meldungen > li { display: grid; gap: var(--s-3); padding-block: var(--s-6); border-top: 1px solid var(--line); }
.meldungen > li:last-child { border-bottom: 1px solid var(--line); }
.meldungen h2 { font-size: var(--t-h3); line-height: 1.2; }
.meldungen__datum { font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.meldungen a { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 4px; }

/* 7. Partnerformular (profis.html): Sprungziel unter der festen Kopfzeile */
#partneranfrage { scroll-margin-top: var(--nav, 72px); }
.ground-surface .danke { background: var(--p-bg); }
