/* ═══════════════════════════════════════════
   Rechtstexte (Impressum / Datenschutz) — alpu.eu
   Schlichte Textseiten im Design der Startseite, ohne JavaScript.
   Schriften lokal gehostet, keine Verbindung zu Google.
   Lizenz beider: SIL Open Font License 1.1, siehe fonts/OFL-*.txt
═══════════════════════════════════════════ */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/sora-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Farbwerte aus index.html übernommen */
:root {
  --bg:      #0b1a1c;
  --surface: #0f2427;
  --ink:     #e8f0ee;
  --ink-70:  rgba(232,240,238,.72);
  --ink-56:  rgba(232,240,238,.56);
  --line:    rgba(232,240,238,.09);
  --accent:  #c3e84f;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  /* ~70 Zeichen Zeilenbreite */
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(36px,7vw,72px)
           max(clamp(18px,5vw,40px), env(safe-area-inset-right))
           calc(80px + env(safe-area-inset-bottom))
           max(clamp(18px,5vw,40px), env(safe-area-inset-left));
}

.back {
  margin: 0 0 28px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border: 1px solid rgba(232,240,238,.2);
  border-radius: 99px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}
.back:hover { border-color: var(--accent); color: var(--accent); }

h1 {
  margin: 0 0 8px;
  font-weight: 600;
  /* "Datenschutzerklärung" ist ein einzelnes langes Wort — bei fester Größe
     sprengt es auf schmalen Geräten die Zeile. */
  font-size: clamp(25px,6vw,38px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.lead { margin: 0 0 30px; font-size: 14px; color: var(--ink-56); }

h2 {
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
}

p, li { font-size: 15px; line-height: 1.8; color: var(--ink-70); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }

a { color: var(--accent); }
address { font-style: normal; margin: 0 0 12px; }

code {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .88em;
  background: rgba(232,240,238,.06);
  border-radius: 5px;
  padding: 1px 6px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 20px;
}

/* Lange Komposita und Domainnamen dürfen umbrechen statt zu überstehen. */
h1, h2, p, li, address { overflow-wrap: break-word; hyphens: auto; }
code { overflow-wrap: anywhere; }

.meta { margin-top: 36px; font-size: 13px; color: var(--ink-56); }

.foot {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.foot { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Adresse und Kontakt im Kasten: Abstände ohne inline styles. */
.card p { margin: 0 0 10px; }
.card p:last-child { margin: 0; }
