/* ==========================================================================
   AIM Design | Stylesheet
   --------------------------------------------------------------------------
   Z-Index-Skala:  1 Hero-Overlays | 5 Leistungs-Vorschau | 40 Fortschritt
                   50 Navigation | 60 Menü | 70 Intro-FX | 80 Seitenübergang
                   90 Körnung (pointer-events: none) | 100 Skip-Link
   Radius-Regel:   Interaktive Elemente = Pille (999px),
                   Kacheln, Formular-Panel & Medien = 20px.
   Theme:          Bewusst nur Dark Mode (Markenfarben Schwarz/Magenta).
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, Fontshare / ITF Free Font License) ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0a1f;
  --bg-2: #110f2a;
  --bg-3: #19163a;
  --line: rgba(244, 241, 248, .12);
  --line-strong: rgba(244, 241, 248, .26);
  --text: #f4f1f8;
  --muted: #aaa5bf;
  --mag: #ff2e93;
  --mag-2: #ff6fb4;
  --orchid: #c422cf;
  --error: #ff8cc0;
  --grad: linear-gradient(100deg, #ff2e93 0%, #c422cf 100%);

  --r-card: 20px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --maxw: 1440px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: dark;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 46, 147, .55) var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--mag); color: var(--bg); }
:focus-visible { outline: 2px solid var(--mag); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--mag); color: var(--bg); font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: var(--r-pill); transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Filmkorn: fixiertes, nicht klickbares Pseudo-Element */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 1.1s steps(6) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Typografie ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 22px;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 16ch;
  text-wrap: balance;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 9.4vw, 156px);
  line-height: .95;
  letter-spacing: -.025em;
}
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 52ch;
  margin-top: 24px;
}
.split-line { padding-bottom: .06em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--h);
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; pointer-events: none; }
.btn__label svg { width: 18px; height: 18px; flex: none; }
.btn__fill {
  position: absolute;
  left: var(--fx, 50%);
  top: var(--fy, 50%);
  width: 320%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .65s var(--ease);
  pointer-events: none;
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translate(-50%, -50%) scale(1); }
.btn--primary { background: var(--mag); color: var(--bg); }
.btn--primary .btn__fill { background: var(--text); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost .btn__fill { background: var(--mag); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); box-shadow: inset 0 0 0 1px var(--mag); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: progress; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(11, 10, 31, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 -1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__mark { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(90deg); }
.nav__word { font-family: var(--font-display); font-size: 19px; font-weight: 400; letter-spacing: .01em; }
.nav__word b { font-weight: 700; letter-spacing: .02em; }
.nav__links { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
  background: var(--mag);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle {
  display: none;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(244, 241, 248, .06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
}

/* Mobiles Menü */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  background: radial-gradient(120% 80% at 100% 100%, rgba(196, 34, 207, .35), transparent 60%), var(--bg);
}
.menu__head { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu__links { display: grid; gap: 4px; margin-top: 8vh; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(44px, 13vw, 76px);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -.02em;
}
.menu__links a:hover, .menu__links a:focus-visible { color: var(--mag); }
.menu__foot { margin-top: auto; color: var(--muted); }

/* ---------- Intro-FX ---------- */
.fx { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.fx__h, .fx__v { position: absolute; left: 0; top: 0; background: var(--mag); opacity: 0; }
.fx__h { width: 100%; height: 1px; }
.fx__v { width: 1px; height: 100%; }
.fx__label {
  position: absolute; left: 0; top: 0;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mag); white-space: nowrap; opacity: 0;
}
.skip-intro {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 71;
  display: none;
  padding: 10px 18px;
  border: 0; border-radius: var(--r-pill);
  background: rgba(244, 241, 248, .06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
  cursor: pointer;
}
.skip-intro:hover { color: var(--text); }
html.intro-running .skip-intro { display: block; }

/* Vor dem Intro alles Relevante verbergen (nur mit JS, nur ohne Reduced Motion) */
html.intro .hero__stage,
html.intro .hero__foot,
html.intro .nav { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + clamp(16px, 5vh, 64px)) 0 clamp(28px, 5vh, 56px);
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 65% at 95% 105%, rgba(196, 34, 207, .38), transparent 70%),
    radial-gradient(35% 45% at 82% 95%, rgba(255, 46, 147, .22), transparent 70%),
    var(--bg);
}
.hero__stage { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__lockup {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 2.6vw, 44px);
}
.hero__title { font-size: inherit; flex: none; width: 62%; }
.logo { width: 100%; height: auto; overflow: visible; }
/* Glow liegt über dem weißen Bein: "screen" lässt Weiß weiß und bringt nur das Dunkle zum Leuchten */
#lg-blade-glow { mix-blend-mode: screen; pointer-events: none; }

/* "Im Visier": wechselnde Ziele mit Erfassungs-Klammern, auf AIM-Grundlinie */
.lockon {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1vw, 14px);
  /* Untere Klammern bündig mit AIM-Unterkante: Logo-Breite (62%) × Abstand AIM→SVG-Unterkante (35.5) / viewBox-Breite (642) */
  margin-bottom: calc(62% * 35.5 / 642);
}
.lockon__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(11px, .95vw, 14px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.lockon__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mag);
  box-shadow: 0 0 0 0 rgba(255, 46, 147, .6);
}
@media (prefers-reduced-motion: no-preference) {
  .lockon__dot { animation: lock-pulse 1.8s var(--ease) infinite; }
}
@keyframes lock-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 147, .6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 46, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
}
.lockon__box {
  position: relative;
  display: inline-block;
  padding: 0 .32em;
  margin-left: -.32em;
}
.lockon__word {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 58px);
  line-height: 1;
  /* Optisch mittig in den Klammern: gleicht aus, dass Clash Display unter der Grundlinie mehr Raum hat als über den Versalien */
  padding: .067em 0 .033em;
  letter-spacing: -.01em;
  color: var(--mag);
  white-space: nowrap;
}
.lockon__box i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--text); }
.lockon__box i:nth-of-type(1) { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.lockon__box i:nth-of-type(2) { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.lockon__box i:nth-of-type(3) { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.lockon__box i:nth-of-type(4) { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }
@media (max-width: 700px) {
  /* Reihenfolge auf dem Handy: Logo, Claim, dann Zielerfassung */
  .hero__lockup { display: contents; }
  .hero__title { width: 100%; order: 1; }
  .lockon { order: 3; flex: none; margin: 30px 0 0; }
  .lockon__word { font-size: clamp(30px, 9vw, 44px); }
}
/* Claim im Logo-SVG: bündig von der linken A-Kante bis zum rechten M-Strich */
.logo__tagline {
  font-family: var(--font-body);
  font-size: 14.5px; /* SVG-Einheiten, skaliert mit dem Logo */
  font-weight: 500;
  fill: var(--text);
}

/* Radar-Puls: zwei hauchdünne Ringe aus der Mitte des Fadenkreuzes */
.hero__title { position: relative; }
.hero__ping { position: absolute; left: 17.523%; top: var(--ping-top, 51.56%); width: 0; height: 0; pointer-events: none; }
.hero__ping i {
  position: absolute; left: 0; top: 0;
  width: 26vw; height: 26vw; margin: -13vw 0 0 -13vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 46, 147, .55);
  opacity: 0;
  transform: scale(.25);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.intro):not(.intro-running) .hero__ping i { animation: hero-ping 6s cubic-bezier(.2, .6, .3, 1) infinite; }
  html:not(.intro):not(.intro-running) .hero__ping i:nth-child(2) { animation-delay: 3s; }
}
@keyframes hero-ping {
  0% { transform: scale(.25); opacity: 0; }
  10% { opacity: .5; }
  100% { transform: scale(2.6); opacity: 0; }
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 40px;
}
.hero__sub { max-width: 40ch; color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Visier im Hero (nur feine Zeiger) */
.reticle { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; }
.hero.is-aiming .reticle { opacity: 1; }
.reticle__h, .reticle__v { position: absolute; left: 0; top: 0; }
.reticle__h { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 46, 147, .38) 18%, rgba(255, 46, 147, .38) 82%, transparent); }
.reticle__v { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(255, 46, 147, .38) 18%, rgba(255, 46, 147, .38) 82%, transparent); }
.reticle__box { position: absolute; left: 0; top: 0; width: 46px; height: 46px; }
.reticle__box i { position: absolute; width: 11px; height: 11px; border: 0 solid var(--mag); }
.reticle__box i:nth-child(1) { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.reticle__box i:nth-child(2) { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.reticle__box i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.reticle__box i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }
.reticle__read {
  position: absolute; left: 0; top: 0;
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  color: var(--mag);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Marquee ---------- */
.marquee {
  padding: clamp(9px, 1vw, 14px) 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 15, 42, 0), rgba(17, 15, 42, .6));
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
/* ".marquee" davor, damit der Reset "ul[class] { padding: 0 }" das Padding nicht schluckt (sonst klebt die letzte Passermarke am ersten Wort) */
.marquee .marquee__list { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); padding-right: clamp(10px, 1.2vw, 20px); }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2.3vw, 35px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  white-space: nowrap;
}
/* Dünner Schnitt in Magenta statt Kontur (Konturen zeigen bei Variable Fonts innere Überlappungen) */
.marquee__item--thin { font-weight: 300; color: var(--mag); letter-spacing: 0; }
.marquee__sep { flex: none; }
.marquee__sep svg { width: clamp(11px, 1.3vw, 19px); height: clamp(11px, 1.3vw, 19px); }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee .marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee__list[aria-hidden="true"] { display: none; }
}

/* ---------- Manifest ---------- */
.manifest { --manifest-pad: clamp(96px, 15vw, 210px); position: relative; padding: var(--manifest-pad) 0; overflow: hidden; isolation: isolate; }
.manifest__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Punktraster, das nur rund um den Mauszeiger aufleuchtet */
.manifest__dots {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 1.5px 1.5px, rgba(255, 46, 147, .75) 1.3px, transparent 1.8px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, -500px) var(--my, -500px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
  mask-image: radial-gradient(240px circle at var(--mx, -500px) var(--my, -500px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
}
/* Magenta-Keil im Winkel der A-Klinge, das Auge sitzt darauf. Genau so hoch wie der Manifest-Text */
.manifest__slab {
  position: absolute; top: var(--manifest-pad); bottom: var(--manifest-pad); right: 0;
  width: 52%;
  background:
    radial-gradient(70% 60% at 70% 40%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(150deg, #ff3d9c 0%, #ff2e93 30%, #d61f9e 62%, #9c19b8 100%);
  clip-path: polygon(36% 9%, 100% 0, 100% 91%, 6% 100%);
  overflow: hidden;
}
.manifest__slab-lines {
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(118deg, rgba(11, 10, 31, .1) 0 1px, transparent 1px 26px);
}
.manifest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
}
.manifest__visual { position: relative; display: grid; place-items: center; }
.manifest__ring {
  position: absolute; left: 50%; top: 50%;
  width: 110%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 10, 31, .5);
  transform: translate(-50%, -50%) scale(.55);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .manifest__ring { animation: ring-ping 4.8s cubic-bezier(.2, .6, .3, 1) infinite; }
  .manifest__ring:nth-child(2) { animation-delay: 1.6s; }
  .manifest__ring:nth-child(3) { animation-delay: 3.2s; }
}
@keyframes ring-ping {
  0% { transform: translate(-50%, -50%) scale(.55); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
}
.manifest.is-hit .manifest__ring { border-color: rgba(255, 255, 255, .7); }
.manifest__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.1vw, 66px);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.manifest__text em { font-style: normal; color: var(--mag); }
.manifest__eye {
  position: relative;
  width: 100%; max-width: 440px;
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
[tabindex="-1"]:focus { outline: none; }
.eye { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 60px rgba(40, 6, 60, .45)); }
.eye__dilate { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .6s var(--ease); }
.manifest__eye:hover .eye__dilate { transform: scale(.8); }
@media (max-width: 860px) {
  .manifest__grid { grid-template-columns: 1fr; }
  .manifest__visual { order: -1; justify-self: start; width: min(100%, 320px); margin-bottom: 12px; }
  .manifest__slab { width: 100%; height: 52%; top: 0; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%); }
}

/* ---------- Leistungen (Dropdown) ---------- */
.services { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 4.5vw, 72px); }
/* Abschnitts-Überschrift bewusst kleiner als die Disziplinen, damit beides nicht verschwimmt */
/* Gleiche Größe wie alle Abschnittsüberschriften (.h-section), nur breiter laufend */
.h-section--intro { line-height: 1.08; max-width: none; }
.h-section--intro em { font-style: normal; color: var(--mag); }
.lead--intro { margin-top: 14px; font-size: clamp(16px, 1.15vw, 18px); }
.svc-list { margin-top: clamp(48px, 6.5vw, 96px); border-top: 1px solid var(--line-strong); }
.svc { position: relative; border-bottom: 1px solid var(--line); }
.svc::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease);
}
.svc:hover::after, .svc.is-open::after { transform: scaleX(1); }
.svc__head { font-size: inherit; }
.svc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(16px, 1.9vw, 26px) 0;
  border: 0; background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 4.05vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.svc__btn:focus-visible { outline-offset: -2px; }
.svc__roll { position: relative; display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.svc__roll > span { display: block; transition: transform .7s var(--ease); }
.svc__roll > span + span { position: absolute; left: 0; top: 100%; color: var(--mag); }
@media (hover: hover) {
  .svc__btn:hover .svc__roll > span { transform: translateY(-100%); }
}
.svc.is-open .svc__roll > span:first-child { color: var(--mag); }
.svc__icon {
  flex: none;
  display: grid; place-items: center;
  width: clamp(40px, 3.4vw, 52px); aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .7s var(--ease), box-shadow .45s;
}
.svc__icon svg { width: 38%; height: 38%; }
.svc__btn:hover .svc__icon { box-shadow: inset 0 0 0 1px var(--mag); }
.svc.is-open .svc__icon { background: var(--mag); color: var(--bg); box-shadow: none; transform: rotate(135deg); }

/* Auf- und Zuklappen ohne Höhenmessung: 0fr -> 1fr */
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--ease); }
.svc.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .75s; }
.svc.is-open .svc__inner { visibility: visible; transition-delay: 0s; }
.svc__content {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 4px 0 clamp(28px, 3.4vw, 48px);
}
.svc__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-3);
}
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(200deg, transparent 55%, rgba(255, 46, 147, .22));
}
.svc__desc { color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; max-width: 44ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc__tags li {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
}
@media (max-width: 860px) {
  .svc__content { grid-template-columns: 1fr; gap: 20px; }
  .svc__media { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .svc__panel, .svc__inner { transition: none; }
}

/* ---------- Vorgehen ---------- */
.process { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.process__pin {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 8px) 0 clamp(32px, 5vh, 56px);
}
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.scope { position: relative; width: min(100%, 66vh); aspect-ratio: 1; margin-inline: auto; }
.scope__img { position: absolute; inset: 8.5%; border-radius: 50%; overflow: hidden; background: var(--bg-3); }
.scope__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.scope__sharp { transform: scale(1.12); }
.scope__blur { filter: blur(20px) saturate(1.3); transform: scale(1.25); }
.scope__reticle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scope__read {
  position: absolute; right: 0; bottom: 4%;
  display: flex; align-items: baseline; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.scope__read strong {
  font-family: var(--font-display); font-weight: 500; font-size: 32px; letter-spacing: 0;
  color: var(--text); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right;
}
.scope__label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 52px);
  color: var(--text);
  text-shadow: 0 0 40px rgba(255, 46, 147, .8);
  opacity: 0;
  pointer-events: none;
}
.steps { display: grid; gap: clamp(22px, 3vh, 34px); margin-top: clamp(32px, 5vh, 56px); }
.step { position: relative; padding-left: 26px; opacity: .32; transition: opacity .6s var(--ease); }
.step::before {
  content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px;
  background: var(--mag);
  transform: scaleY(0); transform-origin: top;
  transition: transform .7s var(--ease);
}
.step.is-active { opacity: 1; }
.step.is-active::before { transform: scaleY(1); }
.step h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 46px); line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); max-width: 44ch; }
@media (max-width: 860px) {
  .process__pin { min-height: 0; padding: clamp(48px, 10vw, 72px) 0; }
  .process__grid { grid-template-columns: 1fr; gap: 28px; }
  .scope { width: min(76%, 300px); }
  .scope__read strong { font-size: 24px; }
  .steps { gap: 18px; margin-top: 24px; }
  .step h3 { font-size: 26px; margin-bottom: 4px; }
  .step { opacity: 1; }
  .step::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .scope__blur { display: none; }
  .step { opacity: 1; }
  .step::before { transform: scaleY(1); }
}

/* ---------- Arbeiten / Bento ---------- */
.work { padding: clamp(48px, 5vw, 88px) 0 clamp(80px, 10vw, 140px); }
/* Kopf von "Was machbar ist" als dezenter Kasten mit dünner Magenta-Kontur */
.work__head {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end;
  gap: clamp(16px, 4vw, 64px);
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3.2vw, 44px);
  border: 1px solid rgba(255, 46, 147, .42);
  border-radius: var(--r-card);
  background: linear-gradient(120deg, rgba(255, 46, 147, .07), rgba(196, 34, 207, .02) 55%, transparent);
}
.work__head .h-section { max-width: none; }
.work__head .lead { margin: 0; max-width: 52ch; }
.work__tag {
  position: absolute; top: -10px; left: clamp(22px, 3.2vw, 44px);
  padding: 0 10px; background: var(--bg);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mag);
}
@media (max-width: 760px) {
  .work__head { grid-template-columns: 1fr; gap: 12px; }
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(230px, 20vw, 320px);
  gap: 16px;
  margin-top: clamp(24px, 3vw, 40px);
}
.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-card);
  background: var(--bg-2);
  transform-style: preserve-3d;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line);
}
.tile[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 46, 147, .22), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.tile[data-spotlight]:hover::before { opacity: 1; }
/* Raster: großes Projekt links, zwei Projekte im Querformat rechts, darunter Zähler + Spiel */
.tile--a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.tile--b { grid-column: 3 / span 2; grid-row: 1; }
.tile--d { grid-column: 3 / span 2; grid-row: 2; }
.tile--c { grid-column: 1; grid-row: 3; }
.tile--e { grid-column: 2 / -1; grid-row: 3; }
a.tile { display: block; color: inherit; text-decoration: none; }
a.tile:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
/* Screenshots: oberen Bildteil zeigen, damit Überschrift und Navigation der Seite sichtbar bleiben */
.tile__media--shot img { object-position: 0% 0%; }
.tile--a .tile__media--shot img { object-position: 12% 30%; }
.tile__media { position: absolute; inset: 0; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 10, 31, .94) 0%, rgba(11, 10, 31, .45) 38%, rgba(11, 10, 31, 0) 68%);
}
/* Projekt-Screenshots haben selbst große Schrift: unten kräftiger abdunkeln, damit die Beschriftung lesbar bleibt */
.tile__media--shot::after {
  background: linear-gradient(to top, rgba(11, 10, 31, .97) 0%, rgba(11, 10, 31, .86) 34%, rgba(11, 10, 31, .35) 60%, rgba(11, 10, 31, 0) 80%);
}
.tile:has(.tile__media--shot) .tile__body { text-shadow: 0 1px 12px rgba(11, 10, 31, .8); }
.tile__media--soft img { opacity: .55; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: clamp(20px, 2.2vw, 32px); }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.08; margin-bottom: 8px; text-wrap: balance; }
.tile__body p { color: rgba(244, 241, 248, .82); font-size: 15px; max-width: 40ch; }
.tile--count .tile__body { top: 0; display: flex; flex-direction: column; justify-content: space-between; }
.tile__body .count {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(56px, 6vw, 104px); line-height: 1;
  color: var(--mag);
  font-variant-numeric: tabular-nums;
}
.count__label { font-size: clamp(18px, 1.35vw, 22px) !important; max-width: 16ch; }

/* Glitch-Kachel */
.glitch { opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.glitch--1 { filter: sepia(1) saturate(8) hue-rotate(290deg); }
.glitch--2 { filter: sepia(1) saturate(8) hue-rotate(150deg); }
@media (prefers-reduced-motion: no-preference) {
  .tile[data-glitch]:hover .glitch--1 { animation: glitch-a .5s steps(2) 1 both; }
  .tile[data-glitch]:hover .glitch--2 { animation: glitch-b .5s steps(2) 1 both; }
}
@keyframes glitch-a {
  0% { opacity: .75; transform: translate(-8px, 2px); clip-path: inset(10% 0 55% 0); }
  25% { opacity: .75; transform: translate(6px, -3px); clip-path: inset(60% 0 12% 0); }
  50% { opacity: .75; transform: translate(-4px, 0); clip-path: inset(30% 0 40% 0); }
  75% { opacity: .6; transform: translate(3px, 1px); clip-path: inset(75% 0 5% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
@keyframes glitch-b {
  0% { opacity: .7; transform: translate(7px, -2px); clip-path: inset(50% 0 20% 0); }
  25% { opacity: .7; transform: translate(-6px, 2px); clip-path: inset(5% 0 70% 0); }
  50% { opacity: .7; transform: translate(4px, 1px); clip-path: inset(40% 0 30% 0); }
  75% { opacity: .5; transform: translate(-2px, -1px); clip-path: inset(15% 0 60% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}

/* Zielübung */
.game {
  background:
    radial-gradient(circle at 1px 1px, rgba(244, 241, 248, .09) 1px, transparent 1.5px) 0 0 / 26px 26px,
    radial-gradient(80% 120% at 100% 100%, rgba(196, 34, 207, .28), transparent 60%),
    var(--bg-2);
  min-height: 300px;
}
.game__field { position: absolute; inset: 0; z-index: 2; }
.game__deco {
  position: absolute; right: clamp(-60px, -3vw, -20px); top: 50%; z-index: 1;
  width: clamp(240px, 30vw, 440px); height: auto; aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: .16;
  pointer-events: none;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.game:hover .game__deco { opacity: .26; transform: translateY(-50%) rotate(45deg); }
.game.is-playing .game__deco { opacity: .05; }
.game__score strong { margin-right: .18em; }
.game__intro, .game__result {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 4;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: clamp(24px, 3vw, 44px);
  max-width: 560px;
}
.game__intro h3, .game__score { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 3.6vw, 58px); line-height: 1; margin: 0; }
.game__intro p, .game__msg { color: var(--muted); max-width: 36ch; }
.game__score strong { color: var(--mag); font-variant-numeric: tabular-nums; }
.game__hud {
  position: absolute; right: clamp(20px, 2.4vw, 32px); top: clamp(18px, 2vw, 28px); z-index: 4;
  display: flex; gap: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity .4s;
}
.game__hud strong { font-family: var(--font-display); font-size: 22px; letter-spacing: 0; color: var(--text); margin-left: 6px; font-variant-numeric: tabular-nums; }
.game.is-playing .game__hud { opacity: 1; }
.game.is-playing .game__intro { visibility: hidden; }
.target {
  position: absolute;
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 46, 147, .08);
  cursor: pointer;
  touch-action: manipulation;
}
.target svg { width: 100%; height: 100%; pointer-events: none; }
.target:focus-visible { outline-offset: 2px; }
.pop {
  position: absolute; z-index: 5; pointer-events: none;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--mag);
  transform: translate(-50%, -50%);
}
.spark { position: absolute; z-index: 5; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--mag); pointer-events: none; }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 34vw, 320px); }
  .tile--a { grid-column: 1 / -1; grid-row: 1; min-height: 360px; }
  .tile--b { grid-column: 1; grid-row: 2; }
  .tile--d { grid-column: 2; grid-row: 2; }
  .tile--c { grid-column: 1 / -1; grid-row: 3; }
  .tile--e { grid-column: 1 / -1; grid-row: 4; min-height: 340px; }
}
@media (max-width: 640px) {
  /* Kompaktes Handy-Raster: großes Bild, zwei kleine nebeneinander, Zähler als flache Zeile, Spiel */
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 12px; margin-top: 32px; }
  .tile--a { grid-column: 1 / -1; grid-row: 1; }
  .tile--b { grid-column: 1; grid-row: 2; }
  .tile--d { grid-column: 2; grid-row: 2; }
  .tile--c { grid-column: 1 / -1; grid-row: 3; }
  .tile--e { grid-column: 1 / -1; grid-row: 4; }
  .tile--a { min-height: 250px; }
  .tile--a .tile__media--shot img { object-position: 0% 0%; }
  .tile--b, .tile--d { min-height: 220px; }
  .tile--b .tile__body p, .tile--d .tile__body p { display: none; }
  .tile--b h3, .tile--d h3 { font-size: 19px; margin-bottom: 0; }
  .tile--b .tile__body, .tile--d .tile__body { padding: 16px; }
  .tile--c { min-height: 0; }
  .tile--count .tile__body { position: relative; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 18px 20px; }
  .tile__body .count { font-size: 48px; }
  .count__label { font-size: 16px !important; max-width: none; margin: 0; }
  .tile--e { min-height: 360px; }
  .game__intro, .game__result { max-width: none; }
}

/* ---------- FAQ / Standort ---------- */
.faq { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 1.5vw, 23px); line-height: 1.2;
  cursor: pointer; list-style: none;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.faq__item summary:hover, .faq__item[open] summary { color: var(--mag); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item p { color: var(--muted); max-width: 56ch; padding: 0 0 22px; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; gap: 24px; }
}

.lead a { color: var(--text); text-decoration-color: var(--mag); text-decoration-thickness: 1.5px; transition: color .3s; }
.lead a:hover { color: var(--mag); }

/* ---------- Regionalseiten ---------- */
.landing { padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 9vw, 120px); }
.landing__hero { display: grid; gap: 22px; justify-items: start; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--mag); }
.landing__h1 { max-width: 18ch; }
.landing__h1 em { font-style: normal; color: var(--mag); }
.landing__hero .lead { margin-top: 0; }
.landing__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(64px, 9vw, 128px);
  align-items: start;
}
.landing h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 18px; text-wrap: balance;
}
.landing__text p { color: rgba(244, 241, 248, .82); max-width: 60ch; }
.landing__text p + p { margin-top: 14px; }
.landing__list { border-top: 1px solid var(--line-strong); }
.landing__list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.landing__list h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin-bottom: 4px; }
.landing__list p { color: var(--muted); }
.landing__more { margin-top: 18px; }
.landing__more a { color: var(--mag); font-weight: 600; }
.landing__faq { margin-top: clamp(64px, 9vw, 128px); max-width: 900px; margin-inline: auto; }
@media (max-width: 860px) {
  .landing__grid { grid-template-columns: 1fr; }
}

/* ---------- Projektseite ---------- */
.projects__list { display: grid; gap: clamp(64px, 9vw, 130px); margin-top: clamp(56px, 8vw, 110px); }
.project { scroll-margin-top: calc(var(--nav-h) + 24px); }
.project__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--line), 0 50px 120px -50px rgba(196, 34, 207, .45);
}
.project__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.project__info {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 5vw, 80px);
  margin-top: clamp(22px, 3vw, 40px);
  align-items: start;
}
.project__kind { font-size: 14px; font-weight: 600; color: var(--mag); margin-bottom: 8px; }
.project h2 { font-size: clamp(30px, 3.6vw, 56px); margin-bottom: 0; }
.project__text { color: rgba(244, 241, 248, .82); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 56ch; }
.project__demo { margin-top: 26px; }
.projects__cta { display: grid; gap: 28px; justify-items: start; margin-top: clamp(72px, 10vw, 140px); }
@media (max-width: 860px) {
  .project__info { grid-template-columns: 1fr; gap: 14px; }
}

/* Regionen-Leiste im Footer */

/* ---------- Kontakt ---------- */
.contact { position: relative; padding: clamp(96px, 13vw, 190px) 0 clamp(80px, 10vw, 140px); overflow: hidden; isolation: isolate; }
.contact__bg {
  position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
  mask-image: linear-gradient(to bottom, transparent, #000 55%);
}
.contact__bg img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 100%; opacity: .6; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.contact__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__direct { display: grid; gap: 10px; margin-top: 40px; }
.contact__direct a {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--mag), var(--mag)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
  padding-bottom: 2px;
}
.contact__direct a:hover { background-size: 100% 1.5px; color: var(--mag); }
.contact__direct svg { width: 22px; height: 22px; color: var(--mag); }

.form {
  display: grid; gap: 26px;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-card);
  background: rgba(17, 15, 42, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgba(196, 34, 207, .35);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .fieldset legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0; border-radius: 0;
  border-bottom: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: inherit; font-size: 17px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mag); box-shadow: 0 1.5px 0 var(--mag); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--error); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 18px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s, box-shadow .3s;
  white-space: nowrap;
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--mag); }
.chip input:checked + span { background: var(--mag); color: var(--bg); box-shadow: none; font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--mag); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14px; font-weight: 400 !important; color: var(--muted) !important; line-height: 1.5; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box {
  width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: transparent;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.check__box svg { width: 16px; height: 16px; }
.check input:checked + .check__box { background: var(--mag); color: var(--bg); box-shadow: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--mag); outline-offset: 3px; }
.check a { color: var(--text); }
.field--check.has-error .check__box { box-shadow: inset 0 0 0 1.5px var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.form__note { font-size: 14px; color: var(--muted); }
.form__summary {
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 140, 192, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 192, .4);
  color: var(--text); font-size: 15px;
}
.form__summary ul { margin: 8px 0 0; padding-left: 18px; }
.form__summary a { color: var(--error); }
.form__status:empty { display: none; }
.form__status { font-size: 15px; color: var(--muted); }
.form__status.is-error { color: var(--error); }
.form__success { display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.form__success .ok {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mag); color: var(--bg);
}
.form__success .ok svg { width: 30px; height: 30px; }
.form__success h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; }
.form__success p { color: var(--muted); }
@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.footer__claim { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.1; }
.footer__claim span { color: var(--mag); }
.footer__label { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 8px; list-style: none; padding: 0; }
.footer__col a {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 500; font-size: 17px;
  transition: color .3s;
}
.footer__col a:hover { color: var(--mag); }
.footer__col svg { width: 20px; height: 20px; }
.soon {
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--mag); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  opacity: 0; transform: translateX(-6px) scale(.9);
  transition: opacity .25s, transform .35s cubic-bezier(.2, 1.4, .4, 1);
  pointer-events: none;
}
.soon.is-on { opacity: 1; transform: none; }
.footer__word { width: 100%; height: auto; margin-top: clamp(56px, 8vw, 120px); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 28px; font-size: 14px; color: var(--muted);
}
@media (max-width: 760px) {
  /* Straffere Abstände zwischen den Abschnitten auf dem Handy */
  .manifest { padding: 56px 0 72px; }
  .services { padding: 24px 0 64px; }
  .work { padding: 64px 0 40px; }
  .contact { padding: 56px 0 64px; }
  /* Größere Tippflächen für Links auf dem Handy */
  .footer__col a, .contact__direct a { min-height: 44px; }
  .footer__col ul { gap: 0; }
  .contact__direct { gap: 2px; }
  .footer { padding-bottom: 96px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__claim { grid-column: 1 / -1; }
}

/* ---------- Fortschrittsring ---------- */
.progress {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 40;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(17, 15, 42, .75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.progress.is-visible { opacity: 1; visibility: visible; transform: none; }
.progress__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.progress__track { fill: none; stroke: rgba(244, 241, 248, .1); stroke-width: 2; }
.progress__bar { fill: none; stroke: var(--mag); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.progress__icon { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.progress:hover .progress__icon { transform: translateY(-3px); }

/* ---------- Seitenübergang ---------- */
.pt {
  position: fixed; left: 50%; top: 50%; z-index: 80;
  width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax;
  background: var(--mag);
  pointer-events: none;
  transform: rotate(28deg) translate(100%, 0);
  visibility: hidden;
}
html.pt-enter .pt { visibility: visible; transform: rotate(28deg); }

/* ---------- Easter Egg: Salve ---------- */
.volley { position: fixed; inset: 0; z-index: 72; pointer-events: none; }
.volley__mark { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.volley__text {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 8vw, 120px);
  color: var(--mag); white-space: nowrap; text-shadow: 0 0 60px rgba(255, 46, 147, .7);
}

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); }
.legal__wrap { max-width: 860px; }
.legal h1 { margin-bottom: clamp(32px, 5vw, 56px); }
.legal h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15;
  margin: clamp(40px, 5vw, 56px) 0 14px;
}
.legal h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.legal p, .legal li { color: rgba(244, 241, 248, .82); max-width: 70ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.legal a { color: var(--mag); }
.legal address { font-style: normal; color: rgba(244, 241, 248, .82); line-height: 1.7; }
.legal .note {
  margin-top: 16px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 46, 147, .08); box-shadow: inset 0 0 0 1px rgba(255, 46, 147, .3);
  font-size: 15px;
}
.ph { color: var(--mag); border-bottom: 1px dashed rgba(255, 46, 147, .6); }
.legal-back { display: inline-flex; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- 404 ---------- */
.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: left; padding: var(--nav-h) var(--gutter) 40px; }
.notfound__inner { display: grid; gap: 24px; justify-items: start; max-width: 720px; }
.notfound__mark { width: clamp(90px, 14vw, 150px); height: auto; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
