/* ====== DESIGN-TOKENS ====== */
:root {
  /* ===== DARK FIRST DESIGN TOKENS ===== */
  --bg: #07131a;
  --bg-alt: #0b0f17;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  --border-subtle: rgba(148, 163, 184, 0.18);

  --accent-blue: #35d8e8;
  --accent-orange: #ffb339;

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --container: 1120px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter",
    "SF Pro Text", "Segoe UI", sans-serif;
}

}

/* ====== RESET ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;

  background:
    radial-gradient(1200px 800px at 18% 10%, rgba(53, 216, 232, 0.14), transparent 55%),
    radial-gradient(900px 700px at 88% 8%, rgba(255, 179, 57, 0.12), transparent 55%),
    radial-gradient(1100px 900px at 25% 95%, rgba(53, 216, 232, 0.12), transparent 60%),
    linear-gradient(135deg, #07131a 0%, #071a1f 35%, #0b0f17 70%, #0a0c12 100%);
}


/* ✅ Glow-Orbs über die ganze Seite (weicher, hochwertig) */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 12% 18%, rgba(53, 216, 232, 0.30), transparent 55%),
    radial-gradient(circle at 88% 14%, rgba(255, 179, 57, 0.22), transparent 60%),
    radial-gradient(circle at 20% 88%, rgba(53, 216, 232, 0.18), transparent 62%),
    radial-gradient(circle at 92% 78%, rgba(148, 163, 184, 0.14), transparent 65%);

  filter: blur(2px);
  opacity: 0.95;
  animation: glowDrift 28s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(0, -16px, 0) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translate3d(-12px, 12px, 0) scale(1.01);
    opacity: 0.95;
  }
}

/* ====== GLOBAL LAYOUT ====== */
.section {
  padding: 72px 16px 56px;
  position: relative;
  z-index: 1;
  background: transparent;
  scroll-margin-top: 96px; /* ✅ Onepager Offset für Sticky Nav */
}

.section-inner {
  margin: 0 auto;
  max-width: var(--container);
}

h1, h2, h3 {
  margin: 0;
}

/* ====== TEXT COLORS ON DARK BG ====== */
body {
  color: rgba(255, 255, 255, 0.92);
}

p, .muted, .cases-head p, .stats-header p, .who-sub, .services-head p,
.workflow-head p, .funding-intro, .funding-hint, .cases-cta p {
  color: rgba(255, 255, 255, 0.70);
}

.highlight {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  -webkit-background-clip: text;
  color: transparent;
}

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* ✅ dunkler Glass Header, passend zum Background */
  background: linear-gradient(
    to bottom,
    rgba(7, 19, 26, 0.82),
    rgba(7, 19, 26, 0.62),
    rgba(7, 19, 26, 0.10)
  );

  padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-inner {
  margin: 0 auto;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-img {
  height: 60px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* ✅ CTA Button rechts: Machn-Blau */
.nav-cta {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-blue);
  color: #041014 !important;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(53, 216, 232, 0.22);
  border: 1px solid rgba(53, 216, 232, 0.35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(53, 216, 232, 0.95);
  box-shadow: 0 18px 40px rgba(53, 216, 232, 0.32);
}

/* Mobile-Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  color: #062029;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.38);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(53, 216, 232, 0.35);
}

/* ====== PREMIUM GLOW CARD (EIN STYLE FÜR ALLE BOXEN) ====== */
.glow-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(148, 163, 184, 0.18);

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.28),
    0 0 46px rgba(53, 216, 232, 0.16);

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 18% 12%, rgba(53, 216, 232, 0.22), transparent 50%),
    radial-gradient(circle at 92% 18%, rgba(255, 179, 57, 0.16), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

.glow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.35);
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.34),
    0 0 62px rgba(53, 216, 232, 0.24);
}

/* ====== HERO ====== */
.hero {
  padding-top: 88px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-subline {
  font-size: 0.68em;
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
  display: inline-block;
  transform: translateY(-2px);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.70);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.70);
}

.hero-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* ====== HERO PHONE ====== */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
  width: 290px;
}

.hero-phone-img {
  width: 100%;
  display: block;
}

.phone-screen {
  position: absolute;
  top: 9.7%;
  left: 16%;
  right: 16%;
  bottom: 9.7%;
  border-radius: 26px;
  overflow: hidden;
}

.phone-slide {
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease-out;
  z-index: 1;
}

.phone-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.phone-slide.was-active {
  transform: translateY(0);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-out;
}

.phone-slide-overlay {
  position: absolute;
  bottom: 280px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.phone-slide-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
}

.phone-slide-count {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-orange);
}

/* ====== STATS ====== */
.stats-inner { display: flex; flex-direction: column; gap: 28px; }
.stats-header { text-align: center; }
.stats-header h2 { font-size: 2rem; margin-bottom: 8px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  padding: 28px 26px 24px;
  text-align: center;
}
.stat { /* make it a glow-card */
  border-radius: 26px;
}
.stat { /* attach glow-card visuals */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}
.stat > *{ position:relative; z-index:1; }
.stat:hover{
  transform: translateY(-6px);
  border-color: rgba(53,216,232,0.35);
  box-shadow: 0 34px 78px rgba(0,0,0,0.34), 0 0 62px rgba(53,216,232,0.24);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}
.stat-label {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
}
.stat {
  position: relative;
  border-radius: 26px;
  padding: 32px 28px 26px;

  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.55);

  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.12),
    0 0 50px rgba(53, 216, 232, 0.18);

  display: flex;
  flex-direction: column;      /* ✅ WICHTIG */
  align-items: center;         /* ✅ zentriert */
  text-align: center;

  gap: 6px;                    /* Abstand Zahl → Text */
}

/* ====== TRUSTBAR ====== */
.trustbar { padding-top: 26px; padding-bottom: 26px; }
.trustbar-inner { text-align: center; }
.trust-title { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; }

.trustbar-marquee {
  border-radius: 18px;
  padding: 14px 0;
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 50px rgba(0,0,0,0.26), 0 0 36px rgba(53,216,232,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trustbar-marquee::before,
.trustbar-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trustbar-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(7,19,26,0.95), rgba(7,19,26,0));
}

.trustbar-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(7,19,26,0.95), rgba(7,19,26,0));
}

.trustbar-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: trustbarScroll 150s linear infinite;
  will-change: transform;
  padding: 0 26px;
}

.trustbar-track img {
  height: 34px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.trustbar-track img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(53, 216, 232, 0.18));
}

@keyframes trustbarScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====== WHO ====== */
.who-inner { text-align: center; display: flex; flex-direction: column; gap: 24px; }
.who-inner h2 { font-size: 2.4rem; font-weight: 900; }
.who-sub { max-width: 620px; margin: 0 auto; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ✅ Who Cards: jetzt gleicher Glow wie Services */
.custom-card {
  padding: 38px 32px 34px;
  min-height: 300px;
  text-align: center;
  border-radius: 26px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    var(--card-bg) center/140% auto no-repeat;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);

  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-card::before {
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}

.custom-card > * { position: relative; z-index: 1; }

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.35);
  box-shadow: 0 34px 78px rgba(0,0,0,0.34), 0 0 62px rgba(53,216,232,0.24);
}

.custom-card h3 {
  margin: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.33;
  max-width: 260px;
  color: rgba(255,255,255,0.92);
}

.custom-card p {
  margin-top: 14px;
  margin-bottom: 0;
  min-height: 140px;

  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
  max-width: 320px;
}

/* ====== SERVICES ====== */
.section-services { padding-top: 72px; padding-bottom: 72px; }
.services-inner { display: flex; flex-direction: column; gap: 28px; }
.services-head { text-align: center; }
.section-services h2 { font-size: 2.1rem; font-weight: 900; margin-bottom: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ✅ Services: Reference-Look (dein Lieblingslook) */
.service-card {
  padding: 30px 26px 26px;
  text-align: center;

  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);

  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);
  position: relative;
  overflow: hidden;
  transition: 0.22s ease;

  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.service-card::before {
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.35);
  box-shadow: 0 34px 78px rgba(0,0,0,0.34), 0 0 62px rgba(53,216,232,0.24);
}

.service-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

.service-card p {
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}

/* ====== WORKFLOW ====== */
.section-workflow { position: relative; padding: 78px 16px 86px; }
.workflow-inner { display: flex; flex-direction: column; gap: 26px; }
.workflow-head { text-align: center; }
.workflow-head h2 { font-size: 2.1rem; font-weight: 900; margin: 0 0 10px; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 10px;
}

.workflow-step {
  border-radius: 26px;
  padding: 22px 18px 20px;
  text-align: center;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);

  position: relative;
  overflow: hidden;
  transition: 0.22s ease;
}

.workflow-step::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}

.workflow-step > *{ position:relative; z-index:1; }

.workflow-step:hover{
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.35);
  box-shadow: 0 34px 78px rgba(0,0,0,0.34), 0 0 62px rgba(53,216,232,0.24);
}

.workflow-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #062029;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.workflow-step h3 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  font-weight: 900;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
}

.workflow-step p {
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
  line-height: 1.55;
  min-height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* ====== FUNDING ====== */
.section-funding { position: relative; padding-top: 96px; padding-bottom: 96px; }
.funding-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

.funding-head h2 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  max-width: 820px;
}

.funding-subline {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
  color: rgba(255,255,255,0.70);
}

.funding-grid { width: 100%; max-width: 760px; }

/* ✅ Funding Box: gleicher Glow wie Services */
.funding-list {
  list-style: none;
  padding: 28px 32px;
  margin: 0;

  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);

  position: relative;
  overflow: hidden;

  text-align: left;
}

.funding-list::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}

.funding-list > * { position: relative; z-index: 1; }

.funding-list li {
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.funding-list li:last-child { margin-bottom: 0; }

.funding-note {
  font-size: 0.98rem;
  font-weight: 800;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

.funding-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  max-width: 720px;
  margin: 0;
}

/* ====== CASES ====== */
.section-cases { position: relative; background: transparent; overflow: visible; }
.section-cases::before,
.section-cases::after { content: none !important; }

.cases-inner { display: flex; flex-direction: column; gap: 22px; }
.cases-head { text-align: center; }
.cases-head h2 { font-size: 2.1rem; font-weight: 900; margin-bottom: 10px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.case-card {
  border-radius: 26px;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.16);
  position: relative;
  overflow: hidden;
  transition: 0.22s ease;

  display: flex;
  flex-direction: column;
  gap: 14px;

  text-align: center;
  align-items: center;

  min-height: 360px;
}

.case-card::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.22), transparent 50%),
              radial-gradient(circle at 92% 18%, rgba(255,179,57,0.16), transparent 55%);
  opacity:.9; pointer-events:none;
}
.case-card > *{ position:relative; z-index:1; }

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.35);
  box-shadow: 0 34px 78px rgba(0,0,0,0.34), 0 0 62px rgba(53,216,232,0.24);
}

.case-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}

.case-top h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.25;
  max-width: 320px;
  color: rgba(255,255,255,0.92);
}

.case-metric {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.case-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 6px;
}

.case-metric-number {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  color: rgba(255,255,255,0.92);
}

.case-metric-unit {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--accent-orange);
  margin-left: 6px;
}

.case-details {
  width: 100%;
  max-width: 360px;
  display: grid;
  gap: 10px;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  text-align: center;
}

.case-key {
  font-size: 0.74rem;
  font-weight: 900;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.case-val {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

.case-note {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.78rem;
  font-style: normal;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
}

/* ====== KONTAKT ====== */
.section-contact {
  background: rgba(0,0,0,0.20);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.contact-left h2 { color: rgba(255,255,255,0.92); }

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

.contact-list li {
  margin-bottom: 6px;
  color: rgba(255,255,255,0.70);
}

.contact-form {
  border-radius: var(--radius-xl);
  padding: 18px 18px 14px;
  font-size: 0.9rem;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28), 0 0 46px rgba(53,216,232,0.12);

  position: relative;
  overflow: hidden;
}

.contact-form::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 18% 12%, rgba(53,216,232,0.18), transparent 50%);
  opacity:.9; pointer-events:none;
}

.contact-form > * { position: relative; z-index: 1; }

.contact-form h3 { margin-bottom: 10px; color: rgba(255,255,255,0.92); }

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.70);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 10px 10px;
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.88);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(53, 216, 232, 0.35);
  border-color: rgba(53, 216, 232, 0.35);
}

.btn-full { width: 100%; margin-top: 2px; }

.contact-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* ====== FOOTER ====== */
.footer {
  padding: 18px 16px;
  background: rgba(0, 0, 0, 0.30);
  color: rgba(255,255,255,0.62);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.92);
}

/* ====== SCROLL REVEAL (Swipe Up) ====== */
[data-reveal],
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: 2; }

  .nav-links {
    position: fixed;
    inset: 56px 12px auto;
    padding: 12px 16px;
    border-radius: 18px;

    background: rgba(7, 19, 26, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    box-shadow: 0 26px 60px rgba(0,0,0,0.35);

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-links.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle { display: flex; }

  .stats-grid,
  .cases-grid,
  .contact-inner,
  .who-grid,
  .services-grid,
  .workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero { padding-top: 80px; }
  .trustbar-track { gap: 28px; }
  .trustbar-track img { height: 28px; }
}
.workflow-cta{
  width: 100%;
  display: flex;
  justify-content: center;  /* ✅ horizontal zentriert */
  align-items: center;
}
/* =========================
   WHO-CARDS: gleiche Optik wie Service-Boxen
   ========================= */

.custom-card{
  position: relative;
  overflow: hidden;

  /* gleiche Card-Basis wie deine anderen Premium-Boxen */
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.22),
    0 0 45px rgba(53, 216, 232, 0.22);

  transform: translateZ(0);
}

/* Logo/Bild im Hintergrund -> nur als ganz zarter Accent */
.custom-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(53, 216, 232, 0.16), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(255, 179, 57, 0.12), transparent 55%),
    var(--card-bg) center/140% auto no-repeat;
  opacity: 0.14;            /* <<< WICHTIG: Logo sehr dezent */
  filter: saturate(0.6) contrast(0.95);
  pointer-events: none;
  z-index: 0;
}

/* zusätzlicher „inner glow“ für Tiefe */
.custom-card::before{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(0,0,0,0.08)
  );
  pointer-events: none;
  z-index: 0;
}

/* Text über allem */
.custom-card h3,
.custom-card p{
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.92);
}

.custom-card p{
  color: rgba(255,255,255,0.78);
}

/* Hover wie bei den anderen */
.custom-card:hover{
  transform: translateY(-6px);
  border-color: rgba(53, 216, 232, 0.45);
  box-shadow:
    0 38px 80px rgba(0, 0, 0, 0.26),
    0 0 60px rgba(53, 216, 232, 0.30);
}
/* CTA unter Cases: immer zentriert */
.section-cases .cases-cta{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

/* ===== HERO INLINE PAKETE BUTTON ===== */

.hero-buttons-extended {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-packages-inline {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);

  border: 1px solid rgba(53, 216, 232, 0.35);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 0 0 rgba(53, 216, 232, 0),
    0 0 20px rgba(53, 216, 232, 0.25);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.hero-packages-inline:hover {
  transform: translateY(-2px);
  background: rgba(53, 216, 232, 0.14);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(53, 216, 232, 0.45);
}
body > * {
  position: relative;
  z-index: 1;
}
/* =========================
   BUTTON TEXT COLOR FIX
   ========================= */

/* Alle Buttons grundsätzlich weiß */
.btn,
.btn.primary,
.btn.ghost,
.hero-packages-inline,
.nav-cta {
  color: #ffffff !important;
}

/* Hover-Zustand bleibt weiß */
.btn:hover,
.btn.primary:hover,
.btn.ghost:hover,
.hero-packages-inline:hover,
.nav-cta:hover {
  color: #ffffff !important;
}

/* =========================
   SECTION HEADLINE STANDARD
   ========================= */

.section h2,
.stats-header h2,
.who-inner h2,
.services-head h2,
.workflow-head h2,
.cases-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.4rem);
  font-weight: 900;                 /* <<< das ist der wichtige Punkt */
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
}
/* =========================
   GLOBAL DARK GLASS CARDS
   ========================= */

.glow-card,
.stat,
.service-card,
.workflow-step,
.case-card,
.funding-list,
.contact-form,
.custom-card {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75),
    rgba(8, 12, 20, 0.78)
  ) !important;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(53, 216, 232, 0.16);

  color: rgba(255, 255, 255, 0.92);
}
/* =========================
   FIX: WHO / PROBLEM BOXEN
   ========================= */

.custom-card {
  min-height: auto !important;          /* ❌ feste Höhe killen */
  padding: 26px 24px 24px !important;   /* ⬅ weniger Luft unten */
  justify-content: flex-start;           /* ❌ nicht nach unten drücken */
  gap: 12px;                             /* sauberer Abstand */
}

/* Überschrift kompakter */
.custom-card h3 {
  min-height: auto !important;
  margin-bottom: 6px;
}

/* Text nicht künstlich strecken */
.custom-card p {
  min-height: auto !important;
  margin-bottom: 0;
}
/* FIX: Case-Boxen nur so groß wie Inhalt (kein Stretch, keine Mindesthöhe) */
.cases-grid{
  align-items: start;            /* statt stretch */
}

.case-card{
  min-height: unset !important;  /* killt min-height: 360px */
  height: auto !important;       /* falls irgendwo height:100% war */
  align-self: start;             /* extra Sicherheit */
}
