/* FABULOUS ANALYTICS – Landingpage, schwarz/weiß wie die App */
:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --fg: #0a0a0a;
  --fg-2: #404040;
  --muted: #8a8a8a;
  --line: #ececec;
  --line-2: #dcdcdc;
  --bar: #f3f3f3;
  --pv: #0a0a0a;
  --uv: #b5b5b5;
  --grid: #f0f0f0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .10), 0 4px 12px rgba(0, 0, 0, .05);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #070707;
    --surface: #0b0b0b;
    --fg: #f5f5f5;
    --fg-2: #c8c8c8;
    --muted: #7a7a7a;
    --line: #1e1e1e;
    --line-2: #2c2c2c;
    --bar: #161616;
    --pv: #f5f5f5;
    --uv: #5c5c5c;
    --grid: #161616;
    --shadow: none;
    --shadow-lg: 0 24px 80px rgba(255, 255, 255, .04);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code { font-family: var(--mono); font-size: .9em; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13px; letter-spacing: .14em; white-space: nowrap; }
.brand b { font-weight: 800; margin-left: .35em; }
.brand-mark { width: 22px; height: 22px; flex: none; }
.brand-mark .bg { fill: var(--fg); }
.brand-mark .b { fill: var(--bg); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 6px 12px; border-radius: 8px; font-size: 14px; color: var(--fg-2); }
.nav a:hover { color: var(--fg); background: var(--bg-soft); }
.top-cta { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font: 500 14px/1 var(--font); cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary:hover { opacity: .88; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; color: var(--fg-2); background: var(--surface); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fg) 45%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.hero h1 { font-size: clamp(42px, 7.4vw, 88px); font-weight: 800; margin: 0 auto 22px; max-width: 900px; }
.hero h1 .soft { color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--fg-2); max-width: 620px; margin: 0 auto; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; margin-right: 6px; color: var(--fg); }

/* Dashboard-Vorschau */
.preview { margin: 64px auto 0; max-width: 1040px; perspective: 1600px; }
.window { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; transform: rotateX(8deg) scale(.98); transform-origin: top center; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.window.in { transform: none; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.win-url { margin: 0 auto; font-size: 12px; color: var(--muted); padding: 3px 14px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); }
.win-body { padding: 26px; }
.win-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.win-head h4 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.pill b { color: var(--fg); }
.win-head .btnish { margin-left: auto; font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--fg-2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.kpi { padding: 16px 18px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi b { display: block; font-size: 26px; letter-spacing: -0.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: var(--fg-2); }
.chart { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: 18px 18px 10px; height: 230px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .g { stroke: var(--grid); }
.chart .pv { fill: var(--pv); }
.chart .uv { fill: var(--uv); }
.chart rect { transform-origin: bottom; transform-box: fill-box; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
.win-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mini h5 { margin: 0 0 10px; font-size: 13px; }
.mini li { position: relative; display: flex; justify-content: space-between; padding: 6px 10px; font-size: 13px; border-radius: 6px; margin-bottom: 4px; }
.mini li::before { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--bar); border-radius: 6px; z-index: 0; }
.mini li span { position: relative; z-index: 1; }
.mini li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.mini ol { list-style: none; margin: 0; padding: 0; }

/* Logos / Fakten-Leiste */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 96px; }
.fact { padding: 28px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-size: 34px; letter-spacing: -0.04em; font-weight: 800; }
.fact span { font-size: 14px; color: var(--muted); }

/* Sektionen */
section.block { padding: 120px 0 0; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 12px 0 16px; }
.sec-head p { font-size: 18px; color: var(--fg-2); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ico { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { margin: 0; color: var(--fg-2); font-size: 14.5px; }

/* Live-Sektion */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--fg-2); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--fg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
@media (prefers-color-scheme: dark) {
  .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.live { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 24px; }
.live-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.live-count { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.live-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.live-bars { display: flex; align-items: flex-end; gap: 3px; height: 54px; width: 46%; }
.live-bars i { flex: 1; background: var(--fg); border-radius: 2px 2px 0 0; opacity: .85; transition: height .5s; min-height: 2px; }
.visitors { list-style: none; margin: 8px 0 0; padding: 0; }
.visitor { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; animation: slide .5s ease both; }
.visitor:last-child { border-bottom: 0; }
.visitor .flag { font-size: 20px; line-height: 1; }
.visitor .path { font-family: var(--mono); font-size: 13px; }
.visitor .meta { font-size: 12px; color: var(--muted); }
.visitor .time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }

/* Datenschutz-Sektion */
.dark-band { background: var(--fg); color: var(--bg); border-radius: 28px; padding: 72px 56px; position: relative; overflow: hidden; }
.dark-band .kicker { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.dark-band .sec-head p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.compare > div { border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); border-radius: 16px; padding: 26px; }
.compare h3 { font-size: 16px; letter-spacing: 0; margin-bottom: 16px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.compare li { display: flex; gap: 10px; }
.compare .no li { color: color-mix(in srgb, var(--bg) 55%, transparent); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.compare .no li::before { content: "×"; text-decoration: none; display: inline-block; }
.compare .yes li::before { content: "✓"; }

/* Einbinden */
.code { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.code-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); font-family: var(--mono); }
.code pre { margin: 0; padding: 22px 20px; overflow-x: auto; font: 13.5px/1.7 var(--mono); }
.code .t { color: var(--muted); }
.copy { font: 500 12px var(--font); padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); cursor: pointer; }
.steps { display: grid; gap: 24px; counter-reset: s; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.step::before { counter-increment: s; content: counter(s); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h3 { font-size: 17px; margin: 6px 0 4px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--fg-2); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--fg-2); max-width: 680px; }

/* CTA */
.cta { text-align: center; padding: 120px 0; }
.cta h2 { font-size: clamp(40px, 6.5vw, 80px); font-weight: 800; max-width: 860px; margin: 0 auto 22px; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13.5px; color: var(--muted); }
.foot .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot a:hover { color: var(--fg); }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; margin-bottom: 10px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--fg-2); }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 24px 0; background: var(--bg-soft); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .legal { padding: 48px 16px 72px; }
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .top-cta .btn-ghost { display: none; }
  .top .wrap { height: 58px; }
  .brand { font-size: 11px; letter-spacing: .1em; }
  .hero { padding: 64px 0 24px; }
  .hero-cta .btn { width: 100%; }
  .preview { margin-top: 44px; }
  .win-body { padding: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpi b { font-size: 22px; }
  .chart { height: 170px; padding: 12px 10px 6px; }
  .win-lists { grid-template-columns: 1fr; }
  .win-head .btnish { display: none; }
  .grid { grid-template-columns: 1fr; }
  section.block { padding-top: 88px; }
  .facts { margin-top: 64px; }
  .fact { padding: 22px 16px; }
  .fact b { font-size: 28px; }
  .dark-band { padding: 48px 22px; border-radius: 20px; margin: 0 -4px; }
  .compare { grid-template-columns: 1fr; }
  .live-count { font-size: 52px; }
  .cta { padding: 96px 0; }
  .foot nav { margin-left: 0; }
}
