/* ==========================================================================
   bee-hub design kit — eigenständige, framework-freie Version des
   Lovable-Design-Systems. Drop-in via <link rel="stylesheet" href="design-kit.css">

   Tokens + Utilities + Animations.
   Kein Tailwind, kein React, kein framer-motion. Pure CSS.
   ========================================================================== */


/* ============================================================
   1. DESIGN TOKENS (HSL custom properties)
   Alle aus index.css :root übernommen. Ändert man hier
   Werte, ändert sich konsistent das gesamte Kit.
   ============================================================ */
:root {
  /* Surfaces */
  --background:        240 10% 4%;
  --foreground:        45 10% 90%;
  --card:              240 8% 8%;
  --card-foreground:   45 10% 90%;
  --popover:           240 8% 8%;
  --popover-foreground:45 10% 90%;
  --hive-surface:      240 8% 10%;
  --hive-glass:        240 8% 12%;

  /* Brand — honey palette */
  --primary:           45 100% 50%;
  --primary-foreground:240 10% 4%;
  --honey:             42 92% 56%;
  --honey-glow:        45 100% 50%;
  --honey-dark:        38 80% 30%;
  --nectar:            30 85% 45%;
  --accent:            38 90% 55%;
  --accent-foreground: 240 10% 4%;

  /* Neutrals */
  --secondary:           240 6% 14%;
  --secondary-foreground:45 10% 90%;
  --muted:               240 6% 12%;
  --muted-foreground:    240 5% 50%;
  --border:              240 6% 16%;
  --input:               240 6% 16%;
  --ring:                45 100% 50%;

  /* Status */
  --destructive:           0 84.2% 60.2%;
  --destructive-foreground:210 40% 98%;
  --success:               142 71% 45%;

  /* Misc */
  --glow-yellow:       0 0% 100% / 0.05;
  --radius:            0.75rem;
  --radius-sm:         calc(var(--radius) - 0.25rem);
  --radius-lg:         calc(var(--radius) + 0.5rem);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sidebar (optional — aus Original übernommen) */
  --sidebar-background:        240 8% 6%;
  --sidebar-foreground:         45 10% 90%;
  --sidebar-primary:            45 100% 50%;
  --sidebar-primary-foreground: 240 10% 4%;
  --sidebar-accent:             240 6% 14%;
  --sidebar-accent-foreground:  45 10% 90%;
  --sidebar-border:             240 6% 16%;
  --sidebar-ring:               45 100% 50%;
}


/* ============================================================
   2. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* Globaler Wabenmuster-Background, sichtbar zwischen Sektionen */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='104' viewBox='0 0 90 104'><g fill='none' stroke='%23ff9a1c' stroke-width='1.4' stroke-opacity='0.9'><polygon points='45,4 85,26 85,74 45,96 5,74 5,26'/><polygon points='90,56 130,78 130,126 90,148 50,126 50,78'/><polygon points='0,56 40,78 40,126 0,148 -40,126 -40,78'/></g></svg>");
  background-size: 90px 104px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 0%, black 60%, transparent 100%);
}
/* Content über dem Pattern */
.navbar, main, section, footer { position: relative; z-index: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }


/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}


/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.text-gradient-honey {
  background-image: linear-gradient(
    135deg,
    hsl(var(--honey)),
    hsl(var(--primary)),
    hsl(var(--nectar))
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}


/* ============================================================
   5. CORE COMPONENT CLASSES (Lovable parity)
   ============================================================ */

/* Glassmorphism panel (Navbar, Cards, Badges, Buttons) */
.glass-panel {
  background: hsl(var(--secondary) / 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  box-shadow:
    0 8px 32px hsl(var(--honey) / 0.05),
    inset 0 1px 0 hsl(var(--foreground) / 0.05);
}

/* Hexagon glow — resting state */
.hex-glow {
  box-shadow:
    0 0 20px hsl(var(--honey-glow) / 0.15),
    0 0 60px hsl(var(--honey-glow) / 0.05);
}

/* Hexagon glow — hovered / active */
.hex-glow-hover {
  box-shadow:
    0 0 30px hsl(var(--honey-glow) / 0.35),
    0 0 80px hsl(var(--honey-glow) / 0.1);
}

/* Vertikale Honey-Flow-Linie (zwischen Sektionen) */
.honey-flow-line {
  background: linear-gradient(
    180deg,
    hsl(var(--honey-glow) / 0),
    hsl(var(--honey-glow) / 0.6),
    hsl(var(--honey-glow) / 0)
  );
}

/* Hexagon-Shape via clip-path (aus HoneycombGrid.tsx) */
.hex-shape {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  aspect-ratio: 1 / 1.1547;
}
.hex-shape-bg-resting {
  background: linear-gradient(135deg, hsl(240 8% 12%), hsl(240 8% 8%));
}
.hex-shape-bg-hover {
  background: linear-gradient(135deg, hsl(240 8% 14%), hsl(240 8% 10%));
}


/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: filter 0.2s, transform 0.15s, border-color 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-glass {
  background: hsl(var(--secondary) / 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
  color: hsl(var(--foreground));
  box-shadow: 0 8px 32px hsl(var(--honey) / 0.05), inset 0 1px 0 hsl(var(--foreground) / 0.05);
}
.btn-glass:hover { border-color: hsl(var(--primary) / 0.3); }

.btn-arrow > svg {
  transition: transform 0.2s;
}
.btn-arrow:hover > svg {
  transform: translateX(0.25rem);
}


/* ============================================================
   7. BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}


/* ============================================================
   8. STATUS DOT (animated)
   ============================================================ */
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--success));
  display: inline-block;
}
.status-dot.is-active {
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ============================================================
   9. ANIMATIONS — keyframes + utility classes
   Aus tailwind.config.ts + index.css übernommen.
   ============================================================ */

/* Floating up-and-down (Hero particles, decorative orbs) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Pulsing glow (decorative elements) */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* Status-dot pulse (small) */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

/* Fade in from below (replaces framer-motion initial+animate) */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scale in from 0.9 (cards on viewport-enter) */
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* Particle drift (Hero floating dots) */
@keyframes particle-drift {
  0%, 100% { transform: translateY(-10px); opacity: 0.3; }
  50%      { transform: translateY(10px);  opacity: 0.8; }
}

.animate-float          { animation: float 6s ease-in-out infinite; }
.animate-float-delayed  { animation: float 6s ease-in-out 2s infinite; }
.animate-pulse-glow     { animation: pulse-glow 3s ease-in-out infinite; }
.animate-fade-in        { animation: fade-in 0.6s ease-out forwards; }
.animate-scale-in       { animation: scale-in 0.5s ease-out forwards; }
.animate-particle       { animation: particle-drift 4s ease-in-out infinite; }

/* Stagger helpers (apply with --delay var) */
.stagger-1  { animation-delay: 0.1s; }
.stagger-2  { animation-delay: 0.2s; }
.stagger-3  { animation-delay: 0.3s; }
.stagger-4  { animation-delay: 0.4s; }
.stagger-5  { animation-delay: 0.5s; }
.stagger-6  { animation-delay: 0.6s; }

/* Reveal-on-scroll: pre-state, removed by JS or replaced by animate-fade-in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.is-visible {
  animation: fade-in 0.6s ease-out forwards;
}


/* ============================================================
   10. LAYOUT PRIMITIVES (Sections, Grids)
   ============================================================ */

.section          { padding: 8rem 0; position: relative; }
.section-sm       { padding: 5rem 0; }
.section-tight    { padding: 3rem 0; }

.text-center      { text-align: center; }
.max-w-prose      { max-width: 36rem; margin: 0 auto; }
.max-w-xl         { max-width: 36rem;  margin: 0 auto; }
.max-w-4xl        { max-width: 64rem;  margin: 0 auto; }
.max-w-5xl        { max-width: 80rem;  margin: 0 auto; }
.max-w-6xl        { max-width: 96rem;  margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
}


/* ============================================================
   11. HERO BACKGROUND-FX
   Gradient-Overlay + Blur-Spheres + Particles, wie HeroSection.tsx.
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    hsl(var(--background) / 0.35),
    hsl(var(--background) / 0.65) 60%,
    hsl(var(--background)) 100%
  );
}
.hero-blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-blur-orb-1 {
  top: 25%; left: 25%;
  width: 24rem; height: 24rem;
  background: hsl(var(--primary) / 0.1);
}
.hero-blur-orb-2 {
  bottom: 25%; right: 25%;
  width: 20rem; height: 20rem;
  background: hsl(var(--honey-dark) / 0.2);
  filter: blur(100px);
}
.hero-particle {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.6);
  pointer-events: none;
}
.hero-content {
  max-width: 56rem;
  text-align: left;
}
.hero-content .h-display { text-wrap: balance; }
@media (max-width: 768px) {
  .hero-content { max-width: 100%; }
}


/* ============================================================
   12. HEADINGS (display sizes, like Lovable Hero)
   ============================================================ */
.h-display {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 6vw, 6rem);
}
.h-section {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3rem);
}
.h-card {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
.lede {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.65;
}


/* ============================================================
   13. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsl(var(--secondary) / 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.navbar-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em;
}
.navbar-logo .accent { color: hsl(var(--primary)); }
.navbar-links {
  display: flex; align-items: center; gap: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.navbar-links a { transition: color 0.2s; }
.navbar-links a:hover { color: hsl(var(--primary)); }
@media (max-width: 768px) {
  .navbar-links { display: none; }
}


/* ============================================================
   14. STATS-Row (Hero-Stats)
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 36rem;
  margin: 5rem auto 0;
}
.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: hsl(var(--primary));
}
.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}


/* ============================================================
   15. ICON-BOX (used in feature cards, hex-cells)
   ============================================================ */
.icon-box {
  padding: 0.75rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  width: fit-content;
  display: inline-flex;
}
.icon-box-secondary {
  background: hsl(var(--secondary));
}


/* ============================================================
   16. ACTIVITY-FEED ROW (Colony Section)
   ============================================================ */
.activity-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: hsl(var(--secondary) / 0.3);
}
.activity-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 700;
  color: hsl(var(--primary));
}
.activity-text { flex: 1; min-width: 0; font-size: 0.875rem; }
.activity-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}


/* ============================================================
   17. COLOR HELPERS (Tailwind-Style Drop-ins)
   ============================================================ */
.text-primary           { color: hsl(var(--primary)); }
.text-foreground        { color: hsl(var(--foreground)); }
.text-muted             { color: hsl(var(--muted-foreground)); }
.text-honey             { color: hsl(var(--honey)); }
.text-nectar            { color: hsl(var(--nectar)); }

.bg-background          { background: hsl(var(--background)); }
.bg-card                { background: hsl(var(--card)); }
.bg-secondary           { background: hsl(var(--secondary)); }
.bg-primary             { background: hsl(var(--primary)); }

.border-default         { border: 1px solid hsl(var(--border)); }


/* ============================================================
   18. STEP-ROWS + SUCCESS-BADGES (V1 Wertschöpfungs-Look)
   Honey-Background-Tag + Step-Rows mit grünen ✓-Badges.
   ============================================================ */

.step-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}
.step-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 1rem 0 1.25rem;
  color: hsl(var(--foreground));
}
.step-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.step-row-text { color: hsl(var(--foreground)); }
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
}
/* Green check-badge — the Frederic-V1 success-style */
.step-badge-success {
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.3);
}
.step-badge-success::before {
  content: '✓';
  font-weight: 700;
}

@media (max-width: 600px) {
  .step-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}


/* ============================================================
   19. TAG-PILL (BUCHHALTUNG / ERP — honey-glow border)
   ============================================================ */
.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag-pill-honey {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.3);
}
.tag-pill-muted {
  color: hsl(var(--muted-foreground));
  background: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--border));
}


/* ============================================================
   20. FAQ ACCORDION (native <details>)
   Keyboard-accessible, kein JS nötig.
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.1);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}
.faq-summary:hover { color: hsl(var(--primary)); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1;
  color: hsl(var(--primary));
  transition: transform 0.2s;
}
.faq-item[open] .faq-summary::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-body {
  padding: 0 1.5rem 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-body p + p { margin-top: 0.75rem; }


/* ============================================================
   37. PERSONA-STORY (3 Walkthrough-Sektionen Anna/Ben/Tina)
   ============================================================ */
.persona-story {
  display: grid;
  grid-template-columns: 1fr 26rem;
  gap: 4rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}
.persona-story + .persona-story { margin-top: 6rem; }
@media (max-width: 1100px) {
  .persona-story { grid-template-columns: 1fr; gap: 2.5rem; }
}
.persona-story-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}
.persona-story-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}
.persona-story-intro {
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.persona-story-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
/* Walkthrough-style: Source-Icon → Arrow → Text → Result */
.persona-story-bullet {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0.875rem;
  background: hsl(var(--primary) / 0.04);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.persona-story-bullet-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  animation: wkSourcePulse 2.4s ease-in-out infinite;
}
.persona-story-bullet-icon.is-spin {
  animation: wkSpin 4s linear infinite;
}
.persona-story-bullet-arrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--primary));
  animation: wkArrowFlow 1.8s ease-in-out infinite;
}
.persona-story-bullet-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
}
.persona-story-bullet-result {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.12);
  border: 1px solid hsl(var(--success) / 0.5);
  animation: wkResultPop 1.6s ease-in-out infinite;
}
.persona-story-bullet-result::before { content: '✓ '; }

@keyframes wkSourcePulse {
  0%, 100% { transform: scale(1) rotate(0deg);  filter: drop-shadow(0 0 4px hsl(var(--primary) / 0.5)); }
  50%      { transform: scale(1.12) rotate(8deg); filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.85)); }
}
@keyframes wkArrowFlow {
  0%, 100% { transform: translateX(-4px); opacity: 0.4; }
  50%      { transform: translateX(4px);  opacity: 1; }
}
@keyframes wkResultPop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes wkSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.persona-story-bullet:nth-child(2) .persona-story-bullet-icon { animation-delay: 0.4s; }
.persona-story-bullet:nth-child(3) .persona-story-bullet-icon { animation-delay: 0.8s; }
.persona-story-bullet:nth-child(2) .persona-story-bullet-arrow { animation-delay: 0.3s; }
.persona-story-bullet:nth-child(3) .persona-story-bullet-arrow { animation-delay: 0.6s; }
.persona-story-bullet:nth-child(2) .persona-story-bullet-result { animation-delay: 0.5s; }
.persona-story-bullet:nth-child(3) .persona-story-bullet-result { animation-delay: 1s; }
.persona-story-outro {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Reverse layout for Ben (Mockup links, Story rechts) */
.persona-story.reverse { grid-template-columns: 26rem 1fr; }
.persona-story.reverse .persona-story-text { order: 2; }
.persona-story.reverse .inbox-mockup { order: 1; }
@media (max-width: 1100px) {
  .persona-story.reverse { grid-template-columns: 1fr; }
  .persona-story.reverse .persona-story-text { order: 1; }
  .persona-story.reverse .inbox-mockup { order: 2; }
}
.faq-body ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.faq-body li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  color: hsl(var(--muted-foreground));
}
.faq-body li::before {
  content: '·';
  position: absolute;
  left: 0.25rem;
  color: hsl(var(--primary));
  font-weight: 700;
}
.faq-body li:last-child { margin-bottom: 0; }
.faq-body li strong { color: hsl(var(--foreground)); font-weight: 600; }


/* ============================================================
   21. PRICING-TIER CARD (Souveränitäts-Tiers)
   3-Spalten-Grid mit optional "featured" Mittelspalte.
   ============================================================ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--card));
}
.tier-col {
  padding: 2rem 1.75rem;
  border-right: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tier-col:last-child { border-right: 0; }
.tier-col.featured {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.05), transparent 70%);
}
.tier-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: hsl(var(--primary));
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tier-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.tier-body {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.65;
}
.tier-price {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--primary));
}
@media (max-width: 1024px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier-col { border-right: 0; border-bottom: 1px solid hsl(var(--border)); }
  .tier-col:last-child { border-bottom: 0; }
}


/* ============================================================
   22. TRUST-ICON-ROW (4er Grid mit Icon + Label)
   ============================================================ */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid hsl(var(--border));
  text-align: center;
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: hsl(var(--foreground));
}
@media (max-width: 768px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { padding: 1rem; border-bottom: 1px solid hsl(var(--border)); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
}


/* ============================================================
   23. SECTION LABEL (kleine eyebrow-line vor h2)
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  box-shadow: 0 0 8px hsl(var(--primary));
}


/* ============================================================
   24. SWATCH (für Color-Palette-Showcase)
   ============================================================ */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.swatch {
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.swatch-color {
  height: 80px;
}
.swatch-label {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.swatch-label .name { color: hsl(var(--foreground)); }
.swatch-label .val { color: hsl(var(--muted-foreground)); font-size: 0.65rem; }


/* ============================================================
   25. SYSTEM-PILLS (V1-Anbindungen-Look mit grünem Dot + Mono-Tag)
   ============================================================ */
.system-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.sys-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.sys-pill:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--hive-surface));
  box-shadow: 0 0 20px hsl(var(--primary) / 0.08);
}
.sys-pill::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: hsl(var(--success));
  box-shadow: 0 0 6px hsl(var(--success) / 0.6);
}
.sys-pill .sys-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  margin-left: 0.25rem;
}


/* ============================================================
   26. COMPARE-TABLE (Anti-Hyperscaler: Frage / Andere / Bee Hub)
   ============================================================ */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--card));
}
.compare th, .compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.95rem;
  line-height: 1.5;
}
.compare thead th {
  background: hsl(var(--secondary) / 0.5);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}
.compare thead th.col-bee {
  color: hsl(var(--primary));
  background: linear-gradient(180deg, hsl(var(--primary) / 0.08), hsl(var(--secondary) / 0.5) 60%);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.q-cell {
  font-weight: 600;
  color: hsl(var(--foreground));
  width: 28%;
}
.compare td.other-cell { color: hsl(var(--muted-foreground)); }
.compare td.bee-cell {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.04);
  border-left: 1px solid hsl(var(--primary) / 0.2);
}
@media (max-width: 768px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; box-sizing: border-box; }
  .compare tr { border-bottom: 4px solid hsl(var(--background)); }
  .compare td { border-bottom: 1px solid hsl(var(--border)); padding: 0.75rem 1rem; }
  .compare td.q-cell { background: hsl(var(--secondary) / 0.5); font-weight: 700; }
  .compare td.other-cell::before { content: 'Hyperscaler: '; font-family: var(--font-mono); font-size: 0.7rem; color: hsl(var(--muted-foreground)); display: block; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .compare td.bee-cell::before { content: 'Bee Hub: '; font-family: var(--font-mono); font-size: 0.7rem; color: hsl(var(--primary)); display: block; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .compare td.bee-cell { border-left: 3px solid hsl(var(--primary)); }
}


/* ============================================================
   27. WORKER-CARD (Galerie der digitalen Mitarbeiter)
   ============================================================ */
.worker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.worker-card {
  position: relative;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.worker-card:hover {
  border-color: hsl(var(--primary) / 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.08);
}
.worker-hex {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: hsl(var(--primary));
}
.worker-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}
.worker-job {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: hsl(var(--primary));
  text-transform: uppercase;
}
.worker-desc {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.55;
}
.worker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  width: fit-content;
}
.worker-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-top: auto;
  padding-top: 0.5rem;
}


/* ============================================================
   28. INDUSTRY-TILE (Branchen-Quick-Links)
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.industry-tile {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}
.industry-tile:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--hive-surface));
  transform: translateY(-1px);
}
.industry-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}
.industry-name {
  font-weight: 500;
  font-size: 0.95rem;
}


/* ============================================================
   29. ERP-PARTNER BLOCK (CTA-Layer mit Honey-Tönung)
   ============================================================ */
.partner-block {
  padding: 3rem 2rem;
  background:
    linear-gradient(180deg, hsl(var(--primary) / 0.06), transparent 80%),
    hsl(var(--card));
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.partner-block::after {
  content: '';
  position: absolute;
  bottom: -8rem;
  right: -8rem;
  width: 16rem;
  height: 16rem;
  background: hsl(var(--primary) / 0.08);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.partner-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}
.partner-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}
.partner-perks li::before {
  content: '–';
  color: hsl(var(--primary));
  font-weight: 700;
}


/* ============================================================
   30. SECTION-HEAD (centered headlines + subhead-wrap)
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p { max-width: 38rem; margin: 0 auto; color: hsl(var(--muted-foreground)); }
.section-head .promise-line {
  max-width: 44rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--foreground));
  letter-spacing: -0.005em;
}


/* ============================================================
   34. CLAIM-GRID (Souveränitäts-Sektion: 4x2 Cards mit grünem ✓)
   ============================================================ */
.claim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
.claim-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.claim-card:hover {
  border-color: hsl(var(--success) / 0.4);
  background: hsl(var(--hive-surface));
}
.claim-check {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--success) / 0.12);
  border: 1px solid hsl(var(--success) / 0.4);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: hsl(var(--success));
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
}
.claim-body { min-width: 0; }
.claim-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.claim-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}
.claim-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.3);
  border-radius: 9999px;
}
@media (max-width: 768px) {
  .claim-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   31. CTA-CARD (Final-CTA-Block)
   ============================================================ */
.cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  background:
    linear-gradient(135deg, hsl(var(--primary) / 0.08), hsl(var(--card)) 60%);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: var(--radius-lg);
}


/* ============================================================
   32. FOOTER (Final, mit Legal-Links)
   ============================================================ */
.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: 6rem;
}
.site-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
}
.site-footer-brand .accent { color: hsl(var(--primary)); }
.site-footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}
.site-footer-links {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer-links a:hover { color: hsl(var(--primary)); }


/* ============================================================
   33. EDIT-MODE — wird via ?edit=1 + body.is-editing aktiv
   ============================================================ */
body.is-editing { padding-top: 2.75rem; }
body.is-editing .navbar { top: 2.75rem; }

.editable {
  outline: 1px dashed transparent;
  outline-offset: 4px;
  border-radius: 4px;
  transition: outline-color 0.15s, background 0.15s;
  cursor: text;
}
.editable:hover {
  outline-color: hsl(var(--primary) / 0.5);
}
.editable:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 4px;
  background: hsl(var(--primary) / 0.06);
}

#edit-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.55rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.25);
}
#edit-banner .edit-banner-msg { display: flex; align-items: center; gap: 0.5rem; }
#edit-banner .edit-banner-msg svg { flex-shrink: 0; }
#edit-banner button {
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 0;
  background: hsl(240 10% 4%);
  color: hsl(var(--primary));
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.15s, opacity 0.15s;
}
#edit-banner button:hover { background: hsl(240 10% 8%); }
#edit-banner button:disabled { opacity: 0.6; cursor: wait; }
#edit-banner #edit-publish {
  background: hsl(45 100% 50%);
  color: hsl(240 10% 4%);
  border: 1px solid hsl(45 100% 50%);
}
#edit-banner #edit-publish:hover { background: hsl(45 100% 55%); }

#edit-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: hsl(var(--success));
  color: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  pointer-events: none;
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.4);
}
#edit-toast.show { opacity: 1; transform: translateY(0); }
#edit-toast.error { background: hsl(var(--destructive)); }


/* ============================================================
   34. HIVE-MIND — Live Systems Mockup
   ============================================================ */
.hive-mind {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.hive-mind-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hive-mind-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: hsl(var(--foreground));
}
.hive-mind-title .accent { color: hsl(var(--primary)); }
.hive-mind-desc {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 64rem;
}
.hive-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hive-kpi {
  padding: 1rem 1.1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}
.hive-kpi-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.4rem;
}
.hive-kpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: hsl(var(--foreground));
  line-height: 1;
}
.hive-kpi-value.is-warning { color: hsl(var(--primary)); }
.hive-kpi-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.4rem;
}
.hive-kpi-sub.is-warning { color: hsl(var(--primary)); }
.hive-section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.hive-systems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.hive-system-card {
  padding: 1rem 1.1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  border-left: 3px solid hsl(var(--success));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hive-system-card.has-anomaly { border-left-color: hsl(var(--primary)); }
.hive-system-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.hive-system-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}
.hive-system-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
}
.hive-system-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.15rem;
}
.hive-system-warn {
  width: 1.5rem; height: 1.5rem;
  border-radius: 4px;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.4);
  display: grid; place-items: center;
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.hive-system-stats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.hive-system-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.hive-system-stat .label { color: hsl(var(--muted-foreground)); }
.hive-system-stat .value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: hsl(var(--foreground));
}
.hive-system-stat .value.is-warning { color: hsl(var(--primary)); }
@media (max-width: 1100px) {
  .hive-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .hive-systems { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hive-kpi-row, .hive-systems { grid-template-columns: 1fr; }
}


/* ============================================================
   35. INBOX-MOCKUP — KI-Assistent
   ============================================================ */
.inbox-wrap {
  display: grid;
  grid-template-columns: 1fr 28rem;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .inbox-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
.inbox-mockup {
  position: relative;
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  max-width: 28rem;
  margin: 0 auto;
}
.inbox-header {
  margin-bottom: 1rem;
}
.inbox-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.4rem;
}
.inbox-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: hsl(var(--foreground));
}
.inbox-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 1rem;
}
.inbox-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  cursor: default;
  position: relative;
}
.inbox-tab.active {
  color: hsl(var(--primary));
}
.inbox-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: hsl(var(--primary));
}
.inbox-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inbox-item {
  padding: 0.75rem 0.875rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  position: relative;
}
.inbox-item.is-action {
  border-left: 2px solid hsl(var(--primary));
}
.inbox-item.is-reminder {
  border-left: 2px solid hsl(38 90% 55%);
}
.inbox-item.is-status { /* default */ }
.inbox-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.4rem;
}
.inbox-item.is-action .inbox-item-tag { color: hsl(var(--primary)); }
.inbox-item.is-reminder .inbox-item-tag { color: hsl(38 90% 55%); }
.inbox-item-tag::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
}
.inbox-item.is-action .inbox-item-tag::before { content: '⚠'; width: auto; height: auto; }
.inbox-item.is-reminder .inbox-item-tag::before { content: '⏰'; width: auto; height: auto; }
.inbox-item.is-status .inbox-item-tag::before { content: '·'; width: auto; height: auto; font-weight: 700; }
.inbox-item-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.2rem;
}
.inbox-item-body {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.inbox-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inbox-item-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}
.inbox-item-jump {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-weight: 600;
}
.inbox-item-jump::after { content: ' →'; }
.inbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 1rem;
  height: 1rem;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  cursor: default;
  line-height: 1;
}
.ki-hexagon-badge {
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  width: 4.5rem;
  height: 5.2rem;
  background: hsl(var(--primary));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
  color: hsl(var(--primary-foreground));
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 0 30px hsl(var(--primary) / 0.35);
}
.ki-hexagon-badge .ki-icon {
  width: 1rem;
  height: 1rem;
  margin-bottom: 0.2rem;
  display: block;
}


/* ============================================================
   36. VALUE-CHAIN — Phasen × Branchen
   ============================================================ */
.chain {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
}
.chain-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.chain-industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.chain-industries-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-right: 0.5rem;
}
.chain-industry-pill {
  padding: 0.4rem 0.875rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  color: hsl(var(--foreground));
}
.chain-industry-pill:hover {
  border-color: hsl(var(--primary) / 0.5);
}
.chain-industry-pill.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.chain-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}
.chain-counter strong { color: hsl(var(--primary)); }
.chain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}
.chain-phase {
  padding: 1rem 1.1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  border-top: 3px solid hsl(var(--primary));
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.chain-phase-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.chain-phase-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.chain-modules {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.chain-module {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.chain-module-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground));
  flex-shrink: 0;
}
.chain-module.is-autonomous .chain-module-dot {
  background: hsl(var(--primary));
  box-shadow: 0 0 6px hsl(var(--primary) / 0.5);
}
.chain-module-name {
  flex: 1;
  color: hsl(var(--foreground));
}
/* Industry-Filter highlight */
.chain.filter-active .chain-module {
  opacity: 0.3;
}
.chain.filter-active .chain-module.is-relevant {
  opacity: 1;
  background: hsl(var(--primary) / 0.06);
  border-color: hsl(var(--primary) / 0.3);
}
@media (max-width: 1100px) {
  .chain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .chain-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   38. INBOX-MOCKUP — LIGHT-MODE OVERRIDES
   Alle Inbox-Mockups auf der Marketing-Page sind hellbraun-weiß,
   kontrastieren mit dem dunklen Page-Hintergrund.
   ============================================================ */
.inbox-mockup {
  background: hsl(0 0% 99%);
  border: 1px solid hsl(0 0% 88%);
  color: hsl(240 10% 12%);
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 100% / 0.05);
}
.inbox-mockup .inbox-eyebrow {
  color: hsl(38 80% 38%);
}
.inbox-mockup .inbox-title {
  color: hsl(240 10% 12%);
}
.inbox-mockup .inbox-tabs {
  border-bottom: 1px solid hsl(0 0% 88%);
}
.inbox-mockup .inbox-tab {
  color: hsl(240 5% 50%);
}
.inbox-mockup .inbox-tab.active {
  color: hsl(38 80% 38%);
}
.inbox-mockup .inbox-tab.active::after {
  background: hsl(42 92% 52%);
}
.inbox-mockup .inbox-item {
  background: hsl(0 0% 100%);
  border: 1px solid hsl(0 0% 88%);
  color: hsl(240 10% 12%);
}
.inbox-mockup .inbox-item.is-action {
  border: 1px solid hsl(42 92% 52%);
  box-shadow: 0 0 0 1px hsl(42 92% 52% / 0.15) inset;
}
.inbox-mockup .inbox-item.is-reminder {
  border: 1px solid hsl(20 85% 55%);
  box-shadow: 0 0 0 1px hsl(20 85% 55% / 0.15) inset;
}
.inbox-mockup .inbox-item.is-status {
  background: hsl(0 0% 96%);
  border: 1px solid hsl(0 0% 88%);
}
.inbox-mockup .inbox-item-tag {
  color: hsl(240 5% 50%);
}
.inbox-mockup .inbox-item.is-action .inbox-item-tag {
  color: hsl(38 80% 38%);
}
.inbox-mockup .inbox-item.is-reminder .inbox-item-tag {
  color: hsl(20 75% 45%);
}
.inbox-mockup .inbox-item-title {
  color: hsl(240 10% 12%);
}
.inbox-mockup .inbox-item-body {
  color: hsl(240 5% 40%);
}
.inbox-mockup .inbox-item-time {
  color: hsl(240 5% 55%);
}
.inbox-mockup .inbox-item-jump {
  color: hsl(38 80% 38%);
}
.inbox-mockup .inbox-close {
  color: hsl(240 5% 60%);
}
/* KI-Hexagon-Badge bleibt golden (gleicher Look wie im Screenshot) */


/* ============================================================
   39. IDEAL-MITARBEITER (Hook-Sektion nach Hero)
   ============================================================ */
.ideal {
  text-align: center;
}
.ideal-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
}
.ideal-question .accent { color: hsl(var(--primary)); }
.ideal-intro {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 3rem;
}
.ideal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
  max-width: 64rem;
  margin: 0 auto 2.5rem;
}
@media (max-width: 1024px) { .ideal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ideal-grid { grid-template-columns: 1fr; } }

.ideal-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.ideal-item:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--hive-surface));
}
.ideal-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  animation: wkSourcePulse 2.4s ease-in-out infinite;
}
.ideal-item:nth-child(2) .ideal-item-icon  { animation-delay: 0.2s; }
.ideal-item:nth-child(3) .ideal-item-icon  { animation-delay: 0.4s; }
.ideal-item:nth-child(4) .ideal-item-icon  { animation-delay: 0.6s; }
.ideal-item:nth-child(5) .ideal-item-icon  { animation-delay: 0.8s; }
.ideal-item:nth-child(6) .ideal-item-icon  { animation-delay: 1.0s; }
.ideal-item:nth-child(7) .ideal-item-icon  { animation-delay: 1.2s; }
.ideal-item:nth-child(8) .ideal-item-icon  { animation-delay: 1.4s; }
.ideal-item-text {
  color: hsl(var(--foreground));
  line-height: 1.4;
}

.ideal-closing {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: hsl(var(--foreground));
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.4;
}
.ideal-closing .accent { color: hsl(var(--primary)); }
