/* =========================================================
   Schubert IT GmbH – Stylesheet
   Aufgeräumter, moderner Relaunch. Markenfarbe: Blau.
   ========================================================= */

:root {
  /* Palette */
  --blue-900: #0a2540;
  --blue-800: #0e3a63;
  --blue-700: #124a7e;
  --blue-600: #1665a8;
  --blue-500: #1f83d0;
  --blue-050: #eaf3fb;
  --cyan-400: #29c1d8;

  --ink: #10202e;
  --ink-soft: #43566a;
  --line: #dbe4ec;
  --paper: #ffffff;
  --paper-2: #f5f8fb;

  --accent: var(--cyan-400);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .08);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-600);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost {
  --bg: transparent;
  --fg: var(--blue-700);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue-600); background: var(--blue-050); }
.btn--light {
  --bg: #fff;
  --fg: var(--blue-800);
}
.btn--accent { --bg: var(--accent); --fg: #06323a; border-color: var(--accent); }

/* =========================================================
   Skip link
   ========================================================= */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--blue-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* =========================================================
   Top bar (Kontakt / Zertifizierung / Social)
   ========================================================= */
.topbar {
  background: var(--blue-900);
  color: #cfe0f0;
  font-size: .82rem;
}
.topbar a { color: #cfe0f0; }
.topbar a:hover { color: #fff; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 42px; flex-wrap: wrap;
}
.topbar__meta { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.topbar__cert { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.topbar__cert svg { width: 15px; height: 15px; color: var(--accent); }
.socials { display: flex; align-items: center; gap: .35rem; }
.socials a {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; transition: background .2s, color .2s;
}
.socials a:hover { background: rgba(255,255,255,.12); color: #fff; }
.socials svg { width: 16px; height: 16px; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--blue-900); letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: .6rem .8rem; border-radius: 8px;
  transition: background .2s, color .2s;
}
.menu > li > a:hover, .menu > li > a[aria-current="page"] { color: var(--blue-700); background: var(--blue-050); text-decoration: none; }
.menu > li > a[aria-current="page"] { font-weight: 600; }
.has-sub > a::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
.has-sub:hover > a::after { transform: rotate(225deg) translateY(2px); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 320px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--ink);
  font-size: .92rem; line-height: 1.35;
}
.submenu a:hover { background: var(--blue-050); color: var(--blue-700); text-decoration: none; }

.nav__cta { display: flex; align-items: center; gap: .6rem; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--ink); transform: translate(-50%,-50%); transition: transform .28s var(--ease), opacity .2s;
}
.burger span::before { transform: translate(-50%, -7px); }
.burger span::after { transform: translate(-50%, 5px); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translate(-50%,-50%) rotate(45deg); }
.burger.is-open span::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(41,193,216,.20), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-700) 60%, var(--blue-600));
  color: #eaf3fb;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 30% 20%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero .eyebrow { color: #bfe9f1; }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 {
  color: #fff; margin: 1rem 0 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #cfe0f0; max-width: 46ch; margin: 1.4rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__stats {
  display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.6rem;
}
.hero__stat b { font-family: var(--font-display); font-size: 1.7rem; color: #fff; display: block; line-height: 1; }
.hero__stat span { font-size: .82rem; color: #a9c7e0; letter-spacing: .04em; }

/* Hero visual: layered "network" card */
.hero__visual { position: relative; }
.netcard {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 1.4rem; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.netcard h3 { color: #fff; font-size: 1rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.netcard h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(41,193,216,.25); }
.netrow { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px dashed rgba(255,255,255,.16); }
.netrow:first-of-type { border-top: none; }
.netrow svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.netrow div { min-width: 0; }
.netrow b { color: #fff; font-size: .92rem; font-family: var(--font-display); font-weight: 500; display: block; }
.netrow small { color: #a9c7e0; font-size: .78rem; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--blue-900); color: #dceaf6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .8rem 0 0; letter-spacing: -.015em; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; margin: 1rem 0 0; }
.section--dark .section__head p { color: #b9d0e6; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue-600); margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin: 0 0 .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 1.2rem; }
.card__link {
  margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  display: inline-flex; align-items: center; gap: .4rem; color: var(--blue-700);
}
.card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--blue-800), var(--blue-600));
  aspect-ratio: 4/3; display: grid; place-items: center; color: #fff; position: relative;
}
.split__media .glyph { width: 40%; opacity: .9; }
.split h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.split p { color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: 3px; }

/* ---------- Magazine / callout band ---------- */
.band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  box-shadow: var(--shadow-md);
}
.band h3 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; }
.band p { color: #d6e6f4; margin: .7rem 0 0; max-width: 60ch; }
.band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- References ---------- */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ref {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ref:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ref__img { aspect-ratio: 16/10; background: linear-gradient(160deg, var(--blue-700), var(--cyan-400)); position: relative; overflow: hidden; }
.ref__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.25), transparent 55%); }
.ref__img .tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(6,32,50,.75); color: #fff; font-size: .72rem; font-family: var(--font-display);
  letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px;
}
.ref__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ref__body h3 { font-size: 1.12rem; margin: 0 0 .5rem; }
.ref__body p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 1rem; }
.ref__body .card__link { margin-top: auto; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.pagehero {
  background:
    radial-gradient(800px 300px at 90% -20%, rgba(41,193,216,.18), transparent 60%),
    linear-gradient(150deg, var(--blue-900), var(--blue-700));
  color: #eaf3fb; padding-block: clamp(2.6rem, 6vw, 4.2rem);
  position: relative; overflow: hidden;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 100% at 80% 0, #000, transparent 75%);
}
.pagehero__inner { position: relative; z-index: 1; }
.crumbs { font-size: .85rem; color: #a9c7e0; display: flex; gap: .5rem; align-items: center; }
.crumbs a { color: #cfe0f0; }
.crumbs span { opacity: .6; }
.pagehero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: .9rem 0 0; letter-spacing: -.02em; max-width: 20ch; }
.pagehero p { color: #cfe0f0; max-width: 60ch; margin: 1rem 0 0; font-size: 1.08rem; }

/* =========================================================
   Prose (content pages)
   ========================================================= */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; color: var(--blue-800); }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); display: grid; gap: .5rem; }
.prose .note {
  background: var(--blue-050); border-left: 4px solid var(--blue-600);
  padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; color: var(--blue-900);
}
.prose .warn {
  background: #fff4ec; border-left: 4px solid #e07a3c;
  padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; color: #7a3d16; font-weight: 500;
}
.prose .spec {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem;
  font-family: var(--font-display); font-size: .92rem; color: var(--blue-800);
  display: grid; gap: .3rem;
}

.layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* Sidebar contact card */
.sidecard {
  position: sticky; top: 96px;
  background: var(--blue-900); color: #dceaf6; border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-md);
}
.sidecard h3 { color: #fff; font-size: 1.15rem; margin: 0 0 1rem; }
.sidecard dl { margin: 0; display: grid; gap: .8rem; }
.sidecard dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb2d0; }
.sidecard dd { margin: 0; }
.sidecard dd a { color: #fff; font-weight: 500; }
.sidecard .btn { width: 100%; justify-content: center; margin-top: 1.3rem; }

/* =========================================================
   Contact / forms
   ========================================================= */
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .96rem; background: var(--paper-2); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { width: auto; margin-top: 4px; }
.req { color: #d64545; }
.formnote { font-size: .82rem; color: var(--ink-soft); margin-top: .4rem; }

.infogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.infobox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.infobox svg { width: 26px; height: 26px; color: var(--blue-600); margin-bottom: .7rem; }
.infobox h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.infobox p, .infobox a { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.infobox a { color: var(--blue-700); font-weight: 500; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--blue-900); color: #b9d0e6; padding-block: clamp(2.6rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: #b9d0e6; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #8fb2d0; }
.footer-brand p { font-size: .92rem; margin: 1rem 0 0; max-width: 34ch; }
.footer-contact { font-style: normal; font-size: .95rem; display: grid; gap: .4rem; }
.footer-contact a { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #8fb2d0;
}
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Floating WhatsApp/phone */
.floating {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: grid; gap: .6rem;
}
.floating a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); color: #fff; transition: transform .2s;
}
.floating a:hover { transform: scale(1.08); }
.floating .wa { background: #25d366; }
.floating .call { background: var(--blue-600); }
.floating svg { width: 24px; height: 24px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .cards, .refs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidecard { position: static; }
}
@media (max-width: 860px) {
  .nav__cta .btn { display: none; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 5.5rem 1.2rem 2rem; gap: .2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
  }
  .menu.is-open { transform: none; }
  .menu > li > a { padding: .85rem 1rem; font-size: 1.05rem; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 .4rem .8rem;
    min-width: auto; display: none;
  }
  .has-sub.open .submenu { display: block; }
  .has-sub > a::after { margin-left: auto; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,37,64,.4); opacity: 0; visibility: hidden; transition: .3s; z-index: 99; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 620px) {
  .cards, .refs { grid-template-columns: 1fr; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .topbar__meta { gap: .8rem; }
  .hero__stats { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
