/* ==========================================================================
   FINOPTECH – Design System
   Stil: moderne Editorial-Landingpage (Navy-Hero, Cream-Sektionen,
   farbige Akzentwörter), Farben gemäß FINOPTECH Corporate Identity.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (selbst gehostet)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* FINOPTECH CI */
  --navy: #1a3b63;
  --blue: #5e90cf;
  --ice: #dce7f4;
  --green: #6ba42c;
  --green-dark: #3b7d23;
  --red: #e14b4b;
  --red-dark: #a20306;
  --gray: #808080;
  --gray-light: #d9d9d9;

  /* Abgeleitete Flächen */
  --navy-deep: #142f50;
  --blue-deep: #3f6ea8;
  --cream: #f5f8fc;
  --mist: #edf2f9;
  --card: #ffffff;

  /* Text */
  --ink: #16304f;
  --ink-soft: rgba(22, 48, 79, 0.62);
  --ink-faint: rgba(22, 48, 79, 0.45);
  --ink-read: rgba(22, 48, 79, 0.84);
  --white-soft: rgba(255, 255, 255, 0.66);
  --white-faint: rgba(255, 255, 255, 0.42);

  /* Linien */
  --line: rgba(26, 59, 99, 0.14);
  --line-strong: rgba(26, 59, 99, 0.22);
  --line-inverse: rgba(255, 255, 255, 0.12);

  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;

  --font-sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --header-height: 5rem;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

/* Akzentwörter: gleiche Schrift wie die Umgebung, nur farblich abgesetzt */
.serif {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Layout-Hilfen
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

.content-container,
.landing-shell,
.product-overview-container {
  max-width: 76rem;
}

.eyebrow,
.landing-band-label,
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
}

/* Eyebrow auf dunklen Flächen */
.on-dark .eyebrow,
.landing-hero .eyebrow,
.page-hero .eyebrow,
.team-section .eyebrow,
.product-hero .eyebrow {
  color: #a7c6e8;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.landing-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 3rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.landing-button-primary {
  background: var(--navy);
  color: #ffffff;
}

.landing-button-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.landing-button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.landing-button-secondary:hover {
  border-color: var(--navy);
}

/* Varianten auf dunklen Flächen */
.landing-hero .landing-button-primary,
.landing-cta .landing-button-primary {
  background: #ffffff;
  color: var(--navy);
}

.landing-hero .landing-button-primary:hover,
.landing-cta .landing-button-primary:hover {
  background: var(--ice);
}

.landing-hero .landing-button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.landing-hero .landing-button-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.landing-button .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.landing-button:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 47, 80, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-inverse);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

.logo img {
  height: 2.1rem;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav > a,
.nav-item > a {
  white-space: nowrap;
  color: var(--white-soft);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.4rem 0;
}

.main-nav > a:hover,
.nav-item > a:hover,
.main-nav > a.active,
.nav-item > a.active,
.nav-item > a.nav-parent-active {
  color: #ffffff;
}

.main-nav > a.active,
.nav-item > a.active,
.nav-item > a.nav-parent-active {
  position: relative;
}

.main-nav > a.active::after,
.nav-item > a.active::after,
.nav-item > a.nav-parent-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 16rem;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 24px 48px -16px rgba(20, 47, 80, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.8rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  padding: 0.6rem 0.9rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown a:hover {
  background: var(--ice);
  color: var(--navy);
}

.dropdown a.active {
  background: var(--ice);
  color: var(--navy);
  font-weight: 650;
}

/* Mobile-Navigation */
.nav-toggle-btn {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-icon {
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger-icon::before {
  top: -7px;
}

.hamburger-icon::after {
  top: 7px;
}

.nav-toggle-btn[aria-expanded="true"] .hamburger-icon {
  background: transparent;
}

.nav-toggle-btn[aria-expanded="true"] .hamburger-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-btn[aria-expanded="true"] .hamburger-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 940px) {
  .nav-toggle-btn {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line-inverse);
    box-shadow: 0 32px 48px -24px rgba(0, 0, 0, 0.5);
  }

  .main-nav.open > a,
  .main-nav.open .nav-item > a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-inverse);
    font-size: 1rem;
  }

  .main-nav.open > a.active::after {
    display: none;
  }

  .main-nav.open .nav-item > a.nav-parent-active::after {
    display: none;
  }

  .main-nav.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0.25rem 0 0.5rem 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .main-nav.open .dropdown a {
    color: var(--white-soft);
    padding: 0.5rem 0;
  }

  .main-nav.open .dropdown a:hover {
    background: transparent;
    color: #ffffff;
  }

  .main-nav.open .dropdown a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
}

/* --------------------------------------------------------------------------
   Landing: Hero
   -------------------------------------------------------------------------- */
.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
}

.landing-hero::before {
  /* feines Raster */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  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: 74px 74px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.landing-hero::after {
  /* weiche Farbflächen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38rem 38rem at 108% -18%, rgba(94, 144, 207, 0.28), transparent 66%),
    radial-gradient(42rem 42rem at -12% 118%, rgba(107, 164, 44, 0.14), transparent 66%);
}

.landing-hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .landing-hero {
    padding: 7rem 0 5.5rem;
  }

  .landing-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 4rem;
  }
}

.landing-intro .eyebrow {
  margin-bottom: 2rem;
}

.landing-intro h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  font-weight: 520;
  line-height: 0.97;
  letter-spacing: -0.045em;
  max-width: 14em;
}

.landing-intro h1 .serif {
  display: block;
  color: #9cc3f0;
}

.landing-lead {
  margin-top: 2rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--white-soft);
}

.landing-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Team-Sektion: FINOPTECH in drei Bausteinen als Erläuterung unter Headline und Foto */
.landing-frame {
  position: relative;
  width: 100%;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.landing-frame-label {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.landing-frame-stack {
  display: grid;
  gap: 0 clamp(2rem, 4vw, 3.5rem);
}

.landing-frame-card {
  min-width: 0;
  padding: 1.75rem 0 0;
}

.landing-frame-code {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.landing-frame-card:nth-child(2) .landing-frame-code {
  color: #9cc3f0;
}

.landing-frame-card:nth-child(3) .landing-frame-code {
  color: #9bc966;
}

.landing-frame-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.landing-frame-card p {
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 880px) {
  .landing-frame-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Landing: Band (Wofür / Wie / Was) – Teil des Heros
   -------------------------------------------------------------------------- */
.landing-band {
  background: var(--navy);
  color: #ffffff;
  padding: 0 0 3.5rem;
}

.landing-band-grid {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--line-inverse);
  padding-top: 2.25rem;
}

@media (min-width: 768px) {
  .landing-band-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.landing-band-label {
  color: var(--white-faint);
  margin-bottom: 0.6rem;
  letter-spacing: 0.14em;
}

.landing-band-cell p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--white-soft);
  max-width: 20rem;
}

/* --------------------------------------------------------------------------
   Landing: Sektionen
   -------------------------------------------------------------------------- */
.landing-section {
  padding: 5.5rem 0;
}

@media (min-width: 1024px) {
  .landing-section {
    padding: 7rem 0;
  }
}

.landing-section-alt {
  background: #ffffff;
}

.landing-section-head h2,
.landing-method-copy h2,
.landing-cta h2,
.team-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 530;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 22em;
}

.landing-section-head {
  max-width: 44rem;
}

.landing-section-head > p:not(.eyebrow) {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Lösungen: drei Karten im Raster mit 1px-Fugen */
.landing-services {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (min-width: 860px) {
  .landing-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.landing-service {
  background: var(--cream);
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease;
}

.landing-service:hover {
  background: #ffffff;
}

.landing-service-index {
  font-size: 1.35rem;
  color: var(--blue);
}

.landing-service h3 {
  margin-top: 2.4rem;
  font-size: 1.3rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.landing-service p {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

.landing-service a {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 620;
  color: var(--navy);
  text-decoration: none;
}

.landing-service a::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.landing-service a:hover::after {
  transform: translateX(4px);
  background: var(--blue-deep);
}

/* Arbeitsweise */
.landing-method {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .landing-method {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 5.5rem;
  }
}

.landing-method-copy > p:not(.eyebrow) {
  margin-top: 1.5rem;
  max-width: 26rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.landing-steps {
  border-top: 1px solid var(--line-strong);
  counter-reset: step;
}

.landing-step {
  counter-increment: step;
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-strong);
}

@media (min-width: 640px) {
  .landing-step {
    grid-template-columns: 4rem 1fr 1.6fr;
    gap: 1.75rem;
    align-items: start;
  }
}

.landing-step::before {
  content: "0" counter(step);
  font-size: 1.3rem;
  color: var(--blue);
  line-height: 1.3;
}

.landing-step span {
  font-size: 1.1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.landing-step p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Landing: Lösungen im Detail
   -------------------------------------------------------------------------- */
.solution-detail + .solution-detail {
  margin-top: 5rem;
}

.solution-detail-head {
  margin-bottom: 2rem;
}

.solution-detail-head h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 540;
  letter-spacing: -0.035em;
}

/* --------------------------------------------------------------------------
   Landing: Team (dunkle Sektion)
   -------------------------------------------------------------------------- */
.team-section {
  background: var(--navy);
  color: #ffffff;
}

.team-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .team-head {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: end;
  }
}

.team-head p:not(.eyebrow) {
  color: var(--white-soft);
  line-height: 1.75;
  font-size: 0.98rem;
}

.team-photo {
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--line-inverse);
}

.team-photo picture {
  display: block;
  height: 100%;
}

.team-photo img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Landing: Leitsatz (Kachel Geschäftsführer)
   -------------------------------------------------------------------------- */
.quote-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-2xl);
  background: var(--ice);
  color: var(--navy);
  display: grid;
}

@media (min-width: 768px) {
  .quote-card {
    grid-template-columns: minmax(15rem, 19rem) 1fr;
    align-items: stretch;
  }
}

.quote-card::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 59, 99, 0.16);
  pointer-events: none;
}

.quote-portrait {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 768px) {
  .quote-portrait {
    aspect-ratio: auto;
    min-height: 19rem;
  }
}

.quote-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.quote-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .quote-body {
    padding: 2.75rem 3rem;
  }
}

.quote-text {
  margin: 0;
  max-width: 32em;
  background: transparent;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.quote-attribution {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 59, 99, 0.55);
}

/* --------------------------------------------------------------------------
   Landing: CTA
   -------------------------------------------------------------------------- */
.landing-cta-section {
  background: linear-gradient(130deg, var(--blue-deep), var(--blue));
  color: #ffffff;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .landing-cta-section {
    padding: 6rem 0;
  }
}

.landing-cta {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .landing-cta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
  }
}

.landing-cta .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.landing-cta h2 {
  max-width: 18em;
}

.landing-cta-button {
  margin-top: 2.25rem;
}

.cta-contact {
  flex: none;
  align-self: flex-start;
  min-width: 17rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .cta-contact {
    align-self: flex-end;
  }
}

.cta-contact p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-contact p:last-child {
  margin-bottom: 0;
}

.cta-contact-name {
  font-weight: 650;
  color: #ffffff;
}

.cta-contact a {
  color: #ffffff;
  font-weight: 550;
  text-decoration: none;
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Unterseiten: Hero
   -------------------------------------------------------------------------- */
.page-shell,
.legal-shell {
  background: var(--cream);
}

.page-hero,
.product-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
}

.page-hero::before,
.product-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  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: 74px 74px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.page-hero::after,
.product-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(36rem 36rem at 106% -20%, rgba(94, 144, 207, 0.26), transparent 66%);
}

.page-hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 4rem;
    align-items: end;
  }
}

.page-hero h1,
.product-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-lead,
.product-hero-lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--white-soft);
}

/* Schwerpunkte im Hero: schlichte Textzeile mit Trennpunkten, keine Buttons */
.hero-tags,
.product-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  max-width: 36rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-tags span:not(:first-child)::before,
.product-hero-points span:not(:first-child)::before {
  content: "·";
  margin-right: 0.6rem;
}

/* --------------------------------------------------------------------------
   Unterseiten: Inhalt
   -------------------------------------------------------------------------- */
.detail-section {
  padding: 4.5rem 0 5.5rem;
}

.surface-panel,
.legal-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .surface-panel,
  .legal-panel {
    padding: 3rem;
  }
}

.content-panel h2,
.legal-panel h2 {
  font-size: 1.45rem;
  font-weight: 620;
  letter-spacing: -0.025em;
  margin: 2.5rem 0 1rem;
}

.content-panel h3,
.legal-panel h3 {
  font-size: 1.1rem;
  font-weight: 620;
  margin: 2rem 0 0.75rem;
}

.content-panel > h2:first-child,
.legal-panel > h2:first-child {
  margin-top: 0;
}

.content-panel p,
.legal-panel p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.content-panel p strong,
.legal-panel p strong {
  color: var(--ink);
}

.content-panel ul,
.legal-panel ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.content-panel li,
.legal-panel li {
  margin-bottom: 0.5rem;
}

.content-panel li::marker {
  color: var(--blue);
}

.content-panel a,
.legal-panel a {
  color: var(--blue-deep);
  text-decoration-color: rgba(94, 144, 207, 0.4);
  text-underline-offset: 3px;
}

.content-panel a:hover,
.legal-panel a:hover {
  color: var(--navy);
}

/* Zweispalter: Text + Seitenkarten */
.copy-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .copy-grid {
    grid-template-columns: 1.65fr 0.85fr;
    gap: 2rem;
    align-items: start;
  }
}

.copy-aside {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .copy-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }
}

.info-card {
  background: var(--ice);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--navy);
}

.info-card h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 59, 99, 0.55);
  margin: 0 0 0.9rem;
}

.info-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(26, 59, 99, 0.8);
  margin: 0;
}

.info-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(26, 59, 99, 0.8);
}

.info-card li {
  margin-bottom: 0.4rem;
}

.info-card li::marker {
  color: var(--blue-deep);
}

/* Modul-Blöcke (Produktseiten) */
.module-block {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.module-block-head {
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.module-list {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Produktübersicht
   -------------------------------------------------------------------------- */
.product-overview {
  padding-bottom: 5.5rem;
}

.product-hero {
  max-width: 46rem;
}

.product-hero-points {
  margin-top: 2rem;
}

.product-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 2rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 56px -24px rgba(0, 0, 0, 0.45);
}

.product-card-accent {
  background: var(--ice);
}

.product-kicker {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.75rem;
}

.product-card h2 {
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.product-card h2 a {
  color: inherit;
  text-decoration: none;
}

.product-card h2 a::after {
  content: " →";
  color: var(--blue-deep);
}

.product-card h2 a:hover {
  color: var(--blue-deep);
}

.product-copy {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

.product-highlight {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.contact-box p {
  margin-bottom: 1rem;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: 1.25rem;
}

.contact-action {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.contact-action h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.5rem;
}

.contact-action p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-action a {
  color: var(--blue-deep);
  font-weight: 550;
  text-decoration: none;
}

.contact-action a:hover {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Rechtsseiten
   -------------------------------------------------------------------------- */
.legal-panel {
  max-width: 52rem;
}

.legal-panel .index {
  list-style: none;
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.legal-panel .index li {
  margin: 0.35rem 0;
}

.index-link {
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 0.92rem;
}

.index-link:hover {
  text-decoration: underline;
}

.legal-panel .glossary li,
.legal-panel .m-elements li {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-inverse);
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
    gap: 3rem;
  }
}

.footer-logo img {
  height: 2rem;
  width: auto;
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--white-faint);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-column h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin: 0 0 0.5rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--white-soft);
  text-decoration: none;
  transition: color 0.15s ease;
  width: fit-content;
}

.footer-column a:hover {
  color: #ffffff;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mail-icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--white-faint);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Reduzierte Bewegung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Homepage 2026 — kompakte Positionierung
   ========================================================================== */
.home-page {
  --home-ink: #102b4d;
  --home-blue: #79aee8;
  --home-lime: #8fbe4b;
  background: #f7f9fc;
}

.home-page .site-header {
  background: rgba(16, 43, 77, 0.94);
}

.home-page .landing-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.home-page .section-intro h2,
.home-page .approach-heading h2,
.home-page .team-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 540;
}

/* Hero */
.home-hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
}

.home-hero::before {
  background-size: 64px 64px;
  opacity: 0.72;
}

.home-hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero .landing-intro h1 {
  max-width: 10.5em;
  font-size: clamp(3.2rem, 7.2vw, 6.4rem);
  line-height: 0.93;
}

.home-hero .landing-lead {
  max-width: 39rem;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-audience {
  margin-top: 2rem;
  max-width: 36rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.home-hero-grid {
  gap: clamp(3rem, 5vw, 4.5rem);
}

/* Semantische Hero-Abbildung */
.decision-map {
  position: relative;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(8, 31, 60, 0.48);
  box-shadow: 0 2rem 5rem rgba(3, 20, 41, 0.28);
  overflow: hidden;
}

.decision-map::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 25%;
  height: 70%;
  background: radial-gradient(circle, rgba(121, 174, 232, 0.22), transparent 65%);
  pointer-events: none;
}

.decision-map-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.15rem 0.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-map-title strong {
  max-width: 12rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  text-align: right;
}

.decision-map-flow {
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.decision-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.decision-inputs span {
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  padding: 0.7rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: center;
}

.decision-engine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.13);
}

.decision-engine span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 5rem;
  background: rgba(11, 37, 69, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.13em;
}

.decision-engine span::before,
.decision-engine span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--home-blue);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0.32rem rgba(121, 174, 232, 0.1);
}

.decision-engine span::before {
  left: 0.65rem;
}

.decision-engine span::after {
  right: 0.65rem;
}

.decision-engine span:nth-child(2)::before,
.decision-engine span:nth-child(2)::after {
  background: #fff;
}

.decision-engine span:nth-child(3)::before,
.decision-engine span:nth-child(3)::after {
  background: var(--home-lime);
}

.decision-output {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #f5f9fe;
  color: var(--home-ink);
}

.decision-check {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.decision-output small,
.decision-output strong {
  display: block;
}

.decision-output small {
  margin-bottom: 0.12rem;
  color: var(--ink-faint);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.decision-output strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.decision-signals {
  position: relative;
  z-index: 1;
  height: 4.6rem;
  margin-top: 0.7rem;
  display: flex;
  align-items: flex-end;
  gap: 0.38rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
}

.decision-signals span {
  flex: 1;
  height: var(--signal);
  min-height: 0.35rem;
  border-radius: 999px 999px 0.15rem 0.15rem;
  background: linear-gradient(to top, rgba(121, 174, 232, 0.25), var(--home-blue));
}

/* USP */
.usp-section {
  background: #f7f9fc;
}

.split-intro {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.split-intro > p {
  max-width: 29rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.usp-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
}

.usp-card {
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.usp-number,
.solution-index {
  color: var(--blue-deep);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.usp-card h3 {
  max-width: 10em;
  margin-top: 1.3rem;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
}

.usp-card p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.usp-proof {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--green-dark);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

@media (min-width: 820px) {
  .split-intro {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 5rem;
  }

  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Lösungen mit eigens entwickelten Datenabbildungen */
.solutions-section {
  background: #fff;
}

.solutions-intro {
  margin-bottom: 3.5rem;
}

.solution-list {
  border-top: 1px solid var(--line-strong);
}

.solution-row {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: center;
}

.solution-visual {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--navy);
  background-size: 44px 44px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.solution-copy {
  max-width: 29rem;
}

.solution-copy h3 {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 540;
  line-height: 1.02;
}

.solution-copy > p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.solution-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}

.solution-result span {
  color: var(--ink-faint);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-result strong {
  font-size: 0.92rem;
  font-weight: 650;
  text-align: right;
}

.solution-copy > a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.solution-copy > a span,
.text-link span {
  transition: transform 0.2s ease;
}

.solution-copy > a:hover span,
.text-link:hover span {
  transform: translateX(0.25rem);
}

@media (min-width: 900px) {
  .solution-row {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: clamp(3rem, 8vw, 7rem);
  }

  .solution-row-reverse .solution-visual {
    order: 2;
  }

  .solution-row-reverse .solution-copy {
    order: 1;
  }
}

/* ALM-Visual */
.solution-visual-alm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.alm-mode-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.alm-mode-row span {
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alm-mode-row span:last-child {
  border-color: rgba(143, 190, 75, 0.5);
  color: #a9d477;
}

.alm-chart {
  width: 100%;
  height: auto;
}

.alm-outcome small {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alm-outcome {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #f4f8fc;
  box-shadow: 0 1rem 2.5rem -1.8rem rgba(0, 0, 0, 0.65);
}

.alm-outcome > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
}

.alm-outcome small {
  color: var(--ink-faint);
}

.alm-outcome strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--navy);
  font-size: 0.92rem;
}


/* Szenario-Visual: Fächerchart */
.solution-visual-scenario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  min-height: 22rem;
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.esg-head {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.esg-chip {
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.esg-chip-accent {
  border-color: rgba(143, 190, 75, 0.5);
  color: #a9d477;
}

.esg-chart {
  width: 100%;
  height: auto;
}

.esg-label,
.esg-axis {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Auf kleinen Screens skalieren die SVGs stark herunter –
   größere SVG-Schrift hält die Labels lesbar */
@media (max-width: 640px) {
  .esg-label,
  .esg-axis {
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

.esg-label-chance {
  fill: #a9d477;
}

.esg-label-real {
  fill: #9cc3f0;
}

.esg-label-mid {
  fill: rgba(255, 255, 255, 0.75);
}

.esg-label-stress {
  fill: #f09090;
}

.esg-axis {
  fill: rgba(255, 255, 255, 0.42);
}

.esg-legend {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

/* Risiko-Visual: Report-Cockpit */
.solution-visual-risk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.risk-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.risk-head small {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-head strong {
  display: block;
  margin-top: 0.3rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.risk-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(143, 190, 75, 0.5);
  border-radius: 999px;
  color: #a9d477;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-status::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #8fbe4b;
}

.ctrl-chart {
  width: 100%;
  height: auto;
}

.risk-outcome {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #f4f8fc;
  box-shadow: 0 1rem 2.5rem -1.8rem rgba(0, 0, 0, 0.65);
}

.risk-outcome > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
}

.risk-outcome small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-outcome strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--navy);
  font-size: 0.92rem;
}

/* Vorgehen */
.approach-section {
  background: var(--ice);
}

.approach-grid {
  display: grid;
  gap: 3rem;
}

.approach-heading > h2 + p {
  margin-top: 1.4rem;
  color: var(--ink-soft);
}

.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.approach-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.approach-steps li > span {
  color: var(--blue-deep);
  font-size: 1.2rem;
}

.approach-steps strong {
  font-size: 1.05rem;
}

.approach-steps p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .approach-grid {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 7rem;
    align-items: start;
  }
}

/* Team */
.home-team-section {
  background: var(--navy);
}

.team-showcase {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.team-copy h2 {
  max-width: 12em;
}

.team-copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: var(--white-soft);
}

.team-copy .text-link {
  color: #fff;
}

.home-team-photo {
  min-height: 19rem;
  border-radius: 1.5rem;
}

.home-team-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

@media (min-width: 940px) {
  .team-showcase {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
  }
}

/* Kontakt */
.home-contact {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(40rem 30rem at 100% 0, rgba(255, 255, 255, 0.13), transparent 68%),
    linear-gradient(125deg, var(--blue-deep), var(--blue));
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.home-contact h2 {
  max-width: 15em;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-contact h2 .serif {
  color: #fff;
}

.home-contact-card {
  width: 100%;
  max-width: 29rem;
  padding: clamp(1.8rem, 4vw, 2.7rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: rgba(8, 35, 65, 0.92);
  box-shadow: 0 28px 64px -34px rgba(0, 14, 31, 0.65);
}

.home-contact-card > small {
  display: block;
  color: #9bc966;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-contact-card > p {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.65;
}

.home-contact-card .landing-button {
  margin-top: 1.7rem;
  background: #ffffff;
  color: var(--navy);
}

.home-contact-card .landing-button:hover {
  background: var(--ice);
  color: var(--navy-deep);
}

.home-contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

.home-contact-meta a,
.home-contact-meta span {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.home-contact-meta a:hover {
  color: #ffffff;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
  }

  .home-contact-card {
    justify-self: end;
  }
}

/* Kompakter Footer */
.home-footer {
  padding: 2.6rem 0;
}

.footer-compact {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.home-footer .footer-brand p {
  margin-top: 0.65rem;
  color: var(--white-faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
}

.footer-links a {
  color: var(--white-soft);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  color: var(--white-faint);
  font-size: 0.78rem;
}

@media (min-width: 840px) {
  .footer-compact {
    grid-template-columns: 1fr auto auto;
    gap: 2.5rem;
  }

  .footer-copyright {
    text-align: right;
  }
}

@media (max-width: 620px) {
  .home-hero {
    min-height: auto;
  }

  .decision-map {
    padding: 0.85rem;
    border-radius: 1.25rem;
  }

  .decision-map-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-map-title strong {
    text-align: left;
  }

  .decision-inputs span {
    min-height: 4.8rem;
    padding-inline: 0.35rem;
    font-size: 0.6rem;
  }

  .decision-engine span {
    min-height: 4.25rem;
    font-size: 0.68rem;
  }

  .decision-engine span::before,
  .decision-engine span::after {
    display: none;
  }

  .solution-visual {
    min-height: 17rem;
  }

  .solution-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .solution-result strong {
    text-align: left;
  }

  .home-team-photo {
    min-height: 14rem;
  }
}

/* ==========================================================================
   Lösungsseiten 2026 — kompakte Beratungserzählung & Quantilgrafiken
   ========================================================================== */
.solution-page-hero {
  padding: clamp(4.25rem, 7vw, 6.5rem) 0;
}

.solution-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Produktseiten: Hero füllt wie auf der Startseite die erste Bildschirmseite */
.solution-page-hero:has(.solution-hero-grid) {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
}

.solution-page-hero .page-hero-copy {
  max-width: 42rem;
}

.solution-page-hero h1 {
  font-size: clamp(2.7rem, 3.8vw, 4.2rem);
  line-height: 0.98;
}

.solution-page-hero .hero-tags {
  margin-top: 2rem;
}

@media (min-width: 1040px) {
  .solution-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(31rem, 1.14fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.solution-chart {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 2rem 5rem rgba(5, 24, 46, 0.26);
}

.solution-chart-dark {
  padding: 1.35rem 1.35rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 30, 57, 0.56);
}

.solution-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.1rem 0.15rem 1rem;
}

.solution-chart-head span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.solution-chart-head strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.solution-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
}

.chart-band {
  stroke: none;
}

.chart-band-outer {
  fill: rgba(94, 144, 207, 0.16);
}

.chart-band-inner {
  fill: rgba(94, 144, 207, 0.26);
}

.chart-quantile,
.chart-quantile-boundary,
.chart-quantile-inner,
.chart-target,
.chart-path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.chart-quantile {
  stroke: #e7f1fc;
  stroke-width: 2.8;
}

.chart-quantile-boundary {
  stroke: rgba(121, 174, 232, 0.72);
  stroke-width: 1.35;
}

.chart-quantile-inner {
  stroke: rgba(185, 215, 246, 0.68);
  stroke-width: 1.25;
  stroke-dasharray: 5 5;
}

.chart-target {
  stroke: #8fbe4b;
  stroke-width: 3.1;
}

.chart-target-dot {
  fill: #8fbe4b;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
}

.chart-path {
  stroke-width: 1.25;
  opacity: 0.55;
}

.chart-path-a { stroke: #82b8ee; }
.chart-path-b { stroke: #f4f8fc; }
.chart-path-c { stroke: #8fbe4b; }

.chart-axis-labels {
  fill: rgba(255, 255, 255, 0.36);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.chart-line-labels {
  fill: rgba(255, 255, 255, 0.64);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 650;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1rem;
  padding: 0.4rem 0.2rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.chart-legend span::before {
  content: "";
  width: 1.5rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #e7f1fc;
}

.chart-legend .legend-band::before { height: 0.55rem; background: rgba(94, 144, 207, 0.35); }
.chart-legend .legend-inner::before { height: 0.55rem; background: rgba(94, 144, 207, 0.58); }
.chart-legend .legend-target::before { background: #8fbe4b; }

.solution-story {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: #f7f9fc;
}

/* Abschnitte der Produktseiten wechseln als Vollbreiten-Bänder zwischen Hellgrau und Weiß */
.solution-story-alt {
  background: #fff;
}

.solution-promise {
  display: grid;
  gap: 1.2rem;
  max-width: 61rem;
}

.eyebrow-blue {
  color: var(--blue-deep);
}

.solution-promise h2,
.solution-outcome-grid h2 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.solution-promise > p:last-child {
  max-width: 43rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.solution-step-grid,
.scenario-layer-grid,
.report-module-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.solution-step-card,
.scenario-layer-grid article,
.report-module-grid article {
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.solution-step-card > span,
.scenario-layer-grid article > span,
.report-module-index {
  color: var(--blue-deep);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-step-card h3,
.scenario-layer-grid h3,
.report-module-grid h3 {
  margin: 1.3rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.solution-step-card p,
.scenario-layer-grid p,
.report-module-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.solution-outcome-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.solution-outcome-grid .eyebrow {
  margin-bottom: 1.1rem;
}

.solution-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.solution-check-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 2rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.solution-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

@media (min-width: 780px) {
  .solution-step-grid,
  .scenario-layer-grid,
  .report-module-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-outcome-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

/* Reporting-Visual — aus der Controlling-Logik abstrahiert */
.solution-chart-report {
  padding: 1.3rem 1.3rem 1.1rem;
  background: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.solution-chart-report .solution-chart-head span { color: var(--ink-faint); }
.solution-chart-report .solution-chart-head strong { color: var(--ink); }
.chart-grid-light path { stroke: rgba(26, 59, 99, 0.11); }

/* Controlling-Karte im Hero: Korridor-Grafik + Ergebniszeile */
.solution-chart-ctrl .risk-outcome {
  margin-top: 0.6rem;
}

.report-module-grid h3 {
  margin-top: 1.5rem;
}

@media (max-width: 620px) {
  .solution-chart-dark,
  .solution-chart-report {
    padding: 0.85rem;
    border-radius: 1.2rem;
  }

  .solution-chart-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .chart-legend {
    justify-content: flex-start;
  }
}

/* Makroökonomische Pfade */
.scenario-chart-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.3rem;
}

.macro-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.macro-lines path {
  fill: none;
  stroke: rgba(121, 174, 232, 0.48);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.macro-lines path:nth-child(2),
.macro-lines path:nth-child(4) {
  stroke: rgba(143, 190, 75, 0.44);
}

.macro-lines .macro-line-central {
  stroke: #f4f8fc;
  stroke-width: 2.5;
}

.macro-panel-label,
.macro-axis-labels {
  font-family: var(--font-sans);
}

.macro-panel-label {
  fill: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 650;
}

.macro-axis-labels {
  fill: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.scenario-access-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
}

.scenario-access-grid article {
  min-width: 0;
}

.scenario-access-grid article > span {
  color: var(--blue-deep);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scenario-access-grid h3 {
  margin: 1.3rem 0 0.8rem;
  max-width: 14em;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 620;
  letter-spacing: -0.03em;
}

.scenario-access-grid p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (min-width: 780px) {
  .scenario-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.chart-legend .legend-scenarios::before {
  height: 0.15rem;
  background: rgba(121, 174, 232, 0.72);
}

/* Renditeverteilungen der Assetklassen */
.histogram-heading,
.simulation-heading,
.optimization-heading {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.histogram-heading h2,
.simulation-heading h2,
.optimization-heading h2 {
  margin: 0.9rem 0 0;
  max-width: 14em;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.histogram-heading > p,
.simulation-heading > p,
.optimization-heading > p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.histogram-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.histogram-card {
  margin: 0;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.histogram-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.histogram-card figcaption span {
  color: var(--ink);
  font-weight: 650;
}

.histogram-card figcaption strong {
  color: var(--ink-faint);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.histogram-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
}

.hist-grid path {
  fill: none;
  stroke: rgba(26, 59, 99, 0.12);
  stroke-width: 1;
}

.hist-bars rect {
  fill: rgba(94, 144, 207, 0.67);
  stroke: #3f6ea8;
  stroke-width: 0.75;
}

.hist-bars-green rect {
  fill: rgba(107, 164, 44, 0.54);
  stroke: #4b8128;
}

.hist-median {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
}

.hist-labels {
  fill: var(--ink-faint);
  font-family: var(--font-sans);
  font-size: 9px;
}

.visual-disclaimer {
  margin: 0.9rem 0 0;
  color: var(--ink-faint);
  font-size: 0.72rem;
  text-align: right;
}

@media (min-width: 840px) {
  .histogram-heading,
  .simulation-heading,
  .optimization-heading {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(3rem, 7vw, 6rem);
  }

  .histogram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Simulation, Zielfunktion und Effizienzlinie */
.simulation-capability-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3rem;
}

.simulation-capability-grid article {
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.simulation-capability-grid article > span {
  color: var(--blue-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.simulation-capability-grid h3 {
  margin: 1.3rem 0 0.8rem;
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.simulation-capability-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.objective-flow {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3rem;
  align-items: start;
}

.objective-goals,
.objective-function {
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.objective-goals > small,
.objective-function > small {
  display: block;
  color: var(--blue-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.objective-goals ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.objective-goals li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.objective-function strong {
  display: block;
  margin-top: 1.3rem;
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.objective-function p {
  margin: 0.8rem 0 0;
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.efficiency-chart {
  margin: 2rem 0 0;
  padding: 1.35rem;
  border-radius: 1.25rem;
  background: #f1f5fa;
}

.efficiency-chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.efficiency-chart figcaption span {
  color: var(--blue-deep);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.efficiency-chart figcaption strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.efficiency-chart svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
}

.eff-grid path {
  fill: none;
  stroke: rgba(26, 59, 99, 0.1);
  stroke-width: 1;
}

.eff-allocation-cloud {
  fill: url(#allocation-cloud-pattern);
  stroke: none;
}

.allocation-dot {
  fill: rgba(94, 144, 207, 0.68);
}

.allocation-dot-soft {
  fill: rgba(94, 144, 207, 0.42);
}

.eff-frontier {
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
}

.eff-guide {
  fill: none;
  stroke: rgba(107, 164, 44, 0.56);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
}

.eff-optimum-halo {
  fill: rgba(107, 164, 44, 0.18);
}

.eff-optimum {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 2.5;
}

.eff-count rect {
  fill: rgba(255, 255, 255, 0.82);
  stroke: rgba(63, 110, 168, 0.18);
}

.eff-count text {
  fill: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.eff-labels {
  fill: var(--ink-faint);
  font-family: var(--font-sans);
  font-size: 11px;
}

.eff-optimum-label {
  filter: drop-shadow(0 4px 7px rgba(9, 39, 73, 0.14));
}

.eff-optimum-label rect {
  fill: #fff;
  stroke: rgba(107, 164, 44, 0.55);
  stroke-width: 1.2;
}

.eff-optimum-label text {
  fill: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}

.efficiency-chart > p {
  max-width: 54rem;
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (min-width: 880px) {
  .simulation-capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .objective-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .histogram-card,
  .efficiency-chart {
    padding: 1rem;
  }

  .histogram-card figcaption,
  .efficiency-chart figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* ==========================================================================
   Beratungsprozess als Abbinder — CTA
   ========================================================================== */
.approach-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 2rem;
}

.approach-cta > span {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* ==========================================================================
   Kontaktseite
   ========================================================================== */
.contact-page .page-hero-copy {
  max-width: 44rem;
}

.contact-page .page-hero h1 {
  max-width: 14em;
}

.contact-page .page-hero h1 .serif {
  color: #9cc3f0;
}

/* Ansprechpartner (im Hero, direkt unter dem Text) */
.contact-page .solution-page-hero {
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.contact-person {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 44rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.contact-person-photo {
  flex: 0 0 8rem;
  width: 8rem;
  height: 10rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #e8eef7 0%, #cfdff2 100%);
}

.contact-person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contact-person-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.contact-person-body > small {
  color: #a7c6e8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-person-body > strong {
  margin-top: 0.65rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.contact-person-role {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.contact-person-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1.1rem;
  font-size: 0.98rem;
}

.contact-person-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.contact-person-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 480px) {
  .contact-person {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-person-photo {
    width: 7.5rem;
    height: 9.5rem;
  }
}

/* --------------------------------------------------------------------------
   Insights: Übersicht
   -------------------------------------------------------------------------- */
.insights-hero .page-hero-copy {
  max-width: 48rem;
}

.insight-list {
  display: grid;
  gap: 1.5rem;
}

.insight-card {
  display: grid;
  gap: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
}

@media (min-width: 900px) {
  .insight-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3rem;
    padding: 2.75rem 3rem;
  }
}

.insight-card-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.insight-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.insight-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.insight-card h2 a:hover {
  color: var(--blue-deep);
}

.insight-card-subtitle {
  margin-top: 0.4rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.insight-card-teaser {
  margin-top: 1.25rem;
  max-width: 36rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.insight-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.insight-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.25rem;
}

.insight-card-actions .text-link {
  margin-top: 0;
}

.insight-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
}

.insight-pdf-link small {
  font-weight: 500;
  color: var(--ink-faint);
}

.insight-pdf-link:hover {
  color: var(--navy);
}

.insight-card-figure {
  margin: 0;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.insight-card-figure img {
  width: 100%;
  height: auto;
}

.insight-card-upcoming {
  background: var(--mist);
  border-style: dashed;
}

.insight-card-upcoming h2 {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Insights: Artikelseite
   -------------------------------------------------------------------------- */
.insight-hero .page-hero-copy {
  max-width: 52rem;
}

.insight-subtitle {
  margin-top: 1rem;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--white-faint);
}

.insight-meta strong {
  font-weight: 600;
  color: #ffffff;
}

.insight-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.insight-hero .landing-button-primary {
  background: #ffffff;
  color: var(--navy);
}

.insight-hero .landing-button-primary:hover {
  background: var(--ice);
}

.insight-hero-actions small {
  font-size: 0.82rem;
  color: var(--white-faint);
}

.insight-hero .hero-tags {
  margin-top: 2rem;
}

.insight-body {
  padding: 4rem 0 5.5rem;
}

.insight-article,
.insight-author,
.insight-back {
  max-width: 50rem;
  margin: 0 auto;
}

.insight-article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .insight-article {
    padding: 3.5rem;
  }
}

.insight-article .eyebrow {
  margin-bottom: 0.9rem;
}

.insight-article h2 {
  margin: 2.75rem 0 1rem;
  font-size: 1.55rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.insight-article .eyebrow + h2,
.insight-article > h2:first-child {
  margin-top: 0;
}

.insight-article h3 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.12rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.insight-article p,
.insight-article li {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-read);
  -webkit-hyphens: auto;
  hyphens: auto;
}

.insight-article p {
  margin: 0 0 1.15rem;
}

/* Blocksatz wie in der PDF, erst ab Tablet-Breite; auf Smartphones bleibt der Text linksbündig. */
@media (min-width: 640px) {
  .insight-article p,
  .insight-article li,
  .insight-article figcaption {
    text-align: justify;
    text-align-last: left;
  }
}

.insight-article strong {
  color: var(--ink);
}

.insight-article ul,
.insight-article ol {
  margin: 0 0 1.4rem;
  padding-left: 1.25rem;
}

.insight-article li {
  margin-bottom: 0.55rem;
}

.insight-article li::marker {
  color: var(--blue);
}

.insight-article a {
  color: var(--blue-deep);
  text-decoration-color: rgba(94, 144, 207, 0.4);
  text-underline-offset: 3px;
}

.insight-article a:hover {
  color: var(--navy);
}

.insight-article figure {
  margin: 2rem 0 2.25rem;
  padding: 1rem 1rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.insight-article figure img {
  display: block;
  width: 100%;
  height: auto;
}

.insight-article figcaption {
  padding: 0.9rem 0.25rem 0.4rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

.insight-article figcaption em {
  font-style: normal;
}

/* Tabellen wie in der PDF: hellblauer Kopf mit dunkelblauer Oberlinie, hellgraue Zeilenlinien. */
.insight-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-read);
}

.insight-article th {
  background: var(--ice);
  color: var(--navy);
  font-weight: 650;
  border-top: 2px solid var(--navy);
}

.insight-article th,
.insight-article td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
  text-align: left;
}

.insight-article th[align="right"],
.insight-article td[align="right"] {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .insight-article th:first-child,
  .insight-article td:first-child {
    width: 56%;
  }
}

.insight-keypoints {
  margin: 1.75rem 0 0;
  padding: 1.6rem 1.75rem 1.2rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.insight-keypoints h2 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.insight-keypoints ul {
  margin-bottom: 0;
}

.insight-keypoints li {
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Formeln: MathJax-SVG, beim Bauen gerendert, keine externen Skripte */
mjx-container[jax="SVG"] {
  display: inline-block;
  direction: ltr;
  max-width: 100%;
}

mjx-container[jax="SVG"] > svg {
  overflow: visible;
  min-height: 1px;
  min-width: 1px;
}

mjx-container[jax="SVG"][display="true"] {
  display: block;
  margin: 0;
  text-align: center;
}

.math-display {
  margin: 1.5rem 0 1.75rem;
  padding: 0.25rem 0;
  overflow-x: auto;
  text-align: center;
  color: var(--ink);
}

.math-inline {
  white-space: nowrap;
  color: var(--ink);
}

/* Weiterlesen */
.insight-readmore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.insight-readmore button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.insight-full {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.insight-full.is-collapsed {
  display: none;
}

.insight-full:focus {
  outline: none;
}

.insight-notes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.insight-notes h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.insight-notes p,
.insight-notes li {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

.insight-notes strong {
  color: var(--ink-soft);
}

.insight-end {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2.5rem;
}

.insight-end .text-link {
  margin-top: 0;
}

.insight-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.6rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.insight-author-photo {
  flex-shrink: 0;
  width: 5.25rem;
  aspect-ratio: 620 / 800;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.insight-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-author-body small {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.insight-author-body strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.insight-author-role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.insight-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 0.6rem;
  font-size: 0.92rem;
}

.insight-author-links a {
  color: var(--blue-deep);
  text-decoration: none;
}

.insight-author-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.insight-back {
  margin-top: 1.5rem;
}

.insight-back .text-link {
  margin-top: 0;
}

@media (max-width: 560px) {
  .insight-author {
    align-items: flex-start;
  }
}

/* Weiterlesen: hidden-Attribut muss das display: flex der Zeile überstimmen */
.insight-readmore[hidden] {
  display: none;
}

/* Abgesetzte Formeln schrumpfen auf schmalen Bildschirmen proportional */
mjx-container[jax="SVG"][display="true"] > svg {
  max-width: 100%;
  height: auto;
}

.insight-author-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .insight-author {
    gap: 1.1rem;
    padding: 1.4rem 1.25rem;
  }

  .insight-author-photo {
    width: 4.25rem;
  }
}

/* Ab Desktop-Breite: Beitrag links, Autorenkasten und Zurück-Link als
   Seitenleiste rechts. So nutzt die Artikelseite die volle Containerbreite
   und die linke Kante des Beitrags fluchtet mit dem Hero-Text. */
@media (min-width: 1024px) {
  .insight-body .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 3rem;
    /* Abstand zwischen haftender Autoren-Kachel und dem Zurück-Link,
       damit die Kachel am Ende des Beitrags nicht auf den Link aufläuft */
    row-gap: 4.5rem;
    align-items: start;
  }

  .insight-body .container > noscript {
    display: none;
  }

  .insight-article {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: none;
    margin: 0;
  }

  /* Der Wrapper füllt genau die erste Grid-Zeile. Er ist der Bezugsrahmen
     für die haftende Kachel: Browser begrenzen sticky am umgebenden Block,
     nicht an der Grid-Zelle, sonst rutscht die Kachel bis auf den Link. */
  .insight-sidebar {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
  }

  .insight-author {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: none;
    margin: 0;
  }

  .insight-author-photo {
    width: 6rem;
  }

  .insight-author-links {
    flex-direction: column;
    gap: 0.35rem;
  }

  .insight-back {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    max-width: none;
    margin: 0;
  }
}
