:root {
  --blue: #0088FF;
  --blue-dk: #0066CC;
  --blue-deep: #004A99;
  --blue-glow: rgba(0, 136, 255, .32);
  --blue-soft: rgba(0, 136, 255, .12);
  --ink: #F4F7FB;
  --text-2: #C9D3DE;
  --muted: #9AA6B4;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --black: #000000;
  --bg: #05070A;
  --bg-2: #090D13;
  --card: #0C1016;
  --card-2: #10161E;
  --input: #0A0E14;
  --ok: #22C55E;
  --warn: #F59E0B;
  --r: 16px;
  --max: 1440px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --step-0: clamp(15px, 0.25vw + 14.2px, 16px);
  --step-1: clamp(16px, 0.45vw + 14.4px, 18px);
  --step-2: clamp(18px, 0.7vw + 15.4px, 22px);
  --step-3: clamp(22px, 1.6vw + 16px, 34px);
  --step-4: clamp(28px, 3.4vw + 16px, 52px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
html, body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
}
::selection { background: rgba(0,136,255,.35); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #5AB4FF; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--black);
  border-bottom: 1px solid #000;
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 0; color: #fff; min-width: 0;
}
.brand-logo {
  height: 48px; width: auto; max-width: min(68vw, 280px);
  object-fit: contain; object-position: left center; display: block;
  background: var(--black);
}
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display); font-weight: 800; letter-spacing: .12em;
  font-size: 18px;
}
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

nav.desk { display: none; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.desk a {
  color: #D7DEE7; font-size: 14px; font-weight: 550;
  padding: 8px 10px; border-radius: 999px;
}
nav.desk a:hover, nav.desk a[aria-current="page"] {
  color: #fff; background: var(--blue-soft);
}
.cta-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff !important;
  padding: 8px 14px !important; border-radius: 999px; font-weight: 650;
}
.cta-nav:hover { background: var(--blue-dk); }

.burger {
  width: 44px; height: 44px; border: 1px solid var(--line); background: transparent;
  border-radius: 10px; color: #fff; display: grid; place-items: center; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: #fff; position: relative; content: "";
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); padding: 10px 20px 16px;
  background: var(--black);
}
.mobile-nav.open { display: grid; gap: 4px; }
.mobile-nav a {
  color: #E8EEF5; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 550;
}
.mobile-nav a.cta-nav { border: 0; margin-top: 8px; justify-content: center; }

@media (min-width: 980px) {
  nav.desk { display: flex; }
  .burger { display: none; }
}

/* Brand artwork */
.brand-banner {
  width: 100%;
  background: var(--black);
  border-bottom: 0;
}
.brand-banner img {
  width: 100%; max-width: none; margin: 0; display: block;
  object-fit: contain; background: var(--black);
}
.intro { padding: 40px 0 20px; }
.hero-split {
  display: grid;
  gap: 24px 32px;
  align-items: stretch;
}
.hero-copy { min-width: 0; }
.hero-logo {
  margin: 0;
  background: var(--black);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  background: var(--black);
}
.hero-copy .lede { margin-bottom: 24px; }
@media (max-width: 879px) {
  .hero-logo { order: -1; height: auto; }
  .hero-logo img { height: auto; max-height: 160px; object-position: center; }
}
@media (min-width: 880px) {
  .hero-split { grid-template-columns: 1fr 1fr; }
}

.figure-frame {
  background: var(--black);
  border: 0; border-radius: 0; overflow: hidden;
}
.figure-frame img { width: 100%; display: block; object-fit: contain; background: var(--black); }
.service-photo {
  width: 100%; height: 220px; object-fit: cover; border-radius: 12px;
  margin: 0 0 14px; background: #111;
}
.service-visual {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px;
  background: #111; display: block;
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  background: var(--black);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 28px 20px 8px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: #9FD2FF; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  margin: 0 0 12px;
}
.kicker i { width: 28px; height: 2px; background: var(--blue); display: inline-block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: var(--step-3); letter-spacing: -.015em; }
h3 { font-size: var(--step-2); }
.lede {
  max-width: 38rem;
  color: var(--text-2);
  font-size: var(--step-1);
  line-height: 1.55;
  margin: 0 0 28px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; cursor: pointer; font-size: 15px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: #fff; }
.btn-full { width: 100%; }

/* Sections */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section.block { padding: clamp(48px, 8vw, 80px) 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin: 0 0 36px; }
.section-head p { color: var(--muted); margin: 0; max-width: 38rem; }

.grid-5, .grid-3, .grid-2, .cards { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: linear-gradient(180deg, #10161E, #0B0F14);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto -20% -40% 40%;
  height: 140px; background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  pointer-events: none;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.icon-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: grid; place-items: center; margin-bottom: 14px; color: var(--blue);
}
.icon-ring svg { width: 22px; height: 22px; }
.service-icon {
  width: 96px; height: 96px;
  object-fit: contain;
  object-position: center;
  margin: 2px 0 14px;
  background: transparent;
  border: 0; border-radius: 0; box-shadow: none;
  display: block;
}
.card { text-align: left; }

.stat-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 36px; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: #0A0E14; }
.stat b { display: block; font-size: clamp(22px, 2vw, 28px); color: var(--blue); font-family: var(--display); }
.stat span { color: var(--muted); font-size: 13px; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative; padding: 8px 0 8px 28px; color: var(--text-2);
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px;
  border: 2px solid var(--blue); border-radius: 3px;
}
.list-check li::after {
  content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 4px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: #9FD2FF; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: #0B121A; }
table.data td { color: #D5DCE4; }
table.data tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; background: var(--blue-soft); color: #9FD2FF;
}
.tag.warn { background: rgba(245,158,11,.12); color: #FBBF24; }
.tag.ok { background: rgba(34,197,94,.12); color: #4ADE80; }

.note {
  margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue);
  background: var(--blue-soft); color: var(--text-2); font-size: 14px; border-radius: 0 10px 10px 0;
}

/* Forms */
form.stack { display: grid; gap: 14px; }
label.lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; background: var(--input); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.form-row { display: grid; gap: 12px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; }
.form-status.ok { display: block; background: rgba(34,197,94,.12); color: #86EFAC; }
.form-status.err { display: block; background: rgba(239,68,68,.12); color: #FCA5A5; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 24px; background: var(--black); }
.site-footer .brand-logo { background: var(--black); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9FD2FF; }
.site-footer a, .site-footer p { color: var(--muted); font-size: 14px; }
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.legal-bar {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 18px; color: #6B7784; font-size: 13px;
}

/* Page hero */
.page-hero { padding: clamp(36px, 6vw, 56px) 0 20px; background: var(--black); }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.placeholder-box {
  border: 1px dashed rgba(0,136,255,.35); border-radius: 14px; padding: 18px;
  color: var(--muted); background: rgba(0,136,255,.04); font-size: 14px;
}

.team-card, .job-card, .project-card { min-height: 180px; }
.project-visual {
  height: 160px; border-radius: 12px; margin-bottom: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,136,255,.35), transparent 45%),
    linear-gradient(135deg, #0B1520, #081018);
  border: 1px solid var(--line);
}

.legal h2 { margin-top: 32px; font-size: var(--step-2); }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 18px; }

@media (max-width: 640px) {
  .hero-inner { padding-top: 12px; }
  .brand-logo { height: 40px; }
  .header-inner { padding: 8px 14px; }
  h1 { line-height: 1.18; }
}

/* Über uns */
.about-hero { padding: clamp(28px, 5vw, 40px) 0 16px; background: var(--black); }
.about-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) {
  .about-hero-grid { grid-template-columns: 1.15fr .85fr; }
}
.about-mark { margin: 0; background: var(--black); }
.about-mark img { width: 100%; max-height: 520px; object-fit: contain; background: var(--black); }
.about-people { display: grid; gap: 16px; }
@media (min-width: 800px) { .about-people { grid-template-columns: 1fr 1fr; } }
.person {
  background: var(--card); border-left: 3px solid var(--blue);
  padding: 22px 22px 20px; border-radius: 0 14px 14px 0;
}
.person h2 { margin: 4px 0 10px; font-size: var(--step-3); }
.person-role {
  margin: 0; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: #9FD2FF; font-weight: 700;
}
.about-split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 880px) { .about-split { grid-template-columns: 1.2fr .8fr; } }
.about-facts {
  display: grid; gap: 0; background: #000; border-radius: 14px; overflow: hidden;
}
.about-facts > div { padding: 18px 20px; border-top: 1px solid var(--line); }
.about-facts > div:first-child { border-top: 0; }
.about-facts h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9FD2FF; }
.about-facts p { margin: 0; color: var(--text-2); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
