/* ==========================================================
   Braindancer – Stylesheet
   Moderne CSS-Techniken: Custom Properties, clamp()-Typografie,
   Container-Layouts mit Grid, scroll-driven Animations,
   View Transitions, prefers-reduced-motion.
   ========================================================== */

@view-transition { navigation: auto; }

/* ---------- Selbst gehostete Schrift (Inter Variable, SIL OFL) ----------
   Keine Verbindung zu Google & Co. – DSGVO-freundlich und schneller. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metrisch angepasster Fallback, damit beim Laden nichts springt (kein Layout-Shift) */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}

:root {
  --bg: #07070c;
  --bg-2: #0d0d16;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --text: #f4f4f8;
  --text-dim: #a3a3b8;
  --text-faint: #82829a;

  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --lime: #c6ff3d;
  --grad: linear-gradient(110deg, var(--violet) 0%, var(--cyan) 55%, var(--lime) 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: dark;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--violet); color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.muted { color: var(--text-faint); }

/* ---------- Scroll-Fortschritt (CSS scroll-timeline, JS-Fallback) ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Cursor-Glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .10), transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0);
  transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ==================== Buttons ==================== */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease-out);
  will-change: transform;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease-out);
}
.btn:hover svg { transform: translateX(4px); }
.btn-sm { --pad-y: 9px; --pad-x: 18px; font-size: .875rem; }
.btn-lg { --pad-y: 16px; --pad-x: 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad);
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity .35s;
}
.btn-primary:hover::before { opacity: .7; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.35); }

/* ==================== Header ==================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: transform .45s var(--ease-out), padding .3s, background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* Blur liegt auf ::before, damit das fixierte Mobilmenü nicht im Header "gefangen" ist */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 7, 12, .65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.is-scrolled { padding-block: 12px; border-color: var(--border); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -.03em;
  text-decoration: none;
}
/* ---------- Logo: Gehirn mit tanzender Welle ---------- */
.logo-mark {
  width: 36px; height: 36px;
  overflow: visible;
  transition: transform .5s var(--ease-out), filter .4s;
}
/* Farben und Strichstärken stehen als Attribute direkt im SVG (robust in allen Browsern, auch ohne CSS) */
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(198, 255, 61, .45));
}
.logo-text { display: grid; line-height: 1.1; }
.logo-tagline {
  margin-top: 3px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color .3s;
}
.logo:hover .logo-tagline { color: var(--text-dim); }
.logo-word span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Beim Laden: Gehirn zeichnet sich, dann erscheint die Welle */
/* Grundzustand ist sichtbar; der unsichtbare Start existiert nur in den Keyframes */
.site-header .logo-mark .brain path {
  stroke-dasharray: 100;
  animation: draw 1.4s var(--ease-out) .15s both;
}
.site-header .logo-mark .wave {
  animation: fade-in .5s ease .9s both;
}
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .site-header .logo-mark .brain path,
  .site-header .logo-mark .wave { animation: none; }
}

/* Großes Markenzeichen (Statement, 404) */
.brand-mark {
  position: relative;
  width: clamp(104px, 13vw, 160px);
  aspect-ratio: 1;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .16), rgba(139, 92, 246, .12) 40%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.brand-svg { width: 100%; height: 100%; overflow: visible; }
.brand-svg .wave { filter: drop-shadow(0 0 6px rgba(198, 255, 61, .6)); }
.brand-mark.is-flat { margin-inline: auto; }
.brand-mark.is-flat .wave { stroke: var(--text-faint); filter: none; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .925rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--text); background: var(--surface-2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(7, 7, 12, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .main-nav ul a { font-size: 1.6rem; font-weight: 650; color: var(--text); letter-spacing: -.02em; }
  .main-nav ul li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s, transform .5s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 50ms + 80ms);
  }
  .main-nav.is-open ul li { opacity: 1; transform: none; }
  .nav-cta { font-size: 1rem; --pad-y: 14px; --pad-x: 28px; }
  body.nav-open { overflow: hidden; }
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: 140px 100px;
  overflow: hidden;
  isolation: isolate;
}
.neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: .55;
}
.hero-blobs { position: absolute; inset: 0; z-index: -2; filter: blur(80px); }
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: .45;
  animation: float 18s ease-in-out infinite alternate;
}
.b1 { width: 520px; height: 520px; background: var(--violet); top: -120px; left: -80px; }
.b2 { width: 420px; height: 420px; background: var(--cyan); bottom: -120px; right: 5%; animation-delay: -6s; opacity: .3; }
.b3 { width: 300px; height: 300px; background: var(--lime); top: 35%; right: 30%; animation-delay: -12s; opacity: .14; }
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(.95); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .5;
}

.hero-inner { position: relative; max-width: var(--container); }
.hero-inner > * { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(198, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 40px;
}
.rotator {
  display: inline-block;
  color: var(--text);
  font-weight: 650;
  position: relative;
  white-space: nowrap;
}
.rotator::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.rotator .ch { display: inline-block; animation: chIn .5s var(--ease-out) both; }
@keyframes chIn { from { opacity: 0; transform: translateY(.4em) rotateX(-60deg); filter: blur(4px); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
}
.hero-stats li { display: grid; gap: 2px; }
.hero-stats strong {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: .85rem; color: var(--text-faint); }

/* ---------- Hero-Mockup: realistische Beispiel-Website auf Desktop + Smartphone ----------
   Alle Maße in Container-Einheiten (cqw), damit das Mockup als Ganzes skaliert. */
.hero-mockup {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)) - 120px);
  top: 50%;
  width: min(500px, 36vw);
  translate: 0 -46%;
  container-type: inline-size;
  transform: perspective(1400px) rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
}
.mock-browser {
  border-radius: 2.6cqw;
  overflow: hidden;
  background: #fbfaf7;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 50px 120px -30px rgba(139, 92, 246, .5),
    0 30px 60px -20px rgba(0, 0, 0, .6);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 2cqw 2.6cqw;
  background: #ecebe7;
  border-bottom: 1px solid #dddbd5;
}
.mock-bar i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
  flex: 0 1 46%;
  margin-inline: auto;
  padding: .9cqw 2cqw;
  border-radius: 1.4cqw;
  background: #fff;
  border: 1px solid #dddbd5;
  font: 500 2cqw/1 var(--font);
  color: #6b7280;
}
.mock-url svg { width: 2.2cqw; height: 2.2cqw; fill: none; stroke: #16a34a; stroke-width: 2.4; }

/* Neutrale Beispiel-Website („Ihr Logo“) – bewusst eigener Editorial-Stil:
   Serifenschrift, neutrale Fläche, sattes Indigo + Lime-Akzent, eckige Formen –
   farblich verwandt mit Braindancer, aber ohne dessen Verläufe und Leuchteffekte */
.fs {
  --paper: #f5f5f8; --ink: #15141c; --muted: #5d5c69; --accent: #4f46e5; --deep: #1e1b4b; --lime: #c6ff3d; --line: rgba(21, 20, 28, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 2cqw;
  line-height: 1.4;
  letter-spacing: 0;
}
.fs-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 2.4cqw 4.4cqw;
  border-bottom: 1px solid var(--line);
}
.fs-logo { font-family: var(--serif); font-size: 3.2cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.fs-logo { display: inline-flex; align-items: center; gap: 1.1cqw; }
.fs-logo b { width: 2.6cqw; height: 2.6cqw; border-radius: .5cqw; background: var(--accent); box-shadow: .5cqw .5cqw 0 var(--lime); }
.fs-links { display: flex; gap: 3cqw; margin-left: auto; font-weight: 500; color: var(--muted); }
.fs-btn { display: inline-flex; align-items: center; padding: 1.2cqw 2.4cqw; border-radius: .4cqw; font-weight: 600; white-space: nowrap; }
.fs-btn.line { border: 1.5px solid var(--ink); }
.fs-btn.solid { background: var(--ink); color: var(--paper); }
.fs-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.fs-copy { display: grid; align-content: center; justify-items: start; gap: 2.2cqw; padding: 6cqw 3cqw 6cqw 4.4cqw; }
.fs-kicker {
  display: flex; align-items: center; gap: 1.4cqw;
  font-size: 1.6cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.fs-kicker::before { content: ""; width: 4cqw; height: 1.5px; background: var(--accent); }
.fs-h { font-family: var(--serif); font-size: 7cqw; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.fs-h em { font-style: italic; font-weight: 500; color: var(--accent); }
.fs-p { max-width: 92%; color: var(--muted); font-size: 2.05cqw; }
.fs-ctas { display: flex; align-items: center; gap: 2.6cqw; margin-top: .6cqw; }
.fs-link { font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: .2cqw; white-space: nowrap; }
.fs-block {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--deep);
  overflow: hidden;
}
.fs-block::before {
  content: "";
  position: absolute;
  width: 70%; aspect-ratio: 1;
  right: -18%; top: -22%;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 255, 61, .55);
}
.fs-block::after {
  content: "";
  position: absolute;
  width: 46%; aspect-ratio: 1;
  left: -14%; bottom: -16%;
  border-radius: 50%;
  background: var(--accent);
  opacity: .75;
}
.fs-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.6cqw;
  width: 74%;
  padding: 2.6cqw;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  box-shadow: 1.2cqw 1.2cqw 0 var(--lime);
  transform: rotate(-3deg);
}
.fs-card-h { display: grid; line-height: 1.15; }
.fs-card-h b { font-family: var(--serif); font-size: 3cqw; font-weight: 700; }
.fs-card-h small { color: var(--muted); font-size: 1.55cqw; }
.fs-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 1cqw; height: 13cqw; border-bottom: 1.5px solid var(--ink); }
.fs-bars i { display: block; height: calc(var(--h) * 100%); background: var(--ink); transform-origin: bottom; }
.fs-bars i.hi { background: var(--accent); }
.hero-mockup.is-visible .fs-bars i { animation: fsgrow 1s var(--ease-out) both; }
.hero-mockup.is-visible .fs-bars i:nth-child(2) { animation-delay: .08s; }
.hero-mockup.is-visible .fs-bars i:nth-child(3) { animation-delay: .16s; }
.hero-mockup.is-visible .fs-bars i:nth-child(4) { animation-delay: .24s; }
.hero-mockup.is-visible .fs-bars i:nth-child(5) { animation-delay: .32s; }
.hero-mockup.is-visible .fs-bars i:nth-child(6) { animation-delay: .4s; }
.hero-mockup.is-visible .fs-bars i:nth-child(7) { animation-delay: .48s; }
@keyframes fsgrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.fs-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1cqw; text-align: center; font-size: 1.35cqw; color: var(--muted); }
.fs-note {
  position: absolute;
  z-index: 2;
  left: 8%; bottom: 8%;
  display: grid;
  padding: 1.3cqw 1.9cqw;
  background: var(--lime);
  color: var(--ink);
  line-height: 1.2;
  transform: rotate(2deg);
}
.fs-note small { font-size: 1.3cqw; opacity: .7; }
.fs-note b { font-size: 1.75cqw; }
.fs-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.fs-steps span {
  display: flex; align-items: baseline; gap: 1.4cqw;
  padding: 2.6cqw 4.4cqw;
  font-family: var(--serif);
  font-size: 2.6cqw;
  font-weight: 600;
}
.fs-steps span + span { border-left: 1px solid var(--line); }
.fs-steps b { font-family: var(--font); font-size: 1.5cqw; font-weight: 700; color: var(--accent); letter-spacing: .08em; }

/* Smartphone mit App-Ansicht (gleicher Editorial-Stil) */
.mock-phone {
  position: absolute;
  right: -6%; bottom: -24%;
  width: 23%;
  aspect-ratio: 9 / 19;
  padding: 1.1cqw;
  border-radius: 5cqw;
  background: #1a1a1a;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 40px 80px -20px rgba(0, 0, 0, .75);
  transform: translateZ(80px);
}
.fp {
  --paper: #f5f5f8; --ink: #15141c; --muted: #5d5c69; --accent: #4f46e5; --deep: #1e1b4b; --lime: #c6ff3d;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  height: 100%;
  padding: 1.6cqw 2cqw;
  border-radius: 4cqw;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.5cqw;
  overflow: hidden;
}
.fp-status { display: flex; justify-content: space-between; align-items: center; font-size: 1.4cqw; }
.fp-status span { width: 24%; height: 1.4cqw; border-radius: 99cqw; background: #1a1a1a; }
.fp-title { color: var(--ink); font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 3.3cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1.02; white-space: nowrap; }
.fp-nav { display: flex; align-items: center; justify-content: space-between; margin-top: .4cqw; }
.fp-nav .fs-logo { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 2.2cqw; font-weight: 700; color: var(--ink); }
.fp-nav .fs-logo b { width: 1.8cqw; height: 1.8cqw; border-radius: .35cqw; box-shadow: .35cqw .35cqw 0 var(--lime); }
.fp-nav > i { width: 2.4cqw; height: 1.5cqw; border-block: .3cqw solid var(--ink); position: relative; }
.fp-nav > i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .3cqw; margin-top: -.15cqw; background: var(--ink); }
.fp-kicker {
  display: flex; align-items: center; gap: .8cqw; margin-top: 1.6cqw;
  font-size: 1.1cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.fp-kicker::before { content: ""; width: 2.4cqw; height: 1px; background: var(--accent); }
.fp-title em { font-style: italic; font-weight: 500; color: var(--accent); }
.fp-btn { white-space: nowrap; align-self: flex-start; padding: 1cqw 1.6cqw; border-radius: .3cqw; background: var(--ink); color: var(--paper); font-size: 1.3cqw; font-weight: 600; }
.fp-block {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  margin: .6cqw -2cqw -1.6cqw;
  background: var(--deep);
  overflow: hidden;
}
.fp-block::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -25%; top: -20%; border-radius: 50%; border: 1px solid rgba(198, 255, 61, .55); }
.fp-bars {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: .8cqw;
  width: 62%; height: 9cqw; padding: 1.2cqw;
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: .8cqw .8cqw 0 var(--lime);
  transform: rotate(-3deg);
}
.fp-bars i { display: block; height: calc(var(--h) * 100%); background: var(--ink); }
.fp-bars i.hi { background: var(--accent); }

/* Info-Badges */
.mock-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.8cqw 2.6cqw 1.8cqw 1.8cqw;
  border-radius: 2.6cqw;
  background: rgba(18, 18, 28, .88);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  white-space: nowrap;
  transform: translateZ(100px);
  animation: bob 5s ease-in-out infinite;
}
.mock-badge > span:last-child { display: grid; line-height: 1.25; }
.mock-badge b { font-size: 2.5cqw; font-weight: 650; color: var(--text); }
.mock-badge small { font-size: 2cqw; color: var(--text-faint); }
.mb-ring {
  display: grid;
  place-items: center;
  width: 7.4cqw; height: 7.4cqw;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #12121c 78%, transparent 80%),
    conic-gradient(#22c55e 100%, transparent 0);
}
.mb-ring b { font-size: 2.4cqw !important; color: #4ade80 !important; font-weight: 700 !important; }
.mb-check {
  display: grid;
  place-items: center;
  width: 5.6cqw; height: 5.6cqw;
  border-radius: 50%;
  background: rgba(198, 255, 61, .15);
  color: var(--lime);
  font-size: 2.8cqw;
  font-weight: 700;
}
.mb1 { left: -8%; bottom: -10%; }
.mb2 { right: 4%; top: -7%; animation-delay: -2.5s; }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 1279px) {
  .hero-mockup { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .hero-mockup { width: 33vw; }
}
@media (min-width: 1280px) {
  .hero-inner > * { max-width: 640px; }
  .hero-title { font-size: clamp(3.6rem, 1rem + 3.6vw, 5rem); }
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  translate: -50% 0;
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--text);
  animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==================== Marquee ==================== */
.marquee {
  position: relative;
  padding-block: 26px;
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--text-dim);
}
.marquee span:nth-child(even) { color: var(--violet); }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ==================== Sections ==================== */
.section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); }
.section-sub { margin-top: 20px; color: var(--text-dim); }
.section-sub a { color: var(--cyan); }
.kicker {
  display: inline-block;
  margin-bottom: 18px;
  font: 600 .8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Spotlight-Karten (Mausposition via CSS-Variablen) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(500px circle at var(--x, 50%) var(--y, -100%), rgba(139, 92, 246, .14), transparent 45%);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, -100%), rgba(34, 211, 238, .7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Bento-Grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card.span-2 { grid-column: span 2; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: .975rem; }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}
.card-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--cyan); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.swatches { display: flex; margin-top: 28px; }
.swatches i {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg-2);
  margin-left: -10px;
  transition: transform .4s var(--ease-out);
}
.swatches i:first-child { margin-left: 0; background: var(--violet); }
.swatches i:nth-child(2) { background: #6366f1; }
.swatches i:nth-child(3) { background: var(--cyan); }
.swatches i:nth-child(4) { background: #34d399; }
.swatches i:nth-child(5) { background: var(--lime); }
.card:hover .swatches i { transform: translateX(calc(var(--n, 0) * 6px)); }
.swatches i:nth-child(2) { --n: 1; } .swatches i:nth-child(3) { --n: 2; }
.swatches i:nth-child(4) { --n: 3; } .swatches i:nth-child(5) { --n: 4; }

.meter {
  position: relative;
  margin-top: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
}
.meter span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, var(--lime));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease-out) .3s;
}
.is-visible .meter span { transform: scaleX(1); }
.meter b {
  position: absolute;
  right: 0; top: -30px;
  font: 700 .85rem var(--mono);
  color: var(--lime);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font: 500 .78rem var(--mono);
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .bento > :last-child { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .card.span-2, .bento > :last-child { grid-column: auto; }
}

/* ==================== Statement (Wort-für-Wort-Reveal) ==================== */
.statement { padding-block: clamp(60px, 10vw, 140px); }
.statement-text {
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  max-width: 1000px;
}
.statement-text .w {
  color: var(--text);
  opacity: var(--o, .15);
  transition: opacity .25s linear;
}

/* ==================== Projekte / Konzepte ==================== */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-color .3s;
}
.project:hover { border-color: var(--border-strong); }
.project-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--c1) 60%, transparent), transparent 50%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--c2) 80%, transparent), transparent 60%),
    #111119;
}
.pv-ui {
  position: relative;
  width: 82%;
  aspect-ratio: 16 / 10;
  padding: 7% 8%;
  border-radius: 12px;
  background: rgba(10, 10, 16, .78);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 8%;
  transition: transform .6s var(--ease-out);
}
.project:hover .pv-ui { transform: scale(1.04) translateY(-4px); }
.pv-ui b {
  font-size: clamp(.7rem, .5rem + .5vw, .95rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c1);
}
.pv-ui span {
  font-size: clamp(1rem, .6rem + 1.4vw, 1.8rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.pv-ui i {
  display: block;
  width: 34%;
  height: 12%;
  min-height: 16px;
  border-radius: 999px;
  background: var(--c1);
}
.pv-praxis i + i, .pv-saas i + i { position: absolute; right: 8%; bottom: 12%; width: 28%; height: 40%; border-radius: 10px; background: color-mix(in srgb, var(--c1) 25%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 50%, transparent); }
.pv-saas i:nth-of-type(3) { right: 22%; bottom: 22%; width: 22%; height: 30%; background: color-mix(in srgb, var(--c1) 45%, transparent); }
.pv-cafe i { border-radius: 4px; }
.pv-handwerk { font-family: Georgia, "Times New Roman", serif; }
.pv-handwerk span { font-weight: 600; letter-spacing: -.01em; }
.pv-handwerk i { border-radius: 2px; width: 28%; }

.project-meta { padding: 28px 30px 32px; }
.project-tag {
  font: 500 .78rem var(--mono);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.project-meta h3 { font-size: 1.45rem; margin-bottom: 8px; }
.project-meta p:last-child { color: var(--text-dim); font-size: .975rem; }

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

/* ==================== Ablauf ==================== */
.steps {
  position: relative;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 39px; top: 40px; bottom: 40px;
  width: 2px;
  background: var(--border);
}
.steps::after {
  content: "";
  position: absolute;
  left: 39px; top: 40px; bottom: 40px;
  width: 2px;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(var(--line, 0));
}
@supports (animation-timeline: view()) {
  .steps::after {
    animation: line linear both;
    animation-timeline: view();
    animation-range: entry 40% cover 60%;
  }
  @keyframes line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 32px 28px 0;
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  font: 700 1.1rem var(--mono);
  transition: border-color .4s, box-shadow .4s;
}
.step.is-visible .step-num { border-color: var(--violet); box-shadow: 0 0 30px -4px rgba(139, 92, 246, .55); }
.step h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: 14px 0 10px; }
.step p { color: var(--text-dim); max-width: 620px; }

@media (max-width: 620px) {
  .steps::before, .steps::after { left: 27px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; padding-right: 0; }
  .step-num { width: 56px; height: 56px; font-size: .95rem; }
  .step h3 { margin-top: 10px; }
}

/* ==================== Preise ==================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.price-card.featured {
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 90px -30px rgba(139, 92, 246, .5);
  transform: translateY(-12px);
}
.badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 700;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.price-desc { color: var(--text-dim); font-size: .95rem; min-height: 3.2em; }
.price {
  margin-top: 24px;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.price small { font-size: 1rem; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.price span { font-size: 1.6rem; }
.price .price-text { font-size: 2.2rem; }
.price-note { font-size: .82rem; color: var(--text-faint); margin: 8px 0 28px; }
.features { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.features li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: var(--text-dim);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(198, 255, 61, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .price-desc { min-height: 0; }
}

/* ==================== FAQ ==================== */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-wrap .section-head { position: sticky; top: 120px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .3s, background .3s;
  interpolate-size: allow-keywords;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 24px; color: var(--text-dim); }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
}

/* ==================== Kontakt ==================== */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .22), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, .14), transparent 50%),
    var(--bg-2);
  overflow: hidden;
}
.contact-intro h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); margin-bottom: 20px; }
.contact-intro > p { color: var(--text-dim); font-size: 1.075rem; margin-bottom: 32px; }
.contact-points { display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--text-dim); }
.contact-points svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--cyan); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-points a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.contact-points a:hover { border-color: var(--cyan); }

.contact-form { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(7, 7, 12, .6);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field select option { background: var(--bg-2); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .18);
}
.field label {
  position: absolute;
  left: 19px; top: 18px;
  color: var(--text-faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease-out), color .25s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field label.static {
  transform: translateY(-10px) scale(.78);
  color: var(--text-dim);
}
.field .is-invalid, .field input:user-invalid, .field textarea:user-invalid { border-color: #f87171; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text-dim);
  cursor: pointer;
}
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.check a { color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.4em; font-size: .9rem; color: var(--lime); text-align: center; }
.form-status.error { color: #f87171; }

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

/* ==================== Footer ==================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; color: var(--text-faint); font-size: .925rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-content: flex-start; }
.footer-nav a { color: var(--text-dim); text-decoration: none; font-size: .925rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-faint);
}

/* ==================== Reveal-Animationen ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
.hero-mockup.reveal { transform: perspective(1400px) rotateY(-14deg) rotateX(6deg) translateY(40px); }
.hero-mockup.reveal.is-visible { transform: perspective(1400px) rotateY(-14deg) rotateX(6deg); }

/* ==================== Unterseiten (Impressum / Datenschutz) ==================== */
.legal { padding-block: 160px 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--cyan); }
.legal .placeholder {
  padding: 16px 20px;
  border: 1px dashed var(--lime);
  border-radius: var(--radius-sm);
  background: rgba(198, 255, 61, .06);
  color: var(--lime);
  margin-bottom: 32px;
  font-size: .9rem;
}

/* ==================== Bewegung reduzieren ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .neural-canvas, .cursor-glow { display: none; }
  .statement-text .w { opacity: 1; }
}

/* Unterseiten: Zurück-Button auf schmalen Displays nur als Pfeil */
@media (max-width: 420px) {
  .btn-label { display: none; }
}

/* ==================== Weiterempfehlen / Downloads ==================== */
.downloads-page .container { max-width: var(--container); }
.downloads-page h1 { margin-bottom: 20px; }
.dl-lead {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  color: var(--text) !important;
  font-weight: 600;
  letter-spacing: -.01em;
  max-width: 640px;
}
.downloads-page .dl-lead + p { max-width: 640px; }
.dl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}
.dl-preview { margin: 0; position: sticky; top: 110px; }
.dl-preview img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(139, 92, 246, .45);
}
.dl-list { display: grid; gap: 14px; }
.dl-card {
  display: grid;
  gap: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.dl-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.downloads-page .dl-card h2 { font-size: 1.2rem; margin: 0 0 6px; }
.downloads-page .dl-card p { margin: 0; font-size: .95rem; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.downloads-page a.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .3s var(--ease-out);
}
.downloads-page a.dl-chip::before {
  content: "";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.downloads-page a.dl-chip:hover { background: rgba(198, 255, 61, .1); border-color: rgba(198, 255, 61, .5); transform: translateY(-1px); }
.dl-chip small { font-weight: 500; color: var(--text-faint); font-size: .78rem; }
.dl-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 10px;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
}
.downloads-page .dl-share p { margin: 0; }
@media (max-width: 860px) {
  .dl-layout { grid-template-columns: 1fr; }
  .dl-preview { position: static; max-width: 420px; }
}
