/* ============================================================
   BSC SWISS — 1.0 2026
   ============================================================ */

:root {
  --bg: #121417;                               /* Anthrazit, tief */
  --bg-soft: #1a1d21;
  --anthracite: #23272d;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --blue: #14acf2;
  --blue-deep: #2c59be;
  --blue-glow: rgba(20, 172, 242, 0.35);
  --blue-soft: rgba(20, 172, 242, 0.14);
  --text: #e9edf2;                             /* kühles Weiss */
  --ice-white: #dfe9f4;
  --muted: #9ba4ae;
  --line: rgba(255, 255, 255, 0.1);

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Fixe Hintergrund-Glows (Parallax-Gefühl: Inhalt scrollt darüber) */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}
body::before {
  /* oben rechts, Richtung Mitte auslaufend */
  top: -28vh; right: -12vw;
  width: 72vw; height: 85vh;
  background: radial-gradient(closest-side,
    rgba(44, 89, 190, 0.34),
    rgba(20, 172, 242, 0.12) 52%,
    transparent 76%);
}
body::after {
  /* unten links, fix am Bildschirmrand */
  bottom: -32vh; left: -16vw;
  width: 64vw; height: 80vh;
  background: radial-gradient(closest-side,
    rgba(20, 172, 242, 0.22),
    rgba(44, 89, 190, 0.09) 52%,
    transparent 76%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typo ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 0 12px var(--blue-glow);
  flex: none;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  /* Weiss-Eis-Verlauf */
  background: linear-gradient(180deg, #fdfeff 5%, #dfe9f4 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 { font-size: clamp(40px, 6vw, 74px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; }

.dot {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 56ch;
  margin-top: 26px;
}

/* ---------- Header (Glas, schwebend) ---------- */
.site-header {
  position: sticky; top: 14px; z-index: 50;
  padding: 0 var(--pad);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  height: 66px;
  padding: 0 12px 0 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-radius: 999px;
  background: rgba(26, 29, 33, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
  position: relative;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex; align-items: center; gap: 11px;
  color: #fff;
}
/* 45px hoch (Logo +50%) — die Pille bleibt fix bei 66px Nav-Höhe */
.brand-logo { height: 45px; width: auto; display: block; flex: none; }
.brand-fallback { display: none; align-items: center; gap: 11px; }
.brand .mark {
  width: 15px; height: 15px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 0 14px var(--blue-glow);
  flex: none;
}
.brand small {
  font-weight: 400; font-size: 10px;
  letter-spacing: 0.14em; color: var(--muted); display: block;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--blue);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 22px var(--blue-glow);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

/* Umlaufender Glanz auf dem Rand der blauen CTA-Buttons */
@property --btn-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.btn:not(.btn--ghost):not(.btn--light)::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--btn-angle),
    transparent 0deg,
    transparent 250deg,
    rgba(255, 255, 255, 0.9) 305deg,
    rgba(165, 220, 255, 0.95) 320deg,
    rgba(255, 255, 255, 0.9) 335deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-shine 3.2s linear infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  to { --btn-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:not(.btn--ghost):not(.btn--light)::before { display: none; }
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 10px 28px var(--blue-glow); }
.btn .arrow { font-weight: 400; }
.btn--ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--glass-border);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--glass-strong); color: #fff; }
.btn--light { background: #fff; color: #0e1116; border-color: #fff; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25); }
.btn--light:hover { background: #f1ede2; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.nav-toggle {
  display: none;
  background: var(--glass); color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  padding: 10px 16px; cursor: pointer;
}

/* ---------- Bilder / Medien ---------- */
.media { position: relative; }
.media .media-frame {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  overflow: hidden;
  min-height: 220px;
}
.media .media-frame::before {
  content: "";
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 38px; height: 4px;
  border-radius: 0 0 6px 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  opacity: 0.9;
}
.media--wide img { aspect-ratio: 16 / 9; }
.media figcaption {
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Hero + DotField ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 8vw, 100px);
}
.hero .dot-field {
  position: absolute; inset: 0; z-index: 0;
  /* Dot-Feld läuft unten weich aus, ohne die BG-Glows zu überdecken */
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
/* 10er-Raster: Titel läuft über die volle Rasterbreite (col-10) */
.hero .container {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  column-gap: clamp(16px, 2vw, 28px);
}
.hero .container > * { grid-column: 1 / -1; }
.hero .container h1 { grid-column: span 10; }
.hero--home {
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
}

/* Hero-Slide-In */
.hero .container > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 0.9s cubic-bezier(0.22, 0.75, 0.2, 1) forwards;
}
.hero .container > *:nth-child(1) { animation-delay: 0.05s; }
.hero .container > *:nth-child(2) { animation-delay: 0.15s; }
.hero .container > *:nth-child(3) { animation-delay: 0.25s; }
.hero .container > *:nth-child(4) { animation-delay: 0.35s; }
.hero .container > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .container > * { opacity: 1; transform: none; }
}

.hero-meta {
  margin-top: 46px;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line);
}
.hero-meta div {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 28px 0 0;
  margin-right: 28px;
  border-top: 2px solid var(--blue);
  margin-top: -1px;
}

/* ---------- Split-Router (Signatur, Glas-Kacheln) ---------- */
.split-section { padding: 0 var(--pad); }
.split {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 20px;
  min-height: 520px;
}
.panel {
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 4.5vw, 56px);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.split:hover .panel { flex: 0.8; }
.split .panel:hover {
  flex: 1.6;
  border-color: rgba(20, 172, 242, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(20, 172, 242, 0.15);
}

.panel--ice {
  background: linear-gradient(160deg, rgba(20, 172, 242, 0.16), rgba(44, 89, 190, 0.07) 65%, var(--glass));
  color: var(--text);
}
.panel--slate {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(44, 89, 190, 0.10));
  color: var(--text);
}

.panel .panel-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.13;
  mix-blend-mode: luminosity;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.panel:hover .panel-bg { opacity: 0.24; transform: scale(1.02); }
.panel > *:not(.panel-bg) { position: relative; z-index: 1; }

.panel .panel-kicker {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--blue);
}
.panel--slate .panel-kicker { color: #8fc6e8; }

.panel-body { margin-top: auto; padding-top: 60px; }
.panel h3.panel-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
}
.panel p { margin-top: 16px; max-width: 44ch; font-size: 16px; color: var(--muted); }

.panel-cta {
  margin-top: 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
  width: max-content;
  transition: gap 0.25s ease;
}
.panel:hover .panel-cta { gap: 16px; }

.panel .big-index {
  position: absolute; right: 24px; bottom: -28px;
  font-weight: 800;
  font-size: clamp(120px, 16vw, 220px);
  color: #fff;
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
/* .section--line: Trennlinien bewusst entfernt — die fixen BG-Glows
   übernehmen die optische Gliederung */
.section--line { border-top: none; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Kacheln-Raster */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 > div, .grid-4 > div {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.grid-3 > div:hover, .grid-4 > div:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: rgba(20, 172, 242, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.grid-3 .num, .grid-4 .num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px; display: block;
}
.grid-3 h3, .grid-4 h3 { margin-bottom: 12px; }
.grid-4 h3 { font-size: 19px; }
.grid-3 p, .grid-4 p { color: var(--muted); font-size: 15.5px; }

/* Systemgrafik */
.system-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}
.system-cell {
  padding: clamp(24px, 3vw, 36px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.system-cell .label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.system-cell strong { font-size: 19px; font-weight: 700; color: #fff; display: block; margin-bottom: 8px; }
.system-cell p { font-size: 14.5px; color: var(--muted); }
.system-op {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 34px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 clamp(4px, 1vw, 12px);
}
.system-cell--result {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 36px var(--blue-glow);
}
.system-cell--result .label { color: rgba(255, 255, 255, 0.75); }
.system-cell--result strong { color: #fff; }
.system-cell--result p { color: rgba(255, 255, 255, 0.85); }

/* Zitat / Beweis */
.proof {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.stat-block {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat-block .stat-main {
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.stat-number {
  font-weight: 800;
  font-size: clamp(64px, 8vw, 110px); line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-caption { font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.stat-block .stat-foot { padding: 18px clamp(28px, 4vw, 48px); font-size: 14px; color: var(--muted); }

blockquote.quote {
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4;
  color: var(--text);
}
blockquote.quote footer {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 22px;
}
blockquote.quote--bar { border-left: 3px solid var(--blue); padding-left: 28px; }

/* Referenz-Karten (Kacheln) */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ref-card {
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.ref-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: rgba(20, 172, 242, 0.4);
}
.ref-card .ref-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.ref-card p { font-size: 16px; }
.ref-card footer { font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-top: 18px; }

/* Fakten-Liste (Über uns) */
.facts { border-top: 1px solid var(--line); }
.fact {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.fact dd { font-size: 17px; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }
.prose strong { font-weight: 700; color: #fff; }

.stack > * + * { margin-top: clamp(28px, 4vw, 44px); }

/* CTA-Band (Kachel) */
.cta-band { padding: 0 var(--pad) clamp(64px, 9vw, 120px); }
.cta-band .container {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px var(--blue-glow);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin-top: 14px; max-width: 44ch; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.contact-list .k { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.2s ease, color 0.2s ease; }
.contact-list a:hover { border-bottom-color: var(--blue); color: #fff; }

.embed-frame {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 640px;
  position: relative;
  overflow: hidden;
}
.embed-frame iframe { width: 100%; height: 100%; min-height: 640px; border: none; }
.embed-frame--form, .embed-frame--form iframe { min-height: 520px; }
.embed-note {
  font-size: 12px; color: var(--muted);
  margin-top: 12px;
}
.embed-missing {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--bg-soft);
}
.embed-missing p { color: var(--muted); font-size: 15px; max-width: 44ch; }

/* Terminarten: GHL-Kalenderauswahl, zentriert, ohne Scrollbar —
   die Höhe steuert form_embed.js automatisch */
.booking-embed {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.booking-embed iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: none;
  overflow: hidden;
}

/* Footer */
.site-footer { background: rgba(255, 255, 255, 0.025); }
.site-footer .container {
  padding-top: 56px; padding-bottom: 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.site-footer h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; font-size: 15px; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 12px; letter-spacing: 0.06em; color: var(--muted);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof, .contact-grid { grid-template-columns: 1fr; }
  .system-row { grid-template-columns: 1fr; }
  .system-op { padding: 2px 0; }
  .ref-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  .split { flex-direction: column; }
  .split:hover .panel, .split .panel:hover { flex: 1; }
  .panel { min-height: 380px; }

  .nav-toggle { display: block; }
  .nav > .btn { padding: 10px 18px; font-size: 13px; }
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(26, 29, 33, 0.92);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .nav-links.is-open { display: flex; }

  .fact { grid-template-columns: 1fr; gap: 6px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .brand-logo { height: 39px; }
  .nav > .btn .arrow { display: none; }
}
