/* Textseiten: Impressum, Datenschutz, AGB, Widerruf, Kontakt, Fragen, Blog.
   Eigenes Blatt, damit diese Seiten ohne JavaScript und ohne das App-Bündel
   auskommen.

   Der Stil folgt der Startseite (src/landing.css): schwarzer Grund,
   Systemschrift von macOS/iOS, Inhalte auf Glasflächen. Die Werte sind
   bewusst abgeschrieben und nicht geteilt — dieses Blatt wird ohne Bundler
   ausgeliefert und darf von nichts abhängen. Wer die Startseite ändert,
   sieht hier nach. */
:root {
  --grund:   #101112;
  --titel:   #EAEBEC;
  --text:    #888C90;
  --fein:    #7A7F86;
  --linie:   rgba(255,255,255,.08);

  --blau:    #38BDF8;
  --tuerkis: #2DD4BF;
  --gold:    #F2AC3C;
  --neg:     #FCA5A5;

  --bahn:    1288px;

  /* Systemschrift, wie auf der Startseite. Kein Ladevorgang, und die Seite
     klingt wie eine Mac-Anwendung. */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", "Segoe UI", Inter, system-ui, sans-serif;
  --font-mono: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;

  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Ein schwacher Schimmer oben, damit der Grund nicht als Fläche tot daliegt. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 32% at 84% 0%, rgba(34,211,238,.09), transparent 70%),
    radial-gradient(38% 30% at 6% 0%, rgba(99,102,241,.10), transparent 72%);
}
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(56,189,248,.28); color: #fff; }
.bahn { max-width: var(--bahn); margin: 0 auto; padding: 0 64px; }

/* ── Kopf ─────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: rgba(16,17,18,.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--linie);
}
.kopf-bahn { display: flex; align-items: center; gap: 16px; height: 64px; }
.marke-link { display: inline-flex; align-items: center; flex: none; }

.kopf-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.kopf-nav a {
  white-space: nowrap; padding: 7px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; letter-spacing: -.14px; color: var(--text);
  transition: color .15s, background-color .15s;
}
.kopf-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.kopf-nav a.kopf-aktiv { color: var(--titel); background: rgba(255,255,255,.07); }
.kopf-trenner { width: 1px; height: 14px; margin: 0 7px; background: rgba(255,255,255,.12); }
.kopf-rechts { display: flex; align-items: center; gap: 8px; flex: none; }
.knopf-dunkel {
  display: inline-flex; align-items: center;
  background: #fff; color: #101112; border: 1px solid #fff; border-radius: 10px;
  padding: 9px 15px; font-size: 14px; font-weight: 600; letter-spacing: -.14px;
  white-space: nowrap; transition: background-color .15s, border-color .15s;
}
.knopf-dunkel:hover { background: #E6E7E8; border-color: #E6E7E8; }

/* Schmale Fenster: die Anker der Startseite treten zurueck, Blog und Fragen
   bleiben stehen. So braucht die Textseite kein Klappmenue und kein Skript. */
@media (max-width: 900px) { .bahn { padding: 0 32px; } }
@media (max-width: 760px) {
  .kopf-nav a[data-anker], .kopf-trenner { display: none; }
}
@media (max-width: 560px) {
  .bahn { padding: 0 20px; }
  .kopf-bahn { gap: 10px; height: 58px; }
  .kopf-nav { display: none; }
}

/* ── Textkörper ───────────────────────────────────── */
/* Der Artikel sitzt auf einer Glasfläche und hebt sich damit vom schwarzen
   Grund ab — dieselbe Figur wie die Abschnitte der Startseite. Drei Lagen:
   farbiger Schimmer, Aufhellung von oben nach unten, dunkle Grundfläche. */
.seite {
  position: relative; isolation: isolate;
  max-width: 880px; margin: 46px auto 0; padding: 52px 56px 46px;
  border-radius: 28px; border: .75px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.022) 44%, rgba(255,255,255,.012) 100%),
    #121418;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 2px 6px -2px rgba(0,0,0,.5),
    0 30px 70px -34px rgba(0,0,0,.95);
}
.seite::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: -1; mix-blend-mode: plus-lighter; opacity: .9;
  background:
    radial-gradient(52% 46% at 10% 0%, rgba(59,130,246,.26), transparent 68%),
    radial-gradient(46% 40% at 94% 6%, rgba(99,102,241,.20), transparent 70%);
}
@media (max-width: 700px) { .seite { padding: 34px 22px 32px; border-radius: 22px; margin-top: 26px; } }

.seite > time {
  display: block; font-size: 13px; color: var(--fein); margin-bottom: 26px;
}
.seiten-kopf { margin-bottom: 30px; }
.marke-pille {
  display: inline-block; margin-bottom: 15px; padding: 5px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(255,212,99,.15), rgba(242,172,60,.05));
  border: .75px solid rgba(255,206,90,.20);
}
h1 {
  font-size: clamp(30px, 4.1vw, 46px); font-weight: 590;
  letter-spacing: -.015em; line-height: 1.08; margin: 0 0 16px;
  color: #fff; text-wrap: balance;
}
.vorspann { font-size: 18.5px; line-height: 1.5; color: #B9BDC1; margin: 0; font-weight: 500; }
h2 {
  font-size: 24px; font-weight: 590; letter-spacing: -.012em; line-height: 1.22;
  margin: 46px 0 13px; color: var(--titel); scroll-margin-top: 84px;
}
h3 { font-size: 18px; font-weight: 590; letter-spacing: -.01em; margin: 30px 0 9px; color: var(--titel); }
p { margin: 0 0 15px; }
.seite ul, .seite ol { margin: 0 0 17px; padding-left: 21px; }
.seite li { margin-bottom: 8px; }
.seite li::marker { color: var(--blau); }
strong, b { font-weight: 600; color: var(--titel); }

/* Fliesstextlinks bekommen die Akzentfarbe. `.flaeche` nimmt davon die Links
   aus, die als ganze Karte anklickbar sind — Artikelkarten und Weiterlesen. */
.seite a:not(.knopf-gross):not(.knopf-dunkel):not(.flaeche) {
  color: #7DD3FC; text-decoration: underline; text-underline-offset: 2.5px;
  text-decoration-thickness: 1.5px; text-decoration-color: rgba(125,211,252,.35);
}
.seite a:not(.knopf-gross):not(.knopf-dunkel):not(.flaeche):hover { text-decoration-color: #7DD3FC; }
code, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Merkkasten */
.kasten {
  border-radius: 16px; padding: 17px 19px; margin: 24px 0;
  border: .75px solid rgba(255,255,255,.08); border-left: 3px solid var(--blau);
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.025) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.kasten p:last-child { margin-bottom: 0; }
.kasten-titel {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 7px;
}
.kasten.warn { border-left-color: var(--gold); }
.kasten.warn .kasten-titel { color: var(--gold); }
.kasten.offen { border-left-color: var(--neg); }
.kasten.offen .kasten-titel { color: var(--neg); }

/* Tabellen */
.tabelle-huelle {
  overflow-x: auto; margin: 22px 0; border-radius: 16px;
  border: .75px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
th, td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--linie); }
th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fein); background: rgba(255,255,255,.04);
}
td { color: #A9AEB3; }
td.zahl, th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(56,189,248,.06); }

/* Blog-Übersicht */
.artikel-liste { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.artikel-karte {
  display: block; padding: 22px 24px; border-radius: 16px;
  border: .75px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.065) 0%, rgba(255,255,255,.022) 46%, rgba(255,255,255,.012) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 22px -16px rgba(0,0,0,.6);
  transition: background .18s, border-color .18s, transform .18s;
}
.artikel-karte:hover {
  transform: translateY(-2px); border-color: rgba(255,255,255,.15);
  background: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 46%, rgba(255,255,255,.03) 100%);
}
.artikel-marke {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blau);
}
.artikel-titel { font-size: 20px; font-weight: 590; letter-spacing: -.012em; margin: 8px 0 7px; line-height: 1.25; color: var(--titel); }
.artikel-text { font-size: 14.5px; color: var(--text); margin: 0; }

/* Weiterlesen unter Artikeln */
.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .weiter { grid-template-columns: 1fr; } }
.weiter a {
  border-radius: 14px; padding: 15px 17px; font-size: 14.5px; font-weight: 500; line-height: 1.35;
  color: var(--titel);
  border: .75px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.065) 0%, rgba(255,255,255,.022) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  transition: background .18s, border-color .18s;
}
.weiter a:hover {
  border-color: rgba(255,255,255,.15);
  background: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 100%);
}

/* Abschluss und Fuß */
.schluss {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  max-width: 880px; margin: 60px auto 0; padding: 30px 34px;
  text-align: left;
}
.schluss h2 { margin: 0 0 6px; font-size: 24px; color: var(--titel); }
.schluss p { margin: 0; font-size: 15px; color: var(--text); max-width: 46ch; }

/* Die Haupthandlung, wie auf der Startseite: Markenblau mit innerem
   Lichtsaum und farbigem Schein darunter. */
.knopf-gross {
  position: relative; isolation: isolate; overflow: hidden;
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 22px; border-radius: 14px;
  font-size: 15px; font-weight: 600; letter-spacing: -.3px; white-space: nowrap; color: #fff;
  background: linear-gradient(180deg, #5B95F7 0%, #3B82F6 46%, #2563EB 100%);
  box-shadow:
    0 1px 3px 0 rgba(0,0,0,.20),
    0 8px 24px 0 rgba(37,99,235,.42),
    inset 0 1px 1px 0 rgba(255,255,255,.38),
    inset 0 0 0 1px rgba(255,255,255,.12),
    inset 0 -1px 0 0 rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.knopf-gross::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 58%);
  mix-blend-mode: plus-lighter; pointer-events: none;
}
.knopf-gross:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #6BA1F8 0%, #4A8CF7 46%, #2D6DEE 100%);
  box-shadow:
    0 2px 5px 0 rgba(0,0,0,.22),
    0 12px 32px 0 rgba(37,99,235,.55),
    inset 0 1px 1px 0 rgba(255,255,255,.44),
    inset 0 0 0 1px rgba(255,255,255,.16),
    inset 0 -1px 0 0 rgba(0,0,0,.22);
}

/* Fuß: mittig, wie auf der Startseite. */
.fuss {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 96px 24px 104px; text-align: center;
}
.fuss .bahn { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.fuss-oben { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fuss-spruch { font-size: 13px; color: var(--fein); }
.fuss-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.fuss-nav a { font-size: 14px; color: #878C92; transition: color .15s; }
.fuss-nav a:hover { color: #fff; }
.fuss-klein {
  font-size: 12px; color: #7A7F86; line-height: 1.45; margin: 0; max-width: 62ch;
  opacity: .7; text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Offene Pflichtangaben sichtbar machen — niemand soll sie übersehen */
.pflicht {
  background: rgba(252,165,165,.12); color: #FCA5A5; border: 1px dashed rgba(252,165,165,.42);
  border-radius: 6px; padding: 1px 7px; font-size: .93em; font-weight: 600;
}
.faq-block { border-top: 1px solid var(--linie); padding: 22px 0; }
.faq-block:last-of-type { border-bottom: 1px solid var(--linie); }
.faq-frage { font-size: 18px; font-weight: 590; letter-spacing: -.01em; margin: 0 0 8px; color: var(--titel); }
.faq-antwort { margin: 0; color: var(--text); }
