/* ============================================================
   RufKi Flagship — app.css
   "Living Blueprint" · EIN Akzent: Teal · kein Glow, kein Lenis
   Reines CSS, kein Build. Self-hosted Fonts (DSGVO).
   ============================================================ */

@view-transition {
  navigation: auto;
}

/* ---------- Fonts (variabel, self-hosted, wght-only) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================ TOKENS
   „Violett-Nachthimmel" 2026-07-03 — Quelle: design.md (Hamada-Vorgabe FIX) */
:root {
  --abyss: #000000;
  --night: #060912;
  --surface: #0c0f1d;
  --raised: #141329;
  --line: #1e1b38;
  --line-strong: #2f2a55;
  --text: #f2f0fa;
  --muted: #9aa0b8;
  --faint: #7d82a0; /* AA-geprüft: ≥4,5:1 auf #060912 und #141329 */
  --violet: #8a29e2;
  --violet-bright: #a855f7;
  --violet-deep: #532ea3;
  --violet-soft: #c084fc;
  --blue-violet: #4f46e5;
  --magenta: #d946ef;
  --grad: linear-gradient(135deg, #4f46e5 0%, #8a29e2 55%, #d946ef 100%);
  --glow-violet: 0 0 24px rgba(138, 41, 226, 0.35);
  --glow-violet-strong:
    0 0 18px rgba(138, 41, 226, 0.45), 0 0 60px rgba(138, 41, 226, 0.2);
  /* dunkle „Ton-Wechsel"-Fläche (ersetzt die frühere helle Bone-Sektion — Dark only) */
  --bone: rgba(20, 19, 41, 0.55);
  --bone-deep: rgba(12, 10, 30, 0.65);
  --ink-on-bone: #f2f0fa;

  --fs-spec: clamp(0.66rem, 0.63rem + 0.13vw, 0.74rem);
  --fs-eyebrow: clamp(0.72rem, 0.7rem + 0.09vw, 0.78rem);
  --fs-body: clamp(1rem, 0.96rem + 0.19vw, 1.125rem);
  --fs-lead: clamp(1.15rem, 1.04rem + 0.47vw, 1.45rem);
  --fs-h4: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-h3: clamp(1.4rem, 1.18rem + 0.94vw, 2.05rem);
  --fs-h2: clamp(2rem, 1.46rem + 2.3vw, 3.6rem);
  --fs-statement: clamp(2.2rem, 1.1rem + 4.6vw, 5.6rem);
  --fs-price: clamp(1.5rem, 1.18rem + 1.5vw, 2.6rem);
  --fs-display: clamp(2.9rem, 1.1rem + 7.4vw, 8.6rem);
  --fs-count: clamp(3rem, 1.8rem + 5vw, 6rem);

  --space-2xs: clamp(0.5rem, 0.46rem + 0.19vw, 0.625rem);
  --space-xs: clamp(0.75rem, 0.68rem + 0.28vw, 0.95rem);
  --space-s: clamp(1rem, 0.9rem + 0.45vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.3rem + 0.85vw, 2rem);
  --space-l: clamp(2.5rem, 2.1rem + 1.7vw, 3.5rem);
  --space-xl: clamp(4rem, 3.1rem + 3.8vw, 6.5rem);
  --space-2xl: clamp(6rem, 4.6rem + 6vw, 11rem);

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --r-chip: 6px;
  --r-inner: 10px;
  --r-frame: 14px;
  --r-pill: 999px;

  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-micro: cubic-bezier(0.34, 1.56, 0.64, 1);

  --d-hover: 180ms;
  --d-ui: 240ms;
  color-scheme: dark;
}

/* ============================================================ RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--night);
  color: var(--text);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
}
body.is-locked {
  overflow: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ol,
ul {
  list-style: none;
  padding: 0;
}
::selection {
  background: var(--violet);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================ ATMOSPHÄRE */
/* Sternenhimmel — site-weit HINTER dem Content (js/stars.js zeichnet).
   Der Canvas trägt den Basis-Verlauf Near-Black→Black; Sektionen darüber
   sind transparent/transluzent, damit die Sterne durchscheinen. */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, #060912 0%, #03040c 55%, #000 100%);
}
main,
.footer,
.nav,
.menu {
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 88;
  pointer-events: none;
  background: radial-gradient(
    125% 95% at 50% 18%,
    transparent 55%,
    rgba(2, 4, 9, 0.5) 100%
  );
}
.ticks {
  position: fixed;
  inset: 0;
  z-index: 91;
  pointer-events: none;
  opacity: 0.5;
}
.ticks span {
  position: absolute;
  width: 14px;
  height: 14px;
}
.ticks span::before,
.ticks span::after {
  content: "";
  position: absolute;
  background: var(--faint);
}
.ticks span::before {
  width: 14px;
  height: 1px;
  top: 0;
}
.ticks span::after {
  width: 1px;
  height: 14px;
  left: 0;
}
.ticks .tl {
  top: 18px;
  left: 18px;
}
.ticks .tr {
  top: 18px;
  right: 18px;
  transform: scaleX(-1);
}
.ticks .bl {
  bottom: 18px;
  left: 18px;
  transform: scaleY(-1);
}
.ticks .br {
  bottom: 18px;
  right: 18px;
  transform: scale(-1);
}

/* Spine: fixe Teal-Linie (DrawSVG) + wandernder Knoten */
.spine {
  position: fixed;
  top: 0;
  left: max(14px, 2.2vw);
  width: 2px;
  height: 100svh;
  z-index: 40;
  pointer-events: none;
}
.spine__line {
  stroke: var(--violet);
  stroke-width: 2;
  opacity: 0.45;
}
.spine__node {
  position: fixed;
  top: 0;
  left: calc(max(14px, 2.2vw) - 3px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  z-index: 41;
  pointer-events: none;
  transform: translateY(-20px);
  opacity: 0;
}
@media (max-width: 600px) {
  .spine,
  .spine__node {
    left: 8px;
  }
  .ticks {
    display: none;
  }
}

/* ============================================================ PRIMITIVES */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: var(--space-2xl);
}
.eyebrow {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.8em;
  height: 1px;
  background: var(--violet);
  opacity: 0.85;
}
.spec {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-spec);
  letter-spacing: 0.06em;
  color: var(--faint);
  text-transform: uppercase;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}
p {
  max-width: 64ch;
}

/* ============================================================ BUTTONS */
.btn {
  --btn-bg: var(--violet);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.55rem 0.7rem 0.55rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform var(--d-hover) var(--ease-entrance),
    background-color var(--d-hover) var(--ease-entrance),
    box-shadow var(--d-hover) var(--ease-entrance);
}
.btn--primary {
  box-shadow: var(--glow-violet);
}
.btn__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: rgba(4, 6, 13, 0.16);
  display: grid;
  place-items: center;
  flex: none;
  transition:
    transform var(--d-hover) var(--ease-entrance),
    background-color var(--d-hover) var(--ease-entrance);
}
.btn__icon svg {
  width: 15px;
  height: 15px;
}
.btn:active {
  transform: scale(0.97);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--line-strong);
}
.btn--ghost .btn__icon {
  background: rgba(234, 241, 244, 0.06);
}
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--violet-soft);
  letter-spacing: -0.01em;
  transition: gap var(--d-hover) var(--ease-entrance);
}
.tlink svg {
  width: 14px;
  height: 14px;
  transition: transform var(--d-hover) var(--ease-entrance);
}
@media (hover: hover) {
  .btn--primary:hover {
    background: var(--violet-bright);
    box-shadow: var(--glow-violet-strong);
  }
  .btn--primary:hover .btn__icon {
    transform: translate(2px, -1px);
    background: rgba(4, 6, 13, 0.26);
  }
  .btn--ghost:hover {
    border-color: var(--violet-soft);
    background: rgba(138, 41, 226, 0.1);
  }
  .btn--ghost:hover .btn__icon {
    transform: translate(2px, -1px);
  }
  .tlink:hover {
    gap: 0.8rem;
  }
  .tlink:hover svg {
    transform: translate(2px, -2px);
  }
}

/* ============================================================ NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding-top: clamp(0.7rem, 1.6vw, 1.1rem);
  padding-inline: var(--gutter);
  transition: transform var(--d-ui) var(--ease-entrance);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: var(--space-s);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition:
    background-color var(--d-ui) var(--ease-entrance),
    border-color var(--d-ui) var(--ease-entrance);
}
.nav.is-scrolled .nav__inner {
  background: rgba(6, 9, 18, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  margin-right: auto;
}
.brand__mark {
  height: 28px;
  width: auto;
  flex: none;
  display: block;
}
.brand__bar {
  fill: var(--line-strong);
}
.brand__bar--lit {
  fill: var(--violet);
}
.brand__line {
  stroke: var(--violet);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.brand__word {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.1vw, 1.05rem);
}
.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.2rem;
  transition: color var(--d-hover) var(--ease-entrance);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--violet);
  transition: right var(--d-ui) var(--ease-entrance);
}
.nav__link:hover {
  color: var(--text);
}
.nav__link.is-active {
  color: var(--text);
}
.nav__link.is-active::after {
  right: 0;
}
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.nav__lang-link {
  color: var(--faint);
  transition: color var(--d-ui) var(--ease-entrance);
}
.nav__lang-link:hover {
  color: var(--text);
}
.nav__lang-link.is-active {
  color: var(--violet-bright);
  pointer-events: none;
}
.nav__lang-sep {
  opacity: 0.4;
}
.menu__lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Geist Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.menu__lang .nav__lang-link.is-active {
  color: var(--violet-bright);
}
.nav__cta {
  flex: none;
}
.nav__cta .btn {
  min-height: 44px;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  font-size: 0.92rem;
}
.nav__cta .btn__icon {
  width: 30px;
  height: 30px;
}
.burger {
  display: none;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  position: relative;
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--text);
  transition:
    transform var(--d-ui) var(--ease-entrance),
    opacity var(--d-ui) var(--ease-entrance);
}
.burger span:nth-child(1) {
  top: 19px;
}
.burger span:nth-child(2) {
  bottom: 19px;
}
.is-menu-open .burger span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.is-menu-open .burger span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 6, 13, 0.86);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--d-ui) var(--ease-exit),
    visibility var(--d-ui);
}
.is-menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--d-ui) var(--ease-entrance);
}
.menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.menu__link {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.2rem 0;
  opacity: 0;
  transform: translateY(20px);
}
.is-menu-open .menu__link {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--ease-entrance),
    transform 0.5s var(--ease-entrance);
}
.is-menu-open .menu__link:nth-child(1) {
  transition-delay: 0.06s;
}
.is-menu-open .menu__link:nth-child(2) {
  transition-delay: 0.11s;
}
.is-menu-open .menu__link:nth-child(3) {
  transition-delay: 0.16s;
}
.is-menu-open .menu__link:nth-child(4) {
  transition-delay: 0.21s;
}
.is-menu-open .menu__link:nth-child(5) {
  transition-delay: 0.26s;
}
.is-menu-open .menu__link:nth-child(6) {
  transition-delay: 0.31s;
}
.is-menu-open .menu__link:nth-child(7) {
  transition-delay: 0.36s;
}
.menu__num {
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
  color: var(--faint);
  letter-spacing: 0.05em;
}
.menu__foot {
  margin-top: var(--space-l);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================ HERO · VIDEO (Full-Bleed, nahtloser 9s-Loop) */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  background: var(--abyss);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__video {
    animation: heroSettle 1.6s var(--ease-entrance) both;
  }
}
@keyframes heroSettle {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(4, 6, 13, 0.85) 0%,
      rgba(4, 6, 13, 0.72) 38%,
      rgba(4, 6, 13, 0.4) 70%,
      rgba(4, 6, 13, 0.2) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 6, 13, 0.5) 0%,
      transparent 22%,
      transparent 78%,
      rgba(4, 6, 13, 0.65) 100%
    );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__eyebrow {
  margin-bottom: var(--space-m);
}
.hero__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 640;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 15ch;
}
.hero__title .line {
  display: block;
}
.hero__title .word {
  display: inline;
}
.hero__title .accent {
  color: var(
    --violet-bright
  ); /* Display-Größe: AA-Large ok, kräftiger Akzent */
}
.hero__lead {
  margin: var(--space-m) 0 var(--space-l);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s);
}
.hero__meta {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(1.6rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
  .hero__meta {
    position: static;
    align-items: flex-start;
    margin-top: var(--space-l);
    flex-direction: row;
    gap: 1.2rem;
    padding-inline: var(--gutter);
  }
  /* Portrait: heller Mock (Karten/Gesichter/Mock-Text) erdrückt sonst die
     Copy → durchgehend kräftiger Schleier, Mitte NICHT ausdünnen (Text sitzt
     hier vertikal zentriert direkt über der unruhigsten Video-Region) */
  .hero__scrim {
    background:
      linear-gradient(
        to bottom,
        rgba(4, 6, 13, 0.8) 0%,
        rgba(4, 6, 13, 0.7) 40%,
        rgba(4, 6, 13, 0.74) 70%,
        rgba(4, 6, 13, 0.84) 100%
      ),
      rgba(4, 6, 13, 0.34);
  }
}
/* Desktop: Telefon-FAB (fixed, unten rechts, ~56px + Puls-Ring) überlappte
   die Caption „…Erst sehen, dann zahlen" — Caption links am FAB vorbeischieben */
@media (min-width: 881px) {
  .hero__meta {
    right: calc(var(--gutter) + 2.75rem);
  }
}

/* ============================================================ WERK */
.work {
  background: transparent;
  overflow: hidden;
}
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  column-gap: var(--space-l);
  row-gap: var(--space-s);
  margin-bottom: var(--space-l);
}
/* "Alle Projekte" direkt neben die Überschrift ziehen, statt isoliert am
   rechten Rand zu stehen — näher an den (linksbündig startenden) Karten. */
.work__head .tlink {
  margin-left: 0;
}
.work__head h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  line-height: 1;
}
.marquee {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 4%,
    black 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 4%,
    black 96%,
    transparent
  );
}
.marquee__track {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  width: max-content;
  padding-block: 0.5rem;
  will-change: transform;
  cursor: grab;
}
.marquee__track.is-drag {
  cursor: grabbing;
}
.frame {
  position: relative;
  width: clamp(280px, 42vw, 460px);
  flex: none;
  padding: 7px;
  border-radius: var(--r-frame);
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(234, 241, 244, 0.06),
    0 26px 60px -30px rgba(0, 0, 0, 0.85);
  transition:
    transform var(--d-ui) var(--ease-entrance),
    border-color var(--d-ui) var(--ease-entrance);
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.1rem 0.4rem 0.6rem;
}
.frame__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  flex: none;
}
.frame__url {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}
.frame__live {
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  margin-left: auto;
}
.frame__shot {
  position: relative;
  border-radius: var(--r-inner);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.frame__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}
/* Echtes Hero-Video der jeweiligen Kundenseite: liegt über dem Screenshot,
   blendet erst ein, wenn die Karte in der Mitte der Leiste (im Vordergrund)
   steht — main.js setzt/entfernt .is-active je nach Position. */
.frame__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.frame__shot.is-active .frame__vid,
.cframe__shot.is-active .frame__vid {
  opacity: 1;
}
/* Spotlight-Video: einzige, dauerhaft im Vordergrund stehende Vorschau —
   kein Umschalten nötig, blendet nach dem Laden einfach ein. */
.frame__vid--always {
  transition: opacity 0.6s ease;
}
.frame__vid--always.is-loaded {
  opacity: 1;
}
/* Ken-Burns: dezente Dauerbewegung, damit die Vorschauen lebendig wirken
   statt wie Standbilder – läuft unabhängig vom Marquee-Scroll. */
@media (prefers-reduced-motion: no-preference) {
  .frame__shot img,
  .cframe__shot img,
  .spotlight__frame img {
    animation: kenBurns 16s ease-in-out infinite alternate;
    transform-origin: center 30%;
  }
  .frame:nth-child(2n) .frame__shot img,
  .cframe__shot img {
    animation-duration: 19s;
  }
}
@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}
.frame__spec {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text);
  background: rgba(4, 6, 13, 0.66);
  border: 1px solid var(--line-strong);
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-chip);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--d-ui) var(--ease-entrance),
    transform var(--d-ui) var(--ease-entrance);
}
.frame__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.4rem 0.15rem;
}
.frame__name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
}
.frame__cat {
  font-size: 0.78rem;
  color: var(--muted);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  opacity: 0.7;
}
.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}
@media (hover: hover) {
  .frame:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
  }
  .frame:hover .frame__spec {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================ CASE-SPOTLIGHT */
.spotlight {
  background: transparent;
}
.spotlight__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}
.spotlight__story h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-m);
}
.story {
  display: flex;
  flex-direction: column;
}
.story__step {
  padding: var(--space-s) 0 var(--space-s) var(--space-m);
  border-left: 1px solid var(--line);
  position: relative;
}
.story__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: calc(var(--space-s) + 0.5em);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--violet-deep);
}
.story__step:nth-child(4)::before {
  border-color: var(--violet-soft);
  background: var(--violet);
}
.story__k {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-soft);
}
.story__step p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34ch;
}
.spotlight__media {
  position: relative;
}
.spotlight__frame {
  position: relative;
  padding: 8px;
  border-radius: var(--r-frame);
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(234, 241, 244, 0.06),
    0 30px 70px -34px rgba(0, 0, 0, 0.9);
}
.spotlight__frame__inner {
  border-radius: var(--r-inner);
  overflow: hidden;
}
.spotlight__frame img {
  width: 100%;
  border-radius: var(--r-inner);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.spotlight__frame figcaption {
  font-family: "Geist Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.6rem 0.3rem 0.15rem;
}
.flyzone {
  position: relative;
  margin-top: var(--space-m);
  min-height: 116px;
}
.flyzone__paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flyzone__label {
  font-family: "Geist Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.7rem;
}
.thumbs {
  display: flex;
  gap: 0.7rem;
}
.thumb {
  width: 33%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--d-ui) var(--ease-entrance);
}
.thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.85);
}
@media (hover: hover) {
  .thumb:hover {
    transform: translateY(-3px);
  }
  .thumb:hover img {
    filter: brightness(1);
  }
}
@media (max-width: 880px) {
  .spotlight__grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
}

/* ============================================================ STATEMENT · PORCELAIN */
.statement {
  background: var(--bone);
  color: var(--ink-on-bone);
  text-align: center;
}
.statement__h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 640;
  font-size: var(--fs-statement);
  line-height: 0.96;
  letter-spacing: -0.038em;
  max-width: 18ch;
  margin-inline: auto;
}
.statement__h em {
  font-style: normal;
  color: var(--violet-soft);
}
.statement__p {
  margin: var(--space-m) auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* ============================================================ METHODE · STICKY */
.method {
  background: transparent;
}
.method__sticky {
  padding-block: var(--space-2xl);
}
.method__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}
.method__copy h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-m);
}
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: var(--space-s) 0;
  border-top: 1px solid var(--line);
  transition: opacity var(--d-ui) var(--ease-entrance);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step__i {
  font-family: "Geist Mono", monospace;
  font-size: 0.78rem;
  color: var(--violet-soft);
  letter-spacing: 0.08em;
}
.step__t {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h4);
}
.step__d {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}
.method__stage {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.device {
  border-radius: var(--r-frame);
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(234, 241, 244, 0.06),
    0 30px 70px -34px rgba(0, 0, 0, 0.9);
}
.device__bar {
  display: flex;
  gap: 5px;
  padding: 0.2rem 0.5rem 0.55rem;
}
.device__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.device__view {
  position: relative;
  border-radius: var(--r-inner);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}
.ms {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.ms img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ms--3 {
  opacity: 1;
}
.method__cap {
  align-self: flex-start;
}
@media (max-width: 880px) {
  .method__grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
}

/* ============================================================ TRUST */
.trust {
  background: rgba(12, 15, 29, 0.55);
}
.trust__h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-l);
  max-width: 18ch;
}
/* Eine durchgehende Linie über der Reihe, KEINE Trenner zwischen den
   Zahlen; 10+ links, 100/100 mittig, 0 € ganz rechts */
.trust__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-l);
  border-top: 1px solid var(--line);
  padding-top: var(--space-m);
}
.trust__col {
  padding: 0;
}
.trust__col:nth-child(2) {
  justify-self: center;
}
.trust__col:nth-child(3) {
  justify-self: end;
}
.trust__num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-count);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.trust__num .count {
  color: var(--violet-soft);
}
.trust__lbl {
  margin-top: var(--space-s);
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 26ch;
}
@media (max-width: 760px) {
  .trust__row {
    grid-template-columns: 1fr;
  }
  .trust__col:nth-child(2),
  .trust__col:nth-child(3) {
    justify-self: start;
  }
}

/* ============================================================ INVESTITION · AXIS */
.value {
  background: transparent;
}
.value__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-s);
  margin-bottom: var(--space-xl);
}
.value__head h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: var(--space-s);
}
.axis {
  position: relative;
}
.axis__svg {
  width: 100%;
  height: clamp(120px, 18vw, 220px);
  display: block;
  margin-bottom: var(--space-m);
}
.axis__base {
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 2 6;
}
.axis__rise {
  stroke: var(--violet);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.axis__node {
  fill: var(--night);
  stroke: var(--violet);
  stroke-width: 3;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-m);
}
.tiers__note {
  margin-top: var(--space-m);
  color: var(--faint);
}
/* Note unter den Paket-Karten: gleiche Breite wie das Karten-Grid */
.value .tiers__note {
  max-width: 940px;
  margin-inline: auto;
}
.tier__price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: var(--fs-price);
  letter-spacing: -0.03em;
}
.tier__name {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-top: 0.2rem;
}
.tier__d {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
  max-width: 28ch;
}
@media (max-width: 760px) {
  .tiers {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
  .axis__svg {
    display: none;
  }
}

/* ============================================================ KONTAKT · MAP */
.contact {
  background: transparent;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
}
.contact__copy h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 640;
  font-size: var(--fs-statement);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
/* Finale ohne Karte: Headline läuft über die volle Breite */
.contact__copy--wide h2 {
  max-width: 16ch;
}
.contact__copy--wide .lead {
  max-width: 56ch;
}
.contact__copy .lead {
  margin: var(--space-m) 0 var(--space-l);
}
.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}
.contact__micro {
  margin-top: var(--space-m);
}
.contact__map {
  border-radius: var(--r-frame);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(0.8rem, 2vw, 1.4rem);
}
.berlin {
  width: 100%;
  height: auto;
}
.berlin__bounds {
  fill: rgba(14, 19, 32, 0.55);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.berlin__spree {
  stroke: var(--faint);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.6;
}
.berlin__route {
  stroke: var(--violet);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 7;
}
.berlin__dot {
  fill: var(--violet);
}
.berlin__pulse {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.5;
  opacity: 0;
}
.berlin__t {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: var(--text);
  text-transform: uppercase;
}
.berlin__t--muted {
  fill: var(--faint);
  font-size: 9.5px;
}
@media (max-width: 880px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
}

/* ============================================================ FOOTER */
.footer {
  background: rgba(6, 9, 18, 0.6);
  border-top: 1px solid var(--line);
  padding-block: var(--space-xl) var(--space-l);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-l);
}
.footer__brand .brand {
  margin-bottom: var(--space-s);
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}
.footer__col h3 {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--space-s);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__col a,
.footer__col span {
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  transition: color var(--d-hover);
}
@media (hover: hover) {
  .footer__col a:hover,
  .menu__foot a:hover {
    color: var(--violet-soft);
  }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.footer__legal a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--d-hover);
}
@media (hover: hover) {
  .footer__legal a:hover {
    color: var(--text);
  }
}
.footer__made {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ RESPONSIVE NAV */
@media (max-width: 1080px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .burger {
    display: block;
  }
}
@media (min-width: 1081px) {
  .menu {
    display: none;
  }
}

/* ============================================================ MOTION (CSS-Eingänge) */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blindReveal {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow {
    animation: heroRise 0.7s 0.05s var(--ease-entrance) both;
  }
  .hero__lead {
    animation: heroRise 0.7s 0.2s var(--ease-entrance) both;
  }
  .hero__cta {
    animation: heroRise 0.7s 0.32s var(--ease-entrance) both;
  }
}

/* Scroll-Reveals: ohne JS sichtbar */
.js:not(.reduce) [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}
.js:not(.reduce) [data-reveal-child] > * {
  opacity: 0;
  transform: translateY(28px);
}

/* Sticky-Methode: nur mit JS + ohne reduce. Ohne JS = finaler Render statisch.
   NUR ab 881px (2-spaltiges Grid) - darunter stapelt .method__grid auf 1
   Spalte (siehe @media max-width:880px), dann sprengt Schritte+Mockup
   gestapelt die 100svh-Pin-Box und das Mockup bleibt unsichtbar unterhalb
   während ~3 Bildschirmhöhen leer durchgescrollt werden. */
@media (min-width: 881px) {
  .js:not(.reduce) .method {
    min-height: 320vh;
  }
  .js:not(.reduce) .method__sticky {
    position: sticky;
    top: 0;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
}
.js:not(.reduce) .ms {
  transition: opacity 0.45s var(--ease-entrance);
}
.js:not(.reduce) .ms--3 {
  opacity: 0;
}
.js:not(.reduce) .ms.is-on {
  opacity: 1;
}
.js:not(.reduce) .step {
  opacity: 0.75; /* AA: gedimmt, aber ≥4,5:1 */
}
.js:not(.reduce) .step.is-on {
  opacity: 1;
}

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .nav__link::after,
  .frame__spec {
    transition: none;
  }
  .spine__node {
    display: none;
  }
  .berlin__route {
    stroke-dasharray: none;
  }
  .work {
    overflow: visible;
  }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }
  .marquee__track {
    cursor: default;
  }
  .frame__spec {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================ CALL-FAB (site-weit) */
.callfab {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 140;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow-violet-strong);
  transition:
    transform var(--d-hover) var(--ease-entrance),
    box-shadow var(--d-hover) var(--ease-entrance);
}
.callfab svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.callfab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .callfab::before {
    animation: callfabPulse 2.6s ease-out infinite;
  }
}
@keyframes callfabPulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}
@media (hover: hover) {
  .callfab:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 24px rgba(138, 41, 226, 0.55),
      0 0 70px rgba(138, 41, 226, 0.3);
  }
}
.callfab:active {
  transform: scale(0.94);
}
@media (max-width: 640px) {
  .callfab {
    width: 52px;
    height: 52px;
  }
}
