/* ==========================================================================
   OsnaKI – Startseite: Layout, Komponenten, Animationen
   Baut auf design-system.css auf.
   ========================================================================== */

/* ---- Skip-Link Ziel-Offset ---- */
main { display: block; }

/* ---- Header -------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(11, 10, 18, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-xs);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand svg { height: 30px; width: auto; }
.brand-icon { height: 34px; width: 34px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.brand-word em {
  font-style: normal;
  color: var(--brand-300);
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: var(--space-l); }
.main-nav a {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-300);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent-500);
  transition: right var(--dur-base) var(--ease-out);
}
.main-nav a:hover { color: var(--ink-0); }
.main-nav a:hover::after { right: 0; }

.header-cta { display: none; align-items: center; gap: var(--space-s); }
.header-actions { display: flex; align-items: center; gap: var(--space-s); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-soft);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--brand-950);
  z-index: 99;
  padding: calc(64px + var(--space-l)) var(--space-m) var(--space-l);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-m); }
.mobile-nav a { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink-0); }
.mobile-nav .btn { margin-top: var(--space-l); }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---- Hero -----------------------------------------------------------------*/
.hero {
  padding-block: var(--space-2xl) var(--space-xl);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 700px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(75, 63, 140, 0.55), transparent 70%),
              radial-gradient(45% 45% at 85% 10%, rgba(255, 107, 74, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); }
}
.hero-copy h1 {
  margin-bottom: var(--space-m);
  font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem);
  line-height: 1.08;
  max-width: 19ch;
  text-wrap: balance;
}
.hero-copy .lede { margin-bottom: var(--space-l); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-bottom: var(--space-l); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-m);
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-500);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-500); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--brand-900), var(--brand-950));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.hero-visual svg { width: 100%; height: 100%; }

/* ---- Signature-Animation --------------------------------------------------*/
.ha-link-base { fill: none; stroke: var(--brand-700); stroke-width: 2; }
.ha-link-glow { fill: none; stroke: var(--accent-500); stroke-width: 2.6; stroke-linecap: round; }
.ha-node-circle { fill: var(--brand-800); stroke: var(--brand-700); stroke-width: 2; transition: none; }
.ha-node-label { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-500); letter-spacing: 0.04em; }
.ha-check { opacity: 0; transform-origin: center; }
.ha-check path { fill: none; stroke: var(--success-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ha-phone-body { fill: var(--brand-800); stroke: var(--brand-300); stroke-width: 2; }
.ha-phone-screen { fill: var(--brand-950); }
.ha-ring { fill: none; stroke: var(--accent-500); opacity: 0; }

.ha-dot { fill: var(--accent-400); filter: drop-shadow(0 0 6px rgba(255,107,74,0.9)); }

@keyframes haPhoneShake {
  0%, 12%, 100% { transform: rotate(0deg); }
  2% { transform: rotate(-8deg); }
  4% { transform: rotate(8deg); }
  6% { transform: rotate(-6deg); }
  8% { transform: rotate(6deg); }
  10% { transform: rotate(0deg); }
}
@keyframes haRingPulse {
  0% { opacity: 0; transform: scale(0.6); }
  6% { opacity: 0.8; }
  16% { opacity: 0; transform: scale(1.9); }
  100% { opacity: 0; transform: scale(1.9); }
}
@keyframes haDash {
  0%, 14% { stroke-dashoffset: 240; opacity: 0; }
  15% { opacity: 1; }
  32% { stroke-dashoffset: 0; opacity: 1; }
  92% { opacity: 1; }
  97%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes haDashBranch1 {
  0%, 30% { stroke-dashoffset: 220; opacity: 0; }
  31% { opacity: 1; }
  46% { stroke-dashoffset: 0; opacity: 1; }
  90% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes haDashBranch2 {
  0%, 34% { stroke-dashoffset: 220; opacity: 0; }
  35% { opacity: 1; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  90% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes haDashBranch3 {
  0%, 38% { stroke-dashoffset: 220; opacity: 0; }
  39% { opacity: 1; }
  54% { stroke-dashoffset: 0; opacity: 1; }
  90% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes haNodeLight {
  0%, 29% { fill: var(--brand-800); stroke: var(--brand-700); }
  33%, 88% { fill: var(--brand-700); stroke: var(--brand-300); }
  96%, 100% { fill: var(--brand-800); stroke: var(--brand-700); }
}
@keyframes haNodeLightBranch1 { 0%, 45% { fill: var(--brand-800); stroke: var(--brand-700); } 48%, 88% { fill: var(--brand-700); stroke: var(--brand-300); } 96%, 100% { fill: var(--brand-800); stroke: var(--brand-700); } }
@keyframes haNodeLightBranch2 { 0%, 49% { fill: var(--brand-800); stroke: var(--brand-700); } 52%, 88% { fill: var(--brand-700); stroke: var(--brand-300); } 96%, 100% { fill: var(--brand-800); stroke: var(--brand-700); } }
@keyframes haNodeLightBranch3 { 0%, 53% { fill: var(--brand-800); stroke: var(--brand-700); } 56%, 88% { fill: var(--brand-700); stroke: var(--brand-300); } 96%, 100% { fill: var(--brand-800); stroke: var(--brand-700); } }

@keyframes haCheckIn {
  0%, 50% { opacity: 0; transform: scale(0.5); }
  58% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; transform: scale(1); }
  97%, 100% { opacity: 0; transform: scale(0.5); }
}
@keyframes haCheckIn2 { 0%, 54% { opacity: 0; transform: scale(0.5); } 62% { opacity: 1; transform: scale(1); } 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(0.5); } }
@keyframes haCheckIn3 { 0%, 58% { opacity: 0; transform: scale(0.5); } 66% { opacity: 1; transform: scale(1); } 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(0.5); } }

@keyframes haDotTravel { 0%, 14% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 32% { offset-distance: 100%; opacity: 1;} 34% { opacity: 0; } 100% { opacity: 0; offset-distance: 100%; } }

.ha-phone-group { animation: haPhoneShake 7s var(--ease-in-out) infinite; transform-origin: 70px 210px; }
.ha-ring-1 { animation: haRingPulse 7s var(--ease-out) infinite; }
.ha-ring-2 { animation: haRingPulse 7s var(--ease-out) infinite; animation-delay: 0.4s; }

.ha-link-glow.trunk { stroke-dasharray: 8 232; animation: haDash 7s linear infinite; }
.ha-link-glow.b1 { stroke-dasharray: 8 212; animation: haDashBranch1 7s linear infinite; }
.ha-link-glow.b2 { stroke-dasharray: 8 212; animation: haDashBranch2 7s linear infinite; }
.ha-link-glow.b3 { stroke-dasharray: 8 212; animation: haDashBranch3 7s linear infinite; }

.ha-node-circle.trunk { animation: haNodeLight 7s linear infinite; }
.ha-node-circle.b1 { animation: haNodeLightBranch1 7s linear infinite; }
.ha-node-circle.b2 { animation: haNodeLightBranch2 7s linear infinite; }
.ha-node-circle.b3 { animation: haNodeLightBranch3 7s linear infinite; }

.ha-check.c1 { animation: haCheckIn 7s linear infinite; }
.ha-check.c2 { animation: haCheckIn2 7s linear infinite; }
.ha-check.c3 { animation: haCheckIn3 7s linear infinite; }

.hero-visual.is-paused * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .ha-phone-group, .ha-ring-1, .ha-ring-2, .ha-link-glow, .ha-node-circle, .ha-check {
    animation: none !important;
  }
  .ha-link-glow { opacity: 0; }
  .ha-node-circle { fill: var(--brand-700); stroke: var(--brand-300); }
  .ha-check { opacity: 1; transform: scale(1); }
}

/* ---- Eyebrow-Badges / Pills ----------------------------------------------*/
.pill {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-100);
}

/* ---- Leistungsübersicht ----------------------------------------------- */
.services-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { display: flex; flex-direction: column; gap: var(--space-s); }
.service-card .icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, var(--brand-500), var(--brand-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.service-card .icon-badge svg { width: 26px; height: 26px; stroke: var(--ink-0); }
.service-card h3 { font-size: var(--step-1); }
.service-card p { color: var(--ink-300); font-size: var(--step--1); flex-grow: 1; }
.service-card .card-link { font-weight: 700; font-size: var(--step--1); color: var(--brand-300); display: inline-flex; align-items: center; gap: 0.3em; }
.service-card .card-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); }
.service-card:hover .card-link svg { transform: translateX(3px); }

/* ---- Demo-Telefon-Sektion ------------------------------------------------*/
.demo-phone {
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  background: radial-gradient(120% 140% at 15% 0%, rgba(255,107,74,0.14), transparent 60%), linear-gradient(160deg, var(--brand-900), var(--brand-950));
  border: 1px solid var(--line-soft);
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 900px) { .demo-phone { grid-template-columns: 1.1fr 0.9fr; padding: var(--space-2xl); } }
.demo-phone h2 { margin-bottom: var(--space-s); }
.demo-number-card {
  background: var(--brand-900);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  padding: var(--space-l);
  text-align: center;
}
.demo-number-card .badge-soon {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: var(--step--1);
  color: var(--accent-400);
  padding: 0.4em 0.9em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 107, 74, 0.35);
  margin-bottom: var(--space-m);
}
.demo-number-card .badge-soon .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500);
  animation: pulseDot 1.8s var(--ease-in-out) infinite;
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,74,0.55);} 70% { box-shadow: 0 0 0 8px rgba(255,107,74,0);} }
.demo-number-card .demo-number {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--ink-500);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-s);
}
.demo-number-card p { color: var(--ink-300); font-size: var(--step--1); margin-bottom: var(--space-m); }

.telefon-conversation {
  display: flex; flex-direction: column; gap: var(--space-xs);
  font-family: var(--font-body); font-size: var(--step--1);
}
.bubble {
  max-width: 82%;
  padding: 0.7em 1em;
  border-radius: 16px;
  background: var(--brand-800);
  color: var(--ink-100);
  opacity: 0;
  transform: translateY(10px);
}
.bubble.bubble-ki { border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.bubble-kunde { border-bottom-right-radius: 4px; align-self: flex-end; background: var(--brand-500); color: var(--ink-0); }
[data-reveal].is-visible .bubble { animation: bubbleIn 0.6s var(--ease-out) forwards; }
[data-reveal].is-visible .bubble:nth-child(1) { animation-delay: 0.1s; }
[data-reveal].is-visible .bubble:nth-child(2) { animation-delay: 0.5s; }
[data-reveal].is-visible .bubble:nth-child(3) { animation-delay: 0.9s; }
[data-reveal].is-visible .bubble:nth-child(4) { animation-delay: 1.3s; }
[data-reveal].is-visible .bubble:nth-child(5) { animation-delay: 1.7s; }
[data-reveal].is-visible .bubble:nth-child(6) { animation-delay: 2.1s; }
[data-reveal].is-visible .bubble:nth-child(7) { animation-delay: 2.5s; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

/* ---- Branchen-Tabs (KI-Gespräche) ---- */
.industry-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-m); }
.industry-tab {
  padding: 0.55em 1.1em;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-300);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.industry-tab:hover { border-color: var(--brand-300); color: var(--ink-0); }
.industry-tab.is-active { background: var(--brand-500); border-color: var(--brand-500); color: var(--ink-0); }

.industry-panel { display: none; }
.industry-panel.is-active { display: flex; }

/* ---- Audio-Player-Mockup ---- */
.audio-player { display: flex; align-items: center; gap: var(--space-m); margin-bottom: var(--space-s); }
.audio-play {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-500); color: #1A0E08;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.audio-play:hover { transform: scale(1.06); }
.audio-play svg { width: 20px; height: 20px; }
.waveform { display: flex; align-items: center; gap: 3px; height: 32px; flex-grow: 1; }
.waveform span { width: 3px; border-radius: 2px; background: var(--brand-300); opacity: 0.5; display: block; }
.waveform span:nth-child(1) { height: 40%; } .waveform span:nth-child(2) { height: 70%; }
.waveform span:nth-child(3) { height: 45%; } .waveform span:nth-child(4) { height: 90%; }
.waveform span:nth-child(5) { height: 60%; } .waveform span:nth-child(6) { height: 35%; }
.waveform span:nth-child(7) { height: 80%; } .waveform span:nth-child(8) { height: 50%; }
.waveform span:nth-child(9) { height: 65%; } .waveform span:nth-child(10) { height: 40%; }
.waveform span:nth-child(11) { height: 75%; } .waveform span:nth-child(12) { height: 45%; }
.audio-player.is-playing .waveform span { animation: waveformPulse 0.9s ease-in-out infinite; opacity: 0.95; background: var(--accent-400); }
.audio-player.is-playing .waveform span:nth-child(3n) { animation-delay: 0.15s; }
.audio-player.is-playing .waveform span:nth-child(3n+1) { animation-delay: 0.3s; }
@keyframes waveformPulse { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1.15); } }
.audio-note {
  font-size: 0.78rem; color: var(--ink-500); margin: 0 0 var(--space-m);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.audio-note.is-shown { max-height: 40px; opacity: 1; margin-bottom: var(--space-m); }

/* ---- Reel / Smartphone-Mockup --------------------------------------------*/
.reel-frame {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  background: #050409;
  border-radius: 34px;
  border: 3px solid #2A2738;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.reel-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 18px;
  background: #050409;
  border-radius: var(--radius-full);
  z-index: 3;
}
.reel-media { position: absolute; inset: 0; }
.reel-media video { width: 100%; height: 100%; object-fit: cover; }
.reel-svg-preview { width: 100%; height: 100%; }
.reel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-m) var(--space-s) var(--space-l);
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: var(--ink-0); font-size: var(--step--1); font-weight: 600;
  text-align: center;
}
.reel-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.reel-play svg { width: 46px; height: 46px; opacity: 0.85; }

.video-example {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 900px) { .video-example { grid-template-columns: 0.8fr 1.2fr; } }
.video-example-copy ul { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-m); }
.video-example-copy li { display: flex; gap: 0.6em; align-items: flex-start; color: var(--ink-300); font-size: var(--step--1); }
.video-example-copy li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 0.15em; stroke: var(--success-500); }

/* Vorher/Nachher Split-Vorschau (animiertes SVG statt echtem Video) */
.before-after { position: relative; width: 100%; height: 100%; }
.ba-photo, .ba-video { position: absolute; inset: 0; }
.ba-photo { animation: baWipe 6s var(--ease-in-out) infinite; }
.ba-video { clip-path: inset(0 0 0 100%); animation: baReveal 6s var(--ease-in-out) infinite; }
@keyframes baWipe { 0%, 40% { opacity: 1; } 50%, 100% { opacity: 1; } }
@keyframes baReveal {
  0%, 35% { clip-path: inset(0 0 0 100%); }
  60%, 90% { clip-path: inset(0 0 0 0%); }
  100% { clip-path: inset(0 0 0 100%); }
}
.ring-spin-group { animation: ringSpin 6s linear infinite; }
@keyframes ringSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ring-rays { animation: raysDrift 12s linear infinite; transform-origin: 150px 300px; }
@keyframes raysDrift { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.sparkle { transform-origin: center; transform-box: fill-box; animation: sparkleTwinkle 1.8s ease-in-out infinite; }
.sparkle.sp2 { animation-delay: 0.5s; }
.sparkle.sp3 { animation-delay: 1s; }
@keyframes sparkleTwinkle { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .ba-video { animation: none; clip-path: inset(0 0 0 45%); }
  .ring-spin-group, .ring-rays, .sparkle { animation: none; }
}

/* ---- Workflow-Showcase -----------------------------------------------*/
.workflow-canvas {
  border-radius: var(--radius-l);
  background:
    radial-gradient(1px 1px at 20px 20px, rgba(231,228,243,0.08) 1px, transparent 0) 0 0/28px 28px,
    linear-gradient(160deg, #0F0D1A, #08070E);
  border: 1px solid var(--line-soft);
  padding: var(--space-l);
  overflow: hidden;
}
.workflow-canvas svg { width: 100%; height: auto; }
.wf-node-box { fill: var(--brand-900); stroke: var(--line-strong); stroke-width: 1.4; }
.wf-node-box.is-trigger { stroke: var(--accent-500); }
.wf-node-title { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-0); font-weight: 700; }
.wf-node-sub { font-family: var(--font-body); font-size: 10.5px; fill: var(--ink-500); }
.wf-edge { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.wf-edge-glow {
  fill: none; stroke: var(--accent-500); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 10 400; filter: drop-shadow(0 0 4px rgba(255,107,74,0.8));
  animation: wfFlow 3.2s linear infinite;
}
@keyframes wfFlow { 0% { stroke-dashoffset: 410; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.wf-edge-glow.d2 { animation-delay: 0.8s; }
.wf-edge-glow.d3 { animation-delay: 1.6s; }
.wf-edge-glow.d4 { animation-delay: 2.4s; }
@media (prefers-reduced-motion: reduce) {
  .wf-edge-glow { animation: none; opacity: 0.6; stroke-dasharray: none; }
}
.workflow-showcase-grid { display: grid; gap: var(--space-l); }
@media (min-width: 900px) { .workflow-showcase-grid { grid-template-columns: 1fr 1fr; } }
.workflow-caption { margin-top: var(--space-s); font-size: var(--step--1); color: var(--ink-500); text-align: center; }
.workflow-tags { margin-top: 0.3em; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--brand-300); text-align: center; }

/* ---- Katalog-Auszug -----------------------------------------------------*/
.catalog-grid {
  display: grid; gap: var(--space-m);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
.catalog-card {
  display: flex; gap: var(--space-s); align-items: flex-start;
  padding: var(--space-m);
}
.catalog-card .icon-badge {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-s);
  background: var(--brand-800);
  display: flex; align-items: center; justify-content: center;
}
.catalog-card .icon-badge svg { width: 20px; height: 20px; stroke: var(--brand-300); }
.catalog-card .cat-tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-300); }
.catalog-card h4 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 700; color: var(--ink-0); margin: 0.2em 0; }
.catalog-card p { font-size: var(--step--1); color: var(--ink-300); }
.catalog-cta { text-align: center; margin-top: var(--space-l); }

.catalog-filters { display: flex; flex-wrap: wrap; gap: var(--space-2xs); justify-content: center; margin-bottom: var(--space-l); }
.filter-chip { padding: 0.55em 1.1em; border-radius: var(--radius-full); border: 1px solid var(--line-strong); font-size: var(--step--1); font-weight: 700; color: var(--ink-300); transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.filter-chip:hover { border-color: var(--brand-300); color: var(--ink-0); }
.filter-chip.is-active { background: var(--brand-500); border-color: var(--brand-500); color: var(--ink-0); }
.catalog-card.is-hidden { display: none; }
@keyframes catalogFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.catalog-card:not(.is-hidden) { animation: catalogFadeIn 0.35s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .catalog-card:not(.is-hidden) { animation: none; } }

/* ---- Preis-Indikation ---- */
.price-panel { display: grid; gap: var(--space-m); grid-template-columns: 1fr; margin-top: var(--space-l); }
@media (min-width: 700px) { .price-panel { grid-template-columns: 1fr 1fr; } }
.price-card { padding: var(--space-l); }
.price-card .price-tag { font-family: var(--font-mono); font-size: var(--step--1); color: var(--brand-300); text-transform: uppercase; letter-spacing: 0.05em; }
.price-card h3 { margin: 0.3em 0 var(--space-s); }
.price-card ul { display: flex; flex-direction: column; gap: 0.5em; }
.price-card li { display: flex; gap: 0.6em; font-size: var(--step--1); color: var(--ink-300); }
.price-card li svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--success-500); margin-top: 0.15em; }

/* ---- Städteseiten: Sub-Nav, Breadcrumb, Hero-Erweiterungen ---- */
.city-subnav { background: var(--brand-900); border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: thin; }
.city-subnav .container { display: flex; gap: var(--space-m); padding-block: 0.7em; white-space: nowrap; }
.city-subnav a { font-size: var(--step--1); font-weight: 600; color: var(--ink-500); padding-block: 0.3em; border-bottom: 2px solid transparent; transition: color var(--dur-fast); flex-shrink: 0; }
.city-subnav a:hover { color: var(--ink-0); }
.city-subnav a.is-current { color: var(--ink-0); border-bottom-color: var(--accent-500); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4em; font-size: 0.8rem; color: var(--ink-500); margin-bottom: var(--space-m); }
.breadcrumb a { color: var(--ink-500); } .breadcrumb a:hover { color: var(--ink-0); }
.breadcrumb span { opacity: 0.5; }

.location-badge {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.4em 0.9em; border: 1px solid var(--line-strong); border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-100);
  margin-bottom: var(--space-m);
}
.location-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-500); }

.h1-accent { color: var(--brand-300); }

.city-hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 960px) { .city-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); } }

.city-skyline-visual { position: relative; aspect-ratio: 640 / 420; }
.city-skyline-visual svg { width: 100%; height: 100%; }
.skyline-building { fill: var(--brand-800); }
.skyline-window { fill: var(--brand-300); opacity: 0.35; }
.skyline-landmark { fill: var(--brand-700); stroke: var(--brand-300); stroke-width: 1.2; }
.skyline-particle { fill: var(--brand-300); animation: skylineDrift 7s ease-in-out infinite; }
.skyline-particle.accent { fill: var(--accent-500); }
.skyline-link { stroke: var(--line-strong); stroke-width: 1; }
@keyframes skylineDrift { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skyline-particle { animation: none; } }

/* ---- Nummerierte Use-Case-Karten (Städteseiten) ---- */
.usecase-grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; counter-reset: usecase; }
@media (min-width: 800px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
.usecase-card { position: relative; padding: var(--space-l); padding-top: var(--space-xl); overflow: hidden; }
.usecase-card::before {
  counter-increment: usecase; content: counter(usecase, decimal-leading-zero);
  position: absolute; top: var(--space-s); left: var(--space-l);
  font-family: var(--font-display); font-size: var(--step-3); color: var(--brand-700); opacity: 0.7; line-height: 1;
}
.usecase-card h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-0); color: var(--ink-0); margin-bottom: 0.4em; }
.usecase-card p { color: var(--ink-300); font-size: var(--step--1); }

/* ---- "Kennen Sie das?" Problem-Szenen ---- */
.problem-grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; }
@media (min-width: 800px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-card { padding: var(--space-l); background: var(--brand-900); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent-500); border-radius: var(--radius-l); }
.problem-card p { color: var(--ink-100); font-style: italic; font-size: var(--step-0); line-height: 1.6; }

/* ---- Branchen-Übersicht ---- */
.branchen-grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; }
@media (min-width: 640px) { .branchen-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .branchen-grid { grid-template-columns: repeat(4, 1fr); } }
.branchen-card { display: flex; flex-direction: column; gap: var(--space-s); }
.branchen-card .solutions-count { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand-300); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Browser-Mockup (Websites-Beispiel) ---- */
.browser-mockup { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); background: var(--brand-900); }
.browser-mockup .browser-bar { display: flex; align-items: center; gap: 6px; padding: 0.7em 1em; background: var(--brand-800); border-bottom: 1px solid var(--line-soft); }
.browser-mockup .browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-mockup .browser-url { margin-left: var(--space-s); font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-500); background: var(--brand-950); border-radius: var(--radius-full); padding: 0.3em 0.9em; }

.wish-automation {
  margin-top: var(--space-l);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  background: linear-gradient(135deg, rgba(75,63,140,0.35), rgba(255,107,74,0.10));
  border: 1px solid var(--line-strong);
  display: grid; gap: var(--space-m);
  align-items: center;
}
@media (min-width: 800px) { .wish-automation { grid-template-columns: 1.3fr 0.7fr; } }

/* ---- So arbeiten wir ------------------------------------------------- */
.steps-grid { display: grid; gap: var(--space-l); counter-reset: step; }
@media (min-width: 800px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-item { position: relative; padding-left: 3.6rem; }
.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -0.2rem;
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--brand-300); opacity: 0.7;
}
.step-item h3 { font-size: var(--step-1); margin-bottom: var(--space-2xs); }
.step-item p { color: var(--ink-300); font-size: var(--step--1); }

/* ---- Vertrauens-Sektion --------------------------------------------------*/
.trust-section {
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  background: var(--brand-900);
  border: 1px solid var(--line-soft);
  display: grid; gap: var(--space-xl);
}
@media (min-width: 900px) { .trust-section { grid-template-columns: 1fr 1fr; align-items: center; } }
.trust-list { display: flex; flex-direction: column; gap: var(--space-m); }
.trust-list li { display: flex; gap: 0.8em; align-items: flex-start; }
.trust-list svg { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--accent-500); margin-top: 0.1em; }
.trust-list strong { color: var(--ink-0); display: block; }
.trust-list span { color: var(--ink-300); font-size: var(--step--1); }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); text-align: center; }
.stat-item .stat-number {
  font-family: var(--font-display); font-size: var(--step-4);
  color: var(--ink-0); display: block;
}
.stat-item .stat-label { font-size: var(--step--1); color: var(--ink-500); font-family: var(--font-mono); }

/* ---- Testimonials (vorbereitet, ausgeblendet) ----------------------------*/
.testimonials { display: none; }
/* <!-- HIER echte Stimmen einfügen, bis dahin display:none --> */

/* ---- FAQ ------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-s); max-width: var(--container-narrow); margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--brand-900);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-m);
  padding: var(--space-m) var(--space-l);
  text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  color: var(--ink-0);
}
.faq-question svg { flex-shrink: 0; width: 20px; height: 20px; transition: transform var(--dur-base) var(--ease-out); }
.faq-item[open] .faq-question svg { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--space-l) var(--space-m); color: var(--ink-300); font-size: var(--step--1); }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---- Kontakt-CTA ----------------------------------------------------- */
.contact-cta {
  border-radius: var(--radius-l);
  padding: var(--space-2xl) var(--space-l);
  text-align: center;
  background: radial-gradient(60% 100% at 50% 0%, rgba(75,63,140,0.5), var(--brand-950));
  border: 1px solid var(--line-soft);
}
.contact-cta h2 { max-width: 24ch; margin-inline: auto; margin-bottom: var(--space-m); }
.contact-cta .lede { max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-l); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s); }
.contact-quick { margin-top: var(--space-l); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-l); font-size: var(--step--1); color: var(--ink-300); }
.contact-quick a { display: inline-flex; align-items: center; gap: 0.5em; color: var(--ink-100); font-weight: 600; }
.contact-quick svg { width: 18px; height: 18px; stroke: var(--brand-300); }

/* ---- Footer ------------------------------------------------------------*/
.site-footer { border-top: 1px solid var(--line-soft); padding-block: var(--space-xl) var(--space-l); }
.footer-grid {
  display: grid; gap: var(--space-l);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-xl);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 999px) { .footer-grid--5 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid--5 { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } }

/* ---- Nav-Dropdown (Branchen) ---- */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ''; display: inline-block; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.4em; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: var(--brand-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: var(--space-xs);
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 50;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown li a { display: block; padding: 0.55em 0.8em; border-radius: var(--radius-s); font-weight: 600; font-size: var(--step--1); color: var(--ink-100); }
.dropdown li a:hover { background: var(--line-soft); color: var(--ink-0); }
.footer-brand p { color: var(--ink-500); font-size: var(--step--1); margin-top: var(--space-s); max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: var(--space-s); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2xs); }
.footer-col a { color: var(--ink-300); font-size: var(--step--1); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--ink-0); }
.footer-areas { margin-bottom: var(--space-l); padding-top: var(--space-l); border-top: 1px solid var(--line-soft); }
.footer-areas h4 { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: var(--space-s); }
.footer-areas-list { display: flex; flex-wrap: wrap; gap: 0.3em 1em; }
.footer-areas-list a { font-size: 0.8rem; color: var(--ink-500); transition: color var(--dur-fast); }
.footer-areas-list a:hover { color: var(--ink-0); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-s);
  justify-content: space-between; align-items: center;
  padding-top: var(--space-l); border-top: 1px solid var(--line-soft);
  font-size: 0.8rem; color: var(--ink-500);
}
.footer-bottom ul { display: flex; gap: var(--space-m); flex-wrap: wrap; }

/* ---- WhatsApp Floating Button ------------------------------------------*/
.floating-actions {
  position: fixed;
  right: var(--space-m); bottom: var(--space-m);
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-s);
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease-out);
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 27px; height: 27px; }
.fab-whatsapp { background: #25D366; color: #06210f; position: relative; }
.fab-whatsapp::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: fabPulse 2.4s var(--ease-out) 1.2s 3;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.fab-chat { background: var(--brand-500); color: var(--ink-0); }
@media (prefers-reduced-motion: reduce) { .fab-whatsapp::after { animation: none; } }

/* ---- Chat-Widget --------------------------------------------------------*/
.chat-panel {
  position: fixed;
  right: var(--space-m); bottom: calc(var(--space-m) + 130px);
  width: min(360px, calc(100vw - 2 * var(--space-m)));
  max-height: 70vh;
  background: var(--brand-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  z-index: 200;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-m); border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
}
.chat-header strong { color: var(--ink-0); display: block; font-size: var(--step-0); }
.chat-header span { color: var(--ink-500); font-size: 0.78rem; font-family: var(--font-mono); }
.chat-close { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat-close:hover { background: var(--line-soft); }
.chat-close svg { width: 16px; height: 16px; }
.chat-body { padding: var(--space-m); overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: var(--space-s); }
.chat-body .bubble { opacity: 1; transform: none; }
.chat-quick { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chat-quick button {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  padding: 0.5em 0.9em;
  font-size: 0.78rem;
  color: var(--ink-100);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.chat-quick button:hover { border-color: var(--brand-300); background: rgba(156,140,240,0.1); }
.chat-form { border-top: 1px solid var(--line-soft); padding: var(--space-s); display: flex; gap: var(--space-2xs); }
.chat-form input {
  flex-grow: 1;
  background: var(--brand-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-full);
  padding: 0.7em 1em;
  font-size: 0.85rem;
}
.chat-form button {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-500); color: #1A0E08;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-form button svg { width: 18px; height: 18px; }
.chat-disclaimer { font-size: 0.7rem; color: var(--ink-500); padding: 0 var(--space-m) var(--space-m); }

/* ---- Formulare (Kontakt, Rückruf) ----------------------------------------*/
.form-grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4em; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--step--1); font-weight: 700; color: var(--ink-100); }
.form-field label .optional { font-weight: 400; color: var(--ink-500); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--brand-800); border: 1px solid var(--line-soft); border-radius: var(--radius-s);
  padding: 0.8em 1em; color: var(--ink-0); font-family: var(--font-body); font-size: var(--step--1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--brand-300); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-panel { display: grid; gap: var(--space-xl); }
@media (min-width: 900px) { .contact-panel { grid-template-columns: 1.2fr 0.8fr; } }
.contact-sidebar { display: flex; flex-direction: column; gap: var(--space-m); }
.contact-sidebar-item {
  display: flex; align-items: center; gap: var(--space-s);
  padding: var(--space-m); border-radius: var(--radius-m);
  background: var(--brand-900); border: 1px solid var(--line-soft);
}
.contact-sidebar-item .icon-badge { width: 44px; height: 44px; flex-shrink: 0; }
.contact-sidebar-item .icon-badge svg { width: 20px; height: 20px; }
.contact-sidebar-item strong { display: block; color: var(--ink-0); }
.contact-sidebar-item span { font-size: var(--step--1); color: var(--ink-300); }
.booking-types { display: grid; gap: var(--space-m); grid-template-columns: 1fr; margin-bottom: var(--space-l); }
@media (min-width: 640px) { .booking-types { grid-template-columns: 1fr 1fr; } }
.booking-type { padding: var(--space-m); }
.booking-type .duration { font-family: var(--font-mono); font-size: var(--step--1); color: var(--brand-300); }
.cal-embed-placeholder {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-m);
  padding: var(--space-xl); text-align: center; color: var(--ink-500);
  font-family: var(--font-mono); font-size: var(--step--1);
  margin-bottom: var(--space-l);
}

/* ---- Formular-Feedback (global nutzbar) ---------------------------------*/
.form-status { font-size: var(--step--1); padding: var(--space-s) var(--space-m); border-radius: var(--radius-s); display: none; }
.form-status.is-success { display: block; background: rgba(63,207,142,0.12); color: var(--success-500); border: 1px solid rgba(63,207,142,0.3); }
.form-status.is-error { display: block; background: rgba(255,107,74,0.12); color: var(--accent-400); border: 1px solid rgba(255,107,74,0.3); }

/* ---- Animierte Zahlen (scroll-getriggert) --------------------------------*/
[data-count] { font-variant-numeric: tabular-nums; }

/* ---- Fließtext-Seiten (Impressum, Datenschutz …) -------------------------*/
.prose { max-width: var(--container-narrow); margin-inline: auto; color: var(--ink-100); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose p { color: var(--ink-300); line-height: 1.7; }
.prose ul { padding-left: 1.3em; list-style: disc; color: var(--ink-300); }
.prose li { margin-top: 0.4em; }
.prose a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink-0); }
.prose strong { color: var(--ink-0); }
.prose .meta-updated { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-500); }

/* ---- 404 ------------------------------------------------------------- */
.error-404 { text-align: center; padding-block: var(--space-3xl) var(--space-2xl); }
.error-404 .error-code {
  font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 8rem);
  color: var(--brand-700); line-height: 1; margin-bottom: var(--space-m);
}
.error-404 h1 { margin-bottom: var(--space-s); }
.error-404 p { color: var(--ink-300); max-width: 46ch; margin-inline: auto; margin-bottom: var(--space-l); }
.error-404 .error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s); }
