/* ==========================================================================
   XpertSolution – Die Digital Marketing Agentur für Ihren visuellen Erfolg
   Design-System v3 · „Bauplan“ in den Markenfarben
   Konzept: Technische Zeichnung trifft digitale Zukunft.
   - Kühles Nachtblau als Grund (Präzision, Technik)
   - Markenverlauf Grün → Blau (aus dem Logo) für alle Handlungs-Elemente:
     Grün = Wachstum/Los, Blau = Vertrauen/Technik – Probleme kalt, Lösung Marke
   - Bricolage Grotesque (markante Display-Schrift) + Instrument Sans (Text)
   - Signatur: Blueprint-Raster, Passermarken, Maßlinien
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrument-sans-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #04060b;
  --bg-soft: #070a13;
  --surface: #0c1120;
  --surface-2: #111830;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .28);
  --text: #f2f4f8;
  --muted: #9aa4b8;
  --muted-2: #68738a;

  /* Warm: Handlung, Handwerk, Erfolg */
  --brand: #8dc63f;
  --brand-2: #1b8fd6;
  --grad: linear-gradient(115deg, #9ad344 0%, #2fae8f 55%, #1b8fd6 100%);
  --grad-btn: linear-gradient(120deg, #8dc63f, #1b8fd6);

  /* Kühl: Technik, Plan, Problemzone */
  --cool: #5aa9ff;
  --cool-dim: rgba(90, 169, 255, .32);
  --blueprint: rgba(93, 150, 255, .06);

  --warn: #ffd28a;
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
  --container: 1160px;
  --shadow-card: 0 18px 50px rgba(2, 6, 16, .45);
  color-scheme: dark;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.3vw, 3.95rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 750; }
h3 { font-size: 1.35rem; font-weight: 650; }

p { margin: 0 0 1em; }

a { color: var(--brand); }

::selection { background: rgba(141, 198, 63, .35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #17203c; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #06180c;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Layout-Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Eyebrow als technisches Plan-Label mit Maßlinien */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand);
  font: 600 .72rem/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 198, 63, .8));
}
.eyebrow::after {
  background: linear-gradient(90deg, rgba(141, 198, 63, .8), transparent);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #06180c;
  font: 600 1rem var(--font-body);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(45, 150, 200, .30);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 42px rgba(64, 169, 221, .45);
}
.btn svg { flex: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 30px rgba(141, 198, 63, .12);
}

.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* ---------- Karten-Basis ---------- */
.card {
  background: linear-gradient(180deg, rgba(17, 24, 48, .55), rgba(9, 13, 26, .78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(141, 198, 63, .35);
  box-shadow: 0 20px 50px rgba(2, 8, 20, .5), 0 0 0 1px rgba(141, 198, 63, .08);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(4, 6, 12, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.site-footer .logo-img { height: 60px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-btn { padding: 11px 24px; font-size: .92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hintergrund-Effekte ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 540px; height: 540px;
  background: rgba(64, 120, 255, .22);
  top: -200px; left: -140px;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 440px; height: 440px;
  background: rgba(141, 198, 63, .13);
  top: 8%; right: -160px;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: rgba(45, 170, 255, .10);
  bottom: -180px; left: 32%;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(46px, 34px, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 175px 0 110px;
  overflow: hidden;
}
/* Blueprint-Raster */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 17, 32, .6);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero h1 { margin-bottom: 22px; }

.hero-sub {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .9rem;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points svg { color: var(--brand); flex: none; }

/* Hero-Visual: Browser-Mockup mit Passermarken */
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
}
.hero-visual::before {
  top: -16px; left: -16px;
  border-top: 2px solid rgba(141, 198, 63, .65);
  border-left: 2px solid rgba(141, 198, 63, .65);
}
.hero-visual::after {
  right: -16px; bottom: -16px;
  border-bottom: 2px solid rgba(141, 198, 63, .65);
  border-right: 2px solid rgba(141, 198, 63, .65);
}

.browser {
  background: linear-gradient(180deg, rgba(16, 23, 46, .92), rgba(7, 11, 22, .96));
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.b-dots { display: flex; gap: 6px; }
.b-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, .25);
}
.b-dots span:nth-child(1) { background: rgba(255, 95, 87, .7); }
.b-dots span:nth-child(2) { background: rgba(254, 188, 46, .7); }
.b-dots span:nth-child(3) { background: rgba(40, 200, 64, .7); }
.b-url {
  flex: 1;
  background: rgba(148, 163, 184, .08);
  border-radius: 8px;
  padding: 6px 14px;
  font: 400 .72rem var(--font-mono);
  letter-spacing: .04em;
  color: var(--muted-2);
}
.browser-body { padding: 20px; }

.sk-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.sk-logo {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--grad-btn);
  flex: none;
}
.sk-nav i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(148, 163, 184, .18);
}
.sk-nav i:nth-child(2) { width: 46px; margin-left: auto; }
.sk-nav i:nth-child(3) { width: 38px; }
.sk-nav i:nth-child(4) { width: 42px; }

.sk-line {
  height: 13px;
  border-radius: 7px;
  background: rgba(148, 163, 184, .2);
  margin-bottom: 11px;
}
.sk-line.w1 { width: 85%; height: 17px; background: linear-gradient(90deg, rgba(141, 198, 63, .6), rgba(27, 143, 214, .55)); }
.sk-line.w2 { width: 62%; height: 17px; }
.sk-line.w3 { width: 44%; background: rgba(148, 163, 184, .12); }

.sk-cta {
  display: inline-block;
  width: 118px;
  height: 30px;
  border-radius: 999px;
  background: var(--grad-btn);
  box-shadow: 0 6px 20px rgba(45, 150, 200, .35);
  margin: 8px 0 22px;
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sk-img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(90, 140, 255, .13), rgba(15, 22, 44, .6));
  position: relative;
  overflow: hidden;
}
.sk-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Maßlinie unter dem Mockup */
.dim-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted-2);
  font: 500 .68rem/1.4 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.dim-line i {
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, .3);
  position: relative;
}
.dim-line i::before {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: rgba(148, 163, 184, .45);
}
.dim-line i:first-child::before { left: 0; }
.dim-line i:last-child::before { right: 0; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(9, 14, 28, .88);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(2, 6, 16, .55);
  font-size: .82rem;
  color: var(--muted);
  animation: floaty 6s ease-in-out infinite;
  z-index: 2;
}
.float-card b {
  display: block;
  font: 700 1.02rem var(--font-head);
  color: var(--text);
  letter-spacing: -0.01em;
}
.float-card .float-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(141, 198, 63, .12);
  border: 1px solid rgba(141, 198, 63, .35);
  color: var(--brand);
}
.f1 { top: -5%; right: -3%; }
.f2 { bottom: 26%; left: -9%; animation-delay: -2s; }
.f3 { bottom: 4%; right: 6%; animation-delay: -4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Zahlen-Band (Stats) ---------- */
.stats-band {
  border-block: 1px solid var(--line);
  background: rgba(12, 17, 32, .45);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 46px 0;
  text-align: center;
}
.stat-num {
  font: 750 clamp(1.9rem, 3.2vw, 2.7rem)/1.1 var(--font-head);
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Problem-Sektion (kühle Zone) ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card { padding: 32px 28px; }
.pain-card:hover {
  border-color: var(--cool-dim);
  box-shadow: 0 20px 50px rgba(2, 8, 20, .5), 0 0 0 1px rgba(90, 169, 255, .08);
}
.pain-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(90, 169, 255, .09);
  border: 1px solid rgba(90, 169, 255, .28);
  color: var(--cool);
  margin-bottom: 20px;
}
.pain-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pain-card p { color: var(--muted); font-size: .96rem; margin: 0; }

.loss-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 176, 32, .32);
  background: rgba(255, 176, 32, .06);
  border-radius: var(--radius-sm);
  color: var(--warn);
  font-size: .98rem;
}
.loss-note svg { flex: none; margin-top: 2px; }
.loss-note p { margin: 0; }
.loss-note strong { color: #ffe3b3; }

/* ---------- Leistungen (warme Zone) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-btn);
  opacity: .75;
}
.chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(90, 169, 255, .10);
  border: 1px solid rgba(90, 169, 255, .32);
  color: #9cc6ff;
  font: 600 .68rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.service-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--grad-btn);
  color: #06180c;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(45, 150, 200, .32);
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card > p { color: var(--muted); margin-bottom: 24px; }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: .97rem;
}
.service-list svg {
  flex: none;
  color: var(--brand);
  margin-top: 3px;
}

/* ---------- Ablauf / Prozess ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card { padding: 34px 30px; }
.step-num {
  font: 800 2.9rem/1 var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .96rem; margin: 0; }

.inline-cta {
  text-align: center;
  margin-top: 52px;
}

/* ---------- Referenzen (Teaser & Karten) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.case-result {
  font: 800 2.5rem/1 var(--font-head);
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.case-label {
  color: var(--text);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 18px;
}
.case-quote {
  color: var(--muted);
  font-size: .95rem;
  font-style: italic;
  border-left: 3px solid rgba(141, 198, 63, .55);
  padding-left: 16px;
  margin: 0 0 18px;
  flex: 1;
}
.case-firm {
  color: var(--muted-2);
  font-size: .85rem;
  font-style: normal;
}
.cases-note {
  margin-top: 30px;
  text-align: center;
  color: var(--muted-2);
  font-size: .82rem;
}

/* Referenz-Karten mit echten Projekten */
.case-card h3 {
  font-size: 1.18rem;
  margin: 4px 0 8px;
}
.case-card .case-desc {
  color: var(--muted);
  font-size: .93rem;
  flex: 1;
  margin: 0 0 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.text-link svg { flex: none; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Referenzen-Detailseite ---------- */
.case-detail {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.case-detail:last-of-type { border-bottom: none; }
.case-detail.flip .case-media { order: -1; }

.case-tag {
  display: inline-block;
  color: var(--cool);
  font: 600 .7rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.case-detail .case-text p { color: var(--muted); }
.case-detail .case-text p strong { color: var(--text); }

.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 4px;
}
.case-stat {
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-width: 130px;
}
.case-stat b {
  display: block;
  font: 750 1.45rem var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-stat span { color: var(--muted); font-size: .82rem; }

.quote-block {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 20px;
  color: var(--muted);
  font-style: italic;
  margin-top: 22px;
}
.quote-block cite {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-style: normal;
  font-size: .85rem;
}

/* Referenz-Screenshots */
.case-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}

/* Bild-Platzhalter im Blueprint-Stil */
.img-ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed rgba(90, 169, 255, .45);
  background:
    linear-gradient(rgba(93, 150, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 150, 255, .07) 1px, transparent 1px),
    linear-gradient(140deg, rgba(60, 110, 220, .10), rgba(8, 12, 24, .6));
  background-size: 26px 26px, 26px 26px, cover;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font: 500 .74rem/1.7 var(--font-mono);
  letter-spacing: .06em;
  text-align: center;
  padding: 24px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item.open { border-color: rgba(141, 198, 63, .38); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 21px 26px;
  background: none;
  border: none;
  color: var(--text);
  font: 600 1.04rem var(--font-body);
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--brand);
  transition: transform .35s ease, background .35s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(141, 198, 63, .12);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--muted);
  font-size: .97rem;
}

/* ---------- CTA-Band (warmes Finale) ---------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  padding: clamp(48px, 7vw, 76px) clamp(28px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(120% 170% at 50% 0%, rgba(64, 169, 221, .14), rgba(9, 13, 26, .94) 55%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black, transparent 80%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band > p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 34px;
  font-size: 1.06rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: .88rem;
}
.cta-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-note svg { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #030509;
  padding-top: 68px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 44px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p {
  color: var(--muted);
  font-size: .93rem;
  max-width: 320px;
}
.footer-slogan {
  color: var(--brand) !important;
  font-weight: 500;
}
.footer-col h4 {
  font-size: .95rem;
  margin-bottom: 18px;
  color: var(--text);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--brand); }
.footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .93rem;
}
.footer-links svg { color: var(--muted-2); flex: none; }

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: .85rem;
}

/* ---------- Unterseiten: Page-Hero ---------- */
.page-hero {
  position: relative;
  padding: 165px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 25%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 800px; }
.page-hero .lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 660px;
  margin: 0;
}

/* ---------- Über uns ---------- */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.about-cols h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.about-cols p { color: var(--muted); }
.about-cols p strong { color: var(--text); }

.about-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.founder-card {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-top: 12px;
}
.avatar-ph {
  width: 92px; height: 92px;
  flex: none;
  border-radius: 50%;
  border: 1px dashed rgba(90, 169, 255, .45);
  background: linear-gradient(140deg, rgba(60, 110, 220, .13), rgba(8, 12, 24, .6));
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font: 500 .6rem/1.5 var(--font-mono);
  text-align: center;
  padding: 8px;
}
.founder-card b { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.founder-card .founder-role { display: block; color: var(--muted); font-size: .9rem; }
.founder-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-style: italic;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.value-card { padding: 28px 26px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.value-card .pain-icon {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  background: rgba(141, 198, 63, .10);
  border-color: rgba(141, 198, 63, .30);
  color: var(--brand);
}
.value-card:hover { border-color: rgba(141, 198, 63, .35); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}

.form-card { padding: 40px 36px; }
.form-card:hover { transform: none; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field label span { color: var(--brand); }

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(7, 11, 22, .75);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font: 400 .98rem var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, .14);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
}
.form-consent input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--brand-2);
}
.form-consent a { color: var(--brand); }

.form-submit { grid-column: 1 / -1; }
.form-note {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: .84rem;
  margin: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.aside-card { padding: 30px 28px; }
.aside-card:hover { transform: none; }
.aside-card + .aside-card { margin-top: 22px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.aside-card p { color: var(--muted); font-size: .93rem; }
.aside-card .btn { margin-top: 6px; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: .95rem;
  padding: 9px 0;
  text-decoration: none;
}
a.contact-line:hover { color: var(--brand); }
.contact-line svg { color: var(--brand); flex: none; }

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.trust-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
}
.trust-list svg { color: var(--brand); flex: none; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.ph {
  background: rgba(255, 176, 32, .13);
  border: 1px solid rgba(255, 176, 32, .3);
  padding: 1px 8px;
  border-radius: 6px;
  color: var(--warn);
  font-size: .92em;
}

/* ---------- Scroll-Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .f2 { left: -3%; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 28px;
    background: rgba(4, 6, 11, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 13px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-btn {
    margin-top: 16px;
    justify-content: center;
  }

  .hero { padding: 150px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-sub { max-width: 620px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .f2 { left: -2%; }

  .pain-grid, .process-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .about-cols, .contact-grid { grid-template-columns: 1fr; }
  .case-detail { grid-template-columns: 1fr; gap: 32px; }
  .case-detail.flip .case-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .pain-grid, .process-grid, .case-grid, .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .f1 { right: 0; top: -7%; }
  .f2 { left: 0; bottom: 30%; }
  .f3 { right: 2%; bottom: 9%; }
  .float-card { padding: 10px 14px; font-size: .76rem; }
  .float-card .float-icon { width: 32px; height: 32px; }
  .dim-line { letter-spacing: .12em; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { padding-inline: 20px; }
  .logo-img { height: 38px; }
  .site-footer .logo-img { height: 46px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .float-card, .sk-img::after, .hero-badge::before {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { transition-duration: .01ms !important; }
}
