:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #141416;
  --border: rgb(255 255 255 / 0.08);
  --text: #f2f2f2;
  --muted: #8e8e93;
  --accent: #d4d4d8;
  --accent-2: #a1a1aa;
  --accent-3: #71717a;
  --light-bg: #f4f6fb;
  --light-text: #141826;
  --light-muted: #5b6478;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.grad { color: var(--muted); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #0b0d12; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 16px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 13 18 / 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 560px) { .nav__links { gap: 18px; } .nav__links a { font-size: 0.88rem; } }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 26px; height: 26px; color: var(--text); }
.logo__text { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo__text span { color: inherit; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0 clamp(70px, 10vw, 120px); }
.hero__glow {
  position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 50% at 70% 35%, rgb(255 255 255 / 0.06), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
}
@keyframes drift { to { transform: translate3d(0, 4%, 0) scale(1.06); } }
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  font-size: 0.82rem; font-weight: 600; color: #cfd6e6; background: rgb(255 255 255 / 0.04); border: 1px solid var(--border);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.08); }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hero__lead { max-width: 540px; margin-top: 22px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* Produkt-Orbit */
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.08); }
.orbit__ring--1 { inset: 12%; }
.orbit__ring--2 { inset: 0; border-style: dashed; border-color: rgb(255 255 255 / 0.12); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__core {
  position: absolute; inset: 31%; border-radius: 30%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #1a1f2c, #0b0d12 70%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.08);
}
.orbit__core svg { width: 46%; color: #f2f2f2; }
.orbit__app {
  position: absolute; width: 19%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; overflow: hidden;
  background: var(--surface); border: 1px solid rgb(255 255 255 / 0.1); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.8);
  animation: float 6s ease-in-out infinite;
}
.orbit__app img { width: 100%; height: 100%; object-fit: cover; }
.orbit__app svg { width: 46%; fill: none; stroke: #34d399; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.orbit__app span { font-size: 1.6rem; font-weight: 300; color: #a1a1aa; }
.orbit__app--a { top: 4%; left: 14%; }
.orbit__app--b { top: 22%; right: 2%; animation-delay: -2s; }
.orbit__app--c { bottom: 6%; left: 30%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .orbit { width: min(320px, 86%); }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: #f2f2f2; color: #0a0a0b; }
.btn--primary:hover { transform: translateY(-2px); background: #ffffff; }
.btn--ghost { border-color: var(--border); color: var(--text); background: rgb(255 255 255 / 0.03); }
.btn--ghost:hover { border-color: rgb(255 255 255 / 0.22); transform: translateY(-2px); }

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }

/* App-Karten */
.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  --c: var(--accent);
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 60%), var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--c) 70%, transparent); }
.card:hover::before { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card__icon img { width: 100%; height: 100%; object-fit: cover; }
.badge { font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: 0.02em; white-space: nowrap; }
.badge--live { background: rgb(52 211 153 / 0.14); color: #6ee7b7; }
.badge--beta { background: rgb(255 255 255 / 0.08); color: #d4d4d8; }
.badge--bald { background: rgb(245 183 90 / 0.14); color: #f8c97e; }
.card__cat { font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.card h3 { font-size: 1.35rem; font-weight: 800; }
.card__desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .btn { align-self: flex-start; padding: 11px 20px; font-size: 0.92rem; }
.card .btn--open { background: var(--c); color: #0b0d12; }
.card .btn--open:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn[aria-disabled="true"] { background: rgb(255 255 255 / 0.05); color: var(--muted); border-color: var(--border); cursor: not-allowed; }

/* Ueber uns – heller Bereich */
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--light .eyebrow { color: #52525b; }
.about { display: grid; gap: 48px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.about h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; }
.about p { color: var(--light-muted); font-size: 1.05rem; }
.about p + p { margin-top: 14px; }
.about strong { color: var(--light-text); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px;
  background: #fff; border: 1px solid #e3e7f0; box-shadow: 0 10px 30px -22px rgb(20 24 38 / 0.35);
  transition: transform .3s var(--ease);
}
.values li:hover { transform: translateX(4px); }
.values__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #ececec; color: #18181b; font-size: 1.2rem; }
.values__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-size: 1.05rem; margin-bottom: 2px; }
.values p { font-size: 0.95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; background: var(--bg-2); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer__tag { margin-top: 12px; max-width: 260px; font-size: 0.95rem; }
.footer__h { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); background: rgb(255 255 255 / 0.03); transition: border-color .2s, transform .2s;
}
.social a:hover { border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { border-top: 1px solid var(--border); margin-top: 48px; padding: 22px 0 28px; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { padding: 60px 0 90px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p { color: var(--muted); }
.legal .note { padding: 14px 18px; border-radius: 12px; border: 1px dashed rgb(245 183 90 / 0.5); color: #f8c97e; margin-bottom: 24px; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Intro ---------- */
.intro-running { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 200; background: #07080c; display: grid; place-items: center;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.intro[hidden] { display: none; }
.intro--out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro__rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.intro__stage { position: relative; width: min(380px, 78vw); aspect-ratio: 1; }
.intro__ring { position: absolute; border-radius: 50%; }
.intro__ring--outer { inset: 0; border: 1.5px dashed rgb(255 255 255 / .22); animation: introRing 1.4s var(--ease) both, spin 8s linear 1.4s infinite; }
.intro__ring--inner { inset: 14%; border: 1px solid rgb(255 255 255 / .1); animation: introRing 1.4s var(--ease) .15s both; }
@keyframes introRing { from { opacity: 0; transform: rotate(-200deg) scale(.4); } to { opacity: 1; transform: rotate(0) scale(1); } }
.intro__app {
  position: absolute; width: 20%; aspect-ratio: 1; border-radius: 28%; overflow: hidden; display: grid; place-items: center;
  background: var(--surface); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 20px 40px -14px rgb(0 0 0 / .9);
  opacity: 0;
}
.intro__app img { width: 100%; height: 100%; object-fit: cover; }
.intro__app span { font-size: 1.8rem; font-weight: 300; color: #a1a1aa; }
.intro__app--a { top: 2%; left: 12%; animation: introDrop 0.9s cubic-bezier(.34, 1.4, .64, 1) 1.1s both; }
.intro__app--b { top: 20%; right: 0; animation: introDrop 0.9s cubic-bezier(.34, 1.4, .64, 1) 1.45s both; }
.intro__app--c { bottom: 4%; left: 30%; animation: introDrop 0.9s cubic-bezier(.34, 1.4, .64, 1) 1.8s both; }
@keyframes introDrop { from { opacity: 0; transform: translateY(-70vh) rotate(-25deg) scale(.6); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
.intro__core {
  position: absolute; inset: 31%; border-radius: 30%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #1a1f2c, #0b0d12 70%); border: 1px solid rgb(255 255 255 / .12);
  animation: introCore 1s var(--ease) 2.3s both, introGlow 2.4s ease-in-out 3.2s infinite;
}
.intro__core svg { width: 46%; color: #f2f2f2; }
@keyframes introCore { from { opacity: 0; transform: scale(.3) rotate(-90deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introGlow { 50% { box-shadow: 0 0 70px -10px rgb(255 255 255 / .35); } }
.intro__word {
  position: absolute; bottom: 14vh; left: 0; right: 0; text-align: center; margin: 0;
  font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -.035em;
  animation: introWord .8s var(--ease) 2.9s both;
}
.intro__word span { color: inherit; }
@keyframes introWord { from { opacity: 0; transform: translateY(16px); letter-spacing: .3em; } to { opacity: 1; transform: none; } }
.intro__skip {
  position: absolute; right: 18px; bottom: 18px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: 600 .85rem/1 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--muted);
  background: rgb(255 255 255 / .05); border: 1px solid var(--border);
}
.intro__skip:hover { color: var(--text); border-color: rgb(255 255 255 / .25); }
/* Kurzfassung bei spaeteren Besuchen */
.intro--short .intro__ring--outer { animation-duration: .6s, 8s; animation-delay: 0s, .6s; }
.intro--short .intro__ring--inner { animation-duration: .6s; animation-delay: 0s; }
.intro--short .intro__app--a { animation-delay: .25s; }
.intro--short .intro__app--b { animation-delay: .35s; }
.intro--short .intro__app--c { animation-delay: .45s; }
.intro--short .intro__core { animation-delay: .6s, 1.2s; }
.intro--short .intro__word { animation-delay: .8s; }
