/* Gemeinsames Stylesheet für alle Inhaltsseiten außerhalb der Haupt-App
   (datenschutz.html, impressum.html, faq.html, Ratgeber-Landingpages).
   Löst das CSS-Triplikat auf, das vor der SEO-Landingpage-Erweiterung
   (TODO #211) in datenschutz.html/impressum.html/faq.html identisch
   dreifach kopiert war. index.html hat ein eigenes, größeres Variablenset
   (Kammer-/Arbeitstisch-Farbschema) und bleibt bewusst getrennt. */

:root {
  --font: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text2: #555;
  --text3: #888;
  --border: #e0e0e0;
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --radius: 8px;
  --radius-lg: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --surface: #1e1e1e;
    --text: #f0f0f0;
    --text2: #aaa;
    --text3: #666;
    --border: #333;
    --c-primary: #60a5fa;
    --c-primary-dark: #93c5fd;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding: 2rem 1rem 4rem;
}
.page { max-width: 760px; margin: 0 auto; }

a { color: var(--c-primary); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-primary);
  text-decoration: none;
  margin-bottom: 2rem;
}
.back-link:hover { text-decoration: underline; }

.breadcrumb {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--c-primary); }

h1 { font-size: 24px; font-weight: 600; margin-bottom: 0.4rem; }
.subtitle { font-size: 13px; color: var(--text3); margin-bottom: 2.5rem; }
h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 2.2rem 0 0.75rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 1.4rem 0 0.5rem;
  color: var(--text);
}
p { font-size: 14px; color: var(--text2); margin-bottom: 0.8rem; }
ul, ol { font-size: 14px; color: var(--text2); padding-left: 1.4rem; margin-bottom: 0.8rem; }
li { margin-bottom: 0.3rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.5rem;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 0.8rem; }
th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 7px 10px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
td { padding: 7px 10px; color: var(--text2); border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }

.highlight {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--text2);
}
@media (prefers-color-scheme: dark) {
  .highlight { background: #1e2a3a; border-color: #60a5fa; }
}

code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
}

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.cta:hover { filter: brightness(1.08); }

.footer-note {
  margin-top: 3rem;
  font-size: 12px;
  color: var(--text3);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.footer-note a { margin-right: 0.75rem; }

/* Landingpage-Bausteine (Ratgeber-Cluster, TODO #211) */

.lp-hero { margin-bottom: 2rem; }
.lp-hero .subtitle { margin-bottom: 1.25rem; }

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.lp-steps { counter-reset: lp-step; list-style: none; padding-left: 0; }
.lp-steps li {
  counter-increment: lp-step;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
}
.lp-steps li::before {
  content: counter(lp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-cta-band {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.lp-cta-band p { margin-bottom: 1rem; }
