/* ---------------------------------------------------------------------------
   Gemeinsames Stylesheet für die Rechtstext-Seiten (Impressum, Datenschutz).
   Nutzt dieselben Tokens und dieselbe Schrift wie index.html, aber eine
   ruhige Lesespalte statt der Marketing-Sektionen. Bewusst eine eigene
   Datei: die Rechtstexte werden vom Kunden geliefert und getauscht, ohne
   dass jemand in der Startseite arbeiten muss.
--------------------------------------------------------------------------- */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

:root {
  --navy: #002855;
  --blue: #256BA2;
  --blue-pale: #C9D8E8;
  --orange: #E87722;
  --paper: #F7F7F5;
  --line: #D0D0CE;
  --line-soft: #E4E4E1;
  --ink-soft: #26476B;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Kopf mit Logo, führt zurück auf die Startseite */
.hd { background: #fff; border-bottom: 1px solid var(--line-soft); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; }
.hd__logo { display: block; height: 44px; width: auto; }
.hd__back { font-size: 15px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.hd__back:hover { color: var(--orange); }
.hd__back::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .6em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: .1em; }

main { padding: 56px 0 88px; }

h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.lead { color: var(--ink-soft); font-size: 17px; margin: 0 0 40px; }

h2 { font-size: 22px; font-weight: 800; line-height: 1.25; margin: 40px 0 10px; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 28px 0 8px; }
h4 { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 22px 0 6px; color: var(--ink-soft); }
p, li { max-width: 70ch; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
strong, b { font-weight: 700; }
hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* Tabellen für Verarbeitungsübersichten */
.tbl-wrap { overflow-x: auto; margin: 0 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-soft); }
th { font-weight: 800; border-bottom: 1px solid var(--line); }

/* Fuß */
.ft { border-top: 1px solid var(--line-soft); background: #fff; }
.ft__in { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 22px 24px; font-size: 15px; }
.ft__in a { font-weight: 700; text-decoration: none; }
.ft__meta { color: var(--ink-soft); margin-left: auto; }

@media (max-width: 560px) {
  .hd__logo { height: 36px; }
  main { padding: 36px 0 64px; }
  .ft__meta { margin-left: 0; }
}
