/* Tech-Forward – Schwarz, Tiefe und Licht. Farbe kommt aus dem Logo (Leiterbahnen) und aus den Produkten. */
@property --winkel {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --schwarz: #000;
  --flaeche: #0d0d0f;
  --kachel: #161617;
  --kachel-hell: #1d1d1f;
  --text: #f5f5f7;
  --grau: #86868b;
  --grau-hell: #a1a1a6;
  --linie: #2f2f33;
  --blau: #0378be;
  --blau-hover: #0a8ad6;
  --link: #4fa8f0;
  --regenbogen: linear-gradient(90deg, #0378be, #644c9a, #c52f90, #f04033, #f58229, #fbb811, #88c63f, #05afaf);
  --regenbogen-hell: linear-gradient(90deg, #4fb0f5, #a68ae6, #ec6cc0, #ff7468, #ffa05a, #ffd045, #b2e070, #3ed8d8, #4fb0f5);
  --sanft: cubic-bezier(0.2, 0.7, 0.2, 1);
  --leiste: 48px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--leiste);
}

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* feines Korn gegen Farbstufen in den Lichtflächen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

.springen {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--text);
  color: var(--schwarz);
  padding: 8px 16px;
  border-radius: 8px;
}
.springen:focus {
  left: 16px;
}

/* ---------- Navigationsleiste ---------- */
.leiste {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--leiste);
  background: rgba(18, 18, 20, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.4s, border-color 0.4s;
}
.js .leiste:not(.gescrollt) {
  background: rgba(0, 0, 0, 0);
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.leiste::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--regenbogen);
  transform: scaleX(var(--seite, 0));
  transform-origin: left;
  opacity: 0.9;
}
.leiste-innen {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.marke:hover {
  text-decoration: none;
}
.marke img {
  width: 21px;
  height: 25px;
}
.leiste-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.leiste-links a {
  color: #d2d2d7;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.leiste-links a:hover {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 640px) {
  .leiste-links li:not(:last-child) {
    display: none;
  }
}

/* ---------- Knöpfe ---------- */
.knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: 34px;
}
.pille {
  position: relative;
  display: inline-block;
  padding: 13px 24px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #1690d8, var(--blau));
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: -0.022em;
  box-shadow: 0 10px 30px -10px rgba(3, 120, 190, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s var(--sanft), box-shadow 0.35s, background 0.2s;
}
.pille:hover {
  text-decoration: none;
  background: linear-gradient(180deg, #2aa0e6, var(--blau-hover));
  box-shadow: 0 16px 40px -10px rgba(3, 120, 190, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.pille-rahmen {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pille-rahmen:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.weiter {
  font-size: 17px;
}
.weiter::after {
  content: "\203A";
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s var(--sanft);
}
.weiter:hover::after {
  transform: translateX(4px);
}

/* ---------- Überschriften ---------- */
.gross {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.kopfzeile {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 22px;
}
.unterzeile {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.33;
  letter-spacing: 0.002em;
  color: var(--grau-hell);
  max-width: 32em;
  margin: 22px auto 0;
  text-wrap: balance;
}

/* Einblenden */
.js [data-zeigen] {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(10px);
  transition: opacity 1s var(--sanft), transform 1.2s var(--sanft), filter 1s var(--sanft);
  transition-delay: var(--verz, 0s);
}
.js [data-zeigen].sichtbar {
  opacity: 1;
  transform: none;
  filter: none;
}
.js [data-woerter] .wort {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotateX(-50deg);
  transform-origin: 50% 100%;
  filter: blur(8px);
  transition: opacity 0.9s var(--sanft), transform 1s var(--sanft), filter 0.9s var(--sanft);
  transition-delay: calc(var(--i) * 70ms + var(--wort-start, 0.1s));
}
.js .sichtbar [data-woerter] .wort,
.js [data-woerter].sichtbar .wort,
.los .start h1 .wort {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Start ---------- */
.start {
  position: relative;
  min-height: calc(100svh - var(--leiste));
  margin-top: calc(var(--leiste) * -1);
  padding: calc(var(--leiste) + 40px) 22px 90px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.start::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(transparent, #000);
  z-index: 1;
  pointer-events: none;
}
.start-inhalt {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  transform: translateY(calc(var(--p, 0) * -110px)) scale(calc(1 - var(--p, 0) * 0.08));
  opacity: calc(1 - var(--p, 0) * 1.25);
  will-change: transform, opacity;
}

.aurora {
  position: absolute;
  inset: -15% -10% 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px) saturate(140%);
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.aurora span {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  will-change: transform;
}
.aurora span:nth-child(1) {
  left: -6%;
  top: 0;
  background: radial-gradient(circle, rgba(3, 120, 190, 0.55), transparent 62%);
  animation: treiben-a 19s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  right: -8%;
  top: 6%;
  background: radial-gradient(circle, rgba(197, 47, 144, 0.42), transparent 62%);
  animation: treiben-b 23s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  left: 28%;
  top: 34%;
  background: radial-gradient(circle, rgba(245, 130, 41, 0.34), transparent 62%);
  animation: treiben-c 27s ease-in-out infinite alternate;
}
@keyframes treiben-a {
  to {
    transform: translate(16vw, 10vh) scale(1.15);
  }
}
@keyframes treiben-b {
  to {
    transform: translate(-18vw, 14vh) scale(0.9);
  }
}
@keyframes treiben-c {
  to {
    transform: translate(-10vw, -14vh) scale(1.2);
  }
}

/* Leiterbahn-Boden, der nach vorne fließt */
.boden {
  position: absolute;
  z-index: 1;
  left: -50%;
  right: -50%;
  bottom: -6%;
  height: 52%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(480px) rotateX(66deg);
  transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 85% at 50% 0%, #000 25%, transparent 72%);
  animation: vorwaerts 2.6s linear infinite;
  pointer-events: none;
}
@keyframes vorwaerts {
  to {
    background-position: 0 60px, 0 0;
  }
}

.logo-buehne {
  position: relative;
  display: inline-block;
  perspective: 900px;
}
.logo-buehne::before {
  content: "";
  position: absolute;
  inset: -10% -25%;
  background: radial-gradient(closest-side, rgba(251, 184, 17, 0.22), rgba(197, 47, 144, 0.14) 45%, transparent 75%);
  filter: blur(30px);
  transform: translate(calc(var(--hx, 0) * -40px), calc(var(--hy, 0) * -30px));
  transition: transform 0.6s var(--sanft);
  z-index: -1;
}
.logo-animiert {
  display: block;
  width: clamp(250px, 32vw, 400px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
  transform: rotateX(calc(var(--hy, 0) * -16deg)) rotateY(calc(var(--hx, 0) * 20deg));
  transition: transform 0.6s var(--sanft);
}

/* Logo: Balken, Leitungen und Enden zeichnen sich nacheinander */
.logo-animiert .z-puls,
.logo-animiert .z-blitz {
  opacity: 0;
}
.logo-animiert .z-puls {
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 0.12 1.2;
}
.logo-animiert .z-blitz {
  stroke: #fff;
}
.logo-animiert .z-kopf,
.logo-animiert .z-fuss {
  transform-box: fill-box;
  transform-origin: center;
}
.js .z-balken {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .z-oben,
.js .z-unten {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .z-kopf,
.js .z-fuss {
  transform: scale(0);
}
.js .buchstabe {
  opacity: 0;
  transform: translateY(5px);
  transform-box: fill-box;
}
.los .z-balken {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.25, 1) 0.1s;
}
.los .z-oben,
.los .z-unten {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) calc(0.55s + var(--d));
}
.los .z-kopf,
.los .z-fuss {
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.3, 1.7, 0.5, 1) calc(1.15s + var(--d));
}
.los .buchstabe {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--sanft), transform 0.9s var(--sanft);
  transition-delay: calc(1.2s + var(--b) * 50ms);
}
.los .z-puls {
  animation: puls var(--t) linear calc(2.4s + var(--v)) infinite;
}
.los .z-blitz {
  animation: blitz var(--t) linear calc(2.4s + var(--v)) infinite;
}
@keyframes puls {
  0% {
    stroke-dashoffset: 0.12;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  84% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}
@keyframes blitz {
  0%,
  86% {
    opacity: 0;
  }
  92% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

.start h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin: 34px auto 0;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #b9b9c3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.js .start h1 {
  background: none;
  color: var(--text);
  --wort-start: 0.85s;
  perspective: 600px;
}
.js .start h1 .wort {
  background: linear-gradient(180deg, #fff 30%, #b9b9c3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.js:not(.los) .start h1 {
  opacity: 0;
}
.start-text {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.38;
  color: var(--grau-hell);
  max-width: 32em;
  margin: 24px auto 0;
  text-wrap: balance;
}
.js .start-text,
.js .start .knoepfe {
  opacity: 0;
  transform: translateY(24px);
}
.los .start-text,
.los .start .knoepfe {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--sanft) 1.45s, transform 1.1s var(--sanft) 1.45s;
}
.los .start .knoepfe {
  transition-delay: 1.6s;
}

/* ---------- Aussage: Wörter leuchten beim Scrollen auf ---------- */
.aussage {
  position: relative;
  height: 210vh;
}
.aussage-klebe {
  position: sticky;
  top: var(--leiste);
  height: calc(100svh - var(--leiste));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}
.aussage-text {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(32px, 5.4vw, 70px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.js .aussage-text .w {
  opacity: clamp(0.14, calc((var(--p, 1) * (var(--n) + 12) - var(--i)) / 6), 1);
}

/* ---------- Leistungen ---------- */
.bereich {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 22px 110px;
}
.karten {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 72px;
}
@media (min-width: 900px) {
  .karten {
    grid-template-columns: 1fr 1fr;
  }
}
.karte-huelle {
  height: 100%;
}
.karte {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(180deg, #1c1c1f 0%, #111113 60%, #0c0c0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 50px 100px -40px rgba(0, 0, 0, 0.9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--sanft);
}
.karte:hover {
  transition: transform 0.15s linear;
}
.karte::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.karte::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 255, 255, 0.55), rgba(79, 168, 240, 0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.karte:hover::before,
.karte:hover::after {
  opacity: 1;
}
.karte-bild {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(3, 120, 190, 0.28), transparent 70%);
}
.karte-text {
  padding: 8px 28px 44px;
}
.karte h3 {
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.karte-claim {
  font-size: 21px;
  line-height: 1.24;
  color: var(--grau-hell);
  margin: 10px 0 0;
}
.punkte {
  list-style: none;
  max-width: 400px;
  margin: 28px auto 0;
  padding: 0;
  text-align: left;
}
.punkte li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--linie);
}
.punkte li:last-child {
  border-bottom: 1px solid var(--linie);
}
.punkte li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 2px;
  border: 2px solid var(--link);
}
.karte .weiter {
  display: inline-block;
  margin-top: 26px;
}

/* Mini-Browser: Seite baut sich auf */
.mini {
  position: relative;
  width: 84%;
  max-width: 460px;
  aspect-ratio: 16 / 10;
  margin-top: 36px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: perspective(900px) rotateX(14deg);
  transform-origin: 50% 100%;
}
.mini-leiste {
  height: 7%;
  background: #ececf0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.mini-leiste i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7c7cc;
}
.mini-seite {
  position: absolute;
  inset: 7% 0 0;
  padding: 5% 6%;
}
.sk {
  height: 4.5%;
  width: 50%;
  margin-bottom: 3.2%;
  border-radius: 4px;
  background: #e3e6ec;
  transform-origin: left center;
}
.sk-nav {
  width: 100%;
  height: 5%;
  margin-bottom: 9%;
  background: #f1f3f6;
}
.sk-h1 {
  width: 50%;
  height: 9%;
  background: #1f2937;
}
.sk-farbe {
  width: 40%;
  background: linear-gradient(90deg, #2563eb, #10b981);
}
.sk-kurz {
  width: 38%;
}
.sk-knopf {
  width: 20%;
  height: 9%;
  margin-top: 5%;
  border-radius: 6px;
  background: #2563eb;
}
.sk-bild {
  position: absolute;
  right: 6%;
  top: 26%;
  width: 34%;
  height: 46%;
  border-radius: 10px;
  border: 2px solid #3b82f6;
  background: #f8fafc;
}
.mini-fertig {
  position: absolute;
  inset: 7% 0 0;
  width: 100%;
  height: 93%;
  object-fit: cover;
  object-position: top;
  opacity: 1;
}
.js .mini-fertig {
  opacity: 0;
}
.laeuft .sk {
  animation: bauen 8s var(--sanft) infinite both;
  animation-delay: calc(var(--k) * 0.14s);
}
.laeuft .mini-fertig {
  animation: fertig 8s ease infinite;
}
@keyframes bauen {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  9% {
    transform: scaleX(1);
    opacity: 1;
  }
  93% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}
@keyframes fertig {
  0%,
  36% {
    opacity: 0;
    transform: scale(1.06);
    filter: blur(6px);
  }
  46%,
  90% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  97%,
  100% {
    opacity: 0;
  }
}

/* Vorher/Nachher: verstreute Werkzeuge werden zu einer Software */
.wandel {
  position: relative;
  width: 100%;
  height: 100%;
}
.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 9px 16px;
  border-radius: 980px;
  background: linear-gradient(180deg, #2c2c30, #222226);
  color: #c7c7cc;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
}
.kern {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 20px;
  border-radius: 980px;
  background: #121214;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  isolation: isolate;
}
.kern img {
  width: 22px;
  height: 26px;
}
.kern::before,
.kern::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--winkel), #0378be, #644c9a, #c52f90, #f04033, #f58229, #fbb811, #88c63f, #05afaf, #0378be);
  animation: drehen 4s linear infinite;
  z-index: -1;
}
.kern::before {
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.kern::after {
  z-index: -2;
  inset: 4px;
  filter: blur(22px);
  opacity: 0.55;
}
@keyframes drehen {
  to {
    --winkel: 360deg;
  }
}
.laeuft .chip {
  animation: sammeln 7s var(--sanft) infinite;
  animation-delay: var(--v);
}
.laeuft .kern {
  animation: kern 7s var(--sanft) infinite;
}
@keyframes sammeln {
  0%,
  16% {
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 1;
  }
  40%,
  88% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 1;
  }
}
@keyframes kern {
  0%,
  28% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
  44%,
  86% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  96%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }
}
@media (max-width: 520px) {
  .wandel {
    transform: scale(0.74);
  }
}

/* ---------- Produkte ---------- */
.produkte {
  padding-top: 20px;
}
.szene {
  position: relative;
  height: 230vh;
  --q: clamp(0, calc(var(--p, 1) * 1.8), 1);
}
.szene-klebe {
  position: sticky;
  top: var(--leiste);
  height: calc(100svh - var(--leiste));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 6vh, 64px) 22px 0;
  text-align: center;
  isolation: isolate;
}
.szene-klebe::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -25%;
  width: 130%;
  height: 85%;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
  transform: translateX(-50%) scale(calc(0.55 + var(--q) * 0.6));
  opacity: calc(0.25 + var(--q) * 0.75);
}
.szene-sf .szene-klebe::before {
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.5), rgba(16, 185, 129, 0.2) 45%, transparent 70%);
}
.szene-ra .szene-klebe::before {
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.45), rgba(255, 215, 0, 0.14) 45%, transparent 70%);
}
.szene-text {
  max-width: 820px;
}
.produkt-name {
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0;
  padding-bottom: 0.05em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.produkt-sf {
  background-image: linear-gradient(100deg, #60a5fa 10%, #34d399 90%);
}
.produkt-ra {
  background-image: linear-gradient(100deg, #ff6b35 10%, #ffd34d 90%);
}
.produkt-claim {
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  text-wrap: balance;
}
.produkt-info {
  color: var(--grau-hell);
  max-width: 36em;
  margin: 14px auto 0;
  text-wrap: balance;
}
.szene .knoepfe {
  margin-top: 24px;
}
.buehne {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(28px, 5vh, 56px);
  perspective: 1500px;
}

/* Browserfenster klappt sich auf */
.fenster {
  position: relative;
  margin: 0;
  width: min(92%, 980px);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 120px -20px rgba(0, 0, 0, 0.85);
  transform-origin: 50% 0%;
  transform: translateY(calc((1 - var(--q)) * 40px)) rotateX(calc((1 - var(--q)) * 58deg)) scale(calc(0.8 + var(--q) * 0.2));
  will-change: transform;
}
.fenster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 62%);
  transform: translateX(calc(-130% + var(--q) * 260%));
  mix-blend-mode: soft-light;
}
.fenster-leiste {
  position: relative;
  height: 32px;
  background: #2a2a2c;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
}
.fenster-leiste span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5a5a5e;
}
.fenster-adresse {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #1d1d1f;
  color: var(--grau-hell);
  font-size: 12px;
  letter-spacing: 0;
  padding: 3px 40px;
  border-radius: 6px;
  white-space: nowrap;
}
.fenster img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 560px) {
  .fenster-adresse {
    padding: 3px 14px;
  }
}

/* Handys */
.handy {
  margin: 0;
  aspect-ratio: 1320 / 2868;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3a3a3e, #1a1a1c 40%, #2a2a2d);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.handy img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 37px;
}
.telefon {
  position: absolute;
  left: 50%;
  top: clamp(28px, 5vh, 56px);
  width: clamp(180px, 21vw, 270px);
  will-change: transform;
}
.telefon::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 37px;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 32%);
}
.telefon-mitte {
  z-index: 3;
  transform: translateX(-50%) translateY(calc((1 - var(--q)) * 110px)) scale(calc(0.9 + var(--q) * 0.1));
}
.telefon-links,
.telefon-rechts {
  z-index: 2;
  opacity: calc(0.35 + var(--q) * 0.65);
}
.telefon-links {
  transform: translateX(-50%) translateX(calc(var(--q) * -84%)) translateY(calc(40px + (1 - var(--q)) * 70px)) rotateY(calc(var(--q) * 22deg)) scale(0.86);
}
.telefon-rechts {
  transform: translateX(-50%) translateX(calc(var(--q) * 84%)) translateY(calc(40px + (1 - var(--q)) * 70px)) rotateY(calc(var(--q) * -22deg)) scale(0.86);
}

/* Safe Forward von innen */
.einblick {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 22px 120px;
}
.einblick-titel {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}
.einblick-reihe {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 380px);
  gap: 18px;
  margin: 56px -22px 0;
  padding: 10px 22px 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.einblick-reihe::-webkit-scrollbar {
  display: none;
}
.einblick-reihe > * {
  scroll-snap-align: center;
}
@media (min-width: 900px) {
  .einblick-reihe {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    margin: 64px 0 0;
    padding: 0;
    overflow: visible;
  }
}
.einblick-karte {
  margin: 0;
  text-align: left;
  border-radius: 28px;
}
.einblick-bild {
  position: relative;
  height: 250px;
  padding: 26px 0 0 26px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 90% at 30% 120%, rgba(37, 99, 235, 0.35), rgba(16, 185, 129, 0.12) 50%, transparent 75%);
}
.einblick-bild img {
  display: block;
  width: 150%;
  max-width: none;
  height: auto;
  border-radius: 12px 0 0 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.8s var(--sanft);
}
.einblick-bild img.nah {
  width: 210%;
}
.einblick-karte:hover .einblick-bild img {
  transform: translate(-4%, -3%) scale(1.03);
}
.einblick-karte figcaption {
  padding: 24px 26px 30px;
  color: var(--grau-hell);
}
.einblick-karte strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Ablauf ---------- */
.ablauf {
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 22px 120px;
}
.schritte {
  position: relative;
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  display: grid;
  gap: 56px;
}
.schritte::before,
.schritte::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: #26262a;
}
.schritte::after {
  background: linear-gradient(#0378be, #c52f90, #f58229);
  transform: scaleY(var(--p, 1));
  transform-origin: top;
}
.schritte li {
  position: relative;
  padding-left: 84px;
  --an: clamp(0, calc((var(--p, 1) * 3.2 - var(--i)) * 1.6), 1);
}
.nr {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18181b;
  box-shadow: inset 0 0 0 1px #3a3a3e;
  font-size: 22px;
  font-weight: 700;
  isolation: isolate;
}
.nr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--farbe);
  box-shadow: 0 0 34px var(--farbe);
  opacity: var(--an);
  transform: scale(calc(0.6 + var(--an) * 0.4));
}
.schritte h3 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.schritte p {
  color: var(--grau-hell);
  margin: 0;
  max-width: 24em;
}
.schritte h3,
.schritte p {
  opacity: calc(0.3 + var(--an) * 0.7);
}
@media (min-width: 900px) {
  .schritte {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
  }
  .schritte::before,
  .schritte::after {
    left: 16.66%;
    right: 16.66%;
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .schritte::after {
    background: linear-gradient(90deg, #0378be, #c52f90, #f58229);
    transform: scaleX(var(--p, 1));
    transform-origin: left;
  }
  .schritte li {
    padding-left: 0;
    padding-top: 80px;
  }
  .nr {
    left: 50%;
    margin-left: -28px;
  }
  .schritte p {
    margin: 0 auto;
  }
}

/* ---------- Kontakt ---------- */
.kontakt {
  padding: 40px 12px 110px;
}
.kontakt-karte {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 40px;
  padding: clamp(80px, 12vw, 150px) 22px;
  text-align: center;
  background: #08080a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.aurora-klein {
  inset: -30% -10%;
  opacity: 0.55;
  z-index: -1;
  -webkit-mask-image: none;
  mask-image: none;
}
.aurora-klein span {
  width: 40vmax;
  height: 40vmax;
}
.mail-gross {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(30px, 6.2vw, 76px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  background: var(--regenbogen-hell);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: schimmer 9s linear infinite;
}
.mail-gross:hover {
  text-decoration: none;
}
@keyframes schimmer {
  to {
    background-position: 200% 0;
  }
}
.anschrift {
  font-style: normal;
  color: var(--grau);
  margin-top: 26px;
}

/* ---------- Fuß ---------- */
.fuss {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 44px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  color: var(--grau);
}
.fuss p {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linie);
}
.fuss-zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.fuss nav {
  display: flex;
  gap: 20px;
}
.fuss a {
  color: #d2d2d7;
}

/* ---------- Rechtstexte ---------- */
.recht {
  max-width: 692px;
  margin: 0 auto;
  padding: 72px 22px 96px;
}
.recht h1 {
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.recht h2 {
  font-size: 21px;
  line-height: 1.19;
  font-weight: 600;
  letter-spacing: 0.011em;
  margin: 40px 0 8px;
}
.recht p,
.recht address {
  margin: 0 0 12px;
}
.recht address {
  font-style: normal;
}
.recht .stand {
  color: var(--grau);
}

/* ---------- Weniger Bewegung ---------- */
.ruhig *,
.ruhig *::before,
.ruhig *::after {
  animation: none !important;
  transition: none !important;
}
.ruhig .z-puls,
.ruhig .z-blitz {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .aussage {
    height: auto;
  }
  .aussage-klebe {
    position: static;
    height: auto;
    padding: 120px 22px;
  }
  .szene {
    height: auto;
  }
  .szene-klebe {
    position: static;
    height: auto;
    min-height: 760px;
  }
}
