/* =========================================================================
   X-Feed Web — Design "Klar" fuer alle festen Seiten (Start, App, Support,
   Datenschutz). Dieselben Farben, Schrift und Federkurven wie die
   Nachrichtenseite (webseite/neu/index.html) — dort ist das Original.
   ========================================================================= */
:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --feder: cubic-bezier(.3,1.25,.5,1);
  --feder-weich: cubic-bezier(.22,1,.36,1);
  --leiste: 64px;
  --bg: #f5f5f7; --flaeche: #ffffff; --glas: rgba(250,250,252,.72);
  --linie: rgba(0,0,0,.08); --text: #1d1d1f; --text-2: #6e6e73; --text-3: #a1a1a6;
  --fuell: rgba(118,118,128,.08); --fuell-2: rgba(118,118,128,.14);
  --akzent: #007aff; --akzent-text: #fff;
  --schatten: 0 1px 3px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
  --schatten-hoch: 0 4px 14px rgba(0,0,0,.06), 0 22px 60px rgba(0,0,0,.13);
  --radius: 22px; --radius-klein: 14px;
  --schein: radial-gradient(900px 380px at 50% -140px, rgba(0,122,255,.14), transparent 70%);
  --x-verlauf: linear-gradient(140deg, #1e3c72, #2a6fd6);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --flaeche: #1c1c1e; --glas: rgba(22,22,24,.7);
    --linie: rgba(255,255,255,.1); --text: #f5f5f7; --text-2: #98989d; --text-3: #636366;
    --fuell: rgba(118,118,128,.16); --fuell-2: rgba(118,118,128,.26);
    --akzent: #0a84ff;
    --schatten: 0 2px 8px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35);
    --schatten-hoch: 0 8px 24px rgba(0,0,0,.5), 0 28px 80px rgba(0,0,0,.6);
    --schein: radial-gradient(900px 380px at 50% -140px, rgba(10,132,255,.2), transparent 70%);
    --x-verlauf: linear-gradient(140deg, #fff, #9cc2ff);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--leiste) + 14px); }
body { font-family: var(--font); background: var(--bg) var(--schein) no-repeat; color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 10px; }

@keyframes auftritt { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.container > *, .buehne > * { opacity: 0; animation: auftritt .7s var(--feder-weich) forwards; }
.container > :nth-child(1), .buehne > :nth-child(1) { animation-delay: 0ms; }
.container > :nth-child(2), .buehne > :nth-child(2) { animation-delay: 70ms; }
.container > :nth-child(3), .buehne > :nth-child(3) { animation-delay: 140ms; }
.container > :nth-child(4), .buehne > :nth-child(4) { animation-delay: 210ms; }
.container > :nth-child(n+5), .buehne > :nth-child(n+5) { animation-delay: 280ms; }
@media (prefers-reduced-motion: reduce) { .container > *, .buehne > * { animation: none; opacity: 1; } * { transition-duration: .01ms !important; } }

/* ---------- Kopfleiste ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--leiste); display: flex; align-items: center; gap: 12px; padding: 0 max(20px, env(safe-area-inset-left)); background: var(--glas); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 1px 0 var(--linie); }
.marke { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 25px; letter-spacing: -.03em; white-space: nowrap; color: var(--text); text-decoration: none; transition: transform .5s var(--feder); }
.marke:hover { transform: scale(1.04); }
.x { display: inline-block; width: 34px; height: 34px; background: var(--x-verlauf); -webkit-mask: url("/neu-x-logo.png") center / contain no-repeat; mask: url("/neu-x-logo.png") center / contain no-repeat; }
.kopf-frei { flex: 1; }
.app-knopf, .knopf-gross { display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; font-weight: 600; border-radius: 999px; background: var(--akzent); color: var(--akzent-text); text-decoration: none; transition: transform .35s var(--feder), filter .2s; }
.app-knopf { font-size: 14px; padding: 9px 16px; }
.knopf-gross { font-size: 17px; padding: 14px 26px; }
.app-knopf:hover, .knopf-gross:hover { filter: brightness(1.08); }
.app-knopf:active, .knopf-gross:active { transform: scale(.95); }
.knopf-gross.leise { background: var(--fuell); color: var(--text); }
.knopf-gross.leise:hover { background: var(--fuell-2); filter: none; }
.knopf-gross svg { width: 20px; height: 20px; flex: none; }
/* Echte Store-Logos (20.10.2026): Apple als Pfad, Google Play als Maske — beide nehmen die Textfarbe des Knopfs an (hell/dunkel) */
.knopf-gross .store-logo { width: 19px; height: 22px; margin-top: -3px; }
.knopf-gross .store-logo.play { width: 19px; height: 19px; margin-top: 0; background: currentColor; -webkit-mask: url(/store-google-play.png) center / contain no-repeat; mask: url(/store-google-play.png) center / contain no-repeat; }

/* ---------- Seite ---------- */
.container { max-width: 760px; margin: 0 auto; padding: 8px 20px 60px; }
.container > header { text-align: center; padding: 34px 0 30px; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 20px; box-shadow: var(--schatten-hoch); }
h1 { font-size: clamp(32px, 5.8vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--akzent); }
.tagline { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); max-width: 30em; margin: 12px auto 0; text-wrap: pretty; }
.meta { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

.section { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 30px; margin-bottom: 18px; }
.section h2 { font-size: 23px; font-weight: 700; letter-spacing: -.022em; line-height: 1.2; margin-bottom: 14px; }
.section h3 { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin: 24px 0 8px; }
.section p, .section li { font-size: 16.5px; color: var(--text-2); margin-bottom: 10px; }
.section p:last-child, .section li:last-child { margin-bottom: 0; }
.section strong { color: var(--text); font-weight: 600; }
.section ul, .section ol { margin: 0 0 12px 22px; }
.section table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 14px; }
.section th, .section td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--linie); color: var(--text-2); vertical-align: top; }
.section th { color: var(--text); font-weight: 600; }
.section a { color: var(--akzent); text-decoration: none; }
.fuss a { text-decoration: none; }
.section a:hover { text-decoration: underline; }
.impressum-block h3:first-child { margin-top: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.feature { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 24px 20px; text-align: left; transition: transform .5s var(--feder); }
.feature:hover { transform: translateY(-3px); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--fuell); margin-bottom: 14px; }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--text-2); line-height: 1.45; }
.badge { display: inline-block; background: var(--fuell); color: var(--text-2); padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin: 0 6px 6px 0; }

.email-box { display: block; background: var(--fuell); padding: 18px 20px; border-radius: var(--radius-klein); text-align: center; margin-top: 18px; color: var(--akzent) !important; font-size: 17px; font-weight: 600; word-break: break-all; transition: transform .4s var(--feder), background .2s; }
.email-box:hover { background: var(--fuell-2); text-decoration: none !important; }
.email-box:active { transform: scale(.97); }

/* ---------- Fuss ---------- */
.fuss { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 13.5px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.fuss .marke { font-size: 22px; } .fuss .x { width: 28px; height: 28px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.fuss nav a { color: var(--text-3); } .fuss nav a:hover { color: var(--text); }

/* ---------- App-Seite ---------- */
.buehne { max-width: 460px; margin: 0 auto; padding: 30px 20px 60px; text-align: center; }
.buehne .karte { background: var(--flaeche); border-radius: 28px; box-shadow: var(--schatten-hoch); padding: 40px 28px 32px; }
.buehne h1 { font-size: 40px; }
.buehne .buttons { display: grid; gap: 10px; margin: 28px 0 0; }
.qr { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--linie); }
.qr img { width: 148px; height: 148px; border-radius: 16px; background: #fff; padding: 10px; box-shadow: var(--schatten); }
.qr p { font-size: 14px; color: var(--text-3); margin-top: 12px; }

@media (max-width: 620px) {
  .kopf { padding: 0 14px; } .marke { font-size: 22px; } .x { width: 30px; height: 30px; }
  .container { padding: 0 14px 50px; } .section { padding: 22px 20px; }
  .features { grid-template-columns: 1fr; }
  .section p, .section li { font-size: 16px; }
}
@media (max-width: 760px) and (min-width: 621px) { .features { grid-template-columns: 1fr 1fr; } }
