/* ============================================================
   ScIT Informatik GmbH – scit.ch
   Design-System: Pantone 292 U (#6E98CC) als Leitfarbe,
   helles Schweizer Layout, keine externen Ressourcen.
   ============================================================ */

:root {
  --brand: #6E98CC;          /* Pantone 292 U – CI-Blau aus dem Logo */
  --brand-deep: #5586BE;
  --brand-tint: #E9F1F9;
  --brand-050: #F3F7FC;
  --action: #2E5E9E;         /* Interaktionsblau mit AA-Kontrast */
  --action-hover: #254E85;
  --navy: #14293F;           /* dunkle Flächen, Footer */
  --navy-soft: #1C3A5C;
  --ink: #1D2C3B;
  --ink-soft: #43566A;
  --muted: #66798D;
  --surface: #FFFFFF;
  --soft: #F5F8FB;
  --line: #DAE4EE;
  --line-strong: #C3D2E1;
  --ok: #2F8A68;
  --shadow-sm: 0 6px 24px rgba(30, 61, 97, 0.08);
  --shadow-md: 0 16px 48px rgba(30, 61, 97, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --container: 1160px;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
main * { min-width: 0; }
h1, h2, h3, h4, p, li { overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(110, 152, 204, 0.32); color: var(--navy); }
:focus-visible { outline: 3px solid rgba(110, 152, 204, 0.75); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 0.55em; color: var(--ink); font-weight: 700; letter-spacing: -0.028em; line-height: 1.14; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.05rem; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--action);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand); }
.eyebrow-light { color: #BCD4EE; }
.eyebrow-light::before { background: var(--brand); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
/* Blur liegt auf einem Pseudo-Element, damit der Header kein Containing
   Block für das fixe Mobile-Menü wird (backdrop-filter würde das erzwingen). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 44px; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav > a,
.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav > a:hover,
.nav-group-toggle:hover { background: var(--brand-050); color: var(--ink); }
.primary-nav > a[aria-current="page"],
.nav-group.is-current > .nav-group-toggle { color: var(--action); }
.nav-group-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.18s ease; }
.nav-group { position: relative; }
.nav-group.open > .nav-group-toggle svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 300px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.nav-group.open > .subnav { display: block; }
.subnav a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
}
.subnav a:hover { background: var(--brand-050); }
.subnav a strong { display: block; color: var(--ink); font-size: 0.97rem; }
.subnav a span { display: block; color: var(--muted); font-size: 0.85rem; }
.subnav a[aria-current="page"] strong { color: var(--action); }

.nav-cta {
  margin-left: 10px;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: var(--action) !important;
  color: #fff !important;
}
.nav-cta:hover { background: var(--action-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.2s ease, opacity 0.2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(110, 152, 204, 0.22), transparent 62%),
    linear-gradient(180deg, #F2F7FC 0%, #FFFFFF 88%);
}
.hero-decor {
  position: absolute;
  right: -170px;
  top: -120px;
  width: 640px;
  height: 640px;
  background: url("/assets/scit-signet.svg") no-repeat center / contain;
  opacity: 0.09;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: center;
  padding: 92px 0 100px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--action); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-card {
  position: relative;
  padding: 30px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero-card .signet { width: 58px; height: 58px; margin-bottom: 16px; color: var(--brand); }
.hero-card strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.06rem; }
.hero-card p { margin-bottom: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.hero-card .phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--action);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-card .phone:hover { color: var(--action-hover); }
.hero-card .phone svg { width: 22px; height: 22px; }
.hero-card .hint { margin: 10px 0 0; color: var(--muted); font-size: 0.85rem; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, #1B3A5C 60%, #24507E 100%);
  color: #fff;
}
.page-hero-decor {
  position: absolute;
  right: -140px;
  top: -100px;
  width: 520px;
  height: 520px;
  background: url("/assets/scit-signet-white.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.page-hero .container { position: relative; padding: 54px 0 72px; }
.page-hero h1 { margin-bottom: 18px; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .lead { max-width: 720px; color: #CBDCEE; }
.page-hero .hero-actions { margin-top: 26px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #9FB8D3;
  font-size: 0.85rem;
}
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-current] { color: #E4EEF8; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--action); color: #fff; }
.button-primary:hover { background: var(--action-hover); }
.button-ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.button-ghost:hover { border-color: var(--action); color: var(--action); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: var(--brand-tint); }
.button-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--action); font-weight: 650; }
.arrow-link:hover { color: var(--action-hover); text-decoration: underline; }

/* ---------- Sektionen ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-tint { background: var(--brand-050); }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
  max-width: none;
}
.heading-row > p { margin: 0 0 8px; color: var(--ink-soft); }

/* ---------- Trust-Leiste ---------- */
.trust-strip { border-top: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--brand-deep); }
.trust-item strong { display: block; color: var(--ink); font-size: 0.99rem; line-height: 1.3; }
.trust-item span { display: block; color: var(--muted); font-size: 0.85rem; }

/* ---------- Karten ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.content-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.content-card:hover, .content-card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--brand-tint);
  color: var(--action);
}
.feature-icon svg { width: 26px; height: 26px; }
.content-card h3 { margin-bottom: 8px; }
.content-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.97rem; }
.content-card .card-more { margin-top: auto; padding-top: 18px; }
.content-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 0.97rem; }
.content-card ul li { margin-bottom: 6px; }

/* ---------- Zweispalter ---------- */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}
.content-copy p { color: var(--ink-soft); }
.content-copy p strong { color: var(--ink); }

.info-panel {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}
.info-panel h3 { font-size: 1.08rem; }
.info-panel p { color: var(--ink-soft); font-size: 0.97rem; }
.info-panel p:last-child { margin-bottom: 0; }

/* ---------- Checkliste ---------- */
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 13px; padding-left: 34px; color: var(--ink-soft); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5E9E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") no-repeat center / 12px;
}

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.12rem; }
.step p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Preise ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.price-card.highlight { border-color: var(--brand); box-shadow: 0 18px 48px rgba(110, 152, 204, 0.25); }
.price-card .plan-badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--action);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 1.3rem; }
.price-card .plan-desc { color: var(--ink-soft); font-size: 0.97rem; }
.price-line { display: flex; align-items: baseline; gap: 9px; margin: 18px 0 2px; }
.price-line .amount { color: var(--ink); font-size: 2.1rem; font-weight: 750; letter-spacing: -0.03em; }
.price-line .unit { color: var(--muted); font-size: 0.92rem; }
.price-card hr { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.price-card .check-list li { margin-bottom: 10px; font-size: 0.95rem; }
.price-card .card-more { margin-top: auto; padding-top: 24px; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.98rem; }
.price-table th { color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr.total td { border-bottom: 0; color: var(--ink); font-weight: 750; }
.price-table td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.table-note { margin-top: 14px; color: var(--muted); font-size: 0.86rem; }

/* ---------- Zeiten ---------- */
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hours-card { padding: 28px 28px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.hours-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.hours-card h3 svg { width: 21px; height: 21px; color: var(--brand-deep); }
.hours-card dl { margin: 0; }
.hours-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-card .row:last-child { border-bottom: 0; }
.hours-card dt { color: var(--ink-soft); font-size: 0.95rem; }
.hours-card dd { margin: 0; color: var(--ink); font-size: 0.95rem; font-weight: 650; text-align: right; white-space: pre-line; }

/* ---------- Zitat / Motto ---------- */
.motto {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.motto blockquote { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.motto blockquote .accent { color: var(--action); }
.motto figcaption { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- infrahost-Hinweis ---------- */
.partner-band { border-top: 1px solid var(--line); background: var(--soft); }
.partner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px 0; }
.partner-inner p { margin: 0; max-width: 640px; color: var(--ink-soft); font-size: 0.98rem; }
.partner-inner p strong { color: var(--ink); }

/* ---------- CTA ---------- */
.cta-section { padding: 40px 0 96px; }
.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: 58px 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, #1D3F63 55%, #2A5A8C 100%);
  color: #fff;
}
.cta-box::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  background: url("/assets/scit-signet-white.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin-bottom: 0; color: #C6D8EB; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; font-weight: 700; }
.cta-phone:hover { text-decoration: underline; }
.cta-phone svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9CCDF; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  gap: 44px;
  padding: 68px 0 46px;
}
.footer-brand img { width: auto; height: 46px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; color: #9FB6CC; font-size: 0.95rem; }
.footer-contact { display: block; margin-top: 4px; color: #E2ECF6; font-size: 0.97rem; }
.footer-contact:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: 0.83rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: #B9CCDF; font-size: 0.96rem; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(185, 204, 223, 0.18);
  font-size: 0.87rem;
  color: #8DA6BE;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Diverses ---------- */
.legal-content h2 { margin-top: 2.2em; font-size: 1.45rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content strong { color: var(--ink); }
.legal-meta { margin-top: 3em; color: var(--muted); font-size: 0.88rem; }

.notice {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-050);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.notice svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--action); }
.notice p { margin: 0; }

.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: rgba(47, 138, 104, 0.12); color: var(--ok); font-size: 0.9rem; font-weight: 650; }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }

.error-hero { padding: 130px 0 150px; text-align: center; }
.error-hero .code { color: var(--brand); font-size: 6rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .hero-card { max-width: 460px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .heading-row { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; padding: 46px 40px; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 22px 22px 40px;
    background: #fff;
    overflow-y: auto;
  }
  body.nav-open .primary-nav { display: flex; }
  .primary-nav > a, .nav-group-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .subnav { position: static; transform: none; display: none; min-width: 0; margin: 4px 0 10px; padding: 4px 8px; border: 0; box-shadow: none; background: var(--soft); border-radius: var(--radius-sm); }
  .nav-group.open > .subnav { display: block; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero-inner { padding: 56px 0 64px; }
  .card-grid, .card-grid-2, .price-grid, .hours-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .cta-box { padding: 38px 26px; }
  .hero-decor, .page-hero-decor { opacity: 0.05; }
  .brand img { height: 38px; }
}

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

@media print {
  .site-header, .site-footer, .cta-section, .nav-toggle, .hero-actions { display: none !important; }
  body { font-size: 12pt; }
}
