/* Legal pages of HorseNow (impressum, datenschutz, agb, nutzungsbedingungen, barrierefreiheit): static, no script, no outside requests.
   Type in rem, so the font size set in the browser reaches it (Paket S, 2026-12-01). */
:root {
  --ink: #1d2a21; --muted: #5b6a5f; --line: #dfe7e0; --bg: #f7f9f6; --card: #ffffff; --green: #1E7A3C; --green-soft: #DDF0E1;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e7efe8; --muted: #a9b8ac; --line: #2c3a30; --bg: #121a15; --card: #18221b; --green: #B9DBAE; --green-soft: #29402F; }
}
/* "Kontrast erhöhen" on the device (Paket S): grey text at 7:1 and lines at 3:1, as in the app. */
@media (prefers-contrast: more) {
  :root { --ink: #0b100e; --muted: #3b4541; --line: #808984; --green: #17602F; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --ink: #ffffff; --muted: #d3dad6; --line: #8a938e; --green: #D3EDCA; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--green); text-underline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 1; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.25rem; text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; }
.to-app { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--green); color: var(--bg); font-weight: 600; text-decoration: none; }
main { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 24px 0; padding: 24px 20px 32px; }
h1 { font-size: 1.625rem; line-height: 1.25; margin: 0 0 20px; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: 1.3125rem; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 1.125rem; margin: 22px 0 4px; }
p, li { margin: 0 0 10px; overflow-wrap: anywhere; }
ul, ol { padding-left: 22px; }
.stand { color: var(--muted); font-size: 0.9375rem; margin-top: 32px; }
.site-footer { padding: 8px 0 40px; text-align: center; color: var(--muted); font-size: 0.875rem; }
.site-footer a { color: var(--muted); display: inline-block; min-height: 44px; padding: 11px 10px; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--ink); text-decoration: underline; }
@media (min-width: 700px) { main { padding: 40px 48px 48px; } h1 { font-size: 2.25rem; } }
@media print { header .to-app, .site-footer { display: none; } main { border: 0; padding: 0; } body { background: #fff; color: #000; } }
