/* ============================================================
   BEE Website — Site-wide base styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Floating Nav ─────────────────────────────────────────── */
.bee-nav-float-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  pointer-events: none;
}
.bee-nav-float {
  max-width: 1240px; margin: 0 auto;
  height: 76px;
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 22px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 60px rgba(0,0,0,0.25),
    0 4px 16px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px 0 22px;
  pointer-events: auto;
  transition: all 0.3s var(--ease);
}
.bee-nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; cursor: pointer;
  padding: 6px 10px 6px 6px;
  border-radius: 14px;
  transition: background 0.2s;
}
.bee-nav-logo:hover { background: rgba(255,255,255,0.04); }
.bee-nav-logo-img {
  height: 42px; width: 42px;
  object-fit: contain;
  border-radius: 10px;
}
.bee-nav-logo-txt { display: flex; flex-direction: column; line-height: 1; }
.bee-nav-logo-main {
  font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -1.2px;
}
.bee-nav-logo-sub {
  font-size: 10px; font-weight: 600; color: var(--blue-light);
  letter-spacing: 2.4px; text-transform: uppercase; margin-top: 4px;
}

.bee-nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.bee-nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.bee-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.bee-nav-links a.active { color: #fff; }
.bee-nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  margin-left: 8px;
  box-shadow: 0 8px 24px rgba(233,75,60,0.35);
  letter-spacing: -0.2px;
}
.bee-nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }

/* ─── Buttons ──────────────────────────────────────────────── */
.bee-btn {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  padding: 16px 32px; border-radius: 12px;
  letter-spacing: -0.3px;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.bee-btn.lg { font-size: 16px; padding: 20px 40px; }
.bee-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px rgba(233,75,60,0.3); }
.bee-btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(233,75,60,0.4); }
.bee-btn-ghost-dark {
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 16px 32px; border-radius: 12px; font-weight: 600;
}
.bee-btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }
.bee-btn-dark { background: var(--black); color: #fff; }
.bee-btn-dark:hover { background: #1a1a1d; transform: translateY(-2px); }
.bee-arrow { display: inline-block; transition: transform 0.2s; }
.bee-btn:hover .bee-arrow { transform: translateX(3px); }

/* ─── Generic section bits ─────────────────────────────────── */
.bee-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.bee-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
}
.bee-label.on-dark { color: var(--blue-light); }
.bee-h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 900; color: var(--black);
  letter-spacing: -1.6px; line-height: 1.08;
  margin: 0 0 24px;
  text-wrap: balance;
}
.bee-h2.on-dark { color: #fff; }
.bee-h2 .accent { color: var(--blue); }
.bee-sub {
  font-size: 18px; color: var(--gray);
  max-width: 640px; line-height: 1.7; margin: 0 0 56px;
  text-wrap: pretty;
}
.bee-sub.on-dark { color: rgba(255,255,255,0.55); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: #060e1f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 130px 32px 60px;
  /* Deep radial navy glow — matches screenshot */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 30%, #0d2152 0%, #060e1f 65%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(233,75,60,0.08) 0%, transparent 60%);
}

/* subtle dot grid */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 760px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-light);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 900; color: #fff;
  line-height: 1.06; letter-spacing: -2px;
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.60);
  max-width: 640px; line-height: 1.7; margin: 0 0 42px;
  text-wrap: pretty;
}

/* Outlined ghost button used in hero */
.bee-btn-ghost-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 100px;
  padding: 14px 36px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.bee-btn-ghost-outline:hover {
  border-color: var(--blue-light);
  background: rgba(233,75,60,0.1);
  color: var(--blue-light);
}

/* ─── Leistungen section (landing) ─────────────────────────── */
.leistungen {
  background: var(--white);
  padding: 140px 32px 160px;
  position: relative;
  z-index: 1;
}
/* Smooth gradient from hero dark into leistungen white */
.leistungen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
    #060e1f 0%,
    rgba(6,14,31,0.7) 30%,
    rgba(6,14,31,0.2) 60%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}
/* Smooth gradient out into vorteile dark */
.leistungen::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(10,10,10,0.15) 40%,
    rgba(10,10,10,0.6) 75%,
    var(--black) 100%);
  pointer-events: none;
  z-index: 0;
}
.leistungen-header {
  text-align: center;
  max-width: 720px; margin: 0 auto 100px;
}
.leistungen-header .bee-sub {
  margin: 0 auto; max-width: 560px;
}
.leistungen-boxes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1180px; margin: 0 auto;
  /* No perspective here — each box uses perspective() in its own transform */
}
.leistungen-footnote {
  margin-top: 80px; text-align: center;
  font-size: 14px; color: var(--gray);
}
.leistungen-footnote a { color: var(--blue); text-decoration: none; font-weight: 600; }
.leistungen-footnote a:hover { text-decoration: underline; }

/* ─── KI-Fakten section (dark, replaces reviews) ─────────── */
.ki-fakten {
  background: var(--black);
  padding: 120px 32px 140px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.ki-fakten::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 70% 40%, rgba(233,75,60,0.08), transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 70%, rgba(99,102,241,0.06), transparent 60%);
  pointer-events: none;
}
.ki-fakten-inner {
  max-width: 1140px; margin: 0 auto;
  position: relative; z-index: 1;
}
.ki-fakten-header {
  text-align: center;
  margin-bottom: 72px;
}
.ki-fakten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ki-fakten-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.ki-fakten-card:hover {
  border-color: rgba(233,75,60,0.35);
  background: rgba(233,75,60,0.04);
  transform: translateY(-3px);
}
.ki-fakten-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,75,60,0.3), transparent);
}
.ki-fakten-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.ki-fakten-stat {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 14px;
}
.ki-fakten-stat .accent { color: var(--blue); }
.ki-fakten-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.ki-fakten-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}
.ki-fakten-source {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 8px;
}
.ki-fakten-source .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(233,75,60,0.5);
}
.ki-fakten-cta-wrap {
  text-align: center;
  margin-top: 72px;
}
@media (max-width: 960px) {
  .ki-fakten-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .ki-fakten { padding: 100px 24px 120px; }
}
@media (max-width: 480px) {
  .ki-fakten { padding: 80px 20px 100px; }
  .ki-fakten-card { padding: 32px 24px 28px; }
}

/* ─── Vorteile section (dark, like the hero) ──────────────── */
.vorteile {
  background: var(--black);
  padding: 140px 32px 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.vorteile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 30%, rgba(233,75,60,0.16), transparent 70%);
  pointer-events: none;
}
.vorteile-inner {
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}

/* ─── Outer wrapper: inline-block so it truly shrinks to content width.
       text-align:center on parent handles horizontal centering.        ─ */
.vorteile-comb-outer {
  display: inline-block;   /* KEY: reliable content-width shrink */
  position: relative;
  margin-top: 40px;
  vertical-align: top;
  z-index: 1;              /* above ::before background tint */
}

/* ─── Honeycomb layout (pointy-top, 4 hexes per row) ────────── */
/*
 * W = 220px  H = 254px (= W × 2/√3)  side = 127px
 * gap = 0  |  row-offset = W/2 = 110px  |  margin-top = −H/4 = −64px
 *
 * Container width = offset(110) + 4×W(880) = 990px ← widest row (row 2)
 */
.vorteile-honeycomb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.honeycomb-row {
  display: flex;
  gap: 0;
}
.honeycomb-row + .honeycomb-row {
  margin-top: -64px;   /* exact: −H/4 = −254÷4 */
}
.honeycomb-row-offset {
  margin-left: 110px;  /* exact: W/2 = 220÷2 */
}

/* ─── Hex cells ──────────────────────────────────────────────── */
.hex-cell {
  width: 220px;
  height: 254px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
  flex-shrink: 0;
}
/* Honeycomb cell: wide deep-blue "wax wall" with subtle 3D shading,
   soft white core inside. No hover effect. */
.hex-filled {
  background:
    linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 38%, var(--blue-dark) 100%);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
}
.hex-filled::before {
  content: '';
  position: absolute;
  inset: 8px;                   /* wide wax-wall thickness */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    radial-gradient(ellipse 90% 80% at 32% 28%, #ffffff 0%, #fff5f5 55%, #ffe8e5 100%);
  z-index: 0;
  pointer-events: none;
}
/* Inner highlight ring — adds the 3D bevel sheen on the wall */
.hex-filled::after {
  content: '';
  position: absolute;
  inset: 4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(140deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.06) 30%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.18) 100%);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* Empty honeycomb cell: same wax wall, dark/transparent interior */
.hex-empty {
  background:
    linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 38%, var(--blue-dark) 100%);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
}
.hex-empty::before {
  content: '';
  position: absolute;
  inset: 8px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    radial-gradient(ellipse 90% 80% at 32% 28%, rgba(46,18,15,0.95) 0%, rgba(28,8,6,0.98) 60%, #180504 100%);
  z-index: 0;
  pointer-events: none;
}
.hex-empty::after {
  content: '';
  position: absolute;
  inset: 4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(140deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.06) 30%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.22) 100%);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* Content zone: padded to the safe flat band between the pointy tips (y 25%–75%) */
.hex-inner {
  position: absolute;
  inset: 0;
  z-index: 1;                   /* above the ::before honey-cell layer */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 27% 16%;
}
.hex-marker {
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 3px;
}
.hex-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.3px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.hex-text {
  font-size: 10px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Honey drip ─────────────────────────────────────────────── */
/* Positioned relative to .vorteile-comb-outer (inline-block, 990px wide,
   444.5px tall in default size). SVG is 240×240 and is anchored so its
   path point (230, 5) lines up with hex 06's bottom-right corner at comb
   (990, 381). Origin: comb x = 990 − 230 = 760, comb y = 381 − 5 = 376.
   Honey lip rides the diagonal edge from (990, 381) → (880, 444.5),
   gathers at the lower vertex, and a single oozing blob hangs below. */
.honey-drip-wrap {
  position: absolute;
  right: -10px;          /* SVG right edge ~10px past comb's right */
  top: 376px;            /* SVG top aligns with hex bottom-right corner */
  pointer-events: none;
  z-index: 3;
}
.honey-drip-svg {
  display: block;
  filter: drop-shadow(0 10px 22px rgba(233,75,60,0.38));
}

.vorteile-cta-wrap { margin-top: 80px; }

/* ─── Social Proof Strip (between vorteile & ki-fakten) ──── */
.social-proof-strip {
  background: var(--black);
  padding: 56px 32px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.social-proof-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.social-proof-item {
  text-align: center;
}
.social-proof-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.social-proof-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.3px;
}
.social-proof-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(233,75,60,0.4), transparent);
}
@media (max-width: 640px) {
  .social-proof-inner { flex-direction: column; gap: 24px; }
  .social-proof-divider { width: 48px; height: 1px; }
}

/* ─── Vorteile B layout — Hero-Stat + 4 modulare Karten ───── */
.vorteile-grid-b {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: left;
}
.vorteile-hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(233,75,60,0.16) 0%, rgba(233,75,60,0.04) 100%);
  border: 1px solid rgba(233,75,60,0.32);
  border-radius: 20px;
  padding: 56px 52px 48px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 460px;
}
.vorteile-hero-glow {
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,75,60,0.30), transparent 70%);
  pointer-events: none;
}
.vorteile-hero-inner {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.vorteile-hero-pill {
  display: inline-flex; align-self: flex-start;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(233,75,60,0.22);
  border: 1px solid rgba(233,75,60,0.4);
  color: var(--blue-light);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.vorteile-hero-stat {
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 900; color: #fff;
  letter-spacing: -5px; line-height: 0.92;
  margin-bottom: 18px;
}
.vorteile-hero-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.vorteile-hero-text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 0 28px;
}
.vorteile-hero-source {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.3px;
}
.vorteile-hero-source .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(233,75,60,0.6);
}
.vorteile-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.vorteile-mini-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.vorteile-mini-card:hover {
  border-color: rgba(233,75,60,0.45);
  background: rgba(233,75,60,0.06);
  transform: translateY(-2px);
}
.vorteile-mini-num {
  font-size: 11px; font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}
.vorteile-mini-title {
  font-size: 18px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.vorteile-mini-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 960px) {
  .vorteile-grid-b { grid-template-columns: 1fr; }
  .vorteile-hero-card { padding: 40px 32px; min-height: 0; }
  .vorteile-mini-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}

/* ─── Über section ─────────────────────────────────────────── */
.ueber {
  background: var(--black);
  padding: 140px 32px 120px;
  position: relative;
  overflow: hidden;
}
.ueber::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 20% 30%, rgba(233,75,60,0.15), transparent 70%);
  pointer-events: none;
}
.ueber-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.ueber-portrait-wrap {
  position: sticky; top: 120px;
}
.ueber-portrait {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #14141a;
  border: 1px solid rgba(255,255,255,0.08);
}
.ueber-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.85);
}
.ueber-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.7) 100%);
  pointer-events: none;
}
.ueber-portrait-tag {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  display: flex; align-items: center; gap: 14px;
  color: #fff;
  z-index: 1;
}
.ueber-portrait-tag .dot {
  width: 8px; height: 8px; background: #3dd67a;
  border-radius: 50%;
  box-shadow: 0 0 12px #3dd67a;
}
.ueber-portrait-tag-title {
  font-size: 15px; font-weight: 700; letter-spacing: -0.3px;
}
.ueber-portrait-tag-sub {
  font-size: 12px; color: rgba(255,255,255,0.6);
  margin-top: 2px; letter-spacing: 0.3px;
}

.ueber-copy { padding-top: 8px; }
.ueber-eyebrow { font-size: 11px; color: var(--blue-light); font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; margin: 0 0 18px; }
.ueber-heading {
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 900; color: #fff;
  letter-spacing: -1.5px; line-height: 1.08;
  margin: 0 0 32px;
}
.ueber-heading .accent { color: var(--blue); }
.ueber-lead {
  font-size: 20px; color: #fff;
  line-height: 1.55; font-weight: 500;
  margin: 0 0 32px;
  letter-spacing: -0.2px;
}
.ueber-body {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin: 0 0 24px;
}
.ueber-body strong { color: #fff; font-weight: 600; }
.ueber-quote {
  margin: 36px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--blue);
  background: rgba(233,75,60,0.08);
  border-radius: 0 12px 12px 0;
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  letter-spacing: -0.2px;
}

/* ─── Werdegang timeline (under portrait) ─────────────────── */
.ueber-timeline {
  margin-top: 32px;
  padding: 28px 26px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.ueber-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 18px 1fr;
  align-items: start;
  gap: 12px;
  padding-bottom: 18px;
}
.ueber-tl-item:last-child { padding-bottom: 0; }
.ueber-tl-year {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  padding-top: 2px;
}
.ueber-tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  margin-top: 5px;
  margin-left: 4px;
  z-index: 1;
}
.ueber-tl-item.is-current .ueber-tl-dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(233,75,60,0.2);
}
.ueber-tl-line {
  position: absolute;
  left: 64px; top: 18px; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.ueber-tl-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.1px;
}
.ueber-tl-item.is-current .ueber-tl-text { color: #fff; font-weight: 500; }

/* ─── Ansatz section (3 steps) ─────────────────────────────── */
.ueber-ansatz {
  background: var(--black);
  padding: 100px 32px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ueber-ansatz-inner { max-width: 1200px; margin: 0 auto; }
.ueber-ansatz-h {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -1.6px;
  margin: 0 0 56px;
  max-width: 820px;
  text-wrap: balance;
}
.ueber-ansatz-h .accent { color: var(--blue); }
.ueber-ansatz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ueber-ansatz-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 28px 30px;
  position: relative;
  transition: border-color 200ms, background 200ms;
}
.ueber-ansatz-step:hover {
  border-color: rgba(233,75,60,0.4);
  background: rgba(233,75,60,0.05);
}
.ueber-ansatz-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ueber-ansatz-title {
  font-size: 22px; font-weight: 700;
  color: #fff; letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.ueber-ansatz-text {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ─── FAQ section ──────────────────────────────────────────── */
.ueber-faq {
  background: var(--black);
  padding: 100px 32px 140px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ueber-faq-inner { max-width: 880px; margin: 0 auto; }
.ueber-faq-h {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -1.6px;
  margin: 0 0 48px;
  text-wrap: balance;
}
.ueber-faq-h .accent { color: var(--blue); }
.ueber-faq-list {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ueber-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 180ms;
}
.ueber-faq-item:hover { background: rgba(255,255,255,0.02); }
.ueber-faq-item.is-open { background: rgba(233,75,60,0.04); }
.ueber-faq-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
}
.ueber-faq-q {
  font-size: 19px; font-weight: 600;
  color: #fff; letter-spacing: -0.4px;
  line-height: 1.35;
}
.ueber-faq-toggle {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
  line-height: 1;
  transition: background 180ms, color 180ms;
}
.ueber-faq-item.is-open .ueber-faq-toggle {
  background: var(--blue); color: #fff;
}
.ueber-faq-a {
  padding: 0 4px 30px;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 720px;
  letter-spacing: -0.1px;
}

/* legacy pill styles kept for any other usage */
.ueber-pill-legacy {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue-light);
  background: rgba(233,75,60,0.15);
  border: 1px solid rgba(233,75,60,0.2);
  padding: 8px 14px; border-radius: 100px;
}

/* ─── Page fill: ensures every page stretches to viewport height ── */
/* The React app root is a flex column (min-height: 100vh).
   Each page is a fragment → we target the first direct child
   sections/wrappers that need to grow so Footer is always at bottom. */
.projekte-list,
.esf-body,
.ueber {
  flex: 1;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black);
  padding: 48px 32px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand-logo {
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 900;
  color: #fff; letter-spacing: -1px; line-height: 1;
}
.footer-brand-logo span { color: var(--blue); }
.footer-brand-txt { font-size: 13px; color: rgba(255,255,255,0.35); letter-spacing: 0.3px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

/* ─── Detail page (Leistungen) ─────────────────────────────── */
.detail-hero {
  padding: 180px 32px 80px;
  background: var(--black);
  position: relative; overflow: hidden;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(233,75,60,0.18), transparent 70%);
  pointer-events: none;
}
.detail-hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.detail-hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900; color: #fff;
  letter-spacing: -2px; line-height: 1.05;
  margin: 0 auto 20px;
  max-width: 800px;
}
.detail-hero-title .accent { color: var(--blue); }
.detail-hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.55);
  max-width: 580px; margin: 0 auto;
  line-height: 1.65;
}

.detail-nav {
  position: sticky; top: 110px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-mid);
  z-index: 50;
  padding: 16px 32px;
}
.detail-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 8px; align-items: center;
  overflow-x: auto;
}
.detail-nav-label {
  font-size: 11px; font-weight: 700; color: var(--gray);
  letter-spacing: 2px; text-transform: uppercase;
  margin-right: 8px; white-space: nowrap;
}
.detail-nav a {
  font-size: 14px; font-weight: 600;
  color: var(--gray);
  padding: 8px 16px; border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.detail-nav a:hover, .detail-nav a.active {
  background: var(--blue-tint-10);
  color: var(--blue);
}

.detail-section {
  padding: 100px 32px;
  border-bottom: 1px solid var(--gray-mid);
  scroll-margin-top: 180px;
  background: var(--white);
}
.detail-section:nth-child(even) { background: var(--gray-light); }
.detail-section-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 380px 1fr;
  gap: 72px; align-items: start;
}
.detail-package-visual {
  position: sticky; top: 200px;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
}
.detail-package-price {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 16px;
  padding: 22px 28px;
  text-align: center;
  width: 100%;
}
.detail-package-price .amount {
  font-size: 32px; font-weight: 900; color: var(--black);
  letter-spacing: -1px; line-height: 1;
}
.detail-package-price .unit {
  font-size: 14px; color: var(--gray);
  margin-top: 8px;
}
.detail-package-price .bonus {
  font-size: 12px; color: var(--blue);
  font-weight: 700; margin-top: 6px;
  letter-spacing: 0.3px;
}

.detail-content .bee-label { color: var(--blue); }
.detail-content h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 900; color: var(--black);
  letter-spacing: -1.2px; line-height: 1.1;
  margin: 0 0 24px;
}
.detail-content .lead {
  font-size: 18px; color: var(--black);
  line-height: 1.65; font-weight: 500;
  margin: 0 0 32px;
  letter-spacing: -0.2px;
}
.detail-content .body {
  font-size: 16px; color: var(--gray);
  line-height: 1.75; margin: 0 0 24px;
}
.detail-deliver-title {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue);
  margin: 40px 0 16px;
}
.detail-deliver-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.detail-deliver-list li {
  font-size: 14px; color: var(--black);
  padding: 14px 16px 14px 44px;
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  position: relative;
  line-height: 1.5;
}
.detail-section:nth-child(even) .detail-deliver-list li { background: #fff; }
.detail-deliver-list li::before {
  content: ''; position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='11' height='11'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ─── Projekte Page ───────────────────────────────────────── */
.projekte-hero {
  padding: 160px 48px 100px;
  background: #060e1f;
  text-align: center;
  position: relative;
}
.projekte-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(233,75,60,0.15), transparent 70%);
  pointer-events: none;
}
.projekte-hero-inner {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto;
}
.projekte-headline {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 1.08; letter-spacing: -2px;
  margin: 16px 0 0;
}
.projekte-headline .accent { color: var(--blue); }
.projekte-list {
  background: #060e1f;
  padding: 80px 48px 120px;
}
.projekte-list-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
}
.projekt-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.projekt-card-content {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .projekt-card { grid-template-columns: 1fr; }
}
.projekt-card:hover { border-color: rgba(233,75,60,0.35); }
.projekt-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,75,60,0.4), transparent);
}
.projekt-num {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--blue); text-transform: uppercase;
  margin-bottom: 8px;
}
.projekt-client {
  font-size: 13px; color: rgba(255,255,255,0.42);
  font-weight: 500; margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.projekt-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.5px; line-height: 1.2;
  margin: 0 0 20px;
}
.projekt-desc {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin: 0 0 32px;
  max-width: 720px;
}
.projekt-result {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(233,75,60,0.12);
  border: 1px solid rgba(233,75,60,0.3);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 28px;
}
.projekt-result-text {
  font-size: 14px; font-weight: 700; color: #FF8F85;
  letter-spacing: 0.3px;
}
.projekt-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.projekt-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 4px 10px;
  text-transform: uppercase;
}

/* ─── Ersteinschätzung Page ─────────────────────────────── */
.esf-hero {
  padding: 140px 48px 80px;
  background: #060e1f;
  text-align: center;
  position: relative;
}
.esf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 30%, rgba(233,75,60,0.16), transparent 70%);
  pointer-events: none;
}
.esf-hero-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
}
.esf-headline {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -1.5px;
  margin: 16px 0 0;
  text-wrap: balance;
}
.esf-headline .accent { color: var(--blue); }
.esf-body {
  background: #060e1f;
  padding: 56px 48px 120px;
}
.esf-inner {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.esf-section {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.esf-section.esf-section--active { border-color: rgba(233,75,60,0.38); }
.esf-section-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: transparent; border: none; cursor: default;
  text-align: left; gap: 16px;
}
.esf-section-head.done { cursor: pointer; }
.esf-section-head-left {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
}
.esf-section-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(233,75,60,0.12);
  border: 1px solid rgba(233,75,60,0.28);
  color: var(--blue);
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.esf-section-head.done .esf-section-num {
  background: rgba(233,75,60,0.22);
  border-color: rgba(233,75,60,0.5);
  color: #FF8F85;
}
.esf-section-label {
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.esf-section-summary {
  font-size: 13px; color: rgba(255,255,255,0.38);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.esf-section-edit {
  font-size: 12px; color: var(--blue); font-weight: 600; flex-shrink: 0;
}
.esf-section-body {
  padding: 0 24px 28px;
  display: flex; flex-direction: column; gap: 18px;
  animation: esf-fadein 0.22s ease;
}
@keyframes esf-fadein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.esf-divider {
  height: 1px; background: rgba(255,255,255,0.06); margin: 0 0 4px;
}
.esf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.esf-field {
  display: flex; flex-direction: column; gap: 6px;
}
.esf-label {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}
.esf-input, .esf-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px; font-family: inherit;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%; box-sizing: border-box;
}
.esf-input::placeholder { color: rgba(255,255,255,0.22); }
.esf-input:focus, .esf-select:focus { border-color: rgba(233,75,60,0.6); background: rgba(233,75,60,0.06); }
.esf-select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.35)' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}
.esf-select option { background: #0f1624; color: #fff; }
.esf-next-btn {
  align-self: flex-start;
  background: var(--blue); color: #fff;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  padding: 12px 22px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}
.esf-next-btn:hover:not(:disabled) { opacity: 0.85; transform: translateY(-1px); }
.esf-next-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.esf-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px; font-family: inherit; line-height: 1.5;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%; box-sizing: border-box;
  min-height: 84px; resize: vertical;
}
.esf-textarea::placeholder { color: rgba(255,255,255,0.22); }
.esf-textarea:focus { border-color: rgba(233,75,60,0.6); background: rgba(233,75,60,0.06); }
.esf-hint {
  font-size: 12px; color: rgba(255,255,255,0.32);
  margin-top: -2px;
}
.esf-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.esf-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  font-size: 13px; font-weight: 600; font-family: inherit;
  padding: 9px 14px; border-radius: 100px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  user-select: none;
}
.esf-pill:hover { border-color: rgba(233,75,60,0.45); color: #fff; }
.esf-pill.active {
  background: rgba(233,75,60,0.18);
  border-color: rgba(233,75,60,0.55);
  color: #FFD5D2;
}
.esf-success {
  text-align: center;
  padding: 36px 24px;
}
.esf-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(233,75,60,0.18);
  border: 1px solid rgba(233,75,60,0.55);
  color: #FF8F85;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 18px;
}
.esf-success-title {
  font-size: 22px; font-weight: 800; color: #fff;
  margin: 0 0 8px;
}
.esf-success-text {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.6; max-width: 440px; margin: 0 auto;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Base state: elements start invisible and shifted */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-40px);
}
[data-reveal="right"] {
  opacity: 0;
  transform: translateX(40px);
}
[data-reveal="scale"] {
  opacity: 0;
  transform: scale(0.92);
}
[data-reveal="fade"] {
  opacity: 0;
  transform: none;
}

/* Revealed state */
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children — each child delays slightly */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ============================================================
   SMOOTH SECTION TRANSITIONS
   ============================================================ */

/* Dark-to-light transition gradient (placed on the light section) */
.section-fade-in-top {
  position: relative;
}
.section-fade-in-top::before {
  content: '';
  position: absolute;
  top: -120px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom,
    var(--transition-from, var(--black)) 0%,
    var(--transition-to, var(--white)) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Light-to-dark transition gradient */
.section-fade-out-bottom {
  position: relative;
}
.section-fade-out-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--transition-to, var(--black)) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   SCROLL INDICATOR (Hero)
   ============================================================ */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0.5;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
.scroll-indicator-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator-dot {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: scroll-dot 2.4s ease-in-out infinite;
}
.scroll-indicator-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0.2; }
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.25; }
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.img-placeholder.on-light {
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
  border-color: rgba(0,0,0,0.1);
}
.img-placeholder-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding: 32px;
  text-align: center;
}
.img-placeholder-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(233,75,60,0.12);
  border: 1px solid rgba(233,75,60,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  font-size: 20px;
}
.img-placeholder-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.img-placeholder.on-light .img-placeholder-label {
  color: rgba(0,0,0,0.3);
}
.img-placeholder-suggestion {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-style: italic;
  max-width: 240px;
  line-height: 1.5;
}
.img-placeholder.on-light .img-placeholder-suggestion {
  color: rgba(0,0,0,0.2);
}

/* ============================================================
   PROGRESS BAR (subtle, at very top)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  z-index: 200;
  transform-origin: left;
  transition: transform 0.1s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(233,75,60,0.4);
}

/* ============================================================
   SECTION DIVIDER ACCENTS
   ============================================================ */
.section-divider {
  width: 100%;
  height: 1px;
  position: relative;
  overflow: visible;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { max-width: 560px; }
  .leistungen-boxes { grid-template-columns: 1fr; gap: 80px; max-width: 480px; }
  .ki-fakten-grid { grid-template-columns: 1fr; max-width: 480px; }
  /* hex: W=180 H=208 (180×1.1547), mt=-52 (H/4), off=90 (W/2)
     container width = 90 + 4×180 = 810px                        */
  .hex-cell { width: 180px; height: 208px; }
  .honeycomb-row + .honeycomb-row { margin-top: -52px; }
  .honeycomb-row-offset { margin-left: 90px; }
  .hex-filled::before, .hex-empty::before { inset: 6px; }
  .hex-filled::after, .hex-empty::after { inset: 3px; }
  .hex-marker { font-size: 16px; }
  .hex-title { font-size: 12px; }
  .hex-text { font-size: 9.5px; }
  /* Honey drip: scaled to hex 06 corner at comb (810, 312).
     Path point (230, 5) → scaled (188, 4). Origin (622, 308). */
  .honey-drip-wrap { right: -8px; top: 308px; }
  .honey-drip-svg { width: 196px; height: 196px; }
  .ueber-inner { grid-template-columns: 1fr; gap: 48px; }
  .ueber-portrait-wrap { position: static; max-width: 380px; }
  .ueber-ansatz-grid { grid-template-columns: 1fr; gap: 18px; }
  .ueber-ansatz, .ueber-faq { padding: 80px 24px; }
  .detail-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .detail-package-visual { position: static; max-width: 360px; }
  .detail-deliver-list { grid-template-columns: 1fr; }
  .bee-nav-links a:not(.bee-nav-cta) { display: none; }
  .bee-nav-logo-sub { display: none; }
}

@media (max-width: 640px) {
  /* hex: W=130 H=150 (130×1.1547), mt=-37 (H/4), off=65 (W/2)
     container width = 65 + 4×130 = 585px                        */
  .hex-cell { width: 130px; height: 150px; }
  .honeycomb-row + .honeycomb-row { margin-top: -37px; }
  .honeycomb-row-offset { margin-left: 65px; }
  .hex-filled::before, .hex-empty::before { inset: 5px; }
  .hex-filled::after, .hex-empty::after { inset: 2px; }
  .hex-marker { font-size: 14px; margin-bottom: 5px; }
  .hex-title { font-size: 9px; margin-bottom: 4px; line-height: 1.2; }
  .hex-text { display: none; }
  .hex-inner { padding: 27% 13%; }
  /* Honey drip: scaled to hex 06 corner at comb (585, 225).
     Path point (230, 5) → scaled (136, 3). Origin (449, 222). */
  .honey-drip-wrap { right: -6px; top: 222px; }
  .honey-drip-svg { width: 142px; height: 142px; }
}

@media (max-width: 480px) {
  /* hex: W=85 H=98 (85×1.1547), mt=-25 (H/4), off=43 (W/2)
     container width = 43 + 4×85 = 383px → fits ~400px viewport  */
  .hex-cell { width: 85px; height: 98px; }
  .honeycomb-row + .honeycomb-row { margin-top: -25px; }
  .honeycomb-row-offset { margin-left: 43px; }
  .hex-filled::before, .hex-empty::before { inset: 4px; }
  .hex-filled::after, .hex-empty::after { inset: 2px; }
  .hex-marker { font-size: 9px; margin-bottom: 2px; letter-spacing: 1.5px; }
  .hex-title { font-size: 6.5px; margin-bottom: 0; line-height: 1.15; }
  .hex-text { display: none; }
  .hex-inner { padding: 27% 8%; }
  .honey-drip-wrap { display: none; }   /* hide drip on very small screens */
  .hero { padding: 120px 20px 80px; }
  .leistungen, .vorteile, .ueber { padding: 100px 20px; }
  .ueber-ansatz, .ueber-faq { padding: 64px 20px; }
  .ueber-ansatz-step { padding: 26px 22px; }
  .ueber-faq-q { font-size: 16px; }
  .ueber-faq-row { padding: 22px 4px; }
  .bee-nav-float-wrap { padding: 0 12px; top: 0; }
  .bee-nav-float { height: 68px; padding: 0 10px 0 14px; border-radius: 0 0 18px 18px; }
  .bee-nav-logo-img { height: 36px; }
  .bee-nav-logo-main { font-size: 18px; }
  .projekte-hero { padding: 120px 20px 72px; }
  .projekte-list { padding: 56px 20px 80px; }
  .projekt-card { padding: 32px 24px; }
  .esf-hero { padding: 120px 20px 64px; }
  .esf-body { padding: 40px 20px 80px; }
  .esf-row { grid-template-columns: 1fr; }
}
