/* CortexOne · Website-Neuentwurf 2026-10-18 — hell wie die App 1.2, mit Dunkelmodus. */
:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f2f8;
  --ink: #0b1020;
  --ink-2: #3a4156;
  --muted: #6b7184;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #5b5ceb;
  --accent-2: #8b5cf6;
  --accent-3: #38bdf8;
  --ok: #16a34a;
  --grad: linear-gradient(100deg, #5b5ceb 0%, #8b5cf6 48%, #38bdf8 100%);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-phone: 0 60px 120px -40px rgba(30, 27, 75, 0.45), 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --radius: 24px;
  --nav-bg: rgba(246, 247, 251, 0.72);
  --store-bg: #0b1020;
  --store-ink: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090f;
    --bg-alt: #0b0e16;
    --surface: #11141d;
    --surface-2: #171b26;
    --ink: #f3f4f8;
    --ink-2: #c9ccd8;
    --muted: #8d92a3;
    --line: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 60px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(7, 9, 15, 0.72);
    --store-bg: #ffffff;
    --store-ink: #0b1020;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-3); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.55; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 24px -10px rgba(91, 92, 235, 0.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(91, 92, 235, 0.8); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--store { background: var(--store-bg); color: var(--store-ink); padding: 10px 24px 10px 20px; min-height: 60px; box-shadow: 0 16px 32px -14px rgba(11, 16, 32, 0.55); }
.btn--store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.btn--store small { font-size: 12px; font-weight: 500; opacity: .8; letter-spacing: 0; }
.btn--store .apple { width: 24px; height: 28px; fill: currentColor; }
.btn--light { background: #fff; color: #0b1020; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--ink); }
.link-arrow::after { content: " →"; color: var(--accent); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav--scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* Start */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(35% 45% at 95% 60%, rgba(56, 189, 248, 0.20), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, rgba(91, 92, 235, 0.12), transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 4.9vw, 66px); letter-spacing: -0.04em; line-height: 1.02; margin: 18px 0 22px; }
.hero h1 .grad, .nobr { white-space: nowrap; }
.hero .lead { max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin: 32px 0 26px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before, .checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.desktop-hint { margin-top: 18px; font-size: 14px; color: var(--muted); }
.desktop-hint b { color: var(--ink-2); font-weight: 600; }
@media (hover: none), (max-width: 980px) { .desktop-hint { display: none; } }
.section__head .lead a { font-weight: 600; }
@media (min-width: 681px) { .section__head .lead a { white-space: nowrap; } }
.section__head .lead a::after { content: " →"; }
.hero__visual { position: relative; height: 680px; }
.hero__visual .phone--hero { position: absolute; right: 18%; top: 10px; --w: 300px; z-index: 2; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero__visual .phone--back { position: absolute; right: -2%; top: 70px; --w: 250px; z-index: 1; transform: rotate(7deg); opacity: .9; filter: saturate(.95); animation: rise 1.1s .1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { transform: translateY(28px); opacity: 0; } }
.hero__visual .phone--back { animation-name: rise-tilt; }
@keyframes rise-tilt { from { transform: translateY(36px) rotate(7deg); opacity: 0; } to { transform: rotate(7deg); opacity: .9; } }

/* Gerätehülle */
.phone {
  --w: 280px;
  position: relative; margin: 0; width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(145deg, #2a2d36, #0b0d12 40%, #1b1e26);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; height: auto; border-radius: calc(var(--w) * 0.135); }
.phone__island {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%);
  top: calc(var(--w) * 0.058); width: calc(var(--w) * 0.31); height: calc(var(--w) * 0.088);
  background: #000; border-radius: 999px;
}
.phone--small { --w: 270px; }

/* Ablaufkarte */
.float-card {
  position: absolute; z-index: 3; left: 0; bottom: 36px; width: 260px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px;
  box-shadow: var(--shadow-card);
  animation: rise 1s .25s cubic-bezier(.2,.8,.2,1) both;
}
.float-card__title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.float-card__note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.timeline li b { color: var(--accent); }
.timeline li span { color: var(--ink-2); }
.timeline li.pause { background: transparent; border: 1px dashed var(--line); }
.timeline li.pause b { color: var(--muted); }

/* Leiste */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-block: 20px; color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; }

/* Abschnitte */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 780px; margin: 0 auto 56px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.section__head h2, .privacy h2, .final h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; }
@media (min-width: 681px) { h2 .grad { white-space: nowrap; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }
.honest { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; max-width: 720px; margin-inline: auto; }

.feature { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 72px; max-width: 920px; margin: 0 auto; padding: 24px 0; }
.feature + .feature { margin-top: 56px; }
.feature--flip { grid-template-columns: 1fr auto; }
.feature--flip .phone { order: 2; }
.feature__text { display: grid; gap: 14px; }
.feature__text h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.feature__text p { color: var(--ink-2); font-size: 18px; max-width: 460px; }
.tag { display: inline-block; justify-self: start; font-size: 13px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 5px 12px; border-radius: 999px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.tile--wide { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%); }
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 16px; }

.plans { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow-card); }
.plan h3 { font-size: 26px; }
.plan__sub { color: var(--muted); }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan--premium {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 70px -30px rgba(91, 92, 235, 0.55);
}
.badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 5px 12px; border-radius: 999px; }
.checks { list-style: none; margin: 6px 0 8px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { position: absolute; left: 0; top: 3px; }
.plan--premium .checks li::before { background-color: var(--accent); }
.checks b { color: var(--ink); }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.terms span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.fine { font-size: 13px; color: var(--muted); }
.referral { margin-top: 24px; border-radius: 22px; padding: 22px 26px; background: color-mix(in srgb, var(--accent-3) 8%, var(--surface)); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.referral__title { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 17px; }

.privacy { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.privacy .eyebrow { margin-bottom: 14px; }
.privacy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy__list li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; color: var(--ink-2); box-shadow: var(--shadow-card); }
.privacy__list b { color: var(--ink); }

.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; font-size: 16px; }

.final { background: radial-gradient(60% 80% at 50% 0%, #2a2a7a 0%, #0b1020 70%); color: #fff; padding: 104px 0; text-align: center; }
.final__inner { display: grid; justify-items: center; gap: 18px; }
.final img { border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); }
.final p { color: rgba(255, 255, 255, 0.75); font-size: 18px; margin-bottom: 10px; }

.footer { padding: 48px 0 120px; color: var(--muted); font-size: 14px; }
.footer__inner { display: grid; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--ink-2); }
.footer__note { max-width: 860px; font-size: 13px; }

/* Haftender Knopf (nur Handy) */
.sticky-cta { display: none; }

/* Tablet */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { height: 600px; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__visual .phone--hero { right: 26%; }
  .steps, .tiles { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .plans, .privacy { grid-template-columns: 1fr; }
  .feature { gap: 40px; }
}

/* Handy */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav__links { display: none; }
  .hero { padding: 36px 0 56px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); margin: 14px 0 16px; }
  .hero h1 .grad { white-space: normal; }
  .cta-row { margin: 26px 0 20px; gap: 16px; }
  .cta-row .btn--store { width: 100%; }
  .facts { font-size: 14px; gap: 8px 16px; }
  .hero__visual { height: 520px; }
  .hero__visual .phone--hero { --w: 240px; right: auto; left: 50%; margin-left: -150px; }
  .hero__visual .phone--back { --w: 200px; right: -12px; top: 64px; }
  .float-card { left: 0; bottom: 8px; width: 214px; padding: 14px 16px; }
  .timeline li { grid-template-columns: 52px 1fr; font-size: 13px; padding: 7px 9px; }
  .strip__inner { gap: 8px 20px; font-size: 14px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .steps, .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: left; }
  .feature--flip .phone { order: 0; }
  .feature__text { justify-self: stretch; }
  .phone--small { --w: 230px; }
  .feature + .feature { margin-top: 40px; }
  .plan { padding: 26px; }
  .plan .btn { align-self: stretch; }
  .final { padding: 80px 0; }
  .final .btn--store { width: 100%; max-width: 360px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn--store { min-height: 52px; }
}

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