/* ================================================================
   immorise · Prototyp · Styles
   Farben aus Logo:
   --orange #FB923C · --magenta #EC4899 · --cyan #22D3DC
   --cyan-deep #06B6D4 · --lime #BEF264
   ================================================================ */

:root {
  /* Logo-Markenfarben */
  --orange: #FB923C;
  --magenta: #EC4899;
  --cyan: #22D3DC;
  --cyan-deep: #06B6D4;
  --lime: #BEF264;

  /* Brand-Akzente aus Design-Referenz (passend zu Logo-Lime) */
  --brand-green-light: #e8fbc6;
  --brand-green: #c6f56f;

  /* Sekundär & Akzent */
  --ink: #1a1a1c;        /* secondary aus Referenz */
  --ink-soft: #334155;
  --muted: #64748B;
  --accent: #fcfcfc;

  /* Background-Palette (Light) – aus Design-Referenz */
  --bg-1: #fcfcfd;
  --bg-2: #f9fafb;
  --bg-3: #f4f5f8;
  --bg-4: #f0f2f6;
  /* Aliases für Bestandskompatibilität */
  --bg: #FFFFFF;
  --bg-soft: var(--bg-2);

  /* Background-Palette (Dark) – aus Design-Referenz */
  --bg-dark-1: #13171e;
  --bg-dark-2: #0f1217;
  --bg-dark-3: #181d26;
  --bg-dark-4: #070b10;

  /* Strokes / Lines (Light) */
  --line: #dfe4eb;
  --line-soft: #eceff4;

  /* Schatten */
  --shadow-card: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 8px 20px -10px rgba(15, 23, 42, 0.08);
  --shadow-nav: 0 10px 30px -10px rgba(15, 23, 42, 0.12);

  /* Border-Radius-Skala aus Design-Referenz */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-4xl: 2rem;
  --radius-pill: 9999px;
  /* Aliases */
  --radius-card: var(--radius-3xl);
  --radius-btn: var(--radius-xl);

  --font-display: 'Cabin', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1290px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Mobile: kein horizontales Scrollen, ABER overflow-x: clip statt hidden,
     damit position: sticky (Navbar) weiterhin funktioniert.
     `clip` ist die moderne Property die overflow verhindert ohne sticky zu brechen. */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
/* Sections und Wrapper dürfen nicht horizontal überlaufen (clip statt hidden, damit sticky funktioniert) */
section, footer, main, .section, .section-inner {
  max-width: 100vw;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ================================================================
   NAVBAR – Pill, schwebend
   ================================================================ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 24px 0;
  transition: transform 0.32s ease;
  will-change: transform;
}
.nav-wrap.nav-hidden {
  transform: translateY(-140%);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  padding: 10px 14px 10px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-full {
  display: inline-block;
  height: 54px;
  width: auto;
}

.logo-text { color: var(--ink); }

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14.5px;
  padding: 6px 4px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-links li { position: relative; }

/* ===== Mega-Menü „Branchen" ===== */
.nav-mega-trigger {
  background: none;
  border: 0;
  margin: 0;
  font-family: inherit;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1;
  padding: 6px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.nav-mega-trigger:hover,
.nav-has-mega:hover > .nav-mega-trigger,
.nav-mega-trigger[aria-expanded="true"] { color: var(--magenta); }  /* Aktiv-/Offen-Zustand: Markenfarbe zeigt, in welchem Menü man ist (Alex r223) */
.nav-mega-caret {
  display: inline-block;
  font-size: 9px;
  transition: transform 0.2s ease;
  margin-top: 1px;
}
.nav-has-mega:hover .nav-mega-caret,
.nav-mega-trigger[aria-expanded="true"] .nav-mega-caret { transform: rotate(180deg); }

.nav-mega {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(960px, calc(100vw - 32px));
  background: #ffffff;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 28px 60px -20px rgba(15, 23, 42, 0.25),
    0 60px 120px -40px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 999;
}
.nav-has-mega:hover .nav-mega,
.nav-mega:hover,
.nav-mega-trigger[aria-expanded="true"] + .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Hover-Bridge zwischen Trigger und Mega-Menu
   (muss bis zum Panel reichen — top:80px —, sonst schließt das Menü
   beim Runterfahren in der Lücke. Höhe großzügig, damit sie sicher überlappt.) */
.nav-has-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 36px;
}

.nav-mega-inner { padding: 28px 32px 22px; }
.nav-mega-head {
  /* kein Eyebrow mehr (Alex r228) → Titel + Sub linksbündig gestapelt */
  display: block;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.nav-mega-eyebrow {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 18px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  align-self: center;
}
.nav-mega-title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.nav-mega-sub {
  grid-column: 2;
  grid-row: 2;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 10px;
}
.nav-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-mega-item:hover {
  background: rgba(15, 23, 42, 0.04);
}
.nm-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bc), var(--bc2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--bc) 50%, transparent);
}
.nm-icon svg { width: 18px; height: 18px; }
.nm-text { display: flex; flex-direction: column; min-width: 0; }
.nm-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nm-text span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.35;
  margin-top: 2px;
}
/* Use-Cases-Mega: Nummern-Badge (statt Branchen-Icon) + umbrechende Titel */
.nm-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-mega-uc-item:hover .nm-num { background: rgba(251, 146, 60, 0.16); color: #c2410c; }
.nav-mega-uc .nm-text strong { white-space: normal; }
/* Anwendungen-Mega (16 Use Cases): 4 Spalten × 4 Reihen = bündig (Alex r223); breiteres Popup, damit die 4 Spalten Luft haben.
   Eyebrow entfernt → Header linksbündig (Titel + Sub stapeln). */
.nav-mega-uc { width: min(1080px, calc(100vw - 32px)); }
.nav-mega-uc .nav-mega-head { display: block; }
.nav-mega-grid-uc { grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
@media (max-width: 1100px) {
  .nav-mega-grid-uc { grid-template-columns: repeat(3, 1fr); }  /* schmaler Viewport: zurück auf 3 Spalten */
}
/* Plattform-Mega (11 Bausteine, Alex r228): 4 Spalten, springt per Anker zur jeweiligen Baustein-Kachel */
.nav-mega-plat { width: min(1040px, calc(100vw - 32px)); }
.nav-mega-grid-plat { grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
@media (max-width: 1100px) {
  .nav-mega-grid-plat { grid-template-columns: repeat(3, 1fr); }
}
/* Branchen-Mega (16 Branchen, Alex r271): 4 Spalten × 4 Reihen wie Anwendungen — breiteres Popup, Titel dürfen umbrechen. */
.nav-mega-br { width: min(1140px, calc(100vw - 32px)); }
.nav-mega-grid-br { grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
.nav-mega-br .nm-text strong { white-space: normal; }
@media (max-width: 1100px) {
  .nav-mega-grid-br { grid-template-columns: repeat(3, 1fr); }
}
/* Baustein-Kacheln per Menü ansteuerbar → Scroll-Abstand wegen fixer Top-Navi */
.bento-card { scroll-margin-top: 100px; }

.nav-mega-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: flex-end;
}
.nav-mega-all {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251,146,60,0.12), rgba(236,72,153,0.12));
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-mega-all:hover {
  background: linear-gradient(135deg, rgba(251,146,60,0.2), rgba(236,72,153,0.2));
  transform: translateY(-1px);
}
.nav-mega-all .arrow { transition: transform 0.2s ease; }
.nav-mega-all:hover .arrow { transform: translateX(3px); }

/* Mega-Menu auf Mobile ausblenden — Mobile nutzt den Burger-Drawer */
@media (max-width: 900px) {
  .nav-has-mega { display: none; }
}

.nav-has-sub > a { cursor: pointer; }
/* Hover-Bridge: unsichtbare Brücke zwischen Trigger und Submenu, damit der Mauszeiger
   beim Wandern nach unten nicht im "Gap" verloren geht. */
.nav-has-sub::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 320px;
  height: 18px;
  transform: translateX(-50%);
  pointer-events: none;
}
.nav-has-sub:hover::after,
.nav-has-sub:focus-within::after { pointer-events: auto; }

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  min-width: 340px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px -16px rgba(15, 23, 42, 0.24), 0 4px 16px -4px rgba(15, 23, 42, 0.08);
  z-index: 100;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.18s;
  pointer-events: none;
}
.nav-has-sub:hover > .nav-submenu,
.nav-has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-submenu a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.nav-submenu a::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sub-c, linear-gradient(135deg, var(--orange), var(--magenta)));
  flex-shrink: 0;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(15, 23, 42, 0.06);
}
.nav-submenu a:nth-child(1)::before { background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); }
.nav-submenu a:nth-child(2)::before { background: linear-gradient(135deg, var(--orange), var(--magenta)); }
.nav-submenu a:nth-child(3)::before { background: linear-gradient(135deg, var(--lime), var(--cyan)); }
.nav-submenu a:nth-child(4)::before { background: linear-gradient(135deg, var(--magenta), var(--orange)); }
.nav-submenu a:hover {
  background: rgba(251, 146, 60, 0.06);
  color: var(--ink);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.lang-btn {
  font-weight: 600;
  padding: 4px 6px;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.lang-btn.is-active { color: var(--ink); }
.lang-btn:hover { color: var(--ink); }
.lang-sep { color: var(--line); }

.nav-login {
  font-size: 13.5px;
  color: var(--cyan-deep);
  font-weight: 600;
  padding: 7px 14px;
  border: 1.5px solid color-mix(in srgb, var(--cyan-deep) 32%, transparent);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav-login:hover {
  background: color-mix(in srgb, var(--cyan-deep) 8%, transparent);
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 20px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #1e293b;
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 26px;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 56px;
}

/* Hero: animierter, immersiver Hintergrund */
.hero {
  background: var(--bg-3);
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-v2 {
  background: linear-gradient(180deg, #FAFBFD 0%, #F0F2F6 100%);
}

/* Hero V3: echtes Plattform-Bild im Hintergrund + Live-Cards */
.hero-bg-v3 {
  background: linear-gradient(180deg, #FAFBFD 0%, #F0F2F6 100%);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.85;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.05) 85%, transparent 100%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.4) 0%, rgba(247, 249, 252, 0.65) 100%);
  pointer-events: none;
}

/* Verortete Marker-Pins im Panorama */
.hero-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hm {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  animation: hmFloat 6s ease-in-out infinite;
}
.hm-orange { --hmc: #FB923C; }
.hm-magenta { --hmc: #EC4899; animation-delay: -1.5s; }
.hm-cyan { --hmc: #06B6D4; animation-delay: -3s; }
.hm-lime { --hmc: #65a30d; animation-delay: -4.5s; }
@keyframes hmFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 6px)); }
}
.hm-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hmc);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.35), 0 0 0 0 color-mix(in srgb, var(--hmc) 60%, transparent);
  animation: hmPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hmPulse {
  0%, 100% { box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.35), 0 0 0 0 color-mix(in srgb, var(--hmc) 60%, transparent); }
  50% { box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.35), 0 0 0 10px color-mix(in srgb, var(--hmc) 0%, transparent); }
}
.hm-label {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--hmc) 30%, transparent);
}
.hm-label em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 10.5px;
  opacity: 0.75;
  margin-top: 1px;
}

/* Live-Dashboard rechts oben */
.hero-dashboard {
  position: absolute;
  top: 88px;
  right: 32px;
  width: 340px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  padding: 18px 18px 14px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.2), 0 8px 20px -10px rgba(15, 23, 42, 0.08);
  z-index: 4;
  animation: heroFloatDash 8s ease-in-out infinite;
}
@keyframes heroFloatDash {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-dashboard .hd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.hero-dashboard .hd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(190, 242, 100, 0.7);
  animation: pulse 2s infinite;
}
.hero-dashboard .hd-head strong {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  flex: 1;
}
.hero-dashboard .hd-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.hero-dashboard .hd-list {
  display: grid;
  gap: 8px;
}
.hero-dashboard .hd-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: var(--bg-2);
  transition: background 0.2s;
}
.hero-dashboard .hd-list li:hover { background: var(--bg-3); }
.hero-dashboard .hd-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.hero-dashboard .hd-icon-orange { background: rgba(251, 146, 60, 0.15); }
.hero-dashboard .hd-icon-magenta { background: rgba(236, 72, 153, 0.13); }
.hero-dashboard .hd-icon-cyan { background: rgba(6, 182, 212, 0.13); }
.hero-dashboard .hd-icon-lime { background: rgba(190, 242, 100, 0.25); }
.hero-dashboard .hd-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-dashboard .hd-list > li > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}
.hero-dashboard .hd-date {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Floating Notification links oben */
.hero-notif {
  position: absolute;
  top: 110px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 12px;
  box-shadow: 0 18px 40px -15px rgba(15, 23, 42, 0.18);
  z-index: 4;
  max-width: 280px;
  animation: heroFloatNotif 7s ease-in-out infinite;
}
@keyframes heroFloatNotif {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-notif .hn-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
.hero-notif strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-notif > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Floating KPI-Pin links unten */
.hero-kpi-pin {
  position: absolute;
  bottom: 80px;
  left: 48px;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 50px -20px rgba(236, 72, 153, 0.5);
  z-index: 4;
  text-align: left;
  animation: heroFloatKpi 9s ease-in-out infinite;
}
@keyframes heroFloatKpi {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-kpi-pin strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.hero-kpi-pin span {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .hero-dashboard { width: 280px; right: 16px; top: 80px; }
  .hero-notif { display: none; }
  .hero-kpi-pin { display: none; }
}
@media (max-width: 760px) {
  .hero-dashboard { display: none; }
  .hero-photo { opacity: 0.35; }
}
.hero-mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: heroMeshFloat 24s ease-in-out infinite;
}
.hero-mesh-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.55), transparent 65%);
  top: -120px; left: -120px;
}
.hero-mesh-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45), transparent 65%);
  top: 20%; right: -80px;
  animation-delay: -6s;
}
.hero-mesh-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 220, 0.45), transparent 65%);
  bottom: -200px; left: 30%;
  animation-delay: -12s;
}
.hero-mesh-4 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(190, 242, 100, 0.5), transparent 65%);
  bottom: 10%; right: 25%;
  animation-delay: -18s;
}
@keyframes heroMeshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.08); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.04); }
}
.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Großes isometrisches Gebäude im Hero */
.hero-building {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
}
.hero-building .hb-building {
  transform-origin: 665px 380px;
  animation: heroBuildingFloat 18s ease-in-out infinite;
}
@keyframes heroBuildingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-building .hb-pin {
  animation: heroPinFloat 9s ease-in-out infinite;
}
.hero-building .hb-pin-1 { animation-delay: -0s; }
.hero-building .hb-pin-2 { animation-delay: -2.2s; }
.hero-building .hb-pin-3 { animation-delay: -4.4s; }
.hero-building .hb-pin-4 { animation-delay: -6.6s; }
@keyframes heroPinFloat {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50% { transform: translateY(-6px); opacity: 1; }
}
@media (max-width: 900px) {
  .hero-building { opacity: 0.18; }
}

/* ===== Hero V3: 2-Spalten – Text links, Visual rechts ===== */
.hero-bg-v4 {
  background: linear-gradient(180deg, #FAFBFD 0%, #F0F2F6 100%);
}
.hero-inner.hero-inner-v3 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 560px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-content.hero-content-v3 {
  text-align: left !important;
  padding: 0 16px;
}
.hero-content-v3 .eyebrow,
.hero-content-v3 .hero-cta { justify-content: flex-start; }
.hero-content-v3 .hero-cta { display: inline-flex; flex-wrap: wrap; }
.hero-content-v3 .hero-trust { text-align: left; }

.hero-headline-v3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-align: left;
}
.hero-headline-v3 .hl-line {
  display: block;
  white-space: nowrap;
  overflow: visible;
  padding: 0.04em 0.04em 0.16em;
}
.hero-headline-v3 .hl-line.grad-text {
  background: linear-gradient(95deg, var(--orange) 0%, var(--magenta) 35%, var(--cyan-deep) 70%, var(--lime) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 10s ease-in-out infinite;
}

/* Visual-Card rechts (Panorama-Frame mit Tabs) */
.hero-visual {
  position: relative;
  padding: 0 16px;
}
.hv-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.28), 0 12px 30px -12px rgba(15, 23, 42, 0.08);
  transform: rotate(-0.5deg);
  transition: transform 0.4s ease;
}
.hv-frame:hover { transform: rotate(0deg) translateY(-4px); }
.hv-frame-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}
.hv-frame-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  cursor: pointer;
}
.hv-frame-tab.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.1);
}
.hv-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.hv-frame-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(190, 242, 100, 0.25);
  color: #4d7c0f;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hv-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65a30d;
  box-shadow: 0 0 0 0 rgba(101, 163, 13, 0.7);
  animation: pulse 2s infinite;
}
.hv-frame-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-2);
}
.hv-frame-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hv-frame-body .hm {
  /* Marker erben Styles aus .hm-*, brauchen aber pointer-events */
  pointer-events: none;
}
.hv-frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12.5px;
}
.hv-foot-key { color: var(--ink-soft); font-weight: 500; }
.hv-foot-count { font-weight: 700; color: var(--orange); }

.hv-notif {
  position: absolute;
  top: -20px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 10px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.2);
  z-index: 4;
  animation: heroFloatNotif 7s ease-in-out infinite;
}
.hv-notif-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
.hv-notif strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hv-notif > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

@media (max-width: 1000px) {
  .hero-inner.hero-inner-v3 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content.hero-content-v3 {
    text-align: center !important;
  }
  .hero-content-v3 .eyebrow,
  .hero-content-v3 .hero-cta { justify-content: center; }
  .hero-headline-v3 { text-align: center; }
  .hero-headline-v3 .hl-line { white-space: normal; }
  .hv-frame { transform: rotate(0); }
}
@media (max-width: 600px) {
  .hv-frame-tab:nth-child(n+3) { display: none; }
  .hv-notif { display: none; }
}

/* ===== Hero V2 Layout – alt, wird nicht mehr verwendet ===== */
.hero-inner.hero-inner-v2 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  min-height: 540px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-content.hero-content-v2 {
  text-align: center !important;
  align-self: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  overflow: visible;
  position: relative;
  z-index: 3;
}
.hero-content.hero-content-v2::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}
.hero-content-v2 .eyebrow,
.hero-content-v2 .hero-cta { justify-content: center; }
.hero-content-v2 .hero-cta { display: inline-flex; }
.hero-content-v2 .hero-trust { text-align: center; }

.hero-headline-v2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  overflow: visible;
}
.hero-headline-v2 .hl-line {
  display: block;
  white-space: nowrap;
  overflow: visible;
  /* Padding gibt dem Gradient-Text Atemraum, damit Unterlängen nicht clippen */
  padding: 0.06em 0.05em 0.18em;
  margin: 0;
}
.hero-headline-v2 .hl-line.grad-text {
  background: linear-gradient(95deg, var(--orange) 0%, var(--magenta) 35%, var(--cyan-deep) 70%, var(--lime) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 10s ease-in-out infinite;
}
@media (max-width: 900px) {
  .hero-headline-v2 {
    font-size: clamp(28px, 7vw, 56px);
  }
}
@media (max-width: 600px) {
  .hero-headline-v2 {
    font-size: clamp(26px, 8vw, 40px);
  }
  .hero-headline-v2 .hl-line {
    white-space: normal;
  }
}
.hero-bg-mark {
  position: absolute;
  opacity: 0.07;
  pointer-events: none;
}
.hero-bg-mark img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg-mark-tr {
  top: -60px;
  right: -40px;
  width: 280px;
  height: 640px;
  transform: rotate(15deg);
}
.hero-bg-mark-bl {
  bottom: -120px;
  left: -60px;
  width: 240px;
  height: 550px;
  transform: rotate(-15deg);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  min-height: 580px;
}
.hero-content {
  align-self: center;
}
.float-card {
  display: flex;
  flex-direction: column;
  align-self: center;
  height: auto;
  min-height: 440px;
}
.float-card .card-foot { margin-top: auto; }

/* Hero Mitte – linksbündig */
.hero-content {
  text-align: left;
  padding: 24px 8px;
}
.hero-cta {
  justify-content: flex-start;
}
.hero-sub {
  margin-left: 0;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-green-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(190, 242, 100, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(190, 242, 100, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(190, 242, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(190, 242, 100, 0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}

.grad-text {
  background: linear-gradient(95deg, var(--orange) 0%, var(--magenta) 35%, var(--cyan-deep) 70%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 10s ease-in-out infinite;
  /* Sicherstellen, dass Descender (g, y, p, q) nicht abgeschnitten werden */
  padding-bottom: 0.12em;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-trust {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 18px;
}

/* Trust-Badges unter den CTAs */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.htb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 9px 14px 9px 10px;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.htb:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.18);
}
.htb-flag {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
/* Neue Icon-Variante: Sicherheits-Symbol mit Gradient-Hintergrund */
.htb-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.2);
}
.htb-icon svg { width: 17px; height: 17px; }
.htb-icon-shield {
  background: transparent;
  box-shadow: none;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 8px rgba(30, 91, 168, 0.4));
}
.htb-icon-shield svg { width: 36px; height: 36px; display: block; }
.htb-icon-lock {
  background: linear-gradient(135deg, var(--cyan-deep) 0%, var(--lime) 100%);
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--cyan-deep) 50%, transparent);
}
.htb-icon-eu {
  background: transparent;
  box-shadow: 0 6px 14px -4px rgba(0, 51, 153, 0.45);
  width: 34px;
  height: 34px;
}
.htb-icon-eu img { width: 34px; height: 34px; display: block; }
.htb > span:not(.htb-flag):not(.htb-icon) {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}
.htb strong {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.htb > span > span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
@media (max-width: 600px) {
  .hero-trust-badges { justify-content: center; }
}

/* Floating Cards */
.float-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  animation: cardFloat 9s ease-in-out infinite;
}
.float-card-left { animation-delay: -1s; }
.float-card-right { animation-delay: -5s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.card-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(190, 242, 100, 0.25);
  color: #4d7c0f;
}
.dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #65a30d;
  animation: pulse 2s infinite;
}
.card-link {
  font-size: 11px;
  color: var(--cyan-deep);
  font-weight: 600;
}

.card-3d {
  width: 100%;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.6), rgba(247, 249, 252, 0));
  border-radius: 14px;
  padding: 8px 4px;
  margin-bottom: 10px;
}
.card-3d svg { width: 100%; height: auto; display: block; }

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bg-2);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mab-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.card-meta {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
}
.card-meta li {
  display: flex;
  justify-content: space-between;
  padding: 5px 4px;
  border-top: 1px dashed var(--line);
}
.card-meta li:first-child { border-top: 0; }
.meta-key { color: var(--muted); }
.meta-val { color: var(--ink); font-weight: 600; }
.pill-num {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
}
.pill-num-lime { background: #4d7c0f; }

/* Aktivitäten-Liste (rechte Karte) */
.activity-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.activity-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px;
  border-radius: 12px;
  background: rgba(247, 249, 252, 0.65);
  transition: background 0.2s;
}
.activity-list li:hover { background: rgba(247, 249, 252, 1); }
.act-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.act-orange { background: var(--orange); }
.act-cyan { background: var(--cyan-deep); }
.act-lime { background: var(--lime); color: #1a2e05; }
.act-magenta { background: var(--magenta); }

.activity-list strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.act-meta {
  font-size: 11.5px;
  color: var(--muted);
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.card-foot-key {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.lifecycle-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.lc {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}
.lc-done { background: var(--cyan-deep); }
.lc-now {
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.6);
  animation: pulse 2s infinite;
}

/* ================================================================
   BRAND STRIP
   ================================================================ */
.brand-strip-trust { margin-top: 80px; }
.brand-strip {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.brand-strip-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  padding: 12px 0;
  will-change: transform;
}
.brand-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: 72px;
}
.brand-item-logo {
  gap: 12px;
}
.brand-logo {
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-logo-bsfz { height: 36px; }
.brand-logo-nvidia { height: 28px; }
.brand-logo-eu { height: 28px; }
.brand-logo-shield { height: 30px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   GENERIC SECTION
   ================================================================ */
.section {
  padding: 96px 24px;
  position: relative;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.022em;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

/* ================================================================
   TRUST STATS – helle Section, dunkle Kacheln, riesige Zahlen
   ================================================================ */
.section-trust-stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 96px;
  padding-bottom: 96px;
}
.trust-stats-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.trust-stats-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
}
.trust-stat {
  background: #0A0A0A;
  color: #fff;
  border-radius: var(--radius-3xl);
  padding: 40px 36px 36px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 14px 36px -20px rgba(10, 10, 10, 0.35);
}
.trust-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(251, 146, 60, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(6, 182, 212, 0.16), transparent 60%);
  pointer-events: none;
}
.trust-stat:nth-child(2)::before {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(236, 72, 153, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(190, 242, 100, 0.14), transparent 60%);
}
.trust-stat:nth-child(3)::before {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(34, 211, 220, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(251, 146, 60, 0.14), transparent 60%);
}
.trust-stat:nth-child(4)::before {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(190, 242, 100, 0.24), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(236, 72, 153, 0.14), transparent 60%);
}
.trust-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -20px rgba(10, 10, 10, 0.5);
}
.trust-stat-num,
.trust-stat strong,
.trust-stat span {
  position: relative;
  z-index: 1;
}
/* SOLIDE FARBEN pro Karte – kein Gradient, kein negatives letter-spacing */
.trust-stat-num {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: clamp(48px, 5vw, 76px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: block !important;
  color: #FB923C;
  white-space: nowrap !important;
  overflow: visible;
}
.trust-stats-grid .trust-stat:nth-child(1) .trust-stat-num { color: #FB923C !important; }
.trust-stats-grid .trust-stat:nth-child(2) .trust-stat-num { color: #EC4899 !important; }
.trust-stats-grid .trust-stat:nth-child(3) .trust-stat-num { color: #22D3DC !important; }

.trust-stat-num .ts-count,
.trust-stat-num .trust-stat-unit {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  letter-spacing: 0 !important;
  line-height: inherit !important;
}
.trust-stat-num .ts-count {
  font-size: inherit !important; /* erbt 104px vom parent .trust-stat-num, nicht 13.5px von .trust-stat span */
  font-weight: 700 !important;
}
.trust-stat-num .trust-stat-unit {
  font-size: 0.4em !important;
  font-weight: 600 !important;
  margin-left: 0.1em;
}
.trust-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.trust-stat span {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .trust-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stats-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { padding: 32px 28px; }
  .trust-stat-num { font-size: clamp(56px, 9vw, 88px); }
}
@media (max-width: 600px) {
  .trust-stats-grid, .trust-stats-grid-3 { grid-template-columns: 1fr; }
  .trust-stat-num { font-size: clamp(56px, 14vw, 84px); }
}

/* ================================================================
   KPI ZAHLEN
   ================================================================ */
.section-kpis {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 24px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.kpi-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}
.kpi {
  text-align: center;
  padding: 16px 24px;
}
.kpi-num {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: clamp(56px, 6.5vw, 96px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px !important;
  display: block !important;
  color: #FB923C;
  white-space: nowrap !important;
}
.kpi-grid .kpi:nth-child(1) .kpi-num { color: #FB923C !important; }
.kpi-grid .kpi:nth-child(2) .kpi-num { color: #EC4899 !important; }
.kpi-grid .kpi:nth-child(3) .kpi-num { color: #22D3DC !important; }
.kpi-grid .kpi:nth-child(4) .kpi-num { color: #8B5CF6 !important; }
.kpi-num .kpi-val,
.kpi-num .kpi-unit {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  letter-spacing: 0 !important;
  line-height: inherit !important;
}
.kpi-num .kpi-val {
  font-size: inherit !important; /* gleiche Größe wie parent .kpi-num */
  font-weight: 700 !important;
}
.kpi-num .kpi-unit {
  font-size: 0.42em !important;
  font-weight: 600 !important;
  margin-left: 0.06em;
}
.kpi strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.kpi span {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .kpi-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WORKFLOW VISUALISIERUNG
   ================================================================ */
.section-workflow {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
/* Workflow-Kopf kompakter + Headline genau 2 Zeilen */
.section-workflow .section-head {
  max-width: 1000px;
  margin-bottom: 32px;
}
.section-workflow .section-title {
  font-size: clamp(28px, 3vw, 44px);
}
.section-workflow .section-title .wf-title-l1,
.section-workflow .section-title .grad-text {
  display: block;
}
.section-workflow .section-sub {
  max-width: 760px;
  margin: 0 auto;
}

.wf-diagram {
  display: grid;
  grid-template-columns: 220px 1fr 220px 1fr 220px;
  align-items: stretch;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto 48px;
  min-height: 480px;
}

/* ===== Workflow V2: Overlay-Lines mit exakt platzierten Boxen ===== */
.wf-diagram-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  grid-template-rows: 1fr;
  max-width: 1280px;
  margin: 0 auto 24px;
  min-height: 540px;
  padding: 0 16px;
  gap: 48px;
}
.wf-diagram-v2 .wf-col {
  position: relative;
  z-index: 2;
}
.wf-diagram-v2 .wf-col-inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0;
  padding: 34px 0;
  transform: translateX(18px);
}
.wf-diagram-v2 .wf-col-outputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  padding: 16px 0;
  transform: translateX(-22px);
}
.wf-diagram-v2 .wf-col-core {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG-Linien als Overlay über das ganze Grid */
.wf-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

/* Input-Boxen (links) – schmaler, einheitliche Breite */
.wf-box-in {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 200px;
  color: var(--c);
  position: relative;
}
/* Schlanker Gradient-Akzent oben in der Kachel-Farbe (Pille, eingerückt) */
.wf-box-in::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(135deg, var(--c) 0%, var(--c2, var(--c)) 100%);
  opacity: 0.95;
}
.wf-box-in:hover {
  transform: translateX(2px);
  box-shadow: 0 16px 36px -16px rgba(15, 23, 42, 0.2);
}
/* Category-Icon mit zwei-Farben-Gradient */
.wf-box-in[style*="--c2"] .wf-box-cat-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, white), color-mix(in srgb, var(--c2) 14%, white));
}
.wf-box-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c);
  font-weight: 700;
  margin-bottom: 10px;
}
.wf-box-head > span[data-i18n] { flex: 1 1 auto; min-width: 0; }
.wf-box-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 12%, white);
  color: var(--c);
  flex-shrink: 0;
}
.wf-box-cat-icon svg { width: 13px; height: 13px; }

/* Action-Buttons im Header rechts */
.wf-box-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.wf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--c, var(--orange)) 0%, var(--c2, var(--c, var(--orange))) 100%);
  border: 0;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--c, var(--orange)) 50%, transparent);
}
.wf-icon-btn svg { width: 13px; height: 13px; }
.wf-icon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--c, var(--orange)) 60%, transparent);
}

/* Body ohne Actions-Spalte: nur die Liste */
.wf-box-body-list {
  padding-top: 2px;
}
.wf-box-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wf-box-text strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.wf-box-text span {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Inputs als 3-Punkt-Liste – Begriff oben, Format als neue Zeile */
.wf-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.wf-box-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.25;
}
.wf-box-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c, var(--orange));
}
.wf-box-list li strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 12.5px;
}
.wf-box-list li span {
  display: block;
  margin-top: 1px;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

/* (alte action-btn-styles entfernt – durch .wf-icon-btn ersetzt) */

/* Output-Boxen (rechts) – kompakter */
.wf-box-out {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  width: 220px;
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wf-box-out:hover {
  transform: translateX(-2px);
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.2);
}
.wf-box-out-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 14%, white);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-box-out-icon svg { width: 16px; height: 16px; }
.wf-box-out-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}
.wf-box-out-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.wf-box-out-outcome {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.wf-box-out { align-items: center; padding-top: 10px; padding-bottom: 10px; }

/* Zentrum V2: Logo + Pills */
.wf-core-v2 {
  position: relative;
  width: 315px;
  height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wf-core-v2 .wf-core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.14);
  animation: wfSpin 30s linear infinite;
}
.wf-core-v2 .wf-core-ring-2 {
  inset: 30px;
  border-color: rgba(15, 23, 42, 0.09);
  animation: wfSpin 22s linear infinite reverse;
}
.wf-core-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18), rgba(236, 72, 153, 0.12) 42%, transparent 72%);
  filter: blur(14px);
  z-index: 0;
}

/* V7 Core: 3 rotierende Ringe – KI → Mapping → 3D-Twin, alle Bubbles über dem Logo */
.wf-core.wf-core-v7 {
  position: relative !important;
  width: 540px !important;
  height: 540px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.wf-core-v7 .wf-core-glow {
  position: absolute;
  inset: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.22), rgba(236, 72, 153, 0.14) 40%, transparent 70%);
  filter: blur(16px);
  z-index: 0;
}
.wf-core-v7 .wf-core-logo {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.22);
}
.wf-core-v7 .wf-core-logo img {
  width: 86px;
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
}
/* "Plattform"-Schriftring direkt um den Logo-Kreis */
.wf-core-v7 .wf-core-logo::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: #F4F5F8;
  z-index: 1;
}
.wf-core-v7 .wf-core-logo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.wf-core-v7 .wf-platform-label-ring {
  position: absolute;
  inset: -22px;
  z-index: 4;
  pointer-events: none;
  animation: wfPlatformLabelSpin 90s linear infinite;
}
.wf-core-v7 .wf-platform-label-ring svg { width: 100%; height: 100%; }
.wf-core-v7 .wf-platform-label-ring text {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  fill: #1a1a1c;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}
@keyframes wfPlatformLabelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.wf-core-v7 .wf-orbit-dots {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  z-index: 1;
  pointer-events: none;
}

/* Drei rotierende Ringe: außen → mitte → innen, klar getrennt */
.wf-core-v7 .wf-rotor {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.16) !important;
  background: transparent !important;
  z-index: 5;
}
.wf-core-v7 .wf-rotor-1 {
  inset: 10px;
  animation: wfRotorCW1 32s linear infinite;
}
.wf-core-v7 .wf-rotor-2 {
  inset: 80px;
  border-color: rgba(15, 23, 42, 0.14) !important;
  animation: wfRotorCCW2 24s linear infinite;
}
.wf-core-v7 .wf-rotor-3 {
  inset: 150px;
  border-color: rgba(15, 23, 42, 0.12) !important;
  animation: wfRotorCW3 18s linear infinite;
}

/* Drei separate Keyframes, damit Start-Positionen versetzt sind (0° / 120° / 240°) */
@keyframes wfRotorCW1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes wfRotorCCW2 {
  from { transform: rotate(-120deg); }
  to   { transform: rotate(-480deg); }
}
@keyframes wfRotorCW3 {
  from { transform: rotate(240deg); }
  to   { transform: rotate(600deg); }
}

/* Bubble sitzt am oberen Rand des jeweiligen Rings */
.wf-core-v7 .wf-rotor-bubble {
  position: absolute !important;
  top: -20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 6 !important; /* immer über dem Logo */
  background: transparent !important;
}

/* Inhalt der Bubble: counter-rotate damit Text aufrecht bleibt */
.wf-core-v7 .wf-rotor-bubble-inner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 16px 9px 12px !important;
  border-radius: 9999px !important;
  border: none !important;
  font-family: var(--font-display) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.32), 0 0 0 3px rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
}

/* Gradient-Hintergründe pro Ring/Bubble – mit !important damit V6-Default überschrieben wird */
.wf-core-v7 .wf-rotor-1 .wf-rotor-bubble-inner {
  background: linear-gradient(135deg, #FB923C 0%, #DC2626 100%) !important;
  animation: wfBubbleCCW1 32s linear infinite;
}
.wf-core-v7 .wf-rotor-2 .wf-rotor-bubble-inner {
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%) !important;
  animation: wfBubbleCW2 24s linear infinite;
}
.wf-core-v7 .wf-rotor-3 .wf-rotor-bubble-inner {
  background: linear-gradient(135deg, #06B6D4 0%, #65a30d 100%) !important;
  animation: wfBubbleCCW3 18s linear infinite;
}

/* Counter-Rotation für jede Bubble: gleicher Start-Offset, aber gegenläufig */
@keyframes wfBubbleCCW1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes wfBubbleCW2 {
  from { transform: rotate(120deg); }
  to   { transform: rotate(480deg); }
}
@keyframes wfBubbleCCW3 {
  from { transform: rotate(-240deg); }
  to   { transform: rotate(-600deg); }
}

.wf-core-v7 .wf-rotor-bubble-inner svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  color: #fff;
}
.wf-core-v7 .wf-rotor-bubble-inner strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.005em;
  white-space: nowrap;
  line-height: 1;
}

/* Gestapelter Text für Mapping-Bubble: "2D → 3D" klein oben + "Mapping" unten */
.wf-core-v7 .wf-rb-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  gap: 5px;
}
.wf-core-v7 .wf-rb-stack em {
  font-style: normal;
  font-size: 9px !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.wf-core-v7 .wf-rb-stack strong {
  font-size: 13px !important;
  line-height: 1;
}

/* Bubbles einheitlich groß – kompakter, weniger Überlappung */
.wf-core-v7 .wf-rotor-bubble-inner {
  min-width: 0 !important;
  padding: 7px 13px 7px 10px !important;
  gap: 7px !important;
  justify-content: flex-start !important;
}
.wf-core-v7 .wf-rotor-bubble-inner svg {
  width: 14px !important;
  height: 14px !important;
}
.wf-core-v7 .wf-rb-stack { align-items: flex-start; text-align: left; gap: 0; line-height: 1; }
.wf-core-v7 .wf-rb-stack strong { font-size: 11px !important; line-height: 1.1 !important; font-weight: 700; letter-spacing: -0.005em; }
.wf-core-v7 .wf-rb-stack em {
  font-size: 7.5px !important;
  letter-spacing: 0.08em;
  opacity: 0.92;
  text-transform: uppercase;
  font-style: normal;
  white-space: nowrap;
}

/* KI-Sparkle: sanftes Pulsieren statt Drehung */
.wf-core-v7 .wf-sparkle {
  animation: wfSparklePulse 2.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes wfSparklePulse {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* Plattform-Hintergrund-Disc (dezenter farbiger Glow als Plattform-Indikator) */
.wf-platform-disc {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.16), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(236, 72, 153, 0.13), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(circle at 25% 75%, rgba(190, 242, 100, 0.16), transparent 55%);
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
  animation: wfPlatformSpin 60s linear infinite;
}
@keyframes wfPlatformSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .wf-core-v7 { width: 440px; height: 440px; }
  .wf-core-v7 .wf-rotor-1 { inset: 10px; }
  .wf-core-v7 .wf-rotor-2 { inset: 70px; }
  .wf-core-v7 .wf-rotor-3 { inset: 130px; }
}
/* ================================================================
   MOBILE-FLOW: lineare Karte komplett deaktiviert – Original-Animation bleibt
   ================================================================ */
.wf-mobile-flow { display: none !important; }

@media (max-width: 920px) {
  /* Force-Center-Container */
  .wf-col-core {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .wf-col-core::before,
  .wf-col-core::after { display: none !important; }

  /* Original-Animation auf Mobile (etwas grösser, passt in die Grid-Zelle) */
  .wf-core.wf-core-v2.wf-core-v7 {
    width: min(330px, calc(100vw - 48px)) !important;
    height: min(330px, calc(100vw - 48px)) !important;
    margin: 0 auto !important;
  }
  /* Logo-Kreis kleiner */
  .wf-core-v7 .wf-core-logo {
    width: 96px !important;
    height: 96px !important;
  }
  .wf-core-v7 .wf-core-logo img { width: 64px !important; }
  .wf-core-v7 .wf-core-logo::before,
  .wf-core-v7 .wf-core-logo::after { inset: -14px !important; }
  .wf-core-v7 .wf-platform-label-ring {
    inset: -14px !important;
  }
  .wf-core-v7 .wf-platform-label-ring text {
    font-size: 7px !important;
    letter-spacing: 0.45em !important;
  }
  /* Platform-Disc enger */
  .wf-core-v7 .wf-platform-disc { inset: 14% !important; filter: blur(12px) !important; }
  /* Orbit-Dots aus für Performance */
  .wf-core-v7 .wf-orbit-dots { display: none !important; }
  /* Rotoren enger an Logo */
  .wf-core-v7 .wf-rotor-1 { inset: 10px !important; }
  .wf-core-v7 .wf-rotor-2 { inset: 46px !important; }
  .wf-core-v7 .wf-rotor-3 { inset: 82px !important; }
  /* Bubbles kompakter */
  .wf-core-v7 .wf-rotor-bubble-inner {
    padding: 5px 10px 5px 7px !important;
    gap: 5px !important;
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.9) !important;
  }
  .wf-core-v7 .wf-rotor-bubble-inner svg {
    width: 12px !important;
    height: 12px !important;
  }
  .wf-core-v7 .wf-rb-stack strong { font-size: 9.5px !important; }
  .wf-core-v7 .wf-rb-stack em { font-size: 6.5px !important; letter-spacing: 0.06em !important; }
  .wf-mobile-platform {
    position: relative;
    padding: 24px 22px 26px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }
  /* Brand-Mesh-Glow im Hintergrund */
  .wf-mobile-platform::before {
    content: '';
    position: absolute;
    inset: -30%;
    background:
      radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.18), transparent 50%),
      radial-gradient(circle at 80% 30%, rgba(236, 72, 153, 0.16), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.18), transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(190, 242, 100, 0.18), transparent 50%);
    filter: blur(20px);
    z-index: 0;
    animation: wfMobileGlowSpin 60s linear infinite;
    pointer-events: none;
  }
  @keyframes wfMobileGlowSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  .wf-mobile-platform-head,
  .wf-mobile-features,
  .wf-mobile-pulse-dot {
    position: relative;
    z-index: 1;
  }
  .wf-mobile-platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.10);
    margin-bottom: 18px;
  }
  .wf-mobile-logo {
    width: 64px;
    height: auto;
    flex-shrink: 0;
  }
  .wf-mobile-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 4px;
  }
  .wf-mobile-title {
    display: block;
    font-family: var(--font-display);
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .wf-mobile-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
  }
  .wf-mobile-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.12);
    animation: wfMobileFeatureFloat 4.5s ease-in-out infinite;
  }
  .wf-mobile-feature-ki      { animation-delay: 0s; }
  .wf-mobile-feature-mapping { animation-delay: -1.5s; }
  .wf-mobile-feature-twin    { animation-delay: -3s; }
  @keyframes wfMobileFeatureFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }
  .wf-mobile-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
  }
  .wf-mobile-feature-icon svg { width: 17px; height: 17px; }
  .wf-mobile-feature-ki .wf-mobile-feature-icon {
    background: linear-gradient(135deg, #FB923C, #DC2626);
    animation: wfMobileKiPulse 2.4s ease-in-out infinite;
  }
  .wf-mobile-feature-mapping .wf-mobile-feature-icon {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
  }
  .wf-mobile-feature-twin .wf-mobile-feature-icon {
    background: linear-gradient(135deg, #06B6D4, #65a30d);
  }
  @keyframes wfMobileKiPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.5); }
    50%      { box-shadow: 0 0 0 8px rgba(251, 146, 60, 0); }
  }
  .wf-mobile-feature > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
    min-width: 0;
  }
  .wf-mobile-feature strong {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .wf-mobile-feature span {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.35;
  }
  /* Pulse-Dot unten an der Karte */
  .wf-mobile-pulse-dot {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--magenta));
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5);
    animation: wfMobilePulseDot 2s ease-out infinite;
  }
  @keyframes wfMobilePulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.55); }
    100% { box-shadow: 0 0 0 14px rgba(236, 72, 153, 0); }
  }

  /* Inputs/Outputs auf Mobile auf 100% breite begrenzen */
  .wf-col-inputs, .wf-col-outputs, .wf-col-core { width: 100%; box-sizing: border-box; }
  .wf-box-in, .wf-box-out {
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* ===== Alte V6 – nicht mehr verwendet ===== */
.wf-core-v6 {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-core-v6 .wf-core-glow {
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18), rgba(236, 72, 153, 0.12) 40%, transparent 70%);
  filter: blur(14px);
  z-index: 0;
}
.wf-core-v6 .wf-core-logo {
  position: relative;
  z-index: 3;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 18px 44px -10px rgba(15, 23, 42, 0.22);
}
.wf-core-v6 .wf-core-logo img {
  width: 92px;
  height: auto;
  display: block;
}

/* Rotierende Ringe */
.wf-rotor {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  z-index: 2;
}
.wf-rotor-outer {
  inset: 10px;
  animation: wfRotorCW 28s linear infinite;
}
.wf-rotor-inner {
  inset: 50px;
  border-color: rgba(15, 23, 42, 0.13);
  animation: wfRotorCCW 22s linear infinite;
}
@keyframes wfRotorCW {
  to { transform: rotate(360deg); }
}
@keyframes wfRotorCCW {
  to { transform: rotate(-360deg); }
}

/* Bubble sitzt am oberen Rand des Rings (rotiert mit) */
.wf-rotor-bubble {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}

/* Inhalt der Bubble rotiert gegen den Ring → bleibt aufrecht */
.wf-rotor-bubble-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.18);
  font-family: var(--font-display);
}
.wf-rotor-outer .wf-rotor-bubble-inner {
  animation: wfRotorCCW 28s linear infinite;
}
.wf-rotor-inner .wf-rotor-bubble-inner {
  animation: wfRotorCW 22s linear infinite;
}
.wf-rotor-bubble-inner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.wf-rotor-bubble-inner strong {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.wf-rotor-ki {
  color: #FB923C;
  border-color: rgba(251, 146, 60, 0.45);
}
.wf-rotor-mapping {
  color: #EC4899;
  border-color: rgba(236, 72, 153, 0.45);
}

@media (max-width: 700px) {
  .wf-core-v6 { width: 280px; height: 280px; }
  .wf-rotor-outer { inset: 8px; }
  .wf-rotor-inner { inset: 40px; }
}

/* ===== Alte V5 (Orbit-Bubbles) – nicht mehr verwendet ===== */
.wf-core-v5 {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-core-v5 .wf-core-glow {
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.2), rgba(236, 72, 153, 0.12) 40%, transparent 70%);
  filter: blur(14px);
  z-index: 0;
}
.wf-core-v5 .wf-core-logo {
  position: relative;
  z-index: 3;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 18px 44px -10px rgba(15, 23, 42, 0.22);
}
.wf-core-v5 .wf-core-logo img {
  width: 92px;
  height: auto;
  display: block;
}

/* Gepunkteter Orbit-Ring (visueller Bezugspunkt) */
.wf-orbit-ring {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.14);
  z-index: 1;
}

/* Datenstrom-Punkte am Ring */
.wf-core-v5 .wf-orbit-dots {
  position: absolute;
  inset: 40px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  z-index: 1;
  pointer-events: none;
}

/* Orbit-Bubbles: rotieren um das Logo, Inhalt bleibt aufrecht */
.wf-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 4;
  animation: wfBubbleOrbit 18s linear infinite;
}
.wf-bubble-ki {
  animation-delay: 0s;
}
.wf-bubble-mapping {
  animation-delay: -9s; /* gegenüber positioniert */
}
@keyframes wfBubbleOrbit {
  from { transform: rotate(0deg) translateX(130px); }
  to   { transform: rotate(360deg) translateX(130px); }
}

.wf-bubble-inner {
  position: absolute;
  top: -28px;
  left: -52px;
  width: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.22);
  font-family: var(--font-display);
  /* Gegenrotation, damit Text aufrecht bleibt */
  animation: wfBubbleCounter 18s linear infinite;
}
.wf-bubble-ki .wf-bubble-inner {
  color: #FB923C;
  border-color: rgba(251, 146, 60, 0.4);
  animation-delay: 0s;
}
.wf-bubble-mapping .wf-bubble-inner {
  color: #EC4899;
  border-color: rgba(236, 72, 153, 0.4);
  animation-delay: -9s;
}
@keyframes wfBubbleCounter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.wf-bubble-inner svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.wf-bubble-inner strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

@media (max-width: 700px) {
  .wf-core-v5 { width: 280px; height: 280px; }
  @keyframes wfBubbleOrbit {
    from { transform: rotate(0deg) translateX(105px); }
    to   { transform: rotate(360deg) translateX(105px); }
  }
}

/* V4 Core: rotierende Ringe sind jetzt SVG mit Text, keine border-divs mehr nötig */
.wf-core-v4 {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-core-v4 .wf-core-glow {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18), rgba(236, 72, 153, 0.12) 40%, transparent 70%);
  filter: blur(12px);
  z-index: 0;
}
.wf-core-v4 .wf-orbit {
  position: absolute;
  inset: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  z-index: 1;
  pointer-events: none;
}
.wf-core-v4 .wf-core-logo {
  position: relative;
  z-index: 3;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 40px -10px rgba(15, 23, 42, 0.18);
}
.wf-core-v4 .wf-core-logo img {
  width: 90px;
  height: auto;
  display: block;
}

/* Orbit-Datenströme: fließen am Kreis entlang */
.wf-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.wf-core-logo {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 40px -10px rgba(15, 23, 42, 0.18);
}
.wf-core-logo img {
  width: 90px;
  height: auto;
  display: block;
}
.wf-core-v2 .wf-core-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 700;
  background: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.wf-core-v2 .wf-core-label-mapping,
.wf-core-v2 .wf-core-label-ai {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(236, 72, 153, 0.4);
}
.wf-core-v2 .wf-core-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.wf-core-v2 .wf-core-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.wf-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

@media (max-width: 920px) {
  .wf-diagram-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    gap: 24px;
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  /* Vertikale Mobile-Connectoren statt SVG-Overlay */
  .wf-lines { display: none; }
  .wf-diagram-v2 .wf-col-inputs {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    position: relative;
    width: 100%;
    align-items: stretch;
  }
  .wf-diagram-v2 .wf-col-outputs {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    position: relative;
    width: 100%;
    align-items: stretch;
  }
  .wf-box-in, .wf-box-out {
    width: 100%;
    max-width: min(380px, calc(100vw - 32px));
    margin: 0 auto;
    box-sizing: border-box;
  }
  /* Vertikale Verbinder zwischen Inputs/Core/Outputs */
  .wf-col-inputs::after,
  .wf-col-core::after {
    content: '';
    display: block;
    width: 2px;
    height: 32px;
    margin: 8px auto 0;
    background: linear-gradient(180deg, rgba(251, 146, 60, 0.6), rgba(34, 211, 220, 0.6));
    border-radius: 2px;
    position: relative;
  }
  .wf-col-core::after {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.6), rgba(190, 242, 100, 0.6));
  }
  /* Pulsierender Animation-Punkt auf den Mobile-Connector */
  .wf-col-inputs::before,
  .wf-col-core::before {
    content: '';
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
    animation: wfMobilePulse 2.4s ease-in-out infinite;
    z-index: 3;
  }
  .wf-col-core::before {
    background: var(--magenta);
    animation-delay: -1s;
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
  }
  @keyframes wfMobilePulse {
    0%, 100% { transform: translate(-50%, 0) scale(1); box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7); }
    50% { transform: translate(-50%, 0) scale(1.4); box-shadow: 0 0 0 12px rgba(251, 146, 60, 0); }
  }
}

.wf-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.wf-col-head, .wf-group-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}
.wf-group {
  position: relative;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--line);
  border-radius: var(--radius-2xl);
}
.wf-stack {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wf-chip {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  color: var(--c);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wf-chip span { color: var(--ink); }
.wf-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.15);
}
.wf-chip svg { width: 20px; height: 20px; display: block; }

/* Flow paths zwischen Spalten */
.wf-flow {
  position: relative;
  height: 100%;
  min-height: 280px;
}
.wf-flow svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Core (Mitte) */
.wf-col-core {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wf-core {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.12);
  animation: wfSpin 30s linear infinite;
}
.wf-core-ring-2 {
  inset: 24px;
  border-color: rgba(15, 23, 42, 0.08);
  animation: wfSpin 22s linear infinite reverse;
}
@keyframes wfSpin {
  to { transform: rotate(360deg); }
}
.wf-core-box {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FB923C 0%, #EC4899 35%, #06B6D4 70%, #BEF264 100%);
  background-size: 200% 200%;
  animation: wfGrad 8s ease-in-out infinite;
  box-shadow: 0 24px 60px -20px rgba(236, 72, 153, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}
@keyframes wfGrad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.wf-core-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
}
.wf-core-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.wf-core-meta {
  display: flex;
  gap: 6px;
}
.wf-core-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Trust Bar unter Diagramm */
.wf-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  box-shadow: 0 16px 40px -20px rgba(15, 23, 42, 0.08);
}
.wf-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.wf-trust-flag {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.wf-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.wf-trust-item span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.wf-trust-divider {
  width: 1px;
  height: 44px;
  background: var(--line);
}

/* Responsive */
@media (max-width: 1100px) {
  .wf-diagram {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }
  .wf-col-core { order: 2; }
  .wf-col-inputs { order: 1; }
  .wf-col-outputs { order: 3; }
  .wf-flow { display: none; }
  .wf-stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .wf-trust {
    flex-direction: column;
    gap: 18px;
  }
  .wf-trust-divider {
    width: 60%;
    height: 1px;
  }
}

/* ================================================================
   USE-CASES KARUSSELL/GRID
   ================================================================ */
.section-usecases {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

/* Coverflow Karussell */
.uc-swiper-wrap {
  position: relative;
  margin: 0 -16px;
  padding: 24px 0 56px;
}
.uc-swiper {
  overflow: visible;
  padding: 12px 0 24px;
}
.uc-swiper .swiper-slide {
  width: 480px;
  max-width: 88vw;
  height: auto;
  transition: opacity 0.4s ease, filter 0.4s ease;
  opacity: 0.55;
  filter: saturate(0.85);
}
.uc-swiper .swiper-slide-active {
  opacity: 1;
  filter: saturate(1);
}
.uc-swiper .swiper-slide-prev,
.uc-swiper .swiper-slide-next {
  opacity: 0.85;
}

.uc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.18);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.swiper-slide-active .uc-card {
  box-shadow: 0 36px 80px -28px rgba(15, 23, 42, 0.32);
  border-color: rgba(15, 23, 42, 0.12);
}
/* Quick Win #2: Hover-Effekte auf den Bausteinen */
.uc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 90px -28px rgba(15, 23, 42, 0.34);
  border-color: rgba(15, 23, 42, 0.14);
}
.uc-card .uc-video-img img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.uc-card:hover .uc-video-img img {
  transform: scale(1.06);
}
.uc-body h3 {
  transition: color 0.25s ease;
}
.uc-card:hover .uc-body h3 {
  color: var(--magenta);
}
@media (prefers-reduced-motion: reduce) {
  .uc-card:hover { transform: none; }
  .uc-card:hover .uc-video-img img { transform: none; }
}

/* Pagination */
.uc-pagination {
  position: relative !important;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.uc-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--line);
  opacity: 1;
  border-radius: var(--radius-pill);
  transition: width 0.3s, background 0.3s;
}
.uc-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
}

/* Navigation */
.uc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--ink);
}
.uc-nav:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.28);
}
.uc-nav svg { width: 22px; height: 22px; }
.uc-nav-prev { left: 4%; }
.uc-nav-next { right: 4%; }
.uc-nav.swiper-button-disabled { opacity: 0.4; cursor: default; }

@media (max-width: 600px) {
  .uc-nav { display: none; }
  .uc-swiper .swiper-slide { width: 86vw; }
}

.uc-video {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  overflow: hidden;
}
.uc-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.uc-video-img {
  background: var(--bg-3);
}
.uc-video-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.uc-video-img::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.35) 100%);
  z-index: 1;
}
.uc-video-img .uc-play,
.uc-video-img .uc-badge {
  z-index: 2;
}
.uc-video[data-color="orange"] { background: linear-gradient(135deg, #FB923C 0%, #EC4899 100%); }
.uc-video[data-color="cyan"] { background: linear-gradient(135deg, #22D3DC 0%, #06B6D4 100%); }
.uc-video[data-color="lime"] { background: linear-gradient(135deg, #BEF264 0%, #22D3DC 100%); }
.uc-video[data-color="magenta"] { background: linear-gradient(135deg, #EC4899 0%, #FB923C 100%); }
.uc-video[data-color="cyan-deep"] { background: linear-gradient(135deg, #06B6D4 0%, #0F172A 100%); }

.uc-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}
.uc-card:hover .uc-play { transform: scale(1.08); }

.uc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.uc-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uc-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.uc-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ================================================================
   MEHR ALS BIM
   ================================================================ */
.section-mab { background: #fff; border-top: 1px solid var(--line); }
.mab-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mab-text .section-eyebrow { display: inline-block; margin-bottom: 14px; }
.mab-text .section-title { text-align: left; margin-bottom: 18px; }
.mab-lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.mab-points {
  display: grid;
  gap: 20px;
}
.mab-points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.mab-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.mab-points strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.mab-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.mab-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}
.mab-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease;
}
.mab-card svg { width: 100%; height: auto; display: block; }
.mab-card-bim { transform: rotate(-1.5deg); }
.mab-card-pano { transform: rotate(1.5deg); }
.mab-card:hover { transform: rotate(0deg) translateY(-2px); }

.mab-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--line);
}
.mab-card-head-dark {
  background: linear-gradient(180deg, #1E293B, #0F172A);
  border-bottom-color: rgba(255,255,255,0.05);
}
.mab-card-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.mab-card-meta-light {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.mab-card-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #FAFBFC;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.mab-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.mab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mab-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mab-tag-muted {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.mab-tag-live {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.mab-tag-live .dot-live { background: var(--lime); }
.mab-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(236, 72, 153, 0.5);
  z-index: 2;
}

/* ================================================================
   PERSONAS
   ================================================================ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.persona-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  appearance: none;
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(15, 23, 42, 0.1);
}
.persona-card {
  padding: 24px;
}
.persona-card h3 {
  font-size: 19px;
  line-height: 1.2;
}
.persona-card p {
  font-size: 14px;
}
.persona-card li {
  font-size: 12.5px;
  padding: 7px 10px;
}
.persona-card-featured {
  background: linear-gradient(180deg, #fff 0%, #FFFAF5 100%);
  border-color: var(--orange);
  box-shadow: 0 20px 50px -20px rgba(251, 146, 60, 0.35);
}
.persona-tag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.persona-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.persona-icon svg { width: 100%; height: 100%; display: block; }
.persona-icon-cyan { background: rgba(34, 211, 220, 0.08); border-color: rgba(6, 182, 212, 0.2); }
.persona-icon-orange { background: rgba(251, 146, 60, 0.08); border-color: rgba(251, 146, 60, 0.25); }
.persona-icon-lime { background: rgba(190, 242, 100, 0.15); border-color: rgba(190, 242, 100, 0.4); }
.persona-icon-magenta { background: rgba(236, 72, 153, 0.07); border-color: rgba(236, 72, 153, 0.25); }
.persona-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  margin: 0;
  color: var(--ink);
}
.persona-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.persona-card ul {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.persona-card li {
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.persona-card-featured li {
  background: #fff;
  border: 1px solid #FFE2C7;
}
.persona-cta {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
}
.persona-card[data-color="cyan"] .persona-cta { color: var(--cyan-deep); }
.persona-card[data-color="lime"] .persona-cta { color: #4d7c0f; }

/* ================================================================
   LIFECYCLE TIMELINE
   ================================================================ */
.section-lifecycle { background: var(--bg-soft); border-top: 1px solid var(--line); }

.lifecycle-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  counter-reset: lc;
  position: relative;
  padding: 36px 0 0;
}
.lifecycle-timeline::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 8%;
  right: 8%;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--magenta) 22%, var(--cyan-deep) 44%, var(--cyan) 64%, var(--lime) 82%, #65a30d);
  z-index: 0;
  border-radius: 5px;
  box-shadow: 0 6px 18px -6px rgba(251, 146, 60, 0.35);
}
.lifecycle-timeline li {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 14px 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.lifecycle-timeline-v2 li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s;
  height: 100%;
}

.lifecycle-timeline-v2 .lc-tag { margin-top: auto; }
.lifecycle-timeline-v2 li:hover {
  transform: translateY(-3px);
}
.lifecycle-timeline-v2 li:hover .lc-icon {
  box-shadow: 0 14px 32px -10px rgba(15, 23, 42, 0.25);
}
.lc-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #fff;
  border: 5px solid #fff;
  outline: 2px solid rgba(15, 23, 42, 0.06);
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.25s, transform 0.25s;
}
.lc-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.lifecycle-timeline-v2 li:nth-child(1) .lc-icon { background: linear-gradient(135deg, var(--orange), #fb7185); color: #fff; }
.lifecycle-timeline-v2 li:nth-child(2) .lc-icon { background: linear-gradient(135deg, var(--magenta), #a855f7); color: #fff; }
.lifecycle-timeline-v2 li:nth-child(3) .lc-icon { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan)); color: #fff; }
.lifecycle-timeline-v2 li:nth-child(4) .lc-icon { background: linear-gradient(135deg, var(--cyan), var(--lime)); color: #fff; }
.lifecycle-timeline-v2 li:nth-child(5) .lc-icon { background: linear-gradient(135deg, var(--lime), #65a30d); color: #fff; }
.lifecycle-timeline-v2 li:nth-child(6) .lc-icon { background: linear-gradient(135deg, #65a30d, #166534); color: #fff; }
.lc-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  color: var(--ink-soft);
  margin-top: 6px;
}
.lifecycle-timeline-v2 li:nth-child(1) .lc-tag { background: rgba(251, 146, 60, 0.14); color: #c2410c; }
.lifecycle-timeline-v2 li:nth-child(2) .lc-tag { background: rgba(236, 72, 153, 0.10); color: #be185d; }
.lifecycle-timeline-v2 li:nth-child(3) .lc-tag { background: rgba(6, 182, 212, 0.14); color: #0e7490; }
.lifecycle-timeline-v2 li:nth-child(4) .lc-tag { background: rgba(34, 211, 220, 0.16); color: #0e7490; }
.lifecycle-timeline-v2 li:nth-child(5) .lc-tag { background: rgba(190, 242, 100, 0.28); color: #4d7c0f; }
.lifecycle-timeline-v2 li:nth-child(6) .lc-tag { background: rgba(22, 101, 52, 0.14); color: #166534; }
.lc-step {
  display: inline-block;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: transparent !important;
  -webkit-text-fill-color: initial;
  margin: 0 0 6px;
  padding: 0;
}
.lifecycle-timeline-v2 li .lc-step { color: var(--ink-soft); }

.lifecycle-timeline h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 4px 0 6px;
  color: var(--ink);
}
.lifecycle-timeline p {
  margin: 0 auto;
  max-width: 240px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.lifecycle-timeline-v2 .lc-tag {
  margin: auto auto 0;
}

@media (max-width: 900px) {
  .lifecycle-timeline { grid-template-columns: 1fr; padding-top: 8px; }
  .lifecycle-timeline::before {
    top: 0; bottom: 0; left: 50%;
    width: 5px; height: auto; right: auto;
    background: linear-gradient(180deg, var(--orange), var(--magenta) 28%, var(--cyan-deep) 55%, var(--cyan) 78%, var(--lime));
    transform: translateX(-50%);
  }
  .lifecycle-timeline li { padding: 20px 12px; }
  .lifecycle-timeline p { max-width: none; }
}

/* ================================================================
   DIFFERENZIERUNG (Bundle-Karten – 4 farbige Gruppen)
   ================================================================ */
.diff-bundles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.diff-bundle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.diff-bundle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--dbc, var(--orange));
}
.diff-bundle[data-color="orange"]  { --dbc: #FB923C; }
.diff-bundle[data-color="magenta"] { --dbc: #EC4899; }
.diff-bundle[data-color="cyan"]    { --dbc: #06B6D4; }
.diff-bundle[data-color="lime"]    { --dbc: #65a30d; }
.diff-bundle:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -22px rgba(15, 23, 42, 0.18);
}
.db-head {
  margin-bottom: 18px;
}
.db-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dbc, var(--orange));
  background: color-mix(in srgb, var(--dbc, var(--orange)) 12%, white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.db-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.db-list {
  display: grid;
  gap: 14px;
}
.db-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.db-x, .db-y {
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
}
.db-x {
  background: #FAFBFC;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(100, 116, 139, 0.35);
}
.db-y {
  background: color-mix(in srgb, var(--dbc, var(--orange)) 8%, white);
  color: var(--ink);
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--dbc, var(--orange)) 25%, transparent);
}

@media (max-width: 900px) {
  .diff-bundles { grid-template-columns: 1fr; }
  .db-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ================================================================
   DIFFERENZIERUNG V2 – Tabelle mit Gruppen-Headern und immorise-Highlight
   ================================================================ */
.diff-table-v2 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.15);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.diff-table-v2 .diff-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-display);
}
.diff-table-v2 thead th {
  padding: 20px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--bg-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}
.diff-table-v2 thead .dt-feature { width: 38%; }
.diff-table-v2 thead .diff-us {
  background: var(--bg-2);
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.diff-table-v2 .diff-us-inner {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.diff-table-v2 tbody td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}
.diff-table-v2 tbody td:first-child {
  text-align: left;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  padding-left: 28px;
  font-family: var(--font-display);
}
.diff-table-v2 tbody .dt-ok {
  color: #16a34a;
  font-weight: 700;
  font-size: 20px;
}
.diff-table-v2 tbody .diff-us {
  background: transparent;
  border-left: 1px solid var(--line-soft);
  padding: 12px;
  text-align: center;
}
.diff-table-v2 tbody .diff-us::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.diff-table-v2 tbody tr:hover:not(.dt-group) { background: rgba(247, 249, 252, 0.6); }
.diff-table-v2 tbody tr:hover:not(.dt-group) .diff-us::before { background: rgba(22, 163, 74, 0.18); }

/* Gruppen-Header-Zeilen */
.diff-table-v2 .dt-group td {
  background: var(--bg-3);
  padding: 14px 28px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.diff-table-v2 .dt-group:first-child td { border-top: 0; }
.diff-table-v2 .dt-group-orange td { background: rgba(251, 146, 60, 0.05); }
.diff-table-v2 .dt-group-magenta td { background: rgba(236, 72, 153, 0.04); }
.diff-table-v2 .dt-group-cyan td { background: rgba(6, 182, 212, 0.05); }
.diff-table-v2 .dt-group td { padding: 11px 28px; }
.dt-group-tag {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-right: 10px;
  vertical-align: middle;
}
.dt-group-orange .dt-group-tag { background: rgba(251, 146, 60, 0.18); color: #c2410c; }
.dt-group-magenta .dt-group-tag { background: rgba(236, 72, 153, 0.15); color: #be185d; }
.dt-group-cyan .dt-group-tag { background: rgba(6, 182, 212, 0.18); color: #0e7490; }
.dt-group td > span:last-child {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 14px;
}

.diff-table-v2 tbody tr:last-child td { border-bottom: 0; }

/* V3: 3-Spalten-Variante (Aufgabe | Klassisch | immorise) */
.diff-table-v3 thead .dt-feature { width: 40%; text-align: left; padding-left: 28px; }
.diff-table-v3 thead th:nth-child(2) { width: 40%; }
.diff-table-v3 thead .diff-us { width: 20%; }
.diff-table-v3 tbody td:first-child { font-weight: 600; font-size: 15px; color: var(--ink); }
.diff-table-v3 tbody td.dt-alt {
  font-family: var(--font-display) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  opacity: 0.9 !important;
  line-height: 1.35 !important;
}
.diff-table-v2 + .diff-legend,
.diff-table-v2 .diff-legend {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 18px auto 0;
}

@media (max-width: 820px) {
  .diff-table-v2 { overflow-x: auto; }
  .diff-table-v2 thead th,
  .diff-table-v2 tbody td { padding: 10px 8px; font-size: 12px; }
  .diff-table-v2 tbody td:first-child { padding-left: 14px; font-size: 12.5px; }
  .diff-table-v2 .dt-group td { padding: 10px 14px; font-size: 12.5px; }
}

/* ================================================================
   DIFFERENZIERUNG (alte Bundle-Cards – nicht mehr verwendet)
   ================================================================ */
.diff-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.15);
  max-width: 1100px;
  margin: 0 auto;
}
.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-display);
}
.diff-table th, .diff-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.diff-table th:first-child, .diff-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding-left: 24px;
  min-width: 240px;
}
.diff-table thead th {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 22px;
  padding-bottom: 22px;
}
.diff-table thead .diff-us {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 16px;
  font-weight: 700;
}
.diff-table tbody td:not(:first-child) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}
.diff-table tbody .diff-us {
  background: rgba(251, 146, 60, 0.06);
  color: #16a34a;
  font-weight: 700;
  font-size: 20px;
  border-left: 1px solid rgba(251, 146, 60, 0.2);
  border-right: 1px solid rgba(251, 146, 60, 0.2);
}
.diff-table tbody tr:hover { background: rgba(247, 249, 252, 0.6); }
.diff-table tbody tr:hover .diff-us { background: rgba(251, 146, 60, 0.12); }
.diff-table tbody tr:last-child td { border-bottom: 0; }
.diff-table tbody tr:last-child .diff-us {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.diff-legend {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 1100px;
}

@media (max-width: 820px) {
  .diff-table-wrap { overflow-x: auto; }
  .diff-table th, .diff-table td { padding: 12px 8px; font-size: 12.5px; }
  .diff-table th:first-child, .diff-table td:first-child { min-width: 180px; padding-left: 14px; }
}

/* ================================================================
   DIFFERENZIERUNG (alt: Problem → Lösung Cards – nicht mehr verwendet)
   ================================================================ */
.diff-grid {
  display: grid;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.diff-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: stretch;
  gap: 16px;
}
.diff-problem, .diff-solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.diff-problem {
  background: #FAFBFC;
}
.diff-problem:hover, .diff-solution:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(15, 23, 42, 0.12);
}
.diff-solution {
  background: linear-gradient(180deg, #fff 0%, #FFFAF5 100%);
  border-color: rgba(251, 146, 60, 0.35);
}
.diff-tag-problem, .diff-tag-sol {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}
.diff-tag-problem {
  background: #F1F5F9;
  color: var(--muted);
}
.diff-tag-sol {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
}
.diff-problem strong, .diff-solution strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.diff-problem span:not(.diff-tag-problem),
.diff-solution span:not(.diff-tag-sol) {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.diff-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 820px) {
  .diff-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .diff-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

/* ================================================================
   TRUST
   ================================================================ */
.section-trust { background: var(--bg-soft); border-top: 1px solid var(--line); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--ink);
}
.trust-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.ts-placeholder {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ts-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}
.ts-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.ts-card blockquote {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.ts-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.ts-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.ts-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.section-cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cta-bg .blob-orange {
  width: 1100px; height: 1100px;
  background: var(--orange);
  opacity: 0.32;
  top: -400px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-bg .blob-cyan {
  width: 1400px; height: 1400px;
  background: var(--cyan-deep);
  opacity: 0.28;
  bottom: -700px;
  left: 50%;
  transform: translateX(-50%);
}

/* Mehr-als-BIM responsive */
@media (max-width: 900px) {
  .mab-grid { grid-template-columns: 1fr; gap: 36px; }
  .mab-text .section-title, .mab-text .section-eyebrow { text-align: left; }
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}
.section-cta { padding-top: 56px; }
.section-cta .cta-title { margin: 0 0 64px; }
.cta-logo {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto 56px;
  opacity: 0.95;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #fff;
}
.cta-title > span { display: block; }
.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.cta-form input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 12px 18px;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta-form .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
}
.cta-form .btn-primary:hover {
  background: linear-gradient(135deg, #FBA76C, #F472B6);
  box-shadow: 0 14px 28px -10px rgba(251, 146, 60, 0.6);
}
/* Mobile: Eingabefeld + Button sauber untereinander statt zerrutschter 2-Reihen-Pille */
@media (max-width: 560px) {
  /* Kein umschliessender Kasten mehr (passte nicht zum Layout) -> Feld + Button als zwei saubere, gestapelte Elemente */
  .cta-form {
    flex-direction: column;
    flex-wrap: nowrap;
    background: none;
    border: 0;
    padding: 0;
    gap: 12px;
    max-width: 400px;
  }
  .cta-form input {
    min-width: 0;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 14px;
    padding: 15px 16px;
  }
  .cta-form .btn-primary {
    width: 100%;
    justify-content: center;
  }
  /* Checkmarks aufgeraeumt: linksbuendige Spalte, als Block mittig */
  .cta-bullets {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
  }
}
.cta-bullets {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}
.cta-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: #1a2e05;
  font-size: 11px;
  font-weight: 700;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-card { grid-column: span 1; }
  .uc-card-wide { grid-column: span 2; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .lifecycle-timeline { grid-template-columns: repeat(2, 1fr); }
  .lifecycle-timeline::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 16px; }
  .uc-grid { grid-template-columns: 1fr; }
  .uc-card, .uc-card-wide { grid-column: span 1; }
  .lifecycle-timeline { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .diff-table { font-size: 12.5px; }
  .diff-table th, .diff-table td { padding: 10px 8px; }
}

/* ================================================================
   PERSONA DRAWER (Detail-Modal)
   ================================================================ */
.persona-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.persona-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.persona-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.persona-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(640px, 100%);
  background: #fff;
  box-shadow: -20px 0 50px -20px rgba(15, 23, 42, 0.25);
  padding: 56px 56px 56px;
  overflow-y: auto;
  transform: translateX(40px);
  transition: transform 0.3s ease;
}
.persona-drawer.is-open .persona-drawer-panel {
  transform: translateX(0);
}
.persona-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.persona-drawer-close:hover { background: var(--bg-3); }
.persona-drawer-close svg { width: 20px; height: 20px; color: var(--ink); }

.pd-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.pd-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
}
.pd-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 18px;
  margin: 0 0 28px;
}
.pd-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.pd-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.pd-benefit {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pd-benefit strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
.pd-benefit span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pd-cta {
  display: inline-flex;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .persona-drawer-panel {
    padding: 56px 24px 32px;
  }
  .pd-benefits { grid-template-columns: 1fr; }
}

/* ================================================================
   FOOTER (4 Spalten)
   ================================================================ */
.footer {
  padding: 56px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-3);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.footer-col ul {
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-logo {
  height: 60px;
  width: auto;
  margin: -8px 0 4px -4px;
  padding: 0;
  display: block;
}
.footer-claim {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
}
.footer-claim span { display: block; }
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.footer-address strong {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.footer-address a {
  color: var(--ink-soft);
}
.footer-address a:hover { color: var(--ink); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom a {
  color: var(--ink-soft);
}
.footer-bottom a:hover { color: var(--ink); }
.footer-sep { color: var(--line); }

@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col-brand { grid-column: span 1; }
  .footer-bottom { justify-content: flex-start; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .float-card-left, .float-card-right {
    max-width: 380px;
    margin: 0 auto;
  }
  .float-card-left { order: 2; }
  .hero-content { order: 1; }
  .float-card-right { order: 3; }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: auto 1fr;
    padding: 10px 14px;
  }
  .nav-links { display: none; }
  /* .nav-login bleibt auf Mobile sichtbar (Login zur Plattform) — kompakt gestylt im 900px-Block */
  .hero { padding: 40px 16px; }
  .hero-headline { font-size: clamp(28px, 7vw, 40px); }
}

/* ================================================================
   SUBPAGES (Persona, Modul, Pricing, About, Karriere, Kontakt)
   ================================================================ */
.subpage-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.subpage-hero .section-inner {
  max-width: 920px;
  text-align: left;
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: rgba(15, 23, 42, 0.3); }

.subpage-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.12;
  margin: 14px 0 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.subpage-title span { display: block; }
.subpage-title .grad-text {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.06em 0.05em 0.18em;
  line-height: 1.28;
}
.subpage-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 28px;
}
.subpage-hero .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .subpage-hero { padding-top: 110px; padding-bottom: 40px; }
  .subpage-title { font-size: clamp(28px, 8vw, 42px); }
}

/* ================================================================
   SUBPAGE-KOMPONENTEN (Cloud-AI-Design-Adaption mit unserer Brand)
   ================================================================ */

/* Sub-Hero mit Stats-Grid rechts */
.sub-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.sub-hero .container,
.sub-hero .section-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.sub-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 18px 0 22px;
  color: var(--ink);
}
.sub-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.06em 0.05em 0.18em;
  line-height: 1.28;
  display: inline-block;
}
.sub-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 0 28px;
}
.sub-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.sub-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.sub-hero-stats {
  display: grid;
  gap: 14px;
}
.sub-hero-stat {
  padding: 22px 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  display: grid;
  gap: 4px;
}
.sub-hero-stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.sub-hero-stat span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .sub-hero .container, .sub-hero .section-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Section-Block Standard */
.sp-block {
  padding: 62px 0;
}
.sp-block-alt { background: var(--bg-soft); }
.sp-block .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.sp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sp-grid-2 .eyebrow,
.sp-block .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.sp-block h2,
.sp-grid-2 h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.t-display-m { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.t-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.t-h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; }
.t-body-l { font-size: 17px; line-height: 1.6; }
.t-soft { color: var(--ink-soft); }
.t-gradient {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 800px) {
  .sp-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .sp-block { padding: 56px 0; }
}

/* Feature-Grid 3x2 */
.sp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.sp-feature-grid .cell {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  display: grid;
  gap: 12px;
}
.sp-block-alt .sp-feature-grid .cell { background: #fff; }
.cell-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 6px;
}
.cell-icon svg { width: 22px; height: 22px; }
.sp-feature-grid .cell h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.sp-feature-grid .cell p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 900px) {
  .sp-feature-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Browser-Frame Mockup */
.browser {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px -22px rgba(15, 23, 42, 0.18);
}
.browser-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E5E7EB;
}
.browser-dots span:nth-child(1) { background: #fecaca; }
.browser-dots span:nth-child(2) { background: #fef3c7; }
.browser-dots span:nth-child(3) { background: #d1fae5; }
.browser-url {
  flex: 1;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 4px 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  text-align: center;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(190, 242, 100, 0.25);
  color: #4d7c0f;
  letter-spacing: 0.04em;
}
.live-pill .live-dot { width: 6px; height: 6px; background: #65a30d; }
.browser-body {
  position: relative;
  background: #0F172A;
  overflow: hidden;
}
.browser-body img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Quote-Card */
.callout-quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
}
.callout-quote blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.callout-quote figcaption {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.callout-quote .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Benefit-Liste mit Nummern */
.benefits {
  display: grid;
  gap: 14px;
}
.benefit {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}
.benefit strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.benefit span { font-size: 16px; line-height: 1.5; color: var(--ink); padding-top: 4px; }
.benefit-magenta strong { color: var(--magenta); }
.benefit-cyan strong { color: var(--cyan-deep); }
.benefit-lime strong { color: #4d7c0f; }

/* FAQ-Akkordeon */
.faq { display: grid; gap: 8px; }
.faq details {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: rgba(251, 146, 60, 0.4); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq summary::after {
  content: '+';
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Pricing-Stränge */
.pricing-strands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.strand {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 20px;
  display: grid;
  gap: 16px;
}
.strand-dark {
  background: #0F172A;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
}
.strand-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 10px;
  background: rgba(251, 146, 60, 0.10);
  border-radius: 999px;
  width: fit-content;
}
.strand-dark .strand-tag { background: rgba(190, 242, 100, 0.18); color: var(--lime); }
.strand h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.strand-dark h3 { color: #fff; }
.strand-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.strand-price .num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strand-dark .strand-price .num {
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strand-price .unit { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.strand-dark .strand-price .unit { color: rgba(255,255,255,0.7); }
.strand-features { display: grid; gap: 10px; padding: 0; list-style: none; margin: 8px 0 4px; }
.strand-features li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
}
.strand-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.strand-dark .strand-features li::before { color: var(--lime); }
@media (max-width: 800px) {
  .pricing-strands { grid-template-columns: 1fr; }
}

/* On-Dark Button */
.btn-on-dark {
  background: #fff;
  color: #0F172A;
  border: 0;
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.92); }

/* Input/Form */
.input, .textarea {
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.12);
}
.textarea { min-height: 120px; resize: vertical; }

/* Card */
.card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
}
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.badge-lime { background: rgba(190, 242, 100, 0.25); color: #4d7c0f; }
.badge-orange { background: rgba(251, 146, 60, 0.14); color: #c2410c; }

/* ================================================================
   FINAL-CTA für Subpages (breit, kein Logo, große Headline)
   ================================================================ */
.section-cta-wide {
  background: #0F172A;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.section-cta-wide::before,
.section-cta-wide::after {
  content: '';
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}
.section-cta-wide::before {
  width: 480px; height: 480px;
  background: var(--orange);
  top: -120px; left: -80px;
  border-radius: 50%;
}
.section-cta-wide::after {
  width: 520px; height: 520px;
  background: var(--cyan-deep);
  bottom: -160px; right: -80px;
  border-radius: 50%;
}
.section-cta-wide .container,
.section-cta-wide .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.cta-headline-wide {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 18ch;
}
.cta-headline-wide em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.06em 0.05em 0.18em;
  line-height: 1.22;
  display: inline-block;
}
.section-cta-wide .cta-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 60ch;
  margin: 0 auto 36px;
}
.cta-trust {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
.cta-trust span {
  position: relative;
  padding-left: 22px;
}
.cta-trust span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

/* ================================================================
   BIG-FOOTER (dunkler Block mit Spalten + farbigem Logo)
   ================================================================ */
.footer-big {
  background: #0A0F1C;
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-big .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-big-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img {
  width: 220px;
  height: auto;
  margin-bottom: 22px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 340px;
}
.footer-big .footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}
.footer-big .footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-big .footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-big .footer-col a:hover { color: #fff; }
.footer-big .footer-bottom {
  color: rgba(255, 255, 255, 0.45);
}
.footer-big .footer-bottom a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-big .footer-bottom a:hover { color: #fff; }
.footer-trust-pills {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-trust-pills span { position: relative; padding-left: 18px; }
.footer-trust-pills span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
@media (max-width: 1000px) {
  .footer-big-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-big-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   HERO – Play-Icon für "Plattform-Tour ansehen" Ghost-Button
   ================================================================ */
.hero-cta-tour {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-cta-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  flex-shrink: 0;
}
.hero-cta-play svg { width: 10px; height: 10px; margin-left: 1px; }

/* Hero-CTAs etwas kompakter – weniger Masse als die globale btn-lg */
.hero-cta .btn-lg {
  font-size: 15px;
  padding: 12px 22px;
}

/* Login-Button: gefüllt, aber kein hartes Schwarz mehr.
   Gedämpftes Slate als Basis mit einem dezenten Hauch des Marken-Gradients,
   der die "Mit KI vernetzt"-Botschaft aufgreift (kein knalliger Regenbogen). */
.hero-cta-login.btn-primary {
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--ink-soft) 82%, var(--orange)) 0%,
    color-mix(in srgb, var(--ink-soft) 84%, var(--magenta)) 40%,
    color-mix(in srgb, var(--ink-soft) 84%, var(--cyan-deep)) 75%,
    color-mix(in srgb, var(--ink-soft) 86%, var(--lime)) 100%);
  color: #fff;
  border-color: transparent;
}
.hero-cta-login.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--ink-soft) 72%, var(--orange)) 0%,
    color-mix(in srgb, var(--ink-soft) 74%, var(--magenta)) 40%,
    color-mix(in srgb, var(--ink-soft) 74%, var(--cyan-deep)) 75%,
    color-mix(in srgb, var(--ink-soft) 78%, var(--lime)) 100%);
  box-shadow: 0 12px 26px -12px rgba(236, 72, 153, 0.35);
}

/* ================================================================
   TWIN FACTORY CTA – direkt unter der Workflow-Animation
   ================================================================ */
.wf-tf-cta {
  margin: 32px auto 0;
  padding: 0 24px;
  max-width: 1100px;
}
.wf-tf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.10), rgba(6, 182, 212, 0.10));
  border: 1px solid color-mix(in srgb, var(--lime) 28%, transparent);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.wf-tf-cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lime), var(--cyan-deep));
}
.wf-tf-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.wf-tf-cta-badge {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4d7c0f;
  background: rgba(190, 242, 100, 0.32);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.wf-tf-cta-text strong {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.wf-tf-cta-text > span:not(.wf-tf-cta-badge) {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.wf-tf-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.wf-tf-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.wf-tf-link:hover { color: var(--ink); border-bottom-color: var(--cyan-deep); }
@media (max-width: 800px) {
  .wf-tf-cta-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 22px; }
  .wf-tf-cta-actions { width: 100%; flex-wrap: wrap; }
}

/* ================================================================
   TRUST-STRIP unterhalb der Workflow-Animation (EU-Souveränität)
   ================================================================ */
/* ================================================================
   INFO-TOOLTIP (i) – neben "digitalen Zwilling" in Headline
   ================================================================ */
.twin-word {
  position: relative;
  display: inline-block;
}
.info-tip {
  position: absolute;
  top: 0.05em;
  right: 0;
  transform: translate(85%, -60%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  outline: none;
  line-height: 1;
}
.info-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.38em;
  height: 0.38em;
  color: var(--magenta);
  transition: transform 0.2s ease, color 0.2s ease;
}
.info-tip-icon svg { width: 100%; height: 100%; display: block; }
.info-tip:hover .info-tip-icon,
.info-tip:focus .info-tip-icon {
  color: var(--orange);
  transform: scale(1.15);
}
.info-tip-bubble {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: max-content;
  max-width: 320px;
  background: #0F172A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
  pointer-events: none;
  white-space: normal;
}
.info-tip-bubble::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #0F172A;
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus .info-tip-bubble,
.info-tip:focus-within .info-tip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* keep title-line group inseparable so icon stays glued to "Zwilling." */
.wf-title-l1 { white-space: normal; }

.wf-trust-strip {
  margin: 24px auto 0;
  padding: 0 24px;
  max-width: 1200px;
}
.wf-trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 18px 44px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.12);
}
.wf-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.wf-trust-flag {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 4px 10px -4px rgba(15, 23, 42, 0.2);
}
/* Neue Icon-Variante mit Gradient-Hintergrund */
.wf-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.wf-trust-icon svg { width: 19px; height: 19px; }
.wf-trust-icon-shield {
  background: transparent;
  box-shadow: none;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 5px 10px rgba(30, 91, 168, 0.42));
}
.wf-trust-icon-shield svg { width: 46px; height: 46px; display: block; }
.wf-trust-icon-lock {
  background: linear-gradient(135deg, var(--cyan-deep) 0%, var(--lime) 100%);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--cyan-deep) 55%, transparent);
}
.wf-trust-icon-eu {
  background: transparent;
  box-shadow: 0 6px 16px -6px rgba(0, 51, 153, 0.5);
  width: 42px;
  height: 42px;
}
.wf-trust-icon-eu img { width: 42px; height: 42px; display: block; }
.wf-trust-item > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}
.wf-trust-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.wf-trust-item span {
  font-size: 12px;
  color: var(--ink-soft);
}
.wf-trust-sep {
  width: 1px;
  height: 28px;
  background: rgba(15, 23, 42, 0.10);
}
@media (max-width: 720px) {
  .wf-trust-strip-inner { flex-direction: column; gap: 18px; padding: 18px 24px; border-radius: 18px; }
  .wf-trust-sep { width: 60%; height: 1px; }
}

/* ================================================================
   HERO TWIN – Foto-Variante (KI-Render + animierte UI-Layer drüber)
   ================================================================ */
.hero-twin-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 560px;
}
.ht-photo-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

/* Hintergrund-Glow hinter dem Bild */
.ht-photo-glow {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.22), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(236, 72, 153, 0.20), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(6, 182, 212, 0.22), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(190, 242, 100, 0.22), transparent 55%);
  filter: blur(30px);
  z-index: 0;
  animation: htPhotoGlowSpin 50s linear infinite;
}
@keyframes htPhotoGlowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Gerendertes Gebäude – verschmilzt nahtlos mit dem Hintergrund */
.ht-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  /* Sehr weicher Fade an allen Kanten – Mitte voll, Rand komplett transparent.
     Kein mix-blend-mode (verfärbt sonst die echten Bauteilfarben). */
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at 50% 50%, #000 18%, rgba(0,0,0,0.7) 50%, transparent 92%);
          mask-image: radial-gradient(ellipse 68% 78% at 50% 50%, #000 18%, rgba(0,0,0,0.7) 50%, transparent 92%);
  animation: htPhotoFloat 6s ease-in-out infinite;
}
@keyframes htPhotoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Connection-Lines */
.ht-photo-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ht-photo-lines path {
  animation: htDashFlow 14s linear infinite;
}

/* Floating Stat-Cards (überdecken die KI-Text-Artefakte) */
.ht-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.04);
  z-index: 5;
  font-family: var(--font-display);
  white-space: nowrap;
  animation: htCardFloat 7s ease-in-out infinite;
}
.ht-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ht-card-icon svg { width: 17px; height: 17px; }
.ht-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.ht-card-body strong {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.ht-card-body span {
  font-size: 11px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 500;
}
.ht-card-orange  .ht-card-icon { background: linear-gradient(135deg, #FB923C, #f97316); }
.ht-card-magenta .ht-card-icon { background: linear-gradient(135deg, #EC4899, #db2777); }
.ht-card-cyan    .ht-card-icon { background: linear-gradient(135deg, #06B6D4, #0891b2); }
.ht-card-lime    .ht-card-icon { background: linear-gradient(135deg, #BEF264, #65a30d); }
.ht-card-orange  { animation-delay: 0s; }
.ht-card-magenta { animation-delay: 1.4s; }
.ht-card-cyan    { animation-delay: 2.8s; }
.ht-card-lime    { animation-delay: 4.2s; }
@keyframes htCardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Live-Pill (oben rechts, deckt Pollo.ai-Wasserzeichen) */
.ht-live-pill {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #0F172A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.4);
}
.ht-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #BEF264;
  box-shadow: 0 0 0 0 rgba(190, 242, 100, 0.8);
  animation: htLivePulse 1.6s ease-out infinite;
}
@keyframes htLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(190, 242, 100, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(190, 242, 100, 0); }
}

/* KI-Sparkle-Pille zentral unten */
.ht-ki-pill {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  background: linear-gradient(135deg, #FB923C 0%, #EC4899 60%, #06B6D4 100%);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  z-index: 7;
  box-shadow: 0 20px 44px -10px rgba(236, 72, 153, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.95);
  animation: htKiPillPulse 3.2s ease-in-out infinite;
}
.ht-ki-pill svg {
  width: 20px;
  height: 20px;
  animation: htKiSparkle 2.4s ease-in-out infinite;
}
@keyframes htKiPillPulse {
  0%, 100% { box-shadow: 0 20px 44px -10px rgba(236, 72, 153, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.95); }
  50%      { box-shadow: 0 24px 56px -10px rgba(236, 72, 153, 0.7), 0 0 0 4px rgba(255, 255, 255, 0.95); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ht-photo-glow, .ht-photo-img, .ht-photo-lines path,
  .ht-card, .ht-live-dot, .ht-ki-pill, .ht-ki-pill svg { animation: none !important; }
}

/* Mobile */
@media (max-width: 900px) {
  .hero-twin-photo { min-height: 460px; }
  .ht-card { padding: 7px 11px 7px 7px; gap: 7px; border-radius: 10px; }
  .ht-card-icon { width: 26px; height: 26px; border-radius: 7px; }
  .ht-card-icon svg { width: 14px; height: 14px; }
  .ht-card-body strong { font-size: 11.5px; }
  .ht-card-body span { font-size: 9.5px; }
  .ht-ki-pill { font-size: 12px; padding: 9px 16px 9px 13px; }
  .ht-ki-pill svg { width: 16px; height: 16px; }
}
@media (max-width: 600px) {
  .hero-twin-photo { min-height: 380px; }
}

/* ================================================================
   HERO TWIN – Isometrisches Twin-Gebäude (V1 – nicht mehr verwendet)
   ================================================================ */
.hero-twin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 540px;
}
.ht-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
}

/* Hintergrund-Glow (sanfter Mehrfarb-Disc) */
.ht-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.18), transparent 60%),
    radial-gradient(circle at 75% 35%, rgba(236, 72, 153, 0.16), transparent 60%),
    radial-gradient(circle at 70% 75%, rgba(6, 182, 212, 0.18), transparent 60%),
    radial-gradient(circle at 25% 75%, rgba(190, 242, 100, 0.18), transparent 60%);
  filter: blur(20px);
  z-index: 0;
  animation: htGlowSpin 80s linear infinite;
}
@keyframes htGlowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Orbit-Bahnen */
.ht-orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.ht-orbit-outer { animation: htOrbitRotate 80s linear infinite; transform-origin: 300px 300px; }
.ht-orbit-inner { animation: htOrbitRotate 60s linear infinite reverse; transform-origin: 300px 300px; }
@keyframes htOrbitRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Zentrales Twin-Gebäude */
.ht-building {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  filter: drop-shadow(0 14px 32px rgba(15, 23, 42, 0.18));
  animation: htBuildingBreathe 6s ease-in-out infinite;
}
.ht-floor { transform-origin: 160px 240px; }
.ht-floor-1 { animation: htFloorPulse 5s ease-in-out infinite 0s; }
.ht-floor-2 { animation: htFloorPulse 5s ease-in-out infinite 1s; }
.ht-floor-3 { animation: htFloorPulse 5s ease-in-out infinite 2s; }
.ht-floor-roof { animation: htFloorPulse 5s ease-in-out infinite 3s; }
@keyframes htFloorPulse {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 1; }
}
@keyframes htBuildingBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.008); }
}

/* Verbindungslinien Gebäude ↔ Atoms */
.ht-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ht-links path {
  stroke-dashoffset: 0;
  animation: htDashFlow 16s linear infinite;
}
@keyframes htDashFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -180; }
}

/* Floating Data-Atoms (Pillen mit Icon + Label) */
.ht-atom {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.04);
  z-index: 4;
  color: var(--c);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  animation: htAtomFloat 6s ease-in-out infinite;
}
.ht-atom svg { width: 16px; height: 16px; flex-shrink: 0; }
.ht-atom span { color: var(--ink); }
.ht-atom-1 { animation-delay: 0s; }
.ht-atom-2 { animation-delay: 1.2s; }
.ht-atom-3 { animation-delay: 2.4s; }
.ht-atom-4 { animation-delay: 3.6s; }
@keyframes htAtomFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* KI-Atom: spezieller Gradient-Look, prominentere Pille */
.ht-atom-ki {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: linear-gradient(135deg, #FB923C 0%, #EC4899 100%);
  border-radius: 999px;
  box-shadow: 0 16px 32px -8px rgba(236, 72, 153, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.9);
  z-index: 5;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  animation: htKiPulse 3s ease-in-out infinite;
}
.ht-atom-ki svg { width: 18px; height: 18px; color: #fff; animation: htKiSparkle 2.4s ease-in-out infinite; }
@keyframes htKiPulse {
  0%, 100% { box-shadow: 0 16px 32px -8px rgba(236, 72, 153, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.9); }
  50%      { box-shadow: 0 20px 44px -8px rgba(236, 72, 153, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.9); }
}
@keyframes htKiSparkle {
  0%, 100% { transform: scale(0.92) rotate(0deg); }
  50%      { transform: scale(1.1) rotate(8deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ht-glow, .ht-orbit-outer, .ht-orbit-inner, .ht-building, .ht-floor,
  .ht-links path, .ht-atom, .ht-atom-ki, .ht-atom-ki svg { animation: none !important; }
}

/* Mobile: Hero-Twin kleiner */
@media (max-width: 900px) {
  .hero-twin { min-height: 420px; }
  .ht-atom { font-size: 11px; padding: 6px 11px 6px 8px; }
  .ht-atom svg { width: 13px; height: 13px; }
  .ht-atom-ki { font-size: 12px; padding: 8px 14px 8px 11px; }
  .ht-atom-ki svg { width: 14px; height: 14px; }
}
@media (max-width: 600px) {
  .hero-twin { min-height: 360px; }
}

/* ================================================================
   MOBILE-PERFORMANCE & SCROLL-FIX
   ================================================================ */
@media (max-width: 900px) {
  /* Connection-Lines im Hero auf Mobile aus (teuer + überfrachtet) */
  .ht-photo-lines { display: none; }
  /* Glow-Rotation langsamer / leichter Blur */
  .ht-photo-glow { filter: blur(18px); animation-duration: 120s; }
  /* Hero-Card-Float reduzieren (weniger frame-work) */
  .ht-card { animation-duration: 9s; }
  /* Final-CTA Wide: Blur-Glows ausblenden (sehr teuer) */
  .section-cta-wide::before, .section-cta-wide::after { display: none; }
  /* Footer-Bottom: untereinander, damit nichts rauslaüft */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  /* Workflow-Pulse-Punkte auf den Orbits ausblenden (zu teuer auf alten Smartphones) */
  .wf-orbit-dots { display: none; }
  /* Hero-Photo-Float ausblenden */
  .ht-photo-img { animation: none; }
  /* Brand-Strip (Scroll-Banner) Geschwindigkeit reduzieren */
  .brand-strip-track { animation-duration: 110s !important; }
}

/* Generelle horizontale Overflow-Sicherheit für problematische Elemente */
.swiper, .uc-carousel, .brand-strip { max-width: 100vw; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img.logo-full, svg.logo-full { height: 54px; width: auto; max-width: none; }

/* ================================================================
   HAMBURGER + MOBILE-DRAWER-MENÜ
   ================================================================ */
.nav-burger { display: none; }

@media (max-width: 900px) {
  /* Auf Mobile: Nav-Links und Demo-Button raus; Login + Sprache + Hamburger in der Pille */
  .nav-links { display: none !important; }
  .nav-cta-desktop { display: none !important; }
  /* Pille schlanker: kleineres Logo + weniger Aussenabstand, damit alles hineinpasst */
  .nav-wrap { padding: 12px 12px 0; z-index: 160; } /* ueber dem geoeffneten Mobile-Menue (150), damit Header + Hamburger sichtbar/klickbar bleiben */
  .nav { grid-template-columns: auto 1fr; padding: 8px 12px; gap: 10px; }
  img.logo-full, svg.logo-full { height: 38px; }
  .nav-actions { gap: 12px !important; justify-self: end; align-items: center; }
  /* Reihenfolge: Sprache · Login · Hamburger (Login sitzt mittig) */
  .lang-switch { order: 1; }
  .nav-login { order: 2; }
  .nav-burger { order: 3; }
  /* Login bleibt die Pille (wichtigste Aktion) */
  .nav-login {
    font-size: 12.5px !important;
    padding: 6px 13px !important;
  }
  /* Sprache: nur das aktive Kürzel, dezent ohne Rahmen; Tippen wechselt die Sprache */
  .lang-switch { font-size: 12.5px; gap: 0; padding: 0; }
  .lang-sep { display: none; }
  .lang-btn { display: none; }
  .lang-btn.is-active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink);
    font-weight: 600;
    padding: 6px 2px;
  }
  .lang-btn.is-active::after {
    content: "⇄";
    font-size: 11px;
    opacity: 0.5;
  }
  /* Hamburger: rahmenlos, nur drei klare Striche */
  .nav-burger {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 24px;
    height: 38px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  /* Unsichtbarer, vergroesserter Tippbereich (Optik/Layout unveraendert) -> zuverlaessiges Oeffnen */
  .nav-burger::after {
    content: "";
    position: absolute;
    inset: -14px -16px -14px -14px;
  }
  .nav-burger span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000; /* vollflaechiges Overlay UEBER allem (auch Header) - unabhaengig von Scroll/Auto-Hide */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.mobile-menu.is-open {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}
/* Scroll-Sperre, solange das Mobile-Menue offen ist (iOS-robuster ueber html UND body) */
html.menu-locked, html.menu-locked body { overflow: hidden; }
/* Off-screen-Animationen pausieren (nur Startseite, via script.js gesetzt) - entlastet den Hauptprozess,
   damit das Menue zuegig reagiert. Wird nur an die 2-3 schweren Animations-Sektionen vergeben. */
.perf-paused, .perf-paused * { animation-play-state: paused !important; }
.mobile-menu-overlay { display: none; }
.mobile-menu-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateY(-6px);
  transition: transform 0.2s ease;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateY(0); }
/* Eigene Kopfzeile des Overlays: Logo links (wie Header), rahmenloses X rechts */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 12px;
  flex-shrink: 0;
}
.mobile-menu-logo { height: 38px; width: auto; }
.mobile-menu-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.mobile-menu-close svg { width: 26px; height: 26px; }
.mobile-menu.is-open .mobile-menu-close svg { animation: xIn 0.25s ease both; }
@keyframes xIn { from { transform: rotate(-90deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
  gap: 0;
  flex: 1;
}
.mobile-menu-nav a {
  padding: 17px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: color 0.15s;
}
.mobile-menu-nav a:hover { color: var(--orange); }
.mobile-menu-sublabel {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 16px 14px 6px;
}
.mobile-menu-foot {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}
.mobile-menu-foot .btn { width: 100%; justify-content: center; text-align: center; }
/* Login im aufgeklappten Menue farblich hervorheben (nicht nur weiss) */
.mobile-menu-foot .btn-ghost {
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
  background: color-mix(in srgb, var(--cyan-deep) 10%, transparent);
}

/* ================================================================
   EINSTIEGS-SECTION: 3 Cards (3D-Scan, BIM, Pläne)
   ================================================================ */
.section-entry {
  padding: 96px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
/* Gruppierungszeile über den 4 Einstiegs-Karten */
.entry-choose-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 30px;
}
/* Unsichtbarer Footer-Spacer für Button-/Hinweis-Ausrichtung (Datenraum-Karte) */
.entry-footer-spacer { visibility: hidden; }
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 0 24px;
}
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 30px -16px rgba(15, 23, 42, 0.12),
    0 36px 70px -28px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}
.entry-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 22px 44px -16px rgba(15, 23, 42, 0.20),
    0 56px 110px -32px rgba(15, 23, 42, 0.30);
  border-color: color-mix(in srgb, var(--ec-c) 45%, transparent);
}
/* Hover-Akzent auf Titel + sanfter Bild-Zoom (konsistent mit Karussell-Karten) */
.entry-card h3 { transition: color 0.25s ease; }
.entry-card:hover h3 { color: var(--ec-c); }
.entry-visual svg, .entry-visual img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.entry-card:hover .entry-visual svg,
.entry-card:hover .entry-visual img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .entry-card:hover { transform: none; }
  .entry-card:hover .entry-visual svg,
  .entry-card:hover .entry-visual img { transform: none; }
}
/* Gradient-Strip oben in Karten-Farbe */
.entry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(135deg, var(--ec-c) 0%, var(--ec-c2, var(--ec-c)) 100%);
}
/* Empfohlen-Badge */
.entry-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--ec-c) 0%, var(--ec-c2, var(--ec-c)) 100%);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--ec-c) 50%, transparent);
}
.entry-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entry-card-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-c);
}
.entry-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
/* Visual */
.entry-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}
.entry-visual svg { width: 100%; height: 100%; display: block; }
/* Photo-Variante (echte Plattform-Screenshots) */
.entry-visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.entry-card:hover .entry-visual-photo img { transform: scale(1.04); }
.entry-photo-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Plan-Variante (SVG-Grundriss + 3D) */
.entry-visual-plan {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}
/* Tagline */
.entry-tagline {
  margin: 4px 0 0;
  line-height: 1.4;
}
.entry-tagline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.entry-tagline span {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
/* Notes-Liste */
.entry-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.entry-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.entry-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ec-c);
  opacity: 0.5;
}
/* Action-Buttons */
.entry-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.entry-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--ec-c) 0%, var(--ec-c2, var(--ec-c)) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--ec-c) 50%, transparent);
}
.entry-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--ec-c) 60%, transparent);
}
.entry-btn-primary .arrow { font-size: 15px; }
.entry-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.entry-btn-secondary:hover { color: var(--ec-c); }
.entry-btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ec-c);
  background: color-mix(in srgb, var(--ec-c) 8%, transparent);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.15s;
}
.entry-btn-tertiary:hover { background: color-mix(in srgb, var(--ec-c) 16%, transparent); }

/* ================================================================
   ENTRY: 4-Card-Layout mit Frame 1 (3 Cards) + Plus + Frame 2 (1 Card)
   ================================================================ */
.entry-grid-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1480px;
  margin: 0 auto 0;
  padding: 0 24px;
}
.entry-frame-main { grid-column: 1; }
.entry-grid-wrapper > .entry-plus-sign { grid-column: 2; }
.entry-frame-data { grid-column: 3; }

/* Frame um die Cards mit Label */
.entry-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px dashed rgba(15, 23, 42, 0.14);
  border-radius: 28px;
}
.entry-frame-main {
  /* Akzent-Hintergrund subtil */
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(248, 250, 252, 0.7));
}
.entry-frame-data {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
  border-color: rgba(100, 116, 139, 0.22);
}
.entry-frame-label {
  position: absolute;
  top: -11px;
  left: 28px;
  background: var(--bg);
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.entry-frame-data .entry-frame-label {
  color: #475569;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.10em;
}

/* Frame-internes Grid: 3 Cards in Frame 1 */
.entry-frame-main .entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  max-width: none;
  flex: 1;
}
/* Cards in Frame 1 etwas kompakter (weil schmaler) */
.entry-frame-main .entry-card {
  padding: 22px 18px 18px;
  gap: 14px;
}
.entry-frame-main .entry-card h3 { font-size: 22px; }
.entry-frame-main .entry-tagline strong { font-size: 15px; }
.entry-frame-main .entry-tagline span { font-size: 13px; }
.entry-frame-main .entry-notes li { font-size: 12.5px; padding-left: 16px; }
.entry-frame-main .entry-btn-primary { padding: 10px 14px; font-size: 13.5px; }

/* Frame 2 hat nur 1 Card, kein Grid nötig */
.entry-frame-data .entry-card {
  width: 100%;
  flex: 1;
  gap: 14px;
  padding: 22px 18px 18px;
}
.entry-frame-data .entry-card h3 { font-size: 19.5px; white-space: nowrap; }
.entry-frame-data .entry-tagline strong { font-size: 15px; }
.entry-frame-data .entry-tagline span { font-size: 13px; }
.entry-frame-data .entry-notes li { font-size: 12.5px; padding-left: 16px; }
/* Buttons identisch zu den linken Karten (Höhe, Padding, Font) */
.entry-frame-data .entry-btn-primary { padding: 10px 14px; font-size: 13.5px; }
.entry-frame-data .entry-btn-secondary { font-size: 12.5px; }

/* Plus-Symbol */
.entry-plus-sign {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  text-align: center;
  padding: 0 4px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card D: Daten-Variante (Slate-neutral, signalisiert "ergänzend") */
.entry-card-data {
  border-color: rgba(100, 116, 139, 0.18);
}
.entry-card-data::before {
  background: linear-gradient(135deg, #64748B, #94A3B8);
}
.entry-card-data:hover {
  border-color: rgba(71, 85, 105, 0.4);
}
.entry-visual-data {
  background: linear-gradient(135deg, #F8FAFC, #E2E8F0);
}

/* Responsive: ab kleinerem Viewport untereinander */
@media (max-width: 1200px) {
  .entry-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .entry-frame-main, .entry-grid-wrapper > .entry-plus-sign, .entry-frame-data {
    grid-column: 1;
  }
  .entry-plus-sign { font-size: 56px; padding: 8px 0; }
}
@media (max-width: 800px) {
  .entry-frame-main .entry-grid { grid-template-columns: 1fr; gap: 16px; }
  .entry-frame { padding: 26px 18px 20px; }
  .entry-plus-sign { font-size: 48px; }
}

/* Alter Plus-Block (jetzt unused) – kann weg, hier aber erstmal verstecken */
.entry-plus { display: none !important; }
.entry-plus-x-old {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 28px auto 0;
  max-width: 1100px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.12);
  position: relative;
}
/* dezenter Slate-Akzent links statt Brand-Farbe (signalisiert: ergänzend, nicht 4. Card) */
.entry-plus::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #64748B 0%, #94A3B8 100%);
}
.entry-plus-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  flex-shrink: 0;
}
.entry-plus-icon svg { width: 26px; height: 26px; }
.entry-plus-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.entry-plus-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.entry-plus-text span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.entry-plus-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.entry-plus-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.entry-plus-btn:hover { transform: translateY(-1px); background: #0f172a; }
.entry-plus-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.entry-plus-link:hover { color: var(--ink); }
@media (max-width: 720px) {
  .entry-plus {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 14px 16px;
    padding: 18px 20px;
  }
  .entry-plus-icon { width: 48px; height: 48px; border-radius: 12px; }
  .entry-plus-icon svg { width: 22px; height: 22px; }
  .entry-plus-actions { grid-column: 1 / -1; flex-wrap: wrap; gap: 12px; }
  .entry-plus-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   WORKFLOW: reduzierte Label-Pillen (ersetzen die alten Upload-Kacheln)
   ================================================================ */
.wf-box-in-label {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px !important;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px !important;
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.14);
  width: auto !important;
  position: relative;
}
.wf-box-in-label::before { display: none !important; }
.wf-box-in-label .wf-box-cat-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--c), var(--c2, var(--c))) !important;
  color: #fff !important;
  flex-shrink: 0;
}
.wf-box-in-label .wf-box-cat-icon svg { width: 14px; height: 14px; }
.wf-box-label-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.wf-box-label-text strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.wf-box-label-text strong span { display: block; font-size: 13.5px; }
.wf-box-label-text span {
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.wf-box-label-sub-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wf-box-label-tail {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
  line-height: 1.3;
}

/* ================================================================
   WORKFLOW INPUT-BLOCK: Headline außerhalb + Rechteck-Card mit Farb-Akzent
   ================================================================ */
.wf-input-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}
.wf-input-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  padding: 0 4px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.wf-input-card {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 14px;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  padding: 20px 20px 20px 18px !important;
  min-height: 92px;
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.14) !important;
  width: 100% !important;
  overflow: hidden;
}
/* Farb-Akzent oben (4px Gradient-Strip) */
.wf-input-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--c), var(--c2, var(--c))) !important;
  display: block !important;
  border-radius: 0 !important;
  pointer-events: none;
}
.wf-input-card-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c), var(--c2, var(--c)));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wf-input-card-icon svg { width: 15px; height: 15px; }
.wf-input-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.wf-input-card-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0;
}
.wf-input-card-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.35;
  letter-spacing: 0;
}
.wf-box-convert-icon {
  width: 13px;
  height: 13px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
/* Footer (Twin-Factory-Hinweis) */
.entry-footer {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 4px;
  padding-top: 14px;
  height: 56px;
  box-sizing: border-box;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.entry-footer svg {
  width: 13px;
  height: 13px;
  color: var(--ec-c);
  flex-shrink: 0;
  animation: entryGearSpin 8s linear infinite;
}
@keyframes entryGearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .entry-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .entry-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
  .section-entry { padding: 64px 0 48px; }
  .entry-card { padding: 24px 22px 22px; }
  .entry-card h3 { font-size: 22px; }
  .entry-frame-data .entry-card h3 { white-space: normal; }  /* Datenraum-Titel umbrechen statt ueberlaufen */
  .entry-tagline strong { font-size: 16px; }
}

/* ================================================================
   BENTO-GRID — 10 Plattform-Bausteine
   3-Spalten Grid, HERO 2×2, HIGHLIGHT volle Breite, Rest 1×1
   ================================================================ */
.section-bento {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 96px 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  overflow: visible;  /* r250: Karte clippt nicht mehr, damit die Badge-Pille halb über die Oberkante ragen kann. Medien-Clipping/Rundung übernimmt jetzt .bento-media selbst (overflow:hidden + border-radius). */
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -16px rgba(15, 23, 42, 0.12),
    0 28px 60px -28px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  will-change: transform;
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 22px 48px -16px rgba(15, 23, 42, 0.20),
    0 48px 100px -32px rgba(15, 23, 42, 0.28);
  border-color: rgba(15, 23, 42, 0.10);
}
/* Hero 2×2 */
.bento-card-hero {
  grid-column: span 2;
  grid-row: span 2;
}
/* Wide 2×1 — gleiche Höhe wie kleine Kacheln, doppelte Breite */
.bento-card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
}
.bento-card-wide .bento-media { flex: 0 0 50%; }
.bento-card-wide .bento-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
.bento-card-wide h3 { font-size: 20px; }
@media (max-width: 900px) {
  .bento-card-wide { grid-column: span 1; flex-direction: column; }
  .bento-card-wide .bento-media { flex: 0 0 auto; }
  .bento-card-wide .bento-body { padding: 20px 22px; }
}
/* Highlight volle Breite */
.bento-card-highlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
  background: linear-gradient(135deg, var(--bc) 0%, var(--bc2, var(--bc)) 100%);
  color: #fff;
  border: 0;
}
.bento-card-highlight .bento-media {
  flex: 0 0 44%;
  background: rgba(255, 255, 255, 0.06);
}
.bento-card-highlight .bento-body {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.bento-card-highlight h3 {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
}
.bento-card-highlight p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  max-width: 540px;
}
.bento-card-highlight:hover { transform: translateY(-4px); }

/* Media */
.bento-media {
  position: relative;
  flex: 0 0 56%;
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;  /* r250: eigene Rundung, da die Karte nicht mehr clippt (overflow:visible). Innen-Ecken (zur Body-Seite) sind weiß-auf-weiß bzw. gradient-auf-gradient → unsichtbar. */
  background: linear-gradient(135deg, var(--bc, #06B6D4) 0%, var(--bc2, var(--bc, #06B6D4)) 100%);
}
.bento-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bento-media img { transform: scale(1.06); }
.bento-media-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-media-gradient svg {
  width: 70%;
  height: auto;
  max-height: 60%;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.18));
}
.bento-card-hero .bento-media { flex: 0 0 62%; min-height: 320px; }
/* 3D-Viewer-Hero (Baustein 1, Alex r215): Frame-Höhe = Mitte zwischen r213 (62%) und r214 (~84%) → 73% (längliches Format, ganze Aufnahme breit sichtbar).
   Bild unten verankert (object-position …100%) → Höhe wird OBEN gekürzt, die Unterkante bleibt komplett sichtbar. */
.bento-card-hero.bento-media-viewer-host .bento-media { flex: 0 0 73%; min-height: 360px; }
.bento-card-hero.bento-media-viewer-host .bento-body { flex: 1 1 auto; padding: 16px 24px 20px; }
.bento-card-hero.bento-media-viewer-host .cmp { object-position: 50% 100%; }
@media (max-width: 1024px) {
  .bento-card-hero.bento-media-viewer-host .bento-media { flex: 0 0 62%; min-height: 240px; }
}

/* 3D-Viewer-Kachel: Vorher/Nachher-Slider (Punktwolke ↔ Panorama) als Slideshow */
.bento-media-viewer .vshow { position: absolute; inset: 0; z-index: 1; }
.bento-card:hover .bento-media-viewer .cmp { transform: none; }  /* kein Hover-Zoom auf Slider-Bildern (würde die Überblendung verzerren) */
.bento-media-viewer .vslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s ease; }
.bento-media-viewer .vslide.is-active { opacity: 1; visibility: visible; }
.compare { position: absolute; inset: 0; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #0b1020; }
.compare .cmp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.compare .cmp-top { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: rgba(255, 255, 255, 0.92); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.compare .cmp-handle::after { content: '‹\00a0›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b1020; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; letter-spacing: -1px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32); }
.compare .cmp-lab { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: rgba(11, 16, 32, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; z-index: 2; }
.compare .cmp-lab-l { left: 12px; }
.compare .cmp-lab-r { right: 12px; }
.bento-media-viewer .vdots-bento { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; z-index: 4; padding: 6px 10px; border-radius: 999px; background: rgba(11, 16, 32, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bento-media-viewer .vdots-bento .vdot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.55); transition: background 0.25s ease, width 0.25s ease; }
.bento-media-viewer .vdots-bento .vdot:hover { background: rgba(255, 255, 255, 0.85); }
.bento-media-viewer .vdots-bento .vdot.is-active { background: #fff; width: 22px; }

/* BIM-Kachel: Video-Slider (zwei Videos durch Schieber gescrubbt) */
.bento-media-vidcompare .vcompare { position: absolute; inset: 0; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #0b1020; z-index: 1; }
.vcompare .vc-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Clip-Schnitt für das Modell-Video. Zoom-aware: bei --vc-zoom=1 = klassisch inset(0 calc(100%-pos) 0 0).
   Wird das Video per scale(--vc-zoom) reingezoomt, kompensiert die Formel, damit der sichtbare Schnitt exakt am Griff (--pos) bleibt. */
.vcompare .vc-top { clip-path: inset(0 calc(50% - (var(--pos, 50%) - 50%) / var(--vc-zoom, 1)) 0 0); }
.vcompare .vc-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: rgba(255, 255, 255, 0.92); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.vcompare .vc-handle::after { content: '‹\00a0›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b1020; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; letter-spacing: -1px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32); }
.vcompare .vc-lab { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: rgba(11, 16, 32, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; z-index: 2; }
.vcompare .vc-lab-l { left: 12px; }
.vcompare .vc-lab-r { right: 12px; }
.bento-media-vidcompare .bento-badge { z-index: 3; }
/* BEIDE Videos gleich reinzoomen (Alex r213): erzeugt Overscan/Rand → der Grundriss kann nach oben geschoben werden,
   damit Gebäude-Ober-/Unterkante zum Modell passen, OHNE schwarzen Rand. Beide gleich → relative Größe bleibt gematcht.
   --vc-zoom steuert Zoom (Clip-Formel oben kompensiert ihn), origin = Mitte (von der Clip-Formel vorausgesetzt). */
.bento-media-vidcompare .vcompare { --vc-zoom: 1.18; }
.bento-media-vidcompare .vc-top { transform: scale(var(--vc-zoom)); transform-origin: 50% 50%; }
/* Grundriss: gleicher Zoom + nach oben geschoben (translateY) zum Ausrichten + horizontal verschoben (object-position), um die Tabelle wegzuschneiden.
   r216: translateY von -6.5% → -5.5% (Grundriss ~5px tiefer, Alex-Feinschliff, liegt sauberer übereinander). */
.bento-media-vidcompare .vc-base { transform: translateY(-5.5%) scale(var(--vc-zoom)); transform-origin: 50% 50%; object-position: 15% 50%; }

/* Zigzag-Layout (Alex r217): die große BIM-Kachel rechts platzieren (Spalten 2–3) → die zwei kleinen Kacheln rutschen links.
   NUR Desktop (3-Spalten-Grid). Bei ≤1024px greifen die normalen bento-card-hero-Responsive-Regeln (volle Breite). */
@media (min-width: 1025px) {
  .bento-card.bento-pos-right { grid-column: 2 / 4; }
}

/* 3D-Datenraum als VOLLE-BREITE-Karte (Alex r219): Video links (breit/landscape), Text rechts → sauberer Abschluss, keine Lücken im Grid.
   Slideshow zwischen BIM-Modell und 360°-Tour. */
.bento-media-dr-host { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.bento-media-dr-host .bento-media { flex: 0 0 66%; min-height: 400px; background: #0b1020; }
.bento-media-dr-host .bento-body { flex: 1; justify-content: center; padding: 28px 44px; }
.bento-media-dr-host .bento-body h3 { font-size: 22px; }
.bento-media-dr-host .bento-body p { font-size: 15px; max-width: 380px; }
@media (max-width: 900px) {
  .bento-media-dr-host { flex-direction: column; }
  .bento-media-dr-host .bento-media { flex: 0 0 auto; min-height: 240px; }
  .bento-media-dr-host .bento-body { padding: 20px 22px; }
}
.bento-media-dr .vshow-vid { position: absolute; inset: 0; z-index: 1; }
.bento-media-dr .vslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; }
.bento-media-dr .vslide.is-active { opacity: 1; visibility: visible; }
.bento-media-dr .dr-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-card:hover .bento-media-dr .dr-vid { transform: none; }  /* kein Hover-Zoom auf dem Video */
.bento-media-dr .dr-lab { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: rgba(11, 16, 32, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 2; }
.bento-media-dr .vdots-bento { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; z-index: 4; padding: 6px 10px; border-radius: 999px; background: rgba(11, 16, 32, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bento-media-dr .vdots-bento .vdot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.55); transition: background 0.25s ease, width 0.25s ease; }
.bento-media-dr .vdots-bento .vdot:hover { background: rgba(255, 255, 255, 0.85); }
.bento-media-dr .vdots-bento .vdot.is-active { background: #fff; width: 22px; }
.bento-media-dr-host .bento-badge { z-index: 3; }

/* Aktivitäten als VOLLE-BREITE-Karte (Alex r224): 2-Video-Slideshow (3D-Tour-Aktivitäten + BIM-Aktivitäten), nutzt das Datenraum-Layout (.bento-media-dr-host/-dr).
   Etwas höher (460 statt 400), weil das 3D-Tour-Video quadratischer ist (1,60:1) → so wird oben/unten weniger abgeschnitten. */
.bento-media-act-host .bento-media { min-height: 460px; }

/* ============================================================
   Bento-Redesign (Alex r227): volle-Breite-Zigzag-Bausteine.
   Fast jede Kachel = volle Breite; Media-/Text-Seite wechselt ab (.bento-flip = Media rechts).
   ============================================================ */
.bento-full { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.bento-card.bento-flip { flex-direction: row-reverse; }   /* Media rechts, Text links — wirkt auch auf dr-/stack-Host-Karten */
.bento-full > .bento-media { flex: 0 0 64%; min-height: 430px; }
.bento-full > .bento-media-vidcompare { min-height: 480px; }   /* BIM-Videos sind 4:3 → etwas höher, sonst zu viel oben/unten beschnitten */
.bento-full > .bento-body { flex: 1; justify-content: center; padding: 32px 52px; }
.bento-full > .bento-body h3 { font-size: 25px; }
.bento-full > .bento-body p { font-size: 15px; max-width: 430px; }
@media (max-width: 900px) {
  .bento-full, .bento-card.bento-flip { flex-direction: column; }
  .bento-full > .bento-media, .bento-full > .bento-media-vidcompare { flex: 0 0 auto; min-height: 230px; }
  .bento-full > .bento-body { padding: 22px 24px; }
}
/* Einzel-Loop-Video (Aktivitäten – nur ein Video, keine Slideshow) */
.bento-media-loop .loopvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-card:hover .bento-media-loop .loopvid { transform: none; }
/* Frame-Einpassung (Alex r239): Box-Aspect = intrinsischer Medien-Aspect → object-fit cover füllt exakt,
   d.h. KEIN Beschnitt vom Screen-Recording. Nur diese drei Kacheln; BIM/Datenraum/Stacking bleiben unangetastet. */
#bs-viewer > .bento-media { min-height: 0; aspect-ratio: 1400 / 880; align-self: center; }
#bs-objekterkennung > .bento-media { min-height: 0; aspect-ratio: 1440 / 760; align-self: center; }
#bs-aktivitaeten > .bento-media { min-height: 0; aspect-ratio: 1440 / 902; align-self: center; }
#bs-aufmass > .bento-media { min-height: 0; aspect-ratio: 1440 / 748; align-self: center; }
#bs-twin-factory > .bento-media { min-height: 0; aspect-ratio: 900 / 520; align-self: center; background: #0A1923; }
/* Mobile-Fix: beim Stapeln darf die Media nicht zentriert/zusammenfallen -> volle Breite dehnen,
   sonst kollabiert sie (absolut positionierter Inhalt = keine Eigenbreite) auf 0x0 und ist unsichtbar.
   Dadurch erscheint auch die Badge wieder ueber der Grafik statt ueber der Headline. */
@media (max-width: 900px) {
  #bs-viewer > .bento-media,
  #bs-objekterkennung > .bento-media,
  #bs-aktivitaeten > .bento-media,
  #bs-aufmass > .bento-media,
  #bs-twin-factory > .bento-media {
    align-self: stretch;
    width: 100%;
  }
}
/* Platzhalter-Kacheln (Video/Bild folgt): Symbol kleiner zentriert + "Vorschau folgt"-Pille */
.bento-full .bento-media-gradient > svg { width: 240px; max-width: 42%; height: auto; max-height: 55%; }
.bento-soon { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 5px 12px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.20); border: 1px solid rgba(255, 255, 255, 0.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* Zwei Kacheln nebeneinander (Marketplace + Schnittstellen) */
.bento-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento-pair > .bento-card { grid-column: auto; }
.bento-pair .bento-media { min-height: 260px; }
@media (max-width: 760px) { .bento-pair { grid-template-columns: 1fr; } }

/* ============================================================
   Bento-Viz — animierte Dark-Mode-Grafiken (Alex r273)
   Twin Marketplace (#bs-marketplace) + API & MCP (#bs-schnittstellen).
   Vollflächiges Inline-SVG auf immorise-Dunkel (#0b1020) statt Marken-Gradient.
   ============================================================ */
.bento-media-viz {
  background: radial-gradient(ellipse 78% 96% at 50% 48%, #182542 0%, #0c1326 58%, #0a0f1f 100%);
}
.bento-media-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viz-pkt { filter: drop-shadow(0 0 2.5px rgba(255,255,255,0.9)); }

/* --- Twin Marketplace: schwebende Expertenkarten, sequenzielle Aktivierung --- */
.mkt-card { animation: mkt-float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.85s); }
@keyframes mkt-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
.mkt-line, .mkt-glow, .mkt-pkt, .mkt-check {
  animation-duration: 18s; animation-iteration-count: infinite; animation-delay: calc(var(--i) * -3s);
}
.mkt-line { stroke: rgba(255,255,255,0.13); animation-name: mkt-line; animation-timing-function: ease; }
@keyframes mkt-line { 0%{stroke:rgba(255,255,255,0.13);} 2%{stroke:rgba(255,255,255,0.6);} 14%{stroke:rgba(255,255,255,0.6);} 17%,100%{stroke:rgba(255,255,255,0.13);} }
.mkt-glow { opacity: 0; animation-name: mkt-glow; animation-timing-function: ease; }
@keyframes mkt-glow { 0%{opacity:0;} 2%{opacity:1;} 15%{opacity:1;} 17%,100%{opacity:0;} }
.mkt-pkt { opacity: 0; animation-name: mkt-pkt; animation-timing-function: linear; }
@keyframes mkt-pkt { 0%,1%{opacity:0; transform:translate(0,0);} 3%{opacity:1;} 9%{opacity:1; transform:translate(var(--dx),var(--dy));} 11%,100%{opacity:0; transform:translate(var(--dx),var(--dy));} }
.mkt-check { opacity: 0; transform-box: fill-box; transform-origin: center; animation-name: mkt-check; animation-timing-function: cubic-bezier(.2,1.5,.4,1); }
@keyframes mkt-check { 0%,7%{opacity:0; transform:scale(.3);} 10%{opacity:1; transform:scale(1);} 15%{opacity:1; transform:scale(1);} 17%,100%{opacity:0; transform:scale(1);} }
.viz-pulse { transform-box: fill-box; transform-origin: center; animation: viz-pulse 3.6s ease-out infinite; }
@keyframes viz-pulse { 0%{opacity:.5; transform:scale(1);} 70%,100%{opacity:0; transform:scale(1.7);} }

/* --- API & MCP: Antwortkarte zyklisch (3 Fragen) --- */
.mcp-qa { opacity: 0; animation: mcp-qa 13.5s ease infinite; animation-delay: calc(var(--i) * -4.5s); }
@keyframes mcp-qa { 0%{opacity:0;} 2%{opacity:0;} 5%{opacity:1;} 28%{opacity:1;} 31%{opacity:0;} 100%{opacity:0;} }
.mcp-ans { transform-box: fill-box; transform-origin: left center; animation: mcp-ans 13.5s ease infinite; animation-delay: calc(var(--i) * -4.5s); }
@keyframes mcp-ans { 0%,12%{opacity:0; transform:translateY(2px);} 16%{opacity:1; transform:translateY(0);} 28%{opacity:1;} 31%,100%{opacity:0;} }
.mcp-card-glow { animation: mcp-cardglow 13.5s ease infinite; }
@keyframes mcp-cardglow { 0%,4%{opacity:.25;} 6%{opacity:.7;} 30%{opacity:.7;} 33%,100%{opacity:.25;} }

@media (prefers-reduced-motion: reduce) {
  .mkt-card, .mkt-line, .mkt-glow, .mkt-pkt, .mkt-check, .viz-pulse, .mcp-qa, .mcp-ans, .mcp-card-glow { animation: none !important; }
  .mkt-glow, .mkt-check, .mkt-pkt { opacity: 0 !important; }
  .mcp-qa[data-first], .mcp-ans[data-first] { opacity: 1 !important; }
}

/* 3D-Stackingplan als VOLLE-BREITE-Karte (Alex r221): Loop-Video links (Gebäude eingefärbt nach Mieter/Leerstand + Mieterliste), Text rechts.
   Nutzt dasselbe volle-Breite-Layout wie der Datenraum. */
.bento-media-stack-host { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.bento-media-stack-host .bento-media { flex: 0 0 70%; min-height: 0; aspect-ratio: 1144 / 542; align-self: center; background: #0b1020; overflow: hidden; }
.bento-media-stack-host .bento-body { flex: 1; justify-content: center; padding: 28px 44px; }
.bento-media-stack-host .bento-body h3 { font-size: 22px; }
.bento-media-stack-host .bento-body p { font-size: 15px; max-width: 380px; }
@media (max-width: 900px) {
  .bento-media-stack-host { flex-direction: column; }
  /* Box-Aspect = Video-Aspect → vollflächig, kein Beschnitt (gleich wie Desktop) */
  .bento-media-stack-host .bento-media { flex: 0 0 auto; min-height: 0; aspect-ratio: 1144 / 542; align-self: stretch; width: 100%; }
  .bento-media-stack-host .bento-body { padding: 20px 22px; }
}
/* r247 (Alex): Video von Alex selbst randlos zugeschnitten (1144×542 ≈ 2.11:1) → vollflächig OHNE jeden Crop einbinden.
   Box-Aspect = Video-Aspect (1144/542), object-fit:cover ist damit deckungsgleich (kein Beschnitt), KEIN Zoom/keine Verschiebung mehr.
   (Vorher r222–r246: In-Browser-Zoom/Crop nötig, weil das Roh-Video noch App-Kopfleiste/Toolbar/tote Ränder hatte — jetzt obsolet.) */
.bento-media-stack .loopvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; transform: none; }
.bento-card:hover .bento-media-stack .loopvid { transform: none; }
.bento-media-stack-host .bento-badge { z-index: 3; }

/* BIM-Kachel groß (2×2, so groß wie der Hero-Slider): viel Fläche für den Video-Slider, nichts wird beschnitten.
   Nutzt zusätzlich die .bento-card-hero-Klasse (Spans + responsives Verhalten). Hier nur Media-Anteil erhöhen + Textblock schmaler. */
.bento-card-hero.bento-media-vidcompare-host .bento-media { flex: 1 1 auto; min-height: 300px; }
.bento-card-hero.bento-media-vidcompare-host .bento-body { flex: 0 0 auto; }
@media (max-width: 1024px) {
  .bento-card-hero.bento-media-vidcompare-host .bento-media { min-height: 240px; }
}

/* Badge */
.bento-badge {
  position: absolute;
  top: 14px;   /* r251 (Alex): Pille wieder NACH UNTEN in den Frame (Kanten-Optik abgebrochen — sah nicht gut aus). Horizontal UNVERÄNDERT. */
  left: 30px;  /* horizontal wie gehabt (Media-rechts-Tiles via calc-Overrides unten) */
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 4;
}
/* r250: Bei Media-rechts-Tiles sitzt das Medium nicht links → Pille an die Medien-Oberkante rücken (Body-Breite + Einzug).
   bento-full (Media 64% → Body 36%): objekterkennung, aufmass, bim. Stack (Media 70% → Body 30%): stackingplan. */
.bento-card.bento-full.bento-flip > .bento-badge { left: calc(36% + 30px); }
.bento-media-stack-host > .bento-badge { left: calc(30% + 30px); }
/* Mobile: Karten stapeln (Media oben, volle Breite) -> Badge zurueck an die Standard-Position oben links */
@media (max-width: 900px) {
  .bento-card.bento-full.bento-flip > .bento-badge,
  .bento-media-stack-host > .bento-badge { left: 30px; }
}

/* Body */
.bento-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.bento-card:hover h3 { color: var(--bc); }
.bento-card-hero h3 { font-size: 26px; }
.bento-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.bento-card-hero p { font-size: 15.5px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bento-card:hover { transform: none; }
  .bento-card:hover .bento-media img { transform: none; }
}

/* ================================================================
   USE CASES — Premium Carousel (Apple-Style mit Peek auf Nachbarn)
   Track-Translation, Auto-Play, Play/Pause unter dem Slider
   ================================================================ */
.section-cases {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 96px 0 96px;
}
.cases-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.cases-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  touch-action: pan-y;   /* horizontale Wisch-Geste gehoert dem Karussell, vertikales Seiten-Scrollen bleibt frei */
  cursor: grab;
}
.cases-viewport.is-dragging { cursor: grabbing; }
.cases-track {
  display: flex;
  gap: 14px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.case-slide {
  position: relative;
  flex: 0 0 76%;
  height: clamp(440px, 56vw, 580px);
  border-radius: 18px;
  overflow: hidden;
  background: #0F172A;
  opacity: 0.42;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 22px 50px -22px rgba(15, 23, 42, 0.22);
}
.case-slide.is-active {
  opacity: 1;
  cursor: default;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 36px 80px -28px rgba(15, 23, 42, 0.30);
}
/* Backgrounds nach Thema */
.case-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--uc, linear-gradient(135deg, var(--th1, #FB923C) 0%, var(--th2, #EC4899) 100%)) center / cover no-repeat;
  background-color: #0b1020;
}
/* Brand-Farb-Wash über dem (dunklen) Bild – hält Frische + Themenfarbe je Slide */
.case-slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--th1, #FB923C), var(--th2, #EC4899));
  opacity: 0.24;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
/* Lesbarkeits-Schleier: links (hinter Text) kräftig → rechts klar; dezent unten geerdet */
.case-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(8,11,20,0.90) 0%, rgba(8,11,20,0.66) 28%, rgba(8,11,20,0.22) 54%, rgba(8,11,20,0) 78%),
    linear-gradient(to top, rgba(8,11,20,0.52) 0%, rgba(8,11,20,0) 34%);
  pointer-events: none;
}
.case-slide[data-theme="orange-magenta"] { --th1:#FB923C; --th2:#EC4899; }
.case-slide[data-theme="cyan-violet"]    { --th1:#06B6D4; --th2:#8B5CF6; }
.case-slide[data-theme="magenta-violet"] { --th1:#EC4899; --th2:#8B5CF6; }
.case-slide[data-theme="lime-cyan"]      { --th1:#84CC16; --th2:#06B6D4; }
.case-slide[data-theme="violet-indigo"]  { --th1:#8B5CF6; --th2:#4F46E5; }
.case-slide[data-theme="cyan-deep"]      { --th1:#06B6D4; --th2:#1E3A8A; }
.case-slide[data-theme="orange-amber"]   { --th1:#FB923C; --th2:#F59E0B; }
.case-slide[data-theme="magenta-pink"]   { --th1:#EC4899; --th2:#F472B6; }
.case-slide[data-theme="cyan-blue"]      { --th1:#06B6D4; --th2:#3B82F6; }
.case-slide[data-theme="violet-magenta"] { --th1:#8B5CF6; --th2:#EC4899; }
.case-slide[data-theme="lime-emerald"]   { --th1:#84CC16; --th2:#10B981; }
.case-slide[data-theme="cyan-teal"]      { --th1:#22D3DC; --th2:#14B8A6; }
.case-slide[data-theme="orange-red"]     { --th1:#FB923C; --th2:#EF4444; }
.case-slide[data-theme="violet-cyan"]    { --th1:#8B5CF6; --th2:#06B6D4; }

/* Riesige Wasserzeichen-Nummer rechts */
.case-slide-num {
  position: absolute;
  right: clamp(-30px, -3vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 360px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.10);
  line-height: 0.85;
  letter-spacing: -0.05em;
  z-index: 1;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  user-select: none;
  white-space: nowrap;
}

/* Content links zentriert */
.case-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 640px;
  padding: 64px 48px 64px 64px;
  color: #fff;
  /* Stagger-In Animation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.15s;
}
.case-slide.is-active .case-slide-content {
  opacity: 1;
  transform: none;
}
.case-slide-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
}
.case-slide-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.022em;
  overflow-wrap: break-word;   /* lange Komposita (z. B. "Gebäudemanagement") umbrechen statt am Kachelrand abschneiden */
  hyphens: auto;
  color: #fff;
  text-wrap: balance;
}
.case-slide-content p {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.94);
}
.case-slide-link,
.case-slide-toggle {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.case-slide-link:hover,
.case-slide-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.case-slide-link .arrow,
.case-slide-toggle .arrow { transition: transform 0.25s ease; }
.case-slide-link:hover .arrow { transform: translateX(3px); }
.case-slide-toggle[aria-expanded="true"] .arrow { transform: rotate(180deg); }
/* Details (Expand) */
.case-slide-details {
  max-width: 640px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
}
.case-slide-details p { margin: 0; }
.case-slide-details[hidden] { display: none; }

/* Ausgeklappter Zustand: Inhalt oben ausrichten und die Inhalts-Box VERKÜRZEN,
   sodass sie über der Steuerleiste (Dots + Play) endet. So kann der Button
   physisch nicht mehr auf den Dots liegen. (padding-bottom allein reicht nicht –
   Chrome/Safari ignorieren das untere Padding in scrollbaren Flex-Containern.) */
.case-slide.is-expanded .case-slide-content {
  justify-content: flex-start;
  height: calc(100% - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.case-slide.is-expanded .case-slide-content::-webkit-scrollbar { width: 6px; }
.case-slide.is-expanded .case-slide-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

/* Pfeil-Buttons im Viewport (vertikal mittig, links/rechts) */
.cases-viewport .cases-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cases-viewport .cases-arrow:hover {
  background: rgba(15, 23, 42, 0.70);
  transform: translateY(-50%) scale(1.05);
}
.cases-viewport .cases-arrow svg { width: 22px; height: 22px; }
.cases-prev2 { left: 24px; }
.cases-next2 { right: 24px; }

/* Control-Bar als Overlay AUF dem aktiven Slide unten */
.cases-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* Inset auf die Breite des aktiven Slides (76% zentriert) */
  padding: 0 calc(12% + 28px);
  pointer-events: none;
}
.cases-bar > * { pointer-events: auto; }

.cases-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 60%;
}
.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.40);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.25s ease;
}
.cases-dot:hover { background: rgba(255, 255, 255, 0.70); }
.cases-dot.is-active {
  width: 26px;
  background: #fff;
}

/* Play/Pause Button mit Progress-Ring — als Glass-Pille auf dem Slide */
.cases-play {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.cases-play:hover {
  transform: scale(1.06);
  background: rgba(15, 23, 42, 0.45);
}
.cases-play-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cases-play-ring-bg { stroke: rgba(255, 255, 255, 0.25); }
.cases-play-ring-fg {
  stroke: #fff;
  transition: stroke-dashoffset 0.2s linear;
}
.cases-play-ico { width: 16px; height: 16px; position: relative; z-index: 2; }
.cases-play .cases-play-play { display: none; }
.cases-play:not(.is-playing) .cases-play-pause { display: none; }
.cases-play:not(.is-playing) .cases-play-play { display: inline-block; }

/* Hover-Pause: Funktion bleibt, kein visueller Indikator */

/* Mobile */
@media (max-width: 720px) {
  .cases-stage { padding: 0 16px; }
  .cases-track { gap: 10px; }
  .case-slide { flex: 0 0 88%; height: clamp(380px, 80vh, 520px); border-radius: 14px; }
  .case-slide-content { padding: 44px 28px 56px; gap: 14px; }
  .case-slide.is-expanded .case-slide-content { height: calc(100% - 72px); padding-bottom: 12px; }
  .case-slide-num { font-size: clamp(140px, 38vw, 260px); right: -16px; }
  .cases-viewport .cases-arrow { width: 44px; height: 44px; }
  .cases-prev2 { left: 14px; }
  .cases-next2 { right: 14px; }
  .cases-bar { bottom: 16px; padding: 0 calc(6% + 18px); }
  .cases-play { width: 42px; height: 42px; }
  .cases-dots { gap: 6px; max-width: 56%; }
  .cases-dot { width: 7px; height: 7px; }
  .cases-dot.is-active { width: 22px; }
}
@media (max-width: 480px) {
  .case-slide-tag { font-size: 10.5px; padding: 6px 11px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cases-track { transition: none; }
  .case-slide { transition: opacity 0.2s ease; }
  .case-slide-content { transition: opacity 0.2s ease; transform: none; }
  .cases-play-ring-fg { transition: none; }
}

/* ================================================================
   BRANCHEN-TEASER — Dark Cards, Light Background (Stripe-Style)
   Asymmetrisches Masonry, dramatisch große Titel, Color-Accents
   ================================================================ */
.section-branchen {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 96px 0 110px;
}
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 232px;
  grid-auto-flow: dense;
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.branchen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border-radius: 16px;
  background: #0F172A;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 32px -16px rgba(15, 23, 42, 0.22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
/* Branche-Color Wash aus einer Ecke (subtil) */
.branchen-card .branchen-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--brc) 55%, transparent), transparent 55%),
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--brc2) 22%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
  opacity: 0.85;
}
.branchen-card:hover .branchen-glow { opacity: 1; }
/* 7 Größen-Variationen für maximale Vielfalt */
.branchen-card[data-size="small"]       { /* 1×1 default */ }
.branchen-card[data-size="wide"]        { grid-column: span 2; }
.branchen-card[data-size="tall"]        { grid-row: span 2; }
.branchen-card[data-size="extra-wide"]  { grid-column: span 3; }
.branchen-card[data-size="extra-tall"]  { grid-row: span 3; }
.branchen-card[data-size="feature"]     { grid-column: span 2; grid-row: span 2; }
.branchen-card[data-size="xl-feature"]  { grid-column: span 3; grid-row: span 2; }

/* Subtile Grid-Textur */
.branchen-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Icon-Wasserzeichen im Branche-Farbton */
.branchen-watermark {
  position: absolute;
  right: -14%;
  bottom: -14%;
  width: 70%;
  height: 70%;
  color: color-mix(in srgb, var(--brc) 40%, transparent);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  user-select: none;
}
.branchen-card[data-size="tall"] .branchen-watermark {
  width: 95%; height: 55%;
  right: -16%; bottom: -8%;
}
.branchen-card[data-size="wide"] .branchen-watermark {
  width: 50%; height: 120%;
  right: -6%; bottom: -25%;
}
.branchen-card[data-size="feature"] .branchen-watermark {
  width: 65%; height: 75%;
  right: -10%; bottom: -10%;
  color: color-mix(in srgb, var(--brc) 50%, transparent);
}
.branchen-card[data-size="xl-feature"] .branchen-watermark {
  width: 50%; height: 85%;
  right: -6%; bottom: -10%;
  color: color-mix(in srgb, var(--brc) 55%, transparent);
}
.branchen-card[data-size="extra-wide"] .branchen-watermark {
  width: 32%; height: 160%;
  right: -4%; bottom: -30%;
}
.branchen-card[data-size="extra-tall"] .branchen-watermark {
  width: 130%; height: 38%;
  right: -25%; bottom: -6%;
}
.branchen-card:hover .branchen-watermark {
  transform: scale(1.08) rotate(-3deg);
  color: color-mix(in srgb, var(--brc) 55%, transparent);
}

/* Gleiche Lücken überall — Asymmetrie ergibt sich aus den Größen-Variationen */

.branchen-card > .branchen-icon,
.branchen-card > .branchen-body { position: relative; z-index: 2; }

/* Color themes (15 Varianten) */
.branchen-card[data-c="orange-magenta"] { --brc:#FB923C; --brc2:#EC4899; }
.branchen-card[data-c="magenta-violet"] { --brc:#EC4899; --brc2:#8B5CF6; }
.branchen-card[data-c="cyan-violet"]    { --brc:#06B6D4; --brc2:#8B5CF6; }
.branchen-card[data-c="lime-cyan"]      { --brc:#84CC16; --brc2:#06B6D4; }
.branchen-card[data-c="violet-indigo"]  { --brc:#8B5CF6; --brc2:#4F46E5; }
.branchen-card[data-c="cyan-deep"]      { --brc:#06B6D4; --brc2:#1E3A8A; }
.branchen-card[data-c="amber-orange"]   { --brc:#F59E0B; --brc2:#FB923C; }
.branchen-card[data-c="magenta-pink"]   { --brc:#EC4899; --brc2:#F472B6; }
.branchen-card[data-c="cyan-teal"]      { --brc:#22D3DC; --brc2:#14B8A6; }
.branchen-card[data-c="lime-emerald"]   { --brc:#84CC16; --brc2:#10B981; }
.branchen-card[data-c="orange-red"]     { --brc:#FB923C; --brc2:#EF4444; }
.branchen-card[data-c="violet-magenta"] { --brc:#8B5CF6; --brc2:#EC4899; }
.branchen-card[data-c="cyan-blue"]      { --brc:#06B6D4; --brc2:#3B82F6; }
.branchen-card[data-c="blue-indigo"]    { --brc:#3B82F6; --brc2:#6366F1; }

.branchen-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 30px 60px -16px rgba(15, 23, 42, 0.30);
}

.branchen-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brc), var(--brc2, var(--brc)));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brc) 80%, transparent);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 3;
}
.branchen-card:hover .branchen-icon {
  transform: scale(1.1) rotate(-4deg);
}
.branchen-icon svg { width: 20px; height: 20px; display: block; }

.branchen-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 3;
}
.branchen-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.branchen-card[data-size="tall"] h3        { font-size: 22px; }
.branchen-card[data-size="wide"] h3        { font-size: 26px; }
.branchen-card[data-size="extra-wide"] h3  { font-size: 30px; }
.branchen-card[data-size="extra-tall"] h3  { font-size: 24px; }
.branchen-card[data-size="feature"] h3     { font-size: clamp(30px, 3vw, 40px); }
.branchen-card[data-size="xl-feature"] h3  { font-size: clamp(40px, 4vw, 56px); }
.branchen-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 30ch;
}
.branchen-card[data-size="tall"] p        { font-size: 13.5px; max-width: 26ch; }
.branchen-card[data-size="wide"] p        { font-size: 14.5px; max-width: 38ch; }
.branchen-card[data-size="extra-wide"] p  { font-size: 15px; max-width: 60ch; }
.branchen-card[data-size="extra-tall"] p  { font-size: 13.5px; max-width: 22ch; }
.branchen-card[data-size="feature"] p     { font-size: 16px; max-width: 42ch; line-height: 1.55; }
.branchen-card[data-size="xl-feature"] p  { font-size: 18px; max-width: 52ch; line-height: 1.55; }
.branchen-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brc) 85%, white);
  margin-top: 4px;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.branchen-card:hover .branchen-cta { color: #fff; }
.branchen-cta .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.branchen-card:hover .arrow { transform: translateX(5px); }

/* Tablet: 3 Spalten */
@media (max-width: 1100px) {
  .branchen-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
/* Tablet small: 2 Spalten — feature/wide bleiben 2 cols, tall verliert span */
@media (max-width: 1100px) {
  .branchen-card:nth-child(3),
  .branchen-card:nth-child(6),
  .branchen-card:nth-child(10),
  .branchen-card:nth-child(13) { margin-top: 0; }
}
@media (max-width: 1100px) {
  .branchen-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; }
  /* XL-Sizes auf 3 Spalten anpassen */
  .branchen-card[data-size="xl-feature"]  { grid-column: span 3; }
  .branchen-card[data-size="extra-wide"]  { grid-column: span 3; }
}
@media (max-width: 768px) {
  .branchen-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  /* Alle XL-Sizes auf max 2 cols / 2 rows */
  .branchen-card[data-size="xl-feature"]  { grid-column: span 2; grid-row: span 2; }
  .branchen-card[data-size="extra-wide"]  { grid-column: span 2; grid-row: span 1; }
  .branchen-card[data-size="extra-tall"]  { grid-column: span 1; grid-row: span 2; }
  .branchen-card[data-size="tall"]        { grid-row: span 1; }
  .branchen-card h3 { font-size: 18px; }
  .branchen-card[data-size="tall"] h3,
  .branchen-card[data-size="wide"] h3,
  .branchen-card[data-size="extra-wide"] h3,
  .branchen-card[data-size="extra-tall"] h3 { font-size: 22px; }
  .branchen-card[data-size="feature"] h3 { font-size: 26px; }
  .branchen-card[data-size="xl-feature"] h3 { font-size: 32px; }
}
/* Mobile: 1 Spalte, Kacheln wachsen mit dem Inhalt (kein Abschneiden mehr) */
@media (max-width: 480px) {
  .section-branchen { padding: 72px 0 80px; }
  .branchen-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 12px; grid-auto-rows: auto; }
  .branchen-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    padding: 22px 22px;
    min-height: 148px;
  }
  /* Einheitliche, passende Schriftgroessen in der 1-Spalten-Ansicht (grosse feature-Groessen zuruecksetzen) */
  .branchen-card h3,
  .branchen-card[data-size="tall"] h3,
  .branchen-card[data-size="wide"] h3,
  .branchen-card[data-size="extra-wide"] h3,
  .branchen-card[data-size="extra-tall"] h3,
  .branchen-card[data-size="feature"] h3,
  .branchen-card[data-size="xl-feature"] h3 { font-size: 21px; }
  .branchen-card p,
  .branchen-card[data-size="tall"] p,
  .branchen-card[data-size="wide"] p,
  .branchen-card[data-size="extra-wide"] p,
  .branchen-card[data-size="extra-tall"] p,
  .branchen-card[data-size="feature"] p,
  .branchen-card[data-size="xl-feature"] p { font-size: 14px; max-width: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .branchen-card:hover { transform: none; }
  .branchen-card:hover .branchen-icon { transform: none; }
  .branchen-card:hover .arrow { transform: none; }
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .bento-card-hero {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-card-hero .bento-media { min-height: 240px; }
  .bento-card-highlight {
    flex-direction: column;
  }
  .bento-card-highlight .bento-media {
    flex: 0 0 200px;
    min-height: 200px;
  }
}

/* Mobile: 1 Spalte */
@media (max-width: 640px) {
  .section-bento { padding: 64px 0; }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 16px;
  }
  .bento-card-hero, .bento-card-highlight {
    grid-column: 1;
  }
  .bento-media { min-height: 200px; }
  .bento-card-hero .bento-media { min-height: 220px; }
  .bento-card-highlight .bento-body { padding: 24px 22px; }
  .bento-card-highlight h3 { font-size: 22px; }
  .bento-card h3 { font-size: 18px; }
  .bento-card-hero h3 { font-size: 22px; }
}

/* ================================================================
   QUICK WIN #1: Scroll-Reveal (Fade + Hochgleiten, gestaffelt)
   Basis immer aktiv (Klasse wird per JS gesetzt → no-JS-sicher).
   Bei "Bewegung reduzieren" nur sanftes Einblenden ohne Verschiebung.
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Gruppen: Kinder gestaffelt einblenden */
.reveal-group > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-group.in-view > * {
  opacity: 1;
  transform: none;
}
.reveal-group.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.in-view > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-group.in-view > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-group.in-view > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-group.in-view > *:nth-child(5) { transition-delay: 0.37s; }

/* Motion-sensible Nutzer: nur Opacity-Fade, keine Verschiebung */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    transform: none;
    transition: opacity 0.5s ease;
  }
}
/* Mobile: Scroll-Reveal AUS -> Inhalt sofort sichtbar (kein "weisser Screen, faded nach und nach").
   Der Einblend-Effekt liess die Seite auf dem Handy langsam wirken; statisch sichtbar = gefuehlt schnell. */
@media (max-width: 768px) {
  .reveal, .reveal-group > *, .reveal.in-view, .reveal-group.in-view > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}
/* Mobile-Performance: backdrop-filter (Blur) abschalten. Auf Mobile-Safari ist Live-Blur extrem teuer -
   der sticky Header verwischt bei JEDEM Scroll-Frame den Hintergrund neu -> Browser kommt nicht hinterher
   -> weisse, noch nicht gezeichnete Bereiche beim Scrollen ("fuellt sich nach und nach"). Backgrounds bleiben. */
@media (max-width: 768px) {
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .nav { background: rgba(255, 255, 255, 0.96); }  /* ohne Blur etwas opaker fuer saubere Lesbarkeit */
}
/* Mobile-Performance: schwere, weiche Karten-Schatten (grosser Blur-Radius) sind teuer zu zeichnen
   -> beim schnellen Scrollen kommt der Browser nicht nach (weisse Kacheln). Auf Mobile durch EINEN
   leichten Schatten ersetzen -> deutlich guenstigeres Neuzeichnen, optisch kaum Unterschied. */
@media (max-width: 768px) {
  .sp-bento-card, .bento-card, .branchen-card, .entry-card, .uc-acc-item,
  .price-tier, .team-card, .contact-panel, .cta-form, .legal-contact-card,
  .case-slide, .loopvid, .feature-card, .sp-feature {
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07) !important;
  }
}
/* Mobile-Performance: Subpage-Checkerboarding beim schnellen Scrollen.
   Symptom: ab dem Use-Case-Akkordeon (.sp-block-alt) bleibt der Bereich weiss und baut
   sich erst beim Stoppen auf. Ursache: Safari versucht die langen Inhaltssektionen
   (Bento + Akkordeon-Bilder + Ausblick) durchgaengig live zu rastern und kommt beim
   schnellen Scrollen nicht nach. content-visibility:auto laesst den Browser off-screen-
   Sektionen ueberspringen -> pro Frame nur ~1 Screen rendern statt alles. contain-
   intrinsic-size reserviert die Hoehe (merkt sich via 'auto' die echte Hoehe), damit die
   Scrollleiste nicht springt. Greift nur auf Subpages (.sp-block ist subpage-only). */
@media (max-width: 768px) {
  .sp-block {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
}
/* Mobile-Performance: die zwei dekorativen .blob-Glows in Hero & CTA nutzen
   filter: blur(100px) auf 1100-1400px-Elementen = extrem teuer fuer die Mobile-GPU
   (eigener, riesiger Offscreen-Buffer pro Frame -> Checkerboarding sobald der CTA-Block
   beim Scrollen reinkommt). Auf Mobile den Blur-Filter weglassen und den weichen Schein
   stattdessen per radial-gradient erzeugen -> optisch nahezu identisch, aber praktisch
   kostenlos zu zeichnen. */
@media (max-width: 768px) {
  .cta-bg .blob { filter: none; }
  .cta-bg .blob-orange { background: radial-gradient(circle, var(--orange) 0%, transparent 62%); }
  .cta-bg .blob-cyan { background: radial-gradient(circle, var(--cyan-deep) 0%, transparent 62%); }
}

/* ================================================================
   RECHTSTEXT-/LEGAL-SEITEN (Impressum, Datenschutz, AGB, AVV)
   ================================================================ */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-wrap .breadcrumb { margin-bottom: 20px; }
.legal-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}
.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 10px;
}
.legal-head .legal-meta { color: var(--ink-soft); font-size: 14.5px; }
.legal-note {
  background: var(--brand-green-light);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.legal-body { color: #25303f; font-size: 15.5px; line-height: 1.7; }
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 26px 0 8px;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-body a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal-body a:hover { color: var(--magenta); }
.legal-body strong { color: var(--ink); }
.legal-contact-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 40px -28px rgba(15, 23, 42, 0.22);
}
.legal-contact-card p { margin: 0 0 4px; }

/* Abstand Hero → erste Section enger (war zu viel Leerraum) */
.sub-hero + .sp-block { padding-top: 18px; }

/* ================================================================
   SUBPAGE BENTO-GRID (Branchen-Vorteile, Linear/Homepage-Stil)
   ================================================================ */
.sp-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}
.sp-bento-card {
  --tc: #6366f1;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, color-mix(in srgb, var(--tc) 16%, #fff) 0%, #fff 64%);
  border: 1px solid color-mix(in srgb, var(--tc) 24%, rgba(15, 23, 42, 0.05));
  border-radius: 12px;
  padding: 24px 24px 26px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 40px -30px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 156px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 30px 60px -28px rgba(15, 23, 42, 0.32);
}
.sp-bento-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--tc) 20%, #fff);
  color: var(--tc);
}
.sp-bento-icon svg { width: 22px; height: 22px; }
.sp-bento-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.sp-bento-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Großes Feature-Tile (2×2) mit Brand-Gradient */
.sp-bento-card.b-feature {
  grid-column: span 4;
  grid-row: span 2;
  padding: 34px;
  justify-content: flex-end;
  gap: 14px;
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 52%, #06b6d4 100%);
}
/* Breites Tile (4×1) für mehr Größen-Varianz */
.sp-bento-card.b-wide { grid-column: span 4; }
.sp-bento-card.b-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 78% 22%, rgba(255,255,255,0.20), transparent 58%);
  pointer-events: none;
}
.sp-bento-kicker {
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.sp-bento-card.b-feature h3 { position: relative; color: #fff; font-size: clamp(24px, 2.4vw, 32px); max-width: 16ch; }
.sp-bento-card.b-feature p { position: relative; color: rgba(255, 255, 255, 0.92); font-size: 16px; max-width: 44ch; }

@media (max-width: 900px) {
  .sp-bento { grid-template-columns: repeat(2, 1fr); }
  .sp-bento-card { grid-column: span 1; }
  .sp-bento-card.b-feature, .sp-bento-card.b-wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .sp-bento { grid-template-columns: 1fr; }
  .sp-bento-card, .sp-bento-card.b-feature { grid-column: span 1; }
}

/* ================================================================
   SUBPAGE CAROUSEL / SLIDESHOW (Stripe-Stil, Scroll-Snap)
   ================================================================ */
.sp-carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}
.sp-carousel-nav { display: flex; gap: 8px; flex-shrink: 0; }
.sp-carousel-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.sp-carousel-btn:hover { background: var(--brand-green-light); border-color: rgba(15, 23, 42, 0.22); }
.sp-carousel-btn:active { transform: scale(0.94); }
.sp-carousel-btn svg { width: 18px; height: 18px; }
.sp-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.sp-carousel-track::-webkit-scrollbar { height: 0; display: none; }
.sp-carousel-card {
  flex: 0 0 290px;
  max-width: 290px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
/* Hochkant-Kachel: Bild als Hintergrund, Brand-Gradient darüber, Icon + Message drauf */
.sp-carousel-tile {
  --cc: #06b6d4;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 22px 48px -26px rgba(15, 23, 42, 0.42);
}
.sp-carousel-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.sp-carousel-tile::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--cc) 62%, transparent) 0%,
    color-mix(in srgb, var(--cc) 16%, transparent) 36%,
    rgba(15, 23, 42, 0.86) 100%);
}
.sp-carousel-card:hover .sp-carousel-tile img { transform: scale(1.07); }
.sp-ct-icon {
  position: relative; z-index: 2;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
}
.sp-ct-icon svg { width: 20px; height: 20px; color: #fff; }
.sp-carousel-tile h4 {
  position: relative; z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
/* ================================================================
   AUTOMATISIERUNGS-VISUAL (Ausblick: "morgen automatisiert")
   ================================================================ */
.auto-viz {
  position: relative;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(155deg, #f3f0fe 0%, #ecf8fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 26px 56px -32px rgba(15, 23, 42, 0.26);
  overflow: hidden;
}
.auto-viz svg { display: block; width: 100%; height: auto; }
.auto-pulse { transform-box: fill-box; transform-origin: center; animation: autoPulse 3.4s ease-out infinite; }
.auto-pulse.p2 { animation-delay: 1.7s; }
@keyframes autoPulse {
  0%   { transform: scale(0.5); opacity: 0.5; }
  70%  { opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .auto-pulse { animation: none; opacity: 0; } }

.sp-carousel-cap { padding: 14px 2px 0; }
.sp-carousel-cap p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 8px; }
.sp-carousel-link { color: var(--cyan-deep); font-weight: 600; font-size: 14px; display: inline-flex; gap: 5px; align-items: center; }
.sp-carousel-card:hover .sp-carousel-link { color: var(--magenta); }
@media (max-width: 560px) {
  .sp-carousel-card { flex-basis: 78%; max-width: 78%; }
}

/* "Weitere Use Cases"-Karte am Ende der Slideshow */
.sp-carousel-more {
  flex: 0 0 230px;
  max-width: 230px;
  scroll-snap-align: start;
  text-decoration: none;
  border-radius: 14px;
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  background: linear-gradient(160deg, #f4f1fe 0%, #ecf8fb 100%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; padding: 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sp-carousel-more:hover { border-color: var(--cyan-deep); transform: translateY(-3px); box-shadow: 0 22px 46px -28px rgba(15,23,42,0.32); }
.sp-carousel-more .scm-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #8b5cf6, #06b6d4); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.sp-carousel-more .scm-icon svg { width: 22px; height: 22px; }
.sp-carousel-more h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; line-height: 1.2; }
.sp-carousel-more .scm-link { color: var(--cyan-deep); font-weight: 600; font-size: 14px; }

/* ================================================================
   DUNKLER SUBPAGE-HERO (jede Subpage startet dunkel)
   ================================================================ */
.sub-hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 150px 0 84px;
}
.sub-hero-dark-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;   /* gleiche Breite wie .sp-block .container → Headlines bündig */
  margin: 0 auto;
  padding: 0 24px;
}
.sub-hero-dark .breadcrumb,
.sub-hero-dark .breadcrumb a { color: rgba(255, 255, 255, 0.55); }
.sub-hero-dark .breadcrumb a:hover { color: #fff; }
.sub-hero-dark .section-eyebrow { color: rgba(255, 255, 255, 0.72); display: block; margin-top: 18px; }
/* aktuelle Branche im Breadcrumb: weiße Pille, tiefschwarze Schrift
   (höhere Spezifität als ".breadcrumb span", sonst grau) */
.breadcrumb .breadcrumb-current {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  line-height: 1.5;
}
.sub-hero-dark h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 26px 0 20px;
}
.sub-hero-dark p {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0;
}
/* Folge-Absatz im dunklen Hero (z. B. About): klare Leerzeile statt aneinanderkleben */
.sub-hero-dark p + p { margin-top: 1.25em; }
@media (max-width: 720px) {
  .sub-hero-dark { padding: 120px 0 56px; }
  .sub-hero-dark h1 { font-size: clamp(30px, 8vw, 44px); }
  .sub-hero-dark p { font-size: 17px; }
}
.sub-hero-dark + .sp-block { padding-top: 48px; }

/* ================================================================
   USE-CASE-ACCORDION (Stripe-Stil: groß + gestaffelt, Expand bei Hover)
   ================================================================ */
.uc-acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.uc-acc-head .btn { flex-shrink: 0; }
/* Mobile: Headline + "Weitere Use Cases"-Button untereinander statt gequetscht nebeneinander */
@media (max-width: 720px) {
  .uc-acc-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.uc-accordion { display: flex; gap: 12px; height: 460px; }
.uc-acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 22px 48px -26px rgba(15, 23, 42, 0.40);
}
.uc-acc-item:first-child { flex: 3.2 1 0; }
.uc-accordion:hover .uc-acc-item { flex: 1 1 0; }
.uc-accordion:hover .uc-acc-item:hover { flex: 3.2 1 0; }
.uc-acc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-acc-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 28%, transparent) 0%, rgba(15,23,42,0.12) 42%, rgba(15,23,42,0.90) 100%);
}
.uc-acc-body { position: absolute; inset: 0; z-index: 2; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.uc-acc-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; }
.uc-acc-ico svg { width: 22px; height: 22px; color: #fff; }
.uc-acc-text { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: 0.05s; }
.uc-acc-item:first-child .uc-acc-text { opacity: 1; transform: none; }
.uc-accordion:hover .uc-acc-item:first-child .uc-acc-text { opacity: 0; }
.uc-accordion:hover .uc-acc-item:hover .uc-acc-text { opacity: 1; transform: none; }
.uc-acc-text h4 { font-family: var(--font-display); font-weight: 700; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.018em; overflow-wrap: break-word; hyphens: auto; }
.uc-acc-text p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: rgba(255,255,255,0.92); margin: 0 0 14px; max-width: 48ch; }
.uc-acc-text .uc-acc-link { font-weight: 600; font-size: 14px; color: #fff; display: inline-flex; gap: 5px; align-items: center; }
/* Mobile: Akkordeon = gestapelte Karten (Bild oben, voller Text unten, kein Overlay).
   Waechst natuerlich mit dem Inhalt; "Mehr erfahren" zeigt den Detailtext. */
@media (max-width: 760px) {
  .uc-accordion { flex-direction: column; height: auto; gap: 16px; }
  .uc-acc-item, .uc-acc-item:first-child,
  .uc-accordion:hover .uc-acc-item, .uc-accordion:hover .uc-acc-item:hover { flex: 1 1 auto; height: auto; }
  .uc-acc-item img { position: relative; inset: auto; width: 100%; height: 176px; }
  .uc-acc-item::after { display: none; }
  .uc-acc-body { position: relative; inset: auto; display: block; padding: 20px 22px 24px; }
  .uc-acc-ico { margin-bottom: 14px; }
  .uc-acc-text, .uc-accordion:hover .uc-acc-item:first-child .uc-acc-text { opacity: 1; transform: none; }
}
/* Volltext + "Mehr erfahren" in den Use-Case-Kacheln (analog Startseite — ohne Link-Out) */
.uc-acc-details { margin: 0 0 14px; max-width: 50ch; }
.uc-acc-details p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); margin: 0; }
.uc-acc-toggle {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.uc-acc-toggle:hover { background: rgba(255, 255, 255, 0.24); }
.uc-acc-toggle .uc-acc-arrow { transition: transform 0.25s ease; font-size: 12px; }
.uc-acc-item.is-expanded .uc-acc-toggle .uc-acc-arrow { transform: rotate(180deg); }
/* "Weitere Use Cases"-Button: Desktop oben im Kopf; Mobile unter den Kacheln
   (man scrollt nach den 4 Use Cases weiter, nicht nach oben zurueck). */
.uc-acc-more-mobile { display: none; }
@media (max-width: 760px) {
  .uc-acc-head .btn { display: none; }
  .uc-acc-more-mobile { display: inline-flex; margin-top: 20px; }
}

/* ============================================================
   SUBPAGES: PREISE · ÜBER UNS · KONTAKT  (r182)
   Wiederverwendbare Bausteine im Stil der Branchen-Subpages.
   ============================================================ */

/* — kleiner „Richtwerte / Hinweis"-Banner — */
.sp-note {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(251, 146, 60, 0.10); border: 1px solid rgba(251, 146, 60, 0.32);
  color: #b45309; font-size: 13.5px; font-weight: 600; line-height: 1.35;
}
.sp-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.sp-sub-lead { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; margin: 14px 0 0; }

/* ---------- PREISE: Plattform-Pakete (3 Tiers) ---------- */
.price-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch; margin-top: 24px;
}
.ptier {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-3xl); padding: 32px 28px;
  box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.25);
}
.ptier-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--orange), var(--magenta), var(--cyan-deep)) border-box;
  box-shadow: 0 30px 60px -28px rgba(236, 72, 153, 0.40);
  position: relative;
}
.ptier-badge {
  position: absolute; top: -13px; left: 28px;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.ptier-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); margin: 0 0 5px; }
.ptier-tagline { font-size: 14px; color: var(--ink-soft); margin: 0 0 22px; line-height: 1.5; min-height: 42px; }
.ptier-price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft);
}
.ptier-price .from { font-size: 13px; color: var(--muted); width: 100%; margin-bottom: 2px; }
.ptier-price .num { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.ptier-price .unit { font-size: 13.5px; color: var(--ink-soft); line-height: 1.3; }
.ptier-incl { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.ptier-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.ptier-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.ptier-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #16a34a; font-weight: 800; font-size: 14px; }
.ptier .btn { margin-top: auto; width: 100%; justify-content: center; }
@media (max-width: 920px) { .price-tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ---------- PREISE: Leistungs-/Prozessierungs-Liste ---------- */
.price-list { display: grid; gap: 12px; margin-top: 24px; }
.price-row {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl);
  padding: 20px 26px;
}
.price-row-ico { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; }
.price-row-ico svg { width: 23px; height: 23px; }
.price-row-main { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); margin: 0 0 3px; }
.price-row-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.price-row-price { text-align: right; white-space: nowrap; }
.price-row-price .num { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); display: block; line-height: 1.1; }
.price-row-price .lab { font-size: 12px; color: var(--muted); }
@media (max-width: 680px) {
  .price-row { grid-template-columns: 44px 1fr; }
  .price-row-price { grid-column: 2; text-align: left; margin-top: 8px; }
}

/* ---------- ÜBER UNS: Überzeugungen ---------- */
.conv-grid { display: grid; gap: 30px; margin-top: 44px; }
.conv { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: start; }
.conv-num { font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1; letter-spacing: -0.02em; }
.conv h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); margin: 0 0 10px; }
.conv p { font-size: 16px; line-height: 1.62; color: var(--ink-soft); margin: 0; }
@media (max-width: 600px) { .conv { grid-template-columns: 1fr; gap: 8px; } .conv-num { font-size: 42px; } }

/* ---------- ÜBER UNS: Geschäftsführung ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 18px 18px 26px; text-align: left; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.22); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 16px; display: block; margin-bottom: 18px; background: var(--bg-3); }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.team-role { font-size: 13.5px; font-weight: 600; color: var(--cyan-deep); margin: 0; }
.team-bio { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
/* Avatar-Fallback (Monogramm), falls kein Foto vorliegt */
.team-ava { width: 78px; height: 78px; border-radius: 50%; margin: 0 0 18px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #fff; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---------- ÜBER UNS: Trust-Marker ---------- */
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 40px; }
.trust-item { display: flex; flex-direction: column; gap: 9px; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.trust-item .ti-ico { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.trust-item .ti-ico svg { width: 21px; height: 21px; }
.trust-item strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.trust-item span { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- KONTAKT: drei Wege ---------- */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.cway { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 30px 28px; display: flex; flex-direction: column; box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.22); }
.cway-ico { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cway-ico svg { width: 23px; height: 23px; }
.cway h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 7px; }
.cway p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 18px; }
.cway-val { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--cyan-deep); }
.cway-val:hover { color: var(--magenta); }
@media (max-width: 820px) { .contact-ways { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ---------- KONTAKT: Formular-Panel ---------- */
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 36px 34px; box-shadow: var(--shadow-card); scroll-margin-top: 100px; }
.contact-panel h2 { margin-top: 0; }
.contact-form { display: grid; gap: 14px; margin-top: 22px; }
.contact-form .btn { justify-content: center; margin-top: 4px; }
.contact-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
@media (max-width: 860px) { .contact-panel { padding: 28px 22px; } }

/* Honeypot-Feld (Spam-Schutz): fuer Menschen unsichtbar, Bots fuellen es aus. */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Erfolgsmeldung nach Absenden (ersetzt das Formular). */
.form-success { display: none; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: rgba(16,185,129,0.10); border: 1px solid rgba(16,185,129,0.35); color: var(--ink); font-size: 15px; line-height: 1.5; }
.form-success-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #10b981; color: #fff; font-size: 15px; font-weight: 700; }
/* In dunklen CTA-Blöcken hellere Schrift. */
.section-cta .form-success, .cta-inner .form-success { color: #fff; background: rgba(16,185,129,0.16); }

/* Fehlermeldung im Formular. */
.form-error { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: #dc2626; }
.section-cta .form-error, .cta-inner .form-error { color: #fecaca; }

/* ================================================================
   GLASHAUS-TWIN im Workflow-Zentrum (ersetzt die rotierenden Ringe)
   ================================================================ */
/* Stacking: dunkler Hintergrund (0) < Verbindungslinien (1) < Gebäude (2)
   → die glühenden Datenpunkte liegen auf dem Dunkel (max. Kontrast), das Gebäude darüber. */
.wf-diagram-v2 { position: relative; }
.wf-diagram-v2 .wf-col-core { position: relative; z-index: 2; }
.wf-core-glashaus { overflow: visible !important; background: none !important; }
.wf-core-glashaus .wf-core-glow { display: none; }

/* Dunkler Spotlight hinter dem Gebäude – breite, sehr weiche Ellipse, die nach ALLEN Seiten
   verschwimmt (kein Rand, verschmilzt mit der Section). Liegt hinter Kacheln+Linien+Gebäude. */
.wf-diagram-v2::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1060px;
  height: 760px;
  max-width: 100vw;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(34% 40% at 28% 26%, rgba(251,146,60,0.15), transparent 66%),
    radial-gradient(34% 40% at 72% 26%, rgba(34,211,220,0.15), transparent 66%),
    radial-gradient(36% 42% at 74% 78%, rgba(190,242,100,0.11), transparent 68%),
    radial-gradient(34% 40% at 26% 78%, rgba(236,72,153,0.11), transparent 68%),
    radial-gradient(ellipse farthest-side at 50% 50%,
      #04070d 0%, #060b15 30%, rgba(5,9,17,0.74) 50%, rgba(5,9,17,0.46) 64%, rgba(5,9,17,0.2) 78%, rgba(5,9,17,0.06) 91%, rgba(5,9,17,0) 100%);
  filter: blur(40px);
}
/* Kacheln über den Dunkel-Spotlight heben → bleiben crisp weiß, nur die Zwischenräume verschmelzen */
.wf-diagram-v2 .wf-col-inputs,
.wf-diagram-v2 .wf-col-outputs { position: relative; z-index: 1; }

.wf-glashaus-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* der Dunkel-Hintergrund liegt jetzt auf .wf-diagram-v2::before */
}
/* Platzhalter-Glow, solange das Glashaus-SVG noch nicht gebaut ist (kein weisses Loch beim Laden).
   Sobald mount() das SVG einfügt, greift :empty nicht mehr -> Platzhalter verschwindet. */
#ghStage:empty {
  background:
    radial-gradient(ellipse 60% 56% at 50% 54%, rgba(34,211,220,0.16), transparent 72%),
    radial-gradient(circle at 50% 50%, rgba(11,16,32,0.05), transparent 70%);
  border-radius: 26px;
}
.wf-glashaus-stage svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 720px) {
  .wf-diagram-v2::before { width: 92vw; height: 92vw; }
}

/* --- 2 gegenläufige Pillen (Daten · KI Agent) außen um das Gebäude (live, von Alex freigegeben) --- */
.gh-rings {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;              /* über dem Gebäude */
  pointer-events: none;
}
.gh-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--d); height: var(--d);
  margin-left: calc(var(--d) / -2);
  margin-top: calc(var(--d) / -2);
  border-radius: 50%;
}
/* gestrichelte Kreise farbig (wie die Datenlinien), sonst auf dem dunklen Grund unsichtbar */
.gh-ring-a { --d: 520px; border: 1px dashed rgba(236, 72, 153, 0.5); animation: ghCW 32s linear infinite; }
.gh-ring-b { --d: 476px; border: 1px dashed rgba(251, 146, 60, 0.5); animation: ghCCW 27s linear infinite; animation-delay: -13.5s; }
.gh-pill-pos { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); }
.gh-ring-a .gh-pill { animation: ghCCW 32s linear infinite; }
.gh-ring-b .gh-pill { animation: ghCW 27s linear infinite; animation-delay: -13.5s; }
.gh-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  color: #fff;
}
.gh-pill-data { background: linear-gradient(135deg, #8B5CF6, #EC4899); }   /* Daten: lila → pink */
.gh-pill-ki   { background: linear-gradient(135deg, #FB923C, #F97316); }   /* KI Agent: orange */
.gh-pill svg { width: 16px; height: 16px; flex: none; }
.gh-pill span { display: flex; flex-direction: column; }
.gh-pill strong { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.12; }
.gh-pill em { font-style: normal; font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); line-height: 1.1; }
@keyframes ghCW  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ghCCW { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@media (max-width: 920px) {
  /* Ringgrösse: gross genug, aber Pillen bleiben im Bild (Alex 2026-06-17) */
  .gh-ring-a { --d: 80vw; }
  .gh-ring-b { --d: 72vw; }
  .gh-pill { padding: 4px 9px 4px 7px; gap: 5px; }
  .gh-pill svg { width: 13px; height: 13px; }
  .gh-pill strong { font-size: 9.5px; }
  .gh-pill em { font-size: 7px; }
}

/* ================================================================
   MOBILE-FEINSCHLIFF Workflow-Sektion (Alex-Feedback 2026-06-17, v2)
   - Eingangs-Kacheln zentriert, ÜBERSCHRIFT linksbündig mit der Kachel,
     Kachel-INHALT bleibt normal links (kein zentrierter Text!).
   - Beteiligten-Kacheln als zentrierte Pillen (Icon+Text als Gruppe mittig).
   - Verbinder mit sichtbar wanderndem Glüh-Punkt.
   - Trust: zwei Items nebeneinander, kompakt (Subtext bricht um).
   - Glashaus-Rotation + interne Datenflüsse werden im JS aktiviert.
   ================================================================ */
@media (max-width: 920px) {
  /* --- Grid-Blowout verhindern: Track darf nicht über die min-content-Breite
         der langen Kachel-Texte wachsen (sonst Überlauf + Rechts-Versatz) --- */
  .wf-diagram-v2 { grid-template-columns: minmax(0, 1fr) !important; }
  .wf-diagram-v2 .wf-col { min-width: 0 !important; }
  /* --- Desktop-Versatz der Spalten zurücksetzen (sonst rechts/links verschoben!) --- */
  .wf-diagram-v2 .wf-col-inputs,
  .wf-diagram-v2 .wf-col-outputs {
    transform: none !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* --- Eingangs-Kacheln füllen die Zelle, zentriert; Überschrift linksbündig --- */
  .wf-input-block {
    max-width: min(270px, calc(100vw - 100px)) !important;   /* schmaler -> Platz für seitliche Linien */
    width: 100% !important;
    margin: 0 auto !important;
  }
  .wf-input-title { text-align: left !important; padding-left: 2px !important; }
  .wf-box-in {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  /* Beteiligten-Kacheln: zentrierte Pille, Icon+Text als Gruppe mittig --- */
  .wf-box-out {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: min(248px, calc(100vw - 130px)) !important;   /* einheitlich + schmaler -> Platz für seitliche Linien */
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .wf-col-outputs { margin-top: 10px; }

  /* --- Datenströme: echte per-Kachel-Linien via SVG (.wf-lines), wie auf Desktop --- */
  /* Glashaus zentrieren: seitliche Polsterung der Core-Spalte weg */
  .wf-col-core { flex-direction: column !important; padding-left: 0 !important; padding-right: 0 !important; }
  /* SVG-Verbindungslinien (waren auf Mobile aus) wieder einblenden -> drawWorkflowLines
     zeichnet im gestapelten Layout von JEDER Kachel eine Glüh-Linie zum Glashaus. */
  .wf-lines { display: block !important; }
  /* alte CSS-Hilfsverbinder zwischen den Sektionen entfernen (durch SVG-Linien ersetzt) */
  .wf-col-inputs::after, .wf-col-core::after,
  .wf-col-inputs::before, .wf-col-core::before { display: none !important; }

  /* --- Trust: zwei Items nebeneinander, kompakt --- */
  .wf-trust-strip { max-width: min(430px, calc(100vw - 24px)); margin-inline: auto; }
  .wf-trust-strip-inner {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
  }
  .wf-trust-item { width: auto !important; flex: 1 1 0 !important; min-width: 0 !important; justify-content: flex-start !important; gap: 9px; }
  .wf-trust-item > div { min-width: 0; }
  .wf-trust-item strong { font-size: 12.5px; }
  .wf-trust-item span { font-size: 10.5px; line-height: 1.3; }
  .wf-trust-sep { width: 1px !important; height: 42px !important; }
  .wf-trust-icon-shield { width: 36px !important; height: 36px !important; }
  .wf-trust-icon-shield svg { width: 36px !important; height: 36px !important; }
  .wf-trust-icon-eu { width: 32px !important; height: 32px !important; }
  .wf-trust-icon-eu img { width: 32px !important; height: 32px !important; }
}
