:root {
  --bg: #000;
  --fg: #f5f5f7;
  --fg2: rgba(245, 245, 247, .68);
  --fg3: rgba(245, 245, 247, .42);
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(18, 18, 22, .55);
  --green: #1ed760;
  --purple: #7c83ff;
  --orange: #ff9f0a;
  --blue: #4c8dff;
  --yellow: #ffd60a;
  --accent: var(--green);
  --ease: cubic-bezier(.2, .9, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--fg); background: transparent;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
kbd {
  display: inline-block; min-width: 26px; padding: 2px 7px; margin: 0 2px; border-radius: 7px; text-align: center;
  font: 600 13px/1.6 "Segoe UI", system-ui, sans-serif; color: var(--fg);
  background: linear-gradient(#2a2a30, #1a1a1f); box-shadow: inset 0 -2px 0 rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; }

/* ------------------------------------------------------------------ 3D-Hintergrund */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer, .nav { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ Navigation */
.nav {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 10;
  display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(10, 10, 12, .6); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0,0,0,.35);
  transition: translate .6s var(--ease), opacity .4s;
}
.nav.hide { translate: -50% -90px; opacity: 0; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 18px; }
.nav nav a { color: var(--fg2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav nav a:hover { color: var(--fg); }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
  height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 inherit; color: var(--fg);
  background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), background .2s, box-shadow .3s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.btn:active { transform: scale(.97); }
.btn.small { height: 34px; padding: 0 16px; font-size: 14px; background: #fff; color: #000; }
.btn.primary { background: #fff; color: #000; box-shadow: 0 0 0 0 rgba(255,255,255,.4), 0 14px 40px rgba(255,255,255,.12); }
.btn.primary:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 18px 50px rgba(255,255,255,.2); background: #fff; }
.btn.big { height: 56px; padding: 0 28px; font-size: 17px; }
.btn.ghost { background: transparent; }

/* ------------------------------------------------------------------ Hero */
.hero { min-height: 100vh; display: grid; place-items: end center; padding: 30vh 24px 9vh; text-align: center; position: relative; }
.hero-inner { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--fg2); background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
h1 { margin: 0; font-size: clamp(44px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.grad { background: linear-gradient(100deg, #fff 10%, #9cf6c0 35%, #8f95ff 60%, #ffb35c 85%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { max-width: 640px; margin: 22px auto 30px; font-size: clamp(17px, 2vw, 20px); color: var(--fg2); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--fg3); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 24px; height: 38px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--fg3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------------------------------------------ Feature-Abschnitte */
.feature {
  min-height: 100vh; max-width: 1240px; margin: 0 auto; padding: 120px 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center;
}
.feature.reverse .copy { order: 2; }
.copy { max-width: 520px; }
.kicker { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.kicker.green { color: var(--green); } .kicker.purple { color: var(--purple); } .kicker.orange { color: var(--orange); }
.kicker.blue { color: var(--blue); } .kicker.yellow { color: var(--yellow); }
h2 { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; }
.copy > p { color: var(--fg2); margin: 0 0 22px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; color: var(--fg); }
.list li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line); font-size: 14px; color: var(--fg2); backdrop-filter: blur(10px); }

/* Echte App-Bilder als schwebende Karten */
.shot { margin: 70px 0 0; perspective: 1400px; }
.shot img {
  width: 100%; max-width: 560px; margin: 0 auto; border-radius: 34px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.65));
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 6deg)) translateZ(0);
  transition: transform .9s var(--ease);
}
.feature.reverse .shot img { --ry: 10deg; }
.shot.tilt:hover img { transform: rotateY(0) rotateX(0) scale(1.02); }

.peeks { display: grid; gap: 18px; justify-items: center; }
.peeks img { max-width: 100%; width: auto; max-height: 82px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.peeks img:nth-child(odd) { justify-self: start; }
.peeks img:nth-child(even) { justify-self: end; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ------------------------------------------------------------------ Stream Deck */
.deck-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 26px; border-radius: 30px;
  background: linear-gradient(#17171b, #0b0b0d); box-shadow: 0 0 0 1px var(--line), 0 50px 100px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1400px) rotateX(18deg) rotateY(-14deg); transition: transform 1s var(--ease);
}
.deck-grid:hover { transform: perspective(1400px) rotateX(6deg) rotateY(-4deg); }
.deck-grid img { width: 100%; border-radius: 18%; box-shadow: 0 6px 0 #050506, 0 10px 20px rgba(0,0,0,.6); transition: transform .15s, box-shadow .15s; cursor: pointer; }
.deck-grid img:active, .deck-grid img.pressed { transform: translateY(5px); box-shadow: 0 1px 0 #050506, 0 4px 10px rgba(0,0,0,.6); }

/* Auf großen Bildschirmen schweben die Tasten in 3D, das Raster ist nur der Ersatz für kleine Geräte */
.deck-space { min-height: 460px; }
@media (min-width: 901px) { .deck .deck-grid { display: none; } }
@media (max-width: 900px) { .deck-space { display: none; } }

/* ------------------------------------------------------------------ Tastenkürzel */
.keys { max-width: 1100px; margin: 0 auto; padding: 120px 32px; text-align: center; }
.sub { color: var(--fg2); margin: -6px 0 40px; }
.key-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; text-align: left; }
.key-table div {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: var(--glass); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line); color: var(--fg2); font-size: 15px;
  transition: transform .4s var(--ease), background .3s;
}
.key-table div:hover { transform: translateY(-3px); background: rgba(30,30,36,.7); color: var(--fg); }
.key-table span { order: 2; white-space: nowrap; }

/* ------------------------------------------------------------------ Download */
.changelog { padding: 14px 16px; border-radius: 16px; background: var(--glass); box-shadow: 0 0 0 1px var(--line); color: var(--fg2) !important; font-size: 15px; }
.download { max-width: 860px; margin: 0 auto; padding: 34vh 24px 16vh; text-align: center; }
.faq-wrap { max-width: 860px; margin: 0 auto; padding: 40px 24px 100px; }
.faq-wrap h2 { text-align: center; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 30px; }
.island-space { min-height: 420px; }
@media (min-width: 901px) { .peeks { display: none; } }
@media (max-width: 900px) { .island-space { display: none; } }
.app-icon { margin: 0 auto 26px; border-radius: 24px; box-shadow: 0 30px 80px rgba(30, 215, 96, .25); }
.faq { text-align: left; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--glass); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--fg3); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--fg2); }

footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto; padding: 40px 32px 50px; color: var(--fg3); font-size: 14px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ Klein */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 90px 22px; min-height: auto; }
  .feature.reverse .copy { order: 0; }
  .shot img { --ry: 0deg !important; --rx: 0deg; }
  .deck-grid { transform: none; gap: 8px; padding: 14px; }
  .hero { padding-bottom: 14vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
