:root {
  color-scheme: dark;
  --bg: #030811;
  --bg-soft: #06111f;
  --panel: rgba(8, 19, 35, 0.74);
  --panel-strong: rgba(10, 25, 46, 0.92);
  --text: #edf6ff;
  --muted: #aabacf;
  --soft: #788aa4;
  --line: rgba(120, 185, 255, 0.18);
  --line-strong: rgba(89, 169, 255, 0.36);
  --blue: #0a6dff;
  --blue-2: #0051d8;
  --cyan: #50e8ff;
  --violet: #5a31ff;
  --green: #69ffbf;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-h: 78px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 6%, rgba(10, 109, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 85% 14%, rgba(80, 232, 255, 0.075), transparent 35rem),
    linear-gradient(180deg, #02060d 0%, #04101e 48%, #02060d 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(108, 184, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 184, 255, 0.032) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.66), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(10,109,255,.035) 28%, transparent 50%, rgba(80,232,255,.025) 74%, transparent 100%);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(80, 232, 255, .32); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  left: 0;
  top: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(80,232,255,.18), rgba(10,109,255,.08) 35%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0,0,0);
  transition: opacity .35s ease;
}

.particle-field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: none;
  opacity: 0;
}

.page-shell, .site-footer { position: relative; z-index: 1; }
.page-shell { padding-top: var(--header-h); }
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(2, 7, 14, .86), rgba(2, 7, 14, .58));
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
  padding: 9px 14px;
  border: 1px solid rgba(122, 194, 255, .22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: 0 14px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.10);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.brand img { width: 212px; height: auto; filter: drop-shadow(0 0 20px rgba(10, 109, 255, .20)); }
.brand:hover {
  transform: translateY(-1px);
  border-color: rgba(80,232,255,.44);
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.05));
  box-shadow: 0 18px 48px rgba(0,0,0,.34), 0 0 24px rgba(10,109,255,.16), inset 0 1px 0 rgba(255,255,255,.12);
}
.brand:hover img { animation: logoPulse 1.1s ease; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, .62);
  box-shadow: 0 16px 44px rgba(0,0,0,.25);
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(10,109,255,.28);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(10,109,255,.38); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.06);
  color: #fff;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 116px) 0 clamp(40px, 6vw, 90px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #cde5ff;
  font-weight: 800;
  font-size: .86rem;
  background: rgba(9, 22, 39, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}
.hero h1, .page-hero h1 {
  margin: 20px 0 18px;
  max-width: 880px;
  font-size: clamp(2.75rem, 8vw, 6.55rem);
  line-height: .92;
  letter-spacing: -0.075em;
}
.gradient-text {
  background: linear-gradient(92deg, #ffffff 0%, #a9d7ff 28%, #4ee6ff 54%, #0a6dff 82%, #8e70ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 54px rgba(10,109,255,.20);
}
.hero .lead, .page-hero .lead, .section-lead {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  line-height: 1.75;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #fff;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 20px 50px rgba(10,109,255,.28);
}
.btn-secondary { background: rgba(255,255,255,.065); }
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn-primary:hover { box-shadow: 0 24px 64px rgba(10,109,255,.40); }
.btn-small { min-height: 42px; padding-inline: 15px; font-size: .92rem; }

.hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}
.stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
}
.stat strong { display: block; font-size: 1.4rem; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.orb-card {
  position: relative;
  width: min(480px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(80,232,255,.16), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(10,109,255,.18), transparent 58%);
  transform-style: preserve-3d;
}
.logo-core {
  width: 168px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 42px;
  border: 1px solid rgba(127, 216, 255, .32);
  background: linear-gradient(155deg, rgba(10, 24, 48, .96), rgba(12, 5, 60, .86));
  box-shadow: 0 0 85px rgba(10,109,255,.36), inset 0 1px 0 rgba(255,255,255,.09);
  animation: float 5s ease-in-out infinite;
}
.logo-core img { width: 118px; filter: drop-shadow(0 0 22px rgba(80,232,255,.18)); }
.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(118, 197, 255, .16);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  top: 9%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 25px var(--cyan);
}
.orbit-2 { inset: 18%; animation-duration: 16s; animation-direction: reverse; }
.orbit-3 { inset: 2%; animation-duration: 30s; transform: rotateX(66deg); }
.tech-chip {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 13, 25, .82);
  color: #dceeff;
  font-weight: 900;
  font-size: .86rem;
  box-shadow: 0 16px 42px rgba(0,0,0,.34);
  animation: float 6s ease-in-out infinite;
}
.tech-chip:nth-child(5) { top: 7%; left: 14%; animation-delay: -1.2s; }
.tech-chip:nth-child(6) { top: 19%; right: 4%; animation-delay: -.4s; }
.tech-chip:nth-child(7) { bottom: 16%; left: 0; animation-delay: -.8s; }
.tech-chip:nth-child(8) { right: 10%; bottom: 6%; animation-delay: -1.8s; }

.terminal-card {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: min(320px, 78vw);
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(2, 8, 16, .80);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.terminal-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.terminal-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.terminal-card code {
  display: block;
  color: #c9ddf2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.7;
  white-space: pre-line;
}
.terminal-card b { color: var(--cyan); font-weight: 700; }

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 7vw, 78px) 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
.section h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.section-lead { max-width: 650px; font-size: 1rem; }

.ticker-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(5, 13, 25, .44);
}
.ticker {
  display: flex;
  justify-content: center;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  animation: none;
}
.ticker span {
  padding: 17px 0;
  white-space: normal;
  text-align: center;
  color: #d7e8fa;
  font-weight: 900;
  letter-spacing: .01em;
}
.ticker span + span { display: none; }
.ticker em { color: var(--cyan); font-style: normal; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card, .feature-card, .project-card, .glass-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(10, 24, 43, .78), rgba(6, 14, 26, .62));
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
  overflow: hidden;
}
.card::before, .feature-card::before, .project-card::before, .glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(80,232,255,.16), transparent 28%);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover::before, .feature-card:hover::before, .project-card:hover::before, .glass-card:hover::before { opacity: 1; }
.card { padding: 24px; min-height: 294px; display: flex; flex-direction: column; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(10,109,255,.32), rgba(80,232,255,.12));
  border: 1px solid rgba(124, 205, 255, .28);
  color: var(--cyan);
  font-weight: 900;
  margin-bottom: 22px;
}
.card h3, .feature-card h3, .project-card h3 { margin: 0 0 10px; font-size: 1.16rem; line-height: 1.24; }
.card p, .feature-card p, .project-card p { margin: 0; color: var(--muted); }
.card-link { margin-top: auto; color: #d7eaff; font-weight: 900; padding-top: 22px; }
.card-link span { color: var(--cyan); }

.process-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}
.process-panel {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(10,109,255,.18), rgba(90,49,255,.08)),
    rgba(7, 17, 31, .82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.process-panel h2 { margin-bottom: 16px; }
.process-panel p { color: var(--muted); margin: 0; }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }

.showcase-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.feature-card { padding: 24px; min-height: 250px; }
.feature-card .mini-meta {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-weight: 900;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: start;
}
.contact-info { padding: clamp(24px, 4vw, 38px); }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  color: var(--muted);
}
.contact-pill strong { color: var(--text); }
.contact-form {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #d7eaff; font-weight: 900; font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(2, 8, 16, .62);
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(80,232,255,.58);
  box-shadow: 0 0 0 4px rgba(80,232,255,.10);
  background: rgba(3, 12, 23, .82);
}
.form-note { margin: 0; color: var(--soft); font-size: .92rem; }

.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(34px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 5.8rem); }
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 30px;
  align-items: end;
}
.hero-mini-card {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(9, 22, 39, .72);
}
.hero-mini-card strong { display: block; font-size: 1.4rem; }
.hero-mini-card span { color: var(--muted); }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  padding: 10px 14px;
  font-weight: 900;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.filter-btn:hover, .filter-btn.is-active {
  color: #fff;
  background: rgba(10,109,255,.20);
  border-color: rgba(80,232,255,.40);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.project-card { display: flex; flex-direction: column; min-height: 100%; }
.project-media {
  position: relative;
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  background: rgba(5,13,25,.7);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-media img { transform: scale(1.045); }
.project-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2, 8, 16, .74);
  border: 1px solid var(--line-strong);
  color: #d7eaff;
  font-weight: 900;
  font-size: .78rem;
  backdrop-filter: blur(10px);
}
.project-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.project-body p { color: var(--muted); }
.project-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-highlights li {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: #cfe1f5;
  font-size: .78rem;
  font-weight: 800;
}
.card-action {
  margin-top: auto;
  justify-self: end;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(10,109,255,.95), rgba(90,49,255,.95));
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.detail-box {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
}
.detail-box h3 { margin: 0 0 8px; }
.detail-box p { margin: 0; color: var(--muted); }

.legal-content {
  max-width: 920px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: rgba(9,22,39,.70);
  border: 1px solid var(--line);
}
.legal-content h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); margin-top: 32px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-placeholder {
  border: 1px dashed rgba(80,232,255,.40);
  border-radius: 18px;
  padding: 16px;
  background: rgba(80,232,255,.055);
  color: #d7eaff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(16px);
}
.modal.is-open { display: flex; }
.modal-dialog {
  width: min(860px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10,24,43,.98), rgba(4,10,20,.98));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.modal-media { aspect-ratio: 2.2 / 1; overflow: hidden; background: #06111f; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: clamp(22px, 4vw, 34px); }
.modal-content h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 4vw, 2.65rem); letter-spacing: -.04em; line-height: 1.05; }
.modal-content p { color: var(--muted); }
.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.08);
  color: #fff;
  margin: 14px 14px -56px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: rgba(2, 7, 14, .76);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 24px;
  align-items: start;
}
.footer-logo { width: 220px; margin-bottom: 14px; }
.footer-grid p { color: var(--muted); margin: 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-weight: 800; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: .92rem;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes aurora { from { transform: translateX(-5%) translateY(-2%); opacity: .64; } to { transform: translateX(5%) translateY(2%); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes logoPulse { 0%,100% { filter: drop-shadow(0 0 20px rgba(10, 109, 255, .18)); } 50% { filter: drop-shadow(0 0 34px rgba(80, 232, 255, .42)); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1080px) {
  .main-nav a { padding-inline: 10px; font-size: .86rem; }
  .brand { min-width: 188px; padding-inline: 12px; }
  .brand img { width: 184px; }
  .card-grid, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .showcase-row { grid-template-columns: 1fr; }
  .hero-grid, .process-grid, .contact-layout, .page-hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .container { width: min(100% - 28px, var(--container)); }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
    background: rgba(3, 8, 17, .96);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 14px; }
  .brand { min-width: auto; padding: 8px 11px; }
  .brand img { width: 176px; }
  .hero { min-height: auto; }
  .hero-grid { gap: 18px; }
  .hero h1, .page-hero h1 { letter-spacing: -0.055em; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .orb-card { width: min(360px, 88vw); }
  .logo-core { width: 128px; border-radius: 32px; }
  .logo-core img { width: 92px; }
  .terminal-card { display: none; }
  .tech-chip { font-size: .75rem; padding: 8px 10px; }
  .section-head { display: grid; align-items: start; }
  .card-grid, .project-grid, .detail-layout, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}

@media (max-width: 520px) {
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero h1, .page-hero h1 { font-size: clamp(2.35rem, 16vw, 4rem); }
  .section h2 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .card, .feature-card, .project-body, .contact-form, .contact-info { padding: 20px; }
  .brand img { width: 152px; }
  .footer-logo { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

/* V3: seriöseres Firmenbild, hellere Optik und mehr Lesbarkeit */
:root {
  color-scheme: dark;
  --bg: #0b1624;
  --bg-soft: #11243a;
  --panel: rgba(19, 40, 64, 0.90);
  --panel-strong: rgba(22, 46, 72, 0.96);
  --text: #f6f9ff;
  --muted: #c7d2e1;
  --soft: #98a9bc;
  --line: rgba(175, 209, 241, 0.24);
  --line-strong: rgba(105, 176, 255, 0.42);
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

body {
  font-size: 16.5px;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(43, 116, 208, 0.14), transparent 38rem),
    radial-gradient(circle at 86% 10%, rgba(80, 232, 255, 0.045), transparent 34rem),
    linear-gradient(180deg, #0b1624 0%, #0f2033 46%, #0c1726 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(185, 214, 241, 0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 214, 241, 0.020) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.30), transparent 74%);
}

body::after {
  background: linear-gradient(120deg, transparent 0%, rgba(10,109,255,.014) 30%, transparent 56%, rgba(80,232,255,.010) 78%, transparent 100%);
}

p,
li,
input,
textarea,
select,
.contact-pill,
.stat span,
.hero-mini-card span {
  line-height: 1.74;
}

h1, h2, h3, h4,
.btn,
.main-nav a,
.nav-cta,
.filter-btn,
.card-action {
  text-wrap: balance;
}

.hero h1,
.page-hero h1 {
  padding-bottom: .12em;
  overflow: visible;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.hero h1 {
  font-size: clamp(2.55rem, 7.2vw, 5.9rem);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 5.25rem);
}

.section h2,
.process-panel h2,
.contact-info h2,
.modal-content h2 {
  padding-bottom: .07em;
  overflow: visible;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.section h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.55rem);
}

.card h3,
.feature-card h3,
.project-card h3,
.step h3,
.detail-box h3 {
  line-height: 1.36;
  letter-spacing: -0.008em;
}

.card p,
.feature-card p,
.project-card p,
.step p,
.process-panel p,
.detail-box p,
.legal-content p,
.legal-content li,
.section-lead,
.hero .lead,
.page-hero .lead {
  color: var(--muted);
  line-height: 1.78;
}

.main-nav {
  min-height: 56px;
  background: rgba(15, 31, 51, .88);
}

.main-nav a,
.nav-cta,
.btn,
.filter-btn,
.card-action,
.ticker span {
  line-height: 1.35;
}

.main-nav a {
  padding-top: 11px;
  padding-bottom: 11px;
}

.site-header {
  background: linear-gradient(180deg, rgba(11, 22, 36, .96), rgba(11, 22, 36, .86));
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.brand {
  border-color: rgba(178, 215, 249, .32);
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.075));
}

.brand img {
  filter: drop-shadow(0 0 16px rgba(10, 109, 255, .16));
}

.ticker-wrap {
  background: rgba(16, 34, 55, .74);
}

.ticker span {
  color: #e6f1fc;
  font-weight: 800;
  letter-spacing: 0;
  padding: 18px 0;
}

.card,
.feature-card,
.project-card,
.glass-card {
  background: linear-gradient(180deg, rgba(23, 47, 73, .92), rgba(16, 34, 55, .84));
  box-shadow: 0 20px 54px rgba(0,0,0,.20);
}

.step,
.stat,
.detail-box,
.contact-pill,
.hero-mini-card,
.legal-content {
  background-color: rgba(23, 47, 73, .78);
}

.card,
.feature-card,
.project-card,
.glass-card,
.step,
.stat,
.detail-box,
.contact-pill {
  border-color: rgba(180, 215, 247, .21);
}

.eyebrow,
.terminal-card,
.modal-dialog {
  background: rgba(16, 34, 55, .92);
}

.field input,
.field textarea,
.field select {
  background: rgba(10, 22, 36, .72);
  line-height: 1.45;
}

.gradient-text {
  background: linear-gradient(92deg, #fbfdff 0%, #d5ebff 34%, #66dcff 62%, #2f80ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.orb-card {
  background:
    radial-gradient(circle at 50% 50%, rgba(80,232,255,.10), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(10,109,255,.11), transparent 60%);
}

.orbit { border-color: rgba(185, 218, 250, .12); }
.tech-chip { background: rgba(16, 34, 55, .92); }
.project-highlights li { line-height: 1.35; }

@media (max-width: 1080px) {
  .main-nav a { line-height: 1.35; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .main-nav { background: rgba(13, 28, 46, .98); }
  .hero h1,
  .page-hero h1 { line-height: 1.16; letter-spacing: -0.018em; }
}

@media (max-width: 520px) {
  .hero h1,
  .page-hero h1 { font-size: clamp(2.15rem, 14vw, 3.75rem); line-height: 1.17; letter-spacing: -0.012em; }
  .section h2 { font-size: clamp(1.85rem, 10vw, 3rem); line-height: 1.2; letter-spacing: -0.008em; }
  .ticker span { font-size: .95rem; }
}

/* V4: aufgeräumter Startbereich und Über-uns-Sektion */
.hero {
  min-height: auto;
  padding: clamp(74px, 8vw, 112px) 0 clamp(50px, 6vw, 82px);
}

.hero-grid {
  align-items: center;
}

.hero-visual {
  min-height: 430px;
}

.about-section {
  padding-top: clamp(54px, 7vw, 86px);
}

.about-panel {
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}

.about-panel .section-kicker {
  margin-bottom: 12px;
}

.about-panel h2 {
  margin-inline: auto;
}

.about-intro {
  margin: 10px auto 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

.founder-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.founder-card h3 {
  margin: 0 0 8px;
  line-height: 1.25;
}

.founder-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.footer-links {
  justify-items: end;
}

@media (max-width: 1080px) {
  .hero-visual { min-height: 390px; }
}

@media (max-width: 820px) {
  .hero { padding-top: 54px; }
  .hero-visual { min-height: 330px; }
  .founder-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-items: start; }
}

@media (max-width: 520px) {
  .hero-visual { min-height: 300px; }
  .about-panel { padding: 22px; }
  .founder-card { padding: 18px; }
}

/* V5: helle, cleane und professionellere Firmenoptik */
:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-soft: #eef3f9;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --text: #152235;
  --muted: #526273;
  --soft: #76879a;
  --line: rgba(25, 50, 81, 0.10);
  --line-strong: rgba(10, 109, 255, 0.22);
  --blue: #1158d8;
  --blue-2: #0b4fc5;
  --cyan: #1da7d9;
  --violet: #3b6ef6;
  --green: #30c978;
  --shadow: 0 22px 60px rgba(21, 34, 53, 0.09);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(17, 88, 216, 0.08), transparent 24rem),
    radial-gradient(circle at 100% 10%, rgba(29, 167, 217, 0.06), transparent 20rem),
    linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 48%, #eef3f9 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(18, 39, 64, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 39, 64, 0.022) 1px, transparent 1px);
  background-size: 124px 124px;
  opacity: .75;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.16), transparent 76%);
}

body::after {
  background: linear-gradient(120deg, transparent 0%, rgba(17,88,216,.03) 28%, transparent 54%, rgba(29,167,217,.02) 78%, transparent 100%);
}

::selection {
  background: rgba(17, 88, 216, .16);
  color: var(--text);
}

.cursor-glow {
  background: radial-gradient(circle, rgba(29,167,217,.14), rgba(17,88,216,.06) 34%, transparent 68%);
  mix-blend-mode: multiply;
}

.site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(21, 34, 53, 0.08);
  box-shadow: 0 10px 30px rgba(17, 31, 53, 0.06);
}

.brand {
  background: rgba(255,255,255,.96);
  border-color: rgba(17, 88, 216, .12);
  box-shadow: 0 12px 34px rgba(21,34,53,.07);
}

.brand:hover {
  background: #ffffff;
  border-color: rgba(17, 88, 216, .20);
  box-shadow: 0 16px 38px rgba(21,34,53,.10);
}

.brand img,
.footer-logo {
  filter: none;
}

.main-nav {
  background: rgba(255,255,255,.92);
  border-color: rgba(21, 34, 53, 0.08);
  box-shadow: 0 12px 34px rgba(21,34,53,.06);
}

.main-nav a {
  color: #536274;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(17,88,216,.07);
}

.nav-cta,
.btn-primary,
.card-action {
  background: linear-gradient(135deg, #1757d4, #2c78ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(23, 87, 212, .18);
}

.nav-cta:hover,
.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(23, 87, 212, .24);
}

.btn {
  color: var(--text);
  border-color: rgba(21, 34, 53, 0.10);
}

.btn-secondary {
  background: rgba(255,255,255,.82);
}

.eyebrow,
.hero-mini-card,
.tech-chip,
.contact-pill,
.step,
.stat,
.detail-box,
.legal-content,
.terminal-card {
  background: rgba(255,255,255,.88);
  border-color: rgba(21, 34, 53, 0.08);
  box-shadow: 0 14px 34px rgba(21,34,53,.06);
}

.eyebrow {
  color: #24415f;
}

.hero .lead,
.page-hero .lead,
.section-lead,
.card p,
.feature-card p,
.project-card p,
.step p,
.process-panel p,
.detail-box p,
.contact-pill,
.form-note,
.footer-grid p,
.footer-bottom,
.legal-content p,
.legal-content li,
.founder-card p,
.hero-mini-card span,
.stat span {
  color: var(--muted);
}

.hero h1,
.page-hero h1,
.section h2,
.modal-content h2,
.card h3,
.feature-card h3,
.project-card h3,
.step h3,
.detail-box h3,
.founder-card h3,
.contact-pill strong,
.field label,
.footer-links a {
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(90deg, #16273f 0%, #1d4fa7 52%, #2d76ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orb-card {
  background:
    radial-gradient(circle at 50% 50%, rgba(29,167,217,.08), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(17,88,216,.08), transparent 58%);
}

.logo-core {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.96));
  border-color: rgba(17,88,216,.12);
  box-shadow: 0 18px 45px rgba(21,34,53,.10);
}

.logo-core img {
  filter: none;
}

.orbit {
  border-color: rgba(17, 88, 216, .12);
}

.orbit::before {
  box-shadow: 0 0 14px rgba(29,167,217,.25);
}

.tech-chip {
  color: #24415f;
}

.card,
.feature-card,
.project-card,
.glass-card,
.founder-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,252,255,.92));
  border-color: rgba(21, 34, 53, 0.08);
  box-shadow: 0 18px 46px rgba(21,34,53,.08);
}

.card::before,
.feature-card::before,
.project-card::before,
.glass-card::before {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(29,167,217,.12), transparent 26%);
}

.card-icon {
  background: linear-gradient(135deg, rgba(17,88,216,.10), rgba(29,167,217,.06));
  border-color: rgba(17,88,216,.14);
  color: var(--blue);
}

.card-link,
.project-tag,
.project-highlights li,
.filter-btn,
.hero-mini-card strong {
  color: var(--text);
}

.process-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,254,.95));
  border-color: rgba(21, 34, 53, 0.08);
  box-shadow: 0 20px 50px rgba(21,34,53,.08);
}

.step-number {
  background: linear-gradient(135deg, #1757d4, #2c78ff);
  box-shadow: 0 10px 22px rgba(23,87,212,.18);
}

.section-kicker,
.card-link span,
.filter-btn.is-active,
.filter-btn:hover,
.project-tag,
.project-highlights li,
.feature-card .mini-meta {
  color: var(--blue);
}

.feature-card .mini-meta,
.project-highlights li,
.filter-btn,
.project-tag {
  background: rgba(17,88,216,.05);
  border-color: rgba(17,88,216,.12);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: rgba(17,88,216,.10);
  border-color: rgba(17,88,216,.20);
}

.project-media,
.modal-media {
  background: linear-gradient(180deg, #f0f5fb, #e8eef7);
}

.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,253,.95));
}

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-color: rgba(21, 34, 53, 0.10);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(17,88,216,.34);
  box-shadow: 0 0 0 4px rgba(17,88,216,.10);
  background: #fff;
}

.page-hero {
  border-bottom-color: rgba(21,34,53,.08);
}

.modal {
  background: rgba(17, 31, 53, .16);
}

.modal-dialog {
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,250,254,.98));
  border-color: rgba(21,34,53,.08);
  box-shadow: 0 24px 60px rgba(21,34,53,.12);
}

.modal-close,
.nav-toggle {
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-color: rgba(21,34,53,.10);
}

.site-footer {
  background: rgba(255,255,255,.82);
  border-top-color: rgba(21,34,53,.08);
}

.footer-links a:hover {
  color: var(--blue);
}

.legal-placeholder {
  border-color: rgba(17,88,216,.18);
  background: rgba(17,88,216,.04);
  color: var(--text);
}

@media (max-width: 820px) {
  .main-nav {
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 34px rgba(21,34,53,.10);
  }
}

/* V6: Hero-Animation rechts sauberer, ruhiger und hochwertiger */
.hero-system {
  position: relative;
  width: min(520px, 92vw);
  aspect-ratio: 1;
  border-radius: 38px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 88, 216, 0.09), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,248,253,.94));
  border: 1px solid rgba(21, 34, 53, 0.08);
  box-shadow: 0 30px 80px rgba(21, 34, 53, 0.11), inset 0 1px 0 rgba(255,255,255,.90);
  transform: none !important;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(17, 88, 216, .10) 58deg,
    transparent 116deg,
    rgba(29, 167, 217, .09) 180deg,
    transparent 260deg,
    rgba(17, 88, 216, .08) 320deg,
    transparent 360deg
  );
  animation: systemSweep 18s linear infinite;
}

.hero-system::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border-radius: 30px;
  background:
    linear-gradient(rgba(21,34,53,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,34,53,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.72), rgba(255,255,255,.24) 55%, transparent 76%);
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid rgba(17, 88, 216, .07);
}

.system-glow {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,167,217,.16), rgba(17,88,216,.09) 42%, transparent 70%);
  animation: systemBreath 5.8s ease-in-out infinite;
}

.system-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(17, 88, 216, .15);
  box-shadow: inset 0 0 30px rgba(17,88,216,.035);
  will-change: transform;
}

.ring-one {
  inset: 15%;
  animation: cleanSpin 24s linear infinite;
}

.ring-two {
  inset: 25%;
  border-color: rgba(29, 167, 217, .18);
  animation: cleanSpinReverse 18s linear infinite;
}

.ring-three {
  inset: 8%;
  border-color: rgba(17, 88, 216, .10);
  transform: rotateX(62deg) rotateZ(0deg);
  animation: cleanSpin3d 30s linear infinite;
}

.system-ring::before,
.system-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1da7d9;
  box-shadow: 0 0 18px rgba(29,167,217,.40);
}

.system-ring::before { top: -5px; left: 50%; transform: translateX(-50%); }
.system-ring::after { bottom: -5px; left: 50%; transform: translateX(-50%); opacity: .46; }

.system-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.system-lines .line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  width: 34%;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(17,88,216,.28), rgba(29,167,217,.08), transparent);
  opacity: .72;
}

.line-a { transform: rotate(-34deg); }
.line-b { transform: rotate(28deg); }
.line-c { transform: rotate(145deg); }
.line-d { transform: rotate(210deg); }

.logo-core.hero-core {
  position: relative;
  z-index: 5;
  width: 158px;
  aspect-ratio: 1;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,254,.98));
  border: 1px solid rgba(17, 88, 216, .12);
  box-shadow: 0 24px 58px rgba(21,34,53,.13), 0 0 0 10px rgba(17,88,216,.035);
  animation: coreFloatClean 6.2s ease-in-out infinite;
}

.logo-core.hero-core::before {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 46px;
  border: 1px solid rgba(17, 88, 216, .10);
  animation: corePulseClean 3.8s ease-in-out infinite;
}

.logo-core.hero-core img {
  width: 112px;
  filter: drop-shadow(0 14px 22px rgba(17, 88, 216, .12));
}

.hero-system .tech-chip {
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #203650;
  font-weight: 900;
  font-size: .86rem;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17, 88, 216, .13);
  box-shadow: 0 16px 36px rgba(21,34,53,.10);
  backdrop-filter: blur(14px);
  animation: chipFloatClean 7s ease-in-out infinite;
}

.hero-system .tech-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #30c978;
  box-shadow: 0 0 12px rgba(48,201,120,.42);
}

.hero-system .chip-software { top: 11%; left: 8%; animation-delay: -.8s; }
.hero-system .chip-automation { top: 16%; right: 6%; animation-delay: -2.2s; }
.hero-system .chip-web { bottom: 15%; left: 8%; animation-delay: -1.4s; }
.hero-system .chip-hosting { right: 8%; bottom: 11%; animation-delay: -3.2s; }

@keyframes systemSweep {
  to { transform: rotate(360deg); }
}

@keyframes systemBreath {
  0%, 100% { transform: scale(.94); opacity: .68; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes cleanSpin {
  to { transform: rotate(360deg); }
}

@keyframes cleanSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes cleanSpin3d {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to { transform: rotateX(62deg) rotateZ(360deg); }
}

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

@keyframes corePulseClean {
  0%, 100% { transform: scale(.96); opacity: .42; }
  50% { transform: scale(1.04); opacity: .82; }
}

@keyframes chipFloatClean {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@media (max-width: 1080px) {
  .hero-system { width: min(450px, 88vw); }
  .logo-core.hero-core { width: 138px; border-radius: 32px; }
  .logo-core.hero-core img { width: 98px; }
}

@media (max-width: 820px) {
  .hero-system { width: min(370px, 90vw); border-radius: 30px; }
  .hero-system::after { inset: 18px; border-radius: 24px; background-size: 36px 36px, 36px 36px, auto; }
  .logo-core.hero-core { width: 118px; border-radius: 28px; }
  .logo-core.hero-core::before { inset: -11px; border-radius: 36px; }
  .logo-core.hero-core img { width: 84px; }
  .hero-system .tech-chip { font-size: .74rem; padding: 8px 10px; }
  .hero-system .chip-software { top: 10%; left: 5%; }
  .hero-system .chip-automation { top: 14%; right: 4%; }
  .hero-system .chip-web { bottom: 13%; left: 5%; }
  .hero-system .chip-hosting { right: 5%; bottom: 9%; }
}

@media (max-width: 520px) {
  .hero-system { width: min(320px, 92vw); }
  .system-lines .line { width: 30%; }
  .hero-system .tech-chip { font-size: .68rem; gap: 6px; }
  .hero-system .tech-chip::before { width: 7px; height: 7px; }
}

/* V6 Feinschliff: alte Positionsregeln für Tech-Chips neutralisieren */
.hero-system .tech-chip {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
.hero-system .chip-software { top: 11%; left: 8%; }
.hero-system .chip-automation { top: 16%; right: 6%; }
.hero-system .chip-web { bottom: 15%; left: 8%; }
.hero-system .chip-hosting { right: 8%; bottom: 11%; }

@media (max-width: 820px) {
  .hero-system .chip-software { top: 10%; left: 5%; }
  .hero-system .chip-automation { top: 14%; right: 4%; }
  .hero-system .chip-web { bottom: 13%; left: 5%; }
  .hero-system .chip-hosting { right: 5%; bottom: 9%; }
}

/* V7: Hintergrundfläche hinter der Hero-Animation entfernt */
.hero-system {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-system::before,
.hero-system::after {
  display: none !important;
}

/* V8_neu: Korrektur aus V7-Basis – keine Texte entfernt */
:root {
  --header-h: clamp(86px, 7.5vw, 102px);
}

.container {
  width: min(var(--container), calc(100% - clamp(28px, 5vw, 72px)));
}

.site-header {
  height: var(--header-h);
}

.nav-wrap {
  gap: clamp(18px, 2.4vw, 34px);
}

.brand {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand:hover {
  transform: translateY(-1px);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: clamp(230px, 18vw, 285px);
  max-width: 34vw;
  height: auto;
  filter: none;
}

.brand:hover img {
  animation: none;
}

.main-nav {
  min-height: clamp(58px, 4.8vw, 66px);
  padding: clamp(7px, .85vw, 10px);
  gap: clamp(6px, .7vw, 10px);
}

.main-nav a {
  padding: clamp(11px, 1vw, 14px) clamp(13px, 1.15vw, 18px);
  font-size: clamp(.92rem, .92vw, 1rem);
}

.nav-cta {
  min-height: clamp(50px, 4vw, 58px);
  padding-inline: clamp(20px, 1.8vw, 28px);
  font-size: clamp(.95rem, .95vw, 1.02rem);
}

.nav-toggle {
  width: clamp(48px, 5.8vw, 56px);
  height: clamp(48px, 5.8vw, 56px);
}

#leistungen .section-kicker {
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
  letter-spacing: .16em;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(clamp(300px, 32vw, 440px), .95fr);
}

.hero-system {
  width: clamp(310px, 34vw, 500px);
}

@media (max-width: 1100px) {
  :root { --header-h: clamp(82px, 8vw, 94px); }
  .brand img { width: clamp(210px, 22vw, 252px); max-width: 30vw; }
  .main-nav a { padding-inline: clamp(10px, 1vw, 14px); font-size: clamp(.86rem, 1vw, .94rem); }
  .nav-cta { padding-inline: clamp(16px, 1.4vw, 22px); }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-system {
    width: min(420px, 86vw);
  }
}

@media (max-width: 820px) {
  :root { --header-h: clamp(76px, 12vw, 88px); }
  .nav-wrap { gap: 14px; }
  .brand img { width: clamp(178px, 42vw, 228px); max-width: 58vw; }
  .main-nav {
    top: calc(var(--header-h) + 10px);
  }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 520px) {
  :root { --header-h: clamp(72px, 16vw, 82px); }
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: clamp(158px, 52vw, 198px); max-width: 62vw; }
  #leistungen .section-kicker { font-size: .98rem; }
  .hero-system { width: min(308px, 88vw); }
}


/* V9: Platzhalter-Hilfstexte und Projekt-Chips entfernt */
.project-highlights:empty,
.modal-highlights:empty {
  display: none;
}


/* V11: Projektkarten optisch sauberer, ohne Detail-Button */
.project-grid {
  gap: 24px;
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(21,34,53,.10);
}

.project-media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(21,34,53,.07);
  background: #f4f8fd;
}

.project-media img {
  object-fit: cover;
  object-position: center center;
  transform: none !important;
}

.project-card:hover .project-media img {
  transform: none !important;
}

.project-tag {
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  background: rgba(255,255,255,.86);
  border-color: rgba(17,88,216,.14);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(21,34,53,.10);
}

.project-body {
  padding: 24px 24px 26px;
  gap: 12px;
}

.project-body h3 {
  margin-bottom: 10px;
}

.project-body p {
  line-height: 1.7;
}

.card-action {
  display: none !important;
}

@media (max-width: 980px) {
  .project-grid { gap: 20px; }
}
