/* ============================================================
   INTERTWINET SOLUTIONS — Design System
   Dark, cinematic, woven. 2026.
   ============================================================ */

/* ---------- Fonts (lokal, self-hosted) ---------- */
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #07070c;
  --bg-elev: #0d0d16;
  --bg-card: #10101c;
  --line: rgba(242, 241, 250, 0.09);
  --text: #f2f1fa;
  --text-muted: #9a97ad;
  --accent: #7b5cff;
  --accent-2: #2ae8c5;
  --grad: linear-gradient(120deg, #7b5cff, #2ae8c5);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --container: min(92vw, 1280px);
  --radius: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* Grain overlay — cinematic texture */
body::after {
  content: '';
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-4%, -4%); }
  80% { transform: translate(6%, 6%); }
}

.container { width: var(--container); margin-inline: auto; }

/* ---------- Reveal-System (IntersectionObserver + CSS) ---------- */
.anim {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.anim--left { transform: translateX(-40px); }
.anim.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
/* Fallback ohne JS/bei JS-Fehler: Preloader blendet sich nach 4,5s selbst aus,
   Hero-Inhalte erscheinen — die Seite darf niemals dauerhaft blockiert sein. */
.preloader { animation: preloader-autohide 0.7s ease 4.5s forwards; }
@keyframes preloader-autohide { to { opacity: 0; visibility: hidden; } }
.hero__line > span { animation: autoshow 1s var(--ease-out) 4.9s forwards; }
.reveal-line { animation: autoshow 1s ease 5.2s forwards; }
@keyframes autoshow { to { opacity: 1; transform: none; } }
.preloader__inner { display: grid; place-items: center; gap: 1.5rem; }
.preloader__mark { width: 84px; height: 84px; }
.preloader__thread { stroke-dasharray: 200; stroke-dashoffset: 200; animation: thread 1.6s var(--ease-out) forwards; }
.preloader__thread--a { stroke: var(--accent); }
.preloader__thread--b { stroke: var(--accent-2); animation-delay: 0.25s; }
@keyframes thread { to { stroke-dashoffset: 0; } }
.preloader__count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.15em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-block: 0.75rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.65rem; }
.nav__mark { width: 34px; height: 34px; }
.nav__word { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.92rem; color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; z-index: 1100; }
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--text); transition: transform 0.35s var(--ease-out), top 0.35s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(7, 7, 12, 0.96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.5rem;
  padding: 0 8vw;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: -0.02em;
  padding: 0.35rem 0; color: var(--text);
  transform: translateY(30px); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.8rem; border-radius: 999px; border: 1px solid var(--line);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad); border: 0; color: #08080e; font-weight: 700;
  box-shadow: 0 0 0 rgba(123, 92, 255, 0);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(123, 92, 255, 0.35); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--small { padding: 0.55rem 1.3rem; font-size: 0.88rem; }
.btn--big { padding: 1.2rem 2.6rem; font-size: clamp(1.05rem, 2.4vw, 1.4rem); }

/* ---------- Sections generic ---------- */
.section { padding: clamp(6rem, 14vh, 10rem) 0; position: relative; }
.section__eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem;
}
.section__num {
  color: var(--accent-2); font-size: 0.75rem;
  border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.5rem;
}
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2); display: inline-block;
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-top: 6rem; }
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8.8vw, 7rem);
  line-height: 1.03; letter-spacing: -0.035em;
  margin-bottom: 2.2rem;
  overflow-wrap: anywhere;
}
.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; transform: translateY(110%); }
.hero__sub {
  max-width: 560px; color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: 2.6rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.reveal-line { opacity: 0; transform: translateY(28px); }
.hero__scrollcue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; z-index: 2;
}
.hero__scrollcue-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted);
}
.hero__scrollcue-line {
  width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden;
}
.hero__scrollcue-line::after {
  content: ''; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%; background: var(--grad);
  animation: scrollcue 2s var(--ease-out) infinite;
}
@keyframes scrollcue { 60%, 100% { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden;
  background: var(--bg-elev);
}
.marquee__track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content; will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.9rem; }

/* ---------- Intro / Positionierung ---------- */
.intro__statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.28; letter-spacing: -0.015em;
  max-width: 1080px;
}
.split-words .w { display: inline-block; opacity: 0.14; transition: opacity 0.4s; }
.intro__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; margin-top: 5rem;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 2.2rem 1.8rem; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -0.03em;
  display: block; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat__label { color: var(--text-muted); font-size: 0.92rem; display: block; margin-top: 0.7rem; }

.intro__usp {
  margin-top: 2.4rem; max-width: 720px;
  color: var(--text-muted); font-size: 1.05rem;
  padding-left: 1.4rem; border-left: 2px solid var(--accent-2);
}
.intro__usp strong { color: var(--text); }

/* ---------- Offers / Einstieg ---------- */
.offers { background: var(--bg); }
.offers__lead { max-width: 620px; color: var(--text-muted); font-size: 1.08rem; margin: -1rem 0 3.2rem; }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.offer {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2.2rem; display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.offer:hover { transform: translateY(-8px); border-color: rgba(123, 92, 255, 0.5); }
.offer--highlight {
  background: linear-gradient(150deg, rgba(123, 92, 255, 0.14), rgba(42, 232, 197, 0.06)), var(--bg-card);
  border-color: rgba(123, 92, 255, 0.35);
}
.offer__badge {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid rgba(42, 232, 197, 0.35); border-radius: 999px;
  padding: 0.3rem 0.85rem;
}
.offer__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.7rem; letter-spacing: -0.02em;
}
.offer__text { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.offer__list li {
  font-size: 0.9rem; padding: 0.5rem 0 0.5rem 1.4rem;
  border-top: 1px solid var(--line); position: relative;
}
.offer__list li::before {
  content: '✦'; position: absolute; left: 0; top: 0.7rem;
  color: var(--accent); font-size: 0.7rem;
}
.offer__cta {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--text); display: inline-flex; gap: 0.5rem; align-items: center;
  margin-top: 0.4rem; padding: 0.55rem 1.25rem; border-radius: 999px;
  border: 1px solid rgba(123, 92, 255, 0.55);
  background: linear-gradient(120deg, rgba(123, 92, 255, 0.22), rgba(42, 232, 197, 0.12));
  transition: box-shadow 0.3s, border-color 0.3s, gap 0.25s;
}
.offer__cta:hover { border-color: var(--accent); box-shadow: 0 0 22px rgba(123, 92, 255, 0.35); gap: 0.9rem; }

.process__lead { max-width: 620px; color: var(--text-muted); font-size: 1.08rem; margin: -1rem 0 1rem; }

/* ---------- Platform (horizontal scroll) ---------- */
.platform { position: relative; background: var(--bg-elev); border-block: 1px solid var(--line); }
.platform__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 5rem; }
.platform__head { margin-bottom: 3.2rem; }
.platform__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.platform__lead { max-width: 620px; color: var(--text-muted); font-size: 1.08rem; }
.platform__track {
  display: flex; gap: 1.6rem;
  padding-left: max(4vw, calc((100vw - 1280px) / 2));
  padding-right: 8vw;
  width: max-content; will-change: transform;
}
.pcard {
  width: clamp(300px, 34vw, 420px); flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.pcard:hover { border-color: rgba(123, 92, 255, 0.5); transform: translateY(-6px); }
.pcard::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 20% 0%, rgba(123, 92, 255, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.pcard:hover::before { opacity: 1; }
.pcard__icon { width: 52px; height: 52px; color: var(--accent-2); margin-bottom: 1.6rem; }
.pcard__index {
  position: absolute; top: 2rem; right: 2rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted);
}
.pcard__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 0.3rem;
}
.pcard__title--small { font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; }
.pcard__tag {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem;
}
.pcard__text { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 1.4rem; }
.pcard__list li {
  font-size: 0.9rem; color: var(--text);
  padding: 0.5rem 0 0.5rem 1.4rem; position: relative;
  border-top: 1px solid var(--line);
}
.pcard__list li::before {
  content: '✦'; position: absolute; left: 0; color: var(--accent-2); font-size: 0.7rem; top: 0.7rem;
}
.pcard--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(140deg, rgba(123, 92, 255, 0.16), rgba(42, 232, 197, 0.08)), var(--bg-card);
}
.pcard--cta .btn { margin-top: 1rem; }

/* ---------- Services ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 2rem; align-items: start;
  padding: 2.6rem 0.5rem; border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.35s, padding-left 0.35s var(--ease-out);
}
.service:hover { background: linear-gradient(90deg, rgba(123, 92, 255, 0.06), transparent 60%); padding-left: 1.2rem; }
.service__num {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-2); padding-top: 0.55rem;
}
.service__body h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 0.7rem;
}
.service__body p { color: var(--text-muted); max-width: 640px; font-size: 1rem; }
.service__tags { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; padding-top: 0.4rem; }
.service__tags span {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-muted); border: 1px solid var(--line);
  padding: 0.28rem 0.7rem; border-radius: 999px; white-space: nowrap;
}

/* ---------- Process ---------- */
.process { padding: clamp(6rem, 14vh, 10rem) 0; background: var(--bg-elev); border-block: 1px solid var(--line); }
.process__wrap { position: relative; margin-top: 2rem; }
.process__line {
  position: absolute; left: 29px; top: 0; bottom: 0; width: 2px;
  background: var(--line); border-radius: 2px;
}
.process__line-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--grad); border-radius: 2px;
}
.process__steps { display: flex; flex-direction: column; gap: clamp(3rem, 8vh, 5.5rem); }
.pstep { display: grid; grid-template-columns: 60px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pstep__num {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text);
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  display: grid; place-items: center; position: relative; z-index: 2;
  transition: border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.pstep.is-active .pstep__num {
  border-color: var(--accent-2); color: var(--accent-2);
  box-shadow: 0 0 24px rgba(42, 232, 197, 0.35);
}
.pstep__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 0.7rem;
}
.pstep__text { color: var(--text-muted); max-width: 620px; }

/* ---------- AI Section ---------- */
.ai { position: relative; padding: clamp(6rem, 14vh, 11rem) 0; overflow: hidden; }
.ai__glow {
  position: absolute; top: 10%; right: -10%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.ai__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative;
}
.ai__lead { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 2.4rem; }
.ai__list { display: flex; flex-direction: column; }
.ai__list li {
  padding: 1.1rem 0 1.1rem 1.8rem; border-top: 1px solid var(--line);
  color: var(--text-muted); font-size: 0.98rem; position: relative;
}
.ai__list li:last-child { border-bottom: 1px solid var(--line); }
.ai__list li::before {
  content: ''; position: absolute; left: 0; top: 1.55rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad);
}
.ai__list strong { color: var(--text); font-weight: 600; }
.ai__visual { display: grid; place-items: center; }
.ai__svg { width: 100%; max-width: 460px; }
.ai__orbit { transform-origin: 200px 200px; animation: orbit 32s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.ai__nodes circle { animation: pulse 3s ease-in-out infinite; }
.ai__nodes circle:nth-child(2) { animation-delay: 0.5s; }
.ai__nodes circle:nth-child(3) { animation-delay: 1s; }
.ai__nodes circle:nth-child(4) { animation-delay: 1.5s; }
.ai__nodes circle:nth-child(5) { animation-delay: 2s; }

/* ---------- Cases ---------- */
.cases__note { color: var(--text-muted); font-size: 0.95rem; margin: -1rem 0 3rem; font-family: var(--font-mono); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.case {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2.2rem; display: flex; flex-direction: column; gap: 1.6rem;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.case:hover { transform: translateY(-8px); border-color: rgba(42, 232, 197, 0.4); }
.case__branche {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2);
}
.case__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.2; margin-top: 0.8rem;
}
.case__body { display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.case__body dt {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.3rem;
}
.case__body dd { font-size: 0.93rem; color: var(--text-muted); }
.case__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.case__meta span {
  font-family: var(--font-mono); font-size: 0.7rem;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.7rem;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(7rem, 16vh, 12rem) 0;
  background:
    radial-gradient(900px circle at 50% 120%, rgba(123, 92, 255, 0.18), transparent 60%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact .section__eyebrow { justify-content: center; }
.contact__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.03em;
  max-width: 1000px; margin: 0 auto 1.8rem;
}
.contact__sub { color: var(--text-muted); max-width: 560px; margin: 0 auto 3rem; }
.contact__actions { margin-bottom: 4.5rem; }
.contact__form {
  max-width: 640px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 1.3rem;
}
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.contact__form label {
  display: flex; flex-direction: column; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.contact__form input, .contact__form textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.95rem 1.1rem; color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s; resize: vertical;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact__form .btn { align-self: flex-start; }
.contact__hint { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ---------- Footer ---------- */
.footer { padding: 4.5rem 0 3rem; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.footer__mark { width: 44px; height: 44px; margin-bottom: 1rem; }
.footer__claim { font-family: var(--font-display); font-weight: 500; color: var(--text-muted); line-height: 1.4; }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a, .footer__legal a {
  color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s;
}
.footer__nav a:hover, .footer__legal a:hover { color: var(--text); }
.footer__legal { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__legal p { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
  .ai__grid { grid-template-columns: 1fr; }
  .ai__visual { order: -1; }
  .ai__svg { max-width: 320px; }
  .cases__grid { grid-template-columns: 1fr; }
  .offers__grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 48px 1fr; }
  .service__tags { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact__row { grid-template-columns: 1fr; }
  .process__line { left: 23px; }
  .pstep { grid-template-columns: 48px 1fr; }
  .pstep__num { width: 48px; height: 48px; }
  /* Scroll-Cue würde auf schmalen Screens mit den gestapelten CTAs kollidieren */
  .hero__scrollcue { display: none; }
}

/* Fallback: horizontale Plattform-Sektion ohne JS/Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__line > span { transform: none; }
  .reveal-line { opacity: 1; transform: none; }
  .split-words .w { opacity: 1; }
}
body.no-horizontal .platform__track { width: auto; flex-wrap: wrap; padding-inline: 4vw; }
body.no-horizontal .platform__pin { min-height: 0; }

/* ---------- Case-Artworks ---------- */
.case { overflow: hidden; }
.case__img { margin: -2.4rem -2.2rem 0.4rem; border-bottom: 1px solid var(--line); }
.case__img img { display: block; width: 100%; }

/* ---------- Pimcore-Upgrade / Versions-Zeitstrahl ---------- */
.upgrade-cta-row { margin-top: 2.2rem; }
.vline { position: relative; margin: 2.6rem 0 2.2rem; }
.vline-rail { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); border-radius: 2px; }
.vline-fill { position: absolute; inset: 0; width: 100%; background: linear-gradient(90deg, transparent, var(--accent) 55%, var(--accent-2)); border-radius: 2px; }
.vline-nodes { position: relative; display: flex; justify-content: space-between; gap: 0.5rem; }
.vnode { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; min-width: 0; }
.vnode i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--text-muted); background: transparent; display: block; }
.vnode b { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.5rem); }
.vnode span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.vnode-dead b { color: var(--text-muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.vnode-warm i { border-color: var(--accent-2); }
.vnode-live i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.vnode-live b { color: var(--accent); }
.vnode-live span { color: var(--accent); }
.upoints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.upoint { border-top: 2px solid var(--line); padding-top: 0.9rem; }
.upoint strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; }
.upoint span { font-size: 0.88rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .upoints { grid-template-columns: 1fr; }
  .vnode span { display: none; }
}
