/* Rechtsseiten im Rahmen von wertox.app (12.11.2026, Fassung 15.11.2026 Website neu).
   Die Seite bringt ihren eigenen Stil mit (für die App, die sie ohne Rahmen unter /public/….html öffnet, dort
   bleibt alles, wie es ist). Diese Datei lädt danach und setzt den Stil der Website darüber: Schrift, Flächen
   und Farben folgen dem Farbmodus des Geräts, der Text steht auf einem Blatt in der Mitte. Am Text ändert sie
   nichts. Die eigenen Kästen der Seiten (.box, .blick, .karte, .warn, .ok, das Formular in melden.html) bekommen
   die Farben der Website, in Hell wie in Dunkel mit mindestens 4,5:1. */
body { max-width: none; margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
.recht { max-width: 820px; margin: 40px auto 72px; padding: 32px 22px 40px; background: var(--karte); color: var(--text); border: 1px solid var(--linie); border-radius: 24px; line-height: 1.7; font-size: 16px; overflow-wrap: break-word; }
@media (min-width: 760px) { .recht { padding: 56px 64px 64px; font-size: 17px; } }
@media (max-width: 864px) { .recht { margin-left: 16px; margin-right: 16px; } }
.recht p { max-width: none; }
.recht h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 20px; }
.recht h2 { font-size: clamp(20px, 2vw, 23px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 40px 0 10px; }
.recht h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; margin: 24px 0 6px; }
.recht p, .recht ul, .recht ol, .recht table, .recht form { margin: 0 0 16px; }
.recht ul, .recht ol { padding-left: 22px; list-style: revert; }
.recht li { margin-bottom: 8px; }
.recht a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.recht a:hover { color: var(--link-hover); }
.recht strong, .recht b { font-weight: 700; }
.recht .sprachwahl { display: flex; justify-content: flex-end; margin: -12px 0 8px; }
.recht .sprachwahl a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--linie2); color: var(--text); font-weight: 700; text-decoration: none; }
.recht .sprachwahl a:hover { color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }

/* Kästen der einzelnen Seiten */
.recht .box, .recht .blick { background: var(--bg); border: 1px solid var(--linie); border-radius: 16px; padding: 18px 20px; color: var(--text); }
.recht .blick { padding: 22px; margin: 24px 0 8px; }
.recht .blick h2 { margin-top: 0; }
.recht .karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.recht .karte h3 { margin: 0 0 4px; }
.recht .karte p { margin: 0; color: var(--text); }
.recht .leise, .recht .hilfe, .recht footer, .recht .lang { color: var(--text2); }
.recht .intro { font-size: 1.06em; }
.recht .warn { background: #FDECEA; border: 1px solid #F5B5AE; color: #8A1C10; border-radius: 14px; }
.recht .ok { background: var(--gruen-bg); border: 1px solid var(--linie); color: var(--text); border-radius: 14px; }
.recht .fehler { color: #B3261E; }
.recht .ph { color: #B3261E; }
.recht .lang { border-top-color: var(--linie); }
.recht footer { margin-top: 40px; font-size: 14px; }

/* Formular (melden.html) */
.recht label { margin-top: 20px; }
.recht input[type=text], .recht input[type=email], .recht input[type=url], .recht select, .recht textarea { min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--linie2); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; }
.recht input:focus-visible, .recht select:focus-visible, .recht textarea:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; }
.recht .haken input { width: 20px; height: 20px; accent-color: var(--knopf); }
.recht button { min-height: 48px; background: var(--knopf); color: #fff; border-radius: 999px; padding: 12px 26px; font-weight: 700; }
.recht button:hover { background: var(--knopf-hover); }

@media (prefers-color-scheme: dark) {
  .recht .warn { background: #2A1414; border-color: #6B2A24; color: #FFB4AB; }
  .recht .fehler, .recht .ph { color: #FFB4AB; }
}
