/* CoreDepot – ruhig, hochwertig, ohne externe Schriften oder Tracker */
:root {
  /* Unteres Ende des Blaus: im hellen Modus heller werdend, damit der Übergang frisch statt grau wirkt */
  --sky-mid: #2a46ee; --sky-low: #6c84ff; --sky-end: #c3cdff;
  --ink: #0b1026;
  --ink-2: #1a2147;
  --text: #0f1530;
  --muted: #5b6380;
  --line: rgba(15, 21, 48, 0.08);
  --bg: #f6f7fb;
  --card: #ffffff;
  --blue: #3355ff;
  --blue-2: #2133b8;
  --amber: #ffb547;
  --green: #18a35a;
  --red: #e5484d;
  --radius: 28px;
  --shadow: 0 30px 80px -30px rgba(18, 28, 90, 0.35), 0 10px 30px -15px rgba(18, 28, 90, 0.2);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eef1ff;
    --muted: #9aa3c4;
    --line: rgba(255, 255, 255, 0.08);
    --bg: #070a17;
    --card: #10152c;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
    --sky-mid: #18259e; --sky-low: #111a6a; --sky-end: #0b1033;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; }

/* Navigation – über dem Blau durchsichtig, beim Scrollen Glas */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background 0.35s, color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 4px 14px rgba(10, 20, 120, 0.4); }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav nav a { opacity: 0.78; transition: opacity 0.2s; }
.nav nav a:hover { opacity: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--text); color: var(--bg);
}
.nav:not(.scrolled) .pill { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.pill.solid { background: #fff; color: #0b1026; padding: 14px 24px; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45); }
.pill.glass { background: rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 24px; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); backdrop-filter: blur(10px); }
.pill.glass::after { content: "↓"; opacity: 0.7; }
@media (max-width: 760px) { .nav nav a { display: none; } }

/* Hero – eigenes Blau, das weich in den Inhalt übergeht */
.hero { position: relative; color: #fff; padding: 150px 0 40px; isolation: isolate; }
.hero .sky {
  position: absolute; inset: 0 0 -220px; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 0%, rgba(132, 160, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #2343f2 0%, #1f37e2 34%, var(--sky-mid) 62%, var(--sky-low) 84%, var(--sky-end) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,0.75) 76%, rgba(0,0,0,0.3) 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,0.75) 76%, rgba(0,0,0,0.3) 88%, transparent 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite; }
.g1 { width: 520px; height: 520px; left: -120px; top: -140px; background: #6f8cff; }
.g2 { width: 460px; height: 460px; right: -80px; top: 80px; background: #ffb547; opacity: 0.22; animation-delay: -6s; }
.g3 { width: 600px; height: 380px; left: 30%; top: 360px; background: #3d5bff; opacity: 0.5; animation-delay: -12s; }
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow.light { color: #ffd79a; }
.hero h1 { font-size: clamp(44px, 5.6vw, 74px); font-weight: 800; margin-top: 14px; }
.hero h1 span { white-space: nowrap; }
.hero h1 span { background: linear-gradient(90deg, #fff 10%, #ffd79a 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, 0.82); margin: 24px 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .badge-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.hero .badge-row span::before { content: "✓"; margin-right: 6px; color: #ffd79a; font-weight: 800; }

.hero-art { position: relative; height: 680px; perspective: 1400px; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.hero-art .front { position: absolute; right: 110px; top: 0; z-index: 2; animation: float 8s ease-in-out infinite; }
.hero-art .front .iphone { width: 300px; }
.hero-art .back { position: absolute; right: -30px; top: 110px; transform: rotate(7deg) translateZ(-80px); filter: saturate(0.9) brightness(0.92); }
.hero-art .back .iphone { width: 270px; }
@keyframes float { 50% { transform: translateY(-12px); } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 20px; color: #0f1530;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 20px 50px -18px rgba(5, 10, 60, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: bob 7s ease-in-out infinite;
}
.chip b { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.chip small { display: block; font-size: 12px; color: #5b6380; margin-top: 1px; }
.chip .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 22px; height: 22px; }
.ic.green { background: linear-gradient(135deg, #2bc46f, #12864a); }
.ic.red { background: linear-gradient(135deg, #ff6b6f, #c4262c); }
.ic.amber { background: linear-gradient(135deg, #ffc061, #e07e12); }
.c1 { left: -30px; top: 190px; }
.c2 { left: 10px; top: 470px; animation-delay: -2.5s; }
.c3 { right: -10px; top: 590px; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 640px; }
  .hero-art .front { left: 50%; right: auto; margin-left: -150px; }
  .hero-art .back { display: none; }
  .c1 { left: 0; } .c2 { left: auto; right: 0; top: 400px; } .c3 { display: none; }
}

/* iPhone – Titanrahmen, Dynamic Island, Tasten */
.iphone { container-type: inline-size; width: 300px; }
.iphone .frame {
  position: relative; padding: 1.15cqw; border-radius: 17.5cqw;
  background: linear-gradient(135deg, #8c8f96 0%, #3c3e44 18%, #1d1e22 45%, #4a4c52 70%, #9a9da4 100%);
  box-shadow: 0 6cqw 14cqw -5cqw rgba(4, 8, 40, 0.6), 0 2cqw 4cqw -2cqw rgba(0, 0, 0, 0.35), inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.35);
}
.iphone .bezel { padding: 2.1cqw; border-radius: 16.4cqw; background: #050506; box-shadow: inset 0 0 0 0.3cqw #1b1c20; }
.iphone .screen { position: relative; border-radius: 14.2cqw; overflow: hidden; background: #000; }
.iphone .screen img { width: 100%; aspect-ratio: 780 / 1695; object-fit: cover; }
.iphone .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%);
}
.iphone .island {
  position: absolute; z-index: 2; left: 50%; top: 2.4cqw; transform: translateX(-50%);
  width: 29cqw; height: 8.6cqw; border-radius: 99px; background: #000; overflow: hidden;
  box-shadow: 0 0 0 0.15cqw rgba(255, 255, 255, 0.04);
}
.iphone .b { position: absolute; width: 0.9cqw; border-radius: 1cqw; background: linear-gradient(90deg, #2a2b30, #8d9097, #2a2b30); }
.iphone .act { left: -0.55cqw; top: 19%; height: 6%; }
.iphone .vu { left: -0.55cqw; top: 28%; height: 10%; }
.iphone .vd { left: -0.55cqw; top: 40%; height: 10%; }
.iphone .pw { right: -0.55cqw; top: 31%; height: 15%; }

/* Live-Aktivität: Die Dynamic Island öffnet sich wie auf dem iPhone */
.iphone.live .island { animation: island 10s cubic-bezier(.3,1.25,.4,1) infinite; animation-delay: 1.4s; }
.la { position: absolute; inset: 0; padding: 4.4cqw 5.4cqw; display: grid; gap: 2.2cqw; align-content: start; color: #fff; opacity: 0; animation: la 10s ease infinite; animation-delay: 1.4s; }
.la-row { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 3.9cqw; white-space: nowrap; }
.la-row b { font-size: 5.2cqw; letter-spacing: -0.02em; }
.la-carrier { display: inline-flex; align-items: center; gap: 1.6cqw; color: #ffcc00; font-weight: 650; }
.la-carrier svg, .la-go svg { width: 4.6cqw; height: 4.6cqw; }
.la-time, .la-count { font-weight: 650; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.85); }
.la-go { display: inline-flex; align-items: center; gap: 1.4cqw; color: #3ddc84; font-weight: 650; }
.la-bar { height: 1.4cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.la-bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, #ffcc00, #ff9f2e); }
@keyframes island {
  0%, 10% { width: 29cqw; height: 8.6cqw; border-radius: 99px; top: 2.4cqw; }
  17%, 62% { width: 91cqw; height: 40cqw; border-radius: 12cqw; top: 1.8cqw; }
  70%, 100% { width: 29cqw; height: 8.6cqw; border-radius: 99px; top: 2.4cqw; }
}
@keyframes la { 0%, 15% { opacity: 0; } 21%, 58% { opacity: 1; } 63%, 100% { opacity: 0; } }

/* iPhones in den Abschnitten mit sanftem Lichtschein */
.device { position: relative; display: grid; place-items: center; }
.device::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(51, 85, 255, 0.28), transparent 65%); filter: blur(20px);
}
.device .iphone { width: 300px; }

/* Logos */
.logos { padding: 40px 0 10px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.marquee { overflow: hidden; margin-top: 18px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 18px; width: max-content; animation: slide 40s linear infinite; }
.marquee .name { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; padding: 6px 4px; }
.marquee .track { gap: 34px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Abschnitte */
section { padding: 110px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse .text { order: 2; }
.split h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 12px 0 18px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.points li b { color: var(--text); font-weight: 650; }
.points li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } .split.reverse .text { order: 0; } section { padding: 80px 0; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.tile {
  grid-column: span 2; padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile.wide { grid-column: span 3; }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 20px -10px rgba(0,0,0,0.4); }
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; } }

/* Dunkle Bühne */
.stage {
  color: #fff; border-radius: 40px; margin: 0 24px; padding: 100px 0;
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(51, 85, 255, 0.45), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 181, 71, 0.15), transparent 60%),
    #090d1f;
}
.stage .lead, .stage .points li { color: rgba(255, 255, 255, 0.72); }
.stage .points li b { color: #fff; }
.stage .eyebrow { color: var(--amber); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.fact { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.fact b { display: block; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 6px; }
.fact span { font-size: 14px; color: rgba(255, 255, 255, 0.68); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .stage { margin: 0 12px; } }

/* Preise */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.plan { padding: 36px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan.featured { background: linear-gradient(160deg, #1a2a9e, #0b1238); color: #fff; border: none; box-shadow: var(--shadow); }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 4px; }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan.featured .sub, .plan.featured li { color: rgba(255, 255, 255, 0.75); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li::before { content: "✓  "; font-weight: 800; color: var(--green); }
.plan.featured li::before { color: var(--amber); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 181, 71, 0.18); color: var(--amber); }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Abschluss */
.cta { text-align: center; }
.cta img.big { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 28px; box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(36px, 5vw, 60px); }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { margin-left: 20px; }
footer a:hover { color: var(--text); }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .chip, .glow, .front, .marquee .track { animation: none !important; } .iphone.live .island { animation: none; } .la { animation: none; } }

/* Rechtstexte */
.doc { width: min(760px, 100% - 48px); margin: 116px auto 100px; }
.doc h1 { font-size: 44px; margin-bottom: 20px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc b { color: var(--text); }
.note { padding: 14px 18px; border-radius: 14px; background: rgba(255, 181, 71, 0.14); color: var(--text) !important; }
.ph { background: rgba(229, 72, 77, 0.12); color: var(--red); padding: 0 4px; border-radius: 4px; }
.logo { display: none; }
