/* ============================================================================
   Startseite
   Reines CSS · Dark + Light Theme über [data-theme] · maximale Animationen
   Aufbau:  0) Schriften (lokal)  1) Variablen/Themes  2) Basis  3) Komponenten
            4) Sektionen  5) Animationen  6) Responsive  7) Reduced-Motion
============================================================================ */

/* ============================================================
   0) SCHRIFTEN – lokal eingebunden (DSGVO-konform, kein Google-CDN)
============================================================ */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   1) DESIGN-TOKENS / THEMES
============================================================ */
:root {
  /* Markenfarben: zwei Blautöne (dunkel -> hell), kein Cyan/Grün.
     Die "cyan"-Variablennamen bleiben, tragen aber jetzt das helle Blau. */
  --brand-blue: #2b46a0;
  --brand-cyan: #5b8def; /* helles Blau (war Cyan) */
  --brand-blue-bright: #4368d6;
  --brand-cyan-bright: #79a3f7; /* helles Blau (war Cyan) */
  /* Cyan als Textfarbe – im Dark identisch zum Akzent-Cyan, im Light dunkler (Kontrast) */
  --brand-cyan-text: var(--brand-cyan);
  --gradient: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-cyan) 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    var(--brand-blue-bright),
    var(--brand-cyan-bright)
  );

  /* Typografie */
  --font-display:
    "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Übergänge */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t: 0.45s;
}

/* ---- DARK (Standard) ---- */
[data-theme="dark"] {
  --bg: #060912;
  --bg-2: #0a0f1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0e1424;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0fb;
  --text-soft: #b4c0d6;
  --text-dim: #74829c;
  --glow-blue: rgba(67, 104, 214, 0.55);
  --glow-cyan: rgba(121, 163, 247, 0.45); /* helles Blau (war Cyan) */
  --nav-bg: rgba(8, 12, 22, 0.72);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --hero-net: rgba(150, 190, 255, 0.85);
  color-scheme: dark;
}

/* ---- LIGHT ---- */
[data-theme="light"] {
  --bg: #f4f7fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f9; /* leicht abgesetzt, damit Tags/Pills/Chips sichtbar sind */
  --surface-solid: #ffffff;
  --border: rgba(20, 35, 70, 0.1);
  --border-strong: rgba(20, 35, 70, 0.18);
  --text: #0b1222;
  --text-soft: #41506b;
  --text-dim: #5c6a85; /* >= 4.5:1 auf hellem Grund (WCAG) */
  --glow-blue: rgba(43, 70, 160, 0.22);
  --glow-cyan: rgba(67, 104, 214, 0.2); /* helles Blau (war Cyan) */
  --nav-bg: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 70px -34px rgba(20, 40, 90, 0.4);
  --hero-net: rgba(43, 70, 160, 0.6);
  /* Helles Blau kräftiger/dunkler für Kontrast auf Weiß: Akzent vs. Text getrennt */
  --brand-cyan: #3a5fcf;
  --brand-cyan-text: #2c4bb0; /* ausreichend Kontrast auf Weiß – für Links/Labels */
  /* Gradient-Text-Stops abdunkeln, sonst fällt der Verlaufstext auf Hell durch */
  --brand-blue-bright: #28409a;
  --brand-cyan-bright: #3a5fcf;
  color-scheme: light;
}

/* ============================================================
   2) BASIS / RESET
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Anker-Ziele nicht unter die fixe Nav springen lassen */
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* verhindert horizontales Wackeln durch Marquee & Effekte */
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-lock {
  overflow: hidden;
}

/* Scrollleiste in Markenfarben */
html {
  scrollbar-color: var(--brand-cyan) var(--bg-2);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
  border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-soft);
}

/* Schnellzugriff-Stack: gestapelte Kreise, klappen bei Hover nach links zu einer Pill auf.
   Kontakt/Social vertikal mittig am rechten Rand, "Nach oben" separat unten. */
.fab-stack {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab-stack--bottom {
  top: auto;
  bottom: clamp(16px, 3vw, 30px);
  transform: none;
}
.fab {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 50px;
  width: max-content;
  overflow: hidden;
  padding: 0; /* Button-Default-Padding zurücksetzen, damit #toTop exakt rund ist */
  border: 1px solid var(--border-strong);
  border-radius: 25px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.55);
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.fab__icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.fab__icon svg {
  width: 20px;
  height: 20px;
}
.fab__label {
  max-width: 0;
  min-width: 0;
  opacity: 0;
  padding-left: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    max-width var(--t) var(--ease),
    opacity var(--t-fast) var(--ease),
    padding var(--t) var(--ease);
}
/* aufklappen (wächst nach links, da der Stack rechtsbündig ist) */
.fab:hover,
.fab:focus-visible {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px -12px var(--glow-cyan);
}
.fab:hover .fab__label,
.fab:focus-visible .fab__label {
  max-width: 220px;
  opacity: 1;
  padding-left: 18px;
}
.fab--accent {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* "Nach oben" erscheint erst beim Scrollen (klappt unten rein) */
.fab--top {
  height: 0;
  opacity: 0;
  pointer-events: none;
  border-width: 0;
  transition:
    height var(--t) var(--ease),
    opacity var(--t) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.fab--top.is-visible {
  height: 50px;
  opacity: 1;
  pointer-events: auto;
  border-width: 1px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
  position: relative;
}
/* Folgen zwei .section direkt aufeinander, zählt nur das untere Padding der
   vorherigen -> gleichmäßiger Abstand, keine Verdopplung. */
.section + .section {
  padding-top: 0;
}
/* Kennzahlen-Block näher an die vorherige Sektion rücken (bewusst enger) */
.stats-section {
  padding-top: 0;
  margin-top: clamp(-48px, -4vw, -20px);
}

/* Markenverlauf als Text */
.gradient-text {
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Section-Köpfe */
.section__head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
/* Zentrierte Variante des Section-Headers */
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .section__lead {
  margin-inline: auto;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.section__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-soft);
  max-width: 60ch;
}

/* Skip-Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--gradient);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* Scroll-Fortschrittsbalken */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-soft);
  z-index: 200;
  box-shadow: 0 0 12px var(--glow-cyan);
}

/* Visuell versteckt, aber für Crawler und Screenreader lesbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   3) KOMPONENTEN
============================================================ */
/* ---- Buttons ---- */
.btn {
  --btn-pad: 14px 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--btn-pad);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
  will-change: transform;
}
.btn svg {
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn--lg {
  --btn-pad: 18px 34px;
  font-size: 1.05rem;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow:
    0 14px 38px -12px var(--glow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  box-shadow:
    0 20px 50px -10px var(--glow-cyan),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--brand-cyan-text);
  background: var(--surface-2);
}

/* ---- Reveal-Basis (Scroll-Animation) ---- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   4a) NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform var(--t) var(--ease);
  /* Eigene GPU-Ebene erzwingen -> verhindert Subpixel-Zittern beim Scrollen */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* Beim Runterscrollen sanft ausblenden, beim Hochscrollen wieder einblenden */
.nav.is-hidden {
  transform: translate3d(0, -100%, 0);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 12px 16px 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  /* Stabile Composite-Ebene -> backdrop-filter flimmert beim Scrollen nicht */
  transform: translateZ(0);
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.nav.is-scrolled .nav__inner {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.nav__brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}
.nav__logo {
  width: auto;
  height: 30px;
  object-fit: contain;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__menu {
  display: flex;
  gap: 6px;
  /* Links mittig in der Leiste: absolut zentriert, Logo bleibt links, CTA rechts */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  color: var(--text-soft);
  transition:
    color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gradient-soft);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover {
  color: var(--text);
}
.nav__link:hover::after {
  transform: scaleX(1);
}
.nav__mobile-socials {
  display: none;
}

.nav__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-open .nav__burger span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   4b) HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.hero__glow--1 {
  width: 50vw;
  height: 50vw;
  max-width: 720px;
  max-height: 720px;
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, var(--glow-cyan), transparent 65%);
}
.hero__glow--2 {
  width: 45vw;
  height: 45vw;
  max-width: 620px;
  max-height: 620px;
  bottom: -15%;
  left: -10%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}
.hero__text {
  max-width: 640px;
}

/* Dekoratives Hub im Hero */
.hero__hub {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin-inline: auto;
  /* Krake im Hero nach oben ziehen. Negativer margin-top, weil .reveal
     das transform beim Einblenden überschreibt (transform: none). */
  margin-top: -40px;
}
.hero__hub-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.55;
}
.hero__hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  aspect-ratio: 1;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--surface-2),
    var(--surface-solid)
  );
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 55px -8px var(--glow-blue);
}
.hero__hub-core img {
  width: 56%;
  height: 56%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
.hero__hub-ring {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  border-top-color: var(--brand-cyan);
  animation: spin 16s linear infinite;
}
.hero__hub-ring--2 {
  inset: -26px;
  border-top-color: transparent;
  border-right-color: var(--brand-blue-bright);
  animation: spin 24s linear infinite reverse;
}
.hero__hub-node {
  position: absolute;
  width: 20%;
  aspect-ratio: 1;
  z-index: 2;
  transform: translate(
    calc(-50% + var(--fx, 0px)),
    calc(-50% + var(--fy, 0px))
  );
}
.hero__hub-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease);
}
.hero__hub-ic {
  width: clamp(18px, 2.3vw, 26px);
  height: clamp(18px, 2.3vw, 26px);
}
.hero__hub-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.5rem, 1.1vw, 0.66rem);
  text-align: center;
  line-height: 1.05;
}
.hero__hub-dot:hover {
  border-color: var(--brand-cyan);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 32px -4px var(--glow-cyan);
}

/* dezente Kontext-Zeile unter der H1 (nur Text) */
.hero__kicker {
  font-size: 0.98rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 12px;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroLineUp 0.9s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) {
  animation-delay: 0.12s;
}

/* Rotierende Service-Zeile */
.hero__rotator {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.7vw, 1.95rem);
  color: var(--text-soft);
  margin-bottom: 24px;
}
.hero__rotator-mask {
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
}
.hero__rotator-list {
  display: flex;
  flex-direction: column;
  animation: heroRotate 12.6s infinite;
}
.hero__rotator-list b {
  display: block;
  height: 1.3em;
  line-height: 1.3em;
  font-weight: 700;
}
@keyframes heroRotate {
  0%,
  11% {
    transform: translateY(0);
  }
  14.3%,
  25% {
    transform: translateY(-1.3em);
  }
  28.6%,
  39% {
    transform: translateY(-2.6em);
  }
  42.9%,
  53% {
    transform: translateY(-3.9em);
  }
  57.2%,
  68% {
    transform: translateY(-5.2em);
  }
  71.5%,
  82% {
    transform: translateY(-6.5em);
  }
  85.8%,
  100% {
    transform: translateY(-7.8em);
  }
}

.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__chips li {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--text-soft);
  transition:
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.hero__chips li:hover {
  border-color: var(--brand-cyan-text);
  color: var(--text);
  transform: translateY(-3px);
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  position: relative;
}
.hero__scroll-mouse::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-cyan);
  animation: scrollwheel 1.8s infinite;
}

/* ============================================================
   4c) DIE KRAKE (Hub)
============================================================ */
.krake__stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.krake__viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  margin-inline: auto;
}
.krake__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.krake__link-path {
  fill: none;
  stroke: url(#krakeGrad);
  stroke-width: 2;
  opacity: 0.32;
  transition:
    opacity var(--t) var(--ease),
    stroke-width var(--t) var(--ease);
}
.krake__link-path.is-active {
  opacity: 1;
  stroke-width: 3.5;
}

/* Zentraler Knoten */
.krake__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  aspect-ratio: 1;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--surface-2),
    var(--surface-solid)
  );
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 60px -10px var(--glow-blue),
    var(--shadow);
}
.krake__core-logo {
  width: 52%;
  height: 52%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
.krake__core-label {
  position: absolute;
  bottom: -34px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}
.krake__core-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  border-top-color: var(--brand-cyan-text);
  animation: spin 14s linear infinite;
}
.krake__core-ring--2 {
  inset: -30px;
  border-top-color: transparent;
  border-right-color: var(--brand-blue-bright);
  animation: spin 22s linear infinite reverse;
}

/* Service-Knoten (per JS positioniert) */
.krake__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19%;
  aspect-ratio: 1;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
  /* Startposition zentriert; JS setzt --x / --y für die Verteilung */
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px)));
  animation: nodeIn 0.7s var(--ease-out) backwards;
  animation-delay: calc(var(--i) * 0.08s + 0.3s);
}
.krake__node-icon {
  width: clamp(20px, 2.8vw, 30px);
  height: clamp(20px, 2.8vw, 30px);
}
.krake__node-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.66rem, 1.4vw, 0.8rem);
  text-align: center;
  line-height: 1.05;
}
.krake__node:hover,
.krake__node.is-active {
  border-color: var(--brand-cyan-text);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 40px -6px var(--glow-cyan);
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px)))
    scale(1.12);
  z-index: 7;
}

/* Info-Panel */
.krake__info {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow);
  /* feste Mindesthöhe + vertikal zentriert → kein Höhensprung zwischen 1 und 4 Produkten */
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.krake__info-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  margin-bottom: 16px;
}
.krake__info-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}
.krake__info-text {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 1.02rem;
}
.krake__products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.krake__product {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  transition:
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.krake__product:hover {
  border-color: var(--brand-cyan-text);
  transform: translateX(5px);
  background: var(--surface);
}
.krake__product-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.krake__product-arrow {
  color: var(--brand-cyan-text);
  transition: transform var(--t-fast) var(--ease);
}
.krake__product:hover .krake__product-arrow {
  transform: translate(2px, -2px);
}
.krake__product-desc {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.krake__info.is-switching {
  opacity: 0;
  transform: translateY(10px);
}
.krake__info {
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

/* ============================================================
   4c2) ZWEI WEGE
============================================================ */
.ways__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 30px);
}
.way {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.way--alt {
  background: linear-gradient(
    160deg,
    rgba(50, 77, 155, 0.14),
    rgba(121, 163, 247, 0.09)
  );
  border-color: var(--border-strong);
}
.way:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow);
}
.way__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  margin-bottom: 14px;
}
.way__title {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin-bottom: 14px;
}
.way__text {
  color: var(--text-soft);
  margin-bottom: 22px;
}
.way__points {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
}
.way__points li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}
.way__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--brand-cyan-text);
  font-weight: 700;
}
.way__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.way__brands li {
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
}
.way .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Section-Header zweispaltig: Titel links, Lead rechts --- */
.section__head--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  max-width: none;
  text-align: left;
}
/* Linke Spalte: Inhalt innerhalb der Spalte mittig */
.section__head-title {
  text-align: center;
}
.section__head-title .section__eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.section__head--split .section__eyebrow {
  margin-bottom: 22px;
}
/* Titel größer & enger geführt, sauberer Umbruch über <br> */
.section__head--split .section__title {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  margin: 0;
}
/* Lead-Block rechts: feiner Akzent-Strich + zweistufiger Text */
.section__head-body {
  position: relative;
  padding-left: clamp(20px, 2vw, 28px);
}
.section__head-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient);
}
.section__head--split .section__lead {
  margin: 0 0 14px;
  max-width: 48ch;
}
.section__lead-sub {
  font-size: 0.98rem;
  color: var(--text-dim);
  max-width: 48ch;
}

/* --- Leistungen: alternierende Zickzack-Zeilen --- */
.leistungen__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 22px);
}
.lrow {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}
.lrow:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.lrow:hover .card__glow {
  opacity: 0.55;
}
/* jede zweite Zeile gespiegelt: Fakten links, Text rechts */
.lrow--alt {
  grid-template-columns: 1fr 1.4fr;
}
.lrow--alt .lrow__main {
  order: 2;
}
.lrow--alt .lrow__facts {
  order: 1;
}

/* Text-Block (Nummer, Icon, Titel, Beschreibung) */
.lrow__main {
  position: relative;
}
.lrow__num {
  position: absolute;
  top: -8px;
  right: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--text);
  opacity: 0.08;
  pointer-events: none;
}
.lrow__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--glow-blue);
}
.lrow__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 12px;
}
.lrow__text {
  color: var(--text-soft);
  max-width: 46ch;
}
.lrow__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--brand-cyan-text);
  transition:
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.lrow__link svg {
  transition: transform var(--t-fast) var(--ease);
}
.lrow__link:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.lrow__link:hover svg {
  transform: translateX(4px);
}

/* Daten & Fakten als 2×2-Grid */
.lrow__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lrow__facts li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition:
    border-color var(--t) var(--ease),
    background var(--t) var(--ease);
}
.lrow:hover .lrow__facts li {
  border-color: var(--border-strong);
}
.lrow__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 3px;
  color: var(--text);
}
.lrow__facts span {
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* ============================================================
   4d) LEISTUNGEN / BENTO
============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.card {
  position: relative;
  overflow: hidden;
  grid-column: span 1;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}
.card--lg {
  grid-column: span 2;
}
.card--wide {
  grid-column: span 2;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

/* Folgt der Maus (per JS): Lichtschein */
.card__glow {
  /* Maus-folgender Lichtschein komplett deaktiviert */
  display: none;
}
.card:hover .card__glow {
  opacity: 0.55;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 22px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--glow-blue);
}
.card--accent {
  background: linear-gradient(
    160deg,
    rgba(50, 77, 155, 0.14),
    rgba(121, 163, 247, 0.1)
  );
  border-color: var(--border-strong);
}
.card__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card__text {
  color: var(--text-soft);
  margin-bottom: auto;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.card__tags li {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-cyan-text);
}
.card__link span {
  transition: transform var(--t-fast) var(--ease);
}
.card:hover .card__link span {
  transform: translateX(5px);
}

/* ============================================================
   4e) WARUM + STATS
============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 110px);
}
.why__list {
  display: grid;
  gap: 10px;
}
.why__item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    border-color var(--t) var(--ease),
    background var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.why__item:hover {
  border-color: var(--border);
  background: var(--surface);
  transform: translateX(8px);
}
.why__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-cyan-text);
  padding-top: 2px;
}
.why__item h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.why__item p {
  color: var(--text-soft);
}

/* Winkel-Variable für den rotierenden Rand (animierbar dank @property) */
@property --faq-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --stats-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  /* Eigener Stacking-/Paint-Kontext, damit die laufende Rand-Animation
     beim Überscrollen mit dem transparenten Header nicht flackert */
  isolation: isolate;
  contain: paint;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}

/* Rotierender Leucht-Rand: conic-gradient läuft langsam um die Box.
   Per Mask wird nur der äußere Rahmen sichtbar (Innenfläche ausgespart). */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--stats-angle),
    transparent 0%,
    transparent 60%,
    var(--brand-cyan-bright) 80%,
    var(--brand-blue-bright) 92%,
    transparent 100%
  );
  /* Nur den Rand zeigen: Innenfläche via Mask wegschneiden */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 1;
  pointer-events: none;
  animation: stats-rotate 5s linear infinite;
  /* Eigene GPU-Ebene -> die laufende Rotation zwingt den Header-Blur darüber
     nicht zum Neuzeichnen (sonst Zittern, wenn die Nav über der Box liegt) */
  will-change: transform;
  transform: translateZ(0);
}
.stats:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.stats:hover .card__glow {
  opacity: 0.55;
}
@keyframes stats-rotate {
  to {
    --stats-angle: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats::before {
    animation: none;
  }
}
.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ============================================================
   4f) MARKEN-FAMILIE
============================================================ */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    160deg,
    rgba(50, 77, 155, 0.16),
    rgba(121, 163, 247, 0.12)
  );
  transition: opacity var(--t) var(--ease);
}
.brand:hover {
  border-color: var(--brand-cyan-text);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.brand:hover::before {
  opacity: 1;
}
.brand__name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand__desc {
  position: relative;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: auto;
}
.brand__go {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 1.2rem;
  color: var(--brand-cyan-text);
  transition: transform var(--t-fast) var(--ease);
}
.brand:hover .brand__go {
  transform: translate(3px, -3px);
}
.brand--cta {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}
.brand--cta .brand__desc {
  color: rgba(255, 255, 255, 0.85);
}
.brand--cta .brand__go {
  color: #fff;
}

/* ============================================================
   4g) PROZESS
============================================================ */
/* --- Prozess als vertikaler Zeitstrahl (Zickzack links/rechts) --- */
.timeline {
  position: relative;
  margin-inline: auto;
  padding: 10px 0;
}
/* Zentrale Linie */
.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}
/* Verlaufs-Strahl, der von oben nach unten "läuft" */
.timeline__progress {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease);
}
.timeline.is-visible .timeline__progress {
  transform: scaleY(1);
}

/* Ein Schritt: zwei Spalten, der Punkt sitzt mittig auf der Linie */
.tstep {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
/* Cards rücken eng zusammen: die nächste beginnt etwa am Ende der vorherigen */
.tstep + .tstep {
  margin-top: clamp(-30px, -2.5vw, -18px);
}

/* Punkt auf der Linie */
.tstep__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 6px var(--border-strong),
    0 0 20px -2px var(--glow-cyan);
  z-index: 2;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.tstep:hover .tstep__dot {
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 6px var(--border-strong),
    0 0 28px 2px var(--glow-cyan);
}

/* Die Karte – ungerade Schritte links, gerade rechts */
.tstep__card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  grid-column: 1;
  margin-right: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  /* solider Hintergrund, damit überlappende Cards sich sauber überdecken */
  background: var(--surface-solid);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}
.tstep__card:hover {
  z-index: 3;
}
.tstep:nth-child(even) .tstep__card {
  grid-column: 2;
  margin-right: 0;
  margin-left: clamp(28px, 4vw, 56px);
}
.tstep__card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.tstep__card:hover .card__glow {
  opacity: 0.55;
}

/* Pfeil/Verbinder von der Karte zur Linie */
.tstep__card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * clamp(28px, 4vw, 56px));
  width: clamp(28px, 4vw, 56px);
  height: 2px;
  transform: translateY(-50%);
  background: var(--border-strong);
}
.tstep:nth-child(even) .tstep__card::after {
  right: auto;
  left: calc(-1 * clamp(28px, 4vw, 56px));
}

/* Große Nummer als Akzent */
.tstep__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  margin-bottom: 12px;
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tstep__title {
  position: relative;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 10px;
}
.tstep__text {
  position: relative;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* ============================================================
   4g-2) ÜBER MICH
============================================================ */
/* --- Über mich als eine große Card --- */
.aboutcard {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: stretch;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(32px, 4vw, 60px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}
.aboutcard:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.aboutcard:hover .card__glow {
  opacity: 0.55;
}

/* Linke Spalte: Eyebrow oben, rundes Bild, Erfahrungs-Badge */
.aboutcard__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.aboutcard__eyebrow {
  align-self: center;
}
/* Bild-Container trägt Ring + Badge */
.aboutcard__photo {
  position: relative;
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: 1;
}
.about__stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 40px 90px -34px var(--glow-blue),
    inset 0 0 0 1px var(--border-strong);
  isolation: isolate;
}
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
/* Markenfarben-Filter über dem Foto */
.about__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    150deg,
    rgba(50, 77, 155, 0.45) 0%,
    rgba(121, 163, 247, 0.32) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Rotierender Akzent-Ring */
.aboutcard__photo::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    from var(--stats-angle),
    transparent 0%,
    transparent 62%,
    var(--brand-cyan-bright) 80%,
    var(--brand-blue-bright) 92%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: stats-rotate 7s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  z-index: 2;
}
/* Erfahrungs-Badge am unteren Bild-Rand, mittig */
.about__badge {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  z-index: 3;
}
.about__badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about__badge-label {
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Rechte Spalte: Text */
.aboutcard__body {
  position: relative;
  z-index: 1;
}
.aboutcard__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
}
.aboutcard__lead {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 56ch;
}

/* Eckdaten als Chip-Reihe – alle in einer Zeile */
.aboutcard__facts {
  display: flex;
  gap: 12px;
  margin: 0 0 28px;
}
.aboutcard__fact {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  text-align: center;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    background var(--t) var(--ease);
}
/* Markenakzent: Rahmen-Streifen oben, der durch die runden Ecken ein Stück
   an den Seiten mitläuft und nach unten ausblendet. Box clippt via overflow. */
.aboutcard__fact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px; /* nur kurz um die Ecke */
  border: 2px solid transparent;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}
/* Glow wie bei den anderen Cards (zentriert, erscheint beim Hover) */
.aboutcard__fact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    160px circle at 50% 30%,
    var(--glow-cyan),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t) var(--ease);
}
.aboutcard__fact:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.aboutcard__fact:hover::after {
  opacity: 1;
}
.aboutcard__fact dt {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.aboutcard__fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap; /* Wert immer in einer Zeile */
}

/* CTA-Button mittig im Textfeld */
.aboutcard__actions {
  text-align: center;
}

/* ============================================================
   4g-3) PORTFOLIO
============================================================ */
/* Headline in einer Zeile */
.portfolio .section__title {
  white-space: nowrap;
}
/* max-width aufheben, damit der zentrierte Block die volle Breite nutzt
   und die nowrap-Headline wirklich mittig sitzt (statt nach rechts rauszulaufen) */
.portfolio .section__head--center {
  max-width: none;
}
.portfolio__title-line {
  display: inline;
}
/* Filter-Buttons */
.pfilter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 clamp(32px, 4vw, 48px);
}
.pfilter__btn {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.pfilter__btn:hover {
  color: var(--text);
  border-color: var(--brand-cyan);
}
.pfilter__btn.is-active {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

/* Karten-Raster */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

/* Flip-Karte: 3D-Container – Bild im Monitor-Format (16:9) + Titel-Leiste */
.pcard {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  perspective: 1200px;
  transition: opacity var(--t) var(--ease);
}
.pcard.is-hidden {
  display: none;
}
/* drehbarer Innenteil */
.pcard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  transform-style: preserve-3d;
}
/* Hover (Desktop) + Tap/Fokus (Mobil) dreht die Karte */
.pcard:hover .pcard__inner,
.pcard:focus-within .pcard__inner,
.pcard.is-flipped .pcard__inner {
  transform: rotateY(180deg);
}

/* Vorder- und Rückseite */
.pcard__front,
.pcard__back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Vorderseite: Bild oben, Titel-Leiste unten */
.pcard__front {
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
}
/* Bild-Bereich im Monitor-Format (16:9) */
.pcard__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.pcard__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.pcard.is-archived .pcard__shot img {
  filter: grayscale(0.4) brightness(0.7);
}
/* Titel-Leiste mit eigenem Hintergrund */
.pcard__bar {
  flex: none;
  padding: 16px 18px;
  background: var(--surface-solid);
  border-top: 1px solid var(--border);
  text-align: center;
}
.pcard__bar .pcard__title {
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
}
/* Kategorie-Badge oben links */
.pcard__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(8, 12, 22, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
}
/* Archiviert-Badge oben rechts */
.pcard__archived {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 11px 5px 26px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  background: rgba(8, 12, 22, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
}
.pcard__archived::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V7a6 6 0 0 1 12 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1zm2 0h8V7a4 4 0 0 0-8 0v3z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V7a6 6 0 0 1 12 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1zm2 0h8V7a4 4 0 0 0-8 0v3z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Rückseite: Text + Links */
.pcard__back {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface-solid);
  transform: rotateY(180deg);
}
.pcard__back-cat {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  margin-bottom: 10px;
}
.pcard__back-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.pcard__back-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}
.pcard__offline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 28%, var(--border));
  border-radius: var(--radius-pill);
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.35;
  background: color-mix(in srgb, var(--brand-cyan) 9%, var(--surface-2));
}
.pcard__offline::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan-text);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-cyan) 13%, transparent);
}
.pcard__stores {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.pcard__store {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.pcard__store:hover {
  border-color: var(--brand-cyan);
  background: var(--surface);
}
.pcard__store img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* Steam-Logo ist schwarz -> im Dark-Theme invertieren (weiß), damit sichtbar */
[data-theme="dark"] .pcard__store img[src*="logo-steam"] {
  filter: invert(1) brightness(1.6);
}
/* Viveport-Symbol ist schwarz (currentColor) -> im Dark-Theme auf dunkler Karte weiß machen */
[data-theme="dark"] .pcard__store img[src*="logo-viveport"] {
  filter: invert(1);
}
.pcard__store--link {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   4h) CTA / KONTAKT
============================================================ */
.cta__box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cta__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, var(--glow-blue), transparent 60%);
  filter: blur(70px);
  opacity: 0.8;
}
.cta__title {
  position: relative;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  margin-bottom: 20px;
}
.cta__text {
  position: relative;
  color: var(--text-soft);
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 auto 38px;
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}
.cta__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.96rem;
}
.cta__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta__meta svg {
  width: 17px;
  height: 17px;
  color: var(--brand-cyan);
  flex: 0 0 auto;
}

/* ============================================================
   4i) FOOTER
============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vw, 90px);
  margin-top: 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
/* Logo im Footer linksbündig (Top-Nav-Einrückung aufheben) */
.footer__brand .nav__brand {
  margin-left: 0;
}

/* News-Spalte */
.footer__news {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 16px;
}
.footer__news-item a {
  display: block;
  color: var(--text-soft);
  transition: color var(--t-fast) var(--ease);
}
.footer__news-item a:hover {
  color: var(--brand-cyan-text);
}
.footer__news-title {
  display: block;
  font-size: 0.9rem;
  /* nur eine Zeile, Rest wird mit … abgeschnitten */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer__news-all {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-cyan-text);
  transition: opacity var(--t-fast) var(--ease);
}
.footer__news-all:hover {
  opacity: 0.75;
}
.footer__claim {
  color: var(--text-soft);
  margin-top: 18px;
  max-width: 36ch;
}
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-soft);
  transition:
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.footer__socials a:hover {
  color: var(--brand-cyan-text);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.footer__socials svg {
  width: 19px;
  height: 19px;
}
.footer__col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer__col a,
.footer__col address {
  display: block;
  color: var(--text-soft);
  font-style: normal;
  margin-bottom: 8px;
  font-size: 0.92rem;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover {
  color: var(--brand-cyan-text);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  transition: color var(--t-fast) var(--ease);
}
.footer__legal a:hover {
  color: var(--brand-cyan-text);
}

/* ============================================================
   4j) KUNDEN-LOGO-MARQUEE
============================================================ */
.logos {
  /* unten kein Extra-Padding: der Abstand zur nächsten Sektion kommt allein
     aus deren padding-top -> konsistent mit den übrigen Übergängen */
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: 0;
  overflow: hidden;
}
.logos__title {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 34px;
}
.logos__marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.logos__track {
  display: flex;
  width: max-content;
  /* Pixel-genaue Verschiebung um GENAU eine Set-Breite (7×158 + 7×22 = 1260px).
     Prozent (-50%) rundet auf Sub-Pixel und erzeugt dadurch eine Lücke am Loop. */
  animation: marquee 42s linear infinite;
}
.logos__item {
  flex: 0 0 auto;
  width: 158px;
  height: 88px;
  margin-right: 22px; /* gleichmäßiger Abstand an JEDEM Item -> nahtloser -50%-Loop */
  display: grid;
  place-items: center;
  padding: 22px 30px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5);
}
.logos__item img {
  /* feste Höhe statt 100%: sonst füllen quadratische Icons (Google, Meta, Steam)
     die ganze Karte und wirken viel größer als die breite Viveport-Wortmarke */
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* dunkle Basis, damit SVGs mit currentColor (z.B. Viveport-Wortmarke) auf der weißen Karte sichtbar sind */
  color: #1a1f2e;
  /* Immer farbig, kein Hover-Effekt */
  filter: none;
  opacity: 1;
}
/* Gemini-Stern einen Tick größer als die übrigen Logos */
.logos__item img[src*="logo-gemini"] {
  height: 38px;
}

/* ============================================================
   4k) WEITERES LEISTUNGSSPEKTRUM
============================================================ */
.more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.more__item {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.more__item:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.more__icon {
  width: 34px;
  height: 34px;
  color: var(--brand-cyan);
}
.more__title {
  font-size: 1.12rem;
}
.more__text {
  color: var(--text-soft);
  font-size: 0.93rem;
}
.more__item--feature {
  grid-column: span 2;
  background: linear-gradient(
    150deg,
    rgba(50, 77, 155, 0.16),
    rgba(121, 163, 247, 0.12)
  );
  border-color: var(--border-strong);
}
.more__item--feature .more__title {
  font-size: 1.5rem;
}
.more__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-cyan-text);
}

/* ============================================================
   4l) TEAM / 15 JAHRE
============================================================ */
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.team__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}
.team__roles li {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.84rem;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-weight: 500;
}
.team__photo {
  position: relative;
  margin: 0;
}
.team__photo-glow {
  position: absolute;
  inset: -8%;
  background: var(--gradient);
  filter: blur(60px);
  opacity: 0.4;
  border-radius: 50%;
  z-index: 0;
}
.team__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.team__badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 20px 50px -16px var(--glow-blue);
}
.team__badge-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}
.team__badge-label {
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 600;
}

/* ============================================================
   4m) PRESSE / NDR
============================================================ */
.press__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 940px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.press__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.press__card:hover .press__thumb {
  transform: scale(1.05);
}
.press__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 9, 18, 0.15) 0%,
    rgba(6, 9, 18, 0.45) 55%,
    rgba(6, 9, 18, 0.9) 100%
  );
}
.press__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.press__play {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  padding-left: 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 0 0 var(--glow-cyan);
  animation: pulse 2.6s infinite;
  transition: transform var(--t) var(--ease);
}
.press__card:hover .press__play {
  transform: translate(-50%, -50%) scale(1.12);
}
.press__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}
.press__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
}
.press__meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

/* ============================================================
   5) KEYFRAMES
============================================================ */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--glow-cyan);
  }
  70% {
    box-shadow: 0 0 0 12px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes scrollwheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-4%);
  }
  50% {
    transform: translateY(4%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes nodeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    /* exakt eine Set-Breite: 15 Logos × 158px + 15 Abstände × 22px = 2700px */
    transform: translateX(-2700px);
  }
}
@keyframes heroLineUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   7) RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  /* Portfolio: 2 Spalten */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Hero einspaltig: Text oben, Hub darunter */
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Über-mich-Card: Bild oben, Text darunter */
  .aboutcard {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
    text-align: center;
    justify-items: center;
  }
  .aboutcard__eyebrow {
    align-self: center;
  }
  .aboutcard__lead {
    margin-inline: auto;
  }
  /* Facts ins 2-Spalten-Raster, nicht mehr eine enge Reihe */
  .aboutcard__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 420px;
  }
  .aboutcard__fact {
    flex: none;
  }
  /* auf schmalen Screens dürfen die Werte umbrechen */
  .aboutcard__fact dd {
    white-space: normal;
  }
  .hero__text {
    max-width: 720px;
  }
  .hero__hub {
    max-width: 360px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--lg,
  .card--wide {
    grid-column: span 2;
  }
  .section__head--split {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .brands__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Zeitstrahl: Linie nach links, alle Karten rechts daneben */
  .timeline__line {
    left: 9px;
    transform: none;
  }
  .tstep {
    grid-template-columns: 1fr;
  }
  .tstep + .tstep {
    margin-top: clamp(24px, 4.5vw, 38px);
  }
  .tstep__dot {
    left: 9px;
  }
  .tstep__card,
  .tstep:nth-child(even) .tstep__card {
    grid-column: 1;
    margin-left: clamp(30px, 7vw, 48px);
    margin-right: 0;
  }
  .tstep__card::after,
  .tstep:nth-child(even) .tstep__card::after {
    right: auto;
    left: calc(-1 * clamp(30px, 7vw, 48px));
    width: clamp(30px, 7vw, 48px);
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .krake__stage {
    grid-template-columns: 1fr;
  }
  .krake__viz {
    max-width: 520px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .more__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .more__item--feature {
    grid-column: span 2;
  }
  .team__grid {
    grid-template-columns: 1fr;
  }
  .team__photo {
    max-width: 560px;
    margin-inline: auto;
  }

  /* Mobile-Navigation greift schon hier, bevor die Desktop-Nav überläuft */
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2.4vh, 20px);
    min-height: 100dvh;
    padding: 110px clamp(24px, 8vw, 56px) 42px;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(8, 12, 22, 0.99), rgba(6, 9, 18, 1)),
      radial-gradient(circle at 50% 18%, rgba(67, 104, 214, 0.16), transparent 44%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    box-shadow: none;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.55s var(--ease),
      opacity var(--t) var(--ease);
    z-index: 1;
  }
  .nav.is-open .nav__menu {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    display: inline-flex;
    justify-content: center;
    width: min(100%, 360px);
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 7vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition:
      border-color var(--t-fast) var(--ease),
      background var(--t-fast) var(--ease),
      transform var(--t-fast) var(--ease);
  }
  .nav__link:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
  }
  .nav__link::after {
    display: none;
  }
  .nav__mobile-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(10px, 2vh, 22px);
  }
  .nav__mobile-socials a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition:
      border-color var(--t-fast) var(--ease),
      background var(--t-fast) var(--ease),
      transform var(--t-fast) var(--ease);
  }
  .nav__mobile-socials a:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
  }
  .nav__mobile-socials svg {
    width: 20px;
    height: 20px;
  }
  .nav__burger {
    display: flex;
  }
  .nav__cta {
    display: none;
  }
  /* Info-Box wieder natürliche Höhe, wenn das Hub einspaltig wird */
  .krake__info {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  /* Portfolio: 1 Spalte */
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  /* Headline darf auf schmalen Screens wieder umbrechen */
  .portfolio .section__title {
    white-space: normal;
  }
  .portfolio__title-line {
    display: block;
  }
  /* Scroll-Indikator + Hero-Hub auf Mobil ausblenden (Hero kürzer; interaktives Hub kommt direkt darunter) */
  .hero__scroll {
    display: none;
  }
  .hero__hub {
    display: none;
  }
  /* Schnellzugriff-Stack auf Mobil etwas kleiner */
  .fab-stack:not(.fab-stack--bottom) {
    display: none;
  }
  .fab-stack--bottom {
    display: flex;
    right: 18px;
    bottom: 18px;
  }
  .fab__icon {
    flex-basis: 44px;
    height: 44px;
  }
  .fab {
    height: 44px;
  }
  .fab--top.is-visible {
    height: 44px;
  }
  .fab-stack--bottom {
    gap: 10px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 24px;
  }
  .stat__num {
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }
  .stat__label {
    margin-top: 8px;
    font-size: 1rem;
  }
  .aboutcard__facts {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 340px;
    margin-inline: auto;
  }
  .aboutcard__fact::before {
    display: block;
    inset: 0 0 auto 0;
    height: 18px;
    border: 0;
    border-top: 2px solid var(--brand-cyan-bright);
    border-left: 2px solid rgba(67, 104, 214, 0.78);
    border-right: 2px solid rgba(121, 163, 247, 0.78);
    border-bottom: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    background: none;
    -webkit-mask: none;
    mask: none;
  }
  .aboutcard__actions {
    width: 100%;
  }
  .aboutcard__actions .btn {
    width: min(100%, 340px);
    justify-content: center;
  }
  .bento,
  .brands__grid {
    grid-template-columns: 1fr;
  }
  .card--lg,
  .card--wide {
    grid-column: span 1;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    justify-items: center;
  }
  .footer__brand .nav__brand {
    justify-content: center;
    margin-inline: auto;
  }
  .footer__claim {
    margin-inline: auto;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__col {
    text-align: center;
  }
  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer__legal {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero__tagline {
    gap: 12px;
  }
  .hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    align-items: center;
    padding-top: clamp(112px, 18svh, 140px);
    padding-bottom: clamp(24px, 6svh, 48px);
  }
  .hero__content {
    align-items: center;
    justify-items: center;
    text-align: center;
    height: 100%;
  }
  .hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
  }
  .hero__title {
    font-size: clamp(2rem, 9vw, 2.65rem);
    margin-bottom: 10px;
  }
  .hero__rotator {
    justify-content: center;
    gap: 8px;
    font-size: clamp(1.08rem, 5.2vw, 1.35rem);
    margin-bottom: clamp(16px, 3.2svh, 22px);
  }
  .hero__sub {
    margin-inline: auto;
    margin-bottom: clamp(24px, 4.8svh, 34px);
    font-size: clamp(1rem, 4.5vw, 1.12rem);
    line-height: 1.55;
  }
  .hero__actions {
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    gap: 12px;
  }
  .hero__actions .btn {
    width: min(100%, 340px);
    justify-content: center;
  }
  .more__grid {
    grid-template-columns: 1fr;
  }
  .more__item--feature {
    grid-column: span 1;
  }
  .ways__grid {
    grid-template-columns: 1fr;
  }
  /* Leistungs-Zeilen auf Mobil einspaltig, Text immer oben (auch bei --alt) */
  .lrow,
  .lrow--alt {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lrow--alt .lrow__main {
    order: 1;
  }
  .lrow--alt .lrow__facts {
    order: 2;
  }
  .logos__item {
    width: 130px;
    height: 74px;
  }
  .team__badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -22px;
  }
}

/* ============================================================
   8) REDUCED MOTION — respektiert Nutzer-Einstellungen
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================================================================
   KONTAKT
================================================================== */
@media (min-width: 560px) {
  .contact__title {
    white-space: nowrap;
  }
}
.contact__title-line {
  display: inline;
}

@media (max-width: 559px) {
  .contact__title-line {
    display: block;
  }
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  margin-top: 56px;
  align-items: stretch;
}

/* Statusmeldung nach dem Absenden */
.contact__status {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}
.contact__form .contact__status {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
}

.contact__status--ok {
  color: #15803d;
  background: color-mix(in srgb, #22c55e 14%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
}

.contact__status--err {
  color: #dc2626;
  background: color-mix(in srgb, #ef4444 14%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 35%, transparent);
}

/* Linke Spalte: Info-Karte */
.contact__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__intro {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.contact__checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__checks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--text);
}

.contact__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    var(--gradient);
}

.contact__photo {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Avatar mit rotierendem Leucht-Rand (wie FAQ) */
.contact__avatar {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 2.5px;
}

/* Ring nur als Rand: per Mask Innenfläche aussparen */
.contact__avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(
    from var(--faq-angle),
    transparent 0%,
    transparent 60%,
    var(--brand-cyan-bright) 80%,
    var(--brand-blue-bright) 92%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: faq-rotate 5s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
}

.contact__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%; /* Bild im Kreis nach unten: oberer Bildbereich sichtbar */
  display: block;
  background: var(--surface);
}

@media (prefers-reduced-motion: reduce) {
  .contact__avatar::before {
    animation: none;
  }
}

.contact__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

.contact__role {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
}

.contact__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  text-align: center;
}

.contact__fact-val {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
}

.contact__fact-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t) var(--ease);
}

.contact__mail:hover {
  color: var(--brand-cyan);
}

.contact__mail svg {
  width: 20px;
  height: 20px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.contact__socials {
  display: flex;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.contact__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition:
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}

.contact__socials a:hover {
  color: var(--brand-cyan);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.contact__socials svg {
  width: 19px;
  height: 19px;
}

/* Rechte Spalte: Formular */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* Honeypot: für Menschen komplett unsichtbar */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-cyan) 18%, transparent);
}

/* Checkbox-Zeile */
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.field--check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--brand-cyan);
}

.field--check a {
  color: var(--brand-cyan);
  text-decoration: underline;
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.contact__note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

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

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

/* ==================================================================
   FAQ
================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
  isolation: isolate;
  contain: paint;
}

.faq__item {
  border-color: var(--border);
}

/* Rotierender Leucht-Rand bei Hover und wenn offen */
.faq__item:hover,
.faq__item[open] {
  border-color: transparent;
}

.faq__item:hover::before,
.faq__item[open]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--faq-angle),
    transparent 0%,
    transparent 60%,
    var(--brand-cyan-bright) 80%,
    var(--brand-blue-bright) 92%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: faq-rotate 5s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes faq-rotate {
  to {
    --faq-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item:hover::before,
  .faq__item[open]::before {
    animation: none;
  }
}

.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color var(--t) var(--ease);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand-cyan);
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__item {
  interpolate-size: allow-keywords;
}

.faq__answer {
  padding: 0 28px 22px;
  font-size: clamp(0.88rem, 1vw, 0.97rem);
  line-height: 1.75;
  color: var(--text-secondary);
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.35s ease,
    opacity 0.3s ease;
}

.faq__item[open] .faq__answer {
  height: auto;
  opacity: 1;
}

@media (max-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact__form .btn {
    align-self: center;
    width: min(100%, 340px);
    justify-content: center;
  }
}

/* Fokus-Sichtbarkeit für Tastaturnutzer */
:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==================================================================
   KUNDENSTIMMEN
================================================================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr; /* alle Zeilen gleich hoch */
  gap: 24px;
  margin-top: 56px;
}

.tcard {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
}

.tcard:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.tcard__glow {
  display: none;
}

.tcard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tcard__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: color-mix(in srgb, var(--brand-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 30%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}

.tcard__stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
}

.tcard__quote-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tcard__quote {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
  /* 4 Zeilen anzeigen, Rest abschneiden */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcard__more {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-cyan);
  cursor: pointer;
  align-self: flex-start;
  transition: opacity var(--t) var(--ease);
}

.tcard__more:hover {
  opacity: 0.75;
}

.tcard__author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tcard__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.tcard__google {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Modal */
.tmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.tmodal-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.tmodal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  max-width: 560px;
  width: 100%;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tmodal-backdrop.is-open .tmodal {
  transform: translateY(0) scale(1);
}

.tmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition:
    color var(--t) var(--ease),
    background var(--t) var(--ease);
}

.tmodal__close:hover {
  color: var(--text);
  background: var(--border);
}

.tmodal__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tmodal__stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
}

.tmodal__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: color-mix(in srgb, var(--brand-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 30%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}

.tmodal__quote {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.tmodal__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   RECHTSTEXT-SEITEN (Impressum, Datenschutz)
================================================================== */
.legal {
  position: relative;
  overflow: hidden;
  padding-top: clamp(130px, 18vh, 200px);
}
/* Sanfter Lichtschein oben */
.legal__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.legal__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* Hero */
.legal__hero {
  text-align: center;
  margin-bottom: 56px;
}
.legal__title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 14px 0 10px;
}
.legal__updated {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Kerndaten-Karten */
.legal__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.legal__card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.legal__card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.legal__card-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 18px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--glow-blue);
}
.legal__card-ic svg {
  width: 22px;
  height: 22px;
}
.legal__card-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.legal__card-val {
  color: var(--text);
  font-style: normal;
  line-height: 1.65;
  font-size: 0.98rem;
}
.legal__card-val a {
  color: var(--text);
  transition: color var(--t) var(--ease);
}
.legal__card-val a:hover {
  color: var(--brand-cyan-text);
}
.legal__card-val strong {
  color: var(--brand-cyan-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Rechtstexte */
.legal__prose {
  max-width: 740px;
  margin: 0 auto;
}
.legal__block {
  position: relative;
  padding-left: 22px;
  margin-bottom: 40px;
}
/* Akzentbalken links */
.legal__block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient);
  opacity: 0.7;
}
.legal__block h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.legal__block p {
  color: var(--text-soft);
  line-height: 1.8;
}

/* Datenschutz-Hinweisbox */
.legal__note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 740px;
  margin: 8px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.legal__note-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
}
.legal__note-ic svg {
  width: 20px;
  height: 20px;
}
.legal__note p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
.legal__note a {
  color: var(--brand-cyan-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Zurück-Link */
.legal__back {
  display: inline-block;
  margin-top: 48px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color var(--t) var(--ease);
}
.legal__back:hover {
  color: var(--brand-cyan-text);
}

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

/* ==================================================================
   BLOG
================================================================== */
.blog {
  position: relative;
  overflow: hidden;
  padding-top: clamp(130px, 18vh, 200px);
}
.blog__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.blog__hero {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.blog__title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 14px 0 14px;
}
.blog__lead {
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Beitrags-Raster */
.blog__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.blog__card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.blog__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 2.6vw, 32px);
  color: inherit;
}
.blog__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.blog__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  background: color-mix(in srgb, var(--brand-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 30%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}
.blog__date {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.blog__card-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.blog__card-excerpt {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.blog__more {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-cyan-text);
  transition: opacity var(--t) var(--ease);
}
.blog__card:hover .blog__more {
  opacity: 0.8;
}

/* Leer-Zustand */
.blog__empty {
  position: relative;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 32px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.blog__empty p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog__grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   BLOG-ARTIKEL
================================================================== */
.article {
  position: relative;
  overflow: hidden;
  padding-top: clamp(120px, 16vh, 180px);
}
.article__glow {
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 55%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.article__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* Brotkrumen */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--text-soft);
  transition: color var(--t) var(--ease);
}
.breadcrumb a:hover {
  color: var(--brand-cyan-text);
}
.breadcrumb span {
  color: var(--text-dim);
}

/* Artikel-Kopf */
.article__head {
  margin-bottom: 36px;
}
.article__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan-text);
  background: color-mix(in srgb, var(--brand-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 30%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.article__h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.article__meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* TL;DR / Auf den Punkt */
.article__tldr {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  margin: 0 0 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.article__tldr-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
}
.article__tldr-ic svg { width: 20px; height: 20px; }
.article__tldr p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-size: 0.98rem;
}
.article__tldr strong { color: var(--brand-cyan-text); }

/* Fließtext */
.article__body {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article__body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--text);
  margin: 48px 0 16px;
}
.article__body h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 32px 0 12px;
}
.article__body p { margin-bottom: 18px; }
.article__body ul,
.article__body ol {
  margin: 0 0 22px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.article__body li {
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--gradient);
}
.article__body ol { counter-reset: art; }
.article__body ol li::before {
  counter-increment: art;
  content: counter(art);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
}
.article__body strong { color: var(--text); font-weight: 600; }
/* Fließtext-Links unterstrichen – aber NICHT Buttons (.btn) */
.article__body a:not(.btn) {
  color: var(--brand-cyan-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article__body a:not(.btn):hover { opacity: 0.8; }

/* CTA-Box im Artikel */
.article__cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 48px 0;
  padding: 40px 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.article__cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: var(--text);
}
.article__cta p {
  margin: 0 auto 24px;
  max-width: 46ch;
  color: var(--text-soft);
}

/* FAQ im Artikel */
.article__faq {
  margin-top: 56px;
}
.article__faq h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}
.article__faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.article__faq-item:last-child { border-bottom: 1px solid var(--border); }
.article__faq-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.article__faq-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

/* Zurück-Link */
.article__back {
  display: inline-block;
  margin-top: 48px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color var(--t) var(--ease);
}
.article__back:hover { color: var(--brand-cyan-text); }

/* ==================================================================
   LEISTUNGSSEITE: WEBDESIGN
================================================================== */
.service-detail {
  position: relative;
  overflow: hidden;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(48px, 7vw, 82px);
}
.service-detail__glow {
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background: linear-gradient(180deg, rgba(67, 104, 214, 0.2), transparent 72%);
  opacity: 0.75;
  pointer-events: none;
}
.service-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}
.service-hero__copy {
  max-width: 760px;
}
.service-hero__title {
  max-width: 15ch;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.04;
  margin-bottom: 24px;
}
.service-hero__lead {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.service-hero__panel {
  position: relative;
  overflow: hidden;
  align-self: end;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(91, 141, 239, 0.12), rgba(255, 255, 255, 0.03)),
    var(--surface);
  box-shadow: var(--shadow);
}
.service-hero__panel-kicker,
.service-choice__tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--brand-cyan-text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--surface-2);
}
.service-hero__points {
  display: grid;
  gap: 12px;
}
.service-hero__points li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
}
.service-hero__points li:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  background: var(--surface);
}
.service-hero__points strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  color: var(--text);
}
.service-hero__points span {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}
.service-section {
  position: relative;
}
.service-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}
.service-choice__card,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
  transform-style: preserve-3d;
}
.service-choice__card:hover,
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  background: var(--surface-2);
}
.service-choice__card {
  padding: clamp(26px, 3.6vw, 44px);
}
.service-choice__card h3,
.service-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 14px;
}
.service-choice__card p,
.service-card p {
  color: var(--text-soft);
}
.service-choice__card ul {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}
.service-choice__card li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}
.service-choice__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(91, 141, 239, 0.1);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.service-card {
  min-height: 190px;
  padding: clamp(22px, 2.6vw, 30px);
}
.service-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
}
.service-process {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.service-process__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
.service-process__steps {
  display: grid;
  gap: 14px;
  counter-reset: service;
}
.service-process__steps li {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    background var(--t) var(--ease);
}
.service-process__steps li:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--surface);
}
.service-process__steps strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  color: var(--text);
}
.service-process__steps span {
  display: block;
  color: var(--text-soft);
}
.service-cta {
  padding-top: 0;
}
.service-cta__inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(43, 70, 160, 0.2), rgba(121, 163, 247, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
}
.service-cta__inner h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: 16px;
}
.service-cta__inner p {
  max-width: 58ch;
  margin: 0 auto 28px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

@media (max-width: 920px) {
  .service-hero,
  .service-process {
    grid-template-columns: 1fr;
  }
  .service-hero__title {
    max-width: 13ch;
  }
  .service-hero__panel {
    align-self: auto;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-choice,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .service-hero__title {
    max-width: 100%;
  }
}

/* ==================================================================
   FEHLERSEITEN (404 / 403 / 500)
================================================================== */
.errorpage {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: clamp(120px, 16vh, 180px);
}
.errorpage__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.errorpage__inner {
  position: relative;
  max-width: 560px;
  padding: 0 24px;
}
.errorpage__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.errorpage__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.errorpage__text {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.errorpage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ==================================================================
   iubenda – Datenschutz-Button (runder Icon-Button, eigenes Design)
================================================================== */
.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle] {
  position: fixed !important;
  left: 1.5rem !important;
  bottom: 1.5rem !important;
  z-index: 2147483000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3rem !important;
  height: 3rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0.95rem !important;
  background: var(--gradient) !important;
  background-image: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle]:hover {
  background: linear-gradient(135deg, var(--brand-blue-bright), var(--brand-cyan-bright)) !important;
}

.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle]::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Ccircle cx='9' cy='6' r='2'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Ccircle cx='15' cy='12' r='2'/%3E%3Cline x1='4' y1='18' x2='20' y2='18'/%3E%3Ccircle cx='11' cy='18' r='2'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle]::after {
  background-image: none !important;
}

.iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle] > * {
  opacity: 0 !important;
  pointer-events: none !important;
}

.floatable-wrapper,
.floatable-wrapper:has(.iubenda-tp-btn.iubenda-cs-preferences-link),
.floatable-wrapper .iubenda-tp-btn.iubenda-cs-preferences-link {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

@media (max-width: 767.98px) {
  .iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-nostyle] {
    left: 1rem !important;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}
