/* ==========================================================================
   OPEN – Innovationscommunity
   Design-System (Overhaul 2026)
   Kein Framework, keine Inline-Styles (strikte CSP: style-src 'self').
   ========================================================================== */

:root {
  /* Flächen */
  --bg: #2a2623;
  --bg-alt: #252119;
  --bg-footer: #211d1b;
  --bg-card-hover: #322d29;
  --bg-inset: #211d1b;

  /* Text */
  --text: #f2ede6;
  --text-2: #d8d2ca;
  --text-3: #c9c2ba;
  --text-4: #bcb5ac;
  --muted: #a9a29a;
  --muted-2: #948d85;
  /* Die beiden hellsten Grautöne wurden gegenüber dem Design minimal
     aufgehellt (#8a837b -> #948d85, #7f786f -> #96908a), damit auch kleine
     Texte WCAG 2.1 AA (4.5:1) auf allen Flächen erfüllen. */
  --muted-3: #948d85;
  --muted-4: #96908a;

  /* Akzent */
  --accent: #fffc00;
  --on-accent: #201c1a;

  /* Linien */
  --line: rgba(242, 237, 230, 0.12);
  --line-2: rgba(242, 237, 230, 0.14);
  --line-strong: rgba(242, 237, 230, 0.32);
  --line-soft: rgba(242, 237, 230, 0.1);

  /* Typo */
  --font-display: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, monospace;

  /* Maße */
  --wrap: 1180px;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(56px, 8vw, 104px);
  --header-h: 69px;
}

/* --------------------------------------------------------------- Basis -- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- Layout --- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.section > .wrap {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}
.section--alt { background: var(--bg-alt); }
.section--flush { border-bottom: 0; }

.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-lead {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  color: var(--text-4);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  max-width: none;
}
.section-head--split > div { max-width: 560px; }

.split-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split-intro__text {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: #c4bdb4;
  align-self: center;
}

/* ------------------------------------------------------------ Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 17px 28px;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, color 0.2s, background-color 0.2s;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:focus-visible { outline-color: var(--text); }

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  font-size: 15px;
  padding: 14px 26px;
}

.text-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 237, 230, 0.3);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ------------------------------------------------------------- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 38, 35, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 20px;
  fill: var(--accent);
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--on-accent);
  background: var(--accent);
  padding: 11px 20px;
  text-decoration: none;
  transition: transform 0.2s;
}
.nav__cta:hover { transform: translateY(-2px); }
.nav__cta:focus-visible { outline-color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(242, 237, 230, 0.22);
  padding: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px var(--pad-x) 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile__link {
  padding: 14px 0;
  font-size: 18px;
  color: #e6e0d8;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 237, 230, 0.08);
}
.nav-mobile__link:last-of-type { border-bottom: 0; }
.nav-mobile__cta {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: var(--on-accent);
  background: var(--accent);
  padding: 14px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  /* ohne JS: Menü dauerhaft ausgeklappt statt toter Button */
  .no-js .nav-toggle { display: none; }
  .no-js .nav-mobile { display: flex; }
}

/* --------------------------------------------------------------- Hero --- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.hero__lion {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(70vw, 900px);
  height: 60%;
  pointer-events: none;
  opacity: 0.9;
  fill: #332e29;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) var(--pad-x) clamp(60px, 9vw, 110px);
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 34px;
}

.hero__title-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  flex-wrap: wrap;
}
.hero__mark {
  width: clamp(96px, 16vw, 220px);
  height: clamp(56px, 9vw, 120px);
  fill: var(--accent);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(84px, 17vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__sub {
  margin: clamp(30px, 5vw, 46px) 0 0;
  max-width: 660px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.45;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 48px);
}

.hero__funding {
  margin: clamp(44px, 6vw, 64px) 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted-4);
  line-height: 1.7;
}

/* Kompakter Seitenkopf für Unterseiten */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) var(--pad-x) clamp(36px, 6vw, 64px);
}
.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-hero__lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--text-2);
}

/* Seitenkopf mit randlosem Gruppenfoto (Community): Foto oben, Titel
   überlappt den ausgeblendeten unteren Bildrand – ein Hero statt zwei. */
.page-hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
}
.page-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1622 / 420;
  object-fit: cover;
  /* Köpfe oben nie beschneiden */
  object-position: center top;
  /* kühles Tageslichtfoto an die warme, dunkle Palette angleichen */
  /* filter: saturate(0.7) sepia(0.12) brightness(0.88); */
}
.page-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* nur unten ausblenden – dort sind nur Knie und Füße */
  background: linear-gradient(to top, var(--bg) 0%, rgba(42, 38, 35, 0.75) 16%, rgba(42, 38, 35, 0) 38%);
}
.page-hero__top {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * clamp(28px, 5vw, 72px));
}
.page-hero__photo + .page-hero__top .page-hero__inner { padding-top: 0; }
@media (max-width: 640px) {
  .page-hero__photo img {
    aspect-ratio: auto;
    height: 230px;
  }
}

/* ------------------------------------------------------- Karten-Raster -- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.tile {
  background: var(--bg);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  transition: background-color 0.3s;
}
.tile:hover { background: var(--bg-card-hover); }
.tile__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
}
.tile__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* -------------------------------------------------------- Hintergrund --- */

.background {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.background__media {
  margin: 0;
  border: 1px solid var(--line);
}
.background__media img {
  display: block;
  width: 100%;
  height: auto;
}
.background__text {
  margin-top: 24px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--text-4);
}
.background__text p { margin: 0 0 16px; }
.background__text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Team --- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.team-card { margin: 0; }
.team-card__photo {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--bg-inset);
  overflow: hidden;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* filter: grayscale(1) contrast(1.02); */
  transition: filter 0.35s, transform 0.35s;
}
.team-card:hover .team-card__photo img {
  filter: none;
  transform: scale(1.02);
}
.team-card__body { margin-top: 16px; }
.team-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.team-card__role {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--accent);
}
.team-card__org {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}
.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.team-card__link:hover { color: var(--accent); }
.icon-linkedin {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}
@media (max-width: 640px) {
  /* Zweispaltig statt einspaltig: einzelne Porträts sollen die Community
     nicht dominieren, sondern als Gruppe wirken. */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .team-card__body { margin-top: 10px; }
  .team-card__name { font-size: 15px; }
  .team-card__role { font-size: 12px; }
  .team-card__org { font-size: 11px; }
  .team-card__link { margin-top: 8px; font-size: 11px; }
}

/* ------------------------------------------------------------- Videos --- */

.video-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
}
.video { margin: 0; display: flex; flex-direction: column; gap: 20px; }

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-inset);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--bg-inset);
  display: block;
}
.video__facade:focus-visible { outline-offset: -3px; }
.video__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 0.3s;
}
.video__facade:hover .video__thumb { opacity: 0.78; }
.video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 29, 27, 0.15), rgba(33, 29, 27, 0.55));
}
.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.video__facade:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }
.video__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 22px solid var(--on-accent);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video__hint {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(33, 29, 27, 0.7);
  padding: 5px 9px;
}
.video__pending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: repeating-linear-gradient(135deg, #241f1c, #241f1c 10px, #211d1b 10px, #211d1b 20px);
}
.video__pending svg {
  width: 64px;
  height: 28px;
  fill: #4a443d;
}
.video__pending span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.video__caption { max-width: 760px; }
.video__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--text);
}
.video__speaker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.video__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-4);
}
.note {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-4);
  max-width: 640px;
}

/* ------------------------------------------------------------ Roadmap --- */

.roadmap-toggle { margin-top: 4px; }
.roadmap-toggle[hidden] { display: none; }

.roadmap {
  --rm-month: 58px;
  --rm-row: 40px;
  --rm-hpd: var(--accent);
  --rm-hpd-band: rgba(255, 252, 0, 0.06);
  --rm-now: #e5322d;
  position: relative;
  margin-top: clamp(32px, 4vw, 44px);
}
.roadmap[hidden] { display: none; }

.roadmap__nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 12px;
}
.roadmap__nav[hidden] { display: none; }
.roadmap__nav-btn {
  min-width: 36px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.roadmap__nav-btn:hover:not(:disabled) { border-color: var(--text); color: var(--text); }
.roadmap__nav-btn:disabled { opacity: 0.35; cursor: default; }
.roadmap__nav-btn[hidden] { display: none; }

.roadmap__scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding-bottom: 10px;
}
.roadmap__scroll::-webkit-scrollbar { height: 8px; }
.roadmap__scroll::-webkit-scrollbar-thumb { background: var(--line-strong); }
.roadmap__scroll::-webkit-scrollbar-track { background: var(--line-soft); }

/* Breite = Monate × Mindestbreite; ein breiterer Container streckt die Monate */
.roadmap__inner {
  width: max-content;
  min-width: 100%;
}

.roadmap__scale,
.roadmap__row {
  display: grid;
  grid-auto-columns: minmax(var(--rm-month), 1fr);
}

/* Kopf: Jahre, Monate, HPD-Fähnchen */
.roadmap__scale {
  grid-template-rows: auto auto 26px;
  margin-bottom: 6px;
}
.roadmap__year {
  grid-row: 1;
  padding: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  border-left: 1px solid var(--line-strong);
}
.roadmap__year span {
  position: sticky;
  left: 0;
  padding: 0 10px;
}
.roadmap__month {
  grid-row: 2;
  padding: 6px 0 6px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-left: 1px solid var(--line-soft);
}
.roadmap__month.is-quarter { border-left-color: var(--line); }
.roadmap__month.is-year { border-left-color: var(--line-strong); }
.roadmap__month.is-hpd { color: var(--rm-hpd); background: var(--rm-hpd-band); }

.roadmap__flag { grid-row: 3; position: relative; z-index: 3; }
.roadmap__flag-tag {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
  padding: 2px 6px;
  background: var(--rm-hpd);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.roadmap__flag-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: var(--rm-hpd);
}
.roadmap__flag-tag.is-past { background: var(--text-2); }
.roadmap__flag-tag.is-past::after { border-top-color: var(--text-2); }
.roadmap__flag-tag:hover,
.roadmap__flag-tag:focus-visible { box-shadow: 0 0 0 2px var(--text); }

/* Heute: roter Punkt im Kopf, Linie durch alle Zeilen */
.roadmap__mark {
  position: relative;
  z-index: 2;
  align-self: stretch;
  pointer-events: none;
}
.roadmap__mark--head { grid-row: 1 / 4; }
.roadmap__now {
  position: absolute;
  top: 0;
  bottom: -6px;
  width: 2px;
  margin-left: -1px;
  background: var(--rm-now);
}
.roadmap__now::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--rm-now);
}

/* Zeilen */
.roadmap__rows {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.roadmap__row {
  grid-template-rows: var(--rm-row);
  align-items: center;
}
.roadmap__row > * { grid-row: 1; }
.roadmap__row:first-child { --rm-row: 46px; }

.roadmap__cell {
  align-self: stretch;
  border-left: 1px solid rgba(242, 237, 230, 0.05);
}
.roadmap__cell.is-quarter { border-left-color: var(--line-soft); }
.roadmap__cell.is-year { border-left-color: var(--line); }
.roadmap__cell.is-hpd { background: var(--rm-hpd-band); }

.roadmap__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
}
.roadmap__line--hpd {
  background: var(--text);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  opacity: 0.75;
}
.roadmap__line--today { background: var(--rm-now); }

.roadmap__bar {
  position: relative;
  z-index: 1;
  height: 24px;
  margin: 0 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  transition: box-shadow 0.2s, filter 0.2s;
}
.roadmap__bar-text {
  position: sticky;
  left: 10px;
  right: 10px;
  padding: 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.roadmap__bar:hover,
.roadmap__bar:focus-visible { box-shadow: 0 0 0 2px var(--text); }

.roadmap__tip[hidden] { display: none; }

/* Positionierung ohne Inline-Styles (CSP), generiert für bis zu 48 Monate (lib/roadmap.js) */
.rm-p0 { left: 5%; } .rm-p1 { left: 15%; } .rm-p2 { left: 25%; } .rm-p3 { left: 35%; }
.rm-p4 { left: 45%; } .rm-p5 { left: 55%; } .rm-p6 { left: 65%; } .rm-p7 { left: 75%; }
.rm-p8 { left: 85%; } .rm-p9 { left: 95%; }
.rm-c1 { grid-column-start: 1; } .rm-c2 { grid-column-start: 2; } .rm-c3 { grid-column-start: 3; } .rm-c4 { grid-column-start: 4; }
.rm-c5 { grid-column-start: 5; } .rm-c6 { grid-column-start: 6; } .rm-c7 { grid-column-start: 7; } .rm-c8 { grid-column-start: 8; }
.rm-c9 { grid-column-start: 9; } .rm-c10 { grid-column-start: 10; } .rm-c11 { grid-column-start: 11; } .rm-c12 { grid-column-start: 12; }
.rm-c13 { grid-column-start: 13; } .rm-c14 { grid-column-start: 14; } .rm-c15 { grid-column-start: 15; } .rm-c16 { grid-column-start: 16; }
.rm-c17 { grid-column-start: 17; } .rm-c18 { grid-column-start: 18; } .rm-c19 { grid-column-start: 19; } .rm-c20 { grid-column-start: 20; }
.rm-c21 { grid-column-start: 21; } .rm-c22 { grid-column-start: 22; } .rm-c23 { grid-column-start: 23; } .rm-c24 { grid-column-start: 24; }
.rm-c25 { grid-column-start: 25; } .rm-c26 { grid-column-start: 26; } .rm-c27 { grid-column-start: 27; } .rm-c28 { grid-column-start: 28; }
.rm-c29 { grid-column-start: 29; } .rm-c30 { grid-column-start: 30; } .rm-c31 { grid-column-start: 31; } .rm-c32 { grid-column-start: 32; }
.rm-c33 { grid-column-start: 33; } .rm-c34 { grid-column-start: 34; } .rm-c35 { grid-column-start: 35; } .rm-c36 { grid-column-start: 36; }
.rm-c37 { grid-column-start: 37; } .rm-c38 { grid-column-start: 38; } .rm-c39 { grid-column-start: 39; } .rm-c40 { grid-column-start: 40; }
.rm-c41 { grid-column-start: 41; } .rm-c42 { grid-column-start: 42; } .rm-c43 { grid-column-start: 43; } .rm-c44 { grid-column-start: 44; }
.rm-c45 { grid-column-start: 45; } .rm-c46 { grid-column-start: 46; } .rm-c47 { grid-column-start: 47; } .rm-c48 { grid-column-start: 48; }
.rm-s1 { grid-column-end: span 1; } .rm-s2 { grid-column-end: span 2; } .rm-s3 { grid-column-end: span 3; } .rm-s4 { grid-column-end: span 4; }
.rm-s5 { grid-column-end: span 5; } .rm-s6 { grid-column-end: span 6; } .rm-s7 { grid-column-end: span 7; } .rm-s8 { grid-column-end: span 8; }
.rm-s9 { grid-column-end: span 9; } .rm-s10 { grid-column-end: span 10; } .rm-s11 { grid-column-end: span 11; } .rm-s12 { grid-column-end: span 12; }
.rm-s13 { grid-column-end: span 13; } .rm-s14 { grid-column-end: span 14; } .rm-s15 { grid-column-end: span 15; } .rm-s16 { grid-column-end: span 16; }
.rm-s17 { grid-column-end: span 17; } .rm-s18 { grid-column-end: span 18; } .rm-s19 { grid-column-end: span 19; } .rm-s20 { grid-column-end: span 20; }
.rm-s21 { grid-column-end: span 21; } .rm-s22 { grid-column-end: span 22; } .rm-s23 { grid-column-end: span 23; } .rm-s24 { grid-column-end: span 24; }
.rm-s25 { grid-column-end: span 25; } .rm-s26 { grid-column-end: span 26; } .rm-s27 { grid-column-end: span 27; } .rm-s28 { grid-column-end: span 28; }
.rm-s29 { grid-column-end: span 29; } .rm-s30 { grid-column-end: span 30; } .rm-s31 { grid-column-end: span 31; } .rm-s32 { grid-column-end: span 32; }
.rm-s33 { grid-column-end: span 33; } .rm-s34 { grid-column-end: span 34; } .rm-s35 { grid-column-end: span 35; } .rm-s36 { grid-column-end: span 36; }
.rm-s37 { grid-column-end: span 37; } .rm-s38 { grid-column-end: span 38; } .rm-s39 { grid-column-end: span 39; } .rm-s40 { grid-column-end: span 40; }
.rm-s41 { grid-column-end: span 41; } .rm-s42 { grid-column-end: span 42; } .rm-s43 { grid-column-end: span 43; } .rm-s44 { grid-column-end: span 44; }
.rm-s45 { grid-column-end: span 45; } .rm-s46 { grid-column-end: span 46; } .rm-s47 { grid-column-end: span 47; } .rm-s48 { grid-column-end: span 48; }

.legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
.legend__item { display: flex; align-items: center; gap: 8px; }
.legend__swatch { width: 20px; height: 10px; background: var(--accent); }
.legend__flag {
  padding: 1px 5px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 600;
}
.legend__today { width: 2px; height: 14px; background: #e5322d; }

@media (max-width: 640px) {
  .roadmap { --rm-month: 48px; --rm-row: 36px; }
}

/* ------------------------------------------------------------ Tooltip --- */

.tooltip {
  position: fixed;
  z-index: 150;
  max-width: min(320px, calc(100vw - 24px));
  padding: 14px 16px;
  background: var(--text);
  color: var(--on-accent);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.tooltip[hidden] { display: none; }
.tooltip p { margin: 0; }
.tooltip__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.tooltip__meta,
.tooltip__hint {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #5c554e;
}
.tooltip p.tooltip__subtitle { margin-top: 2px; font-size: 13px; color: #3d3833; }
.tooltip p.tooltip__text { margin-top: 8px; }
.tooltip p.tooltip__partners { margin-top: 6px; font-size: 12px; line-height: 1.4; }
.tooltip p.tooltip__partners + .tooltip__partners { margin-top: 2px; }
.tooltip__partners span {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c554e;
}
.tooltip p.tooltip__hint { margin-top: 10px; }
.tooltip__list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

/* ---------------------------------------------------------- Aktuelles --- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid rgba(242, 237, 230, 0.2);
  background: transparent;
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}
.news-card {
  position: relative;
  border: 1px solid var(--line-2);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: border-color 0.3s, transform 0.3s;
}
.news-card:hover {
  border-color: rgba(255, 252, 0, 0.5);
  transform: translateY(-4px);
}
.news-card[hidden] { display: none; }
.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.news-card__date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
}
.news-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 4px 9px;
}
.news-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--text);
}
.news-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.news-card__more {
  margin-top: auto;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
}
/* ganze Karte klickbar, Link bleibt Fokus-Ziel */
.news-card__more::after {
  content: "";
  position: absolute;
  inset: 0;
}
.news-empty {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
}

/* ------------------------------------------------------ Artikelseite ---- */

.article {
  max-width: 760px;
}
.article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.article__figure {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--bg-inset);
}
.article__figure img { width: 100%; height: auto; }
.article__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-4);
}
.article__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text);
  margin: 34px 0 12px;
}
.article__body p { margin: 0 0 18px; }
.article__body ul {
  margin: 0 0 18px;
  padding-left: 20px;
}
.article__body li { margin-bottom: 8px; }
.article__body a { color: var(--accent); }
.article__footer {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------------------------- Fördermechanik --- */

.funding-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.funding-head .section-lead { max-width: 560px; }

.funding-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.funding-stat {
  background: var(--bg);
  padding: 18px clamp(16px, 2vw, 22px) 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
.funding-stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
  color: var(--text);
}
.funding-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* Drei Phasen auf einer durchgehenden Zeitachse, der Pitch Day in der Mitte */
.phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
}
.phase {
  display: flex;
  flex-direction: column;
}
.phase__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.phase--key .phase__title { color: var(--accent); }
.phase__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--line-strong);
  padding: 32px clamp(24px, 3.4vw, 44px) 0 0;
}
/* Knoten am Anfang jeder Phase, Pfeilspitze am Ende der Achse */
.phase__body::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 2px solid var(--line-strong);
}
.phase--key .phase__body { border-top-color: var(--accent); }
.phase--key .phase__body::before {
  background: var(--accent);
  border-color: var(--accent);
}
.phase:last-child .phase__body::after {
  content: "";
  position: absolute;
  top: -6px;
  right: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--line-strong);
}

.phase__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.phase-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
}
.phase-step__num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.phase-step__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}
.phase-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.pitch-card { flex: 1; }

/* Rangliste: die oberen Plätze landen über dem Schnitt */
.ranking {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}
.ranking__row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.ranking__rank {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  color: var(--muted-2);
}
.ranking__bar {
  display: block;
  height: 8px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16, 0.7, 0.2, 1) 0.3s;
}
.phases.is-visible .ranking__bar { transform: none; }
.ranking__row:nth-child(1) .ranking__bar { width: 100%; }
.ranking__row:nth-child(2) .ranking__bar { width: 86%; transition-delay: 0.38s; }
.ranking__row:nth-child(3) .ranking__bar { width: 72%; transition-delay: 0.46s; }
.ranking__row:nth-child(4) .ranking__bar { width: 60%; transition-delay: 0.54s; }
.ranking__row:nth-child(6) .ranking__bar { width: 46%; transition-delay: 0.62s; }
.ranking__row:nth-child(7) .ranking__bar { width: 34%; transition-delay: 0.7s; }
.ranking__row:nth-child(n + 6) { opacity: 0.35; }
.ranking__cut {
  display: block;
  margin: 2px 0;
  padding-top: 5px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted-2);
}

.formats { margin-top: clamp(64px, 8vw, 104px); }
.formats__title {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
/* Tandem, Triplett und Quartett teilen sich Laufzeit und Förderrahmen */
.format-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.format-group {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.format-group--span-2 { grid-column: span 2; }
.format-group--span-3 { grid-column: span 3; }
.format-group--span-4 { grid-column: span 4; }
.format-group__variants {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.format {
  padding: 24px clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.format + .format { border-left: 1px solid var(--line); }
.format__dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.format__dots span {
  width: 14px;
  height: 14px;
  background: var(--accent);
}
.format__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.format__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.format-group__terms {
  margin: 0;
  padding: 20px clamp(18px, 2vw, 26px) 24px;
  display: grid;
  gap: 16px;
}
.format-group__terms dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.format-group__terms dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-2);
}
.format-group__subline {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.pitch-cta {
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.pitch-cta__label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.pitch-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  color: var(--text);
}
.pitch-cta__text {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.pitch-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

@media (max-width: 980px) {
  .funding-head { grid-template-columns: minmax(0, 1fr); }
  .funding-stats { max-width: 520px; }
  .phases {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    max-width: 560px;
  }
  .phase__body { padding-right: 0; }
  .phase:last-child .phase__body::after { display: none; }
  .format-groups { grid-template-columns: minmax(0, 1fr); }
  .format-group--span-2,
  .format-group--span-3,
  .format-group--span-4 { grid-column: auto; }
}

/* ----------------------------------------------------------- Partner ---- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.partner {
  background: var(--text);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}
.partner:hover { background: #ffffff; }
.partner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
a.partner:focus-visible { outline-offset: -3px; }

/* ------------------------------------------------------ Partnerkarte --- */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.map-layout__hint {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.partner-map { border: 1px solid var(--line-soft); }
.partner-map__stage {
  position: relative;
  background: var(--bg-inset);
}
.partner-map__svg {
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}
.partner-map.is-zoomed .partner-map__svg {
  cursor: grab;
  touch-action: none;
}
.partner-map.is-dragging .partner-map__svg { cursor: grabbing; }

.partner-map__neighbours {
  fill: rgba(242, 237, 230, 0.035);
  stroke: var(--line-soft);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}
.partner-map__states path {
  fill: rgba(242, 237, 230, 0.07);
  stroke: rgba(242, 237, 230, 0.16);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}
.partner-map__border {
  fill: none;
  stroke: rgba(242, 237, 230, 0.4);
  stroke-width: 1.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.map-pin--cluster { cursor: pointer; }
.map-pin.is-clustered { display: none; }
.map-pin__dot {
  fill: var(--accent);
  stroke: var(--bg-inset);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.2s, transform 0.2s;
}
.map-pin__halo {
  fill: var(--accent);
  opacity: 0.25;
}
.map-pin__count {
  fill: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}
.map-pin__label {
  display: none;
  fill: var(--text-2);
  font-family: var(--font-body);
  font-size: 13px;
  paint-order: stroke;
  stroke: var(--bg-inset);
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}
.partner-map.is-zoomed .map-pin__label { display: inline; }
.map-pin.is-hot .map-pin__label { fill: var(--text); }
.map-pin.is-hot .map-pin__dot {
  fill: var(--text);
  transform: scale(1.2);
}

.partner-map__controls {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.partner-map__controls[hidden] { display: none; }
.map-control {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.map-control--text {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.map-control:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.map-control:disabled {
  opacity: 0.35;
  cursor: default;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line-2);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s;
}
.contact-card:hover { border-color: rgba(255, 252, 0, 0.5); }
.contact-card__photo {
  flex: none;
  width: 76px;
  height: 76px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #332e2a, #332e2a 8px, #2d2824 8px, #2d2824 16px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.contact-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(1); */
}
.contact-card__initials {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--muted-3);
  align-self: center;
}
.contact-card__body { min-width: 0; }
.contact-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
}
.contact-card__role {
  margin: 4px 0 14px;
  font-size: 14px;
  color: var(--accent);
}
.contact-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.contact-card__links a {
  color: var(--text-3);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s;
}
.contact-card__links a:hover { color: var(--accent); }

.info-card {
  border: 1px solid var(--line-2);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.info-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.info-card .btn { align-self: flex-start; margin-top: 6px; }

/* ------------------------------------------------------------ Footer ---- */

.site-footer { background: var(--bg-footer); }
.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand svg {
  width: 48px;
  height: 22px;
  fill: var(--accent);
}
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.footer-claim {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 280px;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-4);
  margin: 0 0 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a,
.footer-social {
  font-size: 14px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-social:hover { color: var(--accent); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-funding {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-funding a {
  display: block;
  background: var(--text);
  padding: 12px 14px;
  transition: background-color 0.2s;
}
.footer-funding a:hover { background: #ffffff; }
.footer-funding img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 88px;
}
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-4);
}
.footer-legal {
  display: flex;
  gap: 26px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

/* -------------------------------------------------------- Fehlerseite --- */

.error-page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 160px) var(--pad-x);
}
.error-page__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 16vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 0 0 20px;
}
.error-page__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 34px);
}
.error-page__text {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--text-4);
  max-width: 520px;
}

/* --------------------------------------------------------- Prose-Seite -- */

.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-4);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin: 32px 0 12px;
}
.prose a { color: var(--accent); }

/* ---------------------------------------------------------- Animation --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.16, 0.7, 0.2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.tile-grid > .tile:nth-child(2),
.team-grid > *:nth-child(2),
.news-grid > *:nth-child(2),
.video-list > *:nth-child(2) { transition-delay: 0.08s; }
.tile-grid > .tile:nth-child(3),
.team-grid > *:nth-child(3),
.news-grid > *:nth-child(3) { transition-delay: 0.16s; }
.tile-grid > .tile:nth-child(4),
.team-grid > *:nth-child(4),
.news-grid > *:nth-child(4) { transition-delay: 0.24s; }
.news-grid > *:nth-child(5) { transition-delay: 0.32s; }
.news-grid > *:nth-child(6) { transition-delay: 0.4s; }
.roadmap__row:nth-child(2) { transition-delay: 0.06s; }
.roadmap__row:nth-child(3) { transition-delay: 0.12s; }
.roadmap__row:nth-child(4) { transition-delay: 0.18s; }
.roadmap__row:nth-child(5) { transition-delay: 0.24s; }
.roadmap__row:nth-child(6) { transition-delay: 0.3s; }
.roadmap__row:nth-child(7) { transition-delay: 0.36s; }

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

/* Fallback: ohne JS bleibt alles sichtbar */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* SVG-Sprite-Container (nicht sichtbar) */
.svg-sprite { display: none; }

/* Artikel: Abstand unter der Überschrift */
.article > .section-title { margin-bottom: clamp(26px, 4vw, 38px); }

/* Logos, die für dunkle Hintergründe gestaltet sind (z. B. invertierte Wortmarken) */
.partner--dark { background: var(--bg-inset); }
.partner--dark:hover { background: var(--bg-card-hover); }
