/* =============================================================================
   ACM-Finance GmbH — Design System
   Reines CSS, keine externen Abhaengigkeiten. Light-first, Dark optional.
   Farbwelt: Anthrazit-Blau (Ink) + gedaempftes Pinie/Smaragd (Akzent).
   Typo: System-Sans (Text/Display) + System-Mono (Fachebene: Labels, Codes).
============================================================================= */

/* ---------- Design Tokens -------------------------------------------------- */
:root {
  /* Farben – Light (Standard) */
  --paper: #F6F8F9;
  --surface: #FFFFFF;
  --surface-2: #EFF3F4;

  --ink: #16232B;
  --ink-soft: #33454F;
  --muted: #52636C;

  --line: #DCE3E6;
  --line-strong: #C6D0D4;

  --accent: #17624A;
  --accent-deep: #0F4B39;
  --accent-tint: #E6F1EC;
  --accent-bright: #4FB894;

  /* dunkles Band innerhalb heller Seiten */
  --band-bg: #16232B;
  --band-text: #E6EDEF;
  --band-muted: #9FB0B8;
  --band-line: #31434D;
  --band-link: #7FD3B6;

  --focus: #17624A;

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", "Cascadia Mono",
    "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 74rem;      /* ~1184px */
  --container-narrow: 46rem;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;

  /* Rhythmus */
  --section-py: clamp(3.5rem, 8vw, 6.5rem);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(16, 35, 43, 0.05);
  --shadow-md: 0 14px 40px -22px rgba(16, 35, 43, 0.35);
}

/* ---------- Reset ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

strong { font-weight: 650; }

/* ---------- Accessibility -------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Per Skip-Link programmatisch fokussiertes <main> soll keinen Rahmen zeichnen */
#main[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout Helpers ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-py); }

.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Dunkles Band */
.section--dark {
  background: var(--band-bg);
  color: var(--band-text);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .lead,
.section--dark p { color: var(--band-muted); }
.section--dark .eyebrow { color: var(--band-muted); }
.section--dark .eyebrow::before { background: var(--accent-bright); }
.section--dark a { color: var(--band-link); }

.stack > * + * { margin-top: 1rem; }

/* ---------- Typo-Utilities ------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 1.1rem;
  overflow-wrap: break-word;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.6rem;
}

.display {
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.section-title {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  letter-spacing: -0.025em;
}
.section-title--sm { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.5rem); }

.lead {
  font-size: clamp(1.1rem, 1.02rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.muted { color: var(--muted); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.accent-text { color: var(--accent); }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-deep); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-tint); }

.section--dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.section--dark .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }

.btn__arrow { transition: transform 0.15s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}
.textlink:hover { color: var(--accent-deep); }
.textlink .btn__arrow { transition: transform 0.15s ease; }
.textlink:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header / Navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 249, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.16rem;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { white-space: nowrap; }
.brand__sep { color: var(--accent); padding-inline: 0.05em; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.97rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__link:hover { color: var(--accent-deep); background: var(--accent-tint); }
.nav__link.is-active { color: var(--accent-deep); }
.nav__link[aria-current="page"] { color: var(--accent-deep); font-weight: 650; }

.nav__link--cta {
  margin-left: 0.35rem;
  background: var(--accent);
  color: #fff;
  padding-inline: 1.15rem;
}
.nav__link--cta:hover { background: var(--accent-deep); color: #fff; }
.nav__link--cta.is-active { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  display: inline-block;
  transition: background-color 0.15s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem var(--gutter) 1.35rem;
  }
  .nav__link {
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.4rem;
    text-align: center;
  }
}

/* ---------- Sprachumschalter / Header-Aktionen ---------------------------- */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lang-switch__link {
  display: inline-block;
  padding: 0.3rem 0.42rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease;
}
a.lang-switch__link:hover { color: var(--accent-deep); background: var(--accent-tint); }
.lang-switch__link.is-active { color: var(--ink); font-weight: 700; }
.lang-switch__sep { color: var(--line-strong); user-select: none; }

/* ---------- Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(79, 184, 148, 0.14), transparent 55%),
    radial-gradient(80% 70% at -10% 110%, rgba(23, 98, 74, 0.08), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__title {
  font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 750;
}
.hero__title .accent-text { color: var(--accent); }
.hero__lead { margin-top: 1.35rem; max-width: 34rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.trust-row li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-row li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero__figure {
  position: relative;
  align-self: center;
}

/* Hero-Inhalt ist above-the-fold: Einblendung per CSS-Load-Animation
   (unabhaengig vom JS-Observer, damit nichts unsichtbar startet). */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero__content { min-width: 0; animation: heroIn 0.7s ease both; }
.hero__figure  { min-width: 0; animation: heroIn 0.7s ease 0.1s both; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__figure { max-width: 30rem; margin-inline: auto; }
}

/* ---------- Schema-Grafik (Signature) ------------------------------------- */
.schematic { width: 100%; height: auto; }
.schematic .s-node { fill: var(--surface); stroke: var(--line-strong); }
.schematic .s-node--hub { fill: var(--accent); stroke: var(--accent-deep); }
.schematic .s-label { fill: var(--ink-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; }
.schematic .s-label--hub { fill: #fff; font-weight: 600; }
.schematic .s-link { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.schematic .s-flow {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 5 7;
  animation: flow 2.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ---------- Grid & Cards --------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: 1.16rem; margin-bottom: 0.45rem; }
.card__text { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* Hervorgehobene Abschluss-Karte in einem Karten-Raster */
.card--cta {
  background: var(--accent-tint);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card--cta .card__link { margin-top: 1rem; }

/* ---------- Katalog (Leistungen / Produkte) -------------------------------- */
.catalog {
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.catalog__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.6rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.catalog__ref {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-top: 0.35rem;
}
.catalog__body { max-width: 52rem; }
.catalog__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem); margin-bottom: 0.5rem; }
.catalog__text { color: var(--ink-soft); margin: 0; }

.catalog__item:last-child { border-bottom: 0; }

/* Katalog-Variante auf dunklem Band */
.catalog--on-dark { border-top-color: var(--band-line); }
.catalog--on-dark .catalog__item { border-bottom-color: var(--band-line); }
.catalog--on-dark .catalog__ref { color: var(--accent-bright); }
.catalog--on-dark .catalog__title { color: #fff; }

@media (max-width: 640px) {
  .catalog__item { grid-template-columns: 1fr; gap: 0.35rem; }
  .catalog__ref { padding-top: 0; }
}

/* ---------- Feature / Warum ------------------------------------------------ */
.feature-list { display: grid; gap: 1.5rem; }
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.feature__mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--accent-deep);
}
.section--dark .feature__mark { border-color: var(--band-line); color: var(--accent-bright); }
.feature__mark svg { width: 20px; height: 20px; }
.feature__title { font-size: 1.12rem; margin-bottom: 0.3rem; }
.feature__text { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- CTA-Band ------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .section-title { margin-inline: auto; max-width: 30rem; }
.cta-band .lead { margin-inline: auto; max-width: 40rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Kontakt -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { display: grid; gap: 1.4rem; }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.contact-item__mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.contact-item__mark svg { width: 20px; height: 20px; }
.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-item__value { font-weight: 600; color: var(--ink); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.field .req { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 98, 74, 0.15);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

.data-list { display: grid; gap: 1.1rem; margin: 0; }
.data-list dd { margin: 0; font-weight: 600; color: var(--ink); }
.data-list .placeholder { font-weight: 400; }

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

/* ---------- Prose (Recht) -------------------------------------------------- */
.prose { max-width: var(--container-narrow); }
.prose h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose ul li { list-style: disc; margin-bottom: 0.4rem; }
.prose address { font-style: normal; line-height: 1.8; }
.placeholder {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: 5px;
  padding: 0.08em 0.4em;
  color: var(--accent-deep);
  overflow-wrap: break-word;
}

/* ---------- Page-Header (Unterseiten) ------------------------------------- */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-header__inner { padding-block: clamp(2.75rem, 6vw, 4.25rem); max-width: 50rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }

/* ---------- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--band-bg);
  color: var(--band-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.site-footer .brand { color: #fff; font-size: 1.25rem; }
.site-footer__desc { max-width: 30rem; margin-top: 1rem; }
.disclaimer {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--band-muted);
  border-left: 2px solid var(--band-line);
  padding-left: 0.9rem;
  max-width: 34rem;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.96rem; }

.site-footer__bottom {
  border-top: 1px solid var(--band-line);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}
.site-footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal-Animation (Progressive Enhancement) -------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---------- Motion-Praeferenz --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Dark Mode (optional) ------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F181D;
    --surface: #16232B;
    --surface-2: #1E2F38;

    --ink: #EAF1F2;
    --ink-soft: #C2CFD4;
    --muted: #93A4AC;

    --line: #28373F;
    --line-strong: #3A4C56;

    --accent: #4FB894;
    --accent-deep: #6FC9A8;
    --accent-tint: #16302A;
    --accent-bright: #4FB894;

    --band-bg: #1E2F38;
    --band-text: #EAF1F2;
    --band-muted: #A9BAC2;
    --band-line: #3A4C56;
    --band-link: #7FD3B6;

    --focus: #6FC9A8;

    --shadow-md: 0 14px 40px -22px rgba(0, 0, 0, 0.6);
  }

  .site-header { background: rgba(15, 24, 29, 0.82); }
  .btn--primary { color: #08221A; }
  .btn--primary:hover { color: #08221A; }
  .nav__link--cta { color: #08221A; }
  .nav__link--cta:hover { color: #08221A; }
  .nav__link--cta.is-active { color: #08221A; }
  .placeholder { color: var(--accent-deep); }
  .schematic .s-node--hub { fill: var(--accent); stroke: var(--accent-deep); }
  .schematic .s-label--hub { fill: #08221A; }
}
