/* =====================================================================
   Europass Academy – B2B-Landingpage Deutschland
   Konzept "Brücke": navy Kino-Bühne für den Film, königsblaue Bänder für
   Netzwerk und Kontakt, rot nur für Handlungen und Wegmarken.
   Schriften lokal gehostet (DSGVO: keine Verbindung zu Google Fonts).
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Farbe */
  --navy: #0B1A33;
  --navy-2: #12264A;
  --blue: #003094;
  --blue-deep: #00226B;
  --blue-tint: #E7EDF9;
  --red: #CE0011;
  --red-deep: #A6000E;
  --white: #FFFFFF;
  --grey: #F4F6FA;
  --line: #DCE2EC;
  --line-dark: rgba(255, 255, 255, 0.18);
  --ink: #0B1A33;
  --muted: #47536B;
  --on-dark: rgba(255, 255, 255, 0.86);
  --on-dark-soft: rgba(255, 255, 255, 0.68);

  /* Schrift */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2.35rem, 0.9rem + 5.4vw, 5.5rem);
  --fs-statement: clamp(1.7rem, 1.1rem + 2.1vw, 2.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.78rem;

  /* Raster */
  --max: 1232px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --section-y: clamp(72px, 6vw + 40px, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--blue); padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.eyebrow--light { color: var(--on-dark); }
.eyebrow__mark { width: 32px; height: 2px; background: var(--red); flex: none; }

.h2 {
  font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 650;
  font-stretch: 108%; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; margin-top: 20px; }
.statement {
  font-family: var(--font-display); font-size: var(--fs-statement); font-weight: 500;
  font-stretch: 104%; line-height: 1.22; letter-spacing: -0.012em; text-wrap: balance;
  max-width: 28ch;
}
.statement em { font-style: normal; color: var(--blue); box-shadow: inset 0 -0.12em 0 var(--blue-tint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 26px; border: 1.5px solid transparent; border-radius: 2px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--blue);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 51; background: var(--navy);
}
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__inner {
  max-width: calc(var(--max) + var(--gutter) + var(--gutter-r)); margin-inline: auto;
  padding: 14px var(--gutter-r) 14px var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; position: relative; width: clamp(150px, 14vw, 196px); flex: none; }
.brand__logo img { width: 100%; height: auto; }
.brand__logo--color { position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease); }
.brand__logo--light { transition: opacity .3s var(--ease); }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.site-nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--white); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.site-header.is-solid { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(11,26,51,0.06); }
.site-header.is-solid .brand__logo--color { opacity: 1; }
.site-header.is-solid .brand__logo--light { opacity: 0; }
.site-header.is-solid .site-nav__list a { color: var(--ink); }
.site-header.is-solid .nav-toggle { color: var(--ink); border-color: var(--line); }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1px solid rgba(255,255,255,0.4); border-radius: 2px;
  color: var(--white); cursor: pointer; font-size: 0.9375rem; font-weight: 600;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11,26,51,0.14);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { color: var(--ink); font-size: 1.125rem; min-height: 56px; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
  .site-nav .btn { margin-top: 16px; min-height: 54px; }
  .site-header.is-menu { background: var(--white); }
  .site-header.is-menu .brand__logo--color { opacity: 1; }
  .site-header.is-menu .brand__logo--light { opacity: 0; }
  .site-header.is-menu .nav-toggle { color: var(--ink); border-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  padding-top: calc(var(--header-h) + clamp(28px, 3.6vw, 60px));
  padding-bottom: clamp(56px, 6vw, 96px);
  overflow: hidden; isolation: isolate;
}
.hero::before {
  /* feines Meridian-Raster als Verweis auf Breitengrade */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 12) 100%;
  background-position: var(--gutter) 0;
}
.hero__intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(28px, 3.4vw, 48px); align-items: end;
}
.hero__intro > .hero__head { grid-column: 1 / -1; }
.hero__head { display: grid; gap: 28px; min-width: 0; }
.hero__title {
  font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 700;
  font-stretch: 106%; line-height: 0.98; letter-spacing: -0.03em;
}
.hero__line { display: block; }
.hero__dot { color: var(--red); }
.hero__aside {
  grid-column: c-start / v-start; grid-row: 2; align-self: start; padding-top: 4px;
  display: grid; gap: 28px; min-width: 0; padding-right: clamp(24px, 3vw, 48px);
}
.hero__aside .btn-row { flex-direction: column; align-items: stretch; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark); max-width: 46ch; }

.hero__stage {
  margin-top: clamp(28px, 3.4vw, 52px);
  display: grid;
  grid-template-columns:
    [bleed-l] minmax(var(--gutter), 1fr)
    [c-start] minmax(0, calc(var(--max) * 0.31))
    [v-start] minmax(0, calc(var(--max) * 0.69))
    [c-end] minmax(var(--gutter-r), 1fr) [bleed-r];
  grid-template-rows: auto auto auto;
  column-gap: 0;
}
.hero__route {
  grid-column: v-start / c-end; grid-row: 1;
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-left: clamp(20px, 3vw, 40px);
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--on-dark-soft);
  text-transform: uppercase;
}
.route__end { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.route__code { color: var(--white); }
.route__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.route__dot--red { background: var(--red); box-shadow: 0 0 0 4px rgba(206,0,17,0.25); }
.route__dot--white { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.route__line { flex: 1 1 auto; height: 12px; min-width: 40px; overflow: visible; }
.route__line line { stroke: rgba(255,255,255,0.45); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }

.hero__facts {
  grid-column: v-start / c-end; grid-row: 3;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px);
  margin-top: clamp(32px, 3.4vw, 48px); padding-left: clamp(20px, 3vw, 40px);
}
.hero__facts li { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.hero__facts strong { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 650; font-stretch: 110%; line-height: 1.1; }
.hero__facts span { font-size: var(--fs-small); color: var(--on-dark-soft); }

.player--hero { grid-column: v-start / bleed-r; grid-row: 2; padding-left: clamp(20px, 3vw, 40px); position: relative; }
.player--hero::before {
  /* roter Rahmenversatz: die Brücke vom Text zum Film */
  content: ""; position: absolute; left: calc(clamp(20px, 3vw, 40px) - 14px); bottom: -14px; width: 38%; height: 58%;
  background: var(--red); z-index: 0;
}

/* ---------- Video-Player ---------- */
.player { position: relative; }
.player video, .player__cover {
  width: 100%; aspect-ratio: 16 / 9; max-width: 100%;
}
.player video { background: #000; object-fit: contain; position: relative; z-index: 1; }
.player--story video, .player--story .player__cover { aspect-ratio: 9 / 16; }
.player__cover {
  position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; left: 0; width: auto;
  padding: 0; border: 0; margin: 0; cursor: pointer; overflow: hidden; background: var(--navy);
  color: var(--white); text-align: left;
}
.player--hero .player__cover { left: clamp(20px, 3vw, 40px); }
.player__cover picture { position: absolute; inset: 0; display: block; }
.player__poster { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.player__cover:hover .player__poster { transform: scale(1.025); }
.player__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,26,51,0.78) 0%, rgba(11,26,51,0.1) 46%, rgba(11,26,51,0.05) 100%); }
.player__disc {
  position: absolute; left: 50%; top: 50%; width: clamp(72px, 7vw, 104px); aspect-ratio: 1; margin: 0;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--white);
  display: grid; place-items: center; box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.player__disc::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55);
  transition: inset .3s var(--ease), opacity .3s var(--ease);
}
.player__disc svg { width: 34%; height: 34%; fill: var(--red); margin-left: 6%; }
.player__cover:hover .player__disc { transform: translate(-50%, -50%) scale(1.06); }
.player__cover:hover .player__disc::after { inset: -16px; opacity: .6; }
.player__disc--sm { width: 64px; }
.player__disc--sm::after { inset: -7px; }
.player__meta { position: absolute; left: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 28px); right: 18px; display: grid; gap: 4px; }
.player__kicker { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); }
.player__title { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); font-weight: 600; font-stretch: 106%; }
.player.is-playing .player__cover { opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--grey { background: var(--grey); }
.section--blue { background: var(--blue); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--contact { background: var(--blue); color: var(--white); }

.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.split--head { margin-bottom: clamp(40px, 5vw, 72px); align-items: start; }
.split--head .eyebrow, .split--intro .eyebrow { padding-top: 0.7em; }
.split > .eyebrow { align-self: start; }

/* A – Akademie */
.split--intro { margin-bottom: clamp(48px, 6vw, 88px); }
.matrix { border-top: 2px solid var(--ink); }
.matrix__head, .matrix__row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.5fr) minmax(0, 4.5fr);
  gap: clamp(16px, 3vw, 48px); padding-block: 20px; border-bottom: 1px solid var(--line);
}
.matrix__head { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-block: 14px; }
.matrix__head span:first-child, .matrix__row span:first-child { grid-column: 2; }
.matrix__head span:last-child, .matrix__row span:last-child { grid-column: 3; }
.matrix__row span:first-child { font-weight: 600; }
.matrix__row span:last-child { color: var(--muted); position: relative; padding-left: 28px; }
.matrix__row span:last-child::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 16px; height: 2px; background: var(--red);
}
.matrix__row { transition: background-color .2s var(--ease); }
.matrix__row:hover { background: var(--grey); }

.notice {
  margin-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px;
  margin-left: calc((100% - 0px) * 3 / 12 + clamp(16px, 3vw, 48px) * 0.25);
  max-width: 760px; padding: 20px 24px; background: var(--blue-tint); color: var(--ink); font-size: var(--fs-small);
}
.notice__icon { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; margin-top: 2px; }

/* B – Netzwerk */
.split--network { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.network__text { display: grid; gap: 24px; align-content: start; }
.network__lead { color: var(--on-dark); max-width: 46ch; }
.legend { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-dark); }
.legend__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.legend dt { font-weight: 600; display: flex; align-items: center; gap: 12px; }
.legend dd { color: var(--on-dark-soft); font-size: var(--fs-small); align-self: center; }
.legend__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--white); flex: none; }
.legend__dot--hub { background: var(--red); box-shadow: 0 0 0 4px rgba(255,255,255,0.9); width: 12px; height: 12px; }

.netmap { margin: 0; }
.netmap svg { width: 100%; height: auto; overflow: visible; }
.netmap__grid line { stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.netmap__ticks text { fill: rgba(255,255,255,0.62); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.netmap__sea { fill: rgba(255,255,255,0.4); font-family: var(--font-display); font-style: italic; font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; }
.netmap__links path { stroke: var(--white); stroke-width: 1.5; fill: none; }
.netmap__de { stroke: rgba(255,255,255,0.75); stroke-width: 1.5; fill: none; stroke-dasharray: 5 7; }
.netmap__de-label { fill: var(--white); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.netmap__school circle { fill: var(--white); stroke: var(--blue); stroke-width: 2.5; }
.netmap__hub { fill: var(--red); stroke: var(--white); stroke-width: 4; }
.netmap__pulse { fill: none; stroke: var(--white); stroke-width: 1.5; opacity: .6; transform-origin: 454px 177px; }
.netmap__ref { fill: rgba(255,255,255,0.5); }
.netmap__ref-label { fill: rgba(255,255,255,0.6); font-size: 12px; font-family: var(--font-body); }
.netmap__label { fill: var(--white); font-family: var(--font-display); font-weight: 650; font-size: 19px; font-stretch: 108%; }
.netmap__label--hub { font-size: 22px; }
.netmap__sub { fill: rgba(255,255,255,0.72); font-family: var(--font-body); font-size: 13px; }
.netmap figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--on-dark-soft); text-align: right; }

/* C – Erfahrung */
.figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); border-top: 2px solid var(--blue); }
.figure { padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 36px) 8px 0; display: grid; gap: 14px; align-content: start; }
.figure + .figure { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.figure__num {
  font-family: var(--font-display); font-weight: 700; font-stretch: 118%;
  font-size: clamp(3.6rem, 2rem + 5vw, 7rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--blue);
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.figure__unit { font-size: 0.24em; font-weight: 600; letter-spacing: 0; color: var(--ink); font-stretch: 100%; }
.figure__label { color: var(--muted); max-width: 30ch; }
.cefr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: 10px; max-width: 420px; }
.cefr li {
  font-family: var(--font-mono); font-size: 0.8125rem; text-align: center; padding: 10px 0 8px;
  background: var(--grey); color: #7A859A; border-top: 3px solid var(--line);
}
.cefr li.is-on { background: var(--blue-tint); color: var(--blue); border-top-color: var(--blue); }
.cefr li.is-top { background: var(--blue); color: var(--white); border-top-color: var(--red); }

/* G – Einblicke */
.split--stories { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.stories__text { display: grid; gap: 22px; justify-items: start; max-width: 460px; }
.stories__text p { color: var(--muted); }
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: clamp(16px, 3vw, 40px); justify-content: center; align-items: start; }
.story { display: grid; gap: 14px; }
.story--offset { margin-top: clamp(32px, 6vw, 88px); }
.story .player { box-shadow: 0 18px 40px rgba(11,26,51,0.14); }
.story figcaption { display: grid; gap: 2px; border-left: 2px solid var(--red); padding-left: 14px; }
.story__meta { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.story__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }

/* D – Leistungen */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 72px); }
.service { display: contents; }
.service__head { grid-column: 1; font-size: inherit; font-weight: inherit; }
.service__tab {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; gap: 12px;
  padding: 20px 4px 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; font-stretch: 104%;
  text-align: left; cursor: pointer; color: var(--muted); min-height: 64px;
  transition: color .2s var(--ease);
}
.service:first-child .service__tab { border-top: 1px solid var(--line); }
.service__no { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.service__chev { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.service__tab:hover { color: var(--ink); }
.service__tab:hover .service__chev { opacity: .5; transform: none; }
.service__tab[aria-expanded="true"] { color: var(--blue); }
.service__tab[aria-expanded="true"] .service__no { color: var(--red); }
.service__tab[aria-expanded="true"] .service__chev { opacity: 1; transform: none; color: var(--red); }
.service__panel {
  grid-column: 2; grid-row: 1 / span 6; align-self: start;
  background: var(--grey); padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; position: relative;
  border-top: 3px solid var(--blue);
}
.service__panel > p:not([class]) { font-size: var(--fs-lead); line-height: 1.6; max-width: 52ch; }
.service__kicker { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.service__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); font-weight: 650; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.02em; color: var(--blue); }
.service__result { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-weight: 600; }
.service__result span { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.js .service__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .service__panel:not([hidden]) { animation: panel-in .45s var(--ease); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* E – Berufsfelder */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.fields__cat { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.fields__swatch { width: 12px; height: 12px; flex: none; }
.fields__swatch--blue { background: var(--blue); }
.fields__swatch--red { background: var(--red); }
.fields__list li {
  position: relative; display: grid; gap: 4px; padding: 26px 0 24px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.fields__list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--red);
  transition: width .3s var(--ease);
}
.fields__list li:hover { padding-left: 32px; }
.fields__list li:hover::before { width: 18px; }
.fields__name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); font-weight: 600; font-stretch: 106%; line-height: 1.15; letter-spacing: -0.01em; }
.fields__desc { color: var(--muted); font-size: var(--fs-small); }

/* F – Ablauf */
.split--process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.process__intro { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--header-h) + 40px); }
.process__intro .lead { margin-top: 0; }
.timeline { position: relative; padding-left: 0; }
.timeline__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--progress, 0%); background: var(--blue); }
.timeline__list { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); padding-bottom: clamp(32px, 4vw, 52px); }
.step:last-child { padding-bottom: 0; }
.step__no {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
  font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; font-variant-numeric: tabular-nums;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.step__body { padding-top: 6px; display: grid; gap: 6px; }
.step__body > p:last-child { color: var(--muted); max-width: 52ch; }
.step__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.step__who {
  justify-self: start; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; background: var(--blue-tint); color: var(--blue);
}
.step__who--both { background: var(--grey); color: var(--muted); }
.step__who--you { background: #FBE5E7; color: var(--red-deep); }
.step.is-active .step__no { background: var(--blue); border-color: var(--blue); color: var(--white); }
.step:last-child.is-active .step__no { background: var(--red); border-color: var(--red); }
.no-js .step .step__no, .is-static .step .step__no { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Kooperation */
.split--coop { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.split--coop > div:first-child { display: grid; gap: 24px; justify-items: start; }
.coop__lead { color: var(--on-dark); max-width: 52ch; }
.modules { border: 0; padding: 0; margin: 8px 0 8px; display: grid; gap: 10px; width: 100%; }
.module {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 18px 22px; border: 1px solid var(--line-dark); cursor: pointer; min-height: 64px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.module:hover { border-color: rgba(255,255,255,0.5); }
.module input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.module__box { width: 24px; height: 24px; border: 1.5px solid rgba(255,255,255,0.6); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.module__box::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.module__text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; font-stretch: 104%; }
.module input:checked ~ .module__box { background: var(--red); border-color: var(--red); }
.module input:checked ~ .module__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.module:has(input:checked) { border-color: var(--white); background: rgba(255,255,255,0.06); }
.module input:focus-visible ~ .module__box { outline: 3px solid var(--red); outline-offset: 3px; }
.modules__count { font-size: var(--fs-small); color: var(--on-dark-soft); min-height: 1.5em; }

.why { padding: clamp(28px, 3vw, 44px); background: var(--navy-2); border-top: 3px solid var(--red); }
.why__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 650; font-stretch: 106%; margin-bottom: 12px; }
.why__list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-soft); font-size: var(--fs-small); }
.why__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.why__list strong { color: var(--white); font-size: 1rem; font-weight: 600; }

/* Kontakt */
.split--contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro { display: grid; gap: 24px; align-content: start; }
.contact__lead { color: var(--on-dark); font-size: var(--fs-lead); max-width: 44ch; }
.person { display: flex; align-items: center; gap: 18px; padding-top: 12px; }
.person__mono {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; font-stretch: 112%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}
.person__name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 650; font-stretch: 106%; }
.person__role { color: var(--on-dark-soft); font-size: var(--fs-small); }
.contact__lines { border-top: 1px solid var(--line-dark); }
.contact__lines li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); align-items: center; }
.contact__key { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact__lines a { color: var(--white); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; user-select: all; min-height: 32px; display: inline-flex; align-items: center; }
.contact__lines a:hover { text-decoration: underline; color: var(--white); }

.form-card { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 52px); box-shadow: 0 40px 80px rgba(0,16,60,0.35); position: relative; }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 4px; background: var(--red); }
.form__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 650; font-stretch: 106%; margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #B9C3D3; border-radius: 2px; background: var(--white);
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B1A33' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8D9AB0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,48,148,0.18); }
.field__error { display: none; font-size: 0.8125rem; color: var(--red-deep); font-weight: 500; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .field__error { display: block; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.875rem !important; font-weight: 400 !important; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.form__foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form__status { margin-top: 22px; padding: 18px 20px; font-size: var(--fs-small); border-left: 3px solid var(--blue); background: var(--blue-tint); }
.form__status.is-error { border-left-color: var(--red); background: #FBE5E7; }
.form__status.is-success { border-left-color: #1A7F4B; background: #E5F4EC; }
.form__status strong { display: block; margin-bottom: 4px; }
.form__status a { font-weight: 600; }
.form__status .btn { margin-top: 12px; min-height: 46px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-soft); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px 48px; align-items: end; }
.site-footer__brand { display: grid; gap: 16px; }
.site-footer__brand img { width: 168px; height: auto; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__nav a { color: var(--white); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; }

/* Mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center;
    min-height: 56px; padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--red); color: var(--white); font-weight: 600; text-decoration: none;
    transform: translateY(110%); transition: transform .3s var(--ease);
    box-shadow: 0 -8px 24px rgba(11,26,51,0.2);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta:hover { color: var(--white); }
}

/* ---------- Reveal & Ladeanimation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(22px); opacity: 0.25; transition: transform .8s var(--ease), opacity .8s var(--ease); }
  .js .reveal.is-visible { transform: none; opacity: 1; }

  .hero__line { animation: rise .9s var(--ease) both; }
  .hero__line:nth-child(2) { animation-delay: .08s; }
  .hero__line:nth-child(3) { animation-delay: .16s; }
  .hero__aside { animation: fade .9s .3s var(--ease) both; }
  .route__line line { stroke-dashoffset: 600; animation: draw 1.6s .5s var(--ease) forwards; }
  .player--hero { animation: rise 1s .25s var(--ease) both; }
  .netmap__pulse { animation: pulse 2.8s var(--ease) infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

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

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure--wide { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); margin-top: 16px; }
}

@media (max-width: 960px) {
  .split, .split--network, .split--stories, .split--process, .split--coop, .split--contact { grid-template-columns: minmax(0, 1fr); }
  .split--head .eyebrow, .split--intro .eyebrow { padding-top: 0; }
  .hero__stage { grid-template-columns: [bleed-l] var(--gutter) [c-start v-start] minmax(0, 1fr) [c-end] var(--gutter-r) [bleed-r]; }
  .hero__route { grid-column: c-start / c-end; padding-left: 0; }
  .player--hero { grid-column: c-start / c-end; padding-left: 0; }
  .player--hero .player__cover { left: 0; }
  .player--hero::before { left: -10px; bottom: -10px; }
  .hero__aside { grid-column: c-start / c-end; grid-row: 1; padding-right: 0; margin-bottom: 40px; max-width: 640px; }
  .hero__aside .btn-row { flex-direction: row; align-items: center; }
  .hero__route { grid-row: 2; }
  .player--hero { grid-row: 3; }
  .hero__facts { grid-column: c-start / c-end; grid-row: 4; padding: 0; margin-top: 40px; }
  .matrix__head, .matrix__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .matrix__head span:first-child, .matrix__row span:first-child { grid-column: 1; }
  .matrix__head span:last-child, .matrix__row span:last-child { grid-column: 2; }
  .notice { margin-left: 0; }
  .process__intro { position: static; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { display: block; }
  .service__panel { grid-row: auto; grid-column: auto; margin-bottom: 8px; border-top: 0; }
  .service__chev { opacity: .6; transform: rotate(90deg); }
  .service__kicker, .service__title { display: none; }
  .service__panel { padding: 22px 20px 26px; }
  .service__tab { color: var(--ink); }
  .service__tab[aria-expanded="true"] .service__chev { transform: rotate(-90deg); }
  .stories { justify-content: start; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
  .hero__route { font-size: 0.68rem; gap: 10px; }
  .hero__line { display: inline; }
  .route__hide-sm { display: none; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .hero__aside .btn-row { flex-direction: column; align-items: stretch; }
  .hero__facts li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: baseline; gap: 12px; padding: 14px 0; }
  .hero__facts li:last-child { border-bottom: 1px solid var(--line-dark); }
  .hero__facts strong { font-size: 1.5rem; }
  .btn-row .btn { width: 100%; }
  .matrix__head { display: none; }
  .matrix__row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 18px; }
  .matrix__row span:first-child, .matrix__row span:last-child { grid-column: 1; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figure + .figure { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .figure--wide { margin-top: 0; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .story--offset { margin-top: 40px; }
  .player__disc--sm { width: 52px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
  .legend__item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact__lines li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .netmap__ticks text { font-size: 14px; }
  .netmap__label { font-size: 24px; }
  .netmap__sub { font-size: 16px; }
  .netmap__de-label { font-size: 14px; }
}

/* ---------- Rechtsseiten ---------- */
.legal-header { background: var(--navy); padding-block: calc(env(safe-area-inset-top, 0px) + 20px) 20px; }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-header img { width: 168px; height: auto; }
.legal-header a.back { color: var(--white); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.legal { padding-block: clamp(48px, 6vw, 96px); }
.legal .wrap { max-width: calc(780px + var(--gutter) + var(--gutter-r)); }
.legal h1 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 650; font-stretch: 108%; line-height: 1.1; margin-bottom: 16px; }
.legal h2 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 650; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: 8px; display: grid; gap: 4px; }
.legal .todo { background: #FFF4CC; padding: 0 4px; }
.legal .draft-note { padding: 16px 20px; background: #FFF4CC; border-left: 3px solid #C99A00; margin-bottom: 32px; font-size: var(--fs-small); }
