/* Layout concept: black stage, white type, one large idea per screen. Light "sheet" sections for contrast. Depth comes from light, grain and motion, not from color. */
:root {
  --ink: #09090B; --ink-2: #101013; --ink-3: #17171B;
  --fg: #F4F4F5; --muted: #9B9BA5; --faint: #5E5E68;
  --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.2);
  --paper: #F4F4F5; --paper-ink: #09090B; --paper-muted: #5B5B64; --paper-line: rgba(9,9,11,.12);
  --signal: #FF7EB3;
  --display: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1200px; --gutter: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 17px/1.55 var(--display); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.4vw, 72px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-inline: 0; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); max-width: 560px; }

/* Körnung: macht große schwarze Flächen lebendig */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Kopfzeile */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(9,9,11,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 15px/1 var(--display); letter-spacing: .22em; }
.brand svg { width: 26px; height: 26px; }
.brand .sub { color: var(--muted); letter-spacing: .02em; font-weight: 400; font-size: 14px; }
.brand .sub::before { content: "/"; margin-right: 10px; color: var(--faint); }
.links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }
.links a { transition: color .2s; }
.links a:hover { color: #fff; }
@media (max-width: 760px) { .links a:not(.btn) { display: none; } .brand .sub { display: none; } }

/* Knöpfe */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; background: #fff; color: #09090B; transition: transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 0 0 0 rgba(255,255,255,.0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255,255,255,.22); }
.btn.ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 16vh, 190px) 0 clamp(72px, 12vh, 140px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 0%, transparent 30%, var(--ink) 92%), linear-gradient(180deg, transparent 60%, var(--ink)); }
.hero h1 { font-size: clamp(60px, 13.2vw, 190px); letter-spacing: -.055em; line-height: .9; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .lead { margin-top: 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero .meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: clamp(56px, 10vh, 120px); padding-top: 22px; border-top: 1px solid var(--line); }
.hero .meta span { display: inline-flex; align-items: center; gap: 10px; }
.dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.16); animation: pulse 2.4s ease-in-out infinite; }
.dot.off { background: var(--faint); box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }

section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 780px; }

/* Karten mit Lichtkegel unter dem Cursor */
.spot { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.10), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; padding: 1px; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::after { opacity: 1; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); width: fit-content; }

/* iPhone */
.phone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 1179 / 2556; border-radius: calc(var(--w) * .17); padding: calc(var(--w) * .028); background: linear-gradient(145deg, #50505a 0%, #121214 22%, #1c1c20 60%, #4a4a54 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 calc(var(--w) * .012) #050506, 0 50px 120px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); transform-style: preserve-3d; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3a42; }
.phone::before { left: -3px; top: 17%; height: 7%; box-shadow: 0 calc(var(--w) * .25) 0 #3a3a42; }
.phone::after { right: -3px; top: 24%; height: 12%; }
.screen { position: absolute; inset: calc(var(--w) * .028); border-radius: calc(var(--w) * .145); background: #CFE6FF center top / cover no-repeat; overflow: hidden; }
.screen::after { content: ""; position: absolute; left: 50%; top: 1.6%; width: 28%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.screen .shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 38%, transparent 70%, rgba(255,255,255,.08)); pointer-events: none; mix-blend-mode: soft-light; }
.tilt { transition: transform .5s var(--ease); will-change: transform; }

/* Scroll-Effekte */
.fill { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; max-width: 1040px; }
.fill .w { transition: color .35s, opacity .35s; opacity: .2; }
.fill .w.on { opacity: 1; }
[data-reveal].pre { opacity: 0; transform: translateY(28px); }
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].pre.in { opacity: 1; transform: none; }

/* Papier-Abschnitt */
.paper { background: var(--paper); color: var(--paper-ink); border-radius: 36px 36px 0 0; margin-top: -36px; z-index: 2; }
.paper .label { color: var(--paper-muted); }
.paper .lead { color: var(--paper-muted); }
.paper .fill .w { opacity: .18; }
.paper .fill .w.on { opacity: 1; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--paper-line); }
.principles > div { padding: 28px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.principles > div + div { padding-left: 28px; border-left: 1px solid var(--paper-line); }
.principles p { color: var(--paper-muted); font-size: 16px; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } .principles > div, .principles > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--paper-line); } }

/* Kontakt + Fuß */
.mail { display: inline-block; font-size: clamp(30px, 7vw, 104px); letter-spacing: -.045em; font-weight: 600; line-height: 1; border-bottom: 2px solid var(--line-2); padding-bottom: .08em; transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.mail:hover { border-color: #fff; }
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .dot { animation: none; } .tilt, [data-reveal], .btn, .fill .w { transition: none; }
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #09090B; font-weight: 600; }
.skip:focus { left: 8px; }

:root { --img-chat: url(/assets/stella/chat.jpg); --img-goals: url(/assets/stella/goals.jpg); --img-money: url(/assets/stella/money.jpg); --img-plan: url(/assets/stella/plan.jpg); }
.feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; background: radial-gradient(90% 120% at 100% 100%, #1f1f26, var(--ink-2) 60%); }
.feature-copy { padding: clamp(28px, 5vw, 64px); display: grid; gap: 24px; align-content: center; }
.feature-name { font-size: clamp(54px, 9vw, 132px); letter-spacing: -.055em; line-height: .9; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--fg); }
.ticks li::before { content: "+"; margin-right: 8px; color: var(--muted); }
.feature-visual { position: relative; display: grid; place-items: end center; overflow: hidden; min-height: 460px; }
.feature-visual .glow { position: absolute; width: 520px; height: 520px; left: 50%; top: 58%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,126,179,.34), rgba(255,126,179,0) 65%); filter: blur(20px); }
.feature-visual .phone { margin-bottom: -150px; transform: rotate(-4deg); }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } .feature-visual { min-height: 420px; } }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 760px) { .next-grid { grid-template-columns: 1fr; } }
.ghost-card { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; min-height: 240px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.ghost-card h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; max-width: 420px; }
.muted-p { color: var(--muted); max-width: 420px; }

.s-hero { padding-bottom: clamp(48px, 8vw, 96px); }
.s-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.s-hero h1 { font-size: clamp(54px, 9.4vw, 138px); }
.s-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.s-hero .lead { margin-top: 28px; }
@media (max-width: 900px) { .s-hero-grid { grid-template-columns: 1fr; } }
.s-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.halo { position: absolute; width: 640px; height: 640px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,126,179,.30), rgba(255,126,179,0) 62%); filter: blur(24px); pointer-events: none; }
.s-stage .phone { transform: rotate(3deg); }
.chip { position: absolute; z-index: 4; padding: 12px 16px; border-radius: 16px; background: rgba(24,24,28,.62); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px rgba(0,0,0,.5); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); font-size: 14px; line-height: 1.3; display: grid; gap: 2px; animation: floaty 7s ease-in-out infinite; }
.chip b { font: 600 15px/1.2 var(--display); }
.chip small { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.c1 { left: -4%; top: 14%; } .c2 { right: -2%; top: 46%; animation-delay: -2.3s; } .c3 { left: 2%; bottom: 10%; animation-delay: -4.6s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .c1 { left: 0; } .c2 { right: 0; } }
@media (max-width: 520px) { .chip { transform: scale(.88); } .c1 { left: -14px; } .c2 { right: -14px; } .c3 { left: -10px; } }

.demo { padding: 0; max-width: 860px; background: var(--ink-2); }
.demo-top { display: flex; align-items: center; gap: 7px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.demo-top .d { width: 11px; height: 11px; border-radius: 50%; background: #2a2a31; }
.demo-body { padding: clamp(18px, 3vw, 34px); min-height: 380px; display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; }
.msg { max-width: 82%; padding: 14px 18px; border-radius: 20px; font-size: 17px; line-height: 1.4; animation: pop .4s var(--ease) both; }
.msg.user { align-self: flex-end; background: #fff; color: #09090B; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.msg.bot .what { display: block; margin-top: 10px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #3DDC84; }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.demo-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 clamp(18px, 3vw, 34px) 24px; }
.demo-tags button { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; border: 0; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: all .2s; }
.demo-tags button:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.demo-tags button.on { background: #fff; color: #09090B; box-shadow: none; }
.note { margin-top: 22px; }

.show-grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.show-item { min-height: 78vh; display: grid; align-content: center; gap: 18px; max-width: 520px; opacity: .35; transition: opacity .5s; }
.show-item.on { opacity: 1; }
.show-item h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.04em; line-height: 1.02; }
.show-item p:not(.label) { color: var(--muted); font-size: 18px; max-width: 460px; }
.show-sticky { position: sticky; top: calc(50vh - 330px); display: grid; place-items: center; height: 660px; }
.show-mobile { display: none; }
.stack .layer { position: absolute; inset: 0; background-size: cover; background-position: top; opacity: 0; transition: opacity .6s var(--ease); }
.stack .layer.on { opacity: 1; }
@media (max-width: 900px) {
  .show-grid { grid-template-columns: 1fr; } .show-sticky { display: none; }
  .show-item { min-height: 0; opacity: 1; padding-block: 36px; border-top: 1px solid var(--line); max-width: none; }
  .show-mobile { display: block; margin-top: 18px; }
}

.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--paper-line); }
.caps li { padding: 32px 36px 36px 0; display: grid; gap: 14px; align-content: start; border-bottom: 1px solid var(--paper-line); }
.caps li:nth-child(even) { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--paper-line); }
.caps h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.caps p { color: var(--paper-muted); max-width: 440px; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } .caps li, .caps li:nth-child(even) { padding: 26px 0; border-left: 0; } }

.control { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; }
.rules li { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.rules span { color: var(--muted); }
@media (max-width: 860px) { .control { grid-template-columns: 1fr; } }

.cta-band { padding-top: 0; }
.cta-card { padding: clamp(40px, 8vw, 110px) clamp(24px, 5vw, 72px); display: grid; gap: 22px; justify-items: start; background: var(--ink-2); }
.cta-card h2 { font-size: clamp(54px, 11vw, 160px); letter-spacing: -.055em; line-height: .9; }
.cta-card .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cta-halo { left: 90%; top: 110%; width: 760px; height: 760px; opacity: .8; z-index: -1; }

.legal { padding-block: clamp(48px, 8vw, 100px) clamp(64px, 10vw, 140px); display: grid; gap: clamp(56px, 8vw, 110px); }
.doc { max-width: 720px; display: grid; gap: 16px; scroll-margin-top: 100px; }
.doc h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.05em; margin-bottom: 8px; }
.doc h2 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; margin-top: 18px; }
.doc p, .doc li { color: #C9C9D1; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc a { border-bottom: 1px solid var(--line-2); }
.doc a:hover { border-color: #fff; }
.muted { color: var(--muted) !important; }
.todo { background: rgba(255,214,10,.16); color: #FFE27A; border-radius: 6px; padding: 1px 7px; font-weight: 500; }
.notice { max-width: 720px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 15px; }
.notice b { color: #fff; }
