/* ====================================================
   Epsilon Digital — Static Multi-Page Stylesheet
   Each HTML page links this single file. No SPA tricks.
   ==================================================== */

:root {
  --bg: #eef0f5;
  --bg-2: #f5f6fa;
  --bg-warm: #e9ecf3;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;

  --navy-950: #07091a;
  --navy-900: #0b1230;
  --navy-800: #111a3f;
  --navy-700: #1a2356;
  --navy-600: #243069;

  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --indigo-soft: #c7c9f5;
  --lilac: #c8b6ff;
  --lilac-2: #b4a5ff;
  --teal: #7ddedb;
  --mint: #b8f0e6;

  --ink: #0a0f24;
  --ink-2: #1a1f38;
  --muted: #5b6079;
  --muted-2: #8085a0;
  --line: #dfe2ec;
  --line-2: #e6e8f0;

  --sans: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
  --brand-green: #2ecc4a;
  --brand-green-soft: #d6f5dd;

  --shadow-card: 0 1px 2px rgba(11,18,48,.04), 0 8px 24px rgba(11,18,48,.06);
  --shadow-lift: 0 4px 12px rgba(11,18,48,.06), 0 24px 60px rgba(11,18,48,.10);
  --shadow-deep: 0 12px 32px rgba(11,18,48,.18), 0 40px 96px rgba(11,18,48,.32);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { content-visibility: auto; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -.025em; color: var(--ink); line-height: 1.08; }
h1 { font-size: clamp(36px, 5.6vw, 76px); letter-spacing: -.04em; }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
p  { margin: 0; color: var(--ink-2); }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; line-height: 1.6; }
/* Subtle accent — same font as the rest, just a soft color shift via gradient.
   Avoids the jarring serif-italic break the old style had. */
.serif-em {
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--navy-700) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.025em;
}
.wrap-pretty { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.eyebrow-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo);
}

/* Layout helpers */
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-2); }
@media (max-width: 760px) {
  .container { width: min(1280px, 100% - 28px); }
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
}

.heading-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 38px; }
@media (max-width: 880px) { .heading-row { grid-template-columns: 1fr; gap: 14px; } .heading-row p { max-width: 100%; align-self: start; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1080px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
.divider { height: 1px; background: var(--line-2); }
.bignum { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14.5px; font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 13px; min-height: 36px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy-700); box-shadow: 0 12px 24px -10px rgba(11,18,48,.45); }

.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-2); }

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1eaf55; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }

.btn-light { background: #fff; color: var(--ink); }

.btn-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-on-dark:hover { background: rgba(255,255,255,.16); }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-2);
  min-height: 30px;
}
.chip-soft { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.18); color: var(--indigo); }
.chip-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Icons (unicode for static — keeps the bundle tiny) */
.ic { display: inline-block; line-height: 1; }

/* =============== Header =============== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 16px;
  font-size: 14.5px;
  border-radius: 10px;
  color: var(--ink-2);
}
.nav-link:hover { background: var(--bg-2); color: var(--ink); }
.nav-link.is-active { background: var(--ink); color: #fff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 20px;
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .nav-cta .btn-primary { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(11, 18, 48, .96);
  backdrop-filter: blur(14px);
  z-index: 200;
  padding: 80px 24px 32px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 18px 4px;
  font-size: 22px;
  font-family: var(--display);
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu .mobile-menu-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.mobile-menu .mobile-menu-cta { margin-top: 24px; display: grid; gap: 10px; }
.mobile-menu .mobile-menu-cta .btn { width: 100%; }

/* =============== Hero =============== */
.hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(200,182,255,.45) 0%, rgba(200,182,255,0) 65%),
    radial-gradient(50% 40% at 0% 60%, rgba(125,222,219,.32) 0%, rgba(125,222,219,0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-head {
  font-size: clamp(40px, 8vw, 110px);
  font-weight: 800; letter-spacing: -.045em; line-height: .98;
  max-width: 1100px;
  margin-top: 20px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 32px; margin-top: 28px;
  border-radius: 22px; max-width: 980px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hero-stats > div { border-right: 1px solid var(--line); padding-right: 20px; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stat-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.hero-stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -.03em; }

.hero-stamp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.hero-stamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-visual {
  margin-top: 32px; border-radius: 28px; overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 30px 80px -28px rgba(7,9,26,.35);
  aspect-ratio: 21/9;
  position: relative;
}
.hero-visual video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-visual-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,.05) 35%, rgba(7,9,26,.85) 100%);
}
.hero-visual-foot {
  position: absolute; left: 26px; right: 26px; bottom: 22px;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  color: #fff;
}
.hero-visual-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 14px;
  backdrop-filter: blur(8px);
}

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px;
  font-size: 13px; color: var(--muted);
}
.trust-strip span {
  display: inline-flex; align-items: center; gap: 6px;
}
.trust-strip span::before { content: "✓"; color: var(--indigo); font-weight: 700; }

/* Page Hero (sub pages) */
.page-hero {
  position: relative;
  padding-top: 140px; padding-bottom: 60px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(200,182,255,.45) 0%, rgba(200,182,255,0) 60%),
    radial-gradient(50% 40% at 0% 60%, rgba(125,222,219,.32) 0%, rgba(125,222,219,0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.page-hero h1 { margin-top: 18px; max-width: 980px; }
.page-hero .lead { margin-top: 22px; }
.page-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* =============== Showcase =============== */
.show-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.show-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 980px) {
  .show-videos, .show-grid { grid-template-columns: 1fr; }
}

.show-image-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -22px rgba(7,9,26,.28);
}
.show-image-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.show-image-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,0) 50%, rgba(7,9,26,.72) 100%);
  pointer-events: none;
}
.show-image-cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  color: #fff;
  z-index: 1;
}
.show-image-cap-title { font-family: var(--display); font-weight: 600; font-size: 20px; }
.show-image-cap-sub { font-size: 12.5px; opacity: .8; margin-top: 4px; }

/* =============== YouTube Loop — DEAD STYLES MOVED to FIXES section at end =============== */

/* Service reel layout (1 big + 2 small) */
.svc-reel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.svc-reel-side { display: grid; gap: 16px; }
.svc-reel .yt-loop { aspect-ratio: 16/9; }
.svc-reel-side .yt-loop { aspect-ratio: 4/3; }
.svc-reel-wide { grid-template-columns: 1.75fr .85fr; }
.svc-reel-apps { grid-template-columns: .95fr 1.2fr; }
.svc-reel-design { grid-template-columns: 1fr 1fr; }
.svc-reel-seo { grid-template-columns: 1.2fr 1fr; }
.svc-reel-mosaic .svc-reel-side,
.svc-reel-design .svc-reel-side { grid-template-columns: 1fr; }
.svc-reel-apps > .yt-loop { aspect-ratio: 4/5; }
.svc-reel-apps .svc-reel-side .yt-loop { aspect-ratio: 16/10; }
.svc-reel-design > .yt-loop { aspect-ratio: 1/1; }
.svc-reel-design .svc-reel-side .yt-loop { aspect-ratio: 16/9; }
.svc-reel-seo > .yt-loop { aspect-ratio: 21/10; }
.svc-reel-seo .svc-reel-side .yt-loop { aspect-ratio: 1/1; }
@media (max-width: 880px) {
  .svc-reel { grid-template-columns: 1fr; }
  .svc-reel-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .svc-reel-side { grid-template-columns: 1fr; }
}

/* =============== Service Tiles — DEAD STYLES REMOVED, see FIXES section at end =============== */

/* Service feature row (Leistungen overview) */
.svc-feat {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  overflow: hidden;
}
.svc-feat.reverse { grid-template-columns: 1.1fr 1fr; }
.svc-feat.reverse .svc-feat-img { order: 2; }
.svc-feat-img {
  background: linear-gradient(160deg, var(--lilac) 0%, var(--indigo) 100%);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  padding: 36px;
}
.svc-feat-img img {
  max-width: 80%;
  max-height: 280px;
  border-radius: 12px;
  object-fit: contain;
}
.svc-feat-body {
  padding: 44px;
}
.svc-feat-body h2 { margin-top: 14px; }
@media (max-width: 880px) {
  .svc-feat, .svc-feat.reverse { grid-template-columns: 1fr; }
  .svc-feat-img { order: 0 !important; min-height: 220px; padding: 22px; }
  .svc-feat-body { padding: 28px 22px; }
}

/* =============== Pricing =============== */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; align-items: stretch; }
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  position: relative;
  height: 100%;
  padding: 32px 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .3s ease;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line); }
.tier-card.featured {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 32px 70px -24px rgba(7,9,26,.55);
}
.tier-card.featured .tier-sub { color: rgba(255,255,255,.65); }
.tier-card.featured .tier-list li { color: rgba(255,255,255,.85); }
.tier-card.featured .tier-check { background: rgba(200,182,255,.18); color: var(--lilac); }
.tier-card.featured .tier-original { color: rgba(255,255,255,.45); }
.tier-card.featured .tier-name { color: #fff; }
.tier-card.featured .tier-price { color: #fff; }

.tier-badge {
  position: absolute; top: -12px; left: 24px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(140deg, var(--lilac), var(--indigo));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 22px -8px rgba(99,102,241,.5);
}
.tier-save {
  position: absolute; top: -12px; right: 24px;
  padding: 6px 10px; border-radius: 999px;
  background: #e11d48; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 8px 22px -8px rgba(225,29,72,.55);
}
.tier-name { font-family: var(--display); font-weight: 700; font-size: 22px; }
.tier-sub  { font-size: 13px; color: var(--muted); }
.tier-prices { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tier-original { text-decoration: line-through; color: var(--muted-2); font-size: 18px; font-weight: 500; }
.tier-price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier-list li {
  font-size: 14.5px; color: var(--ink-2);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.45;
}
.tier-check {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(99,102,241,.12); color: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px; font-size: 11px; font-weight: 700;
}
.tier-ctas { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.tier-ctas .btn { width: 100%; }

/* =============== Starter Bundle Hero =============== */
.starter-bundle {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #2a2160 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -22px rgba(7,9,26,.45);
}
.starter-bundle-glow {
  position: absolute; inset: -40%;
  background:
    radial-gradient(40% 30% at 80% 20%, rgba(200,182,255,.4), transparent 70%),
    radial-gradient(35% 25% at 10% 90%, rgba(125,222,219,.28), transparent 70%);
  filter: blur(18px); pointer-events: none;
}
.starter-bundle-inner {
  position: relative; padding: 44px 48px;
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 36px; align-items: center;
}
@media (max-width: 880px) { .starter-bundle-inner { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } }
.starter-bundle-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,84,112,.16); border: 1px solid rgba(255,84,112,.35);
  color: #ffd6df; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.starter-bundle-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5470;
  box-shadow: 0 0 12px #ff5470;
  animation: starterPulse 1.8s ease-out infinite;
}
@keyframes starterPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .55; } }
.starter-bundle h2 { color: #fff; margin-top: 14px; }
.starter-bundle p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 540px; }
.starter-bundle-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; max-width: 540px; }
.starter-bundle-list li {
  font-size: 14.5px; color: rgba(255,255,255,.86);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.45;
}
.starter-bundle-list li::before {
  content: "✓"; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(125,222,219,.18); color: #7ddedb;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
  font-size: 11px; font-weight: 700;
}
.starter-bundle-price-card {
  position: relative;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 26px;
  backdrop-filter: blur(8px);
}
.starter-bundle-price-card .label {
  font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .14em; text-transform: uppercase;
}
.starter-bundle-price-card .prices {
  display: flex; align-items: baseline; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}
.starter-bundle-price-card .was { text-decoration: line-through; color: rgba(255,255,255,.4); font-size: 22px; }
.starter-bundle-price-card .now { font-family: var(--display); font-weight: 800; font-size: 60px; letter-spacing: -.04em; color: #fff; line-height: 1; }
.starter-bundle-price-card .note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 6px; }
.starter-bundle-save {
  display: inline-flex; align-items: center;
  margin-top: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #ff5470, #ff8a5b);
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 8px 22px -8px rgba(255,84,112,.5);
}
.starter-bundle-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.starter-bundle-foot { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.5); text-align: center; }

/* =============== Budget Strip =============== */
.budget-strip {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 22px 28px; border-radius: 20px; margin-top: 28px;
  background: linear-gradient(120deg, #fff6f0 0%, #fef1e8 100%);
  border: 1px dashed #f6b48b;
}
.budget-strip-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff; color: #c2410c;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px -6px rgba(194,65,12,.25);
}
.budget-strip-title { font-family: var(--display); font-weight: 700; font-size: 18px; color: #7c2d12; }
.budget-strip-sub { font-size: 14px; color: #9a3412; margin-top: 4px; line-height: 1.5; max-width: 680px; }
.budget-strip-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .budget-strip { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }

/* =============== Why-grid =============== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 28px 26px;
  min-height: 240px;
  display: flex; flex-direction: column; gap: 10px;
}
.why-card-stat { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4vw, 56px); letter-spacing: -.04em; line-height: 1; color: var(--indigo); }
.why-card-label { font-size: 14px; color: var(--muted); margin-top: -4px; }
.why-card-body { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

/* =============== Reviews =============== */
.reviews-track {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.review-card {
  flex: 0 0 360px; padding: 26px;
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
}
@media (max-width: 540px) { .review-card { flex: 0 0 85%; } }
.review-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin-top: 14px; }
.review-by {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
}
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, var(--lilac), var(--indigo));
  color: #fff; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-by-info { flex: 1; }
.review-by-name { font-weight: 600; font-size: 14px; }
.review-by-role { font-size: 12px; color: var(--muted); }

/* =============== Process =============== */
.proc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .proc-grid { grid-template-columns: 1fr; } }
.proc-step {
  padding: 32px 24px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line-2);
  position: relative;
}
.proc-step-num {
  font-family: var(--display); font-weight: 800; font-size: 48px; color: var(--bg-2);
  line-height: 1;
}
.proc-step h3 { margin-top: 18px; font-size: 20px; }
.proc-step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* =============== Principles =============== */
.principles-panel {
  border-radius: 32px;
  padding: 80px 56px 64px;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.principles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px;
}
@media (max-width: 1080px) { .principles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .principles-grid { grid-template-columns: 1fr; } }
.principle-card {
  position: relative; padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.principle-card h3 { color: #fff; font-size: 22px; line-height: 1.2; }
.principle-card p { margin-top: 12px; color: rgba(255,255,255,.7); font-size: 14.5px; }
.principle-card a {
  font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: #fff; display: inline-flex; align-items: center; gap: 8px;
  width: max-content;
}
@media (max-width: 760px) { .principles-panel { padding: 56px 24px 40px; } }

/* =============== Guarantee =============== */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1080px) { .guarantee-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .guarantee-grid { grid-template-columns: 1fr; } }

.guarantee-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px;
  padding: 22px 20px;
}
.guarantee-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(140deg, var(--lilac), var(--indigo));
  color: #fff; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}
.guarantee-title { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 14px; }
.guarantee-body  { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* =============== Scarcity Banner =============== */
.scarcity-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, #2a2160 100%);
  border-radius: 28px;
  padding: 38px 44px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
}
.scarcity-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 980px) {
  .scarcity-banner { padding: 28px 24px; }
  .scarcity-inner { grid-template-columns: 1fr; gap: 18px; }
}
.scarcity-tag { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; }
.scarcity-tag::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff5470;
  animation: starterPulse 1.8s ease-out infinite;
}
.scarcity-headline { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); }
.scarcity-headline strong { color: #ffb7c1; font-weight: 800; }
.scarcity-sub { color: rgba(255,255,255,.72); font-size: 14.5px; margin: 8px 0 0; max-width: 520px; }

/* =============== CTA Block =============== */
.cta-block {
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(200,182,255,.55) 0%, rgba(200,182,255,0) 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(125,222,219,.4) 0%, rgba(125,222,219,0) 70%),
    linear-gradient(180deg, #ffffff 0%, #eef0f5 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
}
.cta-block .lead { margin: 20px auto 32px; }
.cta-trio { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* =============== FAQ =============== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-weight: 500; font-size: 18px;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  transition: transform .3s ease, background .25s ease, color .25s ease;
}
.faq-item.open .faq-q::after {
  content: "−";
  background: var(--ink); color: #fff;
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 28px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.faq-item.open .faq-a { max-height: 1200px; padding: 0 28px 24px; }
@media (max-width: 540px) {
  .faq-q { padding: 18px 22px; font-size: 16px; }
  .faq-item.open .faq-a { padding: 0 22px 20px; }
}

/* =============== Form =============== */
.form-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xl);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-top: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px; color: var(--ink);
  background: var(--bg-2);
  transition: border-color .2s ease, background .2s ease;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--indigo); background: #fff;
  box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form-chip {
  padding: 10px 14px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-size: 13.5px; color: var(--ink-2);
  cursor: pointer; transition: all .2s ease;
  user-select: none;
}
.form-chip:hover { border-color: var(--line); background: #fff; }
.form-chip input { display: none; }
.form-chip.checked, .form-chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-foot { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* =============== Footer =============== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
  margin-top: 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { color: rgba(255,255,255,.6); font-size: 14.5px; max-width: 320px; line-height: 1.55; margin-top: 22px; }
.footer-col-title {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.5); font-size: 13px;
}
.footer-logo img { height: 36px; }

/* =============== Floating buttons =============== */
.fab-stack {
  position: fixed; right: 18px; bottom: 18px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 80;
  padding-bottom: env(safe-area-inset-bottom);
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  box-shadow: 0 14px 32px -8px rgba(11,18,48,.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-wa { background: #25D366; }
.fab-mail { background: var(--ink); }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(11, 18, 48, .92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px -16px rgba(7,9,26,.55);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.08);
}
.mcta-wa   { background: #25D366 !important; }
.mcta-call { background: var(--indigo) !important; }
@media (max-width: 760px) {
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 72px; }
  .fab-stack { display: none; }
}

/* =============== Offer Popup =============== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 18, 48, .55);
  backdrop-filter: blur(6px);
  z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.offer-pop {
  position: relative;
  width: min(540px, calc(100% - 16px));
  background: radial-gradient(80% 60% at 20% 0%, rgba(200,182,255,.25), transparent 60%),
              radial-gradient(60% 60% at 100% 100%, rgba(125,222,219,.18), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, #2a2160 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-deep);
  padding: 36px 32px 28px;
  transform: translateY(20px) scale(.98); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.modal-backdrop.open .offer-pop { transform: none; opacity: 1; }
.offer-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 18px;
}
.offer-tag {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.offer-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #ff5470; box-shadow: 0 0 12px #ff5470;
}
.offer-pop h3 { color: #fff; margin-top: 14px; font-size: 28px; line-height: 1.1; }
.offer-sub { color: rgba(255,255,255,.7); margin-top: 4px; font-size: 14px; }
.offer-prices {
  margin-top: 18px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.offer-prices .was { text-decoration: line-through; color: rgba(255,255,255,.45); font-size: 18px; }
.offer-prices .now { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -.03em; color: #fff; line-height: 1; }
.offer-prices .save {
  padding: 5px 10px; border-radius: 999px;
  background: #ff5470; color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
}
.offer-countdown {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 16px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: rgba(255,255,255,.85);
}
.offer-countdown strong { font-family: var(--mono); margin-left: 4px; }
.offer-perks { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 8px; }
.offer-perks li {
  display: flex; gap: 10px; color: rgba(255,255,255,.88); font-size: 14.5px;
}
.offer-perks li::before {
  content: "✓"; color: #7ddedb; flex-shrink: 0; margin-top: 2px;
}
.offer-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-foot { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.55); text-align: center; padding: 10px; width: 100%; cursor: pointer; }

/* =============== Reveal animation =============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* =============== Section Headings =============== */
.section h2 { margin-bottom: 16px; }

/* =============== Compare Table =============== */
.compare-table {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px; color: var(--ink-2); align-items: center;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.head { background: var(--bg-2); font-size: 13px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.compare-row .own { text-align: center; color: var(--ink); font-weight: 600; }
.compare-row .other { text-align: center; }
.compare-yes { color: var(--indigo); font-weight: 700; }
.compare-no  { color: var(--muted-2); }
.compare-na  { font-size: 12px; color: var(--muted); font-style: italic; }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 14px 16px; font-size: 13px; }
  .compare-row.head { font-size: 11px; }
}

/* =============== Marquee (trust logos) =============== */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 22px;
  width: max-content;
  animation: marquee 120s linear infinite;
  padding: 22px 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px;
  font-family: var(--display); font-weight: 500; font-size: 18px;
  color: var(--ink-2); opacity: .68;
}
.marquee-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }

/* Stat row utility */
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-row > div .stat-num { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stat-row > div .stat-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

@media print {
  .site-header, .fab-stack, .mobile-cta-bar, .modal-backdrop { display: none !important; }
  body { background: #fff !important; color: #000 !important; padding-bottom: 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
}

/* --- Logo: outlined wordmark using currentColor — never disappears on ANY bg.
       Bigger by default so it reads cleanly in header AND footer. ------------ */
.brand-logo { color: var(--ink); display: inline-flex; align-items: center; }
.brand-logo img { height: 50px !important; width: auto !important; display: block; }
.footer-logo { color: #fff; display: inline-flex; align-items: center; }
.footer-logo img { height: 56px !important; width: auto !important; display: block; }
@media (max-width: 760px) { .brand-logo img { height: 42px !important; } }

/* --- Dark-page (apps) logo: white by default. When the header turns light
       on scroll, switch back to ink so the outlined logo stays readable. --- */
.apps-page .brand-logo { color: #fff !important; }
.apps-page .site-header.scrolled .brand-logo { color: var(--ink) !important; }
.apps-page .footer-logo { color: #fff !important; }

/* Mobile menu overlay is always near-black */
.mobile-menu .brand-logo { color: #fff !important; }

/* =================================================================
   FIXES & ENHANCEMENTS (round 2 — based on user feedback)
   ================================================================= */

/* --- Header Mega-Menu Dropdown ---------------------------------- */
.nav-item-mega { position: relative; }
/* Invisible bridge — pointer-events auto so hover survives the 12px gap
   between the trigger link and the dropdown panel.                       */
.nav-item-mega::after {
  content: ""; position: absolute; left: -8px; right: -8px;
  top: 100%; height: 18px;
  background: transparent;
}
.nav-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(620px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px -16px rgba(7,9,26,.25);
  padding: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 110;
}
.nav-item-mega:hover .nav-mega,
.nav-item-mega:focus-within .nav-mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  color: var(--ink); text-decoration: none;
  transition: background .2s ease;
}
.nav-mega-item:hover { background: var(--bg-2); }
.nav-mega-ic {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--lilac), var(--indigo));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-mega-title { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-mega-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
@media (max-width: 980px) {
  .nav-item-mega { display: none; }
  .nav-mega { display: none !important; }
}

/* --- Header alignment fix for SVG-only icon buttons --- */
.nav-cta .btn { display: inline-flex; align-items: center; justify-content: center; }
.nav-cta .btn svg { display: block; }
.btn svg { flex-shrink: 0; vertical-align: middle; }
/* Buttons with text after SVG already have gap:8 — kill inline margin overrides */
.btn svg[style*="margin-right"] { margin-right: 0 !important; }

/* --- Hero size tighter so the video below is visible above the fold --- */
.hero { padding: 110px 0 56px; }
.hero-head { font-size: clamp(34px, 5.5vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.hero .lead { font-size: 17px; max-width: 640px; }
.hero-stats .hero-stat-num { font-size: clamp(24px, 2.6vw, 38px); }
@media (max-width: 760px) {
  .hero { padding: 90px 0 32px; }
  .hero-head { font-size: clamp(30px, 8.5vw, 44px); }
}

/* --- Service Tiles: hover-grow accordion + looping wordmark + bg image
   Height stays the same on hover — only WIDTH animates.                  */
.svc-row {
  display: flex !important;
  flex-direction: row;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
  height: 380px;        /* fixed height — only width changes on hover  */
  overflow: hidden;
}
.svc-tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;          /* allows shrinking below content size       */
  height: 100%;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  display: block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  aspect-ratio: auto !important;       /* kill any inherited aspect-ratio */
  transition: flex-grow .9s cubic-bezier(.22,1,.36,1), flex-basis .9s cubic-bezier(.22,1,.36,1);
}
.svc-row:hover .svc-tile { flex: .8 1 0; }
.svc-row .svc-tile:hover { flex: 3 1 0; }
.svc-tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s ease, filter .6s ease;
  z-index: 0;
}
.svc-tile:hover .svc-tile-bg { transform: scale(1.06); }
.svc-tile-marquee {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
  opacity: 0; transition: opacity .5s ease .15s;
  white-space: nowrap;
  z-index: 1;
}
.svc-tile:hover .svc-tile-marquee { opacity: 1; }
.svc-tile-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: svcMarquee 14s linear infinite;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(56px, 6.5vw, 88px);
  letter-spacing: -.03em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 4px 24px rgba(7,9,26,.4);
}
.svc-tile-marquee-track > span { padding-right: .6em; }
@keyframes svcMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.svc-tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
  display: flex; align-items: end; justify-content: space-between; gap: 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,9,26,.55) 100%);
  color: #fff;
  z-index: 2;
}
.svc-tile-label-text { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; color: #fff; }
.svc-tile-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; backdrop-filter: blur(8px);
  color: #fff; flex-shrink: 0;
}
@media (max-width: 880px) {
  .svc-row { flex-direction: column; height: auto; }
  .svc-tile, .svc-row:hover .svc-tile, .svc-row .svc-tile:hover {
    flex: 0 0 auto; height: 180px;
  }
  .svc-tile-marquee { opacity: 1; }
  .svc-tile-marquee-track { font-size: 48px; }
}

/* yt-loop rules consolidated below at line ~1570 (single source of truth) */

/* --- Reviews without profile pic, more "trusted by clients" feel --- */
.review-card .avatar {
  background: linear-gradient(140deg, var(--lilac), var(--indigo));
  color: #fff;
  font-weight: 700; font-size: 13px;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.review-card { padding: 26px; }
.review-card .review-verify {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); margin-top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
}
.review-card .review-verify::before {
  content: "✓"; color: var(--brand-green); font-weight: 700;
}

/* --- Process Section: smooth hover color reveal bottom-to-top --- */
.proc-step {
  position: relative; overflow: hidden;
  padding: 32px 24px 24px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.proc-step::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0;
  background: linear-gradient(0deg, rgba(200,182,255,.22) 0%, rgba(99,102,241,.08) 60%, transparent 100%);
  transition: height .9s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}
.proc-step:hover::before { height: 100%; }
.proc-step:hover {
  background: #fff; border-color: var(--line); box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.proc-step > * { position: relative; z-index: 1; }
.proc-step-num {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--line);
  transition: color .8s ease, background-image .8s ease;
}
.proc-step:hover .proc-step-num {
  color: var(--indigo);
  background: linear-gradient(180deg, var(--lilac) 0%, var(--indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Sticky CTA: real WhatsApp green color  --- */
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128c39; }
.fab-wa { background: #25D366; color: #fff; }
.mcta-wa { background: #25D366 !important; color: #fff !important; }

/* --- Modal backdrop always works on desktop too --- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(7,9,26,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

/* --- Showcase tiles clickable + better hover --- */
.show-image-tile {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.show-image-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.show-image-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-image-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,9,26,.72) 100%);
  color: #fff;
}
.show-image-cap-title { font-family: var(--display); font-weight: 600; font-size: 19px; }
.show-image-cap-sub { font-size: 12.5px; opacity: .8; margin-top: 4px; }
.show-image-cap-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

/* --- "Why Us" - Number 1 - feel reinforced --- */
.why-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 30px 28px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line); }
.why-card-stat {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.04em; line-height: 1;
  color: var(--ink);
}
.why-card-label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.why-card-body { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; line-height: 1.55; }

/* --- Comparison-style trust banner for any page (reusable) --- */
.trust-banner {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f6fa 0%, #eef0f5 100%);
  border: 1px solid var(--line-2);
}
.trust-banner-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 500;
}
.trust-banner-item::before { content: "✓"; color: var(--brand-green); font-weight: 700; }
@media (max-width: 760px) { .trust-banner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .trust-banner { grid-template-columns: 1fr; } }

/* --- Reference tiles when used as <button> --- */
button.ref-tile { text-align: left; font: inherit; color: inherit; width: 100%; }
button.ref-tile:focus-visible { outline: 3px solid rgba(99,102,241,.32); outline-offset: 2px; }

/* --- Reference modal (inline, not external) --- */
.ref-modal {
  background: var(--bg-2);
  border-radius: 24px;
  max-width: 1080px; width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -24px rgba(7,9,26,.45);
}
.ref-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  z-index: 3;
}
.ref-modal-head { padding: 40px 40px 0; }
.ref-modal-body { padding: 28px 40px 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.ref-modal-mockups { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; }
.ref-modal-mockups > div {
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ref-modal-mockups img { width: 100%; height: 100%; object-fit: contain; max-height: 280px; }
.ref-modal-mockups .label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .ref-modal-head { padding: 28px 22px 0; }
  .ref-modal-body { padding: 22px; grid-template-columns: 1fr; }
  .ref-modal-mockups { grid-template-columns: 1fr; }
}

/* --- Brand color hint via CSS variables (palette teaser ready for swap) --- */
:root {
  --brand-accent-1: var(--indigo);
  --brand-accent-2: var(--lilac);
  --brand-accent-3: #7ddedb;
}

/* --- Mobile fixes that were missing --- */
@media (max-width: 760px) {
  /* Prevent any rogue element from causing horizontal overflow */
  body { width: 100%; }
  .container { width: calc(100% - 28px); }
  /* Tier cards: ensure no overflow */
  .tier-grid { grid-template-columns: 1fr; }
  /* Hero stats: 2x2 grid on mobile so they fit */
  .hero-stats { grid-template-columns: 1fr 1fr; }
  /* Heading row stacks */
  .heading-row { flex-direction: column; gap: 16px; }
}

/* =================================================================
   FINAL STABILIZATION PASS
   ================================================================= */

:root {
  --brand-accent-1: #4f46e5;
  --brand-accent-2: #8b5cf6;
  --brand-accent-3: #7ddedb;
  --brand-accent-4: #2ecc4a;
}

.site-header {
  background: rgba(246, 247, 251, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header.scrolled { background: rgba(255,255,255,.9); }
.brand-logo img { height: 34px; }
.nav-link { white-space: nowrap; }
.nav-mail { width: 38px; padding-inline: 0; }

.nav-item-mega { position: relative; }
.nav-item-mega::after { height: 24px; }
.nav-mega {
  top: calc(100% + 8px);
  width: min(680px, calc(100vw - 48px));
  box-shadow: 0 24px 60px -22px rgba(7,9,26,.28);
}
.nav-mega-item:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(99,102,241,.28);
  outline-offset: 2px;
}

.hero {
  padding: 106px 0 48px;
  background:
    radial-gradient(42% 36% at 82% 12%, rgba(200,182,255,.52), rgba(200,182,255,0) 72%),
    radial-gradient(34% 34% at 0% 64%, rgba(125,222,219,.36), rgba(125,222,219,0) 74%),
    linear-gradient(180deg, #f4f6fb 0%, #eef0f5 100%);
}
.hero-head {
  max-width: 820px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1;
}
.hero .lead {
  max-width: 720px;
  font-size: clamp(16px, 1.5vw, 18px);
}
.hero-visual {
  margin-top: 28px;
  aspect-ratio: 18/7;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(7,9,26,.02) 0%, rgba(7,9,26,.78) 100%),
    url("../showcase-grid.png") center 38% / cover no-repeat,
    var(--navy-950);
}
.hero-visual video { display: none; }
.hero-visual-veil {
  background:
    linear-gradient(90deg, rgba(7,9,26,.22) 0%, rgba(7,9,26,0) 45%),
    linear-gradient(180deg, rgba(7,9,26,.04) 25%, rgba(7,9,26,.84) 100%);
}
.hero-visual-foot { align-items: center; }
.hero-visual-cta { white-space: nowrap; }
.hero-stats {
  max-width: 100%;
  margin-top: 24px;
  border-radius: 20px;
}
.trust-banner { margin-top: 18px !important; }

.svc-row {
  height: 410px;
  gap: 14px;
}
.svc-row .svc-tile { border-radius: 22px; }
.svc-row .svc-tile:nth-child(1) .svc-tile-bg {
  background:
    linear-gradient(180deg, rgba(7,9,26,.08), rgba(7,9,26,.74)),
    url("../showcase-3-shop.webp") center / cover no-repeat !important;
}
.svc-row .svc-tile:nth-child(2) .svc-tile-bg {
  background:
    linear-gradient(180deg, rgba(7,9,26,.04), rgba(37,20,74,.76)),
    url("../showcase-2-mobile.webp") center / cover no-repeat !important;
}
.svc-row .svc-tile:nth-child(3) .svc-tile-bg {
  background:
    linear-gradient(180deg, rgba(7,9,26,.02), rgba(123,57,20,.72)),
    url("../showcase-1-product.webp") center / cover no-repeat !important;
}
.svc-row .svc-tile:nth-child(4) .svc-tile-bg {
  background:
    linear-gradient(180deg, rgba(7,9,26,.05), rgba(4,78,63,.78)),
    url("../showcase-grid.png") center / cover no-repeat !important;
}
.svc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(125,222,219,0) 20%, rgba(125,222,219,.2) 48%, rgba(200,182,255,0) 76%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity .35s ease, transform .8s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  z-index: 1;
}
.svc-tile:hover::after { opacity: 1; transform: translateX(28%); }
.svc-tile-label { z-index: 3; }
.svc-tile-marquee { z-index: 2; }
.svc-tile-marquee-track {
  font-size: clamp(48px, 6vw, 78px);
  animation-duration: 18s;
}

/* yt-loop: clean real-YouTube embed (single source of truth) ---------------
   - iframe rendered 130% × 130% inside its 16:9 container, offset −15% top/left
   - YouTube serves HD because the iframe is large in pixels
   - pointer-events: none kills YT's hover overlay (the dark center play UI)
   - .yt-loop-guard sits on top and absorbs any clicks/right-clicks
   - No darkening; only a soft bottom fade behind the caption for readability */
.yt-loop {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: #0a0f24;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -22px rgba(7,9,26,.35);
  isolation: isolate;
}
/* Pre-roll cover — versteckt YouTube-Title + Play-Button beim Laden.
   Ein dunkler Schleier mit Logo-Punkt sitzt über dem iframe und fadet
   erst raus, sobald das Video wirklich spielt (JS triggert ~2 s nach load). */
.yt-loop::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(125,222,219,.16), rgba(7,9,26,0) 55%),
    radial-gradient(circle at 30% 80%, rgba(99,102,241,.22), rgba(7,9,26,0) 60%),
    #07091a;
  z-index: 7;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.1s ease;
}
.yt-loop.yt-playing::before,
.yt-loop.yt-loaded::before { opacity: 0; }
.yt-loop .yt-loading {
  position: absolute; inset: 0;
  z-index: 8;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .6s ease;
}
.yt-loop.yt-loaded .yt-loading { opacity: 0; }
.yt-loop .yt-loading-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 24px var(--brand-green);
  animation: ytPulse 1.4s ease-in-out infinite;
}
@keyframes ytPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .35; } }
/* yt-cover-wrap is sized in JS (fitYTWraps) so it always:
   - covers its parent .yt-loop in BOTH dimensions
   - keeps a clean 16:9 ratio so YouTube content fills it perfectly (no black bars)
   - is ~15% oversized so YT title bar + branding crop off-screen
   Defaults below are sane until JS runs. */
.yt-loop .yt-cover-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 185%;
  aspect-ratio: 16 / 9;
  pointer-events: none;
}
.yt-loop .yt-cover-wrap iframe,
.yt-loop iframe.yt-link-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  pointer-events: none !important;
  background: #0a0f24;
  display: block !important;
  transform: none !important;
}
.yt-loop-guard {
  position: absolute; inset: 0;
  z-index: 5;
  background: transparent !important;
  cursor: default;
  display: block !important;
}
.yt-loop::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(180deg, rgba(7,9,26,0), rgba(7,9,26,.55));
  pointer-events: none;
  z-index: 4;
}
.yt-loop-cap {
  position: absolute; left: 22px; right: 22px; bottom: 18px;
  color: #fff; z-index: 6; pointer-events: none;
  text-shadow: 0 2px 12px rgba(7,9,26,.55);
}
.yt-loop-cap-title { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.yt-loop-cap-sub { font-size: 12.5px; opacity: .82; margin-top: 4px; }
/* Poster/motion remnants from old fallback approach — keep hidden */
.yt-loop-poster, .yt-loop-motion, .yt-loop-play, .yt-loop video.media-loop-video { display: none !important; }

.offer-pop { width: min(560px, calc(100vw - 32px)); }
.offer-ctas .btn { width: 100%; min-width: 0; white-space: normal; text-align: center; }

.review-card .avatar {
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0)),
    linear-gradient(140deg, var(--brand-accent-2), var(--brand-accent-1));
}
.review-verify::before { content: "✓"; }

.mini-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.mini-ref-card {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
  border: 1px solid rgba(255,255,255,.12);
}
.mini-ref-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.mini-ref-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,.1) 20%, rgba(7,9,26,.82) 100%);
}
.mini-ref-card:hover img { transform: scale(1.06); }
.mini-ref-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}
.mini-ref-kicker {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}
.mini-ref-title {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}
.mini-ref-text {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
}

.ref-modal-mockups > div > div:first-child {
  position: relative;
  overflow: hidden;
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(7,9,26,.55);
  background-size: cover !important;
  background-position: center !important;
}
.ref-modal-mockups > div > div:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,.08), rgba(7,9,26,.62));
  z-index: 0;
}
.ref-modal-mockups > div > div:first-child {
  isolation: isolate;
}
.ref-modal-mockups > div > div:first-child {
  display: grid !important;
  place-items: center !important;
}
.ref-modal-mockups > div > div:first-child {
  font-weight: 700;
}
.ref-modal-mockups > div > div:first-child > * { position: relative; z-index: 1; }
.ref-modal-mockups > div:nth-child(1) > div:first-child {
  background-image: url("../showcase-grid.png") !important;
}
.ref-modal-mockups > div:nth-child(2) > div:first-child {
  background-image: url("../showcase-3-shop.webp") !important;
}
.ref-modal-mockups > div:nth-child(3) > div:first-child {
  background-image: url("../showcase-2-mobile.webp") !important;
}

@media (max-width: 980px) {
  .hero-visual { aspect-ratio: 16/9; }
  .nav-cta .nav-mail { display: none; }
  .mini-ref-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 88px 0 34px; }
  .hero-head {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.04;
  }
  .hero-ctas .btn,
  .page-hero-ctas .btn,
  .cta-trio .btn {
    width: 100%;
    white-space: normal;
  }
  .hero-visual {
    min-height: 180px;
    border-radius: 22px;
  }
  .hero-visual-foot {
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: grid;
    gap: 10px;
  }
  .hero-visual-cta { width: max-content; max-width: 100%; }
  .hero-stats {
    padding: 20px 18px;
    gap: 14px;
  }
  .hero-stats > div { border-right: 0; padding-right: 0; }
  .hero-stat-num { font-size: 28px; }
  .svc-row { height: auto; gap: 12px; }
  .svc-tile,
  .svc-row:hover .svc-tile,
  .svc-row .svc-tile:hover {
    height: 220px;
    flex: 0 0 auto;
  }
  .svc-tile-marquee-track { font-size: 42px; }
  .offer-pop {
    padding: 32px 24px 24px;
    max-height: calc(100vh - 28px);
  }
  .offer-prices .now { font-size: 42px; }
  .offer-ctas { grid-template-columns: 1fr; }
  .mobile-cta-bar a { min-width: 0; font-size: 12.5px; }
  .compare-table { overflow-x: auto; }
  .compare-row { min-width: 680px; }
}

/* --- Real video embed pass --------------------------------------- */
.hero-visual {
  background: var(--navy-950);
  isolation: isolate;
}
/* Hero video re-enabled — the local reference-fluid.mp4 is the real source */
.hero-visual video {
  display: block !important;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* =============== HERO COLLAGE (replaces single video) ===============
   3 horizontal rows of images, each scrolling at a different speed/direction.
   Endless loop via duplicated content + CSS keyframes.                       */
.hero-collage {
  position: relative;
  margin-top: 32px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  box-shadow: 0 30px 80px -28px rgba(7,9,26,.35);
  padding: 18px 0;
}
.hero-collage::before,
.hero-collage::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 3;
  pointer-events: none;
}
.hero-collage::before { left: 0;  background: linear-gradient(90deg, var(--bg-2), rgba(245,246,250,0)); }
.hero-collage::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), rgba(245,246,250,0)); }
.hero-collage-row {
  overflow: hidden;
  margin: 9px 0;
}
.hero-collage-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}
.hero-collage-track img {
  height: 170px;
  width: auto;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
  background: #0b1230;
  box-shadow: 0 12px 30px -16px rgba(7,9,26,.4);
  border: 1px solid var(--line-2);
}
@media (max-width: 880px) {
  .hero-collage-track img { height: 130px; border-radius: 10px; }
  .hero-collage::before,
  .hero-collage::after { width: 40px; }
}
@media (max-width: 540px) {
  .hero-collage-track img { height: 100px; }
}
/* Each row scrolls at its own speed. Rows 1 + 3 scroll left, row 2 right
   so the page feels alive without becoming hypnotic.                        */
.hero-collage-row-1 .hero-collage-track { animation: collageLeft  44s linear infinite; }
.hero-collage-row-2 .hero-collage-track { animation: collageRight 56s linear infinite; }
.hero-collage-row-3 .hero-collage-track { animation: collageLeft  50s linear infinite; }
@keyframes collageLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes collageRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-collage-track { animation: none !important; }
}
.hero-collage-cta {
  position: absolute; right: 18px; bottom: 18px;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(7,9,26,.5);
  text-decoration: none;
  transition: transform .25s ease;
}
.hero-collage-cta:hover { transform: translateY(-2px); }
@media (max-width: 540px) {
  .hero-collage-cta { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 12px; }
}
.hero-visual .hero-video {
  display: block !important;
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  transform: translate(-50%, -50%) scale(1.035);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
  animation: heroMediaDrift 12s ease-in-out infinite alternate;
}
.hero-video-iframe {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 120%;
  height: 120%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.34);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}
.hero-visual-veil,
.hero-visual-foot { z-index: 2; }
.hero-visual-veil {
  background:
    linear-gradient(90deg, rgba(7,9,26,.10) 0%, rgba(7,9,26,0) 48%),
    linear-gradient(180deg, rgba(7,9,26,0) 42%, rgba(7,9,26,.48) 100%);
}
.hero-visual-foot {
  text-shadow: 0 2px 18px rgba(7,9,26,.46);
}

/* ChatGPT's fake-poster override block removed.
   The single source of truth for .yt-loop is in the consolidated rule above
   (real YouTube embed, 130% sized, pointer-events:none on iframe, guard on top). */

/* --- Follow-up pass: richer home sections, stable cards, compact mobile --- */
.home-about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 34px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 32px;
  background:
    radial-gradient(42% 42% at 86% 12%, rgba(200,182,255,.46), rgba(200,182,255,0) 72%),
    linear-gradient(180deg, #fff 0%, #f4f6fb 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 28px 70px -34px rgba(7,9,26,.26);
  overflow: hidden;
}

.service-depth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.service-depth-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.service-depth-grid article.wide {
  grid-column: span 2;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--indigo));
  border-color: rgba(255,255,255,.12);
}
.service-depth-grid span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}
.service-depth-grid .wide span {
  color: #fff;
  background: rgba(255,255,255,.14);
}
.service-depth-grid h3 {
  margin-top: 18px;
  font-size: 21px;
}
.service-depth-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.service-depth-grid .wide p { color: rgba(255,255,255,.75); }
.service-depth-grid a:not(.btn) {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
}
.service-depth-grid .wide a:not(.btn) { color: #fff; }
.service-depth-grid .wide > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
}
.home-about-copy { position: relative; z-index: 1; }
.home-about-quote {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line-2);
}
.home-about-quote p { color: var(--ink-2); line-height: 1.65; font-size: 15px; }
.home-about-quote div { margin-top: 12px; color: var(--muted); font-size: 13px; }
.home-about-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.home-about-visual {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, #151a36 0%, #4f46e5 100%);
  box-shadow: 0 28px 70px -28px rgba(7,9,26,.42);
}
.home-about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.home-about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,0) 42%, rgba(7,9,26,.78) 100%);
}
.home-about-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 13px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.home-value-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-value-grid > div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line-2);
}
.home-value-grid strong { display: block; font-family: var(--display); font-size: 18px; color: var(--ink); }
.home-value-grid span { display: block; margin-top: 7px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.popular-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.popular-price-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.popular-price-card.featured {
  color: #fff;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--indigo) 100%);
  border-color: rgba(255,255,255,.14);
}
.popular-price-card.featured .chip { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.18); }
.popular-price-card.featured p { color: rgba(255,255,255,.76); }
.popular-price-card h3 { margin-top: 16px; font-size: 22px; }
.popular-price-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.popular-price { margin-top: auto; padding-top: 22px; font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.popular-price span { display: inline-block; margin-right: 7px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.popular-price-card.featured .popular-price span { color: rgba(255,255,255,.6); }
.popular-price-card .btn { margin-top: 18px; width: 100%; }

.split-price-head {
  margin-top: 34px;
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.split-price-head span {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.split-price-head p { max-width: 520px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.compact-tier-grid { margin-top: 0; }

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  min-height: 96px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 18px 38px -24px rgba(7,9,26,.26);
}
.contact-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.contact-quick-icon.wa { background: #25D366; }
.contact-quick-icon.call { background: var(--ink); }
.contact-quick-icon.mail { background: var(--indigo); }
.contact-quick-title { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.contact-quick-sub { margin-top: 4px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
}
.review-text { margin-bottom: 18px; }
.review-by {
  margin-top: auto;
  min-height: 46px;
}
.review-card .review-verify { width: max-content; }

@media (max-width: 980px) {
  .home-about-panel { grid-template-columns: 1fr; }
  .home-about-visual { min-height: 360px; }
  .home-value-grid,
  .popular-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-quick-grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-depth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .grid-3,
  .grid-4,
  .why-grid,
  .guarantee-grid,
  .home-value-grid,
  .popular-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .service-depth-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .service-depth-grid article,
  .service-depth-grid article.wide {
    flex: 0 0 82%;
    min-height: 260px;
    scroll-snap-align: start;
  }
  .grid-3 > .card,
  .grid-4 > .card,
  .why-card,
  .guarantee-card,
  .popular-price-card,
  .home-value-grid > div {
    padding: 18px !important;
  }
  .popular-price-card { min-height: 270px; }
  .popular-price { font-size: 28px; }
  .contact-quick-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .contact-quick-card {
    flex: 0 0 74%;
    scroll-snap-align: start;
    min-height: 88px;
  }
  .svc-row {
    flex-direction: row !important;
    overflow-x: auto;
    height: 250px !important;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .svc-row .svc-tile,
  .svc-row:hover .svc-tile,
  .svc-row .svc-tile:hover {
    flex: 0 0 78% !important;
    height: 100% !important;
    scroll-snap-align: start;
  }
  .svc-tile-marquee { opacity: 1; }
  .svc-tile-marquee-track { font-size: 40px; }
  .show-videos {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .show-videos .yt-loop {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .show-image-tile { min-height: 230px; }
  .footer-grid {
    grid-template-columns: 1.15fr 1fr !important;
    gap: 22px 18px !important;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .anfrage-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .form-card { padding: 26px 20px; }
  .form-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-chip {
    border-radius: 12px;
    text-align: center;
    padding: 11px 9px;
  }
}

@media (max-width: 430px) {
  .grid-3,
  .grid-4,
  .why-grid,
  .guarantee-grid,
  .home-value-grid,
  .popular-pricing-grid,
  .show-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .home-about-panel { padding: 22px 16px; border-radius: 24px; }
  .home-about-visual { min-height: 300px; border-radius: 22px; }
  .footer-col-title { margin-bottom: 8px; }
  .footer-col a { font-size: 13px; padding: 4px 0; }
}

/* --- References: deep case studies + dense media wall --- */
.case-study-list {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}

.reference-mix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 14px;
  margin-top: 30px;
}
.reference-mix-grid > * {
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
}
.reference-mix-grid .wide { grid-column: span 2; }
.reference-mix-grid .tall { grid-row: span 2; }
.mix-project {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  border: 0;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,9,26,.08) 0%, rgba(7,9,26,.82) 100%),
    linear-gradient(135deg, var(--indigo), var(--navy-900));
  cursor: pointer;
}
.mix-project span,
.mix-image span {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mix-project strong {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}
.mix-project em {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-style: normal;
}
.mix-image {
  position: relative;
  display: block;
  background: var(--navy-950);
}
.mix-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.mix-image:hover img { transform: scale(1.06); }
.mix-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,26,0) 44%, rgba(7,9,26,.72) 100%);
}
.mix-image span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
}
.mix-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.mix-text h3 {
  margin-top: 12px;
  font-size: 25px;
}
.mix-text p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.case-study-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: 0 28px 70px -42px rgba(7,9,26,.3);
}
.case-device-grid {
  display: grid;
  grid-template-columns: 1.4fr .68fr .48fr;
  gap: 14px;
  align-items: end;
  min-width: 0;
}
.case-device {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 42px -30px rgba(7,9,26,.4);
}
.case-device.desktop { aspect-ratio: 16/10; }
.case-device.tablet { aspect-ratio: 3/4; }
.case-device.phone { aspect-ratio: 9/18; max-height: 360px; }
.case-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-device figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(7,9,26,.62);
  color: #fff;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.case-copy {
  display: flex;
  flex-direction: column;
  padding: 8px 4px;
}
.case-copy h3 {
  margin-top: 16px;
  font-size: clamp(25px, 3vw, 38px);
}
.case-copy p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.case-copy blockquote {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  line-height: 1.58;
}
.case-owner {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.reference-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.reference-video-grid .yt-loop { min-height: 220px; }
.media-wall {
  column-count: 4;
  column-gap: 14px;
  margin-top: 30px;
}
.media-wall-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy-950);
  border: 1px solid var(--line-2);
}
.media-wall-item img {
  width: 100%;
  display: block;
  min-height: 170px;
  max-height: 520px;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22,1,.36,1), filter .35s ease;
}
.media-wall-item:hover img { transform: scale(1.04); filter: saturate(1.08); }
.media-wall-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,9,26,.6);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 980px) {
  .reference-mix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-study-card {
    grid-template-columns: 1fr;
  }
  .reference-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-wall { column-count: 3; }
}
@media (max-width: 760px) {
  .reference-mix-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .reference-mix-grid > *,
  .reference-mix-grid .wide,
  .reference-mix-grid .tall {
    flex: 0 0 86%;
    min-height: 260px;
    scroll-snap-align: start;
  }
  .case-study-list {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .case-study-card {
    flex: 0 0 92%;
    scroll-snap-align: start;
    padding: 18px;
    border-radius: 24px;
  }
  .case-device-grid {
    grid-template-columns: 1fr .55fr;
  }
  .case-device.phone { display: none; }
  .case-copy blockquote { font-size: 14px; }
  .case-actions .btn { width: 100%; }
  .reference-video-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .reference-video-grid .yt-loop {
    flex: 0 0 86%;
    min-height: 210px;
    scroll-snap-align: start;
  }
  .media-wall {
    column-count: 2;
    column-gap: 10px;
  }
  .media-wall-item { margin-bottom: 10px; border-radius: 16px; }
}

/* =================================================================
   PRICE FILTER BAR (preise.html) — sticky smart filter
   ================================================================= */
.price-filter-bar {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.pfb-row { display: grid; gap: 12px; }
.pfb-search { position: relative; }
.pfb-search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .7; pointer-events: none; }
.pfb-search input {
  width: 100%;
  padding: 13px 18px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font: inherit; font-size: 14.5px; color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.pfb-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(7,9,26,.06); }
.pfb-chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pfb-chip {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.pfb-chip:hover { background: var(--bg-2); border-color: var(--line-2); }
.pfb-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pfb-chip-price.is-active { background: linear-gradient(135deg, var(--lilac), var(--indigo)); border-color: transparent; }
.pfb-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; font-size: 13px; color: var(--muted);
}
.pfb-count strong { color: var(--ink); font-weight: 700; }
.pfb-reset {
  background: none; border: 0;
  color: var(--ink); font: inherit; font-size: 13px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  padding: 4px 6px;
}
@media (max-width: 760px) {
  .price-filter-bar { top: 62px; padding: 10px 0; }
  .pfb-search input { padding: 11px 14px 11px 38px; font-size: 14px; }
  .pfb-chip { padding: 7px 11px; font-size: 12.5px; }
  .pfb-chip-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
  .pfb-chip-row::-webkit-scrollbar { display: none; }
  .pfb-meta { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* =================================================================
   FULL MOBILE OVERRIDE — stack everything cleanly on small screens
   ================================================================= */
@media (max-width: 760px) {
  /* Startseite Service-Tile Row: aktuell horizontal-scroll → untereinander */
  .svc-row {
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 12px !important;
  }
  .svc-row .svc-tile,
  .svc-row:hover .svc-tile,
  .svc-row .svc-tile:hover {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 220px !important;
    scroll-snap-align: none !important;
  }

  /* Showreel mit 2 Videos nebeneinander → untereinander */
  .show-videos,
  .showcase-videos,
  .home-2-videos,
  .index-videos-pair,
  .twin-videos {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  .show-videos .yt-loop,
  .showcase-videos .yt-loop {
    flex: 0 0 100% !important;
    width: 100% !important;
    scroll-snap-align: none !important;
    min-height: 230px !important;
  }

  /* Hero: vertical stack */
  .hero-grid,
  .home-hero,
  .page-hero-grid,
  .svc-hero-grid,
  .apps-hero-grid,
  .web-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .hero-visual { width: 100%; max-width: 100%; }
  .hero-cta, .page-hero-ctas, .final-cta-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .hero-cta .btn, .page-hero-ctas .btn, .final-cta-row .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  /* Method rows = bild + text → stack */
  .method-row, .method-row-reverse, .home-method-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }
  .method-img img { width: 100%; height: auto; }

  /* Service tiles & build grids → 1-col */
  .why-grid, .guarantee-grid, .process-row,
  .svc-build-grid, .svc-ref-grid,
  .reviews-grid, .home-value-grid,
  .apps-stack-grid, .apps-ref-grid,
  .grow-grid, .values-grid, .quality-list, .partner-cards {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Pricing tier-grid → 1-col */
  .tier-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Compare card horizontal scroll */
  .compare-card { overflow-x: auto; }
  .compare-card-head, .compare-card-row { min-width: 580px; }

  /* Scarcity card → stack */
  .scarcity-card { flex-direction: column !important; gap: 14px !important; text-align: left; }
  .scarcity-cta { width: 100%; }
  .scarcity-cta .btn { width: 100%; }

  /* About row stacks */
  .about-row, .ceo-row { grid-template-columns: 1fr !important; gap: 24px; }
  .about-portrait, .ceo-portrait { max-width: 280px; margin: 0 auto; }

  /* Footer 1-col */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-bottom: 80px;
  }
  .footer-base { flex-direction: column !important; gap: 6px; text-align: center; }

  /* Stat strips → 2-col */
  .svc-stat-strip, .apps-stat-row, .ref-stats-row, .web-stat-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .ref-stat { padding: 16px; }
  .ref-stat-num { font-size: 26px; }

  /* Bento on mobile: 2-col, smaller tiles */
  .ref-bento {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 200px !important;
    gap: 10px !important;
  }
  .ref-bento-tile { grid-column: span 1 !important; }
  .ref-bento-tile.half,
  .ref-bento-tile.two-thirds,
  .ref-bento-tile.full { grid-column: span 2 !important; }
  .ref-bento-tile.tall { grid-row: auto !important; }
  .ref-bento-tile .ref-bento-name { font-size: 16px; }
  .ref-bento-tile .ref-bento-result { font-size: 12px; }
  .ref-bento-tile .ref-bento-cat { font-size: 9.5px; }

  /* Filter chips overflow handling */
  .ref-filters, .rf-chip-row {
    gap: 6px !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }
  .ref-filters::-webkit-scrollbar { display: none; }
  .rf-chip { white-space: nowrap; padding: 7px 11px; font-size: 12.5px; }

  /* Section heads + container */
  .section-head h2, .ref-hero h1, .page-hero h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  body { padding-bottom: 96px !important; }

  /* Mobile menu logo always white */
  .mobile-menu .brand-logo img { filter: invert(1) brightness(1.2); }

  /* FAQ readable */
  .faq-q { font-size: 14.5px; padding-right: 36px; }
  .faq-a p { font-size: 13.5px; }
}

@media (max-width: 430px) {
  .ref-bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 220px !important;
  }
  .ref-bento-tile,
  .ref-bento-tile.half,
  .ref-bento-tile.two-thirds,
  .ref-bento-tile.full { grid-column: span 1 !important; }
}
