/* ==========================================================================
   BLUM & DEER SOLUTIONS — style.css
   Instinkt für Design. Präzision im Code.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (lokal, DSGVO-konform — keine Google-Server)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-var.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-var.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --nacht: #060B14;
  --tiefe: #0C1626;
  --eis: #C8D3E0;
  --nebel: #7E8CA3;
  --koenig: #1E4FD8;
  --signal: #38E1FF;

  --weiss: #F2F6FB;
  --linie: rgba(200, 211, 224, 0.08);
  --linie-stark: rgba(200, 211, 224, 0.16);

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --content-w: 72rem;
  --space-section: clamp(5rem, 12vw, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;
}

/* --------------------------------------------------------------------------
   3. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--nacht);
  color: var(--eis);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--koenig); color: var(--weiss); }

/* Fokus: sichtbar, Cyan — das Signal arbeitet */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--koenig);
  color: var(--weiss);
  border-radius: 4px;
  text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

/* --------------------------------------------------------------------------
   4. Typografie
   -------------------------------------------------------------------------- */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--weiss);
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--weiss);
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--weiss);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: '[ '; color: var(--koenig); }
.eyebrow::after { content: ' ]'; color: var(--koenig); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead { font-size: 1.1875rem; color: var(--nebel); max-width: 38em; }

/* --------------------------------------------------------------------------
   5. Layout-Primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--content-w));
  margin-inline: auto;
}

section { padding-block: var(--space-section); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head p { margin-top: 1.25rem; }

.alt-bg { background: var(--tiefe); }

/* Leiterbahn-Divider: eine Linie, ein Knoten. Mehr braucht es nicht. */
.trace-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--linie-stark) 15%, var(--linie-stark) 85%, transparent);
  margin: 0;
  border: 0;
}
.trace-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--nebel);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              transform 160ms var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--koenig);
  color: var(--weiss);
}
.btn-primary:hover { border-color: var(--signal); }

.btn-ghost {
  border-color: rgba(200, 211, 224, 0.35);
  color: var(--eis);
}
.btn-ghost:hover { border-color: var(--eis); background: rgba(200, 211, 224, 0.05); }

.btn-lg { min-height: 3.5rem; padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(6, 11, 20, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linie);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--weiss);
  white-space: nowrap;
  display: inline;
}
/* Fällt das Logo aus, trägt der Wortmark-Schriftzug die Marke allein. */
.brand.no-logo .brand-text { display: inline; }

@media (max-width: 400px) {
  .brand-mark { height: 38px; }
  .brand-text { font-size: 0.9375rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nebel);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--eis); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: '';
  display: block;
  position: absolute;
  width: 22px; height: 1.5px;
  border-radius: 2px;
  background: var(--eis);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.nav-toggle .bars::before { transform: translateY(-7px); }
.nav-toggle .bars::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--nacht);
  padding: 7rem 2rem 3rem;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--eis);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--linie);
  opacity: 0;
  transform: translateY(14px);
}
.nav-overlay.open a {
  animation: overlayItem 0.45s var(--ease-out) forwards;
}
.nav-overlay a:nth-child(1) { animation-delay: 0.05s; }
.nav-overlay a:nth-child(2) { animation-delay: 0.11s; }
.nav-overlay a:nth-child(3) { animation-delay: 0.17s; }
.nav-overlay a:nth-child(4) { animation-delay: 0.23s; }
.nav-overlay a:nth-child(5) { animation-delay: 0.29s; }
.nav-overlay .overlay-cta {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  border-bottom: 0;
}
@keyframes overlayItem {
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   8. Hero + Schaltkreis-Geweih
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 8rem 4rem;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero h1 { margin-bottom: 1.75rem; }

.hero .lead { margin-bottom: 2.5rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* "Präzision" — die eine Cyan-Linie, animiert einlaufend */
.u-signal {
  position: relative;
  white-space: nowrap;
}
.u-signal::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.08em;
  height: 2px;
  border-radius: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.9s var(--ease-out) 1.9s forwards;
}
@keyframes underlineIn { to { transform: scaleX(1); } }

/* Das Geweih */
.antler-wrap {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(100%, 34rem);
  pointer-events: none;
}
.antler {
  width: 100%;
  height: auto;
  overflow: visible;
  /* Sanfter Cyan-Schimmer, der sich erst nach dem Zeichnen legt – das Geweih „erwacht". */
  filter: drop-shadow(0 0 0 rgba(56, 225, 255, 0));
  animation: antlerAwake 1.4s var(--ease-out) 3.1s forwards;
}
@keyframes antlerAwake {
  to { filter: drop-shadow(0 0 10px rgba(56, 225, 255, 0.12)); }
}

.antler .trace {
  fill: none;
  stroke: rgba(200, 211, 224, 0.62);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  /* Zeichnen (dashoffset) + energetischer Cyan-Rand, der zu Silber ausklingt. */
  animation:
    drawTrace var(--draw-dur, 0.9s) var(--ease-out) var(--draw-delay, 0s) forwards,
    traceSettle 0.7s var(--ease-out) calc(var(--draw-delay, 0s) + var(--draw-dur, 0.9s) - 0.15s) forwards;
}
@keyframes drawTrace { to { stroke-dashoffset: 0; } }
@keyframes traceSettle {
  from { stroke: rgba(56, 225, 255, 0.9); }
  to { stroke: rgba(200, 211, 224, 0.62); }
}

.antler .node {
  fill: var(--nacht);
  stroke: rgba(200, 211, 224, 0.7);
  stroke-width: 1.5;
  opacity: 0;
  /* Scale-Pop aus der Mitte – deshalb fill-box als Transform-Referenz. */
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeIn 0.5s var(--ease-out) var(--node-delay, 1.5s) both,
             nodePulse var(--pulse-dur, 3.6s) ease-in-out calc(var(--node-delay, 1.5s) + 0.6s) infinite;
}
@keyframes nodeIn {
  0% { opacity: 0; transform: scale(0.6); }
  55% { opacity: 1; transform: scale(1.35); stroke: var(--signal); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes nodePulse {
  0%, 100% { stroke: rgba(200, 211, 224, 0.7); fill: var(--nacht); }
  50% { stroke: var(--signal); fill: rgba(56, 225, 255, 0.28); }
}

/* Maus-Nähe: JS setzt --glow (0..1) pro Knoten. filter/transform liegen NICHT
   in den Keyframes und überlagern die Pulse-Animation daher konfliktfrei. */
.antler .node {
  --glow: 0;
  filter: drop-shadow(0 0 calc(12px * var(--glow)) rgba(56, 225, 255, calc(0.95 * var(--glow))));
}

/* Kennzahlen */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--linie);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
}
.hero-stats strong {
  display: block;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--eis);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .antler-wrap {
    position: absolute;
    inset: 0 -12% auto auto;
    width: 22rem;
    opacity: 0.35;
    z-index: -1;
  }
  .hero-grid { position: static; }
}

/* --------------------------------------------------------------------------
   9. Leistungen — Zeilen, kein Card-Grid
   -------------------------------------------------------------------------- */
.service-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 2rem 1.25rem;
  border-bottom: 1px solid var(--linie);
  transition: background-color var(--dur) var(--ease-out);
}
/* Linke Leiterbahn — färbt sich bei Hover Cyan */
.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1.5px;
  border-radius: 2px;
  background: var(--linie-stark);
  transition: background-color var(--dur) var(--ease-out);
}
.service-row:hover { background: var(--tiefe); }
.service-row:hover::before { background: var(--signal); }

.service-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--nebel);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.service-row:hover .service-num { color: var(--eis); }

.service-icon {
  width: 32px; height: 32px;
  color: var(--nebel);
  margin-top: 0.3rem;
  transition: color var(--dur) var(--ease-out);
}
.service-row:hover .service-icon { color: var(--eis); }

.service-body h3 { margin-bottom: 0.375rem; }
.service-body p { color: var(--nebel); max-width: 34em; }

.service-points {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--nebel);
  display: grid;
  gap: 0.5rem;
  align-self: center;
  min-width: 15rem;
}
.service-points li {
  position: relative;
  padding-left: 1.125rem;
}
.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  border: 1.5px solid var(--nebel);
}

@media (max-width: 1024px) {
  .service-row { grid-template-columns: auto auto 1fr; }
  .service-points { grid-column: 3; min-width: 0; }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: auto 1fr; gap: 1rem 1.25rem; padding-inline: 1rem 0.5rem; }
  .service-icon { display: none; }
  .service-points { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   10. Live-Demos
   -------------------------------------------------------------------------- */
.demo-block { margin-top: 4.5rem; }
.demo-block:first-of-type { margin-top: 0; }
.demo-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.demo-label .mono { font-size: 0.8125rem; color: var(--signal); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.demo-label h3 { font-size: 1.375rem; }
.demo-sub { color: var(--nebel); margin-bottom: 1.5rem; max-width: 40em; }

/* ---- Demo A: Vorher/Nachher-Slider ---- */
.ba-slider {
  position: relative;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 30rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-pane {
  position: absolute;
  inset: 0;
  padding: clamp(0.75rem, 3vw, 2rem);
  overflow: hidden;
}

/* Mockup „Vorher": 2005 lässt grüßen */
.mock-old {
  background: #E8E8E8;
  color: #222;
  font-family: 'Times New Roman', Times, serif;
}
.mock-old-topbar {
  background: #6B7B8D;
  color: #fff;
  padding: 0.5em 0.75em;
  font-size: clamp(0.7rem, 1.6vw, 1rem);
  font-weight: bold;
  letter-spacing: 0.02em;
}
.mock-old-nav {
  background: #C8C8C8;
  border: 1px solid #999;
  border-top: 0;
  padding: 0.35em 0.75em;
  font-size: clamp(0.6rem, 1.3vw, 0.8rem);
}
.mock-old-nav span { color: #00e; text-decoration: underline; margin-right: 1em; }
.mock-old-body {
  background: #fff;
  border: 1px solid #999;
  border-top: 0;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  height: 100%;
}
.mock-old-body h4 {
  margin: 0 0 0.4em;
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  color: #003366;
}
.mock-old-body p { font-size: clamp(0.62rem, 1.4vw, 0.85rem); margin: 0 0 0.75em; color: #333; }
.mock-old-btn {
  display: inline-block;
  background: linear-gradient(#FDFDFD, #C9C9C9);
  border: 2px outset #ddd;
  padding: 0.25em 1em;
  font-size: clamp(0.62rem, 1.4vw, 0.85rem);
  font-family: Verdana, sans-serif;
}
.mock-old-marquee { font-size: clamp(0.6rem, 1.3vw, 0.75rem); color: #c00; font-style: italic; margin-top: 0.75em; }

/* Mockup „Nachher": moderner Handwerksbetrieb (Kunden-Demo — bewusst
   eigene, warme Farbwelt mit Orange, NICHT das Agentur-Blau).
   Inhalt ist mittig/vollflächig verteilt, damit der Unterschied schon
   bei Regler-Mittelstellung sichtbar ist. */
.mock-craft {
  background: #FAF6F0;
  color: #1F2933;
  font-family: var(--font-body);
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(0.55rem, 1.4vw, 0.95rem);
  /* Kapselt die inneren z-index-Ebenen, damit nichts über den
     „Vorher"-Layer und den Slider-Griff hinausragt. */
  isolation: isolate;
}
.mock-craft-hero {
  position: relative;
  flex: 1 1 60%;
  min-height: 0;
  overflow: hidden;
}
.mock-craft-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Verlauf für Lesbarkeit von Nav und Headline auf dem Foto */
.mock-craft-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 16, 8, 0.55), rgba(24, 16, 8, 0.12) 42%, rgba(24, 16, 8, 0.6));
}
.mock-craft-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9em 1.5em;
  color: #fff;
}
.mock-craft-logo { font-weight: 700; font-size: 1.05em; letter-spacing: 0.01em; }
.mock-craft-logo b { color: #FB923C; }
.mock-craft-links { display: flex; gap: 1.5em; font-size: 0.78em; font-weight: 500; opacity: 0.92; }
.mock-craft-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  text-align: center;
  padding: 0 1.5em 1.5em;
  color: #fff;
}
.mock-craft-h {
  display: block;
  font-weight: 700;
  font-size: 2.1em;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.mock-craft-sub { display: block; margin-top: 0.35em; font-size: 0.9em; opacity: 0.94; }
.mock-craft-cta {
  display: inline-block;
  margin-top: 0.9em;
  background: #EA580C;
  color: #fff;
  font-weight: 600;
  font-size: 0.9em;
  padding: 0.55em 1.6em;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}
.mock-craft-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8em;
  padding: 1em 1.5em 0.5em;
}
.mock-craft-tile {
  background: #fff;
  border-radius: 0.6em;
  padding: 0.75em 0.85em;
  border-top: 3px solid #EA580C;
  box-shadow: 0 4px 16px rgba(31, 41, 51, 0.09);
}
.mock-craft-tile b { display: block; font-size: 0.85em; margin-bottom: 0.15em; }
.mock-craft-tile span { display: block; font-size: 0.68em; line-height: 1.35; color: #6B7280; }
.mock-craft-trust {
  text-align: center;
  padding: 0.4em 1em 1em;
  font-size: 0.76em;
  color: #374151;
}
.mock-craft-stars { color: #F59E0B; letter-spacing: 0.14em; margin-right: 0.5em; }

/* Clipping + Griff */
.ba-top { clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0); z-index: 2; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--eis);
  cursor: ew-resize;
  z-index: 4;
}
.ba-handle:focus-visible { outline-offset: 8px; }
.ba-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--eis);
  display: grid;
  place-items: center;
  color: var(--eis);
}
.ba-handle:hover .ba-grip,
.ba-handle:focus-visible .ba-grip { border-color: var(--signal); color: var(--signal); }
.ba-tag {
  position: absolute;
  z-index: 5;
  top: 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 3px;
  pointer-events: none;
}
.ba-tag-before { left: 0.875rem; background: rgba(0,0,0,0.55); color: #ddd; }
.ba-tag-after { right: 0.875rem; background: rgba(6,11,20,0.7); color: var(--eis); border: 1px solid var(--linie-stark); }

/* ---- Demo B: Zeitspar-Rechner ---- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  border: 1px solid var(--linie-stark);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--nacht);
}
.calc-controls { display: grid; gap: 2rem; align-content: start; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
}
.calc-field output {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  color: var(--weiss);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px; /* Touch-Ziel */
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--koenig) var(--fill, 50%), var(--linie-stark) var(--fill, 50%));
}
input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: var(--linie-stark);
}
input[type="range"]::-moz-range-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--koenig);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -9.5px;
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--eis);
  transition: border-color var(--dur) var(--ease-out);
}
input[type="range"]::-moz-range-thumb {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--eis);
}
input[type="range"]:hover::-webkit-slider-thumb,
input[type="range"]:focus-visible::-webkit-slider-thumb { border-color: var(--signal); }
input[type="range"]:hover::-moz-range-thumb,
input[type="range"]:focus-visible::-moz-range-thumb { border-color: var(--signal); }
input[type="range"]:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-left: 1px solid var(--linie);
  padding-left: 3rem;
}
.calc-result .mono { font-size: 0.8125rem; color: var(--nebel); }
.calc-sum {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  color: var(--weiss);
  font-variant-numeric: tabular-nums;
}
.calc-note { font-size: 0.875rem; color: var(--nebel); }
.calc-cta { align-self: start; margin-top: 0.5rem; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); padding-top: 2rem; }
}

/* --------------------------------------------------------------------------
   11. Chat-Widget
   -------------------------------------------------------------------------- */
.chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--koenig);
  color: var(--weiss);
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.chat-launcher:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .chat-launcher:hover { border-color: var(--signal); transform: translateY(-2px); }
}
.chat-launcher.pulse-once { animation: chatPulse 1.6s ease-out 2; }
@keyframes chatPulse {
  0% { box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 0 0 rgba(56, 225, 255, 0.45); }
  70% { box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 0 16px rgba(56, 225, 255, 0); }
  100% { box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 0 0 rgba(56, 225, 255, 0); }
}

.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 6.25rem;
  z-index: 95;
  width: min(23.5rem, calc(100vw - 2.5rem));
  max-height: min(32rem, calc(100svh - 8rem));
  display: none;
  flex-direction: column;
  background: var(--tiefe);
  border: 1px solid var(--linie-stark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.chat-panel.open {
  display: flex;
  transform-origin: bottom right;
  animation: chatPanelIn 200ms var(--ease-out);
}
@keyframes chatPanelIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--linie);
}
.chat-head .mono { font-size: 0.75rem; color: var(--nebel); }
.chat-head strong { display: block; font-size: 0.9375rem; color: var(--weiss); }
.chat-status {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 0.5em;
  vertical-align: 1px;
}
.chat-close {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  color: var(--nebel);
  border-radius: 6px;
}
.chat-close:hover { color: var(--eis); }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-msg {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.chat-msg.bot { background: var(--nacht); border: 1px solid var(--linie); align-self: flex-start; }
.chat-msg.user { background: var(--koenig); color: var(--weiss); align-self: flex-end; }

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.125rem 1.125rem;
}
.chat-options button,
.chat-options a {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--eis);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.chat-options button:hover,
.chat-options a:hover { border-color: var(--signal); background: rgba(56, 225, 255, 0.06); }

/* --------------------------------------------------------------------------
   12. Prozess-Timeline
   -------------------------------------------------------------------------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 42rem;
}
/* Die vertikale Leiterbahn */
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 1.5px;
  background: var(--linie-stark);
}
.timeline li {
  position: relative;
  padding: 0 0 2.75rem 3.25rem;
}
.timeline li:last-child { padding-bottom: 0; }

.t-node {
  position: absolute;
  left: 3.25px;
  top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--nebel);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.timeline li.lit .t-node {
  border-color: var(--signal);
  box-shadow: 0 0 12px rgba(56, 225, 255, 0.55);
}
.timeline li.lit.settled .t-node {
  box-shadow: none;
  border-color: var(--eis);
}
.t-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--nebel);
  text-transform: uppercase;
}
.timeline h3 { margin: 0.25rem 0 0.375rem; }
.timeline p { color: var(--nebel); max-width: 36em; }

/* --------------------------------------------------------------------------
   13. Projekte — ehrliche Slots
   -------------------------------------------------------------------------- */
.slots {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2.5rem;
  align-items: center;
  padding: 1.75rem 1.25rem;
  border-bottom: 1px solid var(--linie);
}
.slot-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--nebel);
  font-variant-numeric: tabular-nums;
}
.slot-cat {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eis);
}
.slot-cat small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--nebel);
  margin-top: 0.25rem;
}
.slot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eis);
  white-space: nowrap;
}
.slot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: slotPulse 3.2s ease-in-out infinite;
}
.slot:nth-child(2) .slot-dot { animation-delay: 1.1s; }
.slot:nth-child(3) .slot-dot { animation-delay: 2.2s; }
@keyframes slotPulse {
  0%, 100% { opacity: 0.35; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 9px rgba(56, 225, 255, 0.7); }
}
@media (max-width: 640px) {
  .slot { grid-template-columns: auto 1fr; }
  .slot-status { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   14. FAQ — natives Accordion
   -------------------------------------------------------------------------- */
.faq-list { max-width: 46rem; border-top: 1px solid var(--linie); }
.faq-item {
  border-bottom: 1px solid var(--linie);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--weiss);
  transition: color var(--dur) var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--signal); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  border-radius: 2px;
  background: var(--nebel);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--signal); }

.faq-item p {
  padding: 0 2.5rem 1.5rem 0.25rem;
  color: var(--nebel);
  max-width: 40em;
}

/* --------------------------------------------------------------------------
   15. Funnel
   -------------------------------------------------------------------------- */
.funnel-shell {
  max-width: 42rem;
}
.trust-line {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
  margin-top: 1rem;
}

.funnel-progress {
  height: 2px;
  background: var(--linie-stark);
  border-radius: 2px;
  margin: 2.5rem 0 2rem;
  overflow: hidden;
}
.funnel-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--signal);
  border-radius: 2px;
  transition: width 0.5s var(--ease-out);
}

.funnel-step { display: none; }
.funnel-step.active { display: block; animation: stepIn 0.4s var(--ease-out); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.funnel-step legend,
.funnel-q {
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--weiss);
  padding: 0;
  margin-bottom: 1.5rem;
}
fieldset { border: 0; padding: 0; margin: 0; }

.goal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.goal-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.goal-options label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 44px;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--linie-stark);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.goal-options label:hover { border-color: var(--nebel); background: var(--tiefe); }
.goal-options label:active { transform: scale(0.98); }
.goal-options label { transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), transform 160ms var(--ease-out); }
.goal-options input:checked + label {
  border-color: var(--signal);
  background: var(--tiefe);
}
.goal-options input:focus-visible + label {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.goal-dot {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--nebel);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.goal-options input:checked + label .goal-dot {
  border-color: var(--signal);
  background: rgba(56, 225, 255, 0.35);
}
@media (max-width: 560px) {
  .goal-options { grid-template-columns: 1fr; }
}

/* Floating Labels */
.field {
  position: relative;
  margin-bottom: 1.75rem;
}
.field input {
  width: 100%;
  min-height: 3.375rem;
  padding: 1.375rem 1rem 0.5rem;
  background: var(--tiefe);
  border: 1px solid var(--linie-stark);
  border-radius: 8px;
  color: var(--eis);
  font: inherit;
  transition: border-color var(--dur) var(--ease-out);
}
.field input:hover { border-color: var(--nebel); }
.field input:focus {
  outline: 2px solid var(--signal);
  outline-offset: 0;
  border-color: transparent;
}
.field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nebel);
  pointer-events: none;
  transition: all 0.18s var(--ease-out);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 0.9rem;
  transform: none;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field.invalid input { border-color: #E4586B; }
.field-error {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #F08296;
}
.field.invalid .field-error { display: block; }
#goal-error { display: block; margin-top: 1rem; }
#goal-error[hidden] { display: none; }

.funnel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-back {
  min-height: 44px;
  padding: 0.5rem 1rem;
  color: var(--nebel);
  font-weight: 500;
  border-radius: 6px;
  transition: color var(--dur) var(--ease-out);
}
.btn-back:hover { color: var(--eis); }

.funnel-final { text-align: left; }
.funnel-final .calendly-cta { margin-top: 1.5rem; }
.funnel-saved {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--nebel);
}
.funnel-saved .ok {
  color: var(--signal);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--linie);
  padding: 4.5rem 0 2.5rem;
  background: var(--nacht);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand p { color: var(--nebel); margin-top: 1rem; max-width: 22em; }
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity var(--dur) var(--ease-out);
}
.footer-logo-link:hover { opacity: 1; }
.footer-logo {
  width: auto;
  height: auto;
  max-width: 168px;
  display: block;
  opacity: 0.88;
}
/* Volle Bildmarke enthält den Schriftzug bereits – Wortmarke nur als Fallback. */
.footer-logo-link .brand-text { display: none; font-size: 1.125rem; }
.footer-logo-link.no-logo .brand-text { display: inline; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
  margin-bottom: 1.125rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.625rem; }
.footer-col a {
  color: var(--eis);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease-out);
}
.footer-col a:hover { color: var(--signal); }

/* Abschluss-Leiterbahn mit Endknoten */
.footer-trace {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, var(--linie-stark), transparent 92%);
  margin-bottom: 1.75rem;
}
.footer-trace::before {
  content: '';
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nacht);
  border: 1.5px solid var(--eis);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   17. Unterseiten (Angebot, Rechtliches)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 10rem 0 4rem;
}
.page-hero h1 { max-width: 16em; margin-bottom: 1.5rem; }
.page-hero .lead { max-width: 34em; }

.legal-content { max-width: 44rem; padding-bottom: var(--space-section); }
.legal-content h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.legal-content h3 { margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--nebel); }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content a { color: var(--eis); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--signal); }
.placeholder {
  background: rgba(30, 79, 216, 0.18);
  border-radius: 3px;
  padding: 0.05em 0.3em;
  color: var(--eis);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.booking-block {
  border: 1px solid var(--linie-stark);
  border-radius: 12px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--tiefe);
  text-align: center;
}
.booking-block h2 { margin-bottom: 1rem; }
.booking-block .lead { margin: 0 auto 2rem; }
.booking-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebel);
  list-style: none;
  padding: 0;
}
.booking-points li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--signal);
  margin-right: 0.6em;
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   18. Scroll-Reveal (dezent)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18b. Design-Upgrades: Silber-Headlines, Spotlight, Glass-CTAs, Prozess
   -------------------------------------------------------------------------- */

/* Silber-Verlauf auf allen Unbounded-Headlines (mit Fallback-Guard) */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1, h2 {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #C8D3E0 55%, #8FA3BC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* Positionierte Inline-Kinder (z. B. .u-signal) fallen aus dem
     background-clip des Parents — sie brauchen den Verlauf selbst. */
  h1 .u-signal {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #DDE5EE 60%, #B9C7D8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* Hero-H1: einmaliger Licht-Schimmer läuft diagonal durchs Gradient,
     danach bleibt das statische Silber stehen. */
  .hero h1 {
    background-image:
      linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.85) 50%, transparent 58%),
      linear-gradient(180deg, #FFFFFF 0%, #C8D3E0 55%, #8FA3BC 100%);
    background-size: 250% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: -150% 0, 0 0;
    animation: heroShine 1.2s ease-out 0.6s 1 forwards;
  }
}
@keyframes heroShine {
  to { background-position: 250% 0, 0 0; }
}

/* Spotlight-Cursor: weicher Licht-Spot folgt der Maus (JS lerpt transform) */
.cursor-spot {
  position: fixed;
  left: 0; top: 0;
  width: 400px; height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.06), transparent 65%);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.cursor-spot.on { opacity: 1; }

/* Leistungs-Zeilen: Border-Glow folgt der Maus (nur feine Zeiger, ohne
   reduced-motion). Ring via Mask: nur der 1px-Rand des Overlays leuchtet. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-row::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
                rgba(56, 225, 255, 0.45), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--dur) var(--ease-out);
    pointer-events: none;
  }
  .service-row:hover::after { opacity: 1; }
}

/* Prozess: Leiterbahn zeichnet sich von oben nach unten, Schritte staffeln */
.timeline::before { transform-origin: top; }
@media (prefers-reduced-motion: no-preference) {
  .timeline::before { transition: transform 1.4s var(--ease-out); }
  .timeline:not(.drawn)::before { transform: scaleY(0); }
  .timeline li.reveal:nth-child(2) { transition-delay: 0.08s; }
  .timeline li.reveal:nth-child(3) { transition-delay: 0.16s; }
  .timeline li.reveal:nth-child(4) { transition-delay: 0.24s; }
  .timeline li.reveal:nth-child(5) { transition-delay: 0.32s; }
}
.timeline li { border-radius: 8px; }
/* Nach dem Einblenden: schnelle Hover-Reaktion statt langsamer Reveal-Transition */
.timeline li.in {
  transition: background-color var(--dur) var(--ease-out), transform 200ms var(--ease-out);
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  .timeline li:hover {
    background: var(--tiefe);
    transform: translateY(-2px);
  }
}

/* Shiny-Glass nur für die Primär-CTAs (Hero + Funnel-Abschluss).
   Text bleibt Weiß auf dunklem Blau → Kontrast weiterhin AA. */
.btn-glass {
  position: relative;
  overflow: hidden;
  background: rgba(30, 79, 216, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(200, 211, 224, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
              inset 0 0 24px rgba(56, 225, 255, 0.07);
}
.btn-glass:hover { border-color: var(--signal); }
/* Shine-Sweep: Reflex läuft beim Hover einmal durch, Reset ohne Übergang */
.btn-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 66%);
  transform: translateX(-130%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass:hover::after {
    transform: translateX(130%);
    transition: transform 0.65s var(--ease-out);
  }
}

/* --------------------------------------------------------------------------
   19. Reduced Motion — alles ruhig, alles sichtbar
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .antler { animation: none; filter: none; }
  .antler .trace { stroke-dashoffset: 0; stroke: rgba(200, 211, 224, 0.62); animation: none; }
  .antler .node { opacity: 1; transform: none; filter: none; animation: none; }
  .antler-wrap { transform: none !important; }
  .u-signal::after { transform: scaleX(1); animation: none; }
  .reveal { opacity: 1; transform: none; }
  .nav-overlay a { opacity: 1; transform: none; animation: none; }
  .slot-dot { animation: none; opacity: 1; }
  .chat-launcher.pulse-once { animation: none; }
}
