/* ============================================================
   Cinitic – Stylesheet
   Dunkle Bühne, feine Linien (wie das Logo), ein Violett-Akzent.
   Schriften: Space Grotesk (Display/Body), JetBrains Mono (Meta).
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-300-latin.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-600-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #09090b;
  --bg-elev: #101013;
  --surface: #131317;
  --surface-2: #17171c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f4f4f5;
  --ink-dim: #b8b8c0;
  --ink-mute: #8f8f99;
  --brand: #6d28ed;
  --brand-bright: #8b5cf6;
  --brand-text: #b9a6ff;
  --brand-soft: rgba(109, 40, 237, 0.16);
  --focus: #b9a6ff;

  --font-sans: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --z-nav: 100;
  --z-overlay: 200;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;

  --container: 1200px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

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

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: calc(var(--z-overlay) + 1);
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

/* ---------- Scroll-Reveals (nur mit JS aktiv) ---------- */
.js .r {
  opacity: 0;
  transform: translateY(26px);
}
.js .r.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* Masken-Reveal für große Sektionstitel */
.js .section-head.r h2 {
  clip-path: inset(0 0 100% 0);
  transform: translateY(34px);
}
.js .section-head.r.in h2 {
  clip-path: inset(-8% 0 -12% 0);
  transform: none;
  transition: clip-path 0.9s var(--ease-in-out), transform 0.9s var(--ease-out);
}

/* Kaskaden innerhalb von Gruppen */
.js .demo-grid .demo-cell:nth-child(2).in { transition-delay: 0.1s; }
.js .demo-grid .demo-cell:nth-child(3).in { transition-delay: 0.16s; }
.js .demo-grid .demo-cell:nth-child(4).in { transition-delay: 0.22s; }
.js .svc-tabs .svc-tab:nth-child(2).in { transition-delay: 0.06s; }
.js .svc-tabs .svc-tab:nth-child(3).in { transition-delay: 0.12s; }
.js .svc-tabs .svc-tab:nth-child(4).in { transition-delay: 0.18s; }
.js .pricing-plans .plan-row:nth-child(2).in { transition-delay: 0.1s; }
.js .pricing-plans .plan-row:nth-child(3).in { transition-delay: 0.2s; }
.js .process-list .process-step:nth-child(2).in { transition-delay: 0.08s; }
.js .process-list .process-step:nth-child(3).in { transition-delay: 0.16s; }
.js .process-list .process-step:nth-child(4).in { transition-delay: 0.24s; }

/* Hero-Einzug beim Laden (Titel hat eigenen Wort-Reveal) */
.js .hero-copy > :not(.hero-title) {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 0.95s var(--ease-out) forwards;
}
.js .hero-copy > *:nth-child(2) { animation-delay: 0.55s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.72s; }
@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

/* Scroll-Fortschritt */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: calc(var(--z-overlay) + 1);
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Feines Korn über allem (fix, kostet nichts beim Scrollen) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-overlay) + 2);
  pointer-events: none;
  opacity: 0.028;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .r { opacity: 1; transform: none; filter: none; }
  .js .r.in { transition: none; }
  .js .section-head.r h2 { clip-path: none; transform: none; }
  .js .section-head.r.in h2 { transition: none; }
  .js .hero-copy > * { animation: none; opacity: 1; transform: none; filter: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding: 1rem clamp(1rem, 3vw, 2rem) 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease-drawer);
}
.site-header.is-hidden { transform: translateY(-130%); }
.site-header.is-hidden:focus-within { transform: none; }

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  width: min(100%, 1080px);
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 15, 0.86);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
/* Waehrend des Scrollens den Weichzeichner aussetzen. Er liegt im fixierten
   Header ueber der ganzen Seite und muesste sonst jeden Frame neu gerechnet
   werden. Der Hintergrund ist deckend genug, dass es in Bewegung nicht
   auffaellt; sobald man stoppt, ist der Effekt wieder da. */
html.is-scrolling .nav-pill,
html.is-scrolling .mobile-menu {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.is-scrolling .nav-pill { background: rgba(12, 12, 15, 0.95); }

.nav-pill.is-scrolled {
  border-color: var(--line-strong);
  background: rgba(12, 12, 15, 0.94);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  color: var(--ink-dim);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav-links a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.lang-btn {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.1); }

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-drawer), top 0.35s var(--ease-drawer);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* Mobile Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  display: grid;
  place-content: center;
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-drawer), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: grid; gap: 0.4rem; text-align: center; }
.mobile-menu a {
  display: block;
  padding: 0.55rem 1.5rem;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-dim);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.2s;
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.06s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.14s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.18s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.22s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.26s; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-nav { display: none; }
  .burger { display: block; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:disabled:active { transform: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { background: #7c3aed; }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }

.btn-lg { padding: 0.9rem 1.5rem 0.9rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.85rem; }
.btn-nav { padding: 0.5rem 1.05rem; font-size: 0.875rem; }

/* Pfeil im Kreis (Button-in-Button) */
.btn-orb {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.3s var(--ease-out);
}
.btn-orb svg { width: 13px; height: 13px; }
.btn:hover .btn-orb { transform: translateX(2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: 8.5rem 0 4rem;
  overflow: clip;
}

/* Violettes Licht folgt dem Cursor (nur Desktop) */
.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 237, 0.13), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
  will-change: transform;
}
.hero.has-glow .hero-glow { opacity: 1; }

/* Akzentwort in der Headline */
.accent-word {
  position: relative;
  font-style: normal;
  color: var(--brand-text);
  white-space: nowrap;
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.055em;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
}
.js .accent-word::after {
  animation: underline-in 0.7s var(--ease-in-out) 1.15s forwards;
}
@keyframes underline-in { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .js .accent-word::after { animation: none; transform: scaleX(1); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 75%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(109, 40, 237, 0.14), transparent 62%);
}

/* Canvas-Punktfeld ersetzt das statische Raster, sobald JS läuft */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero.has-canvas .hero-bg { background-image: none; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: 100%;
}

.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
/* Failsafe: Titel blendet nach 1.6s ein, selbst wenn der Wort-Split nie laeuft */
.js .hero-title { opacity: 0; animation: title-show 0.5s var(--ease-out) 1.6s forwards; }
.js .hero-title.is-split { opacity: 1; animation: none; }
@keyframes title-show { to { opacity: 1; } }

/* Wort-fuer-Wort-Maskenreveal der Headline */
.hero-title .w {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}
.js .hero-title .wi {
  display: inline-block;
  transform: translateY(118%);
  animation: word-in 0.85s var(--ease-out) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.09s);
}
@keyframes word-in { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: 1.2rem;
  color: var(--ink-dim);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* ---------- Hero: Browser-Frame, in dem sich eine Website selbst baut ---------- */
.hero-visual { justify-self: center; width: min(100%, 500px); }

.build-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 70px -24px rgba(109, 40, 237, 0.3);
}
.js .build-frame {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  animation:
    build-frame-in 0.9s var(--ease-out) 0.1s forwards,
    build-float 7s ease-in-out 5.5s infinite;
}
@keyframes build-frame-in { to { opacity: 1; transform: none; } }
@keyframes build-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.build-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.72rem;
}

.build-stage { position: relative; }

.build-splash {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--surface);
}
.js .build-splash { animation: splash-out 0.5s var(--ease-out) 2.3s forwards; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
.build-splash .hero-logo { width: 40%; max-width: 190px; color: var(--ink); }

/* Logo-Draw im Splash */
.js .hero-logo .draw { animation: draw-in 0.9s var(--ease-in-out) forwards; }
.js .hero-logo .draw-1 { stroke-dasharray: 640; stroke-dashoffset: 640; animation-delay: 0.35s; }
.js .hero-logo .draw-1b {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation-delay: 0.6s;
  animation-duration: 0.8s;
}
.js .hero-logo .draw-2 {
  stroke-dasharray: 530;
  stroke-dashoffset: 530;
  animation-delay: 1s;
  animation-duration: 0.8s;
}
.js .hero-logo .draw-3 {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation-delay: 1.45s;
  animation-duration: 0.65s;
}
@keyframes draw-in { to { stroke-dashoffset: 0; } }

/* Die Seite, die sich baut */
.build-page {
  --acc: #8b5cf6;
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.js .bp-el {
  opacity: 0;
  transform: translateY(12px);
  animation: bp-in 0.55s var(--ease-out) forwards;
}
.js .bp-el-1 { animation-delay: 2.7s; }
.js .bp-el-2 { animation-delay: 2.9s; }
.js .bp-el-3 { animation-delay: 3.05s; }
.js .bp-el-4 { animation-delay: 3.5s; }
.js .bp-el-5 { animation-delay: 4.7s; }
.js .bp-el-6 { animation-delay: 5s; }
.js .bp-el-7 { animation-delay: 5.15s; }
.js .bp-el-8 { animation-delay: 5.3s; }
@keyframes bp-in { to { opacity: 1; transform: none; } }

.bp-nav { display: flex; align-items: center; gap: 0.7rem; }
.bp-logo { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; }
.bp-link { width: 36px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.bp-btn-mini {
  margin-left: auto;
  width: 62px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--acc);
  transition: background-color 0.7s var(--ease-out);
}

.bp-kicker {
  width: 92px;
  height: 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--acc) 55%, transparent);
  transition: background-color 0.7s var(--ease-out);
}

.bp-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  min-height: 1.35em;
}
.bp-caret {
  display: inline-block;
  width: 9px;
  height: 1.02em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: var(--acc);
  animation: caret-blink 1.1s steps(1) infinite;
  transition: background-color 0.7s var(--ease-out);
}

.bp-media {
  position: relative;
  aspect-ratio: 16 / 6.5;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(120% 170% at 18% 0%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.05);
  transition: background 0.7s var(--ease-out);
}
.bp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.075) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: bp-shimmer 3.4s var(--ease-in-out) 5.6s infinite;
}
@keyframes bp-shimmer { 55%, 100% { transform: translateX(100%); } }

.bp-row { display: flex; align-items: center; gap: 0.9rem; }
.bp-cta {
  display: inline-block;
  padding: 0.42rem 0.9rem;
  border-radius: 7px;
  background: var(--acc);
  color: #fff;
  font-size: 0.7rem;
  transition: background-color 0.7s var(--ease-out);
}
.bp-note { flex: 1; max-width: 42%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }

.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.bp-cards i {
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .js .build-frame { animation: none; opacity: 1; transform: none; }
  .build-splash { display: none; }
  .js .hero-logo .draw { animation: none; stroke-dashoffset: 0; }
  .js .bp-el { animation: none; opacity: 1; transform: none; }
  .bp-media::after { animation: none; }
  .bp-caret { animation: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; }
}


/* ============================================================
   SEKTIONEN
   ============================================================ */
.section { padding: clamp(5.5rem, 11vw, 9rem) 0; }
.section-alt { background: var(--bg-elev); border-block: 1px solid var(--line); }

.section-head { max-width: 620px; margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}
.section-lead {
  margin-top: 1.1rem;
  color: var(--ink-dim);
  font-size: 1.0625rem;
}

/* Anker unter fixiertem Header */
section[id], footer[id] { scroll-margin-top: 90px; }

/* ============================================================
   LEISTUNGEN (Showcase: Auswahl links, Live-Bühne rechts)
   ============================================================ */
.tags { margin-top: 0.8rem; color: var(--ink-mute); }

.svc-showcase {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.svc-tabs { grid-column: 1; grid-row: 1; display: grid; gap: 0.7rem; align-content: start; }
.svc-stage { grid-column: 2; grid-row: 1; }
@media (min-width: 901px) {
  .svc-stage { position: sticky; top: 100px; }
}
@media (max-width: 900px) {
  .svc-showcase { grid-template-columns: 1fr; }
  .svc-tabs, .svc-stage { grid-column: 1; }
  .svc-stage { grid-row: 1; margin-bottom: 0.4rem; }
  .svc-tabs { grid-row: 2; }
}

/* --- Auswahl-Kacheln --- */
.svc-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.svc-tab:hover { border-color: var(--line-strong); }
.svc-tab.is-active {
  border-color: rgba(139, 92, 246, 0.5);
  background:
    radial-gradient(360px circle at 8% 0%, rgba(109, 40, 237, 0.12), transparent 70%),
    var(--surface);
}
.svc-tab-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc-tab-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.svc-tab-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-mute);
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.svc-tab-arrow svg { width: 13px; height: 13px; }
.svc-tab:hover .svc-tab-arrow { border-color: var(--brand-bright); }
.svc-tab.is-active .svc-tab-arrow { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(2px); }
.svc-tab-hint { display: block; margin-top: 0.35rem; color: var(--ink-mute); font-size: 0.95rem; }

.svc-tab-more {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--ease-in-out), opacity 0.4s var(--ease-out), margin-top 0.4s var(--ease-out);
}
.svc-tab.is-active .svc-tab-more { max-height: 240px; opacity: 1; margin-top: 0.85rem; }
.svc-tab-text { display: block; color: var(--ink-dim); font-size: 0.95rem; max-width: 52ch; }
.svc-tab-more .tags { display: block; margin-top: 0.7rem; }

/* --- Live-Bühne (Browser-Frame) --- */
.svc-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 70px -30px rgba(109, 40, 237, 0.26);
}
.svc-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.72rem;
}
.svc-url { transition: opacity 0.3s var(--ease-out); }
.svc-viewport { position: relative; aspect-ratio: 16 / 12; }
@media (max-width: 900px) { .svc-viewport { aspect-ratio: 16 / 11; } }

.svc-scene {
  position: absolute;
  inset: 0;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0.45s;
}
.svc-scene.is-on { opacity: 1; visibility: visible; transform: none; }
.svc-scene > * { height: 100%; display: flex; flex-direction: column; gap: clamp(0.5rem, 1.6vw, 0.85rem); }

/* Gemeinsame Bausteine */
.sc-nav { display: flex; align-items: center; gap: 0.6rem; }
.sc-logo { width: 20px; height: 20px; border-radius: 6px; background: var(--brand); flex-shrink: 0; }
.sc-nl { width: 34px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.sc-pill { margin-left: auto; width: 60px; height: 20px; border-radius: 999px; background: var(--brand); }
.sc-media {
  flex: 1;
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(120% 160% at 15% 0%, rgba(139, 92, 246, 0.3), transparent 60%), rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.sc-media-sm { flex: none; height: 68px; }
.sc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  transform: translateX(-100%);
}
.svc-scene.is-on .sc-media::after { animation: bp-shimmer 3.4s var(--ease-in-out) 0.6s infinite; }

/* Szene 1: Website */
.sc-h1 { height: 16px; width: 70%; border-radius: 5px; background: rgba(255, 255, 255, 0.26); }
.sc-h1b { width: 46%; }
.sc-row { display: flex; align-items: center; gap: 0.8rem; }
.sc-cta { display: inline-block; padding: 0.42rem 0.85rem; border-radius: 7px; background: var(--brand); color: #fff; font-size: 0.7rem; }
.svc-scene.is-on .sc-cta { animation: wp-pulse 2.8s ease-in-out infinite; }
.sc-note { flex: 1; max-width: 45%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.sc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-cards i { height: 38px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }

/* Szene 2: CMS live bearbeiten */
.sc-cms-live { min-height: 1.8em; }
.sc-cms-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.sc-cms-caret2 { display: inline-block; width: 8px; height: 1em; margin-left: 2px; vertical-align: text-bottom; background: var(--brand-bright); }
.svc-scene.is-on .sc-cms-caret2 { animation: caret-blink 1.1s steps(1) infinite; }
.sc-edit { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); flex: none; }
.sc-edit-label { color: var(--ink-mute); font-size: 0.66rem; text-transform: uppercase; }
.sc-input {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--brand-bright);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.sc-typed { color: var(--ink); font-size: 0.9rem; white-space: nowrap; overflow: hidden; }
.sc-caret { width: 7px; height: 15px; background: var(--brand-bright); margin-left: 1px; flex-shrink: 0; }
.svc-scene.is-on .sc-caret { animation: caret-blink 1.1s steps(1) infinite; }
.sc-save { align-self: flex-start; padding: 0.32rem 0.75rem; border-radius: 6px; background: var(--brand); color: #fff; font-size: 0.7rem; }

/* Szene 3: Redesign vorher/nachher */
.sc-redesign { position: relative; display: block; }
.sc-old, .sc-new { position: absolute; inset: 0; padding: 2.5rem clamp(1rem, 2.4vw, 1.4rem) clamp(1rem, 2.4vw, 1.4rem); display: flex; flex-direction: column; gap: 8px; }
.sc-old { background: #141419; }
.sco-bar { height: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); width: 90%; }
.sco-bar:nth-child(2) { width: 66%; }
.sco-bar:nth-child(3) { width: 78%; }
.sco-bar:nth-child(5) { width: 60%; }
.sco-bar:nth-child(6) { width: 84%; }
.sco-block { flex: 1; min-height: 44px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.sc-new { background: var(--surface); clip-path: inset(0 100% 0 0); }
.svc-scene.is-on .sc-new { animation: sc-reveal 5s var(--ease-in-out) infinite; }
.scn-nav { display: flex; justify-content: space-between; align-items: center; }
.scn-nav span { width: 18px; height: 18px; border-radius: 6px; background: var(--brand); }
.scn-nav i { width: 44px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.scn-h { height: 16px; width: 64%; border-radius: 5px; background: rgba(255, 255, 255, 0.28); }
.scn-media { flex: 1; min-height: 44px; border-radius: 10px; background: radial-gradient(120% 160% at 15% 0%, rgba(139, 92, 246, 0.3), transparent 60%), rgba(255, 255, 255, 0.05); }
.scn-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scn-cards i { height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }
.sc-wipe { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--brand-bright); box-shadow: 0 0 14px rgba(139, 92, 246, 0.7); }
.svc-scene.is-on .sc-wipe { animation: sc-wipe-line 5s var(--ease-in-out) infinite; }
.sc-tag { position: absolute; top: 0.7rem; padding: 0.16rem 0.5rem; border-radius: 999px; font-size: 0.62rem; z-index: 2; }
.sc-tag-old { left: 0.9rem; background: rgba(255, 255, 255, 0.1); color: var(--ink-mute); }
.sc-tag-new { right: 0.9rem; background: var(--brand); color: #fff; }
@keyframes sc-reveal {
  0% { clip-path: inset(0 100% 0 0); }
  42%, 58% { clip-path: inset(0 6% 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}
@keyframes sc-wipe-line {
  0% { left: 0%; }
  42%, 58% { left: 94%; }
  100% { left: 0%; }
}

/* Szene 4: Einmaliges Setup, Uebergabe */
.sc-setup-top { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.sc-setup-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.sc-setup-badge {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Zeilen teilen sich die Hoehe, damit die Szene den Rahmen fuellt */
.sc-setup-list { flex: 1; display: flex; flex-direction: column; }
.sc-setup-list > span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.86rem;
}
.sc-setup-list b { font-weight: 400; }
.sc-setup-ok {
  margin-left: auto;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sc-check { width: 15px; height: 15px; flex-shrink: 0; color: #10b981; }
.sc-setup-card {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(139, 92, 246, 0.22), transparent 62%),
    rgba(255, 255, 255, 0.03);
}
.sc-setup-big { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.sc-setup-sub { color: var(--ink-dim); font-size: 0.72rem; }
.svc-scene.is-on .sc-setup-list > span { animation: sc-tick 0.5s var(--ease-out) both; }
.sc-setup-list > span:nth-child(1) { animation-delay: 0.1s; }
.sc-setup-list > span:nth-child(2) { animation-delay: 0.25s; }
.sc-setup-list > span:nth-child(3) { animation-delay: 0.4s; }
.sc-setup-list > span:nth-child(4) { animation-delay: 0.55s; }
.svc-scene.is-on .sc-setup-card { animation: sc-tick 0.5s var(--ease-out) 0.72s both; }
@keyframes sc-tick {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-scene { transition: opacity 0.2s; transform: none; }
  .svc-scene.is-on .sc-media::after,
  .svc-scene.is-on .sc-cta,
  .svc-scene.is-on .sc-caret,
  .svc-scene.is-on .sc-cms-caret2,
  .svc-scene.is-on .sc-new,
  .svc-scene.is-on .sc-wipe,
  .svc-scene.is-on .sc-setup-list > span,
  .svc-scene.is-on .sc-setup-card { animation: none; }
  /* Ohne Bewegung muss der Standbild-Zustand die Aussage selbst tragen. */
  /* Szene 3: fester Split, links alt, rechts neu, Trennlinie dazwischen. */
  .sc-new { clip-path: inset(0 0 0 45%); }
  .sc-wipe { left: 45%; }
  .svc-tab-more { transition: none; }
}

/* ============================================================
   LIVE-DEMOS (Bento)
   ============================================================ */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.demo-a { grid-column: span 7; }
.demo-b { grid-column: span 5; }
.demo-c { grid-column: span 5; }
.demo-d { grid-column: span 7; }

@media (max-width: 980px) {
  .demo-a, .demo-b, .demo-c, .demo-d { grid-column: span 12; }
}

.demo-card {
  position: relative;
  min-height: 280px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out);
}
.demo-card:hover { border-color: var(--line-strong); }
.demo-card-flush { padding: 0; }

.demo-caption {
  margin-top: 0.9rem;
  padding-inline: 0.35rem;
  font-size: 0.925rem;
  color: var(--ink-mute);
  max-width: 60ch;
}
.demo-caption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* --- Demo A: Buttons --- */
.demo-stage-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.8rem);
  padding: 2rem;
}

.btn-hold {
  position: relative;
  overflow: hidden;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform 0.16s var(--ease-out), border-color 0.2s var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.btn-hold:active { transform: scale(0.97); }
.hold-fill {
  position: absolute;
  inset: 0;
  background: #dc2626;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.2s var(--ease-out);
}
.btn-hold.is-holding .hold-fill {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.4s linear;
}
.btn-hold.is-done { border-color: #dc2626; }
.btn-hold.is-done .hold-fill { clip-path: inset(0 0 0 0); transition: none; }
.hold-text { position: relative; }

.demo-toggle {
  position: relative;
  width: 58px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.demo-toggle[aria-checked="true"] { background: var(--brand); border-color: var(--brand); }
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease-drawer);
}
.demo-toggle[aria-checked="true"] .toggle-knob { transform: translateX(26px); }

/* --- Demo B: Spotlight / Tilt --- */
.tilt-wrap {
  display: grid;
  place-items: center;
  padding: 2rem;
  perspective: 900px;
}
.tilt-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  width: min(100%, 300px);
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(240px circle at var(--mx) var(--my), rgba(139, 92, 246, 0.14), transparent 65%),
    var(--surface-2);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  will-change: transform;
}
.tilt-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(200px circle at var(--mx) var(--my), rgba(185, 166, 255, 0.55), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.tilt-tag { color: var(--brand-text); margin-bottom: 0.7rem; }
.tilt-card h4 { font-size: 1.3rem; }
.tilt-price {
  margin-top: 0.4rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.tilt-price .mono { font-size: 1.35rem; letter-spacing: 0; }
.tilt-from { font-size: 0.85rem; color: var(--ink-mute); font-weight: 400; }
.tilt-desc {
  margin-top: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

/* --- Demo C: Befehls-Suche --- */
.cmd {
  align-self: center;
  width: 100%;
  padding: 1.6rem;
}
.cmd-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--ink);
  min-height: 46px;
}
.cmd-input svg { width: 15px; height: 15px; color: var(--ink-mute); flex-shrink: 0; }
/* Hoehere Spezifitaet als input[type="text"], sonst gewinnt das Formular-CSS */
.cmd-input .cmd-query {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: inherit;
  white-space: nowrap;
  overflow: hidden;
  outline: none;
  box-shadow: none;
}
.cmd-input .cmd-query:hover,
.cmd-input .cmd-query:focus,
.cmd-input .cmd-query:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}
.cmd-input .cmd-query::placeholder { color: var(--ink-mute); opacity: 1; }
.cmd-input { cursor: text; transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); }
.cmd-input:focus-within { border-color: var(--brand-bright); box-shadow: 0 0 0 3px var(--brand-soft); }
.cmd-input:focus-within .cmd-caret { display: none; }
.cmd-caret {
  width: 8px;
  height: 16px;
  background: var(--brand-bright);
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cmd-caret { animation: none; }
}

.cmd-list { margin-top: 0.7rem; display: grid; gap: 0.35rem; }
.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.cmd-item .mono { color: var(--ink-mute); font-size: 0.72rem; }
.cmd-item.is-top { border-color: rgba(139, 92, 246, 0.5); color: var(--ink); }
.cmd-item.is-dim { opacity: 0.32; }

/* --- Demo D: Theme-Mixer --- */
.mixer {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.2rem;
  padding: 1.4rem;
  align-items: stretch;
}
@media (max-width: 640px) {
  .mixer { grid-template-columns: 1fr; }
}

.mixer-preview {
  --acc: #8b5cf6;
  --rad: 10px;
  --pf: var(--font-sans);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mp-chrome {
  display: flex;
  gap: 5px;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.mp-chrome span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.mp-body { padding: 1rem; font-family: var(--pf); flex: 1; }
.mp-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.mp-logo {
  width: 18px; height: 18px;
  border-radius: calc(var(--rad) * 0.5);
  background: var(--acc);
  transition: background-color 0.3s var(--ease-out), border-radius 0.3s var(--ease-out);
}
.mp-link {
  width: 34px; height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}
.mp-btn {
  margin-left: auto;
  padding: 0.25rem 0.6rem;
  border-radius: var(--rad);
  background: var(--acc);
  color: #fff;
  font-size: 0.62rem;
  transition: background-color 0.3s var(--ease-out), border-radius 0.3s var(--ease-out);
}
.mp-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mp-text { margin-top: 0.35rem; font-size: 0.78rem; color: var(--ink-mute); max-width: 30ch; }
.mp-cta {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--rad);
  border: 1px solid var(--acc);
  color: var(--acc);
  font-size: 0.7rem;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), border-radius 0.3s var(--ease-out);
}

.mixer-controls {
  display: grid;
  gap: 1.1rem;
  align-content: center;
}
.mixer-controls input[type="text"] {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}
.mixer-group > .mono,
.mixer-group legend.mono,
.mixer-group label.mono {
  display: block;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.swatches { display: flex; gap: 0.5rem; }
.swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.swatch:hover { transform: scale(1.12); }
.swatch:active { transform: scale(0.95); }
.swatch.is-active { border-color: #fff; }

input[type="range"] {
  width: 100%;
  accent-color: var(--brand-bright);
}

.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.seg-btn {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.1); }

/* ============================================================
   REFERENZEN
   ============================================================ */
.work-list {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.work-item:nth-child(even) .work-preview { order: 2; }
@media (max-width: 860px) {
  .work-item { grid-template-columns: 1fr; }
  .work-item:nth-child(even) .work-preview { order: 0; }
}
/* Steht das Mockup rechts, muessen die Spaltenbreiten mitwandern —
   sonst erbt der Text die breite Spalte und das Mockup schrumpft. */
@media (min-width: 861px) {
  .work-item:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.work-preview {
  display: block;
  container-type: inline-size;
  contain: layout paint style;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.work-preview:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.wp-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.72rem;
}
.wp-dots { display: flex; gap: 4px; }
.wp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }

/* Mini-Screenshot der echten Projekte: eigene Palette je Marke */
.wp-shot {
  aspect-ratio: 16 / 10.5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  gap: 0;
  font-size: 2.15cqw;
}
.wp-shot i, .wp-shot em, .wp-shot u, .wp-shot s { font-style: normal; }
.wp-shot u { text-decoration: none; }
.wp-shot b, .wp-shot em, .wp-shot span, .wp-shot p { line-height: 1.2; }

/* ---------- 1 Nordholz: Papier + Tannengruen, Second Hand ---------- */
.wp1 { background: #f4f1ea; color: #33352c; }
.wp1-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; border-bottom: 1px solid rgba(51,53,44,0.12); }
.wp1-logo { font-weight: 700; font-size: 1.12em; letter-spacing: -0.02em; }
.wp1-logo b { color: #2f5d4b; font-weight: 700; }
.wp1-links { display: flex; gap: 1.2em; margin-left: auto; color: #6c6e60; font-size: 0.82em; }
.wp1-save { padding: 0.42em 0.9em; border-radius: 999px; border: 1px solid rgba(51,53,44,0.22); font-size: 0.76em; }
.wp1-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2em; align-items: center; padding: 1.1em 1.5em 0.9em; }
.wp1-copy { display: flex; flex-direction: column; gap: 0.55em; }
.wp1-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.14em; text-transform: uppercase; color: #2f5d4b; }
.wp1-h { font-size: 2.15em; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.wp1-sub { font-size: 0.82em; color: #6c6e60; }
.wp1-row { display: flex; gap: 0.5em; margin-top: 0.2em; }
.wp1-row b { padding: 0.5em 0.95em; border-radius: 0.35em; font-size: 0.76em; font-weight: 600; }
.wp1-b1 { background: #2f5d4b; color: #f4f1ea; }
.wp1-b2 { border: 1px solid rgba(51,53,44,0.25); }
.wp1-stage {
  position: relative; align-self: stretch; display: grid; place-items: center; border-radius: 0.5em;
  background: radial-gradient(70% 70% at 50% 58%, rgba(47,93,75,0.12), transparent 72%), #ece7db;
}
.wp1-art { width: 82%; height: auto; }
.wp1-tag {
  position: absolute; bottom: 0.7em; right: 0.7em; padding: 0.32em 0.65em; border-radius: 0.3em;
  background: #33352c; color: #f4f1ea; font-family: var(--font-mono); font-size: 0.64em;
}
.wp1-shelf { flex: none; padding: 0.7em 1.5em 0.9em; background: #ece7db; border-top: 1px solid rgba(51,53,44,0.1); }
.wp1-filter { display: flex; gap: 0.35em; margin-bottom: 0.6em; }
.wp1-filter b {
  padding: 0.24em 0.65em; border-radius: 999px; border: 1px solid rgba(51,53,44,0.16);
  font-weight: 400; font-size: 0.7em; color: #6c6e60;
}
.wp1-filter b.is-on { background: #2f5d4b; border-color: #2f5d4b; color: #f4f1ea; }
.wp1-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; }
.wp1-grid figure { margin: 0; display: flex; align-items: center; gap: 0.5em; padding: 0.45em 0.55em; border-radius: 0.45em; background: #f8f6f0; border: 1px solid rgba(51,53,44,0.08); }
.wp1-grid figure i { flex: none; width: 2em; height: 2em; border-radius: 0.3em; }
.wp1-grid i.a { background: linear-gradient(150deg, #c8a878, #9a7c52); }
.wp1-grid i.b { background: linear-gradient(150deg, #b9c2ad, #86957c); }
.wp1-grid i.c { background: linear-gradient(150deg, #d8b7a0, #a8846b); }
.wp1-grid figure span { display: flex; flex-direction: column; gap: 0.1em; min-width: 0; margin-right: auto; }
.wp1-grid em { font-size: 0.78em; font-weight: 600; }
.wp1-grid u { font-size: 0.62em; color: #4f8a5f; }
.wp1-grid strong { font-size: 0.8em; font-weight: 700; color: #2f5d4b; }

/* ---------- 2 Rohform: Schwarz + Signalgelb, Streetwear ---------- */
.wp2 { background: #0c0c0b; color: #f2f2f0; }
.wp2-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; border-bottom: 1px solid rgba(255,255,255,0.1); }
.wp2-logo { font-weight: 700; font-size: 1.05em; letter-spacing: 0.06em; }
.wp2-logo b { color: #e3c500; font-weight: 700; }
.wp2-links { display: flex; gap: 1.2em; margin-left: auto; color: #8f8f89; font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.06em; }
.wp2-bag { font-family: var(--font-mono); font-size: 0.74em; color: #e3c500; }
.wp2-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2em; align-items: center; padding: 1em 1.5em 0.8em; }
.wp2-copy { display: flex; flex-direction: column; gap: 0.6em; }
.wp2-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.16em; text-transform: uppercase; color: #e3c500; }
.wp2-h { font-size: 2.85em; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; }
.wp2-row { display: flex; align-items: center; gap: 0.7em; margin-top: 0.2em; }
.wp2-cta { padding: 0.55em 1.05em; border-radius: 0.2em; background: #e3c500; color: #0c0c0b; font-size: 0.78em; font-weight: 700; }
.wp2-row em { font-family: var(--font-mono); font-size: 0.68em; color: #8f8f89; }
.wp2-stage {
  position: relative; align-self: stretch; display: grid; place-items: center; border-radius: 0.4em;
  background: radial-gradient(65% 65% at 50% 50%, rgba(227,197,0,0.14), transparent 72%), #161614;
}
.wp2-art { width: 76%; height: auto; }
.wp2-badge {
  position: absolute; top: 0.7em; left: 0.7em; padding: 0.3em 0.6em;
  background: #e3c500; color: #0c0c0b; font-family: var(--font-mono); font-size: 0.62em; font-weight: 700;
  letter-spacing: 0.1em; transform: rotate(-4deg);
}
.wp2-rail { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; padding: 0.7em 1.5em 0.9em; border-top: 1px solid rgba(255,255,255,0.1); }
.wp2-rail figure { margin: 0; display: flex; align-items: center; gap: 0.5em; }
.wp2-rail figure i { flex: none; width: 2.1em; height: 2.1em; border-radius: 0.25em; }
.wp2-rail i.a { background: linear-gradient(150deg, #3a3a34, #1d1d1a); }
.wp2-rail i.b { background: linear-gradient(150deg, #2c3a4a, #171d24); }
.wp2-rail i.c { background: linear-gradient(150deg, #e3c500, #7d6d00); }
.wp2-rail figure span { display: flex; flex-direction: column; gap: 0.08em; min-width: 0; }
.wp2-rail em { font-size: 0.74em; font-weight: 600; }
.wp2-rail u { font-size: 0.7em; color: #e3c500; }
.wp2-sz { margin-left: auto; font-family: var(--font-mono); font-size: 0.6em; color: #8f8f89; letter-spacing: 0.06em; }
.wp2-sz s { opacity: 0.35; }

/* ---------- 3 Safran: Tiefgruen + Messing, Restaurant ---------- */
.wp3 { background: #0f1714; color: #f2ece0; }
.wp3-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; border-bottom: 1px solid rgba(242,236,224,0.12); }
.wp3-logo { font-size: 1.15em; font-weight: 600; letter-spacing: 0.06em; color: #d9a94f; }
.wp3-links { display: flex; gap: 1.2em; margin-left: auto; color: #a8b3a6; font-size: 0.82em; }
.wp3-btn { padding: 0.42em 0.95em; border-radius: 999px; border: 1px solid #d9a94f; color: #d9a94f; font-size: 0.76em; font-weight: 600; }
.wp3-hero {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2em; align-items: center; padding: 1.1em 1.5em 0.9em;
  background: radial-gradient(85% 110% at 88% 40%, rgba(217,169,79,0.12), transparent 62%);
}
.wp3-copy { display: flex; flex-direction: column; gap: 0.55em; }
.wp3-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.16em; text-transform: uppercase; color: #d9a94f; }
.wp3-h { font-size: 2.05em; font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.wp3-sub { font-size: 0.82em; color: #a8b3a6; }
.wp3-row { display: flex; align-items: center; gap: 0.7em; margin-top: 0.2em; }
.wp3-cta { padding: 0.52em 1em; border-radius: 0.35em; background: #d9a94f; color: #0f1714; font-size: 0.78em; font-weight: 700; }
.wp3-row em { display: flex; align-items: center; gap: 0.4em; font-family: var(--font-mono); font-size: 0.68em; color: #a8b3a6; }
.wp3-dot { width: 0.5em; height: 0.5em; border-radius: 50%; background: #6fb387; }
.wp3-stage {
  align-self: stretch; display: grid; place-items: center;
  background: radial-gradient(52% 46% at 50% 58%, rgba(0,0,0,0.45), transparent 70%);
}
.wp3-art { width: 88%; height: auto; }
.wp3-card { flex: none; padding: 0.75em 1.5em 0.95em; background: #131d19; border-top: 1px solid rgba(242,236,224,0.1); }
.wp3-sec { display: block; margin-bottom: 0.5em; font-family: var(--font-mono); font-size: 0.66em; letter-spacing: 0.14em; text-transform: uppercase; color: #8a9a8c; }
.wp3-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3em 1.6em; }
.wp3-menu span { display: flex; align-items: baseline; gap: 0.5em; font-size: 0.8em; }
.wp3-menu b { font-weight: 400; color: #f2ece0; }
.wp3-menu i { flex: 1; height: 0; border-bottom: 1px dotted rgba(242,236,224,0.3); }
.wp3-menu em { font-family: var(--font-mono); color: #d9a94f; font-size: 0.86em; }

/* ================================================================
   4-6: vollstaendige Mini-Seiten, randlos wie echte Screenshots.
   Schriftgroesse in cqw, damit alles mit der Kachel skaliert.
   ================================================================ */

/* ---------- 4 Pinselwerk: Atelier, warm und handgemacht ---------- */
.wp4 { background: #fbf6ec; color: #2a211a; }
.wp4-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; border-bottom: 1px solid rgba(42,33,26,0.1); }
.wp4-logo { font-weight: 700; font-size: 1.15em; letter-spacing: -0.02em; }
.wp4-logo b { color: #d9603b; font-weight: 700; }
.wp4-links { display: flex; gap: 1.2em; margin-left: auto; color: #6b5d4f; font-size: 0.82em; }
.wp4-btn { padding: 0.45em 1em; border-radius: 999px; background: #2a211a; color: #fbf6ec; font-size: 0.8em; font-weight: 600; }
.wp4-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4em; align-items: center; padding: 1.2em 1.5em 1em; }
.wp4-copy { display: flex; flex-direction: column; gap: 0.55em; }
.wp4-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.14em; text-transform: uppercase; color: #d9603b; }
.wp4-h { font-size: 2.15em; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.wp4-sub { font-size: 0.86em; color: #6b5d4f; }
.wp4-row { display: flex; gap: 0.5em; margin-top: 0.2em; }
.wp4-row b { padding: 0.5em 1em; border-radius: 999px; font-size: 0.78em; font-weight: 600; }
.wp4-b1 { background: #d9603b; color: #ffffff; }
.wp4-b2 { border: 1px solid rgba(42,33,26,0.25); }
.wp4-rate { display: flex; align-items: center; gap: 0.5em; margin-top: 0.15em; font-size: 0.74em; color: #6b5d4f; }
.wp4-rate svg { width: 5.2em; height: 1em; color: #e0a53a; flex: none; }
.wp4-art { align-self: stretch; display: grid; place-items: center; }
.wp4-canvas {
  position: relative; width: 100%; aspect-ratio: 4 / 3.2; overflow: hidden;
  border-radius: 0.3em; background: #f1e4cc; border: 0.4em solid #b98a5a;
  box-shadow: 0 0.3em 0.6em rgba(80,50,20,0.26); transform: rotate(-2deg);
}
.wp4-blob { position: absolute; mix-blend-mode: multiply; }
.wp4-blob.a { width: 58%; height: 62%; left: 6%; top: 10%; background: #d9603b; opacity: 0.85; border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; }
.wp4-blob.b { width: 46%; height: 52%; right: 4%; top: 6%; background: #e0a53a; opacity: 0.8; border-radius: 45% 55% 40% 60% / 55% 45% 58% 42%; }
.wp4-blob.c { width: 52%; height: 44%; left: 30%; bottom: 4%; background: #7fa889; opacity: 0.85; border-radius: 55% 45% 62% 38% / 42% 60% 40% 58%; }
.wp4-blob.d { width: 18%; height: 22%; left: 16%; bottom: 12%; background: #2e5a86; opacity: 0.8; border-radius: 50%; }
.wp4-courses { flex: none; padding: 0.8em 1.5em 1em; background: #f4ebda; border-top: 1px solid rgba(42,33,26,0.08); }
.wp4-sec { display: block; margin-bottom: 0.55em; font-family: var(--font-mono); font-size: 0.66em; letter-spacing: 0.14em; text-transform: uppercase; color: #6b5d4f; }
.wp4-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7em; }
.wp4-list > span { display: flex; align-items: center; gap: 0.6em; padding: 0.5em 0.6em; border-radius: 0.5em; background: #fffdf8; border: 1px solid rgba(42,33,26,0.08); }
.wp4-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 2.3em; height: 2.3em; border-radius: 0.4em; background: #2a211a; color: #fbf6ec;
  font-size: 0.82em; font-weight: 700; line-height: 1;
}
.wp4-date u { text-decoration: none; margin-top: 0.15em; font-size: 0.58em; font-weight: 500; letter-spacing: 0.08em; color: #e0a53a; }
.wp4-ct { display: flex; flex-direction: column; gap: 0.15em; min-width: 0; }
.wp4-ct em { font-size: 0.8em; font-weight: 600; }
.wp4-ct i { font-size: 0.66em; color: #4f8a5f; }

/* ---------- 5 Klarblick: Optiker, klar und praezise ---------- */
.wp5 { background: #f6f8fb; color: #0f2238; }
.wp5-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; background: #ffffff; border-bottom: 1px solid rgba(15,34,56,0.08); }
.wp5-logo { display: flex; align-items: center; gap: 0.45em; font-weight: 700; font-size: 1.1em; letter-spacing: -0.02em; }
.wp5-logo svg { width: 1.9em; height: 0.9em; color: #1f7ae0; }
.wp5-links { display: flex; gap: 1.2em; margin-left: auto; color: #52637a; font-size: 0.82em; }
.wp5-btn { padding: 0.45em 1em; border-radius: 0.45em; background: #1f7ae0; color: #ffffff; font-size: 0.8em; font-weight: 600; }
.wp5-hero {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.6em; align-items: center; padding: 1.2em 1.5em;
  background: radial-gradient(90% 120% at 100% 0%, rgba(31,122,224,0.1), transparent 60%);
}
.wp5-copy { display: flex; flex-direction: column; gap: 0.6em; }
.wp5-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.14em; text-transform: uppercase; color: #1f7ae0; }
.wp5-h { font-size: 2.1em; font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.wp5-h b { color: #1f7ae0; font-weight: 700; }
.wp5-sub { font-size: 0.86em; color: #52637a; }
.wp5-checks { display: flex; flex-direction: column; gap: 0.35em; margin-top: 0.2em; }
.wp5-checks span { display: flex; align-items: center; gap: 0.45em; font-size: 0.78em; color: #33465d; }
.wp5-checks svg { width: 1em; height: 1em; color: #1f7ae0; flex: none; }
.wp5-card {
  display: flex; flex-direction: column; gap: 0.75em; padding: 1em 1.1em; border-radius: 0.8em; background: #ffffff;
  box-shadow: 0 0.35em 0.7em rgba(15,34,56,0.16), 0 0 0 1px rgba(15,34,56,0.06);
}
.wp5-card-h { display: flex; align-items: baseline; justify-content: space-between; }
.wp5-card-h b { font-size: 0.95em; font-weight: 700; }
.wp5-card-h em { font-size: 0.72em; color: #52637a; }
.wp5-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35em; }
.wp5-days span {
  display: flex; flex-direction: column; align-items: center; gap: 0.15em; padding: 0.45em 0;
  border-radius: 0.5em; border: 1px solid rgba(15,34,56,0.1); font-size: 0.86em; font-weight: 600;
}
.wp5-days u { text-decoration: none; font-size: 0.7em; font-weight: 500; color: #7a8aa0; }
.wp5-days span.is-on { background: #1f7ae0; border-color: #1f7ae0; color: #ffffff; }
.wp5-days span.is-on u { color: rgba(255,255,255,0.8); }
.wp5-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35em; }
.wp5-slots b {
  padding: 0.42em 0; text-align: center; border-radius: 0.45em; border: 1px solid rgba(15,34,56,0.12);
  font-family: var(--font-mono); font-weight: 400; font-size: 0.74em; color: #33465d;
}
.wp5-slots b.is-on { border-color: #1f7ae0; background: rgba(31,122,224,0.1); color: #1f7ae0; font-weight: 600; }
.wp5-slots b.is-off { color: #b3bdca; text-decoration: line-through; }
.wp5-confirm { padding: 0.6em; border-radius: 0.5em; background: #0f2238; color: #ffffff; text-align: center; font-size: 0.8em; font-weight: 600; }
.wp5-strip { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #0f2238; color: #dbe6f3; }
.wp5-strip span { display: flex; align-items: center; gap: 0.6em; padding: 0.95em 1.5em; font-size: 0.78em; border-right: 1px solid rgba(255,255,255,0.08); }
.wp5-strip span:last-child { border-right: 0; }
.wp5-strip b { color: #ffffff; font-weight: 600; }
.wp5-strip svg { width: 1.3em; height: 1.3em; color: #5aa6ff; flex: none; }

/* ---------- 6 Radschlag: Werkstatt, industriell und direkt ---------- */
.wp6 { background: #141517; color: #f0efea; }
.wp6-nav { flex: none; display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.5em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.wp6-logo { font-weight: 700; font-size: 1.1em; letter-spacing: 0.04em; }
.wp6-logo b { color: #ff6b1a; font-weight: 700; }
.wp6-links { display: flex; gap: 1.2em; margin-left: auto; color: #9c9b95; font-size: 0.82em; }
.wp6-open { display: flex; align-items: center; gap: 0.4em; padding: 0.4em 0.8em; border-radius: 999px; background: rgba(127,212,160,0.12); color: #7fd4a0; font-size: 0.74em; }
.wp6-open i { width: 0.5em; height: 0.5em; border-radius: 50%; background: #7fd4a0; }
.wp6-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 1em; align-items: center; padding: 1.1em 1.5em 0.8em; }
.wp6-copy { display: flex; flex-direction: column; gap: 0.6em; }
.wp6-kick { font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.16em; text-transform: uppercase; color: #9c9b95; }
.wp6-h { font-size: 2.3em; font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; }
.wp6-h b { color: #ff6b1a; font-weight: 700; }
.wp6-row { display: flex; align-items: center; gap: 0.7em; margin-top: 0.2em; }
.wp6-cta { padding: 0.55em 1.05em; border-radius: 0.3em; background: #ff6b1a; color: #141517; font-size: 0.8em; font-weight: 700; }
.wp6-row em { font-family: var(--font-mono); font-size: 0.7em; color: #9c9b95; }
.wp6-visual {
  position: relative; align-self: stretch; display: grid; place-items: center; border-radius: 0.6em;
  background: radial-gradient(70% 70% at 50% 62%, rgba(255,107,26,0.18), transparent 70%), #1c1d20;
}
.wp6-bike { width: 86%; height: auto; }
.wp6-badge {
  position: absolute; top: 0.8em; right: 0.8em; padding: 0.35em 0.7em; border-radius: 0.3em;
  background: #f0efea; color: #141517; font-family: var(--font-mono); font-size: 0.66em; font-weight: 600; transform: rotate(4deg);
}
.wp6-prices { flex: none; padding: 0.2em 1.5em 0.8em; }
.wp6-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6em; }
.wp6-table span { display: grid; grid-template-columns: 1fr auto auto; gap: 0.8em; align-items: baseline; padding: 0.5em 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82em; }
.wp6-table b { font-weight: 500; color: #d8d7d1; }
.wp6-table em { font-family: var(--font-mono); font-size: 0.8em; color: #75746f; }
.wp6-table strong { color: #ff6b1a; font-weight: 700; }
.wp6-foot { flex: none; display: flex; justify-content: space-between; gap: 1em; padding: 0.7em 1.5em; background: #ff6b1a; color: #141517; font-family: var(--font-mono); font-size: 0.7em; font-weight: 600; }

.work-info h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; }
.work-info p:not(.tags) { margin-top: 0.7rem; color: var(--ink-dim); max-width: 44ch; }

/* --- Previews leben: dezente, GPU-guenstige Micro-Loops --- */
@keyframes wp-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
@keyframes wp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.68; } }
@keyframes wp-shift { from { opacity: 0.55; } to { opacity: 1; } }

.wp1-b1 { animation: wp-pulse 2.8s ease-in-out infinite; }
.wp2-cta { animation: wp-pulse 2.8s ease-in-out infinite; }
.wp2-badge { animation: wp-fade 3.6s ease-in-out infinite; }
.wp3-dot { animation: wp-pulse 2.2s ease-in-out infinite; }
.wp4-b1 { animation: wp-pulse 2.8s ease-in-out infinite; }
.wp5-slots b.is-on { animation: wp-pulse 2.6s ease-in-out infinite; }
.wp6-open i { animation: wp-pulse 2.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .wp1-b1, .wp2-cta, .wp2-badge, .wp3-dot,
  .wp4-b1, .wp5-slots b.is-on, .wp6-open i { animation: none; }
}

/* --- Sticky-Stack: Referenzen schieben sich übereinander (Desktop) --- */
@media (min-width: 861px) {
  .work-list { display: block; }
  .work-item {
    position: sticky;
    top: 108px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 2.6rem 0 3.2rem;
    transform-origin: 50% 0;
    will-change: transform;
  }
  .work-item:first-of-type { border-top: 0; }
}

/* ============================================================
   PROZESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
}
.section-head-sticky { margin-bottom: 0; }
@media (min-width: 861px) {
  .section-head-sticky { position: sticky; top: 110px; }
}

.process-list {
  position: relative;
  display: grid;
  --node: 46px;
  --pad: 1.7rem;
}
@media (max-width: 560px) {
  .process-list { --node: 38px; --pad: 1.4rem; }
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) 1fr;
  gap: clamp(1.1rem, 3vw, 1.9rem);
  padding: var(--pad) 0;
}

/* Schiene: durchgehende Rille, zentriert auf den Knoten */
.process-step::before,
.process-step::after {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 1.5px);
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
}
.process-step::before { background: var(--line); }
/* Violette Füllung wächst pro Schritt beim Scrollen nach unten */
.process-step::after {
  background: linear-gradient(180deg, var(--brand-bright), var(--brand));
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.6s var(--ease-out);
}
.process-step.is-past::after { transform: scaleY(1); }
/* Enden der Schiene sauber am ersten/letzten Knoten */
.process-step:first-child::before,
.process-step:first-child::after { top: calc(var(--pad) + var(--node) / 2); }
.process-step:last-child::before,
.process-step:last-child::after { bottom: calc(100% - var(--pad) - var(--node) / 2); }

/* Knoten mit Nummer, sitzt auf der Schiene */
.step-node {
  position: relative;
  z-index: 1;
  width: var(--node);
  height: var(--node);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  align-self: start;
  transition: border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.step-num {
  font-size: 0.82rem;
  color: var(--ink-mute);
  transition: color 0.4s var(--ease-out);
}
.process-step.is-past .step-node {
  border-color: var(--brand-bright);
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(109, 40, 237, 0.12);
}
.process-step.is-past .step-num { color: var(--brand-text); }

.step-body { padding-top: calc(var(--node) / 2 - 0.85em); }
.process-step h3 { font-size: 1.3rem; font-weight: 600; }
.process-step p:not(.step-time) { margin-top: 0.5rem; color: var(--ink-dim); max-width: 52ch; }
.step-time { margin-top: 0.7rem; color: var(--ink-mute); }

@media (prefers-reduced-motion: reduce) {
  .process-step::after { transition: none; }
}

/* ============================================================
   PREISE (Wert-Panel + Plan-Zeilen)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
}

/* --- Wert-Panel: was immer dabei ist + Risiko-Umkehr --- */
.pricing-aside {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background:
    radial-gradient(360px circle at 50% 0%, rgba(109, 40, 237, 0.1), transparent 70%),
    var(--surface);
}
@media (min-width: 901px) {
  .pricing-aside { position: sticky; top: 110px; }
}
.pricing-aside-kick {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pricing-incl { display: grid; gap: 0.7rem; }
.pricing-incl li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-dim);
  font-size: 0.975rem;
}
.pricing-incl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 13px;
  height: 8px;
  border-left: 1.7px solid var(--brand-text);
  border-bottom: 1.7px solid var(--brand-text);
  transform: rotate(-45deg);
}
.pricing-guarantee { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pricing-guarantee-h { font-weight: 600; color: var(--ink); }
.pricing-guarantee p:last-child {
  margin-top: 0.4rem;
  color: var(--ink-dim);
  font-size: 0.925rem;
}
.pricing-aside-cta { width: 100%; }

/* --- Pläne als Zeilen --- */
.pricing-plans { display: grid; gap: clamp(0.9rem, 2vw, 1.2rem); }

.plan-row {
  position: relative;
  --mx: 50%;
  --my: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.3rem, 2.6vw, 1.85rem) clamp(1.3rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.plan-row:hover { border-color: var(--line-strong); transform: translateY(-3px); }

/* Spotlight-Rand unter dem Cursor */
.plan-row::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(185, 166, 255, 0.5), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.plan-row:hover::after { opacity: 1; }

.plan-row-hi {
  border-color: rgba(139, 92, 246, 0.55);
  background:
    radial-gradient(460px circle at 12% 0%, rgba(109, 40, 237, 0.14), transparent 70%),
    var(--surface);
}
.plan-row-hi:hover { border-color: rgba(139, 92, 246, 0.85); }

.plan-badge {
  position: absolute;
  top: -10px;
  left: clamp(1.3rem, 2.6vw, 2rem);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.plan-name { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.plan-desc { margin-top: 0.4rem; color: var(--ink-dim); font-size: 0.95rem; max-width: 46ch; }
.plan-tags { margin-top: 0.7rem; color: var(--ink-mute); }

.plan-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  white-space: nowrap;
}
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; }
.plan-from { color: var(--ink-mute); font-size: 0.8rem; }
.plan-num { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.plan-go { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand-text); font-size: 0.8rem; }
.plan-go svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.plan-row:hover .plan-go svg { transform: translateX(3px); }

@media (max-width: 540px) {
  .plan-row { grid-template-columns: 1fr; }
  .plan-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
  }
}

.price-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-mute);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 861px) { .contact-copy { position: sticky; top: 108px; } }
.contact-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.025em; }
.contact-kick {
  color: var(--brand-text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}
.contact-copy > p:not(.contact-mail):not(.contact-kick) {
  margin-top: 1.1rem;
  color: var(--ink-dim);
  max-width: 44ch;
}
.contact-trust {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.contact-trust li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.contact-trust li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 12px;
  height: 7px;
  border-left: 1.7px solid var(--brand-text);
  border-bottom: 1.7px solid var(--brand-text);
  transform: rotate(-45deg);
}
.contact-mail { margin-top: 2.2rem; }
.contact-mail .mono { color: var(--ink-mute); }
.contact-mail a {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--brand-text);
  border-bottom: 1px solid rgba(185, 166, 255, 0.35);
  transition: border-color 0.2s var(--ease-out);
}
.contact-mail a:hover { border-color: var(--brand-text); }

/* Formular */
.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field { display: grid; gap: 0.45rem; }
.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.975rem;
  transition: border-color 0.2s var(--ease-out);
}
textarea { resize: vertical; min-height: 120px; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238f8f99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}

.field-hint { color: var(--ink-mute); font-size: 0.72rem; }
.field-error {
  color: #fda4af;
  font-size: 0.85rem;
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e11d48;
}

.form-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.3rem;
  accent-color: var(--brand);
}
.form-check label { font-weight: 400; font-size: 0.9rem; color: var(--ink-dim); }
.form-check label a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }

.form-submit { justify-self: start; margin-top: 0.4rem; }
.form-status { color: var(--ink-mute); min-height: 1.2em; }
.form-status.is-ok { color: #6ee7b7; }
.form-status.is-err { color: #fda4af; }

/* ---------- Projekt-Konfigurator (Chips, Segmente, Live-Brief) ---------- */
.cfg-group { display: block; }
.cfg-group + .cfg-group,
.cfg-row + .cfg-brief,
.cfg-group + .cfg-brief { margin-top: 1.3rem; }
.cfg-legend {
  display: block;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.cfg-legend-soft { text-transform: none; letter-spacing: 0; color: var(--ink-mute); opacity: 0.7; }

.cfg-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cfg-chip {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink-dim);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.cfg-chip:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--ink); }
.cfg-chip:active { transform: scale(0.96); }
.cfg-chip.is-active {
  border-color: var(--brand-bright);
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cfg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.3rem; }
@media (max-width: 520px) { .cfg-row { grid-template-columns: 1fr; } }

.cfg-seg {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 3px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg);
}
.cfg-seg-btn {
  flex: 1;
  padding: 0.42rem 0.7rem;
  border-radius: 6px;
  color: var(--ink-mute);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.cfg-seg-btn:hover { color: var(--ink); }
.cfg-seg-btn.is-active { color: #fff; background: var(--brand); }

.cfg-brief {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: rgba(139, 92, 246, 0.05);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.cfg-brief-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
.cfg-brief-text b { color: var(--brand-text); font-weight: 600; }

.cfg-group + .form-row,
.cfg-brief + .form-row { margin-top: 1.6rem; }

.form-reassure { margin-top: 0.9rem; color: var(--ink-mute); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand-mark { width: 44px; height: 44px; color: var(--ink); }
.footer-claim { margin-top: 1.1rem; font-size: 1.15rem; font-weight: 500; max-width: 26ch; }
.footer-note { margin-top: 0.8rem; color: var(--ink-mute); }
.footer-ai { margin-top: 0.55rem; color: var(--ink-mute); font-size: 0.72rem; opacity: 0.75; max-width: 46ch; }

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-content: start;
}
.footer-nav ul { display: grid; gap: 0.55rem; align-content: start; }
.footer-nav a {
  color: var(--ink-dim);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-out);
}
.footer-nav a:hover { color: var(--ink); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
}
.to-top { color: var(--ink-mute); transition: color 0.2s var(--ease-out); }
.to-top:hover { color: var(--ink); }

/* ============================================================
   RECHTSSEITEN (Impressum, Datenschutz)
   ============================================================ */
.legal-main {
  max-width: 720px;
  margin-inline: auto;
  padding: 9rem clamp(1.25rem, 4vw, 2.5rem) 5rem;
}
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.025em; }
.legal-main h2 { font-size: 1.25rem; margin-top: 2.4rem; }
.legal-main p { margin-top: 0.9rem; color: var(--ink-dim); }
.legal-main a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease-out);
}
.legal-back:hover { color: var(--ink); }
.legal-todo {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Footer der Rechtsseiten: Impressum immer sichtbar, kein Aufklappen */
.legal-footer {
  max-width: 720px;
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 3rem;
}
.legal-footer nav { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.legal-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-footer a {
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.legal-footer a:hover { color: var(--ink); }
.legal-footer-note {
  margin-top: 1.1rem;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.75;
  max-width: 46ch;
}

/* ============================================================
   Hover nur auf echten Pointern
   ============================================================ */
@media (hover: none), (pointer: coarse) {
  .work-preview:hover,
  .plan-row:hover { transform: none; }
}

/* ============================================================
   Reduzierte Bewegung: neue Effekte abschalten
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .js .hero-title { opacity: 1; animation: none; }
  .js .hero-title .wi { animation: none; transform: none; }
  .js .hero-copy > :not(.hero-title) { animation: none; opacity: 1; transform: none; filter: none; }
  .site-header { transition: none; }
}
