/* ============================================================
   Bexon Industries — Onepager
   Implements "Bexon Onepager.html". Desktop layout matches the
   1440px design 1:1; media queries add tablet & mobile.
   Tokens live in tokens.css.
   ============================================================ */

/* ─── Page frame ──────────────────────────────────────────── */
.page {
  width: 100%;
  background: var(--bg);
  /* Section backgrounds bleed to the full viewport width; content stays
     centered and capped at --content-max. --pad-x grows past --gutter on
     wide screens to keep the content column centered. */
  --gutter: clamp(20px, 5vw, 64px);
  --content-max: 1312px;
  --pad-x: max(var(--gutter), calc((100% - var(--content-max)) / 2));
}
p { margin: 0; }
h1, h2, h3, h4, h5 {
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bex-green); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 12px 20px; font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ─── Reusable atoms ──────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--bex-green); font-weight: 500;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--bex-green); }
.kicker.petrol { color: var(--bex-blue); }
.kicker.petrol::before { background: var(--bex-blue); }

.btn {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 13px; padding: 16px 24px;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  line-height: 1; text-decoration: none;
}
.btn-primary { background: var(--bex-blue); color: #fff; }
.btn-primary:hover { background: var(--bex-blue-d); }
.btn-primary::after { content: "→"; transition: transform .15s ease; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-accent { background: var(--bex-green); color: #fff; }
.btn-accent:hover { background: var(--bex-green-d); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 10px;
  background: var(--gray-100); color: var(--gray-700);
  border: 1px solid var(--rule);
}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,20,24,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 36px;
  padding: 16px var(--pad-x);
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 36px; flex: 1; }
.nav-mid {
  display: flex; gap: 32px; margin-left: 24px;
  font-family: var(--font-display); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 500;
}
.nav-mid a {
  color: rgba(255,255,255,0.78);
  position: relative; padding: 4px 0; text-decoration: none;
}
.nav-mid a:hover { color: #fff; }
.nav-mid a.active { color: #fff; }
.nav-mid a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--bex-green);
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.4; text-decoration: none;
}
.nav-phone strong {
  display: block; color: #fff;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: 0;
}
.nav-burger {
  display: none; flex: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  height: 880px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 75% at 30% 60%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 30% 60%, #000 35%, transparent 85%);
}
.hero-x {
  position: absolute;
  right: calc(var(--pad-x) - 164px); top: 50%;
  transform: translateY(-50%);
  width: 720px; height: 720px;
  pointer-events: none;
  filter: drop-shadow(0 32px 60px rgba(0,0,0,0.6));
}
.hero-x img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  padding: 120px var(--pad-x) 280px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 16px;
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: 56px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-meta .live::before { content: "● "; color: var(--bex-green); }
.hero h1 {
  font-size: clamp(46px, 8.6vw, 124px);
  font-weight: 800; line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 22px 0 28px;
  max-width: 980px;
  text-wrap: balance;
}
.hero h1 .green { color: var(--bex-green); }
.hero .sub {
  color: rgba(255,255,255,0.7);
  font-size: 19px; line-height: 1.55; font-weight: 300;
  max-width: 620px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  left: var(--pad-x); bottom: 56px; right: var(--pad-x);
  display: flex; gap: 64px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: 36px; color: #fff;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
}
.hero-stats .v .unit { color: var(--bex-green); font-size: 18px; margin-left: 4px; }
.hero-stats .v .unit.p { color: var(--bex-blue-l); }

/* ─── TRUST ───────────────────────────────────────────────── */
.trust {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--rule);
  padding: clamp(20px, 4vw, 32px) var(--pad-x);
  display: flex; align-items: center; gap: 48px;
}
.trust-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-soft);
  border-right: 1px solid var(--rule);
  padding-right: 32px; flex: none;
}
.trust .logos {
  display: flex; gap: 48px; align-items: center;
  flex: 1; justify-content: space-between; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-400);
  font-size: 18px; letter-spacing: 0.04em;
}
.trust .logos span { opacity: 0.7; }
.trust .logos span:nth-child(2) { font-style: italic; letter-spacing: 0.1em; font-weight: 500; }
.trust .logos span:nth-child(3) { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em; }
.trust .logos span:nth-child(4) { font-weight: 800; letter-spacing: -0.01em; }
.trust .logos span:nth-child(5) { font-family: var(--font-mono); font-weight: 400; font-size: 15px; }
.trust .logos span:nth-child(6) { font-weight: 700; letter-spacing: 0.04em; }

/* ─── SECTION COMMON ──────────────────────────────────────── */
section { padding: clamp(72px, 9vw, 120px) var(--pad-x); }
/* Keep anchored headings clear of the sticky nav */
section[id] { scroll-margin-top: 84px; }
.s-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 64px; margin-bottom: 56px;
}
.s-head h2 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
  margin-top: 16px;
  text-wrap: balance;
}
.s-head .right {
  max-width: 38ch; color: var(--ink-soft);
  font-size: 15px; line-height: 1.6;
}

/* ─── INTRO ───────────────────────────────────────────────── */
.intro {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.intro h2 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1; letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.intro h2 em { font-style: normal; color: var(--bex-blue); }
.intro h2 em.g { color: var(--bex-green); }
.intro-body p {
  font-size: 18px; line-height: 1.55;
  color: var(--ink); margin-bottom: 22px;
  max-width: 60ch;
}
.intro-body p:last-of-type { color: var(--ink-soft); font-size: 16px; }
.intro-body .signature {
  font-family: var(--font-display); font-weight: 600;
  margin-top: 28px;
  text-transform: uppercase; font-size: 14px;
  letter-spacing: 0.06em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.intro-body .signature::before {
  content: ""; width: 32px; height: 1px; background: var(--ink-soft);
}

/* ─── SERVICES ────────────────────────────────────────────── */
.services { background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s ease;
  position: relative;
}
.service:hover { border-color: var(--bex-blue); }
.service::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.service.s1::before, .service.s3::before { background: var(--bex-green); }
.service.s2::before, .service.s4::before { background: var(--bex-blue); }
.service .num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-soft); letter-spacing: 0.16em;
}
.service .visual {
  height: 220px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service .visual::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
}
.service .visual .placeholder {
  position: relative; z-index: 2; text-align: center;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.service .visual .placeholder strong {
  display: block; font-family: var(--font-display);
  color: #fff; font-size: 22px; letter-spacing: 0.03em;
  font-weight: 700; margin-bottom: 8px;
}
.service.s1 .visual .placeholder strong,
.service.s3 .visual .placeholder strong { color: var(--bex-green); }
.service.s2 .visual .placeholder strong,
.service.s4 .visual .placeholder strong { color: var(--bex-blue-l); }
.service .visual.photo { padding: 0; }
.service .visual.photo::before { display: none; }
.service .visual.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service .visual.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(14,20,24,0.05) 40%, rgba(14,20,24,0.65) 100%);
}
.service .visual.photo .photo-tag {
  position: absolute; left: 20px; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
}
.service .visual.photo .photo-tag strong {
  display: block; font-family: var(--font-display);
  color: var(--bex-green); font-size: 20px;
  letter-spacing: 0.02em; font-weight: 700; margin-bottom: 4px;
}
.service .body { padding: 32px 36px; flex: 1; display: flex; flex-direction: column; }
.service h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.service p { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; max-width: 50ch; }
.service ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.service ul li {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); padding-left: 16px; position: relative;
}
.service ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 2px;
}
.service.s1 ul li::before, .service.s3 ul li::before { background: var(--bex-green); }
.service.s2 ul li::before, .service.s4 ul li::before { background: var(--bex-blue); }
.service .foot {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.service .more {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 12px; color: var(--bex-blue); text-decoration: none;
}
.service .more:hover { color: var(--bex-blue-d); }
.service .norm {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); text-align: right;
}

/* ─── METRICS ─────────────────────────────────────────────── */
.metrics { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.metrics-x {
  position: absolute; left: calc(var(--pad-x) - 264px); top: -160px;
  width: 600px; height: 600px; opacity: 0.14; pointer-events: none;
}
.metrics-x img { width: 100%; height: 100%; object-fit: contain; }
.metrics-inner { position: relative; z-index: 2; }
.metrics .s-head h2 { color: #fff; }
.metrics .s-head .right { color: rgba(255,255,255,0.6); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.metric-tile {
  padding: 40px 28px 0 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.metric-tile:last-child { border-right: none; }
.metric-tile:nth-child(n+2) { padding-left: 32px; }
.metric-tile .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(52px, 6.4vw, 92px); line-height: 1;
  letter-spacing: -0.03em; color: #fff;
  font-feature-settings: "tnum";
}
.metric-tile .v .unit { font-size: 28px; color: var(--bex-green); margin-left: 4px; font-weight: 600; }
.metric-tile .v .unit.p { color: var(--bex-blue-l); }
.metric-tile .lbl {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-top: 18px; line-height: 1.5; max-width: 22ch;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.process { background: var(--bg-paper); }
.proc-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
  border-top: 1px solid var(--rule);
  padding-top: 40px; margin: 0; list-style: none;
}
.proc-grid::before {
  content: ""; position: absolute;
  top: 72px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--bex-green) 0%, var(--bex-green) 50%, var(--bex-blue) 50%, var(--bex-blue) 100%);
}
.proc-step { padding-right: 28px; position: relative; }
.proc-step .dot {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-paper);
  border: 2px solid var(--bex-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--bex-blue);
  position: relative; z-index: 1; margin-bottom: 24px;
}
.proc-step.accent-green .dot { border-color: var(--bex-green); color: var(--bex-green); }
.proc-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.005em; }
.proc-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.proc-step .when {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 14px;
}

/* ─── PROJECTS ────────────────────────────────────────────── */
.projects { background: var(--gray-100); }
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 24px; min-height: 720px;
}
.project {
  background: var(--bg-dark); color: #fff;
  position: relative; overflow: hidden;
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer; transition: transform .2s ease;
}
.project:hover { transform: translateY(-2px); }
.project.big { grid-row: span 2; }
.project::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 14px, transparent 14px 28px);
}
.project::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}
.project > * { position: relative; z-index: 2; }
.project .tag { position: absolute; top: 28px; left: 28px; z-index: 3; }
.project .tag.green { background: var(--bex-green); color: #fff; border-color: var(--bex-green); }
.project .tag.blue { background: var(--bex-blue); color: #fff; border-color: var(--bex-blue); }
.project .year {
  position: absolute; top: 28px; right: 28px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.65);
}
.project h3 {
  font-size: 30px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 12px; color: #fff;
}
.project.big h3 { font-size: clamp(30px, 3.4vw, 44px); max-width: 18ch; line-height: 1.02; }
.project .loc {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 14px;
}
.project .specs {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.project .specs strong {
  display: block; font-family: var(--font-display);
  color: #fff; font-weight: 700; font-size: 18px;
  letter-spacing: 0; text-transform: none; margin-top: 2px;
}
.project .placeholder-center {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); text-align: center; width: 90%;
}
.p-bg-1 { background: linear-gradient(135deg, #0F7AAA 0%, #0A1014 70%); }
.p-bg-2 { background: linear-gradient(135deg, #2E343A 0%, #14181C 100%); }
.p-bg-3 { background: linear-gradient(135deg, #1594C9 0%, #14181C 100%); }

/* ─── CERTS ───────────────────────────────────────────────── */
.certs { background: var(--bg-paper); }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  background: var(--bg-paper); border: 1px solid var(--rule);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 160px;
}
.cert .badge {
  width: 48px; height: 48px;
  background: var(--bex-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.cert:nth-child(3n+2) .badge { background: var(--bex-green); }
.cert .nm {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  line-height: 1.2; text-transform: uppercase; letter-spacing: -0.005em;
}
.cert .desc {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: auto;
}

/* ─── PAIPE · DIGITALER PARTNER ───────────────────────────── */
.paipe { background: var(--gray-100); }
.paipe-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.paipe-text h2 {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1; margin: 16px 0 24px;
}
.paipe-text p {
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  max-width: 56ch; margin-bottom: 26px;
}
.paipe-text p strong { color: var(--ink); font-weight: 600; }
.paipe-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.paipe-features li {
  font-family: var(--font-mono); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink); padding-left: 24px; position: relative;
}
.paipe-features li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 11px; height: 12px; background: var(--bex-blue);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
.paipe-visual { display: flex; flex-direction: column; gap: 16px; }
.paipe-card {
  background: var(--bg-paper); border: 1px solid var(--rule);
  padding: clamp(32px, 4vw, 60px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 48px rgba(20,24,28,0.08);
}
.paipe-card img { max-width: 340px; width: 100%; height: auto; display: block; }
.paipe-cap {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); text-align: center;
}

/* ─── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial {
  background: var(--bg-darker); color: #fff;
  position: relative; overflow: hidden;
}
.testimonial-x {
  position: absolute; right: calc(var(--pad-x) - 184px); top: 50%;
  transform: translateY(-50%);
  width: 540px; height: 540px; opacity: 0.2; pointer-events: none;
}
.testimonial-x img { width: 100%; height: 100%; object-fit: contain; }
.testimonial-inner { position: relative; z-index: 2; max-width: 900px; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 600; line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 32px 0 36px; text-wrap: balance;
}
.testimonial blockquote em { font-style: normal; color: var(--bex-green); }
.testimonial .author { display: flex; align-items: center; gap: 18px; }
.testimonial .avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--bex-blue), var(--bex-blue-d));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.testimonial .author strong {
  display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.testimonial .author span {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ─── CAREER ──────────────────────────────────────────────── */
.career { background: var(--gray-100); }
.career-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.career h2 {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 800;
  line-height: 0.92; letter-spacing: -0.025em;
  margin: 16px 0 20px;
}
.career h2 em { font-style: normal; color: var(--bex-green); }
.career .lead {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 28px; max-width: 36ch;
}
.jobs { background: var(--bg-paper); border: 1px solid var(--rule); }
.job {
  display: grid;
  grid-template-columns: 64px 1fr 180px 130px 24px;
  gap: 16px; padding: 24px;
  border-bottom: 1px solid var(--rule);
  align-items: center; cursor: pointer; text-decoration: none;
  transition: background .15s ease;
}
.job:last-child { border-bottom: none; }
.job:hover { background: var(--gray-100); }
.job .id {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.1em;
}
.job .ttl {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; text-transform: uppercase; letter-spacing: -0.005em;
}
.job .loc, .job .type {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.job .arr { font-family: var(--font-display); color: var(--bex-blue); font-weight: 700; }

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); position: relative; z-index: 2;
}
.contact h2 {
  color: #fff; font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1; margin: 16px 0 24px;
}
.contact .lead {
  font-size: 18px; color: rgba(255,255,255,0.7);
  line-height: 1.55; margin-bottom: 40px; max-width: 42ch;
}
.contact-channels {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ch {
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 20px; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: center; text-decoration: none;
}
.ch .role {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.ch .v { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; }
.ch .arr { color: var(--bex-green); transition: color .15s ease; }
.ch:hover .arr { color: var(--bex-blue-l); }

.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 36px;
}
.form h4 {
  color: rgba(255,255,255,0.55);
  font-size: 12px; letter-spacing: 0.14em;
  margin-bottom: 24px; font-weight: 500;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .field.full { grid-column: span 2; }
.form label {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.form input, .form textarea {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: var(--font-body); font-size: 15px;
  padding: 10px 0; outline: none;
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--bex-green); }
.form textarea { resize: vertical; min-height: 60px; }
.form .row-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.form .row-chips .pill {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.form .row-chips .pill:hover { border-color: rgba(255,255,255,0.55); }
.form .row-chips .pill.active {
  background: var(--bex-green); color: #fff; border-color: var(--bex-green);
}
.form .submit { margin-top: 14px; width: 100%; justify-content: center; }
.form .submit[disabled] { opacity: 0.7; cursor: progress; }
/* Honeypot: für Menschen unsichtbar, Bots tappen rein */
.hp-field {
  position: absolute; left: -9999px; top: 0;
  width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.6);
  padding: clamp(56px, 8vw, 80px) var(--pad-x) 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.45); max-width: 32ch;
}
.footer h5 {
  font-family: var(--font-display); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 14px; }
.footer-col ul li a { text-decoration: none; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .legal { display: flex; gap: 28px; }
.footer-bottom .legal a { text-decoration: none; }
.footer-bottom .legal a:hover { color: #fff; }

/* ─── FOOTER · UMSETZUNG-CREDIT ───────────────────────────── */
.footer-credit {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-credit span {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
}
.footer-credit img {
  height: 58px; width: auto; display: block;
  opacity: 0.9; transition: opacity .15s ease;
}
.footer-credit a:hover img { opacity: 1; }

/* ─── LEGAL PAGES · Impressum / Datenschutz ───────────────── */
.legal {
  padding: clamp(56px, 8vw, 104px) var(--pad-x) clamp(64px, 9vw, 120px);
}
.legal-head { margin-bottom: 48px; }
.legal-head h1 {
  font-size: clamp(40px, 6vw, 76px); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.025em;
  line-height: 0.98; margin: 16px 0 0;
}
.legal-body { max-width: 760px; }
.legal-intro {
  font-size: 18px; line-height: 1.6; color: var(--ink);
  margin: 0 0 8px; max-width: 68ch;
}
.legal-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; text-transform: uppercase; letter-spacing: 0.01em;
  margin: 40px 0 12px;
}
.legal-body p { margin: 0 0 14px; max-width: 70ch; line-height: 1.7; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; line-height: 1.6; }
.legal-body a { color: var(--bex-blue); }
.legal-body a:hover { color: var(--bex-blue-d); }
.legal-ph {
  font-family: var(--font-mono); font-size: 0.92em;
  background: rgba(127,186,69,0.16);
  color: var(--bex-green-d);
  padding: 1px 6px; border-radius: 2px;
}
.legal-note {
  margin-top: 40px; padding: 20px 24px;
  background: var(--gray-100); border: 1px solid var(--rule);
  border-left: 3px solid var(--bex-green);
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
}
.legal-note strong { color: var(--ink); }
.legal-back {
  display: inline-block; margin-top: 24px;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px;
  color: var(--bex-blue);
}

/* ─── BLOG · Übersicht ────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bg-paper); border: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.blog-card:hover { border-color: var(--bex-blue); transform: translateY(-2px); }
.blog-cover {
  height: 200px; background: var(--bg-dark) center/cover no-repeat;
}
.blog-cover-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1A2630 0%, #0E1418 100%);
}
.blog-cover-fallback img { width: 88px; height: 88px; opacity: 0.45; }
.blog-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--bex-blue); margin-bottom: 10px;
}
.blog-card h2 {
  font-size: 21px; font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.14; margin-bottom: 10px;
}
.blog-card p {
  font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px;
}
.blog-card-more {
  margin-top: auto;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 12px; color: var(--bex-blue);
}

/* ─── BLOG · Artikel ──────────────────────────────────────── */
.article {
  padding: clamp(56px, 8vw, 104px) var(--pad-x) clamp(64px, 9vw, 120px);
}
.article-head { max-width: 760px; margin-bottom: 32px; }
.article-back {
  display: inline-block; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bex-blue); text-decoration: none;
}
.article-date {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); margin-bottom: 14px;
}
.article-head h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.025em; line-height: 1.03;
}
.article-lead {
  font-size: 19px; line-height: 1.55; color: var(--ink-soft);
  margin-top: 18px; max-width: 60ch;
}
.article-cover {
  margin: 8px 0 40px; max-width: 980px; border: 1px solid var(--rule);
}
.article-cover img { display: block; width: 100%; height: auto; }
.article-body { max-width: 720px; }
.article-body p {
  font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 20px;
}
.article-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; text-transform: uppercase; letter-spacing: -0.01em;
  margin: 40px 0 14px;
}
.article-figure { margin: 32px 0; }
.article-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.article-figure figcaption {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  margin-top: 8px; text-transform: uppercase; letter-spacing: 0.04em;
}
.article-quote {
  margin: 32px 0; padding: 6px 0 6px 28px;
  border-left: 3px solid var(--bex-green);
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.32; color: var(--ink);
}
.article-quote cite {
  display: block; margin-top: 14px;
  font-family: var(--font-mono); font-size: 12px; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft);
}
.article-foot {
  max-width: 720px; margin-top: 48px;
  padding-top: 28px; border-top: 1px solid var(--rule);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ─── Tablet landscape / small desktop ─── */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .job { grid-template-columns: 56px 1fr 150px 24px; }
  .job .type { display: none; }
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-tile { border-right: none; padding: 36px 0 0; }
  .metric-tile:nth-child(n+2) { padding-left: 0; }
  .metric-tile:nth-child(odd) { padding-right: 28px; border-right: 1px solid rgba(255,255,255,0.12); }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-top: 24px; }
  .proc-grid::before { display: none; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cert:nth-child(3n+2) .badge { background: var(--bex-blue); }
  .cert:nth-child(4n+2) .badge,
  .cert:nth-child(4n+3) .badge { background: var(--bex-green); }
}

/* ─── Nav collapse ─── */
@media (max-width: 920px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; flex: none;
    gap: 0; padding: 8px var(--pad-x) 24px;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 40px rgba(0,0,0,0.4);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-mid {
    flex-direction: column; margin-left: 0; gap: 0;
    font-size: 15px;
  }
  .nav-mid a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-mid a.active::after { display: none; }
  .nav-right {
    margin-left: 0; flex-direction: column; align-items: stretch;
    gap: 14px; margin-top: 20px;
  }
  .nav-phone { text-align: center; }
  .nav-right .btn { justify-content: center; }
}

/* ─── Below 900: hero & layout reflow ─── */
@media (max-width: 900px) {
  .hero { height: auto; }
  .hero::before { mask-image: radial-gradient(ellipse 120% 70% at 40% 50%, #000 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 120% 70% at 40% 50%, #000 30%, transparent 90%); }
  .hero-x { width: 380px; height: 380px; right: -130px; top: 40%; opacity: 0.3; }
  .hero-meta {
    position: static; display: block;
    padding: 32px var(--pad-x) 0;
    left: auto; right: auto;
  }
  .hero-meta span { display: block; }
  .hero-meta span + span { margin-top: 8px; }
  .hero-inner { height: auto; padding: 40px var(--pad-x) 48px; justify-content: flex-start; }
  .hero-stats {
    position: static; left: auto; right: auto; bottom: auto;
    flex-wrap: wrap; gap: 28px 48px;
    padding: 28px var(--pad-x) 40px; margin: 0;
  }
  .intro { grid-template-columns: 1fr; gap: 32px; }
  .intro h2 { margin-top: 14px; }
  .s-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .s-head .right { max-width: 60ch; }
  .projects-grid {
    grid-template-columns: 1fr; grid-template-rows: none;
    min-height: 0; gap: 16px;
  }
  .project { grid-row: auto; min-height: 280px; }
  .project.big { grid-row: auto; }
  .project.big h3 { font-size: 32px; }
  .career-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .paipe-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
  .page { --pad-x: 20px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-label { border-right: none; padding-right: 0; }
  .trust .logos { gap: 16px 28px; font-size: 15px; }
  .service .body { padding: 28px 24px; }
  .service ul { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-tile { padding: 32px 0 0 !important; border-right: none !important;
    border-top: 1px solid rgba(255,255,255,0.12); }
  .metric-tile:first-child { border-top: none; }
  .proc-grid { grid-template-columns: 1fr; gap: 32px; }
  .proc-step { padding-right: 0; }
  .certs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cert:nth-child(4n+2) .badge,
  .cert:nth-child(4n+3) .badge { background: var(--bex-blue); }
  .cert:nth-child(even) .badge { background: var(--bex-green); }
  .job {
    grid-template-columns: 1fr auto;
    grid-template-areas: "id arr" "ttl arr" "loc arr";
    gap: 4px 16px; row-gap: 4px;
  }
  .job .id { grid-area: id; }
  .job .ttl { grid-area: ttl; }
  .job .loc { grid-area: loc; }
  .job .arr { grid-area: arr; align-self: center; font-size: 20px; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .form .field.full { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cta .btn, .hero-cta { width: 100%; }
  .hero-cta .btn { justify-content: center; }
  .hero-x { width: 300px; height: 300px; right: -110px; top: 34%; opacity: 0.22; }
}
