/* Knotup – One-Pager. Werte aus Design-System/DESIGN.md (Vorbild useorigin.com, nicht 1:1). */

@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader_60pt-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader_60pt-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter_18pt-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter_18pt-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter_18pt-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("../fonts/RobotoMono-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --bg: #050505;
  --surface-1: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.08);
  --surface-3: rgba(255,255,255,.10);
  --text: #fff;
  --text-80: rgba(255,255,255,.80);
  --text-60: rgba(255,255,255,.60);
  --text-32: rgba(255,255,255,.32);
  --periwinkle: #6E7FF3;
  --sky: #3F74B5;
  --hairline: 1px solid rgba(255,255,255,.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --section-y: 96px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 16px/1.5 var(--font-body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* Typografie */
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.01em; margin: 0; }
.display em { font-style: italic; }
.h-hero { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.08; }
.h-section { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.01em; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.42; color: var(--text-80); letter-spacing: -0.01em; margin: 0; }
.label { font: 500 10px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--text-60); }
.muted-60 { color: var(--text-60); }
.muted-32 { color: var(--text-32); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/24px var(--font-mono); letter-spacing: .02em; text-transform: uppercase;
  padding: 12px 18px; border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #f1f1f1; }
.btn-glass { background: var(--surface-3); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 8px 14px; }

/* Navigation */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 8px 8px 8px 16px;
  border-radius: 14px;
  transition: background .3s var(--ease), backdrop-filter .3s;
}
.nav.scrolled { background: rgba(5,5,5,.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: var(--hairline); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 300 24px/1 var(--font-display); }
.brand-mark { width: 22px; height: 24px; color: #fff; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  font: 500 12px/24px var(--font-mono); text-transform: uppercase; letter-spacing: .02em;
  padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-1);
  transition: background .2s;
}
.nav-links a:hover { background: var(--surface-3); }

/* Hero */
.hero { position: relative; padding: 168px 24px 0; text-align: center; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0 0 0 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,16,48,.50) 0%, rgba(6,16,48,.18) 34%, rgba(6,16,48,.06) 58%, var(--bg) 93%),
    linear-gradient(rgba(22,52,128,.26), rgba(22,52,128,.26)),
    url("../img/01-himmel.webp") center top / cover no-repeat;
  filter: saturate(1.25);
  transform: translateY(calc(var(--parallax, 0) * 1px));
}
.hero-inner { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-title { font-size: clamp(46px, 7.4vw, 104px); line-height: 1.04; text-shadow: 0 1px 24px rgba(20,40,90,.18); }
.hero-sub { max-width: 640px; color: rgba(255,255,255,.9); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font: 500 11px/18px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.badge-chip { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.16); }

/* Vorführung */
.demo-wrap { position: relative; max-width: 1100px; margin: 72px auto 0; }
.demo-scale { position: relative; height: calc(660px * var(--s, 1)); }
.demo {
  position: absolute; left: 0; top: 0; width: 1100px; height: 660px;
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  border-radius: 28px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.win {
  position: absolute; left: 36px; top: 36px; right: 92px; bottom: 36px;
  background: #fbfbfa; border-radius: 16px; overflow: hidden; color: #1b1b1f;
  font: 400 15px/1.6 var(--font-body); letter-spacing: -0.005em;
}
.win-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #ececea; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #e2e2df; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-title { margin-left: 14px; font: 500 13px/1 var(--font-body); color: #55554f; }
.win-body { position: absolute; inset: 40px 0 0 0; display: flex; }
.win-side { width: 200px; background: #f3f3f0; border-right: 1px solid #ececea; padding: 18px 12px; font-size: 13px; color: #55554f; }
.side-label { font: 500 10px/16px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #9a9a93; padding: 0 8px 8px; }
.side-item { padding: 7px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.active { background: #e7e7e3; color: #1b1b1f; }
.chat { position: relative; flex: 1; overflow: hidden; }
.chat-list { padding: 32px 56px 40px; display: flex; flex-direction: column; gap: 22px; transition: transform 1.1s var(--ease); }
.msg p { margin: 0 0 8px; }
.msg p:last-child { margin-bottom: 0; }
.msg.me { align-self: flex-end; max-width: 70%; background: #ececea; padding: 10px 16px; border-radius: 16px; }
.msg.ai { max-width: 92%; }
.msg.later { display: none; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.later.shown { opacity: 1; transform: none; }
.target {
  background-image: linear-gradient(rgba(110,127,243,.32), rgba(110,127,243,.32));
  background-repeat: no-repeat; background-size: 0% 100%; border-radius: 3px;
  transition: background-size .9s var(--ease);
}
.target.selected { background-size: 100% 100%; }

/* Knotup-Lasche und Liste im Demo */
.kt-tab {
  position: absolute; right: 0; top: 278px; width: 26px; height: 52px;
  background: #000; border-radius: 12px 0 0 12px;
  display: grid; place-items: center; transition: opacity .2s, transform .35s var(--ease);
}
.kt-tab.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.22); } 100% { transform: scale(1); } }
.kt-tab-mark { width: 12px; height: 13px; color: rgba(255,255,255,.62); }
.kt-drawer {
  position: absolute; right: 0; top: 190px; width: 340px; height: 228px;
  background: #000; color: #fff; border-radius: 20px 0 0 20px;
  clip-path: inset(88px 0 88px 314px round 12px);
  transition: clip-path .55s cubic-bezier(.2,.9,.25,1);
  font-family: var(--font-body);
}
.kt-drawer.open { clip-path: inset(0 0 0 0 round 20px 0 0 20px); }
.kt-drawer > * { opacity: 0; transition: opacity .2s; }
.kt-drawer.open > * { opacity: 1; transition: opacity .3s .15s; }
.kt-head { display: flex; align-items: center; gap: 9px; padding: 18px 18px 12px; }
.kt-head-mark { width: 14px; height: 15px; color: #fff; }
.kt-name { font: 300 19px/1 var(--font-display); }
.kt-tabs { margin-left: auto; display: flex; gap: 4px; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.kt-tabs b { font-weight: 500; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.12); }
.kt-tabs i { font-style: normal; padding: 6px 8px; color: rgba(255,255,255,.5); }
.kt-row { display: flex; gap: 11px; margin: 0 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.kt-row.hover { background: rgba(255,255,255,.13); transform: scale(1.01); }
.kt-row.press { transform: scale(.97); }
.kt-check { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.34); flex: none; margin-top: 2px; }
.kt-row-text { font-size: 13.5px; line-height: 1.4; }
.kt-row-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.55); }
.kt-row-meta em { font: 500 9px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: rgba(255,255,255,.34); }
.kt-dot { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #d97757, #b9563a); }
.kt-jump { margin-left: auto; font: 500 9px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #9aa6ff; padding: 5px 8px; border-radius: 99px; background: rgba(154,166,255,.14); }
.kt-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-top: 1px solid rgba(255,255,255,.09); font: 500 9.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.34); }
.kt-foot kbd, .keycap kbd { font: 500 9.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 4px 7px; border-radius: 5px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }

.fly {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.92); color: #1b1b1f;
  border: 1px solid rgba(0,0,0,.06); font: 400 13px/1.3 var(--font-body); white-space: nowrap;
  opacity: 0; pointer-events: none; transform-origin: center;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.fly svg { width: 13px; height: 14px; color: var(--periwinkle); flex: none; }
.fly b { font: 300 15px/1 var(--font-display); margin-right: 6px; }

.glow {
  position: absolute; border-radius: 9px; border: 2.5px solid var(--periwinkle);
  background: rgba(110,127,243,.10); opacity: 0; pointer-events: none;
}
.glow.on { animation: glow 2.6s var(--ease) forwards; }
@keyframes glow {
  0% { opacity: 0; transform: scale(1.12); box-shadow: 0 0 0 rgba(110,127,243,0); }
  15% { opacity: 1; transform: scale(1); box-shadow: 0 0 22px rgba(110,127,243,.6); }
  40% { box-shadow: 0 0 6px rgba(110,127,243,.4); }
  65% { box-shadow: 0 0 20px rgba(110,127,243,.6); }
  85% { opacity: 1; }
  100% { opacity: 0; box-shadow: 0 0 4px rgba(110,127,243,.3); }
}

.keycap {
  position: absolute; left: 50%; bottom: 58px; transform: translate(-50%, 16px); opacity: 0;
  transition: opacity .25s, transform .35s var(--ease);
}
.keycap kbd { display: inline-block; font-size: 14px; padding: 10px 16px; border-radius: 10px; background: #111; border-color: rgba(255,255,255,.25); transition: transform .12s, background .12s; }
.keycap.show { opacity: 1; transform: translate(-50%, 0); }
.keycap.press kbd { transform: translateY(3px); background: #000; }

.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; transition: transform 1s cubic-bezier(.45,.05,.25,1); pointer-events: none; }
.cursor.click { animation: click .25s; }
@keyframes click { 50% { scale: .8; } }

/* Kernaussage */
.statement { padding: var(--section-y) 24px 0; max-width: 1248px; margin: 0 auto; }
.statement-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 96px 32px 88px; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 70% at 50% 120%, rgba(110,127,243,.55), rgba(63,116,181,.18) 45%, rgba(5,5,5,0) 70%),
    linear-gradient(180deg, #0c0c10, #0a0b14);
  border: var(--hairline);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.statement-card .h2 { max-width: 760px; }
.statement-card .lead { max-width: 520px; }
.facts { display: flex; gap: 56px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.fact { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fact-num { font: 300 64px/1 var(--font-display); }
.fact .label { color: var(--text-60); }
.apps { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 64px 0 0; }
.apps-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.apps-row span { font: 500 22px/1 var(--font-body); letter-spacing: -0.02em; color: rgba(255,255,255,.42); transition: color .3s; }
.apps-row span:hover { color: #fff; }

/* Abschnitte */
.section { padding: var(--section-y) 24px 0; max-width: 1248px; margin: 0 auto; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 48px; }

.tiles { display: grid; gap: 24px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 480px; border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
}
/* Ebenen: Bild (0) → Abdunklung (1) → Text (2). Keine negativen Ebenen – Safari verliert sonst manchmal den Text. */
.tile-img { position: absolute; inset: 0; z-index: 0; background: var(--img) center / cover no-repeat; transform: scale(1.16); transition: transform 1.8s var(--ease); }
.tile.in .tile-img { transform: scale(1); }
.tile.in:hover .tile-img { transform: scale(1.05); transition-duration: 1.2s; }
.tile-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 50%, rgba(0,0,0,.22), rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.06) 38%, rgba(0,0,0,.12) 60%, rgba(0,0,0,.62));
}
.tile-step, .tile-title, .tile-text { position: relative; z-index: 2; }
.tile-wide { min-height: 400px; }
.tile-step { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.tile-title { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; text-shadow: 0 1px 30px rgba(0,0,0,.18); }
.tile-text { margin: 0; max-width: 340px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.92); }

.extras { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.extras li { font: 500 11px/18px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-80); padding: 8px 14px; border-radius: 999px; background: var(--surface-1); border: var(--hairline); }

/* Manifest */
.manifesto { position: relative; margin-top: var(--section-y); min-height: 86vh; display: grid; place-items: center; text-align: center; padding: 96px 24px; isolation: isolate; overflow: hidden; }
.manifesto-bg {
  position: absolute; inset: -10% 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 8%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 70%, var(--bg) 92%),
    radial-gradient(48% 40% at 50% 50%, rgba(20,12,40,.38), rgba(20,12,40,0) 75%),
    url("../img/09-abendhimmel.webp") center / cover no-repeat;
  transform: translateY(calc(var(--parallax2, 0) * 1px));
}
.manifesto-inner { max-width: 820px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-shadow: 0 1px 24px rgba(30,10,40,.35); }
.manifesto-inner .lead { color: rgba(255,255,255,.92); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: var(--hairline); }
.faq details { border-bottom: var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; font: 400 20px/1.4 var(--font-body); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--font-body); color: var(--text-60); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 4px 26px; max-width: 680px; color: var(--text-60); font-size: 16px; line-height: 1.6; }

/* Schluss */
.final { position: relative; margin-top: var(--section-y); min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; isolation: isolate; overflow: hidden; }
.final-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg), rgba(5,5,5,.2) 25%, rgba(5,5,5,.3) 70%, var(--bg)),
    radial-gradient(42% 38% at 50% 50%, rgba(0,0,0,.55), rgba(0,0,0,0) 80%),
    url("../img/10-wildblumen.webp") center / cover no-repeat;
}
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final-mark { width: 64px; height: 72px; color: #fff; }
.final-mark .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.final-inner.in .draw-1 { animation: draw .7s .2s var(--ease) forwards; }
.final-inner.in .draw-2 { animation: draw 1.3s .75s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.final-note { margin-top: -6px; color: rgba(255,255,255,.82); }
.final-inner { text-shadow: 0 1px 22px rgba(0,0,0,.35); }

/* Fuß */
.footer { max-width: 1248px; margin: 0 auto; padding: 40px 24px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: var(--hairline); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font: 500 11px/18px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-60); }
.footer-links a:hover { color: #fff; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Handy */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .tiles-3, .tiles-2 { grid-template-columns: 1fr; }
  .tile { min-height: 380px; }
  .hero { padding-top: 132px; }
  .facts { gap: 32px; }
  .apps-row span { font-size: 18px; }
}
@media (max-width: 520px) {
  .nav { inset: 10px 10px auto; }
  .facts { gap: 22px; flex-wrap: nowrap; }
  .fact-num { font-size: 46px; }
  .fact .label { font-size: 9px; letter-spacing: .12em; }
  .brand { font-size: 21px; }
  .statement-card { padding: 72px 20px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Rechtliche Seiten */
.legal-page .nav { background: rgba(5,5,5,.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: var(--hairline); }
.legal { max-width: 760px; margin: 0 auto; padding: 168px 24px 96px; }
.legal-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; border-bottom: var(--hairline); margin-bottom: 40px; }
.legal-head .h-section { font-size: clamp(44px, 6vw, 72px); }
.legal h2 { font: 300 30px/1.2 var(--font-display); margin: 48px 0 14px; }
.legal h3 { font: 500 16px/1.4 var(--font-body); margin: 28px 0 8px; color: #fff; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--text-80); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: #fff; }
.legal strong { font-weight: 500; color: #fff; }
.legal .address { font-style: normal; color: var(--text-80); line-height: 1.65; margin: 0 0 14px; }
.legal .note { padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-1); border: var(--hairline); color: var(--text-60); font-size: 14px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-toc a { font: 500 11px/18px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--text-80); padding: 6px 12px; border-radius: 999px; background: var(--surface-1); border: var(--hairline); }
.legal-toc a:hover { background: var(--surface-3); }

/* ---------- Mikroanimationen ---------- */

/* Fortschritt oben */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), var(--periwinkle), #c9b6ff); pointer-events: none; }

/* Überschriften Wort für Wort */
.split .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.32em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--base, 0ms)); }
.split.in .w { opacity: 1; filter: blur(0); transform: none; }
.split em { position: relative; display: inline-block; }

/* Handgezeichneter Schwung unter „thought“ */
.swoosh { position: absolute; left: -4%; right: -4%; bottom: -.12em; width: 108%; height: .32em; overflow: visible; pointer-events: none; }
.swoosh path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.split.in .swoosh path { animation: draw 1.1s 1.15s var(--ease) forwards; }

/* Badge: pulsierender Punkt */
.ping { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #9ef0b8; margin-right: -2px; }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #9ef0b8; animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.badge { transition: background .25s, transform .25s var(--ease); }
.badge:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* Knöpfe: Lichtschimmer */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.btn-light::after { background: linear-gradient(105deg, transparent 35%, rgba(110,127,243,.22) 50%, transparent 65%); }
.btn:hover::after { transition: transform .8s var(--ease); transform: translateX(120%); }
.btn-light:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 28px rgba(255,255,255,.18); }

/* Navigation: gleitender Hintergrund */
.nav-links { position: relative; }
.nav-links a { position: relative; z-index: 1; background: transparent; }
.nav-hover { position: absolute; top: 0; left: 0; height: 100%; border-radius: var(--radius-sm); background: var(--surface-3); opacity: 0; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; pointer-events: none; }
.nav-links:hover .nav-hover { opacity: 1; }
.nav-links .nav-base { position: absolute; inset: 0; border-radius: var(--radius-sm); }
.nav-links a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); background: var(--surface-1); z-index: -1; }

/* Logo zeichnet sich beim Darüberfahren neu */
.brand-mark { stroke-dasharray: 260; stroke-dashoffset: 0; }
.brand:hover .brand-mark { animation: brand-draw 1s var(--ease); }
@keyframes brand-draw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }

/* Vorführung schwebt leicht und kippt mit der Maus */
.demo-wrap.in { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.demo-wrap { perspective: 1800px; }
.demo-scale { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease); transform-style: preserve-3d; }

/* Kernaussage: Nordlicht-Schimmer */
.statement-card::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -40%; height: 90%; z-index: 0; pointer-events: none; background: radial-gradient(50% 60% at 30% 70%, rgba(110,127,243,.35), transparent 70%), radial-gradient(40% 50% at 75% 75%, rgba(63,116,181,.32), transparent 70%); filter: blur(30px); animation: aurora 14s ease-in-out infinite alternate; }
.statement-card > * { position: relative; z-index: 1; }
@keyframes aurora { 0% { transform: translateX(-6%) scaleY(1); } 50% { transform: translateX(4%) scaleY(1.12); } 100% { transform: translateX(8%) scaleY(.95); } }
.fact { transition: transform .3s var(--ease); }
.fact:hover { transform: translateY(-3px); }
.fact-num { display: inline-block; min-width: 1.1ch; font-variant-numeric: tabular-nums; }

/* App-Namen nacheinander */
.apps.in .apps-row span { animation: rise .7s var(--ease) both; }
.apps-row span:nth-child(1) { animation-delay: .05s; } .apps-row span:nth-child(2) { animation-delay: .12s; }
.apps-row span:nth-child(3) { animation-delay: .19s; } .apps-row span:nth-child(4) { animation-delay: .26s; }
.apps-row span:nth-child(5) { animation-delay: .33s; } .apps-row span:nth-child(6) { animation-delay: .40s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.apps-row span { display: inline-block; transition: color .3s, transform .3s var(--ease); }
.apps-row span:hover { transform: translateY(-2px); }

/* Kacheln: Bild zoomt beim Erscheinen heraus */
.tile.reveal { transform: translateY(40px) scale(.98); }
.tile.reveal.in { transform: none; }
.tile-step { transition: background .3s; }
.tile:hover .tile-step { background: rgba(255,255,255,.24); }

/* Extras nacheinander */
.extras.in li { animation: rise .6s var(--ease) both; }
.extras li:nth-child(2) { animation-delay: .06s; } .extras li:nth-child(3) { animation-delay: .12s; }
.extras li:nth-child(4) { animation-delay: .18s; } .extras li:nth-child(5) { animation-delay: .24s; }
.extras li { transition: transform .25s var(--ease), background .25s; }
.extras li:hover { transform: translateY(-2px); background: var(--surface-2); }

/* Manifest: Wörter leuchten beim Scrollen auf */
.scrub .sw { opacity: var(--o, .22); transition: opacity .25s linear; }

/* FAQ */
.faq summary { transition: color .2s; }
.faq summary:hover { color: #fff; }
.faq summary:hover::after { color: #fff; }
.faq details p { overflow: hidden; }

/* Abschluss */
.final .btn-light { animation: glowpulse 3.2s ease-in-out infinite; }
@keyframes glowpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 0 40px rgba(255,255,255,.18); } }
.final-bg { transform: scale(calc(1 + var(--zoom, 0) * .08)); }

@media (prefers-reduced-motion: reduce) {
  .split .w { opacity: 1; filter: none; transform: none; transition: none; }
  .swoosh path { stroke-dashoffset: 0; animation: none !important; }
  .demo-wrap.in, .statement-card::before, .ping::after, .final .btn-light { animation: none; }
  .tile-img { transform: none; }
  .scrub .sw { opacity: 1; }
}

/* Sprungziele nicht unter der festen Navigation verstecken */
section[id], #demo { scroll-margin-top: 84px; }

/* Hinweis „Download kommt bald“ */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: rgba(20,20,24,.92); border: var(--hairline); color: #fff;
  font: 400 14px/1.4 var(--font-body); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Preis */
.price-card {
  max-width: 520px; margin: 0 auto; padding: 44px 36px 32px; border-radius: var(--radius-lg);
  background: var(--surface-1); border: var(--hairline); display: flex; flex-direction: column; gap: 30px; text-align: center;
}
.price-top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); font-weight: 300; line-height: .9; }
.price-cur { font-size: 40px; margin-top: 12px; color: var(--text-60); }
.price-num { font-size: 120px; letter-spacing: -0.04em; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: var(--hairline); text-align: left; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: var(--hairline); font-size: 15px; color: var(--text-60); }
.price-list li span:last-child { color: #fff; }
.price-actions { display: flex; flex-direction: column; gap: 10px; }
.price-actions .btn { justify-content: center; padding-top: 14px; padding-bottom: 14px; }
.price-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-60); }
@media (max-width: 520px) {
  .price-card { padding: 36px 20px 24px; }
  .price-num { font-size: 96px; }
}

/* Danke-Seite */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 140px 24px 80px; text-align: center; }
.thanks-inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.thanks .final-mark { margin-bottom: 4px; }
.key-box {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: var(--radius-md); background: var(--surface-2); border: var(--hairline);
}
.key-box code { flex: 1; min-width: 0; text-align: left; font: 500 14px/1.4 var(--font-mono); letter-spacing: .02em; word-break: break-all; color: #fff; }
.key-box .btn { flex: none; min-width: 84px; justify-content: center; }
.thanks-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; width: 100%; text-align: left; border-top: var(--hairline); }
.thanks-steps li { counter-increment: s; display: flex; gap: 14px; padding: 13px 2px; border-bottom: var(--hairline); color: var(--text-80); font-size: 15px; line-height: 1.5; }
.thanks-steps li::before { content: counter(s, decimal-leading-zero); font: 500 11px/22px var(--font-mono); color: var(--text-60); }
.thanks-help { margin: 0; font-size: 13px; color: var(--text-60); }
.thanks-help a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.thanks .appear { animation: rise .8s var(--ease) both; }
[hidden] { display: none !important; }

/* Schnelle Notiz (zweimal rechte ⌘) */
.quick-lead { max-width: 640px; text-align: center; }
.quick-steps {
  list-style: none; margin: 72px auto 0; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hairline);
}
.quick-steps li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 16px 0; color: var(--text-80); font-size: 15px; text-align: center; }
.quick-steps li + li { border-left: var(--hairline); }
.qs-key { min-width: 64px; text-align: center; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; color: #fff; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: var(--surface-2); }

.qdemo-wrap { position: relative; width: 100%; max-width: 760px; margin: 0 auto; height: calc(420px * var(--qs, 1)); }
.qdemo {
  position: absolute; left: 0; top: 0; width: 600px; height: 420px; transform: scale(var(--qs, 1)); transform-origin: 0 0;
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(5,5,5,.10), rgba(5,5,5,.45)), url("../img/09-abendhimmel.webp") center / cover no-repeat;
}
.q-win { position: absolute; left: 34px; top: 30px; right: 74px; height: 250px; background: #fbfbfa; border-radius: 14px; overflow: hidden; }
.q-lines { padding: 24px 28px; display: flex; flex-direction: column; gap: 13px; }
.q-lines b { display: block; height: 8px; width: 90%; border-radius: 4px; background: #e8e8e4; }
.q-lines b:nth-child(1) { width: 44%; height: 13px; background: #d6d6d0; margin-bottom: 6px; }
.q-lines b:nth-child(3n) { width: 76%; }
.q-lines b:nth-child(4n) { width: 58%; }
.q-tab { top: 150px; }

.q-keys {
  position: absolute; left: 50%; top: 300px; display: flex; align-items: center; gap: 10px;
  transform: translate(-50%, 10px); opacity: 0; transition: opacity .25s, transform .35s var(--ease);
}
.q-keys kbd {
  font: 500 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  padding: 10px 16px; border-radius: 10px; background: #111; border: 1px solid rgba(255,255,255,.25);
  transition: transform .09s, background .09s;
}
.q-keys.show { opacity: 1; transform: translate(-50%, 0); }
.q-keys.press kbd { transform: translateY(3px); background: #000; }
.q-x2 { font: 500 12px/1 var(--font-mono); color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.4); }

.q-field {
  position: absolute; left: 50%; bottom: 34px; width: 470px; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px;
  border-radius: 16px; background: #fbfbfa; border: 1px solid rgba(0,0,0,.08); color: #1b1b1f;
  transform: translate(-50%, 14px) scale(.95); opacity: 0;
  transition: opacity .3s var(--ease), transform .45s cubic-bezier(.2,.9,.3,1.15);
}
.q-field.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.q-mark { width: 16px; height: 18px; color: var(--periwinkle); flex: none; }
.q-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.q-field.show .q-draw { animation: draw .6s .1s var(--ease) forwards; }
.q-field.show .q-draw-2 { animation: draw .9s .45s var(--ease) forwards; }
.q-input { flex: 1; min-width: 0; display: flex; align-items: center; font: 400 15px/1 var(--font-body); white-space: nowrap; overflow: hidden; }
.q-caret { width: 1.5px; height: 18px; margin-left: 1px; background: var(--periwinkle); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.q-ph { margin-left: 3px; color: #a3a39d; }
.q-field.has-text .q-ph { display: none; }
.q-enter { font: 500 9.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #b5b5af; transition: color .15s, transform .12s; }
.q-enter.ready { color: var(--periwinkle); }
.q-enter.press { transform: scale(.88); }

@media (max-width: 700px) {
  .quick-steps { grid-template-columns: 1fr; margin-top: 48px; }
  .quick-steps li { flex-direction: row; justify-content: flex-start; text-align: left; padding: 16px 2px; border-bottom: var(--hairline); }
  .quick-steps li + li { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .q-field { opacity: 1; transform: translate(-50%, 0); transition: none; }
  .q-draw { stroke-dashoffset: 0; animation: none !important; }
  .q-caret { animation: none; }
}

/* Mehr Luft (Ali: How/Quick/Features wirkten gequetscht) */
.section { padding-top: 168px; }
.section-head { gap: 22px; margin-bottom: 72px; }
.tiles { gap: 32px; }
.tile { padding: 36px; min-height: 540px; }
.tile-wide { min-height: 460px; }
.extras { margin-top: 64px; gap: 12px; }
.extras li:nth-child(6) { animation-delay: .30s; } .extras li:nth-child(7) { animation-delay: .36s; }
@media (max-width: 900px) {
  .section { padding-top: 112px; }
  .section-head { margin-bottom: 48px; }
  .tiles { gap: 20px; }
  .tile { padding: 28px; min-height: 400px; }
  .tile-wide { min-height: 380px; }
}

/* Tag in der Vorführung (dezent, wie in der App) */
.kt-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 3px 8px 3px 6px; border-radius: 99px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.72); font-size: 10.5px; }
.kt-tag i { width: 6px; height: 6px; border-radius: 50%; background: #8f9cff; }
.extras li:nth-child(8) { animation-delay: .42s; }

/* Einführungspreis: $49 durchgestrichen (gilt ab 1. Nov.), Strich zeichnet sich beim Einblenden */
.price-row { display: flex; align-items: flex-start; justify-content: center; gap: 18px; }
.price-was { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-top: 22px; }
.price-was s { position: relative; text-decoration: none; font: 300 38px/1 var(--font-display); color: var(--text-60); }
.price-was s::after {
  content: ""; position: absolute; left: -6%; top: 54%; width: 112%; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.75); transform: rotate(-8deg) scaleX(0); transform-origin: left center;
  transition: transform .7s .6s var(--ease);
}
.price-card.in .price-was s::after { transform: rotate(-8deg) scaleX(1); }
.price-was span { font: 500 9px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-60); white-space: nowrap; }
.price-launch { color: #b9c2ff; padding: 6px 12px; border-radius: 999px; background: rgba(110,127,243,.14); border: 1px solid rgba(143,156,255,.25); }
@media (max-width: 520px) {
  .price-was s { font-size: 30px; }
  .price-row { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-was s::after { transform: rotate(-8deg) scaleX(1); transition: none; }
}
