@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #05060B;
  --surface: #0B0D14;
  --text: #F2F2F4;
  --muted: #9A9FAB;
  --dim: #5d6270;
  --line: rgba(255, 255, 255, .12);
  --accent: #8FA8FF;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --silver: linear-gradient(135deg, #ffffff 0%, #e4e6ec 45%, #8d93a3 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: normal; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

.kicker {
  font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.kicker.center { justify-content: center; }

h2 {
  font-size: clamp(36px, 5.2vw, 76px);
  font-weight: 300; line-height: 1.06; letter-spacing: -.03em;
  margin-top: 24px;
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  .cursor { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
  .cursor-pos, .cursor-ring { position: absolute; left: 0; top: 0; will-change: transform; }
  /* Der Cursor ist die Bildmarke: zwei Hälften, die sich über Links öffnen */
  .cursor-orbit, .cursor-arm { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
  .cursor-mark { position: absolute; left: -12px; top: -16px; width: 24px; height: 32px; will-change: transform; transition: scale .45s var(--ease); }
  .cursor-mark::after {
    content: ""; position: absolute; inset: -40%; border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 168, 255, .35), transparent 70%);
    opacity: 0; transition: opacity .4s;
  }
  /* Vier gleiche Viertel, die sich über Links auseinanderschieben */
  .cursor-q {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
    transition: transform .45s var(--ease);
  }
  /* Drei Teile entlang der echten Logo-Kanten: obere Platte, Kern, untere Platte */
  /* Konturen aus dem Logo-Bild vermessen, leicht nach außen gedehnt */
  .cursor-q:not(.whole) { opacity: 0; transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .12s; }
  .cursor-q.whole { transition: opacity .12s; }
  .cursor.hover .cursor-q:not(.whole) { opacity: 1; }
  .cursor.hover .cursor-q.whole { opacity: 0; }
  /* Wie beim Original: Platten fahren senkrecht auseinander, der Kern bleibt in der Mitte */
  .cursor.hover .cursor-q.plate-top { transform: translateY(-20%); }
  .cursor.hover .cursor-q.plate-bottom { transform: translateY(20%); transition-delay: .05s; }
  .cursor.hover .cursor-q.core { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
  .cursor-ring {
    width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), border-color .45s;
  }
  /* Über Links: Hälften lösen sich und kreisen umeinander */
  .cursor.hover .cursor-mark { scale: 1.35; }
  .cursor.hover .cursor-mark::after { opacity: .5; }
  .cursor.hover .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: rgba(255, 255, 255, .22); }
  .cursor.down .cursor-mark { scale: .9; }
  .cursor.down .cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-color: rgba(255, 255, 255, .5); }
  .cursor.hidden { opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  overflow: hidden; isolation: isolate;
  background: rgba(5, 6, 11, .55);
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.btn > span { display: inline-flex; align-items: center; gap: 12px; }
.btn::before {
  content: ""; position: absolute; inset: -1px;
  background: var(--text); border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 24px 44px; font-size: 18px; }
.magnetic { will-change: transform; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s, padding .5s var(--ease), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(5, 6, 11, .6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; }
.mark { width: 20px; height: auto; display: block; }
.brand-word {
  font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35);
}
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.nav-links > a:not(.btn) { color: var(--muted); transition: color .3s; font-variant-numeric: tabular-nums; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  background: rgba(5, 6, 11, .96);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: 0 var(--gutter);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 40px; font-weight: 300; letter-spacing: -.02em; padding: 6px 0; }

@media (max-width: 860px) {
  .nav.scrolled { background: rgba(5, 6, 11, .88); }
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: 0; padding: 10px; cursor: pointer; z-index: 21;
  }
  .nav-toggle span { width: 24px; height: 1px; background: var(--text); transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px 0 64px;
}
.hero-fallback { display: none; }
.fb-logo { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.fb-contact { transition: opacity 1.2s var(--ease); }
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; position: relative; }
.hero-bottom::before {
  content: ""; position: absolute; inset: -80px -30% -120px -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 30% 70%, rgba(5, 6, 11, .92), rgba(5, 6, 11, 0) 70%);
}
.hero-hint { position: absolute; right: var(--gutter); top: 50%; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); writing-mode: vertical-rl; }
.hero-title {
  font-size: clamp(50px, 8.6vw, 150px);
  font-weight: 300; line-height: .98; letter-spacing: -.05em;
}
.hero-title .line { display: block; }
.split .ch {
  display: inline-block; opacity: 0;
  filter: blur(16px);
  transform: translateY(.25em) scale(1.06);
  animation: chIn 1.4s var(--ease) forwards;
  animation-delay: calc(1.5s + var(--i) * .03s);
}
@keyframes chIn { to { opacity: 1; filter: blur(0); transform: none; } }
.hero-side { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-lead { color: var(--text); font-size: clamp(16px, 1.3vw, 19px); max-width: 560px; text-shadow: 0 2px 24px rgba(5, 6, 11, 1); }

.intro { opacity: 0; transform: translateY(16px); animation: fadeUp 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero-bottom { gap: 28px; }
  .hero-side { gap: 22px; }
  .hero-hint { display: none; }
  .hero-bottom::before { display: none; }
  .hero .hero-slot { right: 8%; top: 88px; width: 56vw; pointer-events: auto; touch-action: none; }
  .contact .contact-slot { position: relative; top: auto; right: auto; transform: none; width: 48vw; margin: 0 0 36px auto; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Referenzen ---------- */
.refs { padding: 120px 0 140px; }
.marquee {
  margin-top: 28px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.refs .kicker + .marquee { margin-top: 48px; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li {
  display: flex; align-items: center;
  padding-right: 64px;
  font-size: clamp(40px, 6.4vw, 104px);
  font-weight: 300; letter-spacing: -.04em; line-height: 1.15;
  white-space: nowrap;
  color: var(--text);
  transition: color .4s;
}
.marquee li::after { content: "✦"; font-size: .22em; color: var(--accent); margin-left: 64px; opacity: .8; }
.marquee.outline li { color: transparent; -webkit-text-stroke: 1px rgba(242, 242, 244, .38); }
.marquee.outline li:hover { -webkit-text-stroke-color: var(--text); }
.marquee li:hover { color: var(--accent); }

/* ---------- Statement ---------- */
.statement { padding: 120px 0 180px; }
.statement-text {
  margin-top: 36px;
  font-size: clamp(32px, 5.2vw, 80px);
  font-weight: 300; line-height: 1.1; letter-spacing: -.035em;
  max-width: 1200px;
}
.statement-text .w { color: rgba(242, 242, 244, .14); transition: color .5s, text-shadow .5s; }
.statement-text .w.lit { color: var(--text); }
.statement-text .w.now { text-shadow: 0 0 24px rgba(143, 168, 255, .8); }
.statement-sub { margin-top: 40px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); max-width: 620px; }

/* ---------- Leistungen (horizontal) ---------- */
.services { position: relative; }
.services-sticky {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 56px;
}
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-note { color: var(--muted); max-width: 360px; font-size: 15px; }
.services-viewport { overflow: visible; }
.services-track {
  display: flex; gap: 24px;
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.card {
  position: relative;
  width: clamp(300px, 34vw, 500px);
  height: clamp(340px, 46vh, 460px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(11, 13, 20, .9), rgba(11, 13, 20, .7) 60%);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: border-color .6s var(--ease), transform .6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 168, 255, .16), transparent 45%);
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.card:hover { border-color: rgba(143, 168, 255, .45); }
@media (hover: hover) { .card:hover { transform: translateY(-6px); } }
/* Logo-Anker: unsichtbare Platzhalter, an denen die 3D-Szene das Logo ausrichtet */
.logo-slot { aspect-ratio: 810 / 1090; pointer-events: none; }
.hero-slot { position: absolute; right: 7%; top: 11%; width: min(40vw, 540px); }
.contact-wrap { position: relative; }
.contact-slot { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: min(30vw, 440px); }
.card:hover::before { opacity: 1; }
.card-num {
  font-size: clamp(110px, 12vw, 190px);
  font-weight: 200; line-height: .8; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 242, 244, .28);
  transition: -webkit-text-stroke-color .6s, color .6s;
}
.card:hover .card-num { color: rgba(242, 242, 244, .06); -webkit-text-stroke-color: rgba(143, 168, 255, .8); }
.card-body { display: block; }
.card-title { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.card-text { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }
.card-more {
  position: absolute; right: 36px; top: 36px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; gap: 8px;
  transition: color .4s;
}
.card-more i { font-style: normal; transition: transform .5s var(--ease); }
.card:hover .card-more { color: var(--text); }
.card:hover .card-more i { transform: translateX(4px); }
.services-progress span { display: block; height: 1px; background: var(--line); position: relative; }
.services-progress i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

@media (max-width: 860px) {
  .services { height: auto !important; padding: 100px 0; }
  .services-sticky { position: static; height: auto; overflow: visible; gap: 40px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .services-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 0; }
  .services-viewport::-webkit-scrollbar { display: none; }
  .services-track { transform: none !important; }
  .card { width: 82vw; height: 380px; scroll-snap-align: center; padding: 28px; }
  .card-more { right: 28px; top: 28px; }
  .services-progress { display: none; }
}

/* ---------- Leistungs-Detail ---------- */
.detail {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(5, 6, 11, .9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  clip-path: inset(40% 40% 40% 40% round 4px);
  transition: clip-path .85s var(--ease);
}
.detail[hidden] { display: none; }
.detail.open { clip-path: inset(0px 0px 0px 0px round 0px); }
.detail-inner { min-height: 100%; padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; }
.detail-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.detail-close { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; cursor: pointer; transition: border-color .4s, color .4s; }
.detail-close:hover { border-color: var(--text); color: var(--text); }
.detail-num {
  display: block; margin-top: 40px;
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 200; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 168, 255, .55);
}
.detail-title { font-size: clamp(40px, 6.4vw, 104px); margin-top: 8px; }
.detail-lead { margin-top: 28px; font-size: clamp(18px, 1.8vw, 26px); color: var(--muted); max-width: 820px; font-weight: 300; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.detail-list { margin-top: 28px; }
.detail-list li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 300;
}
.detail-list li::before { content: "✦"; font-size: 10px; color: var(--accent); flex-shrink: 0; }
.detail-for { margin-top: 28px; color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.detail-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 72px; }
.detail-nav button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: 15px; display: flex; gap: 10px; align-items: center; transition: color .4s; }
.detail-nav button:hover { color: var(--text); }
.detail-nav em { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.d-anim { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.detail.ready .d-anim { opacity: 1; transform: none; }
.detail.ready .d-anim:nth-child(1) { transition-delay: .35s; }
.detail.ready .detail-num { transition-delay: .4s; }
.detail.ready .detail-title { transition-delay: .5s; }
.detail.ready .detail-lead { transition-delay: .6s; }
.detail.ready .detail-grid .d-anim:nth-child(1) { transition-delay: .7s; }
.detail.ready .detail-grid .d-anim:nth-child(2) { transition-delay: .8s; }
.detail.ready .detail-nav { transition-delay: .9s; }
.detail.swap .d-anim { transition-duration: .35s; transition-delay: 0s !important; opacity: 0; transform: translateY(12px); }
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .detail-nav { flex-direction: column; gap: 16px; }
}

/* ---------- Ansatz ---------- */
.approach { height: 380vh; position: relative; }
.approach-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.approach-intro { margin-top: 20px; color: var(--muted); font-size: 18px; }
.steps { margin-top: 40px; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  opacity: .28;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.step.on { opacity: 1; }
.step.done { opacity: .55; }
.step-num {
  font-size: 44px; font-weight: 200; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 242, 244, .5);
  transition: color .6s, -webkit-text-stroke-color .6s, text-shadow .6s;
}
.step.on .step-num { color: var(--text); -webkit-text-stroke-color: transparent; text-shadow: 0 0 24px rgba(143, 168, 255, .7); }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.step p { color: var(--muted); margin-top: 6px; max-width: 440px; font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .6s, margin .6s; }
.step.on p { max-height: 120px; opacity: 1; margin-top: 8px; }

.constellation svg { width: 100%; height: auto; overflow: visible; }
.const-ghost { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 3 6; }
.const-line { fill: none; stroke: rgba(200, 212, 255, .9); stroke-width: 1.2; stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.const-line-glow { fill: none; stroke: rgba(143, 168, 255, .28); stroke-width: 7; stroke-linecap: round; stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.cs-dot { fill: #2a2e3a; transition: fill .5s, filter .5s; }
.cs-halo { fill: rgba(143, 168, 255, 0); transition: fill .6s; }
.cs text { font-size: 15px; font-weight: 500; letter-spacing: .04em; fill: rgba(242, 242, 244, .28); text-anchor: middle; transition: fill .5s; }
.cs text .cl-num { font-weight: 300; fill: rgba(143, 168, 255, .6); }
.cs.on .cs-dot, .cs.done .cs-dot { fill: #fff; }
.cs.on .cs-halo { fill: rgba(143, 168, 255, .22); }
.cs.done .cs-halo { fill: rgba(143, 168, 255, .1); }
.cs.on text, .cs.done text { fill: var(--text); }
.cs.on text .cl-num { fill: var(--accent); }
.goal-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; }
.goal-ring.on { animation: goal 1.8s ease-out infinite; }
@keyframes goal { 0% { r: 8; opacity: .9; } 100% { r: 46; opacity: 0; } }
.goal-label { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; fill: var(--accent); text-anchor: end; opacity: 0; transition: opacity .8s var(--ease); }
.goal-label.on { opacity: 1; }
.ship { will-change: transform; }
.ship-body { fill: #0b0d14; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.ship-glow { fill: rgba(143, 168, 255, .22); }
.ship-cockpit { fill: var(--accent); opacity: .9; }
.ship-line { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.flame { fill: var(--accent); opacity: 0; transform-origin: 0 16px; }
.ship.thrust .flame { opacity: .95; animation: flame .1s linear infinite alternate; }
.ship.thrust .flame:last-child { animation-delay: .05s; }
@keyframes flame { from { transform: scaleY(.55); opacity: .7; } to { transform: scaleY(1.2); opacity: 1; } }

@media (max-width: 860px) {
  .approach { height: 320vh; }
  .approach-sticky { padding: 84px 0 16px; align-items: flex-start; overflow: hidden; }
  .step:not(.on) { display: none; }
  .step.on { border-top: 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 12px; }
  .approach-left { display: contents; }
  .approach-left .kicker { order: 0; }
  .approach-left h2 { order: 1; font-size: clamp(30px, 8vw, 40px); margin-top: 12px; }
  .approach-intro { order: 2; margin-top: 8px; font-size: 15px; }
  .constellation { order: 3; margin: 8px -8px 0; }
  .cs text { font-size: 18px; }
  .steps { order: 4; margin-top: 8px; gap: 0; }
  .step { grid-template-columns: 48px 1fr; padding: 10px 0; column-gap: 12px; }
  .step-num { font-size: 30px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 14px; }
}

/* ---------- Team ---------- */
.team { padding: 160px 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.team-body p { color: var(--muted); font-size: 18px; max-width: 520px; }
.team-body p + p { margin-top: 20px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; gap: 40px; } .team { padding: 100px 0; } }

/* ---------- Kontakt ---------- */
.contact { padding: 200px 0 120px; border-top: 1px solid var(--line); min-height: 100svh; display: flex; align-items: center; }
.contact .wrap { width: 100%; }
.contact-title { font-size: clamp(48px, 9vw, 150px); letter-spacing: -.05em; line-height: .98; }
.split-reveal .ch { display: inline-block; opacity: 0; transform: translateY(.3em) rotate(4deg); filter: blur(8px); }
.contact.in .split-reveal .ch { animation: chIn 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * .035s); }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 56px; flex-wrap: wrap; }
.contact-lead { color: var(--muted); max-width: 460px; font-size: 18px; }
.btn-warp { box-shadow: 0 0 0 0 rgba(143, 168, 255, .5); animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 168, 255, .45); } 70% { box-shadow: 0 0 0 26px rgba(143, 168, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 168, 255, 0); } }
.btn-warp:hover { animation: none; }
.contact-details {
  display: flex; flex-wrap: wrap; gap: 16px 48px;
  margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.contact-details a { transition: color .3s; }
.contact-details a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; font-size: 13px; color: var(--dim); overflow: hidden; }
.giant { text-align: center; line-height: .8; }
.giant span { display: inline-block; font-size: 17.4vw; font-weight: 600; letter-spacing: -.05em; white-space: nowrap; }
.giant .g {
  display: inline-block; letter-spacing: 0;
  background: linear-gradient(110deg, #6b7080 0%, #ffffff 35%, #e4e6ec 50%, #ffffff 65%, #6b7080 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(calc(var(--ly, 1) * 80%)) translateY(var(--my, 0px)) rotate(calc(var(--ly, 1) * 6deg));
  opacity: calc(1 - var(--ly, 1));
  animation: shine 5s linear infinite paused; animation-delay: calc(var(--i) * -.28s);
  transition: transform .5s var(--ease);
  will-change: transform;
}
.giant .g.space { width: .22em; }
.giant.live .g { animation-play-state: running; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.wink {
  margin: 48px 0 72px; text-align: center; min-height: 1.6em;
  font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); padding: 0 var(--gutter);
}
.wink-text { transition: text-shadow 1s, color 1s; }
.wink.done .wink-text { color: var(--text); text-shadow: 0 0 22px rgba(143, 168, 255, .7); }
.wink-caret { display: inline-block; width: 1px; height: 1.1em; background: var(--accent); vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(2) infinite; }
.wink.done .wink-caret { display: none; }
@keyframes blink { to { opacity: 0; } }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 28px; }
.footer a:hover { color: var(--text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .intro, .split .ch, .split-reveal .ch, .d-anim { opacity: 1 !important; transform: none !important; filter: none !important; }
  .statement-text .w { color: var(--text); }
  .giant .g { transform: none !important; opacity: 1 !important; }
  .grain { display: none; }
  .wink-caret { display: none; }
}
