/* Gemeinsames Styling für die statischen Rechts-/Preisseiten (terms, privacy,
   refunds, pricing). Bewusst eigenständig (kein Build/JS nötig), damit die
   Seiten für Paddle & Google jederzeit crawlbar sind. */

/* Inter lokal gehostet (SIL Open Font License) — kein Google-Fonts-CDN,
   damit keine Besucher-IP an Google übertragen wird (DSGVO). Eine
   Variable-Font-Datei deckt alle Schnitte 400–800 ab. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  --brand: #2442e8;
  --brand-600: #1e3ad6;
  --fuchsia: #c026d3;
  --ink-900: #0f1420;
  --ink-700: #29324a;
  --ink-500: #5b647d;
  --ink-400: #7c869e;
  --ink-200: #e3e7ef;
  --ink-100: #eef1f6;
  --bg: #f7f8fb;
  --card: #ffffff;
  --border: #e5e9f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink-900: #eef1f6;
    --ink-700: #c7cde0;
    --ink-500: #9aa3bb;
    --ink-400: #7c869e;
    --ink-200: #2a3145;
    --ink-100: #222839;
    --bg: #0b0e16;
    --card: #131826;
    --border: #242c3f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); font-size: 1.15rem; }
.brand svg, .brand img { height: 30px; width: 30px; border-radius: 9px; box-shadow: 0 4px 14px rgba(36,66,232,0.3); object-fit: cover; }
.header-links { display: flex; align-items: center; gap: 1.1rem; }
.header-link { font-size: 0.9rem; font-weight: 600; color: var(--ink-500); }
.header-link.lang { padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; }

/* Inhalt */
main { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
main.wide { max-width: 1080px; }

.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 0.25rem 0.6rem; border-radius: 999px; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 1rem 0 0.35rem; }
.updated { color: var(--ink-400); font-size: 0.88rem; margin: 0 0 2rem; }
h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.02rem; margin: 1.4rem 0 0.4rem; }
p, li { color: var(--ink-700); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
strong { color: var(--ink-900); }

.note {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-500);
  margin: 1.5rem 0;
}
.note strong { color: var(--ink-700); }

/* Preis-Karten */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 2rem 0 1rem; }
.plan { position: relative; border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 8px 30px rgba(36,66,232,0.15); }
.plan .tag { position: absolute; top: -0.7rem; left: 1.4rem; font-size: 0.7rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--fuchsia)); padding: 0.2rem 0.6rem; border-radius: 999px; }
.plan .name { font-weight: 800; font-size: 1.05rem; }
.plan .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.4rem 0 0.1rem; }
.plan .price span { font-size: 0.9rem; font-weight: 500; color: var(--ink-400); }
.plan .tagline { color: var(--ink-400); font-size: 0.85rem; margin-bottom: 0.9rem; }
.plan .peryear { font-size: 0.82rem; font-weight: 600; color: #059669; margin: -0.15rem 0 0.5rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.plan li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-700); }
.plan li::before { content: "✓"; color: #10b981; font-weight: 800; }
.plan .cta { margin-top: auto; display: inline-block; text-align: center; font-weight: 700; padding: 0.65rem 1rem; border-radius: 10px; border: 1px solid var(--border); color: var(--ink-900); }
.plan.featured .cta { background: var(--brand); color: #fff; border-color: var(--brand); }
.plan .cta:hover { text-decoration: none; opacity: 0.92; }

/* Datenschutz-Tabelle */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.dp-table th, .dp-table td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border: 1px solid var(--border); }
.dp-table th { background: var(--ink-100); font-weight: 700; color: var(--ink-700); }
.dp-table td { color: var(--ink-700); }
.dp-table td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }

/* AVV / DPA (avv.html / dpa.html): Vertragsparteien + Tabellen mit Fließtext in der ersten Spalte */
.parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.party { border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 0.9rem 1.1rem; }
.party p { margin: 0.4rem 0 0; font-size: 0.93rem; }
.dp-table.wrap { min-width: 760px; }
.dp-table.wrap td:first-child { white-space: normal; }

/* Vergleichs-Tabelle (vergleich.html / compare.html) */
.cmp { min-width: 640px; }
.cmp th, .cmp td { vertical-align: middle; }
.cmp td:first-child, .cmp th:first-child { white-space: normal; font-weight: 600; color: var(--ink-900); }
.cmp td { font-weight: 600; white-space: nowrap; }
.cmp .yes { color: #059669; }
.cmp .no { color: #e11d48; }
.cmp .part { color: #d97706; }
.cmp .manual { color: var(--ink-500); }
.cmp .pulse { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.cmp th.pulse { color: var(--brand); }
.cmp small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--ink-400); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0; }
.cta-row a { display: inline-block; font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 10px; border: 1px solid var(--border); color: var(--ink-900); }
.cta-row a.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta-row a:hover { text-decoration: none; opacity: 0.92; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1.6rem 1.25rem; text-align: center; color: var(--ink-400); font-size: 0.85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; justify-content: center; margin-bottom: 0.6rem; }
.site-footer a { color: var(--ink-500); font-weight: 600; }
