:root {
  --bg: #0a0b12;
  --bg-2: #0e1018;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef1f8;
  --muted: #9aa3b8;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #ff5ca8;
  --grad: linear-gradient(120deg, #9b8cff, #22d3ee 60%, #6ee7ff);
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --maxw: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -.1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-name { font-family: "Sora", "Inter", sans-serif; letter-spacing: -.6px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Hintergrund */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(800px 500px at 80% -5%, rgba(124, 92, 255, .26), transparent 60%),
    radial-gradient(700px 500px at 5% 8%, rgba(34, 211, 238, .18), transparent 58%),
    var(--bg);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent;
  border-radius: var(--pill); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: #0a0b12; background: linear-gradient(120deg, #b9adff, #5eead4); box-shadow: 0 12px 36px rgba(124, 92, 255, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(124, 92, 255, .55); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: var(--surface); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(124, 92, 255, .6); background: var(--surface-2); }
.btn.wide { width: 100%; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--surface); color: var(--muted);
  font-size: 12.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  width: min(var(--maxw), calc(100% - 32px)); margin: 14px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: rgba(12, 14, 22, .72); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; color: #0a0b12; font-size: 13px; font-weight: 900;
  background: linear-gradient(135deg, #b9adff, #5eead4);
}
.brand-name { font-size: 17px; }
.brand-name span { color: var(--muted); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a { padding: 9px 13px; border-radius: var(--pill); color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color .16s, background .16s; }
.nav-links > a:hover { color: var(--text); background: var(--surface); }
.nav-cta { color: var(--text) !important; min-height: 42px; padding: 0 18px !important; margin-left: 6px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Layout helper */
main { width: min(var(--maxw), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .why h2, .contact h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 14px; line-height: 1.08; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px;
  padding: 84px 0 64px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 0 0 20px; }
.hero .lead { color: var(--muted); font-size: 18.5px; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-meta { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta div { display: grid; }
.hero-meta strong { font-size: 26px; font-family: "Sora", sans-serif; }
.hero-meta span { color: var(--muted); font-size: 13.5px; }

.hero-visual { position: relative; }
.code-card {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 22, 34, .95), rgba(12, 14, 22, .95));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3f52; }
.code-bar span:nth-child(1) { background: #ff5f57; } .code-bar span:nth-child(2) { background: #febc2e; } .code-bar span:nth-child(3) { background: #28c840; }
.code-bar em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 12.5px; font-family: ui-monospace, monospace; }
.code-card pre { margin: 0; padding: 22px 20px; overflow-x: auto; }
.code-card code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; line-height: 1.9; color: #cbd3e6; }
.c-key { color: #c792ea; } .c-fn { color: #82aaff; } .c-prop { color: #7fdbca; } .c-str { color: #ecc48d; } .c-num { color: #f78c6c; } .c-com { color: #5a6378; font-style: italic; }
.float-badge {
  position: absolute; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--pill);
  background: rgba(14, 16, 24, .92); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.fb1 { top: -14px; right: 22px; } .fb2 { bottom: -14px; left: 14px; }

/* Strip */
.strip { padding: 30px 0 8px; text-align: center; }
.strip > span { color: var(--muted); font-size: 14px; }
.strip-row { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.strip-row span { color: var(--text); font-weight: 700; opacity: .55; font-size: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .5); background: var(--surface-2); }
.card-ic { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; font-size: 24px; background: linear-gradient(135deg, rgba(124, 92, 255, .26), rgba(34, 211, 238, .2)); border: 1px solid var(--line); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Stats */
.stats {
  margin: 8px 0; padding: 36px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(124, 92, 255, .1), rgba(34, 211, 238, .07));
}
.stats strong { display: block; font-family: "Sora", sans-serif; font-size: clamp(30px, 4vw, 44px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* Tech */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto; }
.tech-grid span {
  padding: 11px 20px; border: 1px solid var(--line); border-radius: var(--pill);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px;
  transition: transform .16s, border-color .16s, color .16s;
}
.tech-grid span:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .6); color: #bff3fb; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work {
  position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden; transition: transform .2s, border-color .2s;
}
.work::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--w, var(--violet)); opacity: .9; }
.work:hover { transform: translateY(-5px); border-color: var(--line-2); }
.work-top { margin-bottom: 16px; }
.tag { display: inline-block; padding: 5px 11px; border-radius: var(--pill); background: color-mix(in srgb, var(--w) 22%, transparent); color: #fff; font-size: 12px; font-weight: 700; }
.work h3 { margin: 0 0 10px; font-size: 20px; }
.work p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.work-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.work-foot span { padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 12.5px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.step-no { font-family: "Sora", sans-serif; font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.steps h3 { margin: 8px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* Why */
.why { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.why h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; }
.why-copy > p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 32px; color: var(--text); }
.check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b12' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 12px no-repeat,
  linear-gradient(135deg, #b9adff, #5eead4);
}
.why-card {
  padding: 34px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .08));
}
.quote-mark { font-family: "Sora", sans-serif; font-size: 64px; line-height: .6; color: var(--violet); margin-bottom: 14px; }
.quote { font-size: 19px; margin: 0 0 22px; }
.quote-by strong { display: block; } .quote-by span { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--muted); border-radius: 2px; transition: transform .2s, opacity .2s; }
.faq-ic::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-ic::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq details[open] .faq-ic::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary { color: #bff3fb; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Contact */
.contact-inner {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px;
  padding: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(124, 92, 255, .12), rgba(34, 211, 238, .07));
}
.contact-copy h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; }
.contact-copy > p { color: var(--muted); margin: 0 0 24px; }
.contact-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-meta li { display: grid; }
.contact-meta li span { color: var(--muted); font-size: 13px; }
.contact-meta a { color: #bff3fb; font-weight: 600; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.contact-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; padding: 0 14px; color: var(--text); font: inherit;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 12, 20, .6); outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.contact-form textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .22); }
.form-note { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.form-msg { margin: 0; min-height: 20px; font-size: 14px; text-align: center; }
.form-msg.ok { color: #5eead4; } .form-msg.err { color: #ff7a8a; }

/* Footer */
.footer {
  width: min(var(--maxw), calc(100% - 32px)); margin: 40px auto 28px; padding: 40px 0 0;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 2fr; gap: 36px;
}
.foot-brand p { color: var(--muted); margin: 14px 0 0; max-width: 320px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols strong { font-size: 14px; }
.foot-cols a, .foot-cols span { color: var(--muted); font-size: 14px; }
.foot-cols a:hover { color: var(--text); }
.foot-bottom { grid-column: 1 / -1; margin-top: 14px; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }

/* Plattformen */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.platform {
  position: relative; padding: 26px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.platform:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, .5); background: var(--surface-2); }
.platform.featured { border-color: var(--line-2); background: linear-gradient(180deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .06)); }
.platform h3 { margin: 20px 0 8px; font-size: 21px; }
.platform p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.pf-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.pf-tags span { padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 12px; color: var(--muted); }
.pf-badge { position: absolute; top: 16px; right: 16px; padding: 4px 11px; border-radius: var(--pill); font-size: 11px; font-weight: 700; color: #0a0b12; background: linear-gradient(120deg, #b9adff, #5eead4); }
.platform-note { margin: 28px auto 0; max-width: 640px; text-align: center; color: var(--muted); font-size: 15px; }

/* Device-Mockups */
.device { margin: 0 auto 6px; }
.device .screen { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, rgba(124, 92, 255, .32), rgba(34, 211, 238, .12) 55%, #0c0e16); }

.browser { width: 232px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #14161f; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); transition: transform .25s ease; }
.platform:hover .device { transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #3a3f52; }
.browser-bar i { margin-left: 8px; padding: 3px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); color: var(--muted); font-style: normal; font-size: 10px; }
.browser .screen { height: 150px; padding: 14px; }
.sk-row { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .16); margin-bottom: 12px; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-grid span { height: 38px; border-radius: 8px; background: rgba(255, 255, 255, .1); }

.phone { position: relative; width: 150px; height: 300px; border: 8px solid #1a1d28; border-radius: 34px; overflow: hidden; background: #0c0e16; box-shadow: 0 28px 60px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.platform.featured .phone { width: 170px; height: 340px; }
.phone .screen { width: 100%; height: 100%; padding: 32px 16px 18px; display: grid; align-content: start; gap: 11px; justify-items: center; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 54px; height: 16px; border-radius: var(--pill); background: #1a1d28; z-index: 2; }
.punch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: #1a1d28; z-index: 2; }
.app-ic { width: 52px; height: 52px; margin-top: 8px; border-radius: 15px; background: linear-gradient(135deg, #b9adff, #5eead4); box-shadow: 0 8px 20px rgba(124, 92, 255, .5); }
.app-ic.green { background: linear-gradient(135deg, #5eead4, #7bf1a8); box-shadow: 0 8px 20px rgba(94, 234, 212, .45); }
.sk-line { width: 80%; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.sk-line.short { width: 55%; }
.sk-btn { margin-top: 8px; width: 72%; height: 30px; border-radius: var(--pill); background: linear-gradient(120deg, #b9adff, #5eead4); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .hero-visual { order: 2; }
  .cards, .work-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why, .contact-inner, .footer { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: rgba(12, 14, 22, .98); backdrop-filter: blur(16px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 14px; }
  .nav-cta { margin: 6px 0 0; }
  .section { padding: 64px 0; }
  .cards, .work-grid, .stats, .steps, .platforms { grid-template-columns: 1fr; }
  .platform.featured .phone { width: 150px; height: 300px; }
  .contact-form .f-row { grid-template-columns: 1fr; }
  .contact-inner { padding: 26px 20px; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .float-badge { display: none; }
}
