/* Devunox SAP Consulting – Design „Leitstand“
   Schrift: Manrope (SIL Open Font License, siehe assets/fonts/MANROPE-LICENSE.txt), selbst gehostet. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.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;
}

:root {
  --paper: #fff;
  --mist: #f5f8fe;
  --ink: #0b1530;
  --ink-2: #3a4563;
  --muted: #5a6478;
  --line: #e1e8f5;
  --line-2: #c9d5ee;
  --blue: #0851fd;
  --blue-hover: #0646db;
  --deep: #0a2a8c;
  --night: #061a5c;
  --soft: #e6eeff;
  --sky: #7aa2ff;
  --danger: #b3261e;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1264px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --band: clamp(72px, 9vw, 124px);
  --header: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--line-2) transparent;
}

body {
  margin: 0;
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
  accent-color: var(--blue);
  overflow-x: clip;
}

::selection {
  background: var(--blue);
  color: #fff;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
address {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 36em;
  font-size: 1.1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top 0.16s var(--ease-out);
}

.skip:focus {
  top: 12px;
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 1.03rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn .icon {
  transition: transform 0.22s var(--ease-out);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px -12px rgba(8, 81, 253, 0.75);
}

.btn--ghost {
  border-color: var(--line-2);
  background: #fff;
  color: var(--ink);
}

.btn--compact {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 0.94rem;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Kopf ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  min-height: var(--header);
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: auto;
  height: 21px;
}

.brand__sub {
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.site-header__panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
  margin-left: clamp(8px, 3vw, 48px);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 13px;
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}

.nav__link[aria-current]::after {
  transform: scaleX(1);
}

.nav__chevron {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform 0.2s var(--ease-out);
}

.nav__item {
  position: relative;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 4px);
  left: -6px;
  z-index: 5;
  min-width: 290px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.05), 0 24px 48px -24px rgba(10, 42, 140, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: 24px 0;
  transition: opacity 0.14s ease, transform 0.18s var(--ease-out), visibility 0s linear 0.18s;
}

/* Unsichtbare Brücke, damit das Menü beim Weg von der Leiste zur Liste offen bleibt. */
.nav__sub::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 8px;
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron {
  transform: rotate(180deg);
}

.nav__sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.nav__sub a[aria-current] {
  background: var(--soft);
  color: var(--blue);
}

.nav__sub--modules a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

.nav__sub--modules b {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--blue);
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--mist);
  font-size: 0.8125rem;
  font-weight: 700;
}

.lang a {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
}

.lang a[aria-current] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.14);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease-out);
}

.menu-toggle__bars {
  position: relative;
  transform: translateY(-3px);
}

.menu-toggle__bars::before {
  content: "";
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(-6px) rotate(-90deg);
}

/* ---------- Einstieg ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 520px at 90% 6%, rgba(8, 81, 253, 0.13), transparent 62%),
    radial-gradient(720px 420px at 0% 100%, rgba(122, 162, 255, 0.18), transparent 60%), #fff;
}

.hero::before,
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 21, 48, 0.11) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 64px;
  padding-top: 76px;
  padding-bottom: 150px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 32em;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Überschrift und Einleitung stehen sofort da (schneller größter Bildaufbau);
   bewegt wird nur der Prozessmonitor. */

/* Prozessmonitor */

.monitor {
  position: relative;
  perspective: 1600px;
}

.monitor__win {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.05), 0 34px 64px -30px rgba(10, 42, 140, 0.42), 0 14px 26px -18px rgba(11, 21, 48, 0.2);
  transform: rotateY(-9deg) rotateX(4deg);
  transform-origin: 70% 50%;
  transition: transform 0.6s var(--ease-out);
  animation: settle 1s var(--ease-out) backwards 0.12s;
}

.monitor__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line);
}

.monitor__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.monitor__name i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--soft);
  animation: pulse 2.4s ease-in-out infinite;
}

.monitor.is-paused .monitor__name i {
  animation: none;
  background: var(--line-2);
}

.monitor__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), border-color 0.2s ease, color 0.2s ease;
}

.monitor__toggle:active {
  transform: scale(0.95);
}

.monitor__toggle .monitor__play,
.monitor__toggle[aria-pressed="true"] .monitor__pause {
  display: none;
}

.monitor__toggle[aria-pressed="true"] .monitor__play {
  display: block;
}

.monitor__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 440px;
  padding: 16px 18px 0;
}

.monitor__tab {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
}

.monitor__tab:active {
  transform: scale(0.97);
}

.monitor__tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.monitor__panel {
  padding: 14px 18px 46px;
}

.monitor__caption {
  font-size: 0.9rem;
  color: var(--muted);
}

.monitor__progress {
  height: 4px;
  margin: 12px 0 14px;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}

.monitor__progress i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(8, 81, 253, 0);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.flow__step.is-active {
  border-color: var(--blue);
  background: #f3f7ff;
  box-shadow: 0 0 0 4px rgba(8, 81, 253, 0.1);
}

.flow__code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.flow__step.is-active .flow__code {
  background: var(--blue);
  color: #fff;
}

.flow__title {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.flow__text {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}

.flow__ref {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--mist);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.flow__state {
  display: grid;
  justify-items: end;
  min-width: 84px;
  font-size: 0.78rem;
  font-weight: 700;
}

.flow__state > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.flow__state .icon {
  width: 15px;
  height: 15px;
}

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

.flow__active {
  color: var(--blue);
  opacity: 0;
}

.flow__done {
  color: var(--deep);
  opacity: 0;
}

.flow__step.is-active .flow__open,
.flow__step.is-done .flow__open {
  opacity: 0;
}

.flow__step.is-active .flow__active,
.flow__step.is-done .flow__done {
  opacity: 1;
}

.monitor__tech {
  position: absolute;
  bottom: -84px;
  left: -34px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 262px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 22px 40px -18px rgba(11, 21, 48, 0.6);
  animation: float 7s ease-in-out infinite;
}

.monitor__tech ul {
  display: flex;
  gap: 6px;
}

.monitor__tech li {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  font-weight: 800;
}

.monitor__tech p {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #c9d5f5;
}

/* Laufband */

.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.marquee__item b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Abschnitte ---------- */

.band {
  padding-block: var(--band);
}

.band--mist {
  background: var(--mist);
}

.band--tight {
  padding-top: clamp(40px, 5vw, 64px);
}

.band--flush {
  padding-bottom: 0;
}

.band__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  align-items: end;
  gap: 18px 64px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.band__head > :only-child {
  grid-column: 1 / -1;
}

/* ---------- Leistungen ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.35s ease;
}

.tile--implementation,
.tile--transformation {
  grid-column: span 7;
}

.tile--support,
.tile--outsourcing {
  grid-column: span 5;
}

.tiles--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.tiles--compact .tile {
  grid-column: auto;
}

.tile__viz {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 176px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--mist), #fff);
}

.tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px 84px 28px 26px;
}

.tile__title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tile__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
}

.tile__text {
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.tile__tags,
.phero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tile__tags li,
.phero__tags li {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--mist);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}

.tile__go {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tile__go .icon {
  transition: transform 0.25s var(--ease-out);
}

/* Schaubilder */

.viz {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.viz b {
  font-weight: 800;
}

.viz--phases {
  gap: 8px;
}

.viz__phase {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
}

.viz__phase i {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 8px;
  background: var(--line-2);
  overflow: hidden;
}

.viz__phase i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.viz__phase:nth-child(1) i::after {
  transform: scaleX(1);
}

.viz__phase:nth-child(2) i::after {
  transform: scaleX(0.5);
}

.viz__phase:nth-child(3) i::after {
  transition-delay: 0.1s;
}

.viz__phase:nth-child(4) i::after {
  transition-delay: 0.2s;
}

.viz--tickets {
  flex-direction: column;
  gap: 7px;
  max-width: 290px;
}

.viz__ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 9px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.viz__ticket i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: #fff;
  transition: background-color 0.25s ease;
}

.viz__ticket .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out);
}

.viz__ticket:nth-child(1) i {
  background: var(--blue);
}

.viz__ticket:nth-child(1) .icon {
  opacity: 1;
  transform: none;
}

.viz__ticket:nth-child(3) i,
.viz__ticket:nth-child(3) .icon {
  transition-delay: 0.12s;
}

.viz--team {
  gap: 16px;
}

.viz__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.5s var(--ease-out);
}

.viz__group--ours {
  border-style: solid;
  border-color: var(--sky);
}

.viz__dots {
  display: flex;
  padding-left: 7px;
}

.viz__dots i {
  width: 26px;
  height: 26px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--line-2);
}

.viz__group--ours .viz__dots i {
  background: var(--blue);
}

.viz--move {
  gap: 12px;
}

.viz--move b,
.viz--hub b {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  white-space: nowrap;
}

.viz--move .viz__to,
.viz--hub .viz__core {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.viz__path,
.viz__link {
  position: relative;
  flex: 1;
  min-width: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}

.viz__path i,
.viz__link i {
  position: absolute;
  top: -3px;
  right: 0;
  left: 0;
  height: 8px;
  animation: run 2.6s linear infinite;
}

.viz__path i::before,
.viz__link i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.viz__path i:nth-child(2) {
  animation-delay: -0.87s;
}

.viz__path i:nth-child(3) {
  animation-delay: -1.73s;
}

.viz--hub .viz__core {
  padding: 12px 16px;
  box-shadow: 0 0 0 6px var(--soft);
}

.viz--hub .viz__link:last-of-type i {
  animation-direction: reverse;
}

.viz--code {
  gap: 18px;
}

.viz__lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  max-width: 230px;
  padding: 15px;
  border-radius: 13px;
  background: var(--ink);
}

.viz__lines i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: #3b4a78;
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.viz__lines i:nth-child(1) {
  width: 64%;
  background: var(--sky);
}

.viz__lines i:nth-child(2) {
  width: 92%;
}

.viz__lines i:nth-child(3) {
  width: 50%;
  transition-delay: 0.06s;
}

.viz__lines i:nth-child(4) {
  width: 78%;
  transition-delay: 0.12s;
}

.viz__chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.viz__chips b {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

/* ---------- Module ---------- */

.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #fff;
}

.seg__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.seg__tab[aria-selected="true"] {
  color: #fff;
}

.seg__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.seg__tab[aria-selected="true"] .seg__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.seg__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 12px;
  background: var(--ink);
  transition: transform 0.32s var(--ease-out);
}

.seg[data-active="1"] .seg__pill {
  transform: translateX(100%);
}

.seg[data-active="2"] .seg__pill {
  transform: translateX(200%);
}

.mods__panel {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.mods__label {
  padding: 18px 22px 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.js .mods__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mod + .mod {
  border-top: 1px solid var(--line);
}

.mod__head {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 8px 18px;
  padding: 16px 18px 16px 22px;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mod__head::-webkit-details-marker {
  display: none;
}

.mod__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  justify-self: start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mod[open] .mod__code {
  background: var(--blue);
  color: #fff;
}

.mod__name {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.mod__summary {
  font-size: 0.97rem;
  line-height: 1.45;
}

.mod__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mod__toggle .icon {
  width: 16px;
  height: 16px;
}

[open] > summary .mod__toggle {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: rotate(45deg);
}

.mod__body {
  padding: 2px 22px 22px 104px;
}

.mod__topics-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}

.mod__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mod__topics li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.mod__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.mod__link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .mod__link:hover {
    color: var(--blue-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .mod__link:hover .icon {
    transform: translateX(3px);
  }
}

/* ---------- Modulseiten ---------- */

.modcard {
  padding: 28px 26px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, var(--soft), #fff 70%);
}

.modcard__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}

.modcard__name {
  margin-top: 18px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.modcard__text {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.55;
}

.chains {
  display: grid;
  gap: 16px;
}

.chain {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.chain__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.chain__name strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.chain__steps {
  display: grid;
  gap: 8px;
}

.chain__step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.chain__step.is-current {
  border-color: var(--blue);
  background: var(--mist);
  box-shadow: 0 0 0 3px var(--soft);
}

.chain__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 9px;
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
}

.chain__step.is-current .chain__code {
  background: var(--blue);
  color: #fff;
}

.chain__main {
  display: grid;
  gap: 2px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.chain__main strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.chain__link,
.chain__here {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.chain__link {
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chain__link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease-out);
}

.chain__here {
  color: var(--blue);
}

.modgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.modtile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modtile:active {
  transform: scale(0.99);
}

.modtile__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--soft);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modtile__name {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.modtile__text {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 0.97rem;
  line-height: 1.55;
}

.modtile__go {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

.modtile__go .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .chain__link:hover {
    border-color: var(--blue);
    color: var(--blue);
  }

  .chain__link:hover .icon,
  .modtile:hover .modtile__go .icon {
    transform: translateX(3px);
  }

  .modtile:hover {
    border-color: var(--line-2);
    box-shadow: 0 18px 36px -24px rgba(10, 42, 140, 0.45);
  }

  .modtile:hover .modtile__code {
    background: var(--blue);
    color: #fff;
  }
}

@media (max-width: 1100px) {
  .modgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .modgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chain__step {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .chain__link,
  .chain__here {
    grid-column: 2;
    justify-self: start;
  }
}

/* Aufklappen weich, wo der Browser es kann; sonst ohne Bewegung. */
@supports (interpolate-size: allow-keywords) {
  details {
    interpolate-size: allow-keywords;
  }

  details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete;
  }

  details[open]::details-content {
    block-size: auto;
  }
}

/* ---------- Vorgehen ---------- */

.track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.track--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track__step {
  position: relative;
  padding-right: 24px;
}

.track__step::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 0;
  left: 44px;
  height: 2px;
  background: var(--line-2);
}

.track__step:last-child::before {
  display: none;
}

.track__num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.track__title {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.track__text {
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.55;
  text-wrap: pretty;
}

@supports (animation-timeline: view()) {
  .track__step::before {
    background: linear-gradient(90deg, var(--blue) 50%, var(--line-2) 50%) 100% 0 / 200% 100%;
    animation: track-fill linear both;
    animation-timeline: view();
    animation-range: entry 30% cover 48%;
  }
}

/* ---------- Über uns, Zweispalter ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 40px 72px;
}

.split__intro {
  position: sticky;
  top: calc(var(--header) + 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}

.principle {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.principle h3,
.scope__item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.principle p,
.scope__item p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- Kontakt ---------- */

.band--contact {
  padding-top: var(--band);
}

.cpanel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 40px 64px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  background: radial-gradient(760px 420px at 100% 0%, rgba(122, 162, 255, 0.4), transparent 62%),
    linear-gradient(135deg, var(--night), var(--deep) 58%, #0b3bc2);
  color: #fff;
  overflow: hidden;
}

.cpanel h2 {
  color: #fff;
}

.cpanel .lede {
  margin-top: 18px;
  color: #d9e3ff;
}

.cpanel__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 32px;
}

.cpanel__direct dt {
  font-size: 0.84rem;
  font-weight: 700;
  color: #b9c9f7;
}

.cpanel__direct dd {
  font-size: 1.1rem;
  font-weight: 700;
}

.cpanel__direct a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
}

.form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: block;
}

.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.field small {
  font-size: inherit;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--mist);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--soft);
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn {
  justify-self: start;
}

.form__status {
  padding: 12px 14px;
  border: 1px solid #f0c7c4;
  border-radius: 12px;
  background: #fdf3f2;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--danger);
}

.form__status a,
.form__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__note {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.form--done {
  justify-items: start;
  gap: 12px;
  padding: 40px 32px;
}

.form--done:focus {
  outline: none;
}

.form--done h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  animation: pop 0.4s var(--ease-out) backwards;
}

.form__check .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.6;
}

/* ---------- Fuß ---------- */

.site-footer {
  margin-top: var(--band);
  padding: 64px 0 36px;
  background: var(--mist);
  font-size: 0.94rem;
  line-height: 1.55;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) max-content max-content max-content;
  gap: 36px 48px;
}

.site-footer__brand img {
  width: auto;
  height: 21px;
  margin-bottom: 14px;
}

.site-footer__brand p {
  max-width: 20em;
}

.site-footer__heading {
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.site-footer__list li + li {
  margin-top: 7px;
}

.site-footer__list--cols {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 26px;
}

.site-footer__list--cols li + li {
  margin-top: 0;
}

.site-footer__list--contact {
  margin-top: 12px;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__trademark {
  flex: 1 1 420px;
}

/* ---------- Leistungsseiten ---------- */

.phero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(820px 460px at 92% 0%, rgba(8, 81, 253, 0.12), transparent 62%), #fff;
}

.phero__grid {
  position: relative;
  padding-top: 36px;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.phero--aside .phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px 64px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-2);
}

.crumbs a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.crumbs [aria-current] {
  color: var(--ink);
}

.phero__title {
  max-width: 17em;
  margin-top: 26px;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.phero__lead {
  max-width: 36em;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.phero__stage {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.05), 0 30px 56px -30px rgba(10, 42, 140, 0.4);
  overflow: hidden;
}

.phero__stage .tile__viz {
  height: 220px;
}

.phero__tags {
  margin: 0;
  padding: 18px 20px 20px;
}

.scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
}

.scope__item {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pair__col {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.pair__col--result {
  border-color: transparent;
  background: var(--soft);
}

.pair__title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.025em;
}

.ticks {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.ticks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  line-height: 1.5;
  color: var(--ink);
}

.ticks .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  stroke-width: 3;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q .mod__toggle {
  flex: none;
}

.faq__a {
  padding: 0 76px 24px 24px;
  line-height: 1.65;
}

/* ---------- Rechtstexte ---------- */

.prose {
  padding-top: clamp(40px, 6vw, 72px);
}

.prose__body {
  max-width: 46rem;
}

.prose__title {
  overflow-wrap: break-word;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.prose__meta {
  margin-top: 14px;
  font-size: 0.94rem;
  color: var(--muted);
}

.prose__section {
  margin-top: 40px;
}

.prose__section h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.prose__section p + p,
.prose__section address + p,
.prose__section p + address {
  margin-top: 12px;
}

.prose__section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 880px;
  min-height: 100vh;
  margin-inline: auto;
  padding: clamp(32px, 8vw, 96px) var(--gutter);
}

.notfound img {
  width: auto;
  height: 24px;
}

.notfound__langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.notfound__langs section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.notfound h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ---------- Zeiger: Hover nur, wo es eine Maus gibt ---------- */

@media (hover: hover) and (pointer: fine) {
  .nav__link:hover::after {
    transform: scaleX(1);
  }

  .nav__sub a:hover {
    background: var(--mist);
  }

  .lang a:hover {
    color: var(--ink);
  }

  .menu-toggle:hover,
  .monitor__toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
  }

  .btn--primary:hover {
    background: var(--blue-hover);
  }

  .btn:hover .icon {
    transform: translateX(4px);
  }

  .btn--ghost:hover {
    border-color: var(--blue);
  }

  .monitor:hover .monitor__win,
  .monitor:focus-within .monitor__win {
    transform: none;
  }

  .monitor__tab:hover {
    border-color: var(--ink);
    color: var(--ink);
  }

  .monitor__tab[aria-selected="true"]:hover {
    color: #fff;
  }

  .seg__tab:hover {
    color: var(--ink);
  }

  .seg__tab[aria-selected="true"]:hover {
    color: #fff;
  }

  .mod__head:hover,
  .faq__q:hover {
    background: var(--mist);
  }

  .tile:hover {
    border-color: var(--sky);
    box-shadow: 0 26px 50px -30px rgba(10, 42, 140, 0.45);
  }

  .tile:hover .tile__go {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
  }

  .tile:hover .tile__go .icon {
    transform: translateX(3px);
  }

  :is(.tile, .phero__stage):hover .viz__phase i::after {
    transform: scaleX(1);
  }

  :is(.tile, .phero__stage):hover .viz__ticket i {
    background: var(--blue);
  }

  :is(.tile, .phero__stage):hover .viz__ticket .icon {
    opacity: 1;
    transform: none;
  }

  :is(.tile, .phero__stage):hover .viz__group:first-child {
    transform: translateX(10px);
  }

  :is(.tile, .phero__stage):hover .viz__group--ours {
    transform: translateX(-10px);
  }

  :is(.tile, .phero__stage):hover .viz__lines i {
    transform: scaleX(1);
  }

  .cpanel__direct a:hover {
    text-decoration-color: #fff;
  }

  .site-footer a:hover,
  .crumbs a:hover {
    color: var(--blue);
    text-decoration-color: currentColor;
  }
}

/* ---------- Schmalere Bildschirme ---------- */

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header__panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - var(--header));
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 30px 40px -30px rgba(10, 42, 140, 0.35);
    overflow-y: auto;
  }

  .site-header__panel.is-open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    font-size: 1.05rem;
  }

  .nav__link {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after,
  .nav__chevron {
    display: none;
  }

  .nav__sub {
    position: static;
    min-width: 0;
    padding: 6px 0 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    font-size: 0.97rem;
  }

  .nav__sub--modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding-left: 0;
  }

  .nav__sub--modules a {
    display: block;
    text-align: center;
    background: var(--mist);
  }

  .nav__sub--modules span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .nav__sub--modules b::before {
    content: "SAP ";
    font-weight: 600;
    color: var(--ink-2);
  }

  .lang {
    align-self: flex-start;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .monitor__win {
    transform: none;
  }

  .monitor__tabs {
    max-width: none;
  }

  .monitor__panel {
    padding-bottom: 20px;
  }

  .monitor__tech {
    position: static;
    max-width: none;
    margin-top: 14px;
    animation: none;
  }

  .tile,
  .tile--implementation,
  .tile--transformation,
  .tile--support,
  .tile--outsourcing {
    grid-column: span 6;
  }

  .mod__head {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .mod__summary {
    grid-column: 2;
    grid-row: 2;
  }

  .mod__toggle {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__intro {
    position: static;
  }

  .cpanel,
  .phero--aside .phero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .brand {
    gap: 10px;
  }

  .brand__logo {
    height: 19px;
  }

  .brand__sub {
    padding-left: 10px;
    font-size: 0.78rem;
  }

  .menu-toggle {
    gap: 8px;
    padding: 0 12px;
  }

  .band__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile,
  .tile--implementation,
  .tile--transformation,
  .tile--support,
  .tile--outsourcing {
    grid-column: span 12;
  }

  .flow__step {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .flow__ref {
    display: none;
  }

  .seg {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
  }

  .seg__tab {
    min-width: 0;
    gap: 6px;
    padding: 0 6px;
    font-size: 0.875rem;
  }

  .mod__head {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 14px 14px 16px;
  }

  .mod__body {
    padding: 2px 16px 20px;
  }

  .track,
  .track--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .track__step {
    padding: 0 0 0 64px;
  }

  .track__step::before {
    top: 48px;
    right: auto;
    bottom: -24px;
    left: 21px;
    width: 2px;
    height: auto;
    animation: none;
    background: var(--line-2);
  }

  .track__num {
    position: absolute;
    top: 0;
    left: 0;
  }

  .track__title {
    margin-top: 8px;
  }

  .principles,
  .scope,
  .pair,
  .form__row,
  .notfound__langs {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__a {
    padding-right: 24px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .seg__count {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand__sub {
    display: none;
  }

  .prose__title {
    font-size: 1.5rem;
  }
}

/* ---------- Bewegung ---------- */

@keyframes settle {
  from {
    opacity: 0;
    transform: rotateY(-16deg) rotateX(8deg) translateY(26px);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(8, 81, 253, 0.08);
  }
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@keyframes run {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100% - 8px));
    opacity: 0;
  }
}

@keyframes track-fill {
  to {
    background-position: 0 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .monitor__win {
    transform: none;
  }
}

@media print {
  .site-header,
  .marquee,
  .band--contact,
  .monitor__toggle {
    display: none;
  }
}
