/* ── Fonts: lokal gehostet (DSGVO-konform, keine Google-Server) ── */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:400 900; font-display:swap; src:url('/fonts/montserrat-var.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:300 500; font-display:swap; src:url('/fonts/ibm-plex-sans-var.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:italic; font-weight:300; font-display:swap; src:url('/fonts/ibm-plex-sans-300-italic.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:400 600; font-display:swap; src:url('/fonts/jetbrains-mono-var.woff2') format('woff2'); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:      #060b16;
  --ink-2:    #0a1428;
  --navy:     #1a3260;
  --blue:     #5b8fd4;
  --blue-br:  #84b0ec;
  --ice:      #c3dcff;
  --gray:     #8b96ad;
  --line-d:   rgba(132,176,236,0.15);
  --white:    #ffffff;
  --ff-h:     'Montserrat', system-ui, sans-serif;
  --ff-b:     'IBM Plex Sans', system-ui, sans-serif;
  --ff-mono:  'JetBrains Mono', ui-monospace, monospace;
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--ff-b); font-weight: 300; font-size: 16px; line-height: 1.75;
  color: var(--gray); background: var(--ink); overflow-x: hidden;
}
::selection { background: rgba(91,143,212,0.45); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
section { position: relative; }
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 2.5rem; position: relative; }

/* ───────── FIXE HINTERGRUND-EBENEN ───────── */
#aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink) 100%); }
#aurora i { content:''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
#aurora i:nth-child(1) { width: 60vw; height: 60vw; left: 55%; top: -18%; background: radial-gradient(circle, rgba(91,143,212,0.16), transparent 65%); animation: aur1 26s ease-in-out infinite; }
#aurora i:nth-child(2) { width: 52vw; height: 52vw; left: -16%; top: 48%; background: radial-gradient(circle, rgba(26,50,96,0.5), transparent 62%); animation: aur2 32s ease-in-out infinite; }
#aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 30%; top: 78%; background: radial-gradient(circle, rgba(132,176,236,0.10), transparent 60%); animation: aur1 38s ease-in-out infinite reverse; }
@keyframes aur1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,5%) scale(1.15); } }
@keyframes aur2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(7%,-6%) scale(1.1); } }
#net { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
#glow { position: fixed; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(103,152,220,0.09), transparent 62%); transform: translate(-50%,-50%); mix-blend-mode: screen; display: none; }
@media (hover:hover) and (pointer:fine) { #glow { display: block; } }
#grain { position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 55; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
#progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 220; pointer-events: none; }
#progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--ice)); box-shadow: 0 0 14px rgba(91,143,212,0.9); }

/* Seiten-Inhalt liegt über den fixen Ebenen */
.page { position: relative; z-index: 2; }

/* ───────── SEITEN-RAIL (Abschnitts-Navigation) ───────── */
#rail { position: fixed; right: 1.7rem; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 1rem; }
#rail a { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(132,176,236,0.45); transition: background .3s, box-shadow .3s, transform .3s var(--ease); }
#rail a:hover { transform: scale(1.4); }
#rail a.on { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 12px rgba(91,143,212,0.95); }
#rail a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7);
  background: rgba(10,20,40,0.85); border: 1px solid var(--line-d); border-radius: 4px; padding: 0.25rem 0.6rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
#rail a:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1100px) { #rail { display: none; } }

.eyebrow {
  font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content:''; width: 1.8rem; height: 1px; background: var(--blue); display: inline-block; }

/* ───────── NAV ───────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem; transition: padding .35s var(--ease), background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
  view-transition-name: vt-flow-nav;
}
nav.scrolled {
  padding: 0.9rem 2.5rem; background: rgba(6,11,22,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-d); box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.logo {
  font-family: var(--ff-h); font-size: 1.3rem; font-weight: 800; letter-spacing: 0.06em;
  color: var(--white); text-decoration: none; text-transform: uppercase; display: inline-flex; align-items: baseline; gap: 0.15rem;
}
.logo span { color: var(--blue); font-weight: 500; text-transform: lowercase; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.62); text-decoration: none; transition: color .25s; position: relative;
}
.nav-links a::after { content:''; position:absolute; left:0; right:0; bottom:-5px; height:1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); background: var(--blue); padding: 0.65rem 1.3rem; border-radius: 5px; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 4px 18px rgba(91,143,212,0.35);
}
.nav-cta:hover { background: var(--blue-br); box-shadow: 0 10px 28px rgba(91,143,212,0.5); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; margin-left: 0.4rem; }
.nav-burger span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu-cta { display: none; }

/* ───────── SPLIT-TEXT REVEAL ───────── */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.8em) rotate(2.5deg); filter: blur(10px);
  transition: opacity .7s var(--ease), transform .95s var(--ease-out), filter .85s var(--ease); transition-delay: var(--d, 0s); }
.split.is-in .w { opacity: 1; transform: none; filter: blur(0); }

/* ───────── HERO ───────── */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero .wrap { padding-top: 9rem; padding-bottom: 5rem; width: 100%;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 3.5rem; align-items: center; }
.hero-h1 {
  font-family: var(--ff-h); font-weight: 900; color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: 0.98; letter-spacing: -0.035em;
  margin: 2.5rem 0 1.5rem; max-width: 16ch;
}
.hero-h1 .accent {
  background: linear-gradient(100deg, var(--blue) 0%, var(--ice) 45%, var(--blue-br) 65%, var(--blue) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-sub { font-size: clamp(1.12rem, 1.45vw, 1.38rem); color: rgba(255,255,255,0.82); max-width: 50ch; margin-bottom: 1rem; font-weight: 300; line-height: 1.55; }
.hero-sub strong { color: var(--white); font-weight: 500; }
.hero-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.chip { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
  border: 1px solid var(--line-d); background: rgba(132,176,236,0.05); border-radius: 40px; padding: 0.4rem 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 9px rgba(88,214,141,0.9); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 1.8rem; border-radius: 6px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem;
  position: relative; overflow: hidden; cursor: pointer; will-change: transform;
  transition: box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn::after { content:''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { background: var(--blue); color: var(--ink); box-shadow: 0 6px 22px rgba(91,143,212,0.4); font-weight: 500; }
.btn-primary:hover { background: var(--blue-br); box-shadow: 0 14px 40px rgba(91,143,212,0.55); }
.btn-ghost { color: var(--white); border: 1px solid var(--line-d); background: rgba(132,176,236,0.04); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(91,143,212,0.1); }

/* Live-Terminal im Hero */
.hero-log { border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden;
  background: linear-gradient(170deg, rgba(13,24,46,0.82), rgba(7,13,26,0.86));
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: perspective(1100px) rotateY(-4deg) rotateX(1.5deg); }
.hero-log-head { display: flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line-d); background: rgba(255,255,255,0.02); }
.hero-log-head i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.hero-log-head i:nth-child(1) { background: rgba(255,110,100,0.75); }
.hero-log-head i:nth-child(2) { background: rgba(255,200,90,0.75); }
.hero-log-head i:nth-child(3) { background: rgba(88,214,141,0.75); }
.hero-log-head span { margin-left: auto; font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.hero-log-body { padding: 1rem 1.1rem 1.2rem; min-height: 232px; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.45rem; }
.log-line { display: flex; gap: 0.7rem; align-items: baseline; font-family: var(--ff-mono); font-size: 0.72rem; line-height: 1.5;
  opacity: 0; transform: translateY(8px); animation: logIn .5s var(--ease) forwards; }
@keyframes logIn { to { opacity: 1; transform: none; } }
.log-line .lt { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.log-line .lf { color: rgba(195,220,255,0.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-line .ls { margin-left: auto; flex-shrink: 0; color: #58d68d; }
.log-line.warn .ls { color: #f5c26b; }
.log-line.old { opacity: 0.38; animation: none; transform: none; }
.log-cursor { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--blue-br); }
.log-cursor::after { content:'▋'; animation: blink 1.1s steps(1) infinite; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); z-index: 2;
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue .bar { width: 1px; height: 38px; background: linear-gradient(var(--blue), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{ transform: scaleY(0.3); transform-origin: top; opacity: 0.3; } 50%{ transform: scaleY(1); opacity: 1; } 100%{ transform: scaleY(0.3); transform-origin: bottom; opacity: 0.3; } }

/* ───────── MARQUEE ───────── */
.marquee { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 1.05rem 0; overflow: hidden; position: relative;
  background: rgba(8,15,30,0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.marquee::before, .marquee::after { content:''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee-track { display: flex; gap: 3.4rem; width: max-content; animation: mq 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.42); white-space: nowrap; display: inline-flex; align-items: center; gap: 3.4rem; }
.marquee-track span::after { content:'◇'; color: var(--blue); font-size: 0.6rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ───────── SEKTIONEN ───────── */
.sec { padding: 8.5rem 0; }
.sec-h2 { font-family: var(--ff-h); font-weight: 800; color: var(--white); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.03; letter-spacing: -0.035em; margin: 2.5rem 0 1.8rem; }
.sec-h2 em { font-style: normal; color: var(--blue); }
.sec-lead { font-size: clamp(1.05rem, 1.3vw, 1.26rem); max-width: 62ch; margin-bottom: 3.2rem; color: rgba(203,213,231,0.75); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-d) 20%, var(--line-d) 80%, transparent); }

/* ───────── PIPELINE ───────── */
.pipeline-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.pipeline-head h2 { margin-bottom: 0; }
.case-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.case-tab {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-d); padding: 0.55rem 1.05rem; border-radius: 40px;
  cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.case-tab:hover { color: var(--white); border-color: rgba(132,176,236,0.4); }
.case-tab.active { color: var(--ink); background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px rgba(91,143,212,0.35); }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow-node {
  background: linear-gradient(165deg, rgba(91,143,212,0.10), rgba(255,255,255,0.02));
  border: 1px solid var(--line-d); border-radius: 16px; padding: 1.9rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.flow-node:hover { transform: translateY(-4px); border-color: rgba(132,176,236,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.flow-node::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity:0.55; }
.flow-stage { font-family: var(--ff-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.flow-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(91,143,212,0.14); display: grid; place-items: center; margin-bottom: 1rem; }
.flow-icon svg { width: 17px; height: 17px; stroke: var(--blue-br); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-title { font-family: var(--ff-h); font-size: 1.12rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; line-height: 1.25; transition: opacity .4s var(--ease); }
.flow-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.55; transition: opacity .4s var(--ease); }
.flow-node.swap .flow-title, .flow-node.swap .flow-desc { opacity: 0; }
.flow-connector { display: flex; align-items: center; justify-content: center; min-width: 64px; position: relative; }
.flow-connector .track { width: 100%; height: 2px; background: var(--line-d); position: relative; overflow: hidden; border-radius: 2px; }
.flow-connector .pulse {
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  animation: flowPulse 2.2s linear infinite;
}
.flow-connector:nth-of-type(4) .pulse { animation-delay: 1.1s; }
@keyframes flowPulse { 0%{ left:-30%; } 100%{ left:100%; } }

/* ───────── ABOUT ───────── */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
.about-story p { margin-bottom: 1.2rem; font-size: 1.06rem; color: rgba(203,213,231,0.78); }
.about-story p strong { color: var(--white); font-weight: 500; }
.about-sign { display: inline-block; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-d); line-height: 1.6; }
.about-sign strong { font-family: var(--ff-h); font-weight: 700; display: block; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--white); margin-bottom: 0.35rem; }
.about-sign span { display: block; font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-br); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  background: linear-gradient(165deg, rgba(91,143,212,0.09), rgba(255,255,255,0.02));
  border: 1px solid var(--line-d); border-radius: 16px; padding: 1.7rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(132,176,236,0.4); box-shadow: 0 18px 46px rgba(0,0,0,0.45); }
.stat-num { font-family: var(--ff-mono); font-size: 2.1rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(120deg, var(--white), var(--blue-br)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-num span { -webkit-text-fill-color: var(--blue); }
.stat-label { font-size: 0.85rem; margin-top: 0.6rem; line-height: 1.45; color: rgba(203,213,231,0.65); }

/* ───────── BEISPIELE (Spotlight-Karten) ───────── */
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ex-card {
  --mx: 50%; --my: 50%;
  background: linear-gradient(165deg, rgba(91,143,212,0.08), rgba(255,255,255,0.015));
  border: 1px solid var(--line-d); border-radius: 18px; padding: 2.3rem; position: relative; overflow: hidden;
  transition: border-color .4s, box-shadow .4s var(--ease); will-change: transform;
}
.ex-card::after { content:''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(132,176,236,0.13), transparent 45%); }
.ex-card:hover { border-color: rgba(132,176,236,0.42); box-shadow: 0 26px 70px rgba(0,0,0,0.45); }
.ex-card:hover::after { opacity: 1; }
.ex-num { font-family: var(--ff-mono); font-size: 0.9rem; color: var(--blue); opacity: 0.6; margin-bottom: 1.4rem; display: block; }
.ex-card h3 { font-family: var(--ff-h); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.ex-card p { font-size: 1.02rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.ex-cta { margin-top: 2.6rem; text-align: center; }

/* ───────── MODULE ───────── */
.mod-step {
  --mx: 50%; --my: 50%;
  background: linear-gradient(170deg, rgba(16,29,55,0.75), rgba(9,16,32,0.7));
  border: 1px solid var(--line-d); border-radius: 18px; padding: 2.3rem; margin-bottom: 1.2rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.mod-step::after { content:''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(132,176,236,0.11), transparent 45%); }
.mod-step:hover { transform: translateY(-3px); border-color: rgba(132,176,236,0.4); box-shadow: 0 22px 56px rgba(0,0,0,0.45); }
.mod-step:hover::after { opacity: 1; }
.mod-free { border-color: rgba(91,143,212,0.55); box-shadow: inset 4px 0 0 0 var(--blue), 0 0 40px rgba(91,143,212,0.08); }
.mod-badge { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-br); margin-bottom: 0.8rem; display: inline-block; }
.mod-step h3 { font-family: var(--ff-h); font-size: 1.7rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.mod-meta { font-family: var(--ff-mono); font-size: 0.76rem; color: rgba(195,220,255,0.5); margin-bottom: 0.9rem; }
.mod-step p { font-size: 1.03rem; margin-bottom: 1rem; color: rgba(203,213,231,0.72); }
.mod-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line-d); padding-top: 1.1rem; }
.mod-out { font-size: 0.85rem; color: rgba(203,213,231,0.6); max-width: 60%; }
.mod-out span { font-family: var(--ff-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.2rem; }
.mod-price { font-family: var(--ff-mono); font-size: 1.5rem; color: var(--white); font-weight: 600; letter-spacing: -0.02em; }
.mod-price small { font-size: 0.72rem; color: rgba(203,213,231,0.5); font-weight: 400; }
.mod-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
/* Modul-Flow: Baum mit durchlaufenden Impulsen */
.mflow { position: relative; }
.mflow-conn { position: relative; width: 2px; height: 54px; margin: 0 auto; background: var(--line-d); border-radius: 2px; overflow: hidden; }
.mflow-conn::after { content:''; position:absolute; left:0; width:100%; height:55%; top:-55%; background: linear-gradient(180deg, transparent, var(--ice), transparent); animation: mFlowDown 2.2s linear infinite; }
.mflow-conn.d::after { animation-delay: 1.1s; }
@keyframes mFlowDown { 0%{ top:-55%; } 100%{ top:102%; } }
.mnode { display: flex; justify-content: center; }
.mnode-pill { display:inline-flex; align-items:center; gap:0.65rem; background: rgba(13,24,46,0.9); border:1px solid rgba(91,143,212,0.5); border-radius:999px; padding:0.55rem 1.4rem; box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 24px rgba(91,143,212,0.12); }
.mnode-pill i { width:8px; height:8px; border-radius:50%; background:var(--blue); box-shadow:0 0 10px rgba(91,143,212,0.9); flex-shrink:0; }
.mnode-pill span { font-family:var(--ff-mono); font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--ice); font-weight:500; }
.mfork { position: relative; height: 38px; }
.mfork i { position:absolute; background: var(--line-d); }
.mfork .vt { left:50%; top:0; width:2px; height:16px; transform:translateX(-50%); }
.mfork .hz { left:25%; right:25%; top:16px; height:2px; }
.mfork .vl, .mfork .vr { top:16px; width:2px; height:22px; overflow:hidden; }
.mfork .vl { left:25%; transform:translateX(-50%); }
.mfork .vr { left:75%; transform:translateX(-50%); }
.mfork .vl::after, .mfork .vr::after { content:''; position:absolute; left:0; width:100%; height:90%; top:-90%; background:linear-gradient(180deg,transparent,var(--blue-br),transparent); animation: mFlowDown 1.9s linear infinite; }
.mfork .vr::after { animation-delay:0.55s; }
.btn-navy { background: rgba(91,143,212,0.14); color: var(--white); border: 1px solid rgba(91,143,212,0.5); }
.btn-navy:hover { background: var(--blue); color: var(--ink); box-shadow: 0 12px 30px rgba(91,143,212,0.4); }

/* ───────── KONTAKT ───────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.contact-card { --mx: 50%; --my: 50%;
  background: linear-gradient(165deg, rgba(91,143,212,0.09), rgba(255,255,255,0.02));
  border: 1px solid var(--line-d); border-radius: 18px; padding: 2.4rem; position: relative; overflow: hidden;
  transition: border-color .4s, box-shadow .4s; }
.contact-card::after { content:''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(132,176,236,0.10), transparent 45%); }
.contact-card:hover { border-color: rgba(132,176,236,0.38); }
.contact-card:hover::after { opacity: 1; }
.contact-card h3 { font-family: var(--ff-h); font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.contact-card .sub { font-size: 0.92rem; color: rgba(255,255,255,0.6); margin-bottom: 1.4rem; }
.check { font-family: var(--ff-b); font-size: 0.9rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.check::before { content:'✓'; color: var(--blue-br); font-weight: 600; }
.cform { display: grid; gap: 0.8rem; margin-top: 0.4rem; position: relative; z-index: 1; }
.cform input, .cform textarea {
  width: 100%; font-family: var(--ff-b); font-size: 0.95rem; color: var(--white);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-d); border-radius: 8px; padding: 0.85rem 1rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.cform input::placeholder, .cform textarea::placeholder { color: rgba(255,255,255,0.35); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); background: rgba(91,143,212,0.07); box-shadow: 0 0 0 3px rgba(91,143,212,0.15); }
.cform textarea { resize: vertical; min-height: 90px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
#cform-result { display: none; border-radius: 8px; padding: 0.85rem 1rem; font-size: 0.9rem; margin-top: 0.2rem; }
.contact-methods { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.6rem; }
.contact-methods a { font-family: var(--ff-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); text-decoration: none; transition: color .25s; }
.contact-methods a:hover { color: var(--blue-br); }

/* ───────── FOOTER ───────── */
footer { border-top: 1px solid var(--line-d); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.foot-mark { font-family: var(--ff-h); font-weight: 900; font-size: clamp(4.5rem, 15vw, 13rem); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(132,176,236,0.09); user-select: none; pointer-events: none;
  position: absolute; right: -0.03em; bottom: -0.12em; white-space: nowrap; }
.foot { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.foot-logo { font-family: var(--ff-h); font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.foot-logo span { color: var(--blue); font-weight: 500; text-transform: lowercase; }
.foot-links { display: flex; gap: 0.9rem 1.4rem; flex-wrap: wrap; list-style: none; margin: 0.8rem 0; }
.foot-links a { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .25s; }
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 0.76rem; color: rgba(255,255,255,0.28); }
.foot-seo { font-size: 0.72rem; color: rgba(255,255,255,0.2); line-height: 1.6; max-width: 40ch; }
.foot-net { display: flex; flex-direction: column; gap: 0.95rem; }
.foot-net-head { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 0.15rem; }
.foot-net-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.foot-net-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; transition: transform .2s; }
.foot-net-link strong { display: block; font-family: var(--ff-h); font-weight: 600; font-size: 0.98rem; color: rgba(255,255,255,0.85); transition: color .2s; letter-spacing: 0.01em; }
.foot-net-link strong span { color: var(--blue); font-weight: 500; }
.foot-net-link em { display: block; font-style: normal; font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.32); margin-top: 1px; }
.foot-net-link:hover strong { color: #fff; }
.foot-net-link:hover .foot-net-dot { transform: scale(1.25); }

/* ── Choreografierte Reveals ── */
.reveal { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease-out), filter .9s var(--ease); filter: blur(6px); }
.reveal:not(.left):not(.right):not(.scale) { transform: translateY(40px); }
.reveal.left  { transform: translateX(-52px); }
.reveal.right { transform: translateX(52px); }
.reveal.scale { transform: scale(0.93); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.stagger > * { opacity: 0; transform: translateY(26px) scale(0.975); filter: blur(5px); transition: opacity .85s var(--ease), transform .9s var(--ease-out), filter .8s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; filter: blur(0); }
.stagger.is-in > *:nth-child(2){ transition-delay:.10s } .stagger.is-in > *:nth-child(3){ transition-delay:.20s }
.stagger.is-in > *:nth-child(4){ transition-delay:.30s } .stagger.is-in > *:nth-child(5){ transition-delay:.40s }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-log { transform: none; max-width: 560px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 1.4rem; }
  .sec { padding: 5.5rem 0; }
  nav, nav.scrolled { padding-left: 1.4rem; padding-right: 1.4rem; }
  .logo, .nav-cta, .nav-burger { position: relative; z-index: 2; }
  .nav-burger { display: inline-flex; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 5.4rem 1.6rem 1.4rem;
    background: rgba(6,11,22,0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-d); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    transform: translateY(-112%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
  }
  nav.menu-open .nav-links { transform: translateY(0); visibility: visible; transition: transform .45s var(--ease); }
  .nav-links a { display: block; padding: 0.95rem 0.2rem; font-size: 0.8rem; border-bottom: 1px solid rgba(132,176,236,0.10); }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-menu-cta { display: block; }
  .nav-menu-cta a { color: var(--blue); }
  .flow { grid-template-columns: 1fr; }
  .flow-connector { min-width: 0; height: 44px; }
  .flow-connector .track { width: 2px; height: 100%; }
  .flow-connector .pulse { width: 100%; height: 30%; left: 0; top: -30%; background: linear-gradient(180deg, transparent, var(--ice), transparent); animation: flowPulseV 2.2s linear infinite; }
  @keyframes flowPulseV { 0%{ top:-30%; } 100%{ top:100%; } }
  .about-grid, .ex-grid, .mod-pair, .contact-grid, .stats { grid-template-columns: 1fr; }
  .pipeline-head { flex-direction: column; align-items: flex-start; }
  .cform .row2 { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
  .mfork { display: none; }
  .mflow-conn { height: 36px; }
  .hero-log-body { min-height: 190px; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .flow-connector .pulse, .scroll-cue .bar, .marquee-track { animation: none !important; }
  .hero-log { transform: none; }
  #glow, #grain { display: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ───────── UNTERSEITEN ───────── */
.page-hero { min-height: 68vh; display: flex; align-items: center; overflow: hidden; }
.page-hero.compact { min-height: 44vh; }
.page-hero .wrap { padding-top: 9.5rem; padding-bottom: 5rem; width: 100%; }
.page-hero h1 {
  font-family: var(--ff-h); font-weight: 900; color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.0; letter-spacing: -0.035em; margin: 2.4rem 0 1.5rem; max-width: 20ch;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 0%, var(--ice) 45%, var(--blue-br) 65%, var(--blue) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
}
.page-lead { font-size: clamp(1.1rem, 1.5vw, 1.38rem); color: rgba(255,255,255,0.8); max-width: 56ch; font-weight: 300; line-height: 1.55; margin-bottom: 2.4rem; }
.page-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.col-h { font-family: var(--ff-h); font-weight: 800; color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -0.025em; margin: 1rem 0; }
.col-h em { font-style: normal; color: var(--blue); }
.sgrid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem; }
.sgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1rem; }
.clist { display: grid; gap: 0.85rem; margin-top: 1.4rem; list-style: none; }
.clist li { display: flex; gap: 0.75rem; font-size: 1.04rem; line-height: 1.5; color: rgba(203,213,231,0.75); }
.clist li::before { content: '→'; color: var(--blue); font-family: var(--ff-mono); flex-shrink: 0; }
.clist li strong { color: #fff; font-weight: 500; }
.prose { max-width: 64ch; }
.prose p { margin-bottom: 1.1rem; font-size: 1.06rem; line-height: 1.7; color: rgba(203,213,231,0.75); }
.prose p strong { color: var(--white); font-weight: 500; }
.scard {
  --mx: 50%; --my: 50%; border-radius: 18px; padding: 2.1rem; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(91,143,212,0.08), rgba(255,255,255,0.015));
  border: 1px solid var(--line-d);
  transition: border-color .4s, box-shadow .4s var(--ease);
}
.scard::after {
  content:''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(132,176,236,0.12), transparent 45%);
}
.scard:hover { border-color: rgba(132,176,236,0.42); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.scard:hover::after { opacity: 1; }
.scard .num { font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--blue); display: block; margin-bottom: 1rem; }
.scard h3 { font-family: var(--ff-h); font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.scard p { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.65); }

/* ── Rechtstexte ── */
.legal-wrap { max-width: 800px; }
.legal-row { padding: 1.6rem 0; border-bottom: 1px solid var(--line-d); }
.legal-row:last-child { border-bottom: none; }
.legal-label { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.55rem; }
.legal-val { font-size: 1.02rem; line-height: 1.7; color: rgba(203,213,231,0.75); }
.legal-val a { color: var(--blue-br); text-decoration: none; }
.legal-val a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .sgrid-3, .sgrid-2 { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: none; }
}

/* ── Überschriften ohne Wort-Splitting (mobil): als Ganzes einblenden ── */
.split.unsplit { opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .95s var(--ease-out), filter .85s var(--ease); }
.split.unsplit.is-in { opacity: 1; transform: none; filter: blur(0); }

/* ── Mobiler Feinschliff: Silbentrennung, Schriftgrößen, Abstände ── */
@media (max-width: 720px) {
  .hero-h1, .sec-h2, .page-hero h1, .col-h, .ex-card h3, .mod-step h3, .scard h3, .flow-title {
    -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
    /* Nur lange Wörter trennen — "Weni-ger" sieht billig aus, "Automati-sierung" ist ok */
    -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 4;
    hyphenate-limit-chars: 10 5 4;
  }
}
@media (max-width: 640px) {
  .hero .wrap { padding-top: 7.5rem; padding-bottom: 3.5rem; gap: 2.2rem; }
  .hero-h1 { font-size: clamp(2.6rem, 12.5vw, 3.3rem); margin: 1.9rem 0 1.2rem; }
  .hero-sub { font-size: 1.08rem; }
  .hero-chips { margin-bottom: 1.9rem; }
  .page-hero .wrap { padding-top: 8rem; padding-bottom: 3.5rem; }
  .page-hero h1 { font-size: clamp(2.1rem, 10.5vw, 2.7rem); margin: 1.8rem 0 1.1rem; }
  .page-lead { font-size: 1.05rem; margin-bottom: 2rem; }
  .sec-h2 { font-size: clamp(1.9rem, 9.5vw, 2.4rem); margin: 1.8rem 0 1.2rem; }
  .sec-lead { font-size: 1.02rem; margin-bottom: 2.2rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; }
  .eyebrow::before { width: 1.1rem; flex-shrink: 0; }
  .scroll-cue { display: none; }
  .hero-actions .btn, .page-actions .btn { flex: 1 1 auto; justify-content: center; }
  .btn { padding: 0.95rem 1.3rem; }
  .ex-card, .contact-card, .mod-step { padding: 1.8rem 1.4rem; }
  .scard { padding: 1.7rem 1.4rem; }
  .ex-card h3 { font-size: 1.35rem; }
  .mod-step h3 { font-size: 1.45rem; }
  .flow-node { padding: 1.5rem 1.3rem; }
  .mod-out { max-width: 100%; }
  .mod-price { font-size: 1.3rem; }
  .sgrid-2 { gap: 2.2rem; }
  .col-h { font-size: 1.45rem; }
  .stat { padding: 1.4rem 1.3rem; }
  .contact-methods { gap: 0.9rem 1.4rem; }
  .legal-row { padding: 1.3rem 0; }
  .foot-links { gap: 0.7rem 1.2rem; }
}
