/* Gemeinsames Aussehen der App-Seiten. Keine externen Schriften, keine Skripte von außen (Datenschutz). */
:root {
  --bg: #11131c;
  --surface: #1a1d29;
  --surface-hi: #222636;
  --text: #e8eaf2;
  --muted: #9aa0b4;
  --line: #2e3346;
  --accent: #ff5c6c;      /* CATHY-Rot, auf Dunkel aufgehellt (Kontrast) */
  --accent-soft: #d3233a33;
  --link: #ff8a96;
  --radius: 18px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6fa;
    --surface: #ffffff;
    --surface-hi: #eef0f5;
    --text: #151826;
    --muted: #5b6075;
    --line: #dde0ea;
    --accent: #c62828;
    --accent-soft: #d3233a1f;
    --link: #b3202f;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

/* Kopf */
header.site { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: 3px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.lang a { color: var(--muted); text-decoration: none; font-size: 14px; }
.lang a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* Bühne */
.stage { padding: 56px 0 40px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.stage .logo { width: 168px; height: 168px; border-radius: 40px; box-shadow: 0 18px 50px #0006, 0 0 0 1px var(--line); }
.stage h1 { margin: 0; font-size: clamp(44px, 9vw, 72px); line-height: 1; font-weight: 900; letter-spacing: 6px; }
.stage .long { margin: 10px 0 0; color: var(--muted); font-size: 15px; letter-spacing: .3px; }
.stage .claim { margin: 18px 0 0; font-size: clamp(19px, 3vw, 23px); line-height: 1.4; max-width: 34ch; }
.stage .cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 15px; text-decoration: none; }
.pill.primary { background: var(--accent); color: #1a0006; }
.pill.ghost { border: 1px solid var(--line); color: var(--text); }
@media (max-width: 640px) {
  .stage { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 36px; gap: 22px; }
  .stage .logo { width: 128px; height: 128px; border-radius: 30px; }
  .stage .claim { margin-left: auto; margin-right: auto; }
  .stage .cta { justify-content: center; }
}

/* Grundsätze */
.promises { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.promises li { background: var(--surface-hi); border-radius: 999px; padding: 5px 14px; font-size: 14px; }
.promises li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }

/* Funktionen */
h2.section { font-size: 24px; margin: 56px 0 18px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Hinweis-Kasten */
.note { margin: 48px 0 56px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0; padding: 16px 18px; color: var(--muted); font-size: 14px; }
.note strong { color: var(--text); }

/* Textseiten (Datenschutz) */
main.doc { padding: 32px 0 48px; }
main.doc h1 { font-size: clamp(24px, 4.5vw, 32px); line-height: 1.25; margin: 0 0 4px; }
main.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.summary ul { margin: 0; padding-left: 20px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.placeholder { background: #ffd54f33; outline: 1px dashed #ffd54f; padding: 0 4px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Fuß */
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }
