/* Rechtsseiten (rechtliches.html, legal.html) – eigenständig, ohne App-Layout. */
:root { color-scheme: light; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #F7F3EA; color: #2A241C;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
}
.recht {
  max-width: 720px; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom));
}
h1 { font-size: 28px; line-height: 1.2; margin: 18px 0 4px; }
h2 { font-size: 22px; margin: 0 0 10px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, ul { margin: 0 0 10px; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }
a { color: #325A75; }
.stand { color: #756B5C; font-size: 14px; }
.zurueck { font-weight: 600; }
section {
  scroll-margin-top: 16px; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid #E1D7C2;
}
.inhalt { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.inhalt a {
  background: #EFE8D8; border-radius: 999px; padding: 6px 14px;
  text-decoration: none; color: #2A241C; font-size: 14px; font-weight: 600;
}
.kurz { background: #E8EEDF; border-radius: 14px; padding: 14px 16px 6px; margin-bottom: 8px; }
.entwurf {
  background: #F3E1D8; border-left: 4px solid #A65A3C; border-radius: 8px;
  padding: 10px 14px; font-size: 14px;
}
mark { background: #F6E2A8; color: inherit; padding: 0 3px; border-radius: 3px; }
.tabelle { overflow-x: auto; margin: 0 0 10px; }
table { border-collapse: collapse; font-size: 14px; line-height: 1.4; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid #E1D7C2; }
th { font-size: 13px; color: #756B5C; font-weight: 600; }

/* Schmal: Tabelle als gestapelte Karten statt Seitwärts-Scrollen */
@media (max-width: 640px) {
  table { min-width: 0; width: 100%; }
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { background: #EFE8D8; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; font-size: 15px; padding-bottom: 4px; }
  td:not(:first-child)::before {
    content: attr(data-label) ": "; color: #756B5C; font-weight: 600;
  }
}
