/* ════════════════════════════════════════
   LOCAL FONTS
════════════════════════════════════════ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plusjakartasans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ════════════════════════════════════════
   RESET & CSS CUSTOM PROPERTIES
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Farben */
  --bg: #09090b;
  --surface: #111117;
  --surface2: #18181f;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.11);
  --text: #f0edf8;
  --muted: rgba(240,237,248,0.65);
  --muted2: rgba(240,237,248,0.70);
  --pink: #e8449a;
  --purple: #7b5cf5;
  --grad: linear-gradient(110deg, #e8449a 0%, #7b5cf5 100%);
  --gradui: linear-gradient(110deg, #F06BB4 0%, #8C6DF0 100%);

  /* Fonts */
  --font-display: 'Space Grotesk', sans-serif;  /* Nur für Hero-Headline */
  --font-body: 'Plus Jakarta Sans', sans-serif; /* Alles andere */
}

html { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ════════════════════════════════════════
   SHARED / REUSABLE COMPONENTS
════════════════════════════════════════ */

/* Gradient-Text Utility */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Label Pill */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.section-label-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Section Title – Plus Jakarta Sans (clean, lesbar) */
.sec-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

/* Section Subtitle */
.sec-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}

/* Primary CTA Button */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(180,80,200,0.20);
  transition: opacity 0.2s, transform 0.15s;
}
.btn-main:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-arr {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}

/* Ghost Button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border2);
  font-family: var(--font-body);
  padding: 14px 24px;
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(232,68,154,0.4); background: rgba(232,68,154,0.06); }

/* ════════════════════════════════════════
   SPA PAGE ROUTING
════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,0.82);
  backdrop-filter: blur(20px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.logo img { width: 60px; height: 60px; image-rendering: smooth; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links li a,
.nav-links li span { font-size: 16px; color: var(--muted); cursor: pointer; transition: color 0.2s; text-decoration: none; }
.nav-links li a:hover,
.nav-links li span:hover { color: var(--text); }
.nav-links li a.nav-active { color: #fff; }

.nav-cta {
  color: var(--text) !important;
  background: var(--grad);
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-body);
  border: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Mobile Navigation */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.nav-mobile-btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.nav-mobile-btn span:nth-child(1) { top: 0; }
.nav-mobile-btn span:nth-child(2) { top: 8px; }
.nav-mobile-btn span:nth-child(3) { top: 16px; }
/* All three lines slide to centre (top: 8px) then rotate ±45° to form a clean ✕ */
.nav-mobile-btn.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.nav-mobile-menu {
  display: flex;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(9,9,11,0.97);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  backdrop-filter: blur(20px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.nav-mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile-menu span,
.nav-mobile-menu a:not(.btn-main) {
  font-size: 16px;
  color: var(--muted2);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
}
.nav-mobile-menu span:hover,
.nav-mobile-menu a:not(.btn-main):hover { color: var(--text); }

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 48px 0;
  position: relative;
  overflow: visible;
  z-index: 2;
}

/* Subtiles Gitter im Hintergrund */
.grid-bg {
  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: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Blobs / Farbverläufe */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.blob-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(232,68,154,0.16), transparent 70%); top: -120px; left: -80px; animation: drift1 12s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(123,92,245,0.18), transparent 70%); bottom: 40px; right: -60px; animation: drift2 16s ease-in-out infinite alternate; }
.blob-3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(180,80,200,0.10), transparent 70%); top: 50%; left: 45%; animation: drift1 9s ease-in-out infinite alternate-reverse; }

.hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 980px;
  width: 100%;
  padding-bottom: 40px;
}

/* Hero Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 52px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.badge-pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Hero Headline – SYNE (Display Font, nur hier!) */
.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 8vw, 118px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
  overflow-wrap: break-word;
}
.hl-row { display: block; overflow: visible; padding-bottom: 0.25em; }
.hl-row span { display: inline-block; animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) both; }
.hl-row:nth-child(1) span { animation-delay: 0.15s; }
.hl-row:nth-child(2) span { animation-delay: 0.28s; }
.hl-row:nth-child(3) span { animation-delay: 0.42s; }

/* Rotating Hero Headline */
.headline-rotate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.2em;
}
.hl-static {
  display: inline-block;
  animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.15s;
}
.hl-rotate-wrap {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  position: relative;
  animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.28s;
}
.hl-rotate-track {
  display: flex;
  flex-direction: column;
  animation: rotateWords 7s cubic-bezier(0.4,0,0.2,1) infinite;
  animation-delay: 1.5s;
}
.hl-rotate-track span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  flex-shrink: 0;
}
@keyframes rotateWords {
  0%, 22% { transform: translateY(0); }
  25%, 47% { transform: translateY(-25%); }
  50%, 72% { transform: translateY(-50%); }
  75%, 100% { transform: translateY(-75%); }
}

.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 52px;
  font-weight: 300;
  animation: fadeUp 0.7s 0.55s ease both;
}

.ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: fadeUp 0.7s 0.7s ease both;
  flex-wrap: wrap;
}

.ghost-circle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover .ghost-circle { border-color: rgba(255,255,255,0.3); transform: translateX(4px); }

/* ── Floating Badges (links & rechts, NICHT Mitte) ── */
.float-badge {
  position: absolute;
  background: rgba(12,12,18,0.94);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(20px);
  z-index: 20;
  will-change: transform;
  transform: translateZ(0);
}
.fb-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.fb-title { font-size: 12px; font-weight: 500; color: var(--text); line-height: 1.2; }
.fb-sub { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* Positionen: Abwechselnd links und rechts, gleichmäßiger Abstand */
.fb1 { top: 16%; left: 6%; animation: fadeUp 0.6s 0.9s ease both, floatA 7s 1.5s ease-in-out infinite; }
.fb2 { top: 16%; right: 6%; animation: fadeUp 0.6s 1.0s ease both, floatB 8s 1.6s ease-in-out infinite; }
.fb3 { top: 36%; left: 4%; animation: fadeUp 0.6s 1.1s ease both, floatA 9s 1.7s ease-in-out infinite; }
.fb4 { top: 36%; right: 4%; animation: fadeUp 0.6s 1.2s ease both, floatB 7s 1.8s ease-in-out infinite; }
.fb5 { top: 56%; left: 5%; animation: fadeUp 0.6s 1.3s ease both, floatA 10s 1.9s ease-in-out infinite; }
.fb6 { top: 56%; right: 5%; animation: fadeUp 0.6s 1.4s ease both, floatB 6s 2.0s ease-in-out infinite; }
/* fb7 Wartungspaket: RECHTS unten */
.fb7 { top: 76%; right: 4%; animation: fadeUp 0.6s 1.5s ease both, floatB 8s 2.1s ease-in-out infinite; }
/* fb8 Einzigartig: Links unten */
.fb8 { top: 76%; left: 6%; animation: fadeUp 0.6s 1.6s ease both, floatA 9s 2.2s ease-in-out infinite; }

/* ── Stats Bar ── */
.stats {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  animation: fadeUp 0.7s 0.9s ease both;
}
.stat { padding: 28px 32px; border-right: 1px solid var(--border); text-align: center; }
.stat:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }

/* ── Marquee ── */
.marquee-wrap { border-top: 1px solid var(--border); padding: 14px 0; overflow: hidden; background: var(--surface); }
.marquee-track { display: flex; animation: marquee 28s linear infinite; white-space: nowrap; }
.m-item { display: flex; align-items: center; gap: 32px; padding: 0 44px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.m-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }

/* ════════════════════════════════════════
   FEATURES / LEISTUNGEN
════════════════════════════════════════ */
.features-section { padding: 120px 48px; max-width: 1280px; margin: 0 auto; position: relative; overflow: visible; }
.features-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -200px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232,68,154,0.08), transparent 70%);
  pointer-events: none;
}
.features-header { text-align: center; margin-bottom: 72px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { background: var(--surface2); }
.feature-card:hover::before { opacity: 0.04; }

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Feature Titel: Plus Jakarta Sans (clean, gut lesbar) */
.feat-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.feat-sub { font-size: 14px; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }

/* ════════════════════════════════════════
   STEPS / PROZESS
════════════════════════════════════════ */
.steps-section {
  padding: 120px 48px;
  position: relative;
}
.steps-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,92,245,0.10), transparent 70%);
  pointer-events: none;
}
.steps-inner { max-width: 1280px; margin: 0 auto; }
.steps-header { text-align: center; margin-bottom: 72px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color 0.6s ease-out, transform 0.6s ease-out;
}
.step-card:hover { border-color: rgba(232,68,154,0.3); transform: translateY(-4px); }
.step-card:hover .step-num { opacity: 1; }
.step-card.step-active { border-color: rgba(232,68,154,0.3); transform: translateY(-4px); transition: border-color 0.3s ease-out, transform 0.3s ease-out; }
.step-card.step-active .step-num { opacity: 1; }

.step-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.6s ease-out;
}
.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--pink);
  cursor: pointer;
  transition: gap 0.2s;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.step-link:hover { gap: 10px; }

/* ════════════════════════════════════════
   WARUM UIFactory (Vergleich)
════════════════════════════════════════ */
.warum-section { padding: 120px 48px; max-width: 1280px; margin: 0 auto; }

.warum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.warum-card { border-radius: 20px; padding: 40px; }
.warum-card.bad { background: var(--surface); border: 1px solid var(--border); }
.warum-card.good {
  background: var(--surface);
  border: 1px solid rgba(232,68,154,0.25);
  position: relative;
  overflow: hidden;
}
.warum-card.good::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0.04; }

.warum-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.warum-list { list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.warum-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.wi {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.warum-card.bad .wi { background: rgba(255,255,255,0.06); color: var(--muted); }
.warum-card.good .wi { background: var(--grad); color: white; }
.warum-card.good .warum-list li { color: var(--text); }

/* ════════════════════════════════════════
   REFERENZEN SECTION (Homepage Preview)
   – Verwendet die gleichen Cards wie die
     Referenzen-Seite (ref-page-card Stil)
════════════════════════════════════════ */
.refs-section { padding: 120px 48px; position: relative; }
.refs-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(180,80,200,0.08), transparent 70%);
  pointer-events: none;
}
.refs-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }

.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ════════════════════════════════════════
   REFERENZEN PAGE CARDS (shared style)
════════════════════════════════════════ */
.refs-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 48px 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.ref-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.ref-page-card:hover { border-color: rgba(232,68,154,0.3); transform: translateY(-4px); }

.ref-page-img {
  aspect-ratio: 16/9;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ref-page-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ref-page-img-inner { text-align: center; }
.ref-page-img-icon { font-size: 36px; margin-bottom: 8px; }
.ref-page-img-label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }

.ref-page-body { padding: 24px; }
.ref-page-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ref-page-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ref-tag {
  font-size: 11px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}
.ref-page-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.ref-page-title--muted { color: var(--muted); }
.ref-tag--muted { opacity: 0.5; }
.ref-page-desc--muted { color: var(--border2); }

/* ════════════════════════════════════════
   REFERENZ DETAIL PAGE (Projekt-Einzelseite)
════════════════════════════════════════ */
.ref-detail { padding: 0 48px 120px; max-width: 900px; margin: 0 auto; }

.ref-detail-visit { margin-bottom: 32px; }
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  background: rgba(232,68,154,0.06);
  border: 1px solid rgba(232,68,154,0.4);
  font-family: var(--font-body);
  padding: 10px 20px;
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-sm:hover { border-color: rgba(232,68,154,0.7); background: rgba(232,68,154,0.14); }

.ref-detail-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ref-detail-hero-img {
  aspect-ratio: 16/9;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ref-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref-detail-hero-icon { font-size: 64px; }

.ref-detail-meta {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ref-detail-meta-item {}
.ref-detail-meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ref-detail-meta-val { font-size: 15px; font-weight: 500; color: var(--text); }

.ref-detail-story { margin-bottom: 48px; }
.ref-detail-story h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.ref-detail-story p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.ref-detail-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.ref-detail-service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.ref-detail-service-icon { font-size: 28px; margin-bottom: 10px; }
.ref-detail-service-name { font-size: 14px; font-weight: 600; color: var(--text); }

/* Extra-Gallery für Referenz-Detailseite */
.ref-detail-extra { margin-bottom: 48px; }
.ref-detail-extra h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.ref-detail-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.ref-detail-extra-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 480px;
}
.ref-detail-extra-item img { width: 100%; display: block; }
.ref-detail-extra-item .ref-page-tags { padding: 16px; }

/* 3D Visitenkarten-Viewer */
.card3d-viewer {
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  cursor: grab;
  user-select: none;
}
.card3d-viewer:active { cursor: grabbing; }
.card3d-scene {
  width: 340px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
.card3d-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;

  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.card3d-face img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; user-select: none; }
.card3d-face--back {
  transform: rotateY(180deg);
}
.card3d-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* ════════════════════════════════════════
   GRAFIKTEAM
════════════════════════════════════════ */
.grafik-section { padding: 120px 48px; max-width: 1280px; margin: 0 auto; position: relative; }
.grafik-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232,68,154,0.07), transparent 70%);
  pointer-events: none;
}
.grafik-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.grafik-visuals { display: flex; gap: 20px; align-items: center; justify-content: center; perspective: 800px; }
.grafik-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  cursor: default;
}
.grafik-card:hover { box-shadow: 0 20px 60px rgba(123,92,245,0.2); }
.grafik-card.flyer { width: 140px; flex-shrink: 0; }
.grafik-card.vk { flex: 1; }
.grafik-card img { width: 100%; height: auto; border-radius: 16px; display: block; }
.grafik-card-icon { font-size: 32px; }
.grafik-card-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ════════════════════════════════════════
   REVIEWS / KUNDENSTIMMEN
════════════════════════════════════════ */
.reviews-section { padding: 120px 48px; background: var(--bg); position: relative; }
.reviews-section::before {
  content: '';
  position: absolute;
  top: -160px;
  left: -180px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232,68,154,0.10), transparent 70%);
  pointer-events: none;
}
.reviews-inner { max-width: 1280px; margin: 0 auto; }

.ratings-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
}
.rating-name { font-size: 13px; font-weight: 500; color: var(--text); }
.rating-stars { font-size: 12px; color: #f5c518; }
.rating-score {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rating-count { font-size: 11px; color: var(--muted); margin-top: 2px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.review-name { font-size: 14px; font-weight: 500; color: var(--text); }
.review-stars { font-size: 12px; color: #f5c518; margin-top: 2px; }
.review-text { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-wrap { padding: 120px 48px; max-width: 860px; margin: 0 auto; position: relative; scroll-margin-top: 80px; }
.faq-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -300px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,92,245,0.09), transparent 70%);
  pointer-events: none;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 20px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--pink); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s, border-color 0.2s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--pink); background: rgba(232,68,154,0.1); color: var(--pink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding-bottom: 22px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 300px; }

/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.cta-section {
  padding: 100px 48px;
  background: var(--bg);
  position: relative;
  overflow: visible;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(180,80,200,0.13), transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 64px 48px 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-brand-title {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  background: var(--gradui);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-col-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-col a,
.footer-col span { display: block; font-size: 13px; color: rgba(240,237,248,0.55); margin-bottom: 10px; cursor: pointer; transition: color 0.2s; }
.footer-col a:hover,
.footer-col span:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ════════════════════════════════════════
   PAGE HEADER (Subpages)
════════════════════════════════════════ */
.page-header {
  padding: 140px 48px 80px;
  text-align: center;
  position: relative;
  overflow: visible;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(180,80,200,0.12), transparent 70%);
  pointer-events: none;
}
.page-header .grid-bg { mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, black 20%, transparent 80%); }
.page-header-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-header .sec-sub { margin: 16px auto 0; }

/* ════════════════════════════════════════
   ÜBER UNS PAGE
════════════════════════════════════════ */
.about-section { padding: 0 48px 120px; max-width: 1280px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 80px; }
.about-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-avatar-inner { text-align: center; }
.about-avatar-icon { font-size: 64px; margin-bottom: 12px; }
.about-avatar-label { font-size: 13px; color: var(--muted); }
.about-text .sec-title { margin-bottom: 24px; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.about-value-icon { font-size: 24px; margin-bottom: 12px; }
.about-value-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.about-value-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ════════════════════════════════════════
   DYNAMIC CONTACT FORM (Anfragen)
════════════════════════════════════════ */
.anfragen-wrap {
  padding: 140px 48px 120px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.anfragen-wrap::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(180,80,200,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.anfragen-inner { position: relative; z-index: 1; }
.anfragen-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 12px;
}
.anfragen-sub { font-size: 15px; color: var(--muted); text-align: center; margin-bottom: 60px; }

/* Form Card */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 48px; }

/* Progress */
.progress-wrap { margin-bottom: 40px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.progress-bar-bg { height: 4px; background: rgba(255,255,255,0.07); border-radius: 100px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--grad); border-radius: 100px; transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp 0.4s ease both; }
.form-step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

/* Service Selection */
.service-grid { display: grid; gap: 12px; }
.service-option {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-option:hover { border-color: rgba(232,68,154,0.35); background: rgba(232,68,154,0.04); }
.service-option.selected { border-color: var(--pink); background: rgba(232,68,154,0.08); }
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.service-name { font-size: 15px; font-weight: 400; color: var(--text); }
.service-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* "Nichts passendes" Hinweis */
.nichts-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nichts-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.nichts-text { flex: 1; }
.nichts-text strong { font-size: 14px; font-weight: 500; color: var(--text); display: block; margin-bottom: 3px; }
.nichts-text span { font-size: 12px; color: var(--muted); }

/* Form Felder */
.form-group { margin-bottom: 24px; }
.form-label { font-size: 13px; color: var(--muted2); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.form-label .required { color: var(--pink); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(240,237,248,0.25); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: rgba(232,68,154,0.5); }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--surface2); }

/* Toggle Buttons (Ja/Nein) */
.toggle-group { display: flex; gap: 10px; }
.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.toggle-btn.active { border-color: var(--pink); background: rgba(232,68,154,0.1); color: var(--text); }

/* Checkboxen */
.checkbox-group { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-item input { display: none; }
.checkbox-box {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  background: var(--bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.checkbox-item.checked .checkbox-box { border-color: var(--pink); background: var(--grad); }
.checkbox-text strong { font-size: 14px; font-weight: 500; color: var(--text); display: block; }
.checkbox-text span { font-size: 12px; color: var(--muted); }

/* Tooltip */
.tooltip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--muted);
  cursor: help;
}

/* Form Navigation */
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }

/* Erfolgs-Zustand */
.success-state { text-align: center; padding: 20px 0; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; }
.success-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.success-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 360px; margin: 0 auto 32px; }

/* ════════════════════════════════════════
   KONTAKT PAGE
════════════════════════════════════════ */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 0 48px 120px; max-width: 1100px; margin: 0 auto; }
.kontakt-info h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.kontakt-info p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.contact-item-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-item-val { font-size: 14px; color: var(--text); margin-top: 2px; }
.social-row { display: flex; gap: 12px; margin-top: 32px; }
.social-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: border-color 0.2s; cursor: pointer; text-decoration: none; }
.social-btn img { display: block; }
.social-btn:hover { border-color: rgba(232,68,154,0.4); }
.kontakt-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.kontakt-form-card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

/* ════════════════════════════════════════
   IMPRESSUM / DATENSCHUTZ
════════════════════════════════════════ */
.legal-wrap { padding: 140px 48px 120px; max-width: 800px; margin: 0 auto; }
.legal-wrap h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text);
}
.legal-section p, .legal-section li { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.legal-section ul { padding-left: 20px; }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */

/* Globales Erfolgs-Overlay (Formulare & Kontakt) */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.success-overlay-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.success-overlay.visible .success-overlay-card {
  transform: translateY(0) scale(1);
}
.success-overlay-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 28px;
  animation: successPop 0.6s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}
.success-overlay-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.success-overlay-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.success-overlay-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.success-overlay-close:hover { opacity: 0.88; transform: translateY(-2px); }

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Konfetti-Punkte Animation */
.confetti-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: confettiFall 1.5s ease-out forwards;
  pointer-events: none;
}
@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(120px) scale(0.3); }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(40px,25px); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-30px,20px); } }
@keyframes floatA { 0%,100% { transform: translateY(0) translateZ(0); } 50% { transform: translateY(-10px) translateZ(0); } }
@keyframes floatB { 0%,100% { transform: translateY(0) translateZ(0); } 50% { transform: translateY(9px) translateZ(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════
   REVIEW PLATFORM POPUP
════════════════════════════════════════ */
.review-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9,9,11,0.82);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.review-popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.review-popup-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.review-popup-overlay.visible .review-popup-card {
  transform: translateY(0) scale(1);
}
.review-popup-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.review-popup-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.review-popup-btns { display: flex; flex-direction: column; gap: 12px; }
.review-platform-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 16px 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.review-platform-btn:hover { border-color: rgba(232,68,154,0.4); background: rgba(232,68,154,0.06); }
.review-platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.review-popup-close {
  margin-top: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.review-popup-close:hover { color: var(--text); }

/* ════════════════════════════════════════
   UTILITY CLASSES (replaces inline styles)
════════════════════════════════════════ */

/* Float badge icon backgrounds */
.fb1 .fb-icon { background: rgba(232,68,154,0.12); }
.fb2 .fb-icon { background: rgba(123,92,245,0.14); }
.fb3 .fb-icon { background: rgba(180,80,200,0.12); }
.fb4 .fb-icon { background: rgba(232,68,154,0.10); }
.fb5 .fb-icon { background: rgba(123,92,245,0.12); }
.fb6 .fb-icon { background: rgba(180,80,200,0.10); }
.fb7 .fb-icon { background: rgba(232,68,154,0.12); }
.fb8 .fb-icon { background: rgba(123,92,245,0.12); }

/* Section header wrapper */
.section-header { text-align: center; margin-bottom: 72px; }
.section-header--reviews { text-align: center; margin-bottom: 48px; }
.section-header--faq { text-align: center; margin-bottom: 56px; }
.section-header--refs-cta { text-align: center; }
.section-header--more-reviews { text-align: center; margin-top: 36px; }

/* Section subtitle spacing */
.sec-sub--spaced { margin: 16px auto 0; }
.sec-sub--grafik { margin-bottom: 32px; }
.sec-sub--cta { margin: 16px auto 32px; }

/* Warum card title muted variant */
.warum-card.bad .warum-card-title { color: var(--muted); }

/* Review platform popup shared styles */
.review-platform-icon--google { background: rgba(66,133,244,0.12); }
.review-platform-icon--trustpilot { background: rgba(255,255,255,0.1); }
.review-platform-icon img { display: block; }
.review-platform-info { text-align: left; }
.review-platform-name { font-size: 15px; font-weight: 600; }
.review-platform-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Button size variants */
.btn-main--sm { padding: 12px 20px; font-size: 13px; }
.btn-main--lg { font-size: 16px; padding: 18px 32px; }
.btn-main--contact { padding: 10px 18px; font-size: 13px; flex-shrink: 0; }
.btn-main--full { width: 100%; justify-content: center; }
.btn-main--refs { font-size: 15px; padding: 16px 28px; }
.btn-arr--sm { width: 22px; height: 22px; }
.btn-arr--lg { width: 32px; height: 32px; }
.btn-outline--sm { font-size: 13px; padding: 11px 22px; }
.btn-outline--back { margin-top: 32px; }

/* Success overlay arrow span */
.success-arrow { font-size: 16px; }

/* Mobile menu CTA */
.nav-mobile-cta { width: 100%; justify-content: center; margin-top: 8px; }

/* Referenz detail flex wrapper */
.ref-detail-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Referenz tags with bottom margin */
.ref-page-tags--spaced { margin-bottom: 12px; }

/* Contact styles */
.contact-tel-link { color: var(--text); }
.form-textarea--contact { min-height: 120px; }

/* About values section */
.about-values-wrap { margin-top: 80px; }
.about-values-title { text-align: center; margin-bottom: 48px; }

/* Anfragen progress bar */
.progress-bar-fill { transition: width 0.3s ease; }

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ref-detail-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .hero { padding: 104px 20px 0; }
  .hero-inner { padding-bottom: 10px; }

  /* Floating Badges auf Mobile ausblenden */
  .fb1,.fb2,.fb3,.fb4,.fb5,.fb6,.fb7,.fb8 { display: none; }

  .stats { grid-template-columns: 1fr 1fr; border-top: none; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .features-section, .warum-section, .grafik-section, .refs-section { padding: 80px 20px; }
  .steps-section, .reviews-section, .cta-section, .faq-wrap { padding: 80px 20px; }
  .features-grid, .steps-grid, .refs-grid, .reviews-grid { grid-template-columns: 1fr; }
  .warum-grid, .grafik-inner, .about-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .refs-page-grid { grid-template-columns: 1fr; padding: 0 20px 80px; }
  .about-section, .anfragen-wrap, .legal-wrap { padding-left: 20px; padding-right: 20px; }
  .legal-wrap h1 { font-size: clamp(22px, 7vw, 36px); }
  .form-card { padding: 28px 20px; }
  .about-values { grid-template-columns: 1fr; }
  footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .page-header { padding: 120px 20px 60px; }
  .kontakt-grid { padding: 0 20px 80px; }
  .ref-detail { padding: 0 20px 80px; }
  .ref-detail-meta { grid-template-columns: 1fr; }
  .ref-detail-services { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .headline { font-size: clamp(32px, 11vw, 56px); }
  .hero-sub { font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Widescreen: Floating Badges etwas weiter außen & größer */
@media (min-width: 1400px) {
  .fb1 { left: 8%; }
  .fb2 { right: 8%; }
  .fb3 { left: 6%; }
  .fb4 { right: 6%; }
  .fb5 { left: 7%; }
  .fb6 { right: 7%; }
  .fb7 { right: 6%; }
  .fb8 { left: 8%; }
  .float-badge { padding: 14px 20px; gap: 12px; border-radius: 16px; }
  .fb-title { font-size: 14px; }
  .fb-sub { font-size: 11px; }
  .fb-icon { width: 42px; height: 42px; border-radius: 11px; font-size: 20px; }
}
