/* Inhaltsseiten für Kunden und KI (seit 24.11.2026): Preise, Über uns, Ratgeber, Fragen auf der Leistungsseite.
   Nur Ergänzungen zu style.css, gleiche Tokens und dieselbe Sprache wie tiefpreis.css (flache Flächen, Hairlines,
   keine Schatten, Orange nur als Akzent). Eigene Datei, damit keine andere Seite eine neue style.css-Version braucht. */

/* ---------- Preistafel: echte Tabelle (KIs und Screenreader lesen sie als Tabelle) ---------- */
/* Einleitung unter der Überschrift der Preisliste (GF 24.11.: nicht rechts daneben) */
.preis-einleitung { margin-top: 16px; max-width: 860px; font-size: var(--fs-text); line-height: var(--lh-text); }
.preistafel-rahmen { margin-top: 32px; max-width: 860px; overflow-x: auto; }
.preistafel { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preistafel caption { padding-bottom: 12px; text-align: left; font-size: 15px; line-height: 22px; color: var(--c-muted); caption-side: top; }
.preistafel th,
.preistafel td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--c-line); text-align: left; font-size: var(--fs-text); line-height: var(--lh-text); vertical-align: baseline; }
.preistafel th:last-child,
.preistafel td:last-child { padding-right: 0; }
.preistafel thead th { padding-top: 0; padding-bottom: 10px; border-bottom: 1px solid var(--c-text); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--c-muted); }
.preistafel tbody th { font-weight: 700; }
.preistafel .zahl { text-align: right; white-space: nowrap; }
.preistafel .stark { font-weight: 700; }
.preistafel-titel { margin-top: 48px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.preistafel-hinweis { margin-top: 16px; max-width: 860px; font-size: 15px; line-height: 22px; color: var(--c-muted); }

/* ---------- Häufige Fragen (natives details/summary, ohne JS; gleiche Optik wie .tp-fragen) ---------- */
.fragen { max-width: 860px; margin-top: 24px; border-top: 1px solid var(--c-line); }
.fragen details { border-bottom: 1px solid var(--c-line); }
.fragen summary {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 0;
  font-weight: 700; font-size: 19px; line-height: 26px; cursor: pointer; list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-family: ui-monospace, Menlo, monospace; color: var(--c-muted); }
.fragen details[open] > summary::after { content: "–"; }
.fragen summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.fragen__antwort { padding: 0 0 24px; }
.fragen__antwort p { font-size: var(--fs-text); line-height: var(--lh-text); }
.fragen__antwort > p + p { margin-top: 12px; }

/* ---------- Fakten: Begriff links, Wert rechts (Über uns, Nachweise) ---------- */
.fakten { margin: 32px 0 0; max-width: 860px; border-top: 1px solid var(--c-text); }
.fakten > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.fakten dt { font-size: 14px; line-height: 20px; color: var(--c-muted); }
.fakten dd { margin: 0; font-size: var(--fs-text); line-height: var(--lh-text); }
.fakten dd p + p { margin-top: 8px; }
@media (min-width: 768px) {
  .fakten > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .fakten dt { padding-top: 4px; }
}

/* ---------- Nachweis-Kacheln (Versichert, Kalibriert, Qualifiziert): Akzentstrich wie .leistung ---------- */
.nachweise { display: grid; gap: var(--gap); margin: 40px 0 0; padding: 0; list-style: none; }
.nachweis { position: relative; padding: 28px 24px; border: 1px solid var(--c-line); background: var(--c-bg); min-width: 0; }
.nachweis::after { content: ""; position: absolute; top: -1px; left: 24px; width: 40px; height: 3px; background: var(--c-accent); }
.nachweis__wert { display: block; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nachweis h3 { margin-top: 12px; font-size: 22px; line-height: 1.25; font-weight: 700; }
.nachweis h3 + p,
.nachweis p + p { margin-top: 12px; font-size: var(--fs-text); line-height: var(--lh-text); }
@media (min-width: 768px) {
  .nachweise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nachweis { padding: 32px; }
  .nachweis::after { left: 32px; }
}
@media (min-width: 1200px) {
  .nachweise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Ratgeber: ruhige Lesespalte, Zwischenüberschriften, Tabellen, Quellen ---------- */
.ratgeber { max-width: 46em; }
.ratgeber h2 { margin-top: 56px; }
.ratgeber h2:first-child { margin-top: 0; }
.ratgeber h3 { margin-top: 32px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.ratgeber h2 + p, .ratgeber h3 + p { margin-top: 16px; }
.ratgeber .preistafel-rahmen { margin-top: 24px; }
/* Ratgeberseiten nutzen das Layout der Rechtsseiten (.legal-kopf, .legal, inhalt.js); hier nur die Ergänzungen */
.legal-kopf__text .ratgeber-marke { margin: 0 0 16px; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--c-muted); }
.legal-kopf__text .ratgeber-marke::before { content: ""; display: inline-block; width: 24px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--c-accent); }
.legal-kopf__text .ratgeber-stand { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--c-muted); }
.legal__section ol { margin-bottom: 0; padding-left: 22px; }
.legal__section p + ol, .legal__section ol + p { margin-top: 12px; }
.legal__section .preistafel-rahmen { margin-top: 16px; }
.legal__section .preistafel-rahmen + p { margin-top: 16px; }
.legal__section .fragen { margin-top: 8px; border-top: 0; }
.legal__section .fragen summary { font-size: 18px; }
.ratgeber-quellen { margin-top: 12px; padding-left: 20px; font-size: 15px; line-height: 22px; color: var(--c-muted); }
.ratgeber-quellen li + li { margin-top: 6px; }

/* Querverweise zu den anderen Ratgebern (Textkacheln wie .teasers__list--text, ohne Bilder) */
.weiterlesen { display: grid; gap: var(--gap); margin: 32px 0 0; padding: 0; list-style: none; }
.weiterlesen li { position: relative; padding-top: 20px; border-top: 1px solid var(--c-line); }
.weiterlesen li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; background: var(--c-accent); }
.weiterlesen a { display: block; color: inherit; text-decoration: none; }
.weiterlesen b { display: block; font-size: 21px; line-height: 1.3; }
.weiterlesen span { display: block; margin-top: 8px; font-size: var(--fs-text); line-height: var(--lh-text); color: var(--c-muted); }
.weiterlesen a:hover b, .weiterlesen a:focus-visible b { text-decoration: underline; text-decoration-color: var(--c-link); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 768px) { .weiterlesen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .weiterlesen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 767px) {
  .preistafel th, .preistafel td { padding-right: 10px; }
  .fragen summary { font-size: 17px; line-height: 24px; }
  .nachweis__wert { font-size: 28px; }
  .ratgeber h2 { margin-top: 44px; }
}
.legal__section .preistafel td { white-space: nowrap; }
