/* AV Growthstudio — Nerova-inspired dark theme */
:root {
  --bg: #0a0710;
  --bg-2: #100a1c;
  --bg-3: #1a1230;
  --ink: #f4f1fb;
  --ink-2: #c9c3dc;
  --ink-3: #8a82a8;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --accent: #a78bff;
  --accent-2: #c4b3ff;
  --accent-glow: rgba(167,139,255,0.45);
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --font: "Poppins", -apple-system, system-ui, sans-serif;
  --font-display: "Instrument Serif", "Cormorant Garamond", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Background atmosphere ──────────────────────────────── */
.atmos {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.atmos::before, .atmos::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.55;
}
.atmos::before {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  top: -200px; left: -150px;
}
.atmos::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6b3fff 0%, transparent 60%);
  bottom: -200px; right: -100px;
  opacity: 0.35;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ── Container ──────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }
section { position: relative; z-index: 2; }

/* ── Type ───────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-family: var(--font); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(44px, 6.5vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0; color: var(--ink-2); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255,255,255,0.02);
  font-family: var(--font);
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03);
  color: var(--ink); transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn .arrow { transition: transform 0.3s ease; display: inline-block; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #0d0820;
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-ghost { background: transparent; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 32px); max-width: 1240px;
  padding: 10px 10px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(15, 10, 28, 0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all 0.4s ease;
}
.nav.scrolled { background: rgba(10, 7, 16, 0.85); border-color: rgba(255,255,255,0.18); }
.nav .logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; }
.nav .logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #6b3fff 100%);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: all 0.2s ease;
}
.nav ul a:hover, .nav ul a.active { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav .right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex; padding: 3px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; gap: 2px;
}
.lang-toggle button {
  background: transparent; border: 0; color: var(--ink-3); padding: 5px 10px; border-radius: 999px;
  transition: all 0.2s; letter-spacing: 0.04em;
}
.lang-toggle button.active { background: var(--accent); color: #0d0820; }
.nav .menu-btn { display: none; }

@media (max-width: 980px) {
  .nav ul { display: none; }
  .nav .menu-btn {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 999px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--ink);
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding: 140px var(--pad) 80px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  overflow: hidden;
}
.hero-left { text-align: left; }
.hero .kicker { margin-bottom: 24px; }
.hero h1 { max-width: 100%; margin: 0 0 22px; text-align: left; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.hero h1 em {
  font-style: normal; font-weight: 500;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { max-width: 540px; margin: 0 0 32px; font-size: 17px; color: var(--ink-2); text-align: left; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.hero-visual { width: 100%; position: relative; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-visual { margin-top: 20px; }
}

/* ── Search Demo (right side) ───────────────────────────── */
.search-demo {
  position: relative; width: 100%;
  background: linear-gradient(160deg, rgba(167,139,255,0.08) 0%, rgba(20,12,38,0.85) 100%);
  border: 1px solid var(--line-2);
  border-radius: 24px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  backdrop-filter: blur(20px);
  overflow: hidden;
  min-height: 460px;
}
.search-demo::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.search-bar {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  background: rgba(10,7,16,0.7); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar svg { margin-top: 3px; flex-shrink: 0; color: var(--ink-3); transition: color 0.3s; }
.search-bar.focused {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167,139,255,0.15), 0 4px 20px rgba(0,0,0,0.3);
}
.search-bar.focused svg { color: var(--accent); }
.search-bar { text-align: left; }
.search-bar .q {
  flex: 1; font-size: 15px; color: var(--ink); min-height: 22px;
  font-family: var(--font);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  display: inline;
  text-align: left;
}
.search-result { text-align: left; }
.search-result .body { text-align: left; flex: 1; min-width: 0; }
.search-results { text-align: left; }
.search-bar .caret {
  display: inline-block; width: 1.5px; height: 18px;
  background: var(--accent); margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.search-results {
  margin-top: 14px; display: flex; flex-direction: column; gap: 10px;
}
.search-result {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0; transform: translateY(8px);
  animation: slideIn 0.5s cubic-bezier(.2,.8,.2,1) forwards;
  transition: all 0.3s;
}
.search-result:hover { background: rgba(167,139,255,0.08); border-color: var(--accent); }
.search-result:nth-child(2) { animation-delay: 0.15s; }
.search-result:nth-child(3) { animation-delay: 0.3s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

.search-result .favicon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #6b3fff 100%);
  display: grid; place-items: center; color: #fff;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.search-result .body { flex: 1; min-width: 0; }
.search-result .url { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.search-result .title-r { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.3; }
.search-result .title-r .hl { color: var(--accent-2); font-weight: 600; }
.search-result .snippet { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }

.search-tabs {
  display: flex; gap: 6px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-3);
}
.search-tabs > span {
  display: inline-block;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  box-shadow: none;
  outline: none;
  line-height: 1.4;
}
.search-tabs > span > span,
.search-tabs .__om-t {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.search-tabs > span.active { background: rgba(167,139,255,0.15); border-color: var(--accent); color: var(--accent-2); }


/* ── Marquee logos ──────────────────────────────────────── */
.marquee {
  overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}
.marquee-track {
  display: flex; gap: 80px; width: max-content; animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font); font-size: 28px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap; opacity: 0.7;
}
.marquee-item .star {
  width: 18px; height: 18px; color: var(--accent);
}

/* ── Trusted ────────────────────────────────────────────── */
.trusted { padding: 120px var(--pad); text-align: center; }
.trusted h2 { max-width: 900px; margin: 0 auto 24px; }
.trusted p { max-width: 720px; margin: 0 auto 36px; }
.trusted .avatars {
  display: inline-flex; align-items: center; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); gap: 12px;
  transition: all 0.3s;
}
.trusted .avatars:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.trusted .avatars .stack { display: flex; }
.trusted .avatars .av {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg);
  background: linear-gradient(135deg, #c4b3ff, #6b3fff); margin-left: -10px;
}
.trusted .avatars .av:first-child { margin-left: 0; }
.trusted .avatars .av:nth-child(2) { background: linear-gradient(135deg, #ffb3d9, #b33fc4); }
.trusted .avatars .av:nth-child(3) { background: linear-gradient(135deg, #b3e0ff, #3f6bff); }

/* ── About (Anna) ──────────────────────────────────────── */
.about { padding: 140px var(--pad); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.about-text { max-width: 620px; }
.about-text .kicker { display: inline-block; margin-bottom: 14px; }
.about-headline {
  display: block;
  margin-top: 0 !important;
}
.about-p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-top: 18px;
  text-wrap: pretty;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(167,139,255,0.4);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.about-cta:hover { color: #fff; border-color: var(--accent); gap: 12px; }
.about-cta .arrow { font-size: 13px; }

.about-headline-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: about-char-in 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}

/* Scroll-driven word reveal */
.srw { display: inline; }
.srw-word { position: relative; display: inline-block; white-space: pre; }
.srw-ghost { opacity: 0.18; color: currentColor; }
.srw-fill {
  position: absolute; top: 0; left: 0;
  color: currentColor;
  pointer-events: none;
  white-space: pre;
}
.about-headline-reveal .about-headline-word { animation: none; opacity: 1; transform: none; filter: none; }

/* Word-by-word reveal (about headline) */
.about-headline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(6px);
}
.reveal.in .about-headline-word,
.about-grid.reveal.in .about-headline-word {
  animation: about-word-in 1s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes about-word-in {
  0%   { opacity: 0; transform: translateY(0.6em); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.about.in .about-headline-char,
.reveal.in .about-headline-char,
.about-grid.reveal.in .about-headline-char {
  /* keep existing animation */
}
@keyframes about-char-in {
  to { opacity: 1; transform: translateY(0); }
}
.about-btn {
  margin-top: 32px;
  align-self: flex-start;
}

.about-portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}
.about-portrait-wrap::before {
  content: "";
  position: absolute;
  width: min(560px, 130%);
  aspect-ratio: 1 / 1;
  top: calc(50% - 50px); left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,255,0.22) 0%, rgba(167,139,255,0.08) 38%, transparent 72%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: about-glow-pulse 6s ease-in-out infinite;
}
@keyframes about-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}
.about-portrait {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.05) contrast(1.02);
}
.about-name {
  text-align: center;
}
.about-name-main {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-name-sub {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-portrait-wrap { order: -1; }
  .about-portrait { width: min(320px, 80%); }
}

/* ── Services ───────────────────────────────────────────── */
.services { padding: 100px var(--pad); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-cell {
  padding: 40px; background: var(--bg); position: relative;
  transition: background 0.3s ease; cursor: default;
}
.service-cell:hover { background: rgba(167,139,255,0.05); }
.service-cell::before {
  content: counter(svc, decimal-leading-zero); counter-increment: svc;
  font-family: var(--font); font-size: 13px; color: var(--ink-3);
  position: absolute; top: 24px; right: 32px;
}
.services-grid { counter-reset: svc; }
.service-cell h3 { font-size: 28px; margin: 8px 0 14px; }
.service-cell p { color: var(--ink-3); max-width: 380px; font-size: 15px; }
.service-cell .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #6b3fff 100%);
  display: grid; place-items: center; color: #fff; margin-bottom: 24px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Showreel ───────────────────────────────────────────── */
.showreel { padding: 100px var(--pad); }
.showreel-frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #2a1a4a 0%, #1a1230 100%);
  border: 1px solid var(--line-2); cursor: pointer;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.showreel-frame:hover { transform: scale(1.005); }
.showreel-frame::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(167,139,255,0.4), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107,63,255,0.4), transparent 50%);
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--accent); border: 0;
  display: grid; place-items: center; color: #0d0820;
  box-shadow: 0 12px 40px var(--accent-glow);
  transition: transform 0.3s;
}
.play-btn::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.showreel-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }

/* ── Projects ───────────────────────────────────────────── */
.projects { padding: 100px var(--pad); }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proj-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  aspect-ratio: 4/3;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
}
.proj-card .gloss { display: none; }
.proj-card--wide { aspect-ratio: 1.85/1; }
.proj-card--wide .meta { bottom: 7px; }
.proj-card--wide .thumb { background: #1f1c23; }
.proj-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.proj-card .thumb {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
.proj-card:hover .thumb { transform: scale(1.04); }
.proj-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,7,16,0.85) 100%);
}
.proj-card .gloss {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(167,139,255,0.35), transparent 50%);
}
.proj-card .view {
  position: absolute; top: 18px; right: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10,7,16,0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(-4px);
  transition: all 0.3s ease;
}
.proj-card:hover .view { opacity: 1; transform: translateY(0); }
.proj-card .meta { position: absolute; left: 22px; bottom: 22px; right: 22px; }
.proj-card .tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.proj-card .tags span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.proj-card .meta h3 { font-size: 32px; }
.proj-card .meta p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 1100px) {
  .proj-grid > .proj-card { width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 1.33/1; }
}
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .proj-grid > .proj-card { width: 100% !important; height: auto !important; aspect-ratio: 5/4; }
}
/* Tablet + Mobile (≤1024px) — Card stapelt vertikal: Bild oben im Landscape-
   Format (Mockup komplett sichtbar, nicht zugeschnitten), Text sauber darunter
   im normalen Flow statt absolute-overlay. Desktop (>1024px) bleibt mit dem
   klassischen Overlay-Layout. */
@media (max-width: 1024px) {
  .proj-grid > .proj-card,
  .proj-grid > .proj-card[style] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    display: flex !important;
    flex-direction: column;
  }
  /* Thumb wird zur normalen Box mit fixem Landscape-Verhältnis */
  .proj-card .thumb,
  .proj-card .thumb[style] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    flex-shrink: 0;
  }
  /* Mockup-Screenshot komplett zeigen — kein seitlicher Beschnitt, das ganze
     Website-Hero ist sichtbar (Logo links, Nav rechts vollständig). */
  .proj-card .thumb img,
  .proj-card .thumb img[style] {
    object-fit: contain !important;
    object-position: center top !important;
  }
  /* Thumb-Hintergrund passt zur Card, damit eventuelle Letterbox-Bereiche
     nahtlos wirken. */
  .proj-card .thumb { background: #0a0710 !important; }
  /* Verlauf entfernen — kein Text-Overlay mehr nötig */
  .proj-card .thumb::after { display: none !important; }
  /* Meta in den normalen Flow holen — mehr Platz seitlich, damit Tags,
     Titel und Text nicht am Card-Rand kleben. !important wegen inline
     padding:"0px" im JSX. */
  .proj-card .meta,
  .proj-card .meta[style] {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 22px 28px 26px 28px !important;
    margin: 0 !important;
  }
  .proj-card .meta h3 { font-size: 22px; line-height: 1.2; }
  .proj-card .meta p { font-size: 12px; line-height: 1.5; margin-top: 8px; }
  .proj-card .view { top: 14px; right: 14px; padding: 7px 12px; font-size: 11.5px; }
}

/* ── Cases (carousel) ───────────────────────────────────── */
.cases { padding: 100px var(--pad); }
.cases-track-wrap { overflow: hidden; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
.cases-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cases-track::-webkit-scrollbar { display: none; }
.case-card {
  flex: 0 0 calc(((100% - 72px) / 4) + 20px);
  scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,0.02); overflow: hidden;
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.case-card:hover { border-color: var(--accent); }
.case-card .thumb {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
}
.case-card .case-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.case-card .thumb .gloss {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(196,179,255,0.3), transparent 60%);}
.case-card .body { padding: 24px; flex: 1; }
.case-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.case-card .tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(167,139,255,0.12); border: 1px solid rgba(167,139,255,0.25);
  color: var(--accent-2); display: inline-block;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.case-card .tags .tag { margin-bottom: 0; }
.case-card h3 { font-size: 26px; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.case-card .cs-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-card .cs-meta dt { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.case-card .cs-meta dd { margin: 0; font-size: 13px; color: var(--ink-2); }
.case-card .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 22px 24px;
  border-top: 1px solid rgba(167,139,255,0.18);
  background: linear-gradient(180deg, rgba(167,139,255,0.10), rgba(167,139,255,0.04));
}
.case-card .stats .num { font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--accent-2); }
.case-card .stats .lbl { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.cases-controls { display: flex; gap: 10px; }
.cases-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(167,139,255,0.08);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(167,139,255,0.18), 0 8px 24px rgba(167,139,255,0.1);
  color: var(--ink);
  display: grid; place-items: center; transition: all 0.2s;
}
.cases-controls button:hover {
  background: var(--accent);
  color: #0d0820;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(167,139,255,0.4), 0 10px 26px rgba(167,139,255,0.25);
}

@media (max-width: 980px) { .case-card { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .case-card { flex: 0 0 100%; } }

/* ── Stats ──────────────────────────────────────────────── */
.stats-section { padding: 100px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; justify-content: center; }
.stat-cell {
  padding: 32px 28px; border-right: 1px solid var(--line);
  position: relative;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .num {
  font-family: var(--font-display); font-size: clamp(64px, 8vw, 112px);
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat-cell .num .pre, .stat-cell .num .suf {
  font-size: 0.5em; color: var(--accent);
}
.stat-cell .lbl { color: var(--ink-3); font-size: 14px; margin-top: 12px; max-width: 220px; }
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } .stat-cell { padding: 22px 12px; } .stat-cell .num, .stat-cell .num[style] { font-size: clamp(36px, 8vw, 56px) !important; } .stat-cell .lbl { font-size: 12px; } }
@media (max-width: 540px) { .stats-grid { grid-template-columns: 1fr; } .stat-cell { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials { padding: 100px var(--pad); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: rgba(255,255,255,0.02); transition: all 0.3s;
  display: flex; flex-direction: column; gap: 18px; min-height: 280px;
}
.testi-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.testi-card .quote { color: var(--ink); font-size: 17px; line-height: 1.5; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-card .who .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #c4b3ff, #6b3fff);
  flex-shrink: 0;
}
.testi-card .who .nm { font-size: 14px; font-weight: 500; }
.testi-card .who .rl { font-size: 12px; color: var(--ink-3); }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }

/* ── Mission ────────────────────────────────────────────── */
.mission {
  padding: 200px var(--pad) 240px;
  position: relative; overflow: hidden; text-align: center;
  background: transparent;
}
.mission.has-bg-video { isolation: isolate; }

/* Radar underlay (mission) */
.mission { isolation: isolate; }
.mission .radar-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  transform: translateY(0);
}
.mission .radar-bg__stage {
  position: relative;
  width: 100%;
  max-width: 48rem;
  height: 22rem;
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}
.mission .row { margin: 0 auto; width: 100%; }
.mission .row.wide { max-width: 40rem; }
.mission .row.mid  { max-width: 22rem; }
.mission .row-inner {
  display: flex; width: 100%;
  align-items: center; justify-content: space-between;
}
.mission .icon-container {
  position: relative;
  display: flex;
  height: 3rem; width: 3rem;
  align-items: center; justify-content: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border: 1px solid rgba(196, 179, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(196, 179, 255, 0.15),
    0 0 20px rgba(196, 179, 255, 0.15),
    0 10px 25px rgba(0,0,0,0.6),
    inset 0 0 20px rgba(196, 179, 255, 0.05);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: mission-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  z-index: 50;
}
.mission .icon-container::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(196, 179, 255, 0.5), rgba(15,23,42,0));
  z-index: -1;
}
.mission .icon-container .label {
  position: absolute; top: -1.5rem; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  color: #cbd5e1;
  opacity: 0;
  animation: mission-fadein 0.5s ease-out forwards;
  animation-delay: inherit;
  pointer-events: none;
}
.mission .icon {
  width: 1.5rem; height: 1.5rem;
  color: #c4b3ff;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
@keyframes mission-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mission-fadein { to { opacity: 1; } }

.mission .radar {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36rem; height: 36rem;
  transform: translate(-50%, 50%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 40;
}
.mission .radar .ring {
  position: absolute; inset: 0;
  border-radius: 9999px;
  border: 1px solid rgba(148,163,184,0.15);
}
.mission .radar .ring.r2 { inset: 12%; }
.mission .radar .ring.r3 { inset: 24%; }
.mission .radar .ring.r4 { inset: 36%; }
.mission .radar .sweep {
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 280deg,
    rgba(196, 179, 255, 0)    290deg,
    rgba(196, 179, 255, 0.35) 350deg,
    rgba(196, 179, 255, 0.7)  358deg,
    rgba(255,255,255,0.9)     360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 10%, black 11%, black 100%);
          mask: radial-gradient(circle, transparent 10%, black 11%, black 100%);
  animation: mission-sweep 4s linear infinite;
  filter: blur(0.5px);
}
.mission .radar .core { display: none; }
@keyframes mission-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.mission .mission-stage { position: relative; z-index: 60; }
.mission.has-bg-video .mission-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  border: 0;
  background: #000;
  pointer-events: none;
  z-index: 0;
  filter: none;
}
.mission.has-bg-video .mission-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,16,0.18) 0%, rgba(10,7,16,0.05) 50%, rgba(10,7,16,0.55) 100%);
}
.mission.has-bg-video .mission-bg { display: none; }
.mission.has-bg-video .mission-stage { position: relative; z-index: 2; }
.mission-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mission-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.4);
  width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle,
    rgba(255,255,255,0.55) 0%,
    rgba(216,170,255,0.35) 12%,
    rgba(167,139,255,0.18) 30%,
    rgba(167,139,255,0.05) 55%,
    transparent 75%);
  filter: blur(30px);
  opacity: 0;
}
.mission-stage.is-active .mission-glow {
  animation: m-glow-bloom 2.4s 1.6s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
@keyframes m-glow-bloom {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
}

.mission-stage {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto;
  min-height: clamp(420px, 52vw, 680px);
}

.mission-hands {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
/* Blobs (replaces hand images) */
.m-blob-wrap {
  position: absolute;
  width: clamp(320px, 44vw, 620px);
  aspect-ratio: 1;
  filter: drop-shadow(0 30px 80px rgba(167,139,255,0.45)) drop-shadow(0 0 60px rgba(255,106,217,0.35));
  opacity: 0;
  will-change: transform, opacity;
}
.m-blob-wrap-l {
  left: 0; bottom: 0;
  transform: translate(-55%, 25%);
}
.m-blob-wrap-r {
  right: 0; top: 0;
  transform: translate(55%, -25%);
}
.mission-stage.is-active .m-blob-wrap-l {
  animation: m-blob-l-in 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.mission-stage.is-active .m-blob-wrap-r {
  animation: m-blob-r-in 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes m-blob-l-in {
  0%   { opacity: 0; transform: translate(-55%, 25%) scale(0.85); }
  20%  { opacity: 1; }
  100% { opacity: 0.95; transform: translate(-8%, 6%) scale(1); }
}
@keyframes m-blob-r-in {
  0%   { opacity: 0; transform: translate(55%, -25%) scale(0.85); }
  20%  { opacity: 1; }
  100% { opacity: 0.95; transform: translate(8%, -6%) scale(1); }
}
.m-blob {
  width: 100%; height: 100%; display: block;
  animation: m-blob-float 12s ease-in-out infinite;
}
.m-blob-r { animation-direction: reverse; }
@keyframes m-blob-float {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.04); }
}

/* Spark between fingertips */
.m-spark, .m-spark-burst {
  position: absolute; left: 50%; top: 50%;
  pointer-events: none;
  opacity: 0;
}
.m-spark {
  width: 18px; height: 18px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, #fff 0%, #f0e0ff 35%, rgba(216,170,255,0.6) 60%, transparent 75%);
  box-shadow:
    0 0 30px 8px rgba(255,255,255,0.9),
    0 0 60px 18px rgba(216,170,255,0.7),
    0 0 120px 40px rgba(167,139,255,0.5);
}
.m-spark-burst {
  width: 4px; height: 4px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}
.mission-stage.is-active .m-spark {
  animation: m-spark-pop 2.2s 1.5s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
.mission-stage.is-active .m-spark-burst {
  animation: m-burst 1.4s 1.6s ease-out forwards;
}
@keyframes m-spark-pop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  30%  { opacity: 1; transform: translate(-50%, -50%) scale(2); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes m-burst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(40); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(80); }
}

/* Text overlays hands */
.mission-text {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(80px, 12vw, 160px);
}
.mission-kicker-wrap {
  margin-bottom: 22px;
  opacity: 0;
}
.mission-stage.is-active .mission-kicker-wrap {
  animation: m-fade-up 500ms 0.05s ease-out forwards;
}
@keyframes m-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mission-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  opacity: 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
  max-width: 900px;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.mission-stage.is-active .mission-title {
  animation: m-fade-up 600ms 0.2s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
.mission-title .ml {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
}
.mission-stage.is-active .mission-title .ml {
  animation: m-letter-in 700ms cubic-bezier(0.2,0.7,0.25,1) forwards;
}
@keyframes m-letter-in {
  0%   { opacity: 0; transform: translateY(0.5em); filter: blur(8px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.mission-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  opacity: 0;
}
.mission-stage.is-active .mission-sub {
  animation: m-fade-up 500ms 0.4s ease-out forwards;
}

.mission-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
}
.mission-stage.is-active .mission-ctas {
  animation: m-fade-up 500ms 0.55s ease-out forwards;
}
.mission-btn { position: relative; z-index: 3; }

@media (max-width: 720px) {
  .mission { padding: 130px var(--pad) 100px; }
  .mission-stage { min-height: 540px; }
  .m-hand { width: 70vw; }
}
@media (prefers-reduced-motion: reduce) {
  .mission-stage *, .mission-stage { animation: none !important; opacity: 1 !important; transform: none !important; }
}

.recognition { padding: 100px var(--pad); }
.recog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recog-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: rgba(255,255,255,0.02); transition: all 0.3s;
}
.recog-card:hover { border-color: var(--accent); background: rgba(167,139,255,0.04); }
.recog-card .logo {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(255,255,255,0.06); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 22px; color: var(--accent);
  margin-bottom: 24px;
}
.recog-card .co { font-size: 18px; font-weight: 500; }
.recog-card .csub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.recog-card .award {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.recog-card .award .yr { color: var(--accent-2); font-family: var(--font-display); font-size: 18px; }
@media (max-width: 980px) { .recog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .recog-grid { grid-template-columns: 1fr; } }

/* ── Team ───────────────────────────────────────────────── */
.team { padding: 100px var(--pad); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.02); transition: all 0.3s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.team-card .photo {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #4a2a7a 0%, #2a1a4a 100%);
}
.team-card .photo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,179,217,0.3), transparent 60%);
}
.team-card .photo::after {
  content: ""; position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%);
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,255,0.6), transparent 70%);
  filter: blur(20px);
}
.team-card .body { padding: 22px; }
.team-card h3 { font-size: 22px; margin-bottom: 4px; font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; }
.team-card .role { color: var(--accent-2); font-size: 13px; margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--ink-3); }
@media (max-width: 980px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* ── Blog ───────────────────────────────────────────────── */
.blog { padding: 100px var(--pad); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card { transition: transform 0.3s; cursor: pointer; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card .thumb {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px;
  background: linear-gradient(135deg, #2a1a4a, #1a1230); position: relative;
  border: 1px solid var(--line);
}
.blog-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(167,139,255,0.25), transparent 60%);
}
.blog-card .meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.blog-card .meta .tag { color: var(--accent-2); }
.blog-card h3 { font-size: 22px; font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Big CTA ────────────────────────────────────────────── */
.bigcta {
  padding: 120px var(--pad); text-align: center; position: relative;
}
.bigcta::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(80px); z-index: -1;
}
.bigcta h2 { max-width: 900px; margin: 16px auto 22px; }
.bigcta p { max-width: 600px; margin: 0 auto 36px; font-size: 17px; }
.bigcta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 80px var(--pad) 32px; background: rgba(0,0,0,0.4); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
.footer .ready { font-family: var(--font-display); font-size: 32px; max-width: 360px; line-height: 1.1; }
.footer .ready-sub { font-size: 14px; color: var(--ink-3); margin-top: 14px; max-width: 320px; }
.footer .email-form {
  display: flex; gap: 8px; margin-top: 24px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 6px 6px 6px 18px;
}
.footer .email-form:has(.coffee-btn) { padding: 0; background: transparent; border: 0; }
.footer .email-form .coffee-btn { padding: 14px 26px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.footer .email-form input { flex: 1; background: transparent; border: 0; color: var(--ink); font: inherit; outline: none; min-width: 0; }
.footer .email-form input::placeholder { color: var(--ink-3); }
.footer .email-form button {
  padding: 10px 20px; border-radius: 999px; border: 0;
  background: var(--accent); color: #0d0820; font-weight: 500; font-size: 14px;
  white-space: nowrap;
}
.footer .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-family: var(--font); font-weight: 500; margin-bottom: 18px; }
.footer .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer .col a { color: var(--ink-2); font-size: 14px; transition: color 0.2s; }
.footer .col a:hover { color: var(--accent); }
.footer-bot {
  padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--ink-3);
}
.footer-bot .social { display: flex; gap: 14px; }
.footer-bot .social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--line); transition: all 0.2s; }
.footer-bot .social a:hover { border-color: var(--accent); color: var(--accent); }

.footer .big-mark {
  font-family: var(--font-display); font-size: clamp(48px, 14vw, 200px);
  line-height: 0.9; letter-spacing: -0.04em; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 60px; user-select: none; white-space: nowrap; overflow: hidden;
  width: 100%;
}

@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Reveal animations ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }

/* Services page — alternating slide-in directions (per-card observer) */
.lst-row.reveal {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.lst-row.reveal.lst-slide-left { transform: translateX(-120px); }
.lst-row.reveal.lst-slide-right { transform: translateX(120px); }
.lst-row.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

/* Cursor glow */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 3;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  transform: translate(-50%, -50%); opacity: 0.4;
  transition: opacity 0.4s; mix-blend-mode: screen; filter: blur(40px);
}

.trusted .avatars.no-stack {
  padding: 10px 22px;
  border-color: var(--accent);
  background: rgba(167,139,255,0.08);
  box-shadow: 0 0 0 1px rgba(167,139,255,0.2), 0 8px 24px rgba(167,139,255,0.12);
}
.trusted .avatars.no-stack:hover {
  background: rgba(167,139,255,0.16);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(167,139,255,0.35), 0 12px 28px rgba(167,139,255,0.2);
}

/* Typing caret for TypingTitle */
.type-caret {
  display: inline-block;
  width: 0.06em;
  min-width: 3px;
  height: 0.9em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: type-caret-blink 0.9s steps(1, end) infinite;
}
.type-caret.done {
  animation: type-caret-blink 0.9s steps(1, end) infinite, type-caret-fade 1.6s 4s forwards;
}
@keyframes type-caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes type-caret-fade {
  to { opacity: 0; visibility: hidden; }
}

/* ─────────────────────────────────────────────────────────────
   SUB-PAGE LAYOUTS
   ───────────────────────────────────────────────────────────── */

/* ── Page hero (top of every sub-page) ──────────────────── */
.page-hero {
  padding: 180px var(--pad) 80px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero .breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 22px;
}
.page-hero .breadcrumbs a { color: var(--ink-2); transition: color 0.2s; }
.page-hero .breadcrumbs a:hover { color: var(--accent); }
.page-hero .breadcrumbs .sep { opacity: 0.4; }
.page-hero h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
  max-width: 16ch;
}
.page-hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  white-space: pre-line;
  max-width: 60ch;
  line-height: 1.6;
  white-space: pre-line;
}

/* ── Pinned hero (sticky scroll-buffer for Projekte) ───── */
.page-hero-pinned {
  min-height: 1100vh;        /* even longer runway — very slow scroll-driven animation */
  padding: 0;
  --p: 0;
  --pin-fade: 1;
  --text-opacity: 1;
  --folder-tilt-x: 0deg;
  --folder-rotate-y: 0deg;
  --folder-scale: 1;
  --folder-y: 0px;
  --folder-glow: 0.5;
  perspective: 1400px;
}
.page-hero-pin-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--pad) 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  opacity: var(--pin-fade);
  will-change: opacity;
}
.page-hero-pinned .breadcrumbs,
.page-hero-pinned .kicker,
.page-hero-pinned h1,
.page-hero-pinned .lead {
  opacity: var(--text-opacity);
  transition: opacity 80ms linear;
}
.page-hero-pinned .breadcrumbs { justify-content: center; }
.page-hero-pinned h1 { max-width: 18ch; margin: 12px auto 22px; }
.page-hero-pinned .lead { margin: 0 auto; max-width: 56ch; }
.page-hero-pinned .folder-hero {
  margin-top: clamp(24px, 5vh, 56px);
  transform-style: preserve-3d;
}

/* Folder image: scroll-driven 3D rotation + scale + lift */
.page-hero-pinned .folder-hero img {
  transform-style: preserve-3d;
  transform:
    translateY(var(--folder-y))
    rotateX(var(--folder-tilt-x))
    rotateY(var(--folder-rotate-y))
    scale(var(--folder-scale));
  transition: filter 120ms linear;
  will-change: transform;
  backface-visibility: visible;
}

/* In bare-hero mode (Projekte) the folder grows big and is alone on stage */
.page-hero-pinned .folder-hero {
  width: min(560px, 78vw);
}

/* Idle float — disabled once user starts scrolling-engaging */
.page-hero-pinned:not(.is-engaged) .folder-hero img {
  animation: folder-float 7s ease-in-out infinite;
}
.page-hero-pinned.is-engaged .folder-hero img { animation: none; }

/* Glow strength tracks scroll progress */
.page-hero-pinned .folder-hero {
  filter: drop-shadow(0 40px calc(60px + var(--folder-glow) * 60px) rgba(167,139,255, calc(0.4 + var(--folder-glow) * 0.5)));
}
.page-hero-pinned .folder-hero::before {
  opacity: calc(0.6 + var(--folder-glow) * 0.4);
  transform: scale(calc(1 + var(--folder-glow) * 0.2));
}

/* Hide scroll-hint as soon as user starts engaging */
.page-hero-pinned.is-engaged .scroll-hint { opacity: 0; transition: opacity 240ms ease; }

@media (max-width: 720px) {
  .page-hero-pinned { min-height: 820vh; }
  .page-hero-pin-inner { padding-top: 110px; }
  .page-hero-pinned .folder-hero { width: min(340px, 78vw); }
}

/* ── Centered hero variant (e.g. Projekte) ──────────────── */
.page-hero-center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 40px;
}
.page-hero-center .breadcrumbs { justify-content: center; }
.page-hero-center h1 {
  max-width: 18ch;
  margin: 12px auto 22px;
}
.page-hero-center .lead {
  margin: 0 auto;
  max-width: 56ch;
}

/* Folder hero illustration */
.folder-hero {
  margin-top: clamp(28px, 6vh, 64px);
  width: min(440px, 70vw);
  aspect-ratio: 16/9;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 40px 80px rgba(167,139,255,0.55));
}
.folder-hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,255,0.35) 0%, rgba(167,139,255,0.08) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  animation: folder-pulse 5s ease-in-out infinite;
}
.folder-hero img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  animation: folder-float 7s ease-in-out infinite;
}
@keyframes folder-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes folder-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1.2deg); }
}

/* Scroll hint at bottom of folder hero */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  animation: scroll-fade-in 600ms 1.2s forwards;
}
@keyframes scroll-fade-in { to { opacity: 0.7; } }
.scroll-hint .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent) 30%, transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 720px) {
  .page-hero-center { padding-top: 120px; min-height: 90vh; }
  .folder-hero { width: min(280px, 75vw); margin-top: 32px; }
  .scroll-hint { bottom: 18px; font-size: 10px; }
  .scroll-hint .line { height: 28px; }
}

.page-content { padding: 0 var(--pad) 120px; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }

/* ── Prose (Impressum, Datenschutz) ─────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 56px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin: 28px 0 8px;
  letter-spacing: -0.005em;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose a { color: var(--accent-2); text-decoration: none; border-bottom: 1px solid rgba(167,139,255,0.35); transition: color 0.2s, border-color 0.2s; }
.prose a:hover { color: var(--accent); border-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .placeholder {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(167,139,255,0.12);
  border: 1px dashed rgba(167,139,255,0.4);
  border-radius: 4px;
  color: var(--accent-2);
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.prose .updated {
  display: inline-block;
  margin-bottom: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ── Leistungen — expanded service rows ─────────────────── */
.lst-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lst-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}
.lst-row:hover { border-color: var(--line-2); }
.lst-row::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(60px); opacity: 0.5; pointer-events: none;
}
.lst-row:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.lst-row:nth-child(even) .lst-text { order: 2; }
.lst-row:nth-child(even) .lst-visual { order: 1; }
.lst-row .num {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-style: normal;
}
.lst-row h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lst-row p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.lst-row ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lst-row ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.lst-row ul li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  box-shadow: 0 0 12px var(--accent-glow);
}
.lst-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.lst-visual.lst-visual-bare {
  background: transparent;
  border: 0;
  overflow: visible;
}
.lst-visual.lst-visual-bare::after { display: none; }
.lst-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
}
.lst-visual .visual-icon {
  position: relative; z-index: 1;
  width: 88px; height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), #6b3fff);
  display: grid; place-items: center;
  box-shadow: 0 20px 50px var(--accent-glow);
  color: #fff;
}
.lst-visual .visual-icon svg { width: 40px; height: 40px; }
.lst-row .lst-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent-2);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(167,139,255,0.4);
  transition: color 0.2s, gap 0.2s;
  text-decoration: none;
  align-self: flex-start;
  width: max-content;
}
.lst-row .lst-cta:hover { color: var(--accent); gap: 12px; }

/* ── Projekte page — stacked rows with monitor mockup ─── */
.prj-rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.prj-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.prj-row.in { opacity: 1; transform: translateY(0); }
.prj-row::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(70px); opacity: 0.4; pointer-events: none;
}
.prj-row:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.prj-row:nth-child(even) .prj-row-text { order: 2; }
.prj-row:nth-child(even) .prj-row-visual { order: 1; }
.prj-row:nth-child(even)::before { right: auto; left: -160px; }

.prj-row-text .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.prj-row-text .tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
}
.prj-row-text .tags span {
  font-size: 10.5px; padding: 4px 10px; border-radius: 999px;
  background: rgba(167,139,255,0.10); border: 1px solid rgba(167,139,255,0.25);
  color: var(--accent-2);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.prj-row-text h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.prj-row-text p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 50ch;
}
.prj-row-text .prj-row-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--accent-2);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(167,139,255,0.4);
  transition: color 0.2s, gap 0.2s, border-color 0.2s;
  text-decoration: none;
  width: max-content;
}
.prj-row-text .prj-row-cta:hover { color: var(--accent); gap: 12px; border-color: var(--accent); }

/* ── Monitor / display mockup ──────────────────────────── */
.monitor {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 14px 14px 8px;
  background: linear-gradient(180deg, #1a1230 0%, #0e0820 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 2px 0 rgba(255,255,255,0.06) inset;
}
.monitor-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0 4px 10px;
}
.monitor-bar .dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.monitor-bar .dot.r { background: #ff5f57; }
.monitor-bar .dot.y { background: #febc2e; }
.monitor-bar .dot.g { background: #28c840; }
.monitor-bar .url {
  flex: 1; height: 22px; margin-left: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: ui-monospace, monospace;
  letter-spacing: -0.02em;
  overflow: hidden; white-space: nowrap;
}
.monitor-screen {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0710;
}
/* When the screen holds a real video, match the actual mp4 aspect (1280x670 ≈ 1.91:1)
   so the video fills the screen edge-to-edge with no letterbox bars. */
.monitor-screen.has-video {
  aspect-ratio: 1280 / 670;
  pointer-events: none; /* visitors can't pause / open in new tab */
  overflow: hidden;
  background: var(--bg);
}
.monitor-screen::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a1a4a 0%, #1a1230 100%);
}
.monitor-screen .gloss {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: monitor-shift 9s ease-in-out infinite;
}
@keyframes monitor-shift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, 4%) scale(1.1); }
}
/* Scan lines for "playing video" feel */
.monitor-screen::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: 0.4;
}
/* Sweeping highlight band — "playing" pulse */
.monitor-screen .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.08) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: monitor-scan 4s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes monitor-scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.monitor-screen .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(10,7,16,0.55);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.monitor-screen .play::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  animation: play-pulse 2.4s ease-out infinite;
}
@keyframes play-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.monitor-screen .play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(167,139,255,0.4); }
.monitor-screen .play svg { width: 22px; height: 22px; }

/* Static image inside monitor (for projects without video) */
.monitor-screen img.monitor-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}

/* Real video / Google Drive iframe inside monitor */
.monitor-screen iframe.monitor-video {
  position: absolute;
  /* Push Drive's top header + bottom controls outside the visible area while
     keeping the video itself at native 1:1 scale (no stretching / blur). */
  left: 0;
  top: -60px;
  width: 100%;
  height: calc(100% + 120px);
  border: 0;
  background: #000;
  pointer-events: none;
  z-index: 2;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* Native <video> mockup (local mp4) — shows the full video, no cropping.
   Background matches the site so letterbox bars blend in. */
.monitor-screen video.monitor-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg);
  pointer-events: none;
  z-index: 2;
}
/* Placeholder shown until the row scrolls into view (lazy-load videos) */
.monitor-screen .monitor-video-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #2a1a4a 0%, #1a1230 100%);
  z-index: 2;
}
.monitor-screen .monitor-video-placeholder::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: video-spin 1s linear infinite;
}
@keyframes video-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ── Calendar mockup inside monitor (Rely On AG) ───────── */
.cal-mock {
  position: absolute;
  inset: 0;
  background: #0c0716;
  color: #f4f1fb;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}
.cal-mock .cal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(167,139,255,0.06), transparent);
}
.cal-mock .cal-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.cal-mock .cal-nav {
  display: flex; align-items: center; gap: 8px; font-size: 9px; color: var(--ink-3);
}
.cal-mock .cal-nav button {
  width: 18px; height: 18px; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ink-2); display: grid; place-items: center;
  font-size: 10px; padding: 0; cursor: default;
}
.cal-mock .cal-week {
  flex: 1;
  display: grid;
  grid-template-columns: 32px repeat(5, 1fr);
  grid-template-rows: 22px repeat(7, 1fr);
  font-size: 8.5px;
  position: relative;
  min-height: 0;
}
.cal-mock .cal-day {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 4px 6px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 4px;
}
.cal-mock .cal-day .d {
  font-size: 7.5px; color: var(--ink-3); font-weight: 400;
}
.cal-mock .cal-day.today {
  color: var(--accent-2);
}
.cal-mock .cal-day.today .d {
  background: var(--accent);
  color: #0d0820;
  border-radius: 4px;
  padding: 1px 4px;
  font-weight: 600;
}
.cal-mock .cal-time {
  padding: 2px 4px 0 0;
  font-size: 7.5px;
  color: var(--ink-3);
  text-align: right;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.cal-mock .cal-cell {
  border-right: 1px solid rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 1.5px;
  position: relative;
}
.cal-mock .cal-cell:last-child { border-right: 0; }
.cal-mock .cal-evt {
  position: absolute;
  inset: 1px;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cal-mock .cal-evt .who {
  font-size: 6.5px;
  opacity: 0.75;
  font-weight: 400;
}
.cal-mock .cal-evt.v1 {
  background: rgba(167,139,255,0.22);
  border-color: rgba(167,139,255,0.55);
  color: #e1d5ff;
}
.cal-mock .cal-evt.v2 {
  background: rgba(196,179,255,0.18);
  border-color: rgba(196,179,255,0.45);
  color: #ddd0ff;
}
.cal-mock .cal-evt.v3 {
  background: rgba(122,77,255,0.25);
  border-color: rgba(122,77,255,0.55);
  color: #d8c8ff;
}
.cal-mock .cal-evt.v4 {
  background: rgba(255,179,217,0.16);
  border-color: rgba(255,179,217,0.4);
  color: #ffd6ec;
}
.cal-mock .cal-evt.v5 {
  background: rgba(122,240,255,0.14);
  border-color: rgba(122,240,255,0.36);
  color: #b8edf5;
}
.cal-mock .cal-evt.tall {
  /* allow it to span up to 2 rows */
  height: calc(200% + 2px);
}
/* "Now" indicator */
.cal-mock .cal-now {
  position: absolute;
  left: 32px; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
  z-index: 3;
  pointer-events: none;
}
.cal-mock .cal-now::before {
  content: ""; position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

@media (max-width: 540px) {
  .cal-mock .cal-evt { font-size: 6.5px; padding: 1px 3px; }
  .cal-mock .cal-evt .who { font-size: 5.5px; }
  .cal-mock .cal-day { font-size: 8px; padding: 3px 4px; }
}
/* Reflection top edge */
.monitor-screen .reflection {
  position: absolute; top: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, transparent 100%);
  pointer-events: none;
}
/* Monitor base / stand */
.monitor-base {
  margin: 18px auto 0;
  width: 24%;
  height: 6px;
  background: linear-gradient(180deg, #1a1230, #0a0710);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}
.monitor-base::after {
  content: "";
  display: block;
  width: 60%;
  margin: 10px auto 0;
  height: 4px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, #100a1c, #0a0710);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .prj-rows { gap: 40px; }
  .prj-row { grid-template-columns: 1fr !important; padding: 32px; gap: 32px; }
  .prj-row:nth-child(even) .prj-row-text { order: 1; }
  .prj-row:nth-child(even) .prj-row-visual { order: 2; }
  .prj-row-text h2 { font-size: 26px; }
  .monitor { max-width: 100%; }
}
@media (max-width: 540px) {
  .prj-row { padding: 22px; }
  .monitor { padding: 10px 10px 6px; }
  .monitor-screen .play { width: 50px; height: 50px; }
  .monitor-base { margin-top: 12px; }
}

/* ── Projekte — extended portfolio grid ─────────────────── */
.prj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.prj-grid .prj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  aspect-ratio: 4/3;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
  text-decoration: none;
  color: inherit;
  display: block;
}
.prj-grid .prj-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.prj-grid .prj-card .thumb {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
  transition: transform 0.6s ease;
}
.prj-grid .prj-card:hover .thumb { transform: scale(1.04); }
.prj-grid .prj-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,7,16,0.9) 100%);
}
.prj-grid .prj-card .gloss { position: absolute; inset: 0; }
.prj-grid .prj-card .meta {
  position: absolute; left: 26px; right: 26px; bottom: 26px;
}
.prj-grid .prj-card .meta .tags {
  display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap;
}
.prj-grid .prj-card .meta .tags span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-2);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
}
.prj-grid .prj-card .meta h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.prj-grid .prj-card .meta p {
  font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0;
}
.prj-grid .prj-card .view {
  position: absolute; top: 18px; right: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10,7,16,0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); font-size: 12px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(-4px);
  transition: all 0.3s ease;
}
.prj-grid .prj-card:hover .view { opacity: 1; transform: translateY(0); color: var(--ink); }

.prj-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.prj-filter button {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.prj-filter button:hover { color: var(--ink); border-color: var(--accent); }
.prj-filter button.active {
  background: var(--accent);
  color: #0d0820;
  border-color: var(--accent);
}

/* ── Blog grid (page) ───────────────────────────────────── */
.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.blog-feature .thumb {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
  border: 1px solid var(--line);
  position: relative;
}
.blog-feature .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, var(--accent-glow), transparent 60%);
}
.blog-feature .body { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.blog-feature .meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.blog-feature .meta .tag { color: var(--accent-2); }
.blog-feature h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.blog-feature .excerpt { color: var(--ink-2); font-size: 16px; line-height: 1.6; }

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-page-grid .blog-card .thumb { aspect-ratio: 3/2; }
.blog-page-grid .blog-card h3 {
  font-family: var(--font); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em; line-height: 1.25;
}
.blog-page-grid .blog-card .excerpt {
  font-size: 14px; color: var(--ink-3); margin-top: 8px; line-height: 1.55;
}

/* ── Expandable blog cards ─────────────────────────────── */
.blog-card-expandable {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
}
.blog-card-expandable.is-feature {
  margin-bottom: 60px;
}
.blog-card-expandable .bc-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1a4a, #1a1230);
  position: relative;
  transition: aspect-ratio 0.5s cubic-bezier(.2,.7,.2,1);
}
.blog-card-expandable .bc-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: opacity 0.4s ease;
}
.blog-card-expandable .bc-cover-img-open {
  opacity: 0;
}
.blog-card-expandable.open .bc-cover-img-collapsed {
  opacity: 0;
}
.blog-card-expandable.open .bc-cover-img-open {
  opacity: 1;
}
.blog-card-expandable.is-feature .bc-cover {
  aspect-ratio: 21/9;
}
.blog-card-expandable .bc-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-card-expandable.is-feature .bc-body {
  padding: 36px 44px 40px;
}
.blog-card-expandable .meta {
  display: flex; gap: 14px; font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.blog-card-expandable .meta .tag {
  color: var(--accent-2);
}
.blog-card-expandable h3 {
  font-family: var(--font); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em; line-height: 1.25;
  margin: 0;
}
.blog-card-expandable.is-feature h3 {
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.blog-card-expandable .excerpt {
  font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0;
}
.blog-card-expandable.is-feature .excerpt {
  font-size: 16px; color: var(--ink-2); line-height: 1.6;
}

/* Hidden full-text area — collapsed by default */
.blog-card-expandable .bc-full {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.5s ease, margin 0.4s ease;
  margin-top: 0;
}
.blog-card-expandable.open .bc-full {
  max-height: 2200px;
  opacity: 1;
  margin-top: 4px;
}
.bc-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.bc-prose p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* Actions row (CTA) */
.blog-card-expandable .bc-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.blog-card-expandable .bc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(167,139,255,0.08);
  border: 1px solid rgba(167,139,255,0.35);
  color: var(--accent-2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.blog-card-expandable .bc-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0820;
}
.blog-card-expandable .bc-cta .bc-arrow {
  display: inline-flex;
  font-size: 14px;
  transition: transform 0.25s ease;
}
.blog-card-expandable.open .bc-cta .bc-arrow {
  transform: rotate(0deg);
  font-size: 18px;
  line-height: 1;
}

/* When open: take more emphasis */
.blog-card-expandable.open {
  border-color: var(--accent);
  background: rgba(167,139,255,0.04);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(167,139,255,0.15);
}
.blog-card-expandable.open .bc-cover {
  aspect-ratio: 24/9;
}

/* Grid: open card spans full row */
.blog-cards-grid {
  align-items: start;
}
.blog-cards-grid .blog-card-expandable.open {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .blog-cards-grid .blog-card-expandable.open { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .blog-card-expandable .bc-body { padding: 22px 22px 26px; }
  .blog-card-expandable.is-feature .bc-body { padding: 26px 22px 28px; }
  .blog-card-expandable.is-feature h3 { font-size: 26px; }
  .bc-prose p { font-size: 14.5px; line-height: 1.7; }
}

body.has-lamp .atmos { display: none !important; }
body.has-lamp .grain { opacity: 0.03 !important; }

/* ── Page-hero lamp (Aceternity-style, 1:1) ─────────── */
.page-hero.has-top-lamp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  z-index: 0;
  padding: 40px 0 0;
}

.page-hero.has-top-lamp .hero-lamp-stage {
  position: relative;
  display: flex;
  flex: 1 1 0%;
  width: 100%;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  z-index: 0;
  transform: scaleY(1.25);
}

/* ── Conic-gradient cones ───────────────────────────── */
.page-hero.has-top-lamp .hero-lamp-cone {
  position: absolute;
  inset: auto;
  height: 14rem;            /* h-56 */
  width: 15rem;             /* initial — animates to 30rem */
  overflow: visible;
  background-image: conic-gradient(var(--cone-pos), var(--cone-from), var(--cone-via), var(--cone-to));
  color: #fff;
  opacity: 0;
  animation: aceternity-cone 900ms 200ms cubic-bezier(.4,0,.2,1) forwards;
}
.page-hero.has-top-lamp .hero-lamp-cone-l {
  right: 50%;
  --cone-pos: from 70deg at center top;
  --cone-from: var(--accent);
  --cone-via: transparent;
  --cone-to: transparent;
}
.page-hero.has-top-lamp .hero-lamp-cone-r {
  left: 50%;
  --cone-pos: from 290deg at center top;
  --cone-from: transparent;
  --cone-via: transparent;
  --cone-to: var(--accent);
}
@keyframes aceternity-cone {
  to { opacity: 1; width: 30rem; }
}
/* Masks inside each cone — fade cone edges into the bg */
.page-hero.has-top-lamp .hero-lamp-cone .mask-bottom {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 10rem;
  background: var(--bg);
  z-index: 20;
  -webkit-mask-image: linear-gradient(to top, #fff, transparent);
          mask-image: linear-gradient(to top, #fff, transparent);
}
.page-hero.has-top-lamp .hero-lamp-cone-l .mask-side {
  position: absolute;
  width: 10rem;
  height: 100%;
  left: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 20;
  -webkit-mask-image: linear-gradient(to right, #fff, transparent);
          mask-image: linear-gradient(to right, #fff, transparent);
}
.page-hero.has-top-lamp .hero-lamp-cone-r .mask-side {
  position: absolute;
  width: 10rem;
  height: 100%;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 20;
  -webkit-mask-image: linear-gradient(to left, #fff, transparent);
          mask-image: linear-gradient(to left, #fff, transparent);
}

/* Floor blur band */
.page-hero.has-top-lamp .hero-lamp-floor-blur {
  position: absolute;
  top: 50%;
  height: 12rem;            /* h-48 */
  width: 100%;
  transform: translateY(3rem) scaleX(1.5);  /* translate-y-12 scale-x-150 */
  background: var(--bg);
  filter: blur(40px);       /* blur-2xl */
}

/* Backdrop blur overlay (subtle haze) */
.page-hero.has-top-lamp .hero-lamp-backdrop {
  position: absolute;
  top: 50%;
  z-index: 50;
  height: 12rem;
  width: 100%;
  background: transparent;
  opacity: 0.1;
  backdrop-filter: blur(12px);     /* backdrop-blur-md */
  -webkit-backdrop-filter: blur(12px);
}

/* Soft halo blob */
.page-hero.has-top-lamp .hero-lamp-halo {
  position: absolute;
  inset: auto;
  z-index: 50;
  height: 9rem;             /* h-36 */
  width: 28rem;             /* w-[28rem] */
  transform: translateY(-50%);
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0;
  filter: blur(64px);       /* blur-3xl */
  animation: aceternity-halo 900ms 200ms cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes aceternity-halo {
  to { opacity: 0.5; }
}

/* Bright bulb blob (above the line) */
.page-hero.has-top-lamp .hero-lamp-bulb {
  position: absolute;
  inset: auto;
  z-index: 30;
  height: 9rem;
  width: 8rem;
  transform: translateY(-6rem);
  border-radius: 9999px;
  background: var(--accent-2);
  filter: blur(40px);
  opacity: 0;
  animation: aceternity-bulb 900ms 200ms cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes aceternity-bulb {
  to { width: 16rem; opacity: 1; }
}

/* The bright horizontal line (the "lamp tube") */
.page-hero.has-top-lamp .hero-lamp-line {
  position: absolute;
  inset: auto;
  z-index: 50;
  height: 2px;
  width: 15rem;
  transform: translateY(-7rem);
  background: var(--bg);
  opacity: 0;
  animation: aceternity-line 900ms 200ms cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes aceternity-line {
  to { width: 30rem; opacity: 1; }
}

/* Ceiling — flat bg rect that covers everything above the line */
.page-hero.has-top-lamp .hero-lamp-ceiling {
  position: absolute;
  inset: auto;
  z-index: 40;
  height: 11rem;
  width: 100%;
  transform: translateY(-12.5rem);
  background: var(--bg);
}

/* Content positioned inside the lit cone, BELOW the line */
.page-hero.has-top-lamp .hero-lamp-content {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  /* In Aceternity content is -translate-y-80; we use slightly less so the
     breadcrumbs + kicker + h1 + lead all fit inside the lit area. */
  transform: translateY(-12rem);
  opacity: 0;
  animation: aceternity-content 900ms 500ms ease-out forwards;
  text-align: center;
  width: 100%;
  max-width: var(--maxw);
}
@keyframes aceternity-content {
  from { opacity: 0; transform: translateY(-6rem); }
  to   { opacity: 1; transform: translateY(-12rem); }
}
.page-hero.has-top-lamp .hero-lamp-content .breadcrumbs { justify-content: center; }
.page-hero.has-top-lamp .hero-lamp-content h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  /* subtle gradient text echoing the lamp light */
  background: linear-gradient(to bottom right, #fff 0%, #b7a8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero.has-top-lamp .hero-lamp-content .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .page-hero.has-top-lamp .hero-lamp-cone { height: 11rem; }
  .page-hero.has-top-lamp .hero-lamp-bulb { transform: translateY(-5rem); }
  .page-hero.has-top-lamp .hero-lamp-line { transform: translateY(-6rem); width: 12rem; }
  .page-hero.has-top-lamp .hero-lamp-ceiling { transform: translateY(-10rem); height: 8rem; }
  .page-hero.has-top-lamp .hero-lamp-content { transform: translateY(-9rem); }
  @keyframes aceternity-cone { to { opacity: 1; width: 24rem; } }
  @keyframes aceternity-bulb { to { width: 12rem; } }
  @keyframes aceternity-line { to { width: 24rem; } }
  @keyframes aceternity-content {
    from { opacity: 0; transform: translateY(-5rem); }
    to   { opacity: 1; transform: translateY(-9rem); }
  }
}

/* ── Lamp effect (accent-color glow with conic gradients) ─ */
.lamp-section {
  position: relative;
  margin: 100px auto 0;
  width: 100%;
  max-width: 1100px;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #0a0710 0%, #0e0820 100%);
  border: 1px solid var(--line);
  isolation: isolate;
  z-index: 0;
}
.lamp-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}
.lamp-stage::before {
  /* Big floor blur — page bottom glow */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(60px) scaleX(1.5);
  height: 192px;
  background: #0a0710;
  filter: blur(40px);
  z-index: 4;
}
.lamp-cone-l, .lamp-cone-r {
  position: absolute;
  inset: auto;
  top: 0;
  height: 14rem;
  width: 15rem;
  background-image: conic-gradient(var(--lamp-conic-position), var(--lamp-from), var(--lamp-via), var(--lamp-to));
  animation: lamp-expand 1.4s 0.2s ease-out forwards;
  z-index: 0;
  opacity: 0;
}
.lamp-cone-l {
  right: 50%;
  --lamp-conic-position: from 70deg at center top;
  --lamp-from: var(--accent);
  --lamp-via: transparent;
  --lamp-to: transparent;
}
.lamp-cone-r {
  left: 50%;
  --lamp-conic-position: from 290deg at center top;
  --lamp-from: transparent;
  --lamp-via: transparent;
  --lamp-to: var(--accent);
}
.lamp-section.in .lamp-cone-l,
.lamp-section.in .lamp-cone-r {
  animation: lamp-expand 1.4s 0.1s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes lamp-expand {
  0%   { width: 15rem; opacity: 0.4; }
  100% { width: 30rem; opacity: 1; }
}
/* Masks that gradient-fade the cones into the background */
.lamp-cone-l::after,
.lamp-cone-r::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 160px;
  background: #0a0710;
  z-index: 20;
  -webkit-mask-image: linear-gradient(to top, white, transparent);
          mask-image: linear-gradient(to top, white, transparent);
}
.lamp-cone-l::before,
.lamp-cone-r::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 160px; height: 100%;
  background: #0a0710;
  z-index: 20;
}
.lamp-cone-l::before {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, white, transparent);
          mask-image: linear-gradient(to right, white, transparent);
}
.lamp-cone-r::before {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, white, transparent);
          mask-image: linear-gradient(to left, white, transparent);
}

/* The bright bulb glow */
.lamp-glow-soft {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 9rem;
  width: 28rem;
  background: var(--accent);
  opacity: 0.5;
  filter: blur(80px);
  border-radius: 50%;
  z-index: 5;
}
.lamp-glow-bright {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 6rem));
  height: 9rem;
  width: 8rem;
  background: var(--accent-2);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 4;
  animation: lamp-bulb 1.4s 0.2s ease-out forwards;
  opacity: 0;
}
.lamp-section.in .lamp-glow-bright { animation: lamp-bulb 1.4s 0.1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes lamp-bulb {
  0%   { width: 8rem; opacity: 0.4; }
  100% { width: 16rem; opacity: 0.85; }
}

/* Thin horizontal beam — the "light line" */
.lamp-line {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 7rem));
  height: 2px;
  width: 15rem;
  background: var(--accent-2);
  z-index: 6;
  box-shadow: 0 0 18px var(--accent-glow), 0 0 36px var(--accent-glow);
  opacity: 0;
  animation: lamp-line 1.4s 0.2s ease-out forwards;
}
.lamp-section.in .lamp-line { animation: lamp-line 1.4s 0.1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes lamp-line {
  0%   { width: 15rem; opacity: 0; }
  20%  { opacity: 1; }
  100% { width: 30rem; opacity: 1; }
}

/* Floor blur — hides the lower half of the cones */
.lamp-floor {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 11rem;
  background: #0a0710;
  z-index: 7;
}

/* Text overlay */
.lamp-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px;
  transform: translateY(-3rem);
}
.lamp-content .kicker {
  background: rgba(167,139,255,0.10);
  border-color: rgba(167,139,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lamp-content h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 22px auto 14px;
  max-width: 14ch;
  background: linear-gradient(180deg, #fff 0%, #b7a8e8 50%, #6d4bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(40px);
  animation: lamp-h2 1.0s 0.7s ease-out forwards;
}
.lamp-section.in .lamp-content h2 { animation: lamp-h2 1.0s 0.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes lamp-h2 {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.lamp-content p {
  color: var(--ink-2);
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: lamp-h2 1.0s 0.95s ease-out forwards;
}
.lamp-section.in .lamp-content p { animation: lamp-h2 1.0s 0.85s cubic-bezier(.2,.7,.2,1) forwards; }

@media (max-width: 720px) {
  .lamp-section, .lamp-stage { min-height: 420px; }
  .lamp-content h2 { font-size: clamp(28px, 8vw, 38px); }
  .lamp-cone-l, .lamp-cone-r { height: 11rem; }
  .lamp-glow-bright { width: 6rem; height: 7rem; }
  .lamp-line { transform: translate(-50%, calc(-50% - 5.5rem)); }
}

/* ── Leistungen CTA with video background ───────────── */
.lst-cta-video {
  position: relative;
  margin-top: 100px;
  padding: 80px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lst-cta-video .lst-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.lst-cta-video .lst-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,7,16,0.55) 0%, rgba(10,7,16,0.78) 100%),
    radial-gradient(circle at 50% 50%, rgba(167,139,255,0.18), transparent 60%);
  pointer-events: none;
}
.lst-cta-video .lst-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.lst-cta-video .lst-cta-content .kicker {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lst-cta-video .lst-cta-content h2 {
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
@media (max-width: 720px) {
  .lst-cta-video { padding: 60px 22px; min-height: 320px; margin-top: 70px; }
}
.follow-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 100px;
  padding: 56px;
  border-radius: var(--radius);
  background: rgba(167,139,255,0.05);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.follow-card::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(60px); opacity: 0.5;
  pointer-events: none;
}
.follow-photo {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: 0 20px 60px rgba(167,139,255,0.35);
}
.follow-photo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}
.follow-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.follow-text { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.follow-text .kicker { margin-bottom: 4px; }
.follow-text h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  max-width: 20ch;
}
.follow-text p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 12px;
  max-width: 50ch;
}
.follow-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .follow-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
    gap: 28px;
    justify-items: center;
  }
  .follow-photo { width: 140px; }
  .follow-text { align-items: center; }
  .follow-text p { margin-left: auto; margin-right: auto; }
}

/* ── Responsive for sub-pages ──────────────────────────── */
@media (max-width: 980px) {
  .page-hero { padding: 140px var(--pad) 60px; }
  .lst-row { grid-template-columns: 1fr !important; padding: 36px; gap: 36px; }
  .lst-row:nth-child(even) .lst-text { order: 1; }
  .lst-row:nth-child(even) .lst-visual { order: 2; }
  .blog-feature { grid-template-columns: 1fr; gap: 24px; }
  .blog-page-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 130px var(--pad) 50px; }
  .page-hero h1 { margin: 12px 0 18px; }
  .page-content { padding: 0 var(--pad) 80px; }
  .lst-row { padding: 28px 24px; gap: 28px; }
  .lst-row h2 { font-size: 26px; }
  .prj-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .prose h2 { margin-top: 40px; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE OVERRIDES — Tablet & Mobile
   ───────────────────────────────────────────────────────────── */

/* Touch devices: hide cursor glow */
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none !important; }

  /* Mirror :hover effects on :active AND :focus-visible/:focus-within for instant tap feedback on touch */
  .btn:active, .btn:focus-visible { transform: translateY(-1px); border-color: var(--accent); }
  .btn-primary:active, .btn-primary:focus-visible { background: var(--accent-2); box-shadow: 0 12px 40px var(--accent-glow); }
  .proj-card:active, .proj-card:focus-visible, .proj-card:focus-within { transform: translateY(-4px); border-color: var(--line-2); }
  .proj-card:active .view, .proj-card:focus-visible .view, .proj-card:focus-within .view { opacity: 1; transform: translateY(0); }
  .proj-card:active .thumb, .proj-card:focus-visible .thumb, .proj-card:focus-within .thumb { transform: scale(1.04); }
  .lst-row:active, .lst-row:focus-within { border-color: var(--line-2); }
  .prj-row:active, .prj-row:focus-within { transform: translateY(-4px); border-color: var(--accent); }
  .case-card:active, .case-card:focus-within { border-color: var(--accent); }
  .team-card:active, .team-card:focus-within { border-color: var(--accent); transform: translateY(-4px); }
  .blog-card:active, .blog-card:focus-within { transform: translateY(-4px); }
  .blog-card-expandable:active, .blog-card-expandable:focus-within { border-color: var(--accent); }
  .testi-card:active, .testi-card:focus-within { border-color: var(--accent); transform: translateY(-4px); }
  .recog-card:active, .recog-card:focus-within { border-color: var(--accent); background: rgba(167,139,255,0.04); }
  .svc:active, .svc:focus-within, .service-cell:active, .service-cell:focus-within { transform: translateY(-4px); border-color: var(--line-2); background: rgba(167,139,255,0.05); }
  .avatars:active, .avatars:focus-visible { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
  .nav ul a:active, .nav ul a:focus-visible { color: var(--ink); background: rgba(255,255,255,0.06); }
  .lst-cta:active, .lst-cta:focus-visible,
  .prj-row-cta:active, .prj-row-cta:focus-visible,
  .bc-cta:active, .bc-cta:focus-visible {
    color: var(--accent);
    gap: 12px;
    border-color: var(--accent);
  }
  .showreel-frame:active, .showreel-frame:focus-within { transform: scale(1.005); }
  .showreel-frame:active .play-btn, .showreel-frame:focus-within .play-btn { transform: translate(-50%, -50%) scale(1.08); }
  .play:active, .play:focus-visible { transform: translate(-50%, -50%) scale(1.06); background: rgba(167,139,255,0.4); }
  .cases-controls button:active, .cases-controls button:focus-visible { background: var(--accent); color: #0d0820; }
  .prj-filter button:active, .prj-filter button:focus-visible { color: var(--ink); border-color: var(--accent); }
  .footer .col a:active, .footer .col a:focus-visible,
  .footer-bot .social a:active, .footer-bot .social a:focus-visible { color: var(--accent); border-color: var(--accent); }

  /* Smooth all interactive transitions so taps feel responsive */
  .btn, .proj-card, .lst-row, .prj-row, .case-card, .team-card, .blog-card,
  .blog-card-expandable, .testi-card, .recog-card, .service-cell, .svc,
  .avatars, .lst-cta, .prj-row-cta, .bc-cta, .play, .play-btn,
  .cases-controls button, .prj-filter button, .nav ul a {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ── Mobile menu drawer ─────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 5, 14, 0.96);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  padding: 100px 28px 40px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--font);
}
.mobile-menu a::after {
  content: '↗'; color: var(--ink-3); font-size: 16px;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu a:hover, .mobile-menu a:focus { color: var(--accent-2); }
.mobile-menu a:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.mobile-menu .mm-cta {
  margin-top: 24px; padding: 18px 22px;
  background: var(--accent); color: #0d0820;
  border-radius: 999px; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 500; font-size: 15px;
  border-bottom: 0;
}
.mobile-menu .mm-cta::after { color: #0d0820; }
.mobile-menu .mm-lang {
  margin-top: 28px;
  display: flex; gap: 6px; padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-self: flex-start;
}
.mobile-menu .mm-lang button {
  background: transparent; border: 0; color: var(--ink-3);
  padding: 8px 18px; border-radius: 999px; font-size: 13px;
  font-family: var(--font); cursor: pointer;
}
.mobile-menu .mm-lang button.active {
  background: var(--accent); color: #0d0820;
}

body.menu-open { overflow: hidden; }

/* Hamburger to X animation */
.nav .menu-btn { transition: transform 0.3s ease; }
.nav .menu-btn.open .l1 { transform: translateY(5px) rotate(45deg); }
.nav .menu-btn.open .l2 { opacity: 0; }
.nav .menu-btn.open .l3 { transform: translateY(-5px) rotate(-45deg); }
.nav .menu-btn .l1, .nav .menu-btn .l2, .nav .menu-btn .l3 {
  transition: transform 0.3s cubic-bezier(.6,.05,.28,.95), opacity 0.2s;
  transform-origin: center;
}

/* ── Tablet (max-width: 1100px) ─────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad: clamp(20px, 4vw, 40px); }
  .hero { gap: 40px; }
  .hero h1 { font-size: clamp(34px, 5vw, 52px) !important; }
  .hero h1 em { font-size: inherit !important; }
  .search-demo { min-height: 420px; padding: 20px; }
  h2 { font-size: clamp(32px, 4.4vw, 52px) !important; }
  h2 .ml { font-size: inherit !important; }
  /* Impressum + Datenschutz: Section-Überschriften klein halten — Rechtstexte
     sollen nicht wie Hero-Titel wirken. */
  .prose h2, .prose h2[style] { font-size: clamp(22px, 2.8vw, 26px) !important; line-height: 1.25; }
  .about-headline { font-size: clamp(32px, 4.4vw, 44px) !important; }
  .about-headline-char { font-size: inherit !important; }
  .mission-title { font-size: clamp(36px, 5.4vw, 64px) !important; }
  .mission-title .ml { font-size: inherit !important; }
  .stat-cell .num { font-size: clamp(56px, 8vw, 96px) !important; }
  .stat-cell .num span { font-size: inherit !important; }
  .proj-card .meta h3 { font-size: 26px; }
}

/* ── Nav tweaks at 980px ────────────────────────────────── */
@media (max-width: 980px) {
  .nav { padding: 8px 8px 8px 16px; gap: 8px; }
  .nav .logo span:last-child { font-size: 13px; }
  .nav .right .btn-primary { padding: 9px 14px !important; font-size: 12px !important; }
  .nav .lang-toggle { display: none; }
}

/* ── Tablet / small tablet (max-width: 900px) ───────────── */
@media (max-width: 900px) {
  section { padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
  .hero { padding: 120px var(--pad) 60px !important; gap: 32px; }
  .hero h1 { font-size: clamp(32px, 6.5vw, 46px) !important; }
  .hero .sub { font-size: 16px !important; max-width: 100% !important; }
  .search-demo { min-height: 380px; padding: 18px; }
  .search-bar .q { font-size: 14px; }
  .search-result .title-r { font-size: 13px; }
  .search-result .snippet { font-size: 11px; }

  .trusted { padding: 80px var(--pad) !important; }
  .about { padding: 90px var(--pad) !important; }
  .services { padding: 80px var(--pad) !important; }
  .showreel { padding: 70px var(--pad) !important; }
  .projects { padding: 80px var(--pad) !important; }
  .cases { padding: 80px var(--pad) !important; }
  .stats-section { padding: 70px var(--pad) !important; }
  .testimonials { padding: 80px var(--pad) !important; }
  .recognition { padding: 80px var(--pad) !important; }
  .team { padding: 80px var(--pad) !important; }
  .blog { padding: 80px var(--pad) !important; }
  .bigcta { padding: 80px var(--pad) !important; }

  .section-head { margin-bottom: 40px; }
  .section-head .row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head .row .btn { font-size: 13px; padding: 12px 18px; }

  h2, h2[style] { font-size: clamp(30px, 6vw, 42px) !important; line-height: 1.08; }
  h2 .ml { font-size: inherit !important; }
  /* Impressum + Datenschutz: section-Überschriften deutlich kleiner als
     normale h2, damit Rechtstexte nicht wie Hero-Titel wirken. */
  .prose h2, .prose h2[style] { font-size: clamp(20px, 2.6vw, 24px) !important; line-height: 1.25; }
  .about-headline, .about-headline[style] { font-size: clamp(30px, 6vw, 42px) !important; line-height: 1.1; }
  .about-headline-char { font-size: inherit !important; }
  .about-p { font-size: 15px !important; }

  .service-cell { padding: 28px; }
  .service-cell h3 { font-size: 22px; }
  .service-cell::before { font-size: 11px; top: 18px; right: 22px; }

  .proj-card { aspect-ratio: 5/4; }
  .proj-card .meta h3 { font-size: 24px; }
  .proj-card .view { opacity: 1; transform: none; font-size: 11px; padding: 6px 10px; }

  .case-card h3 { font-size: 22px; }
  .case-card .stats .num { font-size: 28px; }

  .stat-cell { padding: 24px 18px; }
  .stat-cell .num, .stat-cell .num[style] { font-size: clamp(48px, 11vw, 80px) !important; }
  .stat-cell .num .pre, .stat-cell .num .suf { font-size: 0.45em !important; }
  .stat-cell .num span { font-size: inherit !important; }
  .stat-cell .lbl { font-size: 13px; }

  .testi-card { padding: 22px; min-height: auto; }
  .testi-card .quote { font-size: 15px; }

  .mission { padding: 100px var(--pad) 60px !important; }
  .mission-stage { min-height: clamp(380px, 80vw, 540px); }
  .mission-title, .mission-title[style] { font-size: clamp(34px, 7vw, 52px) !important; }
  .mission-title .ml { font-size: inherit !important; }
  .mission-sub { font-size: 15px; padding: 0 8px; }
  .m-blob-wrap { width: clamp(280px, 70vw, 460px); }
  .m-blob-wrap-l { transform: translate(-55%, 25%); }
  .m-blob-wrap-r { transform: translate(55%, -25%); }
  /* Radar / icons — keep them tucked under the buttons, not cut by edges */
  .mission .radar-bg__stage { max-width: 36rem; height: 16rem; padding: 0 1.25rem 1rem; gap: 0.9rem; }
  .mission .row.wide { max-width: 26rem; }
  .mission .row.mid  { max-width: 16rem; }
  .mission .radar { width: 24rem; height: 24rem; }
  .mission .icon-container { height: 2.6rem; width: 2.6rem; border-radius: 16px; }
  .mission .icon { width: 1.25rem; height: 1.25rem; }

  .blog-card h3 { font-size: 18px; }
  .blog-card .thumb { margin-bottom: 12px; }

  .team-card h3 { font-size: 18px; }
  .team-card .body { padding: 18px; }

  .bigcta p { font-size: 15px; }

  .footer { padding: 60px var(--pad) 24px; }
  .footer .ready { font-size: 26px; }
  .footer .big-mark { font-size: clamp(48px, 18vw, 140px); margin-top: 40px; }
}

/* ── Mobile (max-width: 640px) ──────────────────────────── */
@media (max-width: 640px) {
  :root { --pad: 18px; --radius: 14px; }

  body { font-size: 15px; }

  .hero { padding: 110px var(--pad) 50px !important; }
  .hero h1, .hero h1[style] { font-size: clamp(30px, 8.5vw, 38px) !important; line-height: 1.08; }
  .hero h1 em, .hero h1 em[style] { font-size: inherit !important; font-weight: 500; }
  .hero .sub { font-size: 15px !important; margin-bottom: 24px; }
  .hero .ctas { width: 100%; gap: 10px; }
  .hero .ctas .btn { flex: 1 1 auto; justify-content: center; padding: 13px 16px; font-size: 13px; }

  .kicker { font-size: 10.5px; padding: 5px 12px; }

  .search-demo { padding: 16px; border-radius: 18px; min-height: auto; }
  .search-bar { padding: 12px 14px; }
  .search-bar .q { font-size: 13.5px; line-height: 1.35; }
  .search-result { padding: 12px 14px; }
  .search-result .favicon { width: 28px; height: 28px; font-size: 12px; }
  .search-tabs { font-size: 10px; gap: 4px; flex-wrap: wrap; }
  .search-tabs > span { padding: 4px 10px; }

  .marquee { padding: 20px 0; }
  .marquee-track { gap: 50px; }
  .marquee-item { font-size: 20px; }
  .marquee-item .star { width: 14px; height: 14px; }

  .section-head { margin-bottom: 32px; gap: 14px; }

  h2, h2[style] { font-size: clamp(28px, 8vw, 36px) !important; line-height: 1.1; }
  .about-headline, .about-headline[style] { font-size: clamp(28px, 8vw, 36px) !important; }
  .about-p { font-size: 14.5px !important; line-height: 1.6; }
  .about-portrait { width: min(280px, 70%) !important; }
  .about-grid { gap: 40px !important; }

  .service-cell { padding: 24px 22px; }
  .service-cell h3 { font-size: 20px; }
  .service-cell p { font-size: 14px; }
  .service-cell .icon { width: 44px; height: 44px; margin-bottom: 18px; }
  .service-cell::before { font-size: 11px; top: 16px; right: 18px; }

  .showreel .play-btn { width: 72px; height: 72px; }
  .showreel .play-btn svg { width: 22px; height: 22px; }

  .proj-card { border-radius: 14px; }
  /* meta is in normal flow now (see 540px block) — only restate font sizes to
     match the new stacked layout */
  .proj-card .meta h3 { font-size: 22px; }
  .proj-card .meta p { font-size: 12px; line-height: 1.5; }
  .proj-card .tags span { font-size: 10px; padding: 3px 8px; }

  .cases-controls { align-self: flex-start; }
  .case-card { border-radius: 14px; }
  .case-card .body { padding: 20px; }
  .case-card h3 { font-size: 20px; }
  .case-card .cs-meta { grid-template-columns: 1fr; gap: 10px; }
  .case-card .stats { padding: 16px 20px; }
  .case-card .stats .num { font-size: 26px; }

  .stat-cell { padding: 22px 0; }
  .stat-cell .num, .stat-cell .num[style] { font-size: clamp(44px, 14vw, 64px) !important; }
  .stat-cell .lbl { font-size: 12.5px; margin-top: 8px; }

  .testi-card { padding: 20px; }
  .testi-card .quote { font-size: 14.5px; }
  .testi-card .who .avatar { width: 38px; height: 38px; }
  .testi-card .who .nm { font-size: 13px; }
  .testi-card .who .rl { font-size: 11.5px; }

  /* On mobile, take the radar-bg out of absolute positioning and put it in
     normal flow AFTER the mission-stage (via flex order). That way the icons
     sit directly under the CTAs — no flex-end empty space, no inline-height
     interference. Stage is ~15% larger than the previous mobile size. */
  .mission {
    padding: 80px var(--pad) 40px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .mission-stage,
  .mission-stage[style] {
    order: 1;
    height: auto !important;
    min-height: 0 !important;
    width: 100%;
  }
  .mission .radar-bg {
    order: 2;
    position: static !important;
    inset: auto !important;
    width: 100%;
    height: auto;
    margin-top: 16px;
    align-items: center;
    transform: none !important;
  }
  .mission-title, .mission-title[style] { font-size: clamp(30px, 8.5vw, 40px) !important; }
  .mission-sub { font-size: 14.5px; }
  .mission-ctas { width: 100%; flex-direction: column; gap: 10px; }
  .mission-ctas .btn { width: 100%; justify-content: center; }
  .m-blob-wrap { width: clamp(220px, 75vw, 380px); }
  /* Radar / icons — auto-height stage. Rows narrowed and labels constrained
     so nothing gets clipped at the viewport edges. Icon containers + radar
     keep their default desktop styling. */
  .mission .radar-bg__stage {
    max-width: 100%; height: auto;
    padding: 2.2rem 1rem 0.6rem;
    gap: 1rem;
    justify-content: flex-start;
  }
  .mission .row.wide { max-width: 17rem; }
  .mission .row.mid  { max-width: 11rem; }
  .mission .radar { width: 20rem; height: 20rem; }
  /* Labels: smaller, allow wrap, constrained width so they stay on-screen */
  .mission .icon-container .label {
    font-size: 0.5rem !important;
    line-height: 1.15;
    top: -1.8rem;
    max-width: 5rem;
    white-space: normal;
    text-align: center;
  }
  /* SVG fills more of the container so the icon doesn't look hollow */
  .mission .icon { width: 1.55rem; height: 1.55rem; }

  .recog-card { padding: 22px; }
  .recog-card .logo { width: 44px; height: 44px; font-size: 18px; }
  .recog-card .co { font-size: 16px; }

  .team-grid { gap: 14px; }
  .team-card .body { padding: 16px; }
  .team-card h3 { font-size: 16px; }
  .team-card .role { font-size: 12px; }
  .team-card p { font-size: 13px; }

  .blog-grid { gap: 16px; }
  .blog-card h3 { font-size: 17px; }
  .blog-card .meta { font-size: 11px; }

  .bigcta { padding: 80px var(--pad) !important; }
  .bigcta .ctas { width: 100%; flex-direction: column; }
  .bigcta .ctas .btn { width: 100%; justify-content: center; padding: 14px 18px; }
  .bigcta p { font-size: 14.5px; }

  .footer { padding: 50px var(--pad) 20px; }
  .footer-top { gap: 28px; padding-bottom: 40px; }
  .footer .ready { font-size: 22px; }
  .footer .ready-sub { font-size: 13px; }
  .footer .email-form { padding: 5px 5px 5px 14px; }
  .footer .email-form button { padding: 9px 14px; font-size: 13px; }
  .footer-bot { padding-top: 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer .big-mark { font-size: clamp(40px, 22vw, 100px); margin-top: 28px; }
}

/* ── Mobile: keep section heads LEFT-aligned, only hero centers ─── */
@media (max-width: 1024px) {
  /* Padding: 32px on tablet */
  :root { --pad: 32px !important; }

  /* Hero block — fully centered (only on the homepage hero, not section heads) */
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-left { text-align: center !important; }
  .hero h1, .hero h1[style] {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero h1 em, .hero h1 em[style] { display: inline; }
  .hero .sub, .hero p.sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .ctas { justify-content: center; }
  .hero .kicker, .hero-left .kicker {
    align-self: center;
    display: inline-flex;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
    width: 100%;
  }
  .hero-visual .search-demo {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  /* Section heads: LEFT-aligned on tablet/mobile (just like on desktop) */
  .section-head { align-items: flex-start; text-align: left; }
  .section-head .row { align-items: flex-start; text-align: left; }
  .section-head .row > div { text-align: left; width: 100%; }
  .section-head h2,
  .section-head p { margin-left: 0; margin-right: 0; }
  .section-head .kicker {
    display: inline-flex;
    align-self: flex-start;
  }

  /* About / Why section — centered on tablet/mobile */
  .about-text { text-align: center; }
  .about-text .kicker { display: inline-flex; }
  .about-headline { margin-left: auto; margin-right: auto; }
  .about-p { margin-left: auto; margin-right: auto; }
  .about-btn { align-self: center !important; }

  /* Card body content stays left-aligned */
  .service-cell { text-align: left; }
  .service-cell .icon { margin-left: 0; margin-right: auto; }
  .service-cell p { margin-left: 0; margin-right: 0; }

  /* Stats — center only the numbers/labels themselves */
  .stat-cell { text-align: center; }
  .stat-cell .num { justify-content: center; }
  .stat-cell .lbl { margin-left: auto; margin-right: auto; }

  .prj-row-text { text-align: left; }
  .prj-row-text .tags { justify-content: flex-start; }
  .prj-row-text p { margin-left: 0; margin-right: 0; }
  .prj-row-text .prj-row-cta { align-self: flex-start; }

  .lst-row .lst-text { text-align: left; }
  .lst-row ul { align-items: flex-start; }
  .lst-row .lst-cta { align-self: flex-start; }

  .blog-card-expandable .bc-body { text-align: left; }
  .blog-card-expandable .meta { justify-content: flex-start; }
  .blog-card-expandable .bc-actions { justify-content: flex-start; }
  .blog-card-expandable.is-feature h3 { margin-left: 0; margin-right: 0; }
  .bc-prose p { text-align: left; }

  /* Footer */
  .footer .ready,
  .footer .ready-sub { max-width: none; }
}

/* Smaller buttons on tablet/mobile, fully centered */
@media (max-width: 1024px) {
  .btn { padding: 11px 18px; font-size: 13px; }
  .btn-primary { padding: 11px 18px; }
  .hero .ctas .btn { padding: 12px 20px; font-size: 13px; flex: 0 1 auto; }
  .mission-ctas .btn { padding: 12px 20px; font-size: 13px; }
}

/* Mobile-only refinements */
@media (max-width: 640px) {
  :root { --pad: 20px !important; }

  /* Hero subtext gets a bit more breathing room from edges */
  .hero .sub,
  .hero p.sub {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }

  /* Force 20px horizontal padding on About / Why section */
  .about, section.about {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .about-text { padding-left: 0; padding-right: 0; }

  /* Mission + BigCTA — shorter buttons, side-by-side */
  .mission-ctas {
    flex-direction: row !important;
    width: auto !important;
    gap: 8px !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .mission-ctas .btn {
    width: auto !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
    flex: 0 1 auto !important;
  }
  .bigcta .ctas {
    flex-direction: row !important;
    width: auto !important;
    gap: 8px !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .bigcta .ctas .btn {
    width: auto !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
    flex: 0 1 auto !important;
  }

  .hero h1, .hero h1[style] {
    font-size: clamp(30px, 8vw, 40px) !important;
    line-height: 1.08 !important;
  }
  .hero h1 em, .hero h1 em[style] {
    font-size: inherit !important;
    font-weight: 500;
  }
  .hero .sub, .hero p.sub {
    font-size: 14.5px !important;
    line-height: 1.6;
  }
  .hero .ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 10px;
  }
  .hero .ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 13.5px;
  }
}
@media (max-width: 380px) {
  .nav .right .btn-primary span:not(.arrow) { display: none; }
  .nav .right .btn-primary { padding: 9px 12px !important; }
  .hero h1, .hero h1[style] { font-size: 28px !important; }
  h2, h2[style] { font-size: 26px !important; }
}

