/* =========================================================================
   Schnürer Elektrotechnik – Stylesheet
   Struktur: 1 Tokens · 2 Reset · 3 Typografie · 4 Layout · 5 Buttons
             6 Header/Nav · 7 Hero · 8 Komponenten · 9 Formular
            10 Footer · 11 Utilities · 12 Print
   Keine externen Ressourcen (DSGVO): System-Fonts, Inline-SVG-Icons.
   ========================================================================= */

/* ============================ 1 · TOKENS ================================= */
:root {
  /* Marke */
  --c-brand: #0057b8;
  --c-brand-700: #00458f;
  --c-brand-50: #eaf2fc;
  /* Akzent = Gelb aus dem Firmenlogo */
  --c-accent: #f1a803;
  --c-accent-700: #c88a00;

  /* Neutrale Töne */
  --c-ink: #0b1b2b;
  --c-ink-soft: #16324a;
  --c-text: #253442;
  --c-muted: #5b6b7a;
  --c-line: #e2e9f2;
  --c-surface: #f5f8fc;
  --c-surface-2: #eef4fa;
  --c-bg: #ffffff;

  /* Semantisch */
  --c-ok: #17864a;
  --c-warn: #b45309;
  --c-err: #c02626;

  /* Typografie */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 0.35vw + 1.05rem, 1.25rem);
  --fs-xl: clamp(1.3rem, 0.6vw + 1.15rem, 1.55rem);
  --fs-h3: clamp(1.35rem, 0.8vw + 1.15rem, 1.7rem);
  --fs-h2: clamp(1.65rem, 1.6vw + 1.2rem, 2.4rem);
  --fs-h1: clamp(2rem, 3.2vw + 1.2rem, 3.4rem);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-base: 1.7;

  /* Raster & Abstände */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(3.25rem, 7vw, 6rem);

  /* Form & Tiefe */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(11, 27, 43, 0.06), 0 2px 6px rgba(11, 27, 43, 0.05);
  --sh-md: 0 4px 12px rgba(11, 27, 43, 0.07), 0 12px 28px rgba(11, 27, 43, 0.06);
  --sh-lg: 0 10px 24px rgba(11, 27, 43, 0.09), 0 28px 60px rgba(11, 27, 43, 0.09);
  --ring: 0 0 0 3px rgba(0, 87, 184, 0.35);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================ 2 · RESET ================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

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

/* ========================= 3 · TYPOGRAFIE =============================== */
h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-700); }

strong { color: var(--c-ink); font-weight: 650; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

/* Rich-Text-Blöcke (Leistungs-/Rechtstexte) */
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: 0.4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 1.75em;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c-accent);
}
.prose ol { list-style: decimal; }
.prose ol > li::marker { color: var(--c-brand); font-weight: 700; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.prose th, .prose td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--c-surface); color: var(--c-ink); font-weight: 650; }

/* ============================ 4 · LAYOUT ================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.section--surface { background: var(--c-surface); }
.section--ink {
  background: var(--c-ink);
  color: #cfdae6;
}
.section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }
.section--ink .eyebrow { color: var(--c-accent); }

.section-head {
  max-width: 62ch;
  margin-bottom: var(--sp-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split__media--first { order: -1; }
}

/* Inhalt + Sidebar (Leistungsseiten) */
.layout-side {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .layout-side { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* ============================ 5 · BUTTONS =============================== */
.btn {
  --btn-bg: var(--c-brand);
  --btn-fg: #fff;
  --btn-bd: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.75em;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-wrap: nowrap;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover {
  --btn-bg: var(--c-brand-700);
  --btn-bd: var(--c-brand-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--accent {
  --btn-bg: var(--c-accent);
  --btn-bd: var(--c-accent);
  --btn-fg: var(--c-ink);
}
.btn--accent:hover {
  --btn-bg: var(--c-accent-700);
  --btn-bd: var(--c-accent-700);
  --btn-fg: #fff;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-line);
}
.btn--ghost:hover {
  --btn-bg: var(--c-brand-50);
  --btn-fg: var(--c-brand-700);
  --btn-bd: var(--c-brand);
}
.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.4);
}
.btn--on-dark:hover {
  --btn-bg: #fff;
  --btn-fg: var(--c-ink);
  --btn-bd: #fff;
}
.btn--lg { padding: 1.15em 2.25em; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.btn-row--center { justify-content: center; }

/* Auf schmalen Bildschirmen dürfen lange Beschriftungen umbrechen und
   die Schaltflächen die volle Breite nutzen – sonst ragen sie hinaus. */
@media (max-width: 520px) {
  .btn {
    white-space: normal;
    text-wrap: balance;
  }
  .btn-row > .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--fs-sm);
  font-weight: 650;
  text-decoration: none;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ========================= 6 · HEADER / NAV ============================= */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -120%);
  padding: 0.7em 1.2em;
  background: var(--c-ink);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 650;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.topbar {
  background: var(--c-ink);
  color: #b9c7d6;
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: 40px;
  padding-block: 0.45rem;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
}
.topbar__list li { display: inline-flex; align-items: center; gap: 0.45em; }
.topbar svg { width: 14px; height: 14px; color: var(--c-accent); flex: none; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--c-accent); text-decoration: underline; }
@media (max-width: 640px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__meta { display: none; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.2s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-sm); }

/* ---------------- Header transparent über dem dunklen Kopfbereich --------
   Die Klasse steht auf <body>. Der Header bleibt im normalen Fluss und
   sticky – nur der Hintergrund verschwindet. Damit er trotzdem ÜBER dem
   Bild liegt, wird der Kopfbereich per negativem Abstand nach oben
   gezogen (er bringt oben das passende Innenabstand-Polster mit).
   So kann sich nichts mit der Kontaktzeile darüber überschneiden. */
.has-dark-head .header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.has-dark-head .header.is-stuck {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-sm);
}
.has-dark-head .hero,
.has-dark-head .pagehead {
  margin-top: calc(-1 * var(--header-h));
}

/* Logo umschalten: weiße Fassung über dem Bild, normale nach dem Scrollen.
   Die Grundregel (weiße Fassung aus) steht weiter unten beim .logo-Block –
   sie muss nach .logo__img kommen, sonst gewinnt dort display:block. */
.has-dark-head .header:not(.is-stuck) .logo__img--dark { display: none; }
.has-dark-head .header:not(.is-stuck) .logo__img--light { display: block; }

/* Navigation über dem Bild in Weiß */
@media (min-width: 1024px) {
  .has-dark-head .header:not(.is-stuck) .nav__link { color: #fff; }
  .has-dark-head .header:not(.is-stuck) .nav__link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .has-dark-head .header:not(.is-stuck) .nav__link[aria-current="page"] { color: var(--c-accent); }
  .has-dark-head .header:not(.is-stuck) .btn--ghost {
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, 0.45);
  }
  .has-dark-head .header:not(.is-stuck) .btn--ghost:hover {
    --btn-bg: #fff;
    --btn-fg: var(--c-ink);
    --btn-bd: #fff;
  }
}
/* Mobiles Menü: Burger über dem Bild ebenfalls hell */
@media (max-width: 1023px) {
  .has-dark-head .header:not(.is-stuck) .burger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
  }
  .has-dark-head .header:not(.is-stuck) .burger__bars span,
  .has-dark-head .header:not(.is-stuck) .burger__bars::before,
  .has-dark-head .header:not(.is-stuck) .burger__bars::after { background: #fff; }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--c-ink);
}

/* Firmenlogo als Bild */
.logo__img {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(58vw, 240px);
  object-fit: contain;
}
/* Die weiße Fassung ist standardmäßig aus. Doppelte Klasse für höhere
   Gewichtung, damit display:block von .logo__img nicht gewinnt. */
.logo__img.logo__img--light { display: none; }
@media (max-width: 420px) {
  .logo__img { height: 38px; }
}
.logo--footer { margin-bottom: 1.35rem; }
.logo--footer .logo__img { height: 54px; max-width: 260px; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--c-brand) 0%, var(--c-ink-soft) 100%);
  color: var(--c-accent);
  box-shadow: var(--sh-sm);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__name {
  display: block;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-ink);
}
.logo__claim {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.55em 0.8em;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.nav__link:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav__link[aria-current="page"] { color: var(--c-brand); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 0.8em;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
}
.nav__item { position: relative; }
.nav__item > .nav__link[aria-current="page"] { position: static; }

/* Dropdown */
.nav__toggle-icon {
  width: 10px;
  height: 10px;
  transition: transform 0.2s var(--ease);
}
.nav__item--has-menu:hover .nav__toggle-icon,
.nav__item--has-menu:focus-within .nav__toggle-icon { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 290px;
  padding: var(--sp-2);
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease),
    visibility 0.16s;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.nav__menu a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.nav__menu a span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.nav__menu a:hover span { color: var(--c-brand); }

.burger {
  display: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.9em;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 650;
  cursor: pointer;
}
.burger__bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex: none;
}
.burger__bars span,
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.burger__bars::before { top: 0; }
.burger__bars span { top: 5px; }
.burger__bars::after { bottom: 0; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 auto 0;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { display: block; }
  .nav__link {
    padding: 0.8em 0.2em;
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
    justify-content: space-between;
  }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__menu {
    position: static;
    min-width: 0;
    margin: 0 0 var(--sp-3) 0;
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-4);
    border: 0;
    border-left: 2px solid var(--c-accent);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__item--has-menu.is-open .nav__menu { display: block; }
  .nav__cta { margin-top: var(--sp-5); }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 1024px) {
  .nav__cta { display: flex; gap: var(--sp-2); }
}
@media (max-width: 1150px) and (min-width: 1024px) {
  .nav__cta .btn--ghost { display: none; }
}

/* ============================= 7 · HERO ================================= */
/* Bildbetonter Hero: Foto vollflächig, dunkel getönt, Text darüber.
   Der Header liegt transparent darüber (siehe .header--overlay). */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 860px);
  padding-block: calc(var(--header-h) + var(--sp-8)) clamp(3rem, 8vw, 6rem);
  background-color: var(--c-ink);
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
}
/* Tönung: dunkel genug für weißen Text, ohne das Motiv zu verlieren */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 27, 43, 0.78) 0%, rgba(11, 27, 43, 0.42) 42%, rgba(11, 27, 43, 0.9) 100%),
    linear-gradient(96deg, rgba(11, 27, 43, 0.72) 0%, rgba(11, 27, 43, 0.2) 62%);
}
@media (max-width: 767px) {
  .hero {
    min-height: 78vh;
    background-position: center 30%;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 27, 43, 0.8) 0%, rgba(11, 27, 43, 0.62) 40%, rgba(11, 27, 43, 0.94) 100%);
  }
}

.hero__grid { max-width: 60rem; }

/* Kompakte, zentrierte Variante – z. B. für die 404-Seite */
.hero--compact {
  align-items: center;
  min-height: min(62vh, 560px);
  padding-block: calc(var(--header-h) + var(--sp-7)) var(--sp-8);
  text-align: center;
}
.hero--compact .lead { margin-inline: auto; }
.hero--compact .eyebrow { justify-content: center; }
.hero .eyebrow { color: var(--c-accent); }
.hero .eyebrow::before { background: var(--c-accent); }

.hero h1 {
  margin-bottom: var(--sp-5);
  color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
  background: none;
}
.hero .lead {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-base);
  line-height: 1.65;
}
.hero__cta { margin-top: var(--sp-6); }
.hero__note {
  margin-top: var(--sp-5);
  max-width: 52ch;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.66);
}
/* Sekundärer Button muss auf dem Bild hell sein */
.hero .btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.hero .btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--c-ink);
  --btn-bd: #fff;
}
.hero .checks li { color: rgba(255, 255, 255, 0.86); }
.hero .badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.hero .badge svg { color: var(--c-accent); }

/* Kleiner, ebenfalls dunkler Kopfbereich für die Unterseiten */
.pagehead {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--header-h) + var(--sp-7)) clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(1000px 520px at 82% -30%, rgba(0, 87, 184, 0.5), transparent 62%),
    linear-gradient(150deg, #0b1b2b 0%, #16324a 100%);
  color: rgba(255, 255, 255, 0.82);
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 100% at 80% 0%, #000 10%, transparent 75%);
}
.pagehead h1 {
  margin-bottom: var(--sp-4);
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pagehead .eyebrow { color: var(--c-accent); }
.pagehead .eyebrow::before { background: var(--c-accent); }
.pagehead .lead { max-width: 68ch; color: rgba(255, 255, 255, 0.84); }
.pagehead__cta { margin-top: var(--sp-5); }
.pagehead .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.42);
}
.pagehead .btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--c-ink);
  --btn-bd: #fff;
}

.breadcrumb {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.62);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  list-style: none;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4em;
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.62); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--c-accent); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 650; }

/* ========================= 8 · KOMPONENTEN ============================== */

/* Bild-Platzhalter (durch eigene Fotos ersetzen – siehe README) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-color: var(--c-surface-2);
  background-image: var(--img, none);
  background-size: cover;
  background-position: center;
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3;
}
.media--wide { aspect-ratio: 16 / 9; }
/* Aufmacherbild am Beginn einer Leistungsseite */
.leistung-bild {
  aspect-ratio: 3 / 2;
  margin-bottom: var(--sp-6);
}
@media (max-width: 600px) {
  .leistung-bild { aspect-ratio: 4 / 3; }
}
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(0, 87, 184, 0.06) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, #dce8f5 0%, #eaf1f8 55%, #f5f0e2 100%);
}
.media[style*="--img"]::before { display: none; }
.media::after {
  content: attr(data-label);
  position: absolute;
  inset: auto var(--sp-4) var(--sp-4) var(--sp-4);
  padding: 0.45em 0.75em;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: center;
}
.media[style*="--img"]::after { display: none; }
.media--plain::after { display: none; }

/* Karten */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.card h3 { margin: 0; font-size: var(--fs-xl); }
.card p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 13px;
  background: var(--c-brand-50);
  color: var(--c-brand);
}
.card__icon svg { width: 25px; height: 25px; }
.card > .link-arrow { margin-top: auto; }

a.card { text-decoration: none; color: inherit; }
a.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, 0.35);
  box-shadow: var(--sh-md);
}
a.card:hover h3 { color: var(--c-brand-700); }
a.card:hover .card__icon { background: var(--c-brand); color: #fff; }

.card--flat { box-shadow: none; background: var(--c-surface); border-color: transparent; }
.card--accent { border-left: 4px solid var(--c-accent); }

/* Zahlen / Kennwerte */
.stats {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.stat {
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-accent);
}
.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: #cfdae6;
}
.section:not(.section--ink) .stat {
  background: #fff;
  border-color: var(--c-line);
  box-shadow: var(--sh-sm);
}
.section:not(.section--ink) .stat__num { color: var(--c-brand); }
.section:not(.section--ink) .stat__label { color: var(--c-muted); }

/* Check-Listen */
.checks { list-style: none; display: grid; gap: var(--sp-3); }
.checks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.checks li {
  position: relative;
  padding-left: 2.1rem;
  font-size: var(--fs-sm);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057b8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--ink .checks li::before {
  background-color: rgba(255, 176, 31, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb01f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Ablauf / Schritte */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  list-style: none;
}
.step {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: calc(-1 * var(--sp-4));
  left: var(--sp-5);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-ink);
  color: var(--c-accent);
  font-size: var(--fs-sm);
  font-weight: 750;
  box-shadow: var(--sh-sm);
}
.step h3 { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-lg); }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

/* Badges & Pills */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.85em;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-ink);
  box-shadow: var(--sh-sm);
}
.badge svg { width: 14px; height: 14px; color: var(--c-brand); flex: none; }
.badge--accent { border-color: rgba(255, 176, 31, 0.5); background: #fffaf0; }
.badge--accent svg { color: var(--c-accent-700); }

.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }
.pill {
  display: inline-block;
  padding: 0.35em 0.8em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-ink-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.pill a { color: inherit; text-decoration: none; }
.pill:hover { background: var(--c-brand-50); }
.pill:hover a { color: var(--c-brand-700); }

/* Info-Box / Hinweis */
.note {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-brand);
  background: var(--c-brand-50);
  font-size: var(--fs-sm);
}
.note h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.note--accent { border-left-color: var(--c-accent); background: #fff8ea; }

/* Zitat / Referenz */
.quote {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.quote__text { font-size: var(--fs-lg); line-height: 1.55; color: var(--c-ink); }
.quote__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--c-brand-50);
  color: var(--c-brand);
  font-weight: 750;
}
.stars { display: inline-flex; gap: 2px; color: var(--c-accent); }
.stars svg { width: 16px; height: 16px; }

/* FAQ / Accordion */
.faq { display: grid; gap: var(--sp-3); }
.faq__item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.faq__item[open] { border-color: rgba(0, 87, 184, 0.35); box-shadow: var(--sh-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--c-ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-brand-700); }
.faq__q::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--c-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057b8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.faq__a > * + * { margin-top: var(--sp-3); }

/* CTA-Band */
.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(700px 340px at 85% 0%, rgba(0, 87, 184, 0.45), transparent 62%),
    linear-gradient(140deg, #0b1b2b 0%, #16324a 100%);
  color: #cfdae6;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1.35fr auto; }
}
.cta-band__contact {
  display: grid;
  gap: var(--sp-3);
  min-width: 260px;
}
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.cta-band__phone svg { width: 1.05em; height: 1.05em; color: var(--c-accent); }
.cta-band__phone:hover { color: var(--c-accent); }

/* Einsatzgebiet */
.area {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.area__col h3 {
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-3);
  border-bottom: 2px solid var(--c-accent);
  font-size: var(--fs-base);
}
.area__col ul { list-style: none; display: grid; gap: 0.35rem; }
.area__col li { font-size: var(--fs-sm); color: var(--c-muted); }

/* Kontakt-Infoblock */
.contact-list { list-style: none; display: grid; gap: var(--sp-4); }
.contact-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--c-brand-50);
  color: var(--c-brand);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-list dd {
  margin: 0.1rem 0 0;
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--c-ink);
}
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-muted);
}

/* Sidebar-Box */
.aside-box {
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.aside-box + .aside-box { margin-top: var(--sp-5); }
.aside-box h3 { font-size: var(--fs-lg); }
.aside-box--ink {
  background: linear-gradient(150deg, #0b1b2b 0%, #16324a 100%);
  border-color: transparent;
  color: #cfdae6;
}
.aside-box--ink h3 { color: #fff; }
.aside-box__list { list-style: none; display: grid; gap: 0.15rem; }
.aside-box__list a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-text);
}
.aside-box__list a:hover { background: var(--c-brand-50); color: var(--c-brand-700); }
.aside-box__list a[aria-current="page"] {
  background: var(--c-brand-50);
  color: var(--c-brand-700);
  box-shadow: inset 3px 0 0 var(--c-accent);
}
@media (min-width: 1000px) {
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ============================ 9 · FORMULAR ============================== */
.form { display: grid; gap: var(--sp-4); }
.form__row {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.field { display: grid; gap: 0.35rem; }
.field > label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-ink);
}
.field .req { color: var(--c-err); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: var(--fs-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c6d4e4; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-brand);
  box-shadow: var(--ring);
  outline: none;
}
.field__hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field__error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--c-err);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--c-err); }
.field.has-error .field__error { display: block; }

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--sp-3);
}
.field--check input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--c-brand);
}
.field--check label { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text); }

.form__status {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__status.is-ok { display: block; background: #e8f6ee; color: var(--c-ok); }
.form__status.is-err { display: block; background: #fdeceb; color: var(--c-err); }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ============================= 10 · FOOTER ============================== */
.footer {
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--c-ink);
  color: #a8b8c9;
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: var(--sp-6) var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  padding-bottom: var(--sp-7);
}
.footer__brand { max-width: 34ch; }
.footer .logo__name, .footer h3 { color: #fff; }
.footer .logo__claim { color: #8fa2b6; }
.footer h3 {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer a { color: #a8b8c9; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.75; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: #8fa2b6;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); list-style: none; }

/* Mobile Anruf-Leiste */
.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--c-line);
  box-shadow: 0 -4px 18px rgba(11, 27, 43, 0.14);
}
.callbar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95rem 0.5rem;
  background: #fff;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
}
.callbar a svg { width: 17px; height: 17px; color: var(--c-brand); }
.callbar a.is-primary { background: var(--c-accent); }
@media (max-width: 767px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* =========================== 11 · UTILITIES ============================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================= 12 · PRINT =============================== */
@media print {
  .topbar, .header, .callbar, .cta-band, .btn, .nav { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .pagehead, .section--surface, .section--ink { background: none !important; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .media { display: none; }
}
