:root {
  --grund: #050a18;
  --grund-2: #08112a;
  --flaeche: rgba(120, 160, 255, 0.05);
  --flaeche-stark: rgba(120, 160, 255, 0.09);
  --linie: rgba(140, 175, 255, 0.14);
  --text: #eaf0ff;
  --text-leise: #9aa8c8;
  --blau: #2e7bff;
  --blau-hell: #7cbcff;
  --blau-tief: #1747d9;
  --glanz: rgba(46, 123, 255, 0.35);
  --fehler: #ff8f8f;
  --ok: #7ee0b0;

  --schrift-kopf: "Space Grotesk", "Segoe UI", sans-serif;
  --schrift-text: "Manrope", "Segoe UI", sans-serif;

  --zug-text: cubic-bezier(0.16, 1, 0.3, 1);
  --zug-flaeche: cubic-bezier(0.22, 1, 0.36, 1);
  --feder: cubic-bezier(0.34, 1.56, 0.64, 1);

  --rand: clamp(20px, 5vw, 64px);
  --breite: 1240px;
  --radius: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--schrift-kopf);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blau-hell);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprung {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--blau);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s var(--zug-text);
}

.sprung:focus {
  transform: translateY(76px);
}

.innen {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--schrift-kopf);
  letter-spacing: 0.16em;
  font-size: 15px;
}

.marke svg {
  width: 34px;
  height: 34px;
}

.marke b {
  font-weight: 700;
}

.marke span {
  font-weight: 400;
  color: var(--text-leise);
}

/* Kopfzeile */
.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
}

.kopf.gerollt {
  background: rgba(5, 10, 24, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linie);
}

.kopf .innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.kopf nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.kopf nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--text-leise);
}

.kopf nav a:hover {
  color: var(--text);
}

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--schrift-kopf);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--zug-text);
}

.knopf svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--zug-text);
}

.knopf:hover svg {
  transform: translateX(4px);
}

.knopf:active {
  transform: scale(0.98);
}

.knopf.voll {
  background: linear-gradient(135deg, #3d8bff, var(--blau-tief));
  color: #fff;
  box-shadow: 0 10px 40px -12px var(--glanz), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.knopf.voll:hover {
  transform: translateY(-2px);
}

.knopf.leer {
  border-color: var(--linie);
  color: var(--text);
  background: var(--flaeche);
}

.knopf.leer:hover {
  border-color: rgba(140, 175, 255, 0.32);
}

.kopf nav .knopf {
  color: #fff;
  padding: 10px 18px;
  font-size: 15px;
}

/* Bühne */
.buehne {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.buehne canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.licht {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.licht.eins {
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  right: -14vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(46, 123, 255, 0.3), rgba(46, 123, 255, 0.08) 40%, rgba(46, 123, 255, 0) 70%);
  animation: schweben 18s ease-in-out infinite alternate;
}

.licht.zwei {
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  left: -18vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(124, 188, 255, 0.14), rgba(124, 188, 255, 0.04) 40%, rgba(124, 188, 255, 0) 70%);
  animation: schweben 22s ease-in-out infinite alternate-reverse;
}

.strahl {
  position: absolute;
  z-index: -1;
  top: -20%;
  right: 22%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, rgba(124, 188, 255, 0), rgba(124, 188, 255, 0.55) 45%, rgba(124, 188, 255, 0));
  transform: rotate(28deg);
  opacity: 0.5;
  pointer-events: none;
}

.strahl.zwei {
  right: 34%;
  opacity: 0.25;
  transform: rotate(28deg) translateX(-40px);
}

@keyframes schweben {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4vw, 3vw, 0) scale(1.08);
  }
}

.buehne .innen {
  padding-top: 112px;
  padding-bottom: 96px;
}

.zeile-oben {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--schrift-kopf);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blau-hell);
  margin-bottom: 28px;
}

.zeile-oben::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.buehne h1 {
  font-size: clamp(42px, 6.3vw, 100px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.buehne h1 .zeile {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.buehne h1 .zeile > span {
  display: inline-block;
}

.buehne h1 .zeile:last-child > span {
  background: linear-gradient(100deg, #b9dcff 0%, var(--blau-hell) 35%, var(--blau) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buehne .unterzeile {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-leise);
}

.handlung {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.vertrauen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-leise);
}

.vertrauen li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vertrauen svg {
  width: 16px;
  height: 16px;
  color: var(--blau-hell);
}

.weiter {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1px solid var(--linie);
  border-radius: 999px;
}

.weiter::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--blau-hell);
  animation: tropfen 2.2s var(--zug-text) infinite;
}

@keyframes tropfen {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* Abschnitte */
.abschnitt {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
}

.kennung {
  font-family: var(--schrift-kopf);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blau-hell);
  margin-bottom: 22px;
  display: block;
}

.abschnitt h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.abschnitt .einleitung {
  margin-top: 26px;
  max-width: 600px;
  color: var(--text-leise);
  font-size: clamp(17px, 1.4vw, 19px);
}

/* Leistungen */
.leistungen-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.leistungen-kopf {
  position: sticky;
  top: 130px;
}

.leistung {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--linie);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, var(--flaeche-stark), rgba(8, 17, 42, 0.4) 60%);
  overflow: hidden;
}

.leistung + .leistung {
  margin-top: 28px;
}

.leistung::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(600px 220px at 85% 0%, rgba(46, 123, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.leistung-oben {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.nummer {
  font-family: var(--schrift-kopf);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-leise);
}

.leistung h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 14px;
}

.leistung .satz {
  margin-top: 8px;
  font-family: var(--schrift-kopf);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--blau-hell);
  font-weight: 400;
}

.leistung .beschreibung {
  color: var(--text-leise);
}

.bild {
  flex: none;
  width: clamp(84px, 9vw, 120px);
  height: clamp(84px, 9vw, 120px);
  color: var(--blau-hell);
}

.bild .drehen {
  transform-origin: 60px 60px;
  animation: drehen 26s linear infinite;
}

.bild .pulsen {
  transform-origin: 60px 60px;
  animation: atmen 4.5s var(--zug-flaeche) infinite alternate;
}

@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}

@keyframes atmen {
  from {
    transform: scale(0.94);
    opacity: 0.55;
  }
  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

.punkte {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--linie);
  display: grid;
  gap: 10px;
}

.punkte li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.punkte li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blau);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--glanz);
}

/* Haltung */
.haltung {
  background: linear-gradient(180deg, var(--grund), var(--grund-2) 50%, var(--grund));
}

.aussage {
  font-family: var(--schrift-kopf);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 22ch;
}

.aussage em {
  font-style: normal;
  color: var(--blau-hell);
}

.saeulen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--linie);
}

.saeule {
  padding: 36px 36px 36px 0;
  border-bottom: 1px solid var(--linie);
}

.saeule:nth-child(odd) {
  border-right: 1px solid var(--linie);
}

.saeule:nth-child(even) {
  padding-left: 36px;
  padding-right: 0;
}

.saeule h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.saeule h3 svg {
  width: 22px;
  height: 22px;
  color: var(--blau-hell);
}

.saeule p {
  margin-top: 12px;
  color: var(--text-leise);
  max-width: 44ch;
}

/* Ablauf */
.schritte {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

.schritte::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  height: 1px;
  background: linear-gradient(90deg, var(--blau), rgba(46, 123, 255, 0.15));
  transform-origin: left center;
  transform: scaleX(var(--fortschritt, 1));
  transition: transform 1.4s var(--zug-flaeche);
}

.schritt .marke-punkt {
  position: relative;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grund);
  border: 1px solid rgba(124, 188, 255, 0.4);
  font-family: var(--schrift-kopf);
  font-size: 15px;
  color: var(--blau-hell);
}

.schritt h3 {
  margin-top: 26px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.schritt p {
  margin-top: 10px;
  color: var(--text-leise);
  font-size: 16px;
}

/* Kontakt */
.kontakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.ansprechpartner {
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--flaeche);
}

.ansprechpartner strong {
  display: block;
  font-family: var(--schrift-kopf);
  font-size: 20px;
  font-weight: 600;
}

.ansprechpartner .rolle {
  color: var(--text-leise);
  font-size: 15px;
}

.ansprechpartner ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ansprechpartner a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.ansprechpartner a:hover {
  color: var(--blau-hell);
}

.ansprechpartner svg {
  width: 18px;
  height: 18px;
  color: var(--blau-hell);
}

.formular {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--linie);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, var(--flaeche-stark), rgba(8, 17, 42, 0.5));
}

.reihe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feld {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.feld label,
.feld legend {
  font-size: 14px;
  color: var(--text-leise);
}

.feld .noetig {
  color: var(--blau-hell);
}

.feld input,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(5, 10, 24, 0.65);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 14px 16px;
}

.feld textarea {
  min-height: 140px;
  resize: vertical;
}

.feld input:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--blau);
  background: rgba(5, 10, 24, 0.9);
}

.feld input[aria-invalid="true"],
.feld textarea[aria-invalid="true"] {
  border-color: var(--fehler);
}

fieldset.feld {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

.wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wahl label {
  position: relative;
  cursor: pointer;
}

.wahl input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.wahl span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--linie);
  background: rgba(5, 10, 24, 0.5);
  color: var(--text-leise);
  font-size: 15px;
}

.wahl input:checked + span {
  border-color: var(--blau);
  background: rgba(46, 123, 255, 0.16);
  color: var(--text);
}

.wahl input:focus-visible + span {
  outline: 2px solid var(--blau-hell);
  outline-offset: 2px;
}

.falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.formular-fuss .hinweis {
  font-size: 14px;
  color: var(--text-leise);
  max-width: 34ch;
}

.formular-fuss .hinweis a {
  color: var(--blau-hell);
}

.knopf[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.meldung {
  margin-top: 18px;
  font-size: 15px;
  min-height: 1.6em;
}

.meldung.gut {
  color: var(--ok);
}

.meldung.schlecht {
  color: var(--fehler);
}

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 56px 0 44px;
  color: var(--text-leise);
  font-size: 15px;
}

.fuss .innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
}

.fuss p {
  margin-top: 16px;
  max-width: 42ch;
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.fuss nav a {
  text-decoration: none;
}

.fuss nav a:hover {
  color: var(--text);
}

/* Rechtstexte */
.recht {
  padding: 160px 0 110px;
}

.recht .innen {
  max-width: 860px;
}

.recht h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.04em;
}

.recht h2 {
  font-size: 22px;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}

.recht p,
.recht li {
  color: var(--text-leise);
}

.recht p + p {
  margin-top: 12px;
}

.recht ul {
  padding-left: 20px;
}

.recht a {
  color: var(--blau-hell);
}

.recht .stand {
  margin-top: 48px;
  font-size: 14px;
}

.fehlerseite {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--rand);
}

.fehlerseite h1 {
  font-size: clamp(64px, 14vw, 180px);
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, #b9dcff, var(--blau));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fehlerseite p {
  margin: 18px auto 36px;
  color: var(--text-leise);
  max-width: 40ch;
}

/* Bewegung beim ersten Laden */
.js .auftritt {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

.js .buehne h1 .zeile > span {
  transform: translate3d(0, 105%, 0);
}

.js.bereit .auftritt {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--zug-text), transform 0.9s var(--zug-text);
  transition-delay: var(--verzug, 0s);
}

.js.bereit .buehne h1 .zeile > span {
  transform: none;
  transition: transform 0.85s var(--zug-text);
  transition-delay: var(--verzug, 0s);
}

.js .einblenden {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

.js .einblenden.sichtbar {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--zug-flaeche), transform 1s var(--zug-flaeche);
}

.js .schritte.einblenden {
  --fortschritt: 0;
}

.js .schritte.einblenden.sichtbar {
  --fortschritt: 1;
}

/* Kleine Bildschirme */
@media (max-width: 960px) {
  .leistungen-raster,
  .kontakt-raster {
    grid-template-columns: 1fr;
  }

  .leistungen-kopf {
    position: static;
  }

  .schritte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .schritte::before {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .kopf nav a:not(.knopf) {
    display: none;
  }

  .marke {
    letter-spacing: 0.12em;
    gap: 10px;
  }

  .reihe,
  .saeulen {
    grid-template-columns: 1fr;
  }

  .saeule,
  .saeule:nth-child(even) {
    padding: 28px 0;
    border-right: 0;
  }

  .leistung-oben {
    flex-direction: column-reverse;
  }

  .vertrauen {
    margin-top: 52px;
  }

  .weiter {
    display: none;
  }
}

@media (max-width: 520px) {
  .schritte {
    grid-template-columns: 1fr;
  }

  .handlung .knopf {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .auftritt,
  .js .einblenden,
  .js .buehne h1 .zeile > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .schritte.einblenden {
    --fortschritt: 1;
  }
}

@media print {
  .js .auftritt,
  .js .einblenden,
  .js .buehne h1 .zeile > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .buehne canvas,
  .licht,
  .strahl,
  .weiter,
  .kopf {
    display: none;
  }
}
