/* ============================================================
   CANORIGIN — style.css
   Dunkles, cineastisches One-Page-Design (Ref: cinetica.studio)
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens (heller Grundton) ---------- */
:root {
  --bg: #f5f6f8;
  --bg-raise: #ffffff;
  --ink: #101216;
  --ink-dim: #565b66;
  --ink-faint: #9aa0ab;
  --steel: #3d424b; /* Hero-Headline: dunkles Graphitgrau */
  --accent: #2e7cf0;
  --accent-2: #00b3e6;
  --line: rgba(16, 18, 22, 0.10);
  --line-strong: rgba(16, 18, 22, 0.22);
  --shadow: 0 18px 44px rgba(16, 18, 22, 0.08);
  --font-d: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-m: "Space Mono", "Courier New", monospace;
  --pad-x: clamp(1.5rem, 6vw, 6rem);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100svh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c8ccd5; border-radius: 99px; }

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10001;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-m);
  font-size: 0.75rem;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 1rem; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  /* CSS-Fallback: blendet sich auch ohne JS aus */
  animation: preloader-out 0.7s ease 3.2s forwards;
}
.preloader__inner {
  width: min(420px, 78vw);
  font-family: var(--font-m);
  text-transform: uppercase;
}
.preloader__brand {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.04em;
  margin-bottom: 2.2rem;
}
.blink { color: var(--accent); animation: blink 0.9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.preloader__status {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
  min-height: 1em;
}
.preloader__bar {
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: visible;
  margin-bottom: 0.8rem;
}
.preloader__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(46, 124, 240, 0.45);
}
.preloader__count {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-align: right;
}
@keyframes preloader-out {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ============================================================
   CURSOR & GRAIN
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9500;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 18px 2px rgba(46, 124, 240, 0.65);
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}
.cursor--active {
  width: 88px; height: 88px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 28px 4px rgba(46, 124, 240, 0.5);
}
.cursor__label {
  font-family: var(--font-m);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor--active .cursor__label { opacity: 1; }

body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
body.has-cursor .cursor { display: flex; }

.grain {
  position: fixed;
  inset: -100%;
  z-index: 9000;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -8%); }
  20% { transform: translate(-12%, 3%); }
  30% { transform: translate(6%, -14%); }
  40% { transform: translate(-4%, 12%); }
  50% { transform: translate(-12%, 6%); }
  60% { transform: translate(12%, 0%); }
  70% { transform: translate(0%, 12%); }
  80% { transform: translate(3%, 22%); }
  90% { transform: translate(-9%, 8%); }
}

/* ============================================================
   HUD-RAHMEN
   ============================================================ */
.hud { pointer-events: none; }
.hud__item {
  position: fixed;
  z-index: 800;
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.7;
}
.hud__tl { top: 1.4rem; left: 1.6rem; display: flex; gap: 0.6em; }
.hud__play { color: var(--accent); font-size: 0.5rem; }
.hud__bl { bottom: 1.4rem; left: 1.6rem; display: grid; gap: 0.15em; }
.hud__bl span:first-child { color: var(--ink-dim); }
.hud__br {
  bottom: 1.4rem; right: 1.6rem;
  display: flex; align-items: center; gap: 0.9em;
}
.hud__barcode {
  width: 74px; height: 15px;
  background:
    repeating-linear-gradient(90deg,
      var(--ink-dim) 0 1px, transparent 1px 4px,
      var(--ink-dim) 4px 6px, transparent 6px 8px,
      var(--ink-dim) 8px 9px, transparent 9px 13px);
  opacity: 0.55;
}
.hud__vertical {
  top: 50%; right: 1.05rem;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  letter-spacing: 0.26em;
}
.hud__ruler {
  position: fixed;
  z-index: 800;
  left: 1.05rem; top: 0; bottom: 0;
  width: 12px;
  background:
    repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 26px) left top / 6px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 130px) left top / 12px 100% no-repeat;
}

/* ============================================================
   TOPBAR / NAVIGATION
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad-x);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -40% 0;
  background: linear-gradient(to bottom, rgba(245, 246, 248, 0.92), transparent);
  pointer-events: none;
  z-index: -1;
}
.topbar__brand {
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.topbar__brand span { color: var(--accent); }
.topbar__nav { display: flex; align-items: center; gap: 2.2rem; }
.topbar__nav a {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.25s;
}
.topbar__nav a:hover { color: var(--ink); }
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.topbar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topbar__cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7em 1.3em;
  color: var(--ink) !important;
}
.topbar__cta:hover { border-color: var(--accent); }
.topbar__cta::after { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  z-index: 960;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s ease, top 0.35s ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

/* Mobile-Menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
  transform: translateY(-102%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  visibility: hidden;
}
.menu.is-open { transform: translateY(0); visibility: visible; }
.menu__nav { display: grid; gap: 0.4rem; }
.menu__nav a {
  font-weight: 880;
  font-stretch: 120%;
  font-size: clamp(2rem, 9.2vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}
.menu__nav a em {
  font-family: var(--font-m);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.menu__meta {
  margin-top: 3rem;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero__pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding: 6.5rem var(--pad-x) 4.5rem;
}
.hero__cubes {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 50% 46%, rgba(46, 124, 240, 0.10), transparent 70%),
    radial-gradient(130% 70% at 50% 110%, var(--bg) 30%, transparent 62%),
    radial-gradient(130% 70% at 50% -10%, var(--bg) 20%, transparent 58%);
  animation: glowpulse 6s ease-in-out infinite;
}
@keyframes glowpulse { 50% { opacity: 0.7; } }

.hero__title {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.6rem, 9.4vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; color: var(--steel); }
.hero__line--2 { white-space: nowrap; }

.hero__scrollhint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__scrollline {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollline 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollline {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.1em 1.9em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--accent); }
.btn:hover::after { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============================================================
   MARQUEES
   ============================================================ */
.marquee {
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  --marquee-dur: 26s;
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: marquee var(--marquee-dur) linear infinite;
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(1.05rem, 2.6vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee--accent { --marquee-dur: 18s; }
.marquee--accent .marquee__track { color: var(--accent); }

.marquee--contact { --marquee-dur: 30s; border-bottom: none; }
.marquee--contact .marquee__track {
  font-size: clamp(2rem, 6vw, 4.4rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
}

/* ============================================================
   SEKTIONEN (gemeinsam)
   ============================================================ */
.section { padding: clamp(6rem, 14vh, 10rem) var(--pad-x); }
.section__label {
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.section__label::before { content: "● "; color: var(--accent); font-size: 0.5rem; }

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) sepia(0.32) hue-rotate(175deg) saturate(2.2) contrast(1.02) brightness(0.85);
  transition: filter 0.7s ease, transform 0.7s ease;
  will-change: transform;
}
.about__media:hover img { filter: none; transform: scale(1.03); }
.about__caption {
  position: absolute;
  bottom: 0.9rem; left: 0.9rem;
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.5em 0.9em;
  backdrop-filter: blur(4px);
  border-radius: 6px;
}
.about__statement {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 640;
  font-stretch: 108%;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  max-width: 24ch;
}
.about__text {
  color: var(--ink-dim);
  max-width: 58ch;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.4rem;
}
.about__badges li {
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.65em 1.2em;
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.services__heading {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-bottom: clamp(3rem, 8vh, 5.5rem);
}
.services__list { border-bottom: 1px solid var(--line-strong); }

.service { border-top: 1px solid var(--line-strong); }
.service__row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1.15fr 1fr 3.5rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.6rem, 4vh, 2.6rem) 0.5rem;
  isolation: isolate;
}
.service__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.service__row:hover::before,
.service__row:focus-visible::before { transform: scaleY(1); }

.service__num {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: color 0.3s;
}
.service__name {
  font-weight: 880;
  font-stretch: 122%;
  font-size: clamp(1.7rem, 4.6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: color 0.3s, transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
}
.service__info { display: grid; gap: 0.9rem; }
.service__desc {
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 44ch;
  transition: color 0.3s;
}
.service__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service__tags i {
  font-family: var(--font-m);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45em 0.9em;
  transition: color 0.3s, border-color 0.3s;
}
.service__arrow {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  justify-self: end;
  transform: rotate(-45deg);
  transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1), color 0.3s;
}

.service__row:hover .service__name,
.service__row:hover .service__desc,
.service__row:hover .service__arrow,
.service__row:focus-visible .service__name { color: var(--bg); }
.service__row:hover .service__num { color: #8fc0ff; }
.service__row:hover .service__name { transform: translateX(0.35em); }
.service__row:hover .service__tags i { color: #aab0bc; border-color: rgba(255, 255, 255, 0.28); }
.service__row:hover .service__arrow { transform: rotate(0deg) translateX(0.2em); }

/* ============================================================
   EINBLICKE / KARUSSELL
   ============================================================ */
.showcase { padding: clamp(6rem, 14vh, 10rem) 0; overflow: clip; }
.showcase__head { padding: 0 var(--pad-x); }
.showcase__heading {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.showcase__viewport { overflow: clip; }
.showcase__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.showcase__viewport:hover .showcase__track { animation-play-state: paused; }
.showcase__group {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding-left: clamp(1rem, 2vw, 1.8rem);
}

.card {
  width: clamp(250px, 24vw, 330px);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover { transform: translateY(-8px); }
.card__viz {
  height: clamp(280px, 27vw, 360px);
  position: relative;
  padding: 1.3rem;
  background: linear-gradient(168deg, #ffffff, #eceef3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card__meta {
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  padding: 0.95em 1.3rem;
  display: flex;
  gap: 0.9em;
  text-transform: uppercase;
  background: var(--bg-raise);
}
.card__meta span { color: var(--accent); }

/* Karte: Browser-Mockup */
.viz-browser { gap: 0.9rem; }
.viz-browser__bar {
  display: flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.55rem 0.8rem;
}
.viz-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9dde4; }
.viz-browser__bar i:first-child { background: var(--accent); }
.viz-browser__bar span {
  font-family: var(--font-m); font-size: 0.55rem; letter-spacing: 0.08em;
  color: var(--ink-faint); margin-left: 0.5rem;
  background: var(--bg); border-radius: 6px; padding: 0.35em 0.9em; flex: 1;
}
.viz-browser__hero {
  background: #101216; border-radius: 12px; padding: 1.1rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.55rem; justify-content: center;
}
.viz-browser__hero b { display: block; height: 16px; width: 72%; background: #f0f2f6; border-radius: 4px; }
.viz-browser__hero em { display: block; height: 7px; width: 88%; background: #3c414c; border-radius: 4px; }
.viz-browser__hero em.short { width: 62%; }
.viz-browser__hero u { display: block; height: 22px; width: 108px; background: var(--accent); border-radius: 99px; margin-top: 0.5rem; }
.viz-browser__grid { display: flex; gap: 0.6rem; }
.viz-browser__grid i { flex: 1; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }

/* Karte: Automatisierungs-Flow */
.viz-flow svg { width: 100%; height: 100%; }
.viz-flow__line {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  animation: dashflow 1.5s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -32; } }
.viz-flow__node rect { fill: #fff; stroke: var(--line-strong); stroke-width: 1.2; }
.viz-flow__node text {
  font-family: var(--font-m); font-size: 13px; letter-spacing: 0.12em;
  fill: var(--ink-dim); text-anchor: middle;
}
.viz-flow__node--core rect { fill: #101216; stroke: #101216; }
.viz-flow__node--core text { fill: #fff; }

/* Karte: Chatbot */
.viz-chat { gap: 0.55rem; justify-content: center; }
.viz-chat__bubble {
  font-size: 0.74rem;
  line-height: 1.45;
  padding: 0.6em 0.95em;
  border-radius: 14px;
  max-width: 85%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.viz-chat__bubble--bot { border-bottom-left-radius: 4px; align-self: flex-start; }
.viz-chat__bubble--user {
  background: #101216; color: #f0f2f6; border-color: #101216;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.viz-chat__typing {
  display: flex; gap: 5px; padding: 0.7em 0.95em; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.viz-chat__typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: typing 1.1s ease-in-out infinite;
}
.viz-chat__typing i:nth-child(2) { animation-delay: 0.18s; }
.viz-chat__typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 40% { transform: translateY(-4px); opacity: 0.5; } }

/* Karte: Content-Kacheln */
.viz-content { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.7rem; }
.viz-content__tile { border-radius: 12px; position: relative; overflow: hidden; }
.viz-content__tile--a { background: linear-gradient(150deg, #14161c, #2c3140); }
.viz-content__tile--b { background: linear-gradient(150deg, var(--accent), var(--accent-2)); }
.viz-content__tile--c { background: linear-gradient(150deg, #dfe3ea, #c6ccd7); }
.viz-content__tile--d { background: linear-gradient(150deg, #454b58, #14161c); }
.viz-content__tile s {
  position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 16px solid rgba(255, 255, 255, 0.92);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(2px);
}

/* Karte: Wachstums-Chart */
.viz-chart svg { width: 100%; height: 100%; }
.viz-chart__bars rect { fill: #dfe3ea; rx: 6; }
.viz-chart__bars rect.hot { fill: var(--accent); }
.viz-chart__line { stroke: #101216; stroke-width: 2.5; stroke-linecap: round; }
.viz-chart__dot { fill: var(--accent); animation: dotpulse 1.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes dotpulse { 50% { transform: scale(1.7); opacity: 0.55; } }
.viz-chart__label {
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.2em; fill: var(--ink-faint);
}

/* Karte: Marken-Visual (dunkel) */
.card--dark .card__viz { padding: 0; background: #05060a; }
.viz-brand img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PROZESS
   ============================================================ */
.process { position: relative; }
.process__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding: clamp(4rem, 10vh, 7rem) 0;
}
.process__pin .section__label { padding: 0 var(--pad-x); }
.process__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding: 0 var(--pad-x);
  will-change: transform;
}
.step {
  flex: 0 0 auto;
  width: clamp(280px, 34vw, 460px);
  border: 1px solid var(--line);
  background: var(--bg-raise);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  min-height: clamp(320px, 44vh, 420px);
  display: flex;
  flex-direction: column;
}
.step__num {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: auto;
}
.step__num::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--accent);
  margin-top: 0.8rem;
  opacity: 0.6;
}
.step__title {
  font-weight: 850;
  font-stretch: 118%;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  text-transform: uppercase;
  margin: 2.5rem 0 0.9rem;
}
.step__text { color: var(--ink-dim); font-size: 0.98rem; max-width: 36ch; }

/* ============================================================
   MANIFEST
   ============================================================ */
.manifest { padding-top: clamp(7rem, 18vh, 13rem); padding-bottom: clamp(7rem, 18vh, 13rem); }
.manifest__statement {
  font-weight: 890;
  font-stretch: 122%;
  font-size: clamp(2.2rem, 7vw, 6.2rem);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  max-width: 16em;
}
.manifest__statement em { color: var(--accent); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { border-top: 1px solid var(--line); }
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(4rem, 10vh, 7rem);
}
.contact__meta {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: grid;
  gap: 0.3em;
  margin-bottom: clamp(2rem, 6vh, 3.5rem);
}
.contact__meta span { color: var(--ink-faint); }
.contact__mail {
  font-weight: 900;
  font-stretch: 124%;
  font-size: clamp(1.55rem, 6.4vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 0.06em;
  background-position: left 105%;
  transition: background-size 0.5s cubic-bezier(0.65, 0, 0.35, 1), color 0.3s;
  padding-bottom: 0.12em;
  word-break: break-word;
}
.contact__mail:hover { background-size: 100% 0.06em; color: var(--accent); }
.contact__note {
  color: var(--ink-dim);
  max-width: 44ch;
  margin-top: clamp(2rem, 5vh, 3rem);
}
.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.contact__social a {
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.85em 1.5em;
  color: var(--ink-dim);
  transition: color 0.3s, border-color 0.3s;
  will-change: transform;
}
.contact__social a:hover { color: var(--ink); border-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vh, 5rem) var(--pad-x) 5.5rem;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.footer__logo { width: clamp(130px, 16vw, 210px); height: auto; filter: invert(1); mix-blend-mode: multiply; }
.footer__nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer__nav a {
  font-family: var(--font-m);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s;
}
.footer__nav a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--accent); }

/* ============================================================
   UNTERSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal {
  max-width: 760px;
  padding: 10rem var(--pad-x) 6rem;
  margin: 0 auto;
}
.legal h1 {
  font-weight: 890;
  font-stretch: 122%;
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-weight: 750;
  font-stretch: 110%;
  font-size: 1.25rem;
  margin: 2.4rem 0 0.8rem;
}
.legal p, .legal li { color: var(--ink-dim); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal .placeholder {
  background: rgba(63, 155, 255, 0.12);
  border: 1px dashed var(--accent);
  color: var(--accent);
  padding: 0.1em 0.4em;
  font-family: var(--font-m);
  font-size: 0.85em;
}
.legal__back {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim) !important;
  text-decoration: none !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.8em 1.5em;
  margin-bottom: 3rem;
}
.legal__back:hover { border-color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hud__vertical, .hud__ruler { display: none; }
}

@media (max-width: 900px) {
  /* Dekorativer HUD-Rahmen hat auf schmalen Screens keinen Seitenrand
     und würde den Inhalt überlagern -> ausblenden (Uhr bleibt im Footer). */
  .hud { display: none; }

  .topbar__nav { display: none; }
  .burger { display: block; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }

  .service__row {
    grid-template-columns: 2.4rem minmax(0, 1fr) 2rem;
    grid-template-areas:
      "num name arrow"
      ". info info";
    row-gap: 0.9rem;
  }
  .service__name { hyphens: auto; overflow-wrap: break-word; }
  .service__desc { max-width: none; }
  .service__num { grid-area: num; }
  .service__name { grid-area: name; }
  .service__info { grid-area: info; }
  .service__arrow { grid-area: arrow; }

  /* Prozess: gestapelt statt horizontal */
  .process__pin { min-height: 0; }
  .process__track { flex-direction: column; }
  .step { width: 100%; min-height: 0; }
  .step__num { margin-bottom: 0; }
  .step__title { margin-top: 1.2rem; }
}

@media (max-width: 640px) {
  .hero__pin { padding-bottom: 5.5rem; }
  .hero__title { font-size: clamp(2.3rem, 12.3vw, 4.6rem); }
  .hero__line--1, .hero__line--3 { white-space: nowrap; }
  .card { width: clamp(240px, 70vw, 300px); }
  .card__viz { height: clamp(260px, 78vw, 320px); }
  .footer__bottom { flex-direction: column; gap: 0.8rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { display: none; animation: none; }
  .grain, .hero__glow, .hero__scrollline, .blink { animation: none !important; }
  .marquee__track, .showcase__track { animation: none; }
  .viz-flow__line, .viz-chat__typing i, .viz-chart__dot { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
