/* ============================================================
   Regionalwachstum — Markendesign nach Corporate Identity & Design
   Manual v1.0 (Kapitel 03 Farben, 04 Typografie, 05 Gestaltungssystem).
   Dunkler Markenlook: Markengrün als Basis, Flächengrün für Tiefe,
   Weiß für Inhalte, Wachstumsgrün als Akzent-Ausnahme.
   ============================================================ */

/* Lemon Milk hat laut CI-Manual nur Bold/Medium/Regular im Standardsystem,
   keine Kleinbuchstaben in dieser Version — deshalb Headlines konsequent Versalien. */
@font-face {
  font-family: "Lemon Milk";
  src: url("../fonts/LEMONMILK-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lemon Milk";
  src: url("../fonts/LEMONMILK-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Lemon Milk";
  src: url("../fonts/LEMONMILK-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Markenfarben, exakt aus dem CI-Manual */
  --marken-gruen: #052506;
  --flaechen-gruen: #103E11;
  --wachstums-gruen: #42C81A;
  --weiss: #FFFFFF;
  --textschwarz: #111411;

  /* Abgeleitete Werte für Transparenz/Struktur, keine neuen Markenfarben */
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --text-muted: rgba(255, 255, 255, 0.68);
  --panel: #FFFFFF;
  --panel-strong: rgba(16, 62, 17, 0.55);

  /* Heller Infolook (CI-Manual Kap. 03.2): Basis für die gesamte Seite außer dem Header */
  --page-bg: #ECEBE6;
  --ink-heading: var(--marken-gruen);
  --ink-body: var(--textschwarz);
  --ink-muted: rgba(17, 20, 17, 0.64);
  --line-soft: rgba(66, 200, 26, 0.4);
  --warn: #C1622C; /* nur für Warn-/Negativ-Status, sparsam eingesetzt */

  --font-display: "Lemon Milk", "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Montserrat", Arial, Helvetica, sans-serif;

  --radius: 12px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; }
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
  position: relative;
}

/* ---------- Kartenwelt-Hintergrund: Deutschland als scrollgesteuerte Vektorkarte ---------- */
.map-bg {
  display: block;
  /* !important: main.js lädt vendor/maplibre-gl.css bei Bedarf dynamisch nach
     und hängt den <link> ans Ende von <head> - auf allen Seiten außer der
     Startseite (die den <link> bereits fest im <head> hat) landet er damit
     NACH dieser Regel und dessen .maplibregl-map { position: relative }
     würde sonst gewinnen und die Karte auf 0 Höhe kollabieren lassen. */
  position: fixed !important;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #e4e3dc;
  background-image: url("../assets/berlin-streets.svg");
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.map-bg.is-ready { background-image: none; }
.map-bg.uses-svg-map {
  background-repeat: no-repeat;
  will-change: background-position, background-size;
}
.map-bg.uses-svg-map::after {
  background:
    linear-gradient(rgba(236, 235, 230, 0.64), rgba(236, 235, 230, 0.64)),
    radial-gradient(circle at 50% 42%, transparent 20%, rgba(236, 235, 230, 0.18) 92%);
}
.map-bg .maplibregl-canvas-container,
.map-bg .maplibregl-canvas { width: 100%; height: 100%; }
.map-bg .maplibregl-canvas {
  opacity: 0.66;
  filter: saturate(0) contrast(0.98);
  will-change: transform;
}
.map-bg.uses-local-vector { background-color: var(--page-bg); }
.map-bg.uses-local-vector .leaflet-overlay-pane,
.map-bg.uses-local-vector .leaflet-marker-pane { opacity: 0.72; }
.map-city-marker {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b8b6ae;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.map-city-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b8b6ae;
  flex: 0 0 auto;
}
.map-bg .leaflet-control-container { display: none; }
.map-bg::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(236, 235, 230, 0.18), rgba(236, 235, 230, 0.18)),
    radial-gradient(circle at 50% 42%, transparent 20%, rgba(236, 235, 230, 0.12) 92%);
  content: "";
  pointer-events: none;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }
/* Die Karte bleibt die durchgehende Seitenfläche; einzelne Sections tönen sie nur leicht ab. */
main { background: transparent; }

/* ---------- Seiten-Leitplanken: durchlaufende Randlinien in Wachstumsgrün ---------- */
.rail-left, .rail-right {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-soft);
  opacity: 1;
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 900px) {
  .rail-left, .rail-right { display: block; }
  .rail-left { left: max(10px, calc(50% - 590px)); }
  .rail-right { right: max(10px, calc(50% - 590px)); }
}

/* Hierarchie exakt nach CI-Manual 04.2: H1 Lemon Milk Bold, H2 Lemon Milk Medium, H3 Montserrat SemiBold */
h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink-heading);
  margin: 0 0 0.5em;
}
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-heading);
  margin: 0 0 0.5em;
}

h1 { font-weight: 500; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.12; }
h2 { font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.05rem; line-height: 1.35; letter-spacing: 0; text-transform: none; }

p { margin: 0 0 1em; }
a { color: inherit; }

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

.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wachstums-gruen);
  margin: 0 0 0.9em;
}

.lede { font-size: 1.1rem; color: var(--ink-muted); max-width: 62ch; font-weight: 400; }
.lede-narrow { max-width: 52ch; }

.footnote {
  font-size: 0.82rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.9em;
  margin-top: 1.6em;
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--wachstums-gruen); color: var(--marken-gruen); }
.btn-accent:hover { background: #57e02f; }
.btn-ghost { background: transparent; color: var(--ink-body); border-color: rgba(17, 20, 17, 0.35); }
.btn-ghost:hover { background: rgba(17, 20, 17, 0.06); border-color: var(--ink-body); }
.btn-ink { background: var(--weiss); color: var(--marken-gruen); }
.btn-ink:hover { background: var(--wachstums-gruen); }
.btn-small { padding: 0.6em 1.3em; font-size: 0.86rem; }

.text-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: var(--wachstums-gruen);
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--wachstums-gruen); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--marken-gruen);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark img {
  display: block;
  width: auto;
  height: 56px;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.main-nav > a:hover, .main-nav > a.is-active { color: var(--weiss); }

.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-body);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.nav-item:hover .nav-link, .nav-link[aria-expanded="true"] { color: var(--weiss); }
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #d3dcce;
  border: 1px solid rgba(5, 37, 6, 0.1);
  border-radius: 7px;
  padding: 10px;
  min-width: 380px;
  display: none;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.is-open-click .dropdown { display: flex; }
.dropdown a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.34);
  border-color: var(--wachstums-gruen);
  box-shadow: 0 0 0 2px rgba(63, 213, 24, 0.18), 0 0 18px rgba(63, 213, 24, 0.28);
  outline: none;
  transform: translateX(2px);
}
.dropdown a:hover .dropdown-title { color: var(--flaechen-gruen); }
.dropdown-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 5px;
  background: var(--marken-gruen);
  color: var(--weiss);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.dropdown-icon svg { width: 20px; height: 20px; }
.dropdown-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dropdown-title { font-size: 0.9rem; font-weight: 700; color: var(--marken-gruen); }
.dropdown-sub { font-size: 0.78rem; font-weight: 500; color: rgba(5, 37, 6, 0.6); }
.dropdown-arrow { flex-shrink: 0; width: 16px; height: 16px; color: rgba(5, 37, 6, 0.35); }
.dropdown a:hover .dropdown-arrow { color: var(--marken-gruen); }
.dropdown a:hover .dropdown-icon,
.dropdown a:focus-visible .dropdown-icon {
  background: var(--wachstums-gruen);
  color: var(--marken-gruen);
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--weiss); display: block; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-row > .btn-ink { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    padding: 8px 28px 20px;
    border-top: 1px solid var(--line-on-dark);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    padding: 12px 0;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line-on-dark);
  }
  .mobile-nav .nav-group-label {
    margin-top: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wachstums-gruen);
  }
  .mobile-nav a.sub { padding-left: 14px; font-weight: 500; font-size: 0.92rem; }
  .mobile-nav .btn { margin-top: 14px; align-self: flex-start; }
}

/* ---------- Blaupausen-Platzhalter für Foto/Video ---------- */
.blueprint-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--flaechen-gruen);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid rgba(66, 200, 26, 0.25);
}
.blueprint-frame--tall { aspect-ratio: 5 / 4; }
.blueprint-frame::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--wachstums-gruen);
  background: rgba(5, 37, 6, 0.85);
  border: 1px solid rgba(66, 200, 26, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.blueprint-hatch {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(66, 200, 26, 0.12) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(66, 200, 26, 0.07) 0 1px, transparent 1px 14px);
}
.blueprint-corner { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-block: 72px 88px;
  overflow-x: hidden;
}
.hero--without-media {
  grid-template-columns: minmax(0, 1fr);
}
.hero--without-media .hero-copy {
  max-width: 920px;
}

/* ===== Hero mit Foto-Hintergrund (.hero--photo) =====
   Eigenständiger, reversibler Block: Klasse "hero--photo" vom <section>-Tag
   entfernen und den <div class="hero-photo-bg"> löschen, um das Foto wieder
   zu entfernen. Nichts hier überschreibt Regeln außerhalb von .hero--photo. */
.hero--photo {
  position: relative;
  overflow: hidden;
}
.hero--photo .hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Ebene 1 (oben): Verlauf zum normalen Seiten-Hintergrund, beginnt nach
     der Trust-Zeile ("Hamburg, Rödingsmarkt") und ist vor der nächsten
     Sektion vollständig ausgeblendet.
     Ebene 2: halbtransparenter, dunkelgrüner Lesbarkeits-Schleier - stärker
     dort, wo der Text steht (oben/links), schwächer rechts über den Gesichtern.
     Ebene 3: das Foto selbst. */
  background-image:
    linear-gradient(to bottom, transparent 0%, transparent 88%, var(--page-bg) 98%, var(--page-bg) 100%),
    linear-gradient(120deg, rgba(5, 37, 6, 0.56) 0%, rgba(5, 37, 6, 0.38) 40%, rgba(5, 37, 6, 0.16) 68%, rgba(5, 37, 6, 0.05) 100%),
    url("../assets/hero-team-photo.webp");
  background-size: cover, cover, cover;
  background-position: center, center, center 24%;
  background-repeat: no-repeat;
}
.hero--photo .hero-copy { position: relative; z-index: 1; }
.hero--photo .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.hero--photo h1 { color: var(--weiss); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38); }
.hero--photo .lede { color: rgba(255, 255, 255, 0.88); }
.hero--photo .trust-line { color: rgba(255, 255, 255, 0.82); border-top-color: rgba(255, 255, 255, 0.3); }
.hero--photo .btn-ghost {
  color: var(--weiss);
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(5, 37, 6, 0.22);
}
.hero--photo .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--weiss); }

@media (max-width: 640px) {
  .hero--photo .hero-photo-bg {
    background-image:
      linear-gradient(to bottom, transparent 0%, transparent 94%, var(--page-bg) 99.5%, var(--page-bg) 100%),
      linear-gradient(rgba(5, 37, 6, 0.6), rgba(5, 37, 6, 0.42)),
      url("../assets/hero-team-photo.webp");
    background-position: center, center, 44% 18%;
  }
}

.hero .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wachstums-gruen);
  margin-bottom: 1em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-block: 1.6em 1.8em; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 1em;
  max-width: 60ch;
}

/* ---------- PROTECTED: kompakte, rotierende Kundenlogo-Leiste ---------- */
.trustband { padding-block: 24px 0; }
.logo-strips-frame { position: relative; margin-top: 12px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 12px 10px;
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
}
.logo-cell:nth-child(5n) { border-right: none; }
.logo-cell:nth-child(-n+5) { border-bottom: 1px solid var(--line-soft); }
.customer-logo {
  display: block;
  width: min(130px, 100%);
  height: 36px;
  object-fit: contain;
  transition: opacity 0.28s ease;
}
.customer-logo.is-swapping { opacity: 0; }

@media (max-width: 760px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-cell { height: 72px; padding: 10px 8px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .logo-cell:nth-last-child(-n+2) { border-bottom: none; }
  .customer-logo { width: min(124px, 100%); height: 34px; }
}

/* ---------- Problem ---------- */
.problem { padding-block: 88px; }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(17, 20, 17, 0.04);
}
.card p { color: var(--ink-muted); margin: 0; font-size: 0.96rem; }

/* ---------- S.03 Problem: zweispaltige Sektion mit Prozessanimation ---------- */
.problem-flow { padding-block: 88px; }
.problem-flow-grid {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 64px;
  align-items: center;
}
.problem-flow-visual { margin: 0; min-width: 0; }
.flow-svg { display: block; width: 100%; height: auto; overflow: visible; }

.problem-flow-text { min-width: 0; }
.problem-flow-text h2 { max-width: 20ch; }
.headline-muted { color: var(--ink-muted); }
.problem-flow-text .lede { max-width: 56ch; }
.lede-emphasis { color: var(--ink-heading); font-weight: 700; font-style: normal; }

.problem-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 1.8em 0 0;
}
.pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-heading);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  background: var(--panel);
}

/* ---- Prozessgrafik: Karten ---- */
.flow-card-rect {
  fill: var(--panel);
  stroke: var(--line-soft);
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 6px rgba(17, 20, 17, 0.06));
}
.flow-card-rect--warn { stroke: rgba(193, 98, 44, 0.35); }
.flow-card-body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.flow-card-body--warn { justify-content: center; gap: 8px; flex-direction: row; align-items: center; }
.flow-card-title { margin: 0; font-size: 0.92rem; font-weight: 700; color: var(--ink-heading); line-height: 1.25; }
.flow-card-sub { margin: 0; font-size: 0.78rem; color: var(--ink-muted); line-height: 1.3; }
.flow-card-body--warn .flow-card-title { font-size: 0.86rem; }

.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.flow-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.flow-status--neutral { color: var(--ink-muted); background: rgba(17, 20, 17, 0.06); }
.flow-status--busy { color: var(--warn); background: rgba(193, 98, 44, 0.12); }
.flow-status--warn {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  background: var(--warn); flex-shrink: 0;
}
.flow-status--warn::before { content: none; }

/* ---- Prozessgrafik: Linien & Punkte ---- */
.flow-line { fill: none; stroke: var(--line-soft); stroke-width: 2; }
.flow-dot { fill: var(--wachstums-gruen); filter: drop-shadow(0 0 3px rgba(66, 200, 26, 0.7)); offset-rotate: 0deg; }
.flow-dot--1 { offset-path: path('M300,119 L300,225'); }
.flow-dot--2 { offset-path: path('M300,329 C300,385 101,385 101,435'); }
.flow-dot--3 { offset-path: path('M300,329 L300,435'); }
.flow-dot--4 { offset-path: path('M300,329 C300,385 499,385 499,435'); }

/* ---- Ablauf-Choreografie: ~6s Schleife, Karte für Karte ---- */
@media (prefers-reduced-motion: no-preference) {
  .flow-card--top .flow-card-rect { animation: flow-card-pulse 6s ease-in-out infinite; }
  .flow-card--middle .flow-card-rect { animation: flow-card-pulse 6s ease-in-out infinite; animation-delay: 2s; }
  .flow-card--result .flow-card-rect { animation: flow-card-pulse-warn 6s ease-in-out infinite; animation-delay: 4s; }
  .flow-status--busy, .flow-status--warn { animation: flow-status-blink 6s ease-in-out infinite; }
  .flow-status--warn { animation-name: flow-dot-pulse; }

  .flow-dot--1 { animation: flow-travel 6s linear infinite; animation-delay: 0s; }
  .flow-dot--2 { animation: flow-travel 6s linear infinite; animation-delay: 2.05s; }
  .flow-dot--3 { animation: flow-travel 6s linear infinite; animation-delay: 2s; }
  .flow-dot--4 { animation: flow-travel 6s linear infinite; animation-delay: 2.1s; }

  .problem-flow-visual:not(.is-in-view) .flow-dot,
  .problem-flow-visual:not(.is-in-view) .flow-card-rect,
  .problem-flow-visual:not(.is-in-view) .flow-status--busy,
  .problem-flow-visual:not(.is-in-view) .flow-status--warn {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-dot { opacity: 0; }
  .flow-card--middle .flow-card-rect { stroke: var(--wachstums-gruen); }
}

@keyframes flow-travel {
  0%, 34% { offset-distance: 0%; opacity: 0; }
  36% { opacity: 1; }
  64% { offset-distance: 100%; opacity: 1; }
  66%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes flow-card-pulse {
  0%, 100% { stroke: var(--line-soft); }
  8%, 25% { stroke: var(--wachstums-gruen); }
}
@keyframes flow-card-pulse-warn {
  0%, 100% { stroke: rgba(193, 98, 44, 0.35); }
  8%, 40% { stroke: var(--warn); }
}
@keyframes flow-status-blink {
  0%, 100% { opacity: 0.55; }
  15%, 30% { opacity: 1; }
}
@keyframes flow-dot-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  15%, 30% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 980px) {
  .problem-flow-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .problem-flow-text { order: 1; }
  .problem-flow-visual { order: 2; }
  .problem-flow-text h2 { max-width: none; }
}

/* ---------- Partner comparison ---------- */
.partner {
  position: relative;
  padding-block: 88px;
  background: var(--page-bg);
  border-top: 1px solid var(--line-soft);
}
.partner--home {
  padding-block: 68px;
  background: rgba(236, 235, 230, 0.42);
}
.partner-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 30px;
}
.partner-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.partner-heading h2 span { color: rgba(5, 37, 6, 0.44); }
.partner-heading .lede { margin: 0 0 4px; max-width: 46ch; }
.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: var(--marken-gruen);
  border: 1px solid rgba(5, 37, 6, 0.2);
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 28px 72px rgba(5, 37, 6, 0.14);
}
.compare-col {
  position: relative;
  padding: 26px 30px 20px;
  border-radius: 13px;
}
.compare-col--muted {
  background:
    linear-gradient(145deg, rgba(193, 98, 44, 0.08), transparent 48%),
    #fff4f0;
  color: var(--ink-body);
  box-shadow: inset 0 0 0 1px rgba(193, 77, 54, 0.28);
}
.compare-col--marked {
  background:
    linear-gradient(145deg, rgba(66, 200, 26, 0.1), transparent 48%),
    var(--flaechen-gruen);
  color: var(--weiss);
}
.compare-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 54px;
  margin-bottom: 10px;
}
.compare-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(5, 37, 6, 0.14);
  border-radius: 50%;
  color: rgba(5, 37, 6, 0.42);
  font-size: 0.65rem;
  font-weight: 700;
}
.compare-col--muted .compare-number {
  border-color: rgba(193, 77, 54, 0.35);
  background: rgba(193, 77, 54, 0.08);
  color: #a64336;
}
.compare-col--marked .compare-number {
  border-color: rgba(66, 200, 26, 0.5);
  background: rgba(66, 200, 26, 0.09);
  color: var(--wachstums-gruen);
}
.compare-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 5px;
  color: var(--ink-heading);
}
.compare-col--muted .compare-label { color: #a64336; }
.compare-col--marked .compare-label { color: var(--wachstums-gruen); }
.compare-sub { margin: 0; color: var(--ink-muted); font-size: 0.77rem; line-height: 1.4; }
.compare-col--muted .compare-sub { color: rgba(120, 47, 38, 0.62); }
.compare-col--marked .compare-sub { color: rgba(255, 255, 255, 0.58); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; }
.compare-col li {
  position: relative;
  display: flex;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(5, 37, 6, 0.1);
}
.compare-col--marked li { border-color: rgba(255, 255, 255, 0.1); }
.compare-col li::before {
  position: absolute;
  top: 22px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c14d3b;
  box-shadow: 0 0 0 5px rgba(193, 77, 59, 0.08);
  content: "";
}
.compare-col--marked li::before {
  background: var(--wachstums-gruen);
  box-shadow: 0 0 0 5px rgba(66, 200, 26, 0.09);
}
.compare-col li span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(5, 37, 6, 0.4);
}
.compare-col--muted li span { color: rgba(146, 52, 42, 0.66); }
.compare-col--marked li span { color: rgba(255, 255, 255, 0.48); }
.compare-col li strong {
  color: rgba(5, 37, 6, 0.66);
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.4;
}
.compare-col--marked li strong { color: var(--weiss); }
.partner-promise {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
  margin-top: 12px;
  padding: 28px 34px;
  border: 1px solid rgba(5, 37, 6, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.promise-label {
  margin: 0 0 10px;
  color: var(--wachstums-gruen);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.promise-copy h3 {
  margin: 0 0 12px;
  color: var(--marken-gruen);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  text-transform: uppercase;
}
.promise-copy > p:last-child { margin: 0; color: var(--ink-muted); font-size: 0.92rem; }
.promise-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.promise-facts > div { min-height: 92px; padding: 2px 18px; border-left: 1px solid rgba(5, 37, 6, 0.12); }
.promise-facts span { color: var(--wachstums-gruen); font-size: 0.65rem; font-weight: 700; }
.promise-facts p { margin: 12px 0 0; color: var(--ink-muted); font-size: 0.78rem; line-height: 1.5; }
.promise-facts strong { display: block; margin-bottom: 4px; color: var(--marken-gruen); font-size: 0.84rem; font-weight: 650; }

@media (prefers-reduced-motion: no-preference) {
  .compare-col--marked::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 25%, rgba(66, 200, 26, 0.055) 48%, transparent 70%);
    content: "";
    pointer-events: none;
    transform: translateX(-110%);
    animation: partner-sheen 8s ease-in-out infinite;
  }
}
@keyframes partner-sheen {
  0%, 58% { transform: translateX(-110%); }
  78%, 100% { transform: translateX(110%); }
}

/* Wiederverwendete Partner-Bausteine auf den Leistungsseiten. */
.partner-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.tick-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 26px; font-size: 0.96rem; }
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 10px; height: 10px;
  border-bottom: 2px solid var(--wachstums-gruen);
  border-right: 2px solid var(--wachstums-gruen);
  transform: rotate(45deg) translateY(-2px);
}

/* ---------- Systems ---------- */
.systems { padding-block: 88px; }
.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.system-card { display: flex; flex-direction: column; }
.system-card .blueprint-frame { margin-bottom: 20px; }
.system-card h3 { margin-bottom: 0.5em; font-size: 1.1rem; }
.system-card p { color: var(--ink-muted); font-size: 0.95rem; }
.result-line { font-size: 0.95rem; color: var(--ink-body); }
.result-line strong { color: var(--wachstums-gruen); }

/* Startseite: drei animierte Wachstumssysteme */
.systems--home {
  position: relative;
  overflow: hidden;
  padding-block: 64px;
  background: rgba(236, 235, 230, 0.42);
  border-top: 1px solid var(--line-soft);
}
.systems-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: end;
}
.systems-heading h2 {
  max-width: 19ch;
  margin: 0;
  color: var(--ink-heading);
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.systems-heading > p {
  max-width: 46ch;
  margin: 0 0 3px;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.systems-grid--animated { gap: 16px; margin-top: 30px; }
.system-card--animated {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 25%, rgba(66, 200, 26, 0.08), transparent 45%),
    rgba(4, 24, 7, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}
.system-card--animated:hover {
  border-color: rgba(66, 200, 26, 0.42);
  background:
    radial-gradient(circle at 50% 25%, rgba(66, 200, 26, 0.13), transparent 48%),
    rgba(6, 31, 10, 0.88);
  transform: translateY(-5px);
}
.system-visual {
  position: relative;
  display: grid;
  min-height: 218px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.system-visual::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 200, 26, 0.35), transparent);
  content: "";
}
.system-visual svg { display: block; width: min(84%, 300px); height: auto; }
.system-card-copy { display: flex; min-height: 258px; flex-direction: column; padding: 20px 22px 22px; }
.system-index {
  margin: 0 0 8px !important;
  color: var(--wachstums-gruen) !important;
  font-family: var(--font-display);
  font-size: 0.61rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-card--animated h3 {
  margin-bottom: 9px;
  color: var(--weiss);
  font-family: var(--font-display);
  font-size: 0.96rem;
  text-transform: uppercase;
}
.system-card--animated .system-card-copy > p:not(.system-index):not(.system-result) {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.5;
}
.system-result {
  margin: auto 0 14px !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.74rem !important;
  line-height: 1.4;
}
.system-result span {
  display: block;
  margin-bottom: 5px;
  color: var(--wachstums-gruen);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.system-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.system-link span { color: var(--wachstums-gruen); font-size: 0.95rem; }
.system-link:hover { border-color: var(--wachstums-gruen); background: rgba(66, 200, 26, 0.08); color: var(--weiss); }

/* Gemeinsame isometrische Zeichensprache */
.system-grid-plane path { fill: rgba(21, 82, 24, 0.13); stroke: rgba(66, 200, 26, 0.12); stroke-width: 1; }
.system-grid-plane path + path { fill: none; }
.iso-top { fill: rgba(37, 111, 40, 0.35); stroke: rgba(66, 200, 26, 0.22); }
.iso-top--soft { fill: rgba(19, 71, 23, 0.45); }
.iso-left { fill: rgba(8, 43, 12, 0.82); stroke: rgba(66, 200, 26, 0.12); }
.iso-right { fill: rgba(12, 56, 16, 0.8); stroke: rgba(66, 200, 26, 0.14); }
.iso-left--strong { fill: #125017; stroke: rgba(66, 200, 26, 0.3); }
.iso-right--strong { fill: #0c3b11; stroke: rgba(66, 200, 26, 0.26); }
.calendar-card { fill: rgba(4, 27, 8, 0.85); stroke: rgba(255, 255, 255, 0.35); }
.calendar-lines { fill: none; stroke: #9cf47f; stroke-width: 2; stroke-linecap: round; }
.system-connections path { fill: none; stroke: rgba(110, 238, 73, 0.36); stroke-width: 1.5; stroke-dasharray: 4 5; }
.system-particle { fill: #96f373; filter: drop-shadow(0 0 6px rgba(66, 200, 26, 0.9)); }
.lead-source circle { fill: rgba(10, 50, 14, 0.95); stroke: rgba(66, 200, 26, 0.55); }
.lead-source path { fill: none; stroke: #7ee75d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-ticket rect, .match-badge rect { fill: rgba(9, 48, 13, 0.96); stroke: rgba(66, 200, 26, 0.55); }
.result-ticket circle { fill: #42c81a; }
.result-ticket path { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; stroke-linecap: round; }
.talent-person { fill: #062609; stroke: #82ee62; }
.talent-person-line { fill: none; stroke: #82ee62; stroke-width: 2; stroke-linecap: round; }
.talent-orbit ellipse { fill: none; stroke: rgba(66, 200, 26, 0.34); stroke-dasharray: 4 6; }
.talent-avatar > circle:first-child { fill: #0b3810; stroke: rgba(66, 200, 26, 0.5); }
.talent-avatar circle:not(:first-child), .talent-avatar path { fill: none; stroke: #7be45b; stroke-width: 1.5; stroke-linecap: round; }
.talent-avatar--active > circle:first-child { fill: #42c81a; stroke: #b0ff95; filter: drop-shadow(0 0 8px rgba(66, 200, 26, 0.7)); }
.talent-avatar--active circle:not(:first-child), .talent-avatar--active path { stroke: #052506; }
.match-scan path { fill: rgba(66, 200, 26, 0.035); stroke: rgba(66, 200, 26, 0.2); stroke-dasharray: 4 5; }
.match-scan line { stroke: #80ec60; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(66, 200, 26, 0.8)); }
.match-badge path { fill: none; stroke: #72e652; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.match-badge text { fill: rgba(255, 255, 255, 0.78); font-family: var(--font-body); font-size: 8px; font-weight: 700; letter-spacing: 0.08em; }
.signal-rings ellipse { fill: none; stroke: rgba(66, 200, 26, 0.42); stroke-width: 1.2; }
.signal-top { fill: #42c81a; stroke: #98f47b; }
.signal-mark { fill: none; stroke: #052506; stroke-width: 2; stroke-linecap: round; }
.signal-nodes > g > circle:first-child { fill: rgba(8, 45, 12, 0.95); stroke: rgba(66, 200, 26, 0.55); }
.signal-nodes > g > circle:last-child { fill: #79e557; filter: drop-shadow(0 0 5px rgba(66, 200, 26, 0.9)); }
.content-tile > path:first-child { fill: #62dc40; stroke: #adff92; }
.content-side { fill: #1a741d; stroke: rgba(66, 200, 26, 0.45); }
.content-side--right { fill: #115416; }
.content-check { fill: none !important; stroke: #052506 !important; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.systems--home:not(.is-in-view) .system-motion { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .system-card--animated:hover { transform: none; }
  .system-motion { animation: none !important; }
}

/* ---------- Ledger / Zahlenband ---------- */
.ledger { background: rgba(236, 235, 230, 0.42); padding-block: 76px; border-top: 1px solid var(--line-soft); }
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--line-soft);
}
.ledger-entry {
  border-right: 1px solid var(--line-soft);
  padding: 22px 20px 0;
}
.ledger-entry:last-child { border-right: none; }
.ledger-entry dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 0.6em;
  min-height: 2.4em;
}
.ledger-entry dd {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--wachstums-gruen);
  margin: 0;
}
.ledger-source { font-size: 0.82rem; color: var(--ink-muted); max-width: 62ch; margin-top: 30px; }

/* ---------- References ---------- */
.references { padding-block: 52px; border-top: 1px solid var(--line-soft); }
.references > h2 { margin-bottom: 0.28em; }
.references > .lede { margin-bottom: 0; }
.case-carousel {
  position: relative;
  margin: 24px 0 18px;
  outline: none;
}
.case-viewport {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(5, 37, 6, 0.08);
}
.case-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 292px;
  animation: case-slide-in 240ms ease both;
}
.case-slide[hidden] { display: none; }
.case-video-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(66, 200, 26, 0.2), transparent 38%),
    linear-gradient(145deg, #103e11, #052506);
  color: var(--weiss);
  text-align: center;
}
.case-video-card::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(66, 200, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 200, 26, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}
.case-video-card > * { position: relative; z-index: 1; }
.case-video-kicker {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-video-play {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(66, 200, 26, 0.68);
  border-radius: 50%;
  background: var(--wachstums-gruen);
  color: var(--marken-gruen);
  box-shadow: 0 0 0 9px rgba(66, 200, 26, 0.08);
}
.case-video-play svg { width: 24px; height: 24px; }
.case-video-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
}
.case-video-card small { margin-top: 6px; color: rgba(255, 255, 255, 0.58); font-size: 0.75rem; }
.case-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 36px;
}
.case-slide-copy .section-kicker { margin-bottom: 0.7em; }
.case-slide-copy .case-number { margin-top: 0; font-size: 2.55rem; }
.case-slide-copy > p:last-child { max-width: 48ch; margin: 8px 0 0; color: var(--ink-muted); font-size: 0.86rem; }
.case-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--page-bg);
  color: var(--marken-gruen);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(5, 37, 6, 0.13);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.case-nav:hover,
.case-nav:focus-visible {
  background: var(--wachstums-gruen);
  color: var(--marken-gruen);
  transform: translateY(-50%) scale(1.06);
}
.case-nav svg { width: 22px; height: 22px; }
.case-nav--prev { left: -24px; }
.case-nav--next { right: -24px; }
.case-position {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.references-cta { margin-top: 0; }
@keyframes case-slide-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 760px) {
  .references { padding-block: 52px; }
  .case-slide { grid-template-columns: minmax(0, 1fr); }
  .case-video-card { min-height: 220px; }
  .case-slide-copy { padding: 28px 26px 52px; }
  .case-nav { width: 42px; height: 42px; }
  .case-nav--prev { left: 10px; }
  .case-nav--next { right: 10px; }
}
.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin: 44px 0 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-soft);
}
.case-feature--without-media {
  grid-template-columns: minmax(0, 760px);
}
.case-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--wachstums-gruen); margin: 0.2em 0 0; line-height: 1; }
.case-number--small { font-size: 2rem; }
.case-caption { font-weight: 700; margin-bottom: 0.6em; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.case-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 40px 0; }
.case-card { border-top: 2px solid var(--wachstums-gruen); padding-top: 16px; }
.case-card p:last-child { color: var(--ink-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-block: 88px; background: rgba(236, 235, 230, 0.42); border-top: 1px solid var(--line-soft); }
.timeline-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.timeline-list li { position: relative; padding-top: 8px; }
.timeline-when {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wachstums-gruen);
  margin-bottom: 0.6em;
  text-transform: uppercase;
}
.timeline-list li p:last-child { color: var(--ink-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Guarantee: die eine bewusste Farbfläche ---------- */
.guarantee {
  background: var(--marken-gruen);
  color: var(--weiss);
  padding-block: 96px;
  border-top: 1px solid var(--line-soft);
}
.guarantee-text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.28;
  max-width: 22ch;
  margin: 0 0 0.7em;
}
.guarantee-sub { font-size: 1rem; font-weight: 600; opacity: 0.82; max-width: 56ch; margin: 0; }
.guarantee-accent { color: var(--wachstums-gruen); }

/* ---------- People: echtes Teamfoto am Rödingsmarkt ---------- */
.people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 680px;
  padding-top: 300px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line-soft);
  color: var(--weiss);
  background-image:
    linear-gradient(180deg, rgba(5, 37, 6, 0.18) 0%, rgba(5, 37, 6, 0.28) 34%, rgba(5, 37, 6, 0.78) 61%, rgba(5, 37, 6, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 37, 6, 0.08) 0%, rgba(5, 37, 6, 0.22) 100%),
    url("../assets/team-roedingsmarkt.webp");
  background-position: center, center, center 32%;
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: padding-box;
}
.people--without-media { grid-template-columns: minmax(0, 840px); }
.people-copy { position: relative; z-index: 1; }
.people h2 { color: var(--weiss); }
.people-copy > p:not(.section-kicker) { color: rgba(255, 255, 255, 0.86); }
.people-names { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.68) !important; margin-top: 1.4em; }
.people .text-link { color: var(--wachstums-gruen); }

/* ---------- Industries ---------- */
.industries { position: relative; padding-block: 88px; background: rgba(236, 235, 230, 0.42); border-top: 1px solid var(--line-soft); }

/* Die beiden Punkte am Seitenanfang bleiben entfernt. Alle weiteren
   Kreuzungspunkte markieren wie zuvor die Abschnittsgrenzen. */
.ledger, .guarantee, .closing { position: relative; }

.partner::before, .partner::after,
.references::before, .ledger::before, .guarantee::before,
.timeline::before, .timeline::after,
.industries::before,
.people::before, .faq::before, .closing::before,
.site-footer::before,
.logo-strips-frame::before, .logo-strips-frame::after {
  content: "";
  display: none;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wachstums-gruen);
  box-shadow:
    1180px 0 0 0 var(--wachstums-gruen),
    0 0 0 7px var(--page-bg),
    1180px 0 0 7px var(--page-bg);
  z-index: 6;
  pointer-events: none;
}
.partner::before,
.references::before, .ledger::before, .guarantee::before,
.timeline::before,
.industries::before,
.people::before, .faq::before, .closing::before,
.site-footer::before,
.logo-strips-frame::before { top: 0; margin: -3px 0 0 -3px; }
.partner::after, .timeline::after, .logo-strips-frame::after { bottom: 0; margin: 0 0 -3px -3px; }
.partner::before, .partner::after,
.references::before, .ledger::before, .guarantee::before,
.timeline::before, .timeline::after,
.industries::before,
.people::before, .faq::before, .closing::before,
.site-footer::before {
  left: calc(50% - 590px);
}
.logo-strips-frame::before, .logo-strips-frame::after { left: 0; }

@media (min-width: 1200px) {
  .partner::before, .partner::after,
  .references::before, .ledger::before, .guarantee::before,
  .timeline::before, .timeline::after,
  .industries::before,
  .people::before, .faq::before, .closing::before,
  .site-footer::before,
  .logo-strips-frame::before, .logo-strips-frame::after { display: block; }
}
.industries-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 44px; }
.industry-panel .blueprint-frame { aspect-ratio: 4/3; margin-bottom: 18px; }
.industry-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.industry-panel-copy { min-width: 0; }
.industry-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(66, 200, 26, 0.12);
  color: var(--wachstums-gruen);
}
.industry-icon svg {
  width: 28px;
  height: 28px;
  animation: industry-icon-wiggle 2.6s ease-in-out infinite;
  transform-origin: center;
}
.industry-panel h3 { font-size: 1.35rem; margin: 0; }
.industry-panel p { color: var(--ink-muted); font-size: 0.94rem; }

@keyframes industry-icon-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-10deg) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .industry-icon svg { animation: none; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: 88px; max-width: 780px; border-top: 1px solid var(--line-soft); }
.accordion { margin-top: 40px; border-top: 1px solid var(--line-soft); }
.accordion details {
  border-bottom: 1px solid var(--line-soft);
  padding-block: 18px;
}
.accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--wachstums-gruen);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { content: "–"; }
.accordion details p { margin-top: 14px; color: var(--ink-muted); }

/* ---------- Closing ---------- */
.closing { padding-block: 96px; border-top: 1px solid var(--line-soft); }
.closing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.closing-grid--without-media { grid-template-columns: minmax(0, 800px); }
.closing-action { margin-top: 18px; }
.closing-calendar .blueprint-frame {
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.closing-calendar .blueprint-frame::after { position: absolute; bottom: 14px; left: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 76px 0 28px;
  background:
    radial-gradient(circle at 13% 12%, rgba(66, 200, 26, 0.1), transparent 28rem),
    var(--marken-gruen);
  color: var(--weiss);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(5, minmax(118px, 0.58fr));
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
  padding-bottom: 64px;
}
.footer-brand { max-width: 390px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--weiss);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-icon:hover { background: var(--wachstums-gruen); color: var(--marken-gruen); }
.social-icon svg { width: 17px; height: 17px; }
.footer-wordmark {
  display: inline-flex;
  margin-bottom: 24px;
}
.footer-wordmark img {
  display: block;
  width: min(286px, 100%);
  height: auto;
}
.footer-brand > p {
  max-width: 38ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.65;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--weiss);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-cta:hover {
  color: var(--wachstums-gruen);
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-column h2 {
  margin: 0 0 8px;
  color: var(--weiss);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}
.footer-column a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-column a:hover {
  color: var(--wachstums-gruen);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.46); text-decoration: none; }
.footer-legal a:hover { color: var(--wachstums-gruen); }
.map-credit a { color: inherit; }
.map-credit a:hover { color: var(--wachstums-gruen); }

/* ---------- Subpage-Bausteine ---------- */
.hero--single { grid-template-columns: minmax(0, 1fr); max-width: 800px; }

.breadcrumb {
  padding-top: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--wachstums-gruen); }

.compare-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; }
.compare-3-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.compare-3-card h3 { margin-bottom: 0.6em; text-transform: none; font-family: var(--font-body); font-size: 1.05rem; }
.compare-3-card p { color: var(--ink-muted); font-size: 0.93rem; margin: 0; }
.compare-3-card--marked {
  background: linear-gradient(145deg, rgba(66, 200, 26, 0.1), transparent 48%), var(--flaechen-gruen);
  border-color: var(--flaechen-gruen);
}
.compare-3-card--marked h3 { color: var(--weiss); }
.compare-3-card--marked p { color: rgba(255, 255, 255, 0.72); }
.compare-3-card--muted {
  background: linear-gradient(145deg, rgba(193, 98, 44, 0.08), transparent 48%), #fff4f0;
  border-color: rgba(193, 77, 54, 0.28);
  box-shadow: inset 0 0 0 1px rgba(193, 77, 54, 0.28);
}
.compare-3-card--muted h3 { color: #a64336; }
.compare-3-card--muted p { color: rgba(120, 47, 38, 0.72); }

.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; }
.channel-card {
  border-top: 2px solid var(--wachstums-gruen);
  padding-top: 18px;
}
.channel-card h3 { text-transform: none; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 0.5em; }
.channel-card p { color: var(--ink-muted); font-size: 0.93rem; margin: 0; }

.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 44px 0; }
.module-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.module-card h3 { margin-bottom: 0.5em; text-transform: none; font-family: var(--font-body); font-size: 1.05rem; }
.module-card p { color: var(--ink-muted); font-size: 0.94rem; margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 8px; }
.filter-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  border: 1px solid rgba(17,20,17,0.22);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
}
.filter-btn.is-active, .filter-btn:hover { background: var(--wachstums-gruen); color: var(--marken-gruen); border-color: var(--wachstums-gruen); }

.case-detail-grid { display: grid; gap: 24px; margin: 40px 0; }
.case-detail {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}
.case-detail-steps { display: grid; gap: 14px; }
.case-detail-steps div { font-size: 0.9rem; }
.case-detail-steps dt { font-weight: 700; color: var(--wachstums-gruen); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3em; }
.case-detail-steps dd { margin: 0; color: var(--ink-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 44px 0; }
.team-card p { margin: 0.6em 0 0; font-weight: 700; font-size: 0.92rem; }
.team-card p + p { font-weight: 400; color: var(--ink-muted); font-size: 0.85rem; margin-top: 0.2em; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; }
.values-grid .card h3 { text-transform: none; font-family: var(--font-body); font-size: 1.02rem; }

.booking-page { padding-block: 64px 96px; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.booking-steps { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 16px; counter-reset: step; }
.booking-steps li { padding-left: 34px; position: relative; font-size: 0.95rem; color: var(--ink-muted); }
.booking-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--wachstums-gruen);
  color: var(--marken-gruen);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px 56px; }
  .card-row, .systems-grid { grid-template-columns: minmax(0, 1fr); }
  .systems-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .systems-heading > p { max-width: 60ch; }
  .system-card--animated { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); }
  .system-visual { border-right: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 0; }
  .system-card-copy { min-height: 300px; }
  .partner-heading { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .partner-heading .lede { max-width: 60ch; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .partner-promise { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .partner-grid, .people { grid-template-columns: minmax(0, 1fr); }
  .ledger-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .ledger-entry:nth-child(2) { border-right: none; }
  .case-feature { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .timeline-list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .industries-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
  .main-nav { display: none; }
  .compare-3, .channels-grid, .module-grid, .team-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .case-detail { grid-template-columns: minmax(0, 1fr); }
  .booking-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .people {
    min-height: auto;
    padding-top: clamp(260px, 70vw, 320px);
    padding-bottom: 58px;
    background-image:
      linear-gradient(180deg, rgba(5, 37, 6, 0.12) 0%, rgba(5, 37, 6, 0.24) 24%, rgba(5, 37, 6, 0.88) 40%, #052506 54%, #052506 100%),
      url("../assets/team-roedingsmarkt.webp");
    background-position: center, center top;
    background-size: 100% 100%, 100% auto;
  }
  .partner--home { padding-block: 76px; }
  .partner-heading { margin-bottom: 32px; }
  .partner-heading h2 { font-size: clamp(1.75rem, 9vw, 2.45rem); }
  .compare { padding: 6px; gap: 6px; border-radius: 17px; }
  .compare-col { padding: 28px 20px 18px; }
  .compare-col li { min-height: 74px; }
  .partner-promise { margin-top: 8px; padding: 30px 22px; }
  .promise-facts { grid-template-columns: minmax(0, 1fr); }
  .promise-facts > div { min-height: auto; padding: 18px 0; border-top: 1px solid rgba(5, 37, 6, 0.12); border-left: 0; }
  .systems--home { padding-block: 78px; }
  .systems-heading h2 { font-size: clamp(1.75rem, 9vw, 2.45rem); }
  .systems-grid--animated { margin-top: 34px; }
  .system-card--animated { display: flex; }
  .system-visual { min-height: 245px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .system-card-copy { min-height: 0; padding: 24px 22px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline-list { grid-template-columns: minmax(0, 1fr); }
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-top: 58px; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; padding-bottom: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-wordmark img { width: 238px; }
  .compare-3, .channels-grid, .module-grid, .team-grid, .values-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Wiederverwendbarer heller Ton für Sections auf Unterseiten (Leistungen etc.),
   damit die Karte im Hintergrund wie auf der Startseite sichtbar bleibt.
   Gleicher Farbwert wie .partner--home / .systems--home / .timeline auf index.html.
   Steht bewusst am Dateiende, damit er unabhängig von der Selektor-Spezifität
   der jeweiligen Section-Basisklasse gewinnt. */
.section-tint { background: rgba(236, 235, 230, 0.42); }

/* Strategiegespräch-CTAs: ruhige Dauerbewegung plus deutlicher Hover. */
a.btn[href="strategiegespraech.html"]{animation:strategy-cta-pulse 3.2s ease-in-out infinite;box-shadow:0 0 0 0 rgba(66,200,26,.38);will-change:transform,box-shadow}
a.btn[href="strategiegespraech.html"]:hover{animation:none;transform:translateY(-3px) scale(1.025);box-shadow:0 10px 26px rgba(66,200,26,.38)}
@keyframes strategy-cta-pulse{0%,100%{transform:translateY(0);box-shadow:0 0 0 0 rgba(66,200,26,.35)}50%{transform:translateY(-2px);box-shadow:0 0 0 8px rgba(66,200,26,0)}}
@media(prefers-reduced-motion:reduce){a.btn[href="strategiegespraech.html"]{animation:none}}
