/* ============================================================
   BAUSTEINE
   Jeder Abschnitt hier gehört zu einem Macro in
   src/_includes/components/ui.njk (gleicher Name).
   ============================================================ */

/* ------------------------------------------------------------
   Kopfzeile
   ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--color-white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  min-height: var(--layout-header-height);
}

/* Logo: Bildmarke + Schriftzug */
.brand {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  color: var(--color-blue);
  text-decoration: none;
}
.brand:hover { color: var(--color-blue); }
.brand__mark { width: 56px; height: 56px; }
.brand__img { height: 64px; width: auto; }
.brand__text {
  font-size: 8px; line-height: 1.05; letter-spacing: .06em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.brand__text strong { display: block; color: var(--color-blue); font-weight: 700; }

.nav { flex: 1; display: flex; align-items: center; gap: var(--space-7); }
.nav__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-2) var(--space-7);
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-size: var(--fs-base);
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--color-navy);
  transform: scaleX(0); transition: transform .15s ease;
}
.nav__link:hover { color: var(--color-navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__meta {
  margin-left: auto;
  display: flex; align-items: center; gap: var(--space-5);
}
.nav__login {
  font-size: var(--fs-base); color: var(--color-blue); text-decoration: none; white-space: nowrap;
}
.nav__login:hover { text-decoration: underline; }

.lang-switch { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.lang-switch a, .lang-switch span {
  display: inline-block; min-width: 32px; padding: 4px 6px;
  font-size: var(--fs-small); font-weight: 700; text-align: center;
  border-radius: var(--layout-radius); text-decoration: none;
}
.lang-switch a { color: var(--color-text-muted); }
.lang-switch a:hover { color: var(--color-navy); background: var(--color-mist); }
.lang-switch [aria-current="true"] { color: var(--color-navy); background: var(--color-mist); }

/* Menü-Umschalter: nur auf schmalen Bildschirmen sichtbar */
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle summary {
  display: flex; align-items: center; gap: var(--space-2);
  list-style: none; cursor: pointer; padding: var(--space-2);
  font-weight: 700;
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
  display: block; width: 22px; height: 2px; background: var(--color-navy); position: relative;
}
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }

@media (max-width: 1240px) {
  .site-header__inner { flex-wrap: wrap; gap: 0; min-height: 80px; }
  .brand__mark { width: 48px; height: 48px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; flex-basis: 100%;
    flex-direction: column; align-items: flex-start; gap: var(--space-5);
    padding: var(--space-4) 0 var(--space-5);
    border-top: 1px solid var(--color-border);
  }
  .nav-toggle[open] + .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .nav__link::after { bottom: 2px; }
  .nav__meta { margin-left: 0; }
}

/* ------------------------------------------------------------
   Hinweisband für Vorlagen-Seiten
   ------------------------------------------------------------ */
.example-notice {
  background: var(--color-sand);
  font-size: var(--fs-small);
  padding-block: var(--space-3);
}
.example-notice p { margin: 0; }

/* ------------------------------------------------------------
   Platzhalterbilder
   Werden automatisch gezeigt, wenn (noch) kein Foto hinterlegt ist.
   ------------------------------------------------------------ */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--color-placeholder);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .35) 14px 15px);
  color: var(--color-placeholder-ink);
  overflow: hidden;
}
.ph__icon { width: 30%; max-width: 64px; min-width: 28px; height: auto; opacity: .9; }
.ph--person .ph__icon { width: 55%; max-width: 120px; }
.ph--logo {
  background-image: none;
  border: 1px dashed var(--color-placeholder-ink);
  background-color: transparent;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; text-align: center; padding: var(--space-3);
}
/* Dunkle Variante: Hintergrund von Aufmachern und Video-Vorschauen */
.ph--dark {
  background-color: #1d2a52;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(61, 125, 225, .35), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .04) 22px 23px);
  color: rgba(255, 255, 255, .35);
}
.ph--dark .ph__icon { position: absolute; right: 24px; top: 24px; width: 48px; min-width: 0; max-width: none; }
.ph--green {
  background-color: #4a6b0a;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(170, 200, 40, .45), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .05) 22px 23px);
  color: rgba(255, 255, 255, .35);
}
.ph--green .ph__icon { position: absolute; right: 24px; top: 24px; width: 48px; min-width: 0; max-width: none; }

.media { display: block; width: 100%; object-fit: cover; }

/* ------------------------------------------------------------
   Aufmacher (Hero) mit Bild und dunkler Überlagerung
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 600px;
  color: var(--color-text-inverse);
  background: var(--color-navy);
  isolation: isolate;
}
.hero--medium { min-height: 520px; }
.hero--short { min-height: 400px; }
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 19, 60, .72) 0%, rgba(10, 19, 60, .45) 55%, rgba(10, 19, 60, .25) 100%);
}
.hero--green::before {
  background: linear-gradient(90deg, rgba(74, 110, 0, .72) 0%, rgba(90, 125, 0, .45) 60%, rgba(60, 84, 0, .3) 100%);
}
.hero__content { padding-block: var(--space-9); max-width: 900px; }
.hero__title { margin-bottom: var(--space-5); color: inherit; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.4; margin-bottom: var(--space-4); }
.hero__lead:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }

/* ------------------------------------------------------------
   Zweispaltige Einleitung: Titel links, Text rechts
   ------------------------------------------------------------ */
.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9);
  align-items: start;
}
.intro-split h2 { margin: 0; max-width: 560px; }
.intro-split__text { font-size: var(--fs-body); line-height: 1.55; }
.intro-split__text p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .intro-split { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ------------------------------------------------------------
   Kennzahlen
   ------------------------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(var(--stats-cols, 3), minmax(0, 1fr));
  gap: var(--space-5);
  list-style: none; margin: var(--space-11) 0 0; padding: 0;
}
.stats--flush { margin-top: 0; }
.stat { border-left: 2px solid var(--color-border); padding: 2px 0 2px var(--space-5); }
.stat__value { display: block; font-size: clamp(2.25rem, 1.8rem + 1.2vw, 3rem); font-weight: 700; line-height: 1.2; }
.stat__label { display: block; font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; margin-top: var(--space-2); }
.section--navy .stat { border-color: var(--color-border-dark); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-7); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Datenband „How do young leaders see the world…“
   (Weltkarte aus Punkten, rein per CSS)
   ------------------------------------------------------------ */
.signals {
  position: relative;
  display: flex; align-items: center;
  min-height: 596px;
  background-color: var(--color-midnight);
  color: var(--color-text-inverse);
  overflow: hidden;
  isolation: isolate;
  /* Grobe Umrisse der Kontinente – Grundlage für Flächen und Punkte */
  --continents:
    radial-gradient(ellipse 11% 19% at 19% 27%, #000 25%, transparent 100%),
    radial-gradient(ellipse 4% 9% at 25% 50%, #000 25%, transparent 100%),
    radial-gradient(ellipse 5.5% 21% at 31% 74%, #000 25%, transparent 100%),
    radial-gradient(ellipse 6% 10% at 51% 24%, #000 25%, transparent 100%),
    radial-gradient(ellipse 7.5% 23% at 54% 62%, #000 25%, transparent 100%),
    radial-gradient(ellipse 17% 18% at 72% 30%, #000 25%, transparent 100%),
    radial-gradient(ellipse 3% 10% at 69% 52%, #000 25%, transparent 100%),
    radial-gradient(ellipse 5% 7% at 82% 56%, #000 25%, transparent 100%),
    radial-gradient(ellipse 5.5% 9% at 88% 80%, #000 25%, transparent 100%);
}
.signals::before, .signals::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: var(--continents);
  mask-image: var(--continents);
}
/* Kontinente als zarte blaue Flächen mit dichtem Punktraster */
.signals::before {
  background:
    radial-gradient(circle, rgba(120, 160, 230, .45) 1.4px, transparent 2px) 0 0 / 13px 13px,
    rgba(25, 72, 151, .35);
}
/* Einzelne größere „Städte“-Punkte */
.signals::after {
  background-image:
    radial-gradient(circle, rgba(200, 220, 250, .75) 3px, transparent 4px),
    radial-gradient(circle, rgba(200, 220, 250, .5) 2.5px, transparent 3.5px);
  background-size: 97px 71px, 61px 113px;
  background-position: 13px 22px, 41px 5px;
}
.signals__content { position: relative; z-index: 1; padding-block: var(--space-10); max-width: 980px; }
.signals h2 { margin-bottom: var(--space-5); }
.signals p { font-size: var(--fs-body); margin-bottom: var(--space-6); }

/* ------------------------------------------------------------
   Karten
   ------------------------------------------------------------ */
/* Weiße Karte mit Schatten (Flagship Collaborations, What we offer) */
.card {
  display: flex; flex-direction: column;
  background: var(--color-white);
  border-radius: var(--layout-radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  color: var(--color-text);
}
.card__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.card__title--s { font-size: var(--fs-h4); }
.card__text { font-size: var(--fs-body); line-height: 1.55; margin-bottom: var(--space-3); }
.card__text:last-child { margin-bottom: 0; }
.card__link { margin-top: auto; }

/* Karte mit Bild oben, ohne Hintergrund (Our Model, Reports, Projekte) */
.media-card { display: flex; flex-direction: column; color: var(--color-text); }
.media-card__media { aspect-ratio: 421 / 240; margin-bottom: var(--space-6); }
.media-card__media--report { aspect-ratio: 248 / 192; margin-bottom: var(--space-5); }
.media-card__media--wide { aspect-ratio: 440 / 164; margin-bottom: var(--space-5); }
.media-card__title { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.media-card__title--s { font-size: var(--fs-h4); line-height: 1.3; margin-bottom: var(--space-2); }
.media-card__title a { color: inherit; text-decoration: none; }
.media-card__title a:hover { text-decoration: underline; }
.media-card__text { font-size: var(--fs-lead); line-height: 1.4; }
.media-card__text--s { font-size: var(--fs-body); line-height: 1.45; }
.media-card__footer { margin-top: auto; padding-top: var(--space-5); }

/* Projektkarte (Hub Projects, Innovation Prize) */
.project-card { display: flex; flex-direction: column; color: var(--color-text); }
.project-card__media { aspect-ratio: 248 / 128; margin-bottom: var(--space-5); }
.project-card__title { font-size: var(--fs-h4); line-height: 1.4; margin-bottom: var(--space-2); }
.project-card__title a { color: inherit; text-decoration: none; }
.project-card__title a::after { content: ""; position: absolute; inset: 0; }
.project-card { position: relative; }
.project-card__title a:hover { text-decoration: underline; }
.project-card__hub { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }
.project-card__text { font-size: var(--fs-base); line-height: 1.5; margin: var(--space-3) 0 0; }
.project-card__link { position: relative; z-index: 1; margin-top: var(--space-3); }

/* ------------------------------------------------------------
   Video-Platzhalter („Driving change“)
   ------------------------------------------------------------ */
.video {
  position: relative; display: block;
  height: clamp(220px, 28vw, 480px);
  background: #000;
  color: var(--color-text-inverse);
  text-decoration: none;
  overflow: hidden;
}
.video .ph { position: absolute; inset: 0; }
.video__title {
  position: absolute; top: var(--space-5); left: var(--space-6); right: var(--space-6);
  font-size: var(--fs-h4); font-weight: 700; margin: 0;
}
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(10, 19, 60, .55); border: 2px solid rgba(255, 255, 255, .85);
  transition: background-color .15s ease;
}
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.video:hover .play { background: var(--color-blue); }
.video__note { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: var(--space-3); }

/* ------------------------------------------------------------
   Global Shapers Show (blaues Band)
   ------------------------------------------------------------ */
.show-card { display: flex; flex-direction: column; }
.show-card__media { aspect-ratio: 310 / 240; margin-bottom: var(--space-6); background: #000; display: flex; align-items: center; }
.show-card__media > * { width: 100%; aspect-ratio: 310 / 174; }
.show-card__media .ph {
  background-color: #5b6be0;
  background-image: radial-gradient(circle at 10% 50%, #36c2f0 0 18%, transparent 19%),
    radial-gradient(circle at 10% 50%, #4f8ff0 0 32%, transparent 33%),
    radial-gradient(circle at 92% 50%, #f07a5a 0 14%, transparent 15%),
    radial-gradient(circle at 92% 50%, #d9708f 0 30%, transparent 31%),
    linear-gradient(90deg, #4aa8f0, #7b5ef0 45%, #e0708a);
  color: rgba(255, 255, 255, .7);
}
.show-card__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.show-card__text { font-size: var(--fs-lead); line-height: 1.4; margin-bottom: var(--space-4); }
.show-card .text-link { color: var(--color-sky); }

/* ------------------------------------------------------------
   Zitate („A few words from our members“)
   ------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9) var(--space-11); }
.quote { position: relative; margin: 0; display: flex; flex-direction: column; }
.quote::before {
  content: "\201C"; position: absolute; left: -32px; top: -44px;
  font-family: Georgia, 'Times New Roman', serif; font-size: 120px; line-height: 1;
  color: var(--color-border);
  z-index: 0;
}
.quote blockquote { position: relative; margin: 0 0 var(--space-10); font-size: var(--fs-lead); line-height: 1.4; }
.quote blockquote p:last-child { margin: 0; }
.quote__person { display: flex; align-items: center; gap: var(--space-4); margin-top: auto; }
.quote__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.quote__name { display: block; font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; }
.quote__meta { display: block; font-size: var(--fs-base); }
.quotes--small blockquote { font-size: var(--fs-body); margin-bottom: var(--space-8); }
.quotes--small .quote__avatar { width: 52px; height: 52px; }
.quotes--small .quote__name { font-size: var(--fs-base); }
.quotes--small .quote__meta { font-size: var(--fs-xs); }
@media (max-width: 800px) {
  .quotes { grid-template-columns: 1fr; }
  .quote::before { left: -8px; }
}

/* ------------------------------------------------------------
   Fotoreihe (Über uns)
   ------------------------------------------------------------ */
.photo-strip {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: 0;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip > * {
  flex: 0 0 auto; scroll-snap-align: start;
  height: clamp(280px, 27vw, 468px);
}
.photo-strip > :nth-child(4n + 1) { aspect-ratio: 300 / 468; }
.photo-strip > :nth-child(4n + 2) { aspect-ratio: 376 / 468; }
.photo-strip > :nth-child(4n + 3) { aspect-ratio: 376 / 468; }
.photo-strip > :nth-child(4n + 4) { aspect-ratio: 582 / 468; }

/* ------------------------------------------------------------
   Personen (Leadership, Team, Projektteam)
   ------------------------------------------------------------ */
.people {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-9) var(--space-5);
  list-style: none; margin: 0; padding: 0;
}
.person { width: 176px; max-width: 100%; margin-inline: auto; }
.person__media { aspect-ratio: 176 / 248; margin-bottom: var(--space-5); }
.person__name { font-size: var(--fs-base); font-weight: 700; margin: 0 0 var(--space-1); line-height: 1.4; }
.person__role { font-size: var(--fs-small); line-height: 1.45; margin: 0; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------
   Großes Abschluss-Band vor dem Footer („Ready to start…“)
   ------------------------------------------------------------ */
.cta-band { background: var(--color-navy); color: var(--color-text-inverse); padding: var(--space-9) 0 var(--space-6); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.cta-band__title { font-size: var(--fs-h3); margin-bottom: var(--space-4); }
.cta-band__text { font-size: var(--fs-body); margin: 0; }
@media (max-width: 700px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------
   Fußzeile
   ------------------------------------------------------------ */
.site-footer { background: var(--color-navy); color: var(--color-text-inverse); }
.site-footer a { color: var(--color-text-inverse); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__top {
  display: flex; justify-content: space-between; gap: var(--space-7);
  padding-block: var(--space-8) var(--space-8);
}
.footer-brand {
  border-left: 2px solid var(--color-sky);
  padding: 2px 0 2px var(--space-3);
  font-size: var(--fs-base); font-weight: 700; line-height: 1.5;
  margin-bottom: var(--space-4);
}
.social-list { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0 0 0 4px; }
.social-list svg { width: 20px; height: 20px; fill: currentColor; }
.footer-nav ul {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-3) var(--space-7);
  list-style: none; margin: 0; padding: 0;
}
.footer-nav a { font-size: var(--fs-base); }
.site-footer__bottom {
  border-top: 1px solid var(--color-border-dark);
}
.site-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 72px; padding-block: var(--space-3);
  font-size: var(--fs-xs);
}
.site-footer__credits { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); color: var(--color-text-inverse-muted); margin: 0; }
.site-footer__wef { font-size: 8px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--color-text-inverse); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) {
  .site-footer__top { flex-direction: column; }
  .footer-nav ul { justify-content: flex-start; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------
   Text + Bild bis zum Rand (Longevity Playbook)
   ------------------------------------------------------------ */
.feature-split {
  display: grid;
  grid-template-columns:
    minmax(var(--layout-gutter), 1fr)
    minmax(0, calc(var(--layout-max-width) / 2))
    minmax(0, calc(var(--layout-max-width) / 2))
    0;
  align-items: center;
  padding-block: var(--space-6);
}
.feature-split__text { grid-column: 2; padding-right: var(--space-9); padding-block: var(--space-8); }
.feature-split__text h2 { font-size: var(--fs-h2-s); }
.feature-split__text p { font-size: var(--fs-body); line-height: 1.5; }
.feature-split__media { grid-column: 3 / 5; height: clamp(300px, 34vw, 582px); }
@media (min-width: 1360px) {
  .feature-split { grid-template-columns: 1fr calc(var(--layout-max-width) / 2) calc(var(--layout-max-width) / 2) 1fr; }
  .feature-split__media { grid-column: 3 / 5; }
}
@media (max-width: 900px) {
  .feature-split { grid-template-columns: var(--layout-gutter) 1fr var(--layout-gutter); }
  .feature-split__text { grid-column: 2; padding-right: 0; }
  .feature-split__media { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------
   Aufklapp-Karussell („Featured Flagship Collaborations“)
   Ohne JavaScript per Klick auf die Karte (Radio-Buttons),
   mit JavaScript zusätzlich über die Pfeile.
   ------------------------------------------------------------ */
.panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-6);
}
.panel__title { font-size: var(--fs-h4); margin-bottom: var(--space-5); }
.expander { display: flex; gap: var(--space-2); height: 400px; }
.expander__item {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: 6px; overflow: hidden;
  color: var(--color-text-inverse);
  transition: flex-grow .35s ease;
}
.expander__item:has(input:checked) { flex-grow: 3.1; }
.expander__item input { position: absolute; opacity: 0; pointer-events: none; }
.expander__label { position: absolute; inset: 0; cursor: pointer; z-index: 2; }
.expander__item:has(input:checked) .expander__label { display: none; }
.expander__item:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.expander__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.expander__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 19, 60, .05) 30%, rgba(10, 19, 60, .8) 100%);
}
.expander__num {
  position: absolute; top: 0; left: 0; z-index: 1;
  min-width: 40px; padding: 8px 10px;
  background: var(--color-white); color: var(--color-navy);
  font-size: var(--fs-small); font-weight: 700; text-align: center;
  border-bottom-right-radius: 8px;
}
.expander__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: var(--space-5);
}
.expander__title { font-size: var(--fs-h4); margin: 0; overflow: hidden; text-overflow: ellipsis; }
.expander__more { display: none; gap: var(--space-5); align-items: flex-end; margin-top: var(--space-3); }
.expander__more p { font-size: var(--fs-small); line-height: 1.6; margin: 0; max-width: 340px; }
.expander__item:has(input:checked) .expander__more { display: flex; }
.carousel-nav { display: flex; justify-content: flex-end; gap: var(--space-4); margin-top: var(--space-5); }
.carousel-nav button {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: none; border: 0; border-radius: 50%; color: var(--color-navy);
}
.carousel-nav button:hover { background: var(--color-mist); }
.carousel-nav button[disabled] { opacity: .35; cursor: default; }
.carousel-nav svg { width: 20px; height: 20px; }
.no-js .carousel-nav { display: none; }
@media (max-width: 800px) {
  .expander { flex-direction: column; height: auto; }
  .expander__item { flex: none; height: 96px; transition: none; }
  .expander__item:has(input:checked) { height: 380px; }
  .expander__more { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------
   Projektfilter (Hub Projects)
   ------------------------------------------------------------ */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-9);
}
.filters__search { position: relative; flex: 0 1 260px; }
.filters__search svg { position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--color-navy); }
.filters__search input {
  width: 100%; height: 36px; padding: 0 16px 0 36px;
  border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--color-white); font-size: var(--fs-small);
}
.filters__divider { width: 1px; height: 24px; background: var(--color-border); }
.filters select {
  height: 32px; padding: 0 32px 0 16px;
  border: 0; border-radius: var(--radius-pill);
  background: var(--color-border) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%230A133C' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  appearance: none; font-size: var(--fs-small);
}
.filters__sort { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); font-weight: 700; }
.filters__sort select { background-color: transparent; padding-left: 4px; font-weight: 700; font-size: var(--fs-xs); }
.no-js .filters { display: none; }
.filters-empty { font-size: var(--fs-body); }
.show-more { display: flex; justify-content: center; margin-top: var(--space-8); }
.show-more .btn { background: var(--color-border); color: var(--color-navy); }

/* ------------------------------------------------------------
   Insights: Beiträge-Mosaik und Videos
   ------------------------------------------------------------ */
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8) var(--space-5); }
.story { position: relative; display: flex; flex-direction: column; }
.story__media { aspect-ratio: 248 / 128; margin-bottom: var(--space-4); }
.story--wide { grid-column: span 2; }
.story--wide .story__media { aspect-ratio: 516 / 128; }
.story__title { font-size: var(--fs-h4); line-height: 1.4; font-weight: 400; margin: var(--space-2) 0 var(--space-3); }
.story__title a { color: inherit; text-decoration: none; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story__title a:hover { text-decoration: underline; }
.story__meta { display: flex; align-items: center; gap: var(--space-4); font-size: var(--fs-small); margin: 0; }
.story__meta span + span { border-left: 1px solid var(--color-navy); padding-left: var(--space-4); }
.story__meta .story__read { color: var(--color-blue); }
/* Aufmacher-Beitrag: großes Bild mit weißem Textkasten */
.story--lead { grid-column: span 2; grid-row: span 1; min-height: 318px; }
.story--lead .story__media { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; }
.story--lead .story__box {
  position: relative; z-index: 1;
  margin: auto auto var(--space-6) var(--space-5);
  width: min(424px, 80%);
  background: var(--color-white); padding: var(--space-5);
}
@media (max-width: 1100px) {
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stories { grid-template-columns: 1fr; }
  .story--wide, .story--lead { grid-column: auto; }
}

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: var(--space-2);
  margin-right: calc(-1 * max(var(--layout-gutter), (100vw - var(--layout-max-width)) / 2));
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 min(420px, 80vw); scroll-snap-align: start; }

.video-card { position: relative; display: flex; flex-direction: column; }
.video-card__media { position: relative; aspect-ratio: 420 / 240; margin-bottom: var(--space-4); }
.video-card__media .ph { height: 100%; }
.video-card .play { left: 24px; top: auto; bottom: 20px; transform: none; width: 48px; height: 48px; border-width: 1.5px; }
.video-card .play svg { width: 18px; height: 18px; }
.video-card__duration {
  position: absolute; right: 16px; bottom: 16px;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(10, 19, 60, .8); color: var(--color-text-inverse);
  font-size: var(--fs-small); font-weight: 700;
}
.video-card__title { font-size: var(--fs-h4); line-height: 1.4; font-weight: 400; margin: var(--space-2) 0 0; }
.video-card__title a { color: inherit; text-decoration: none; }
.video-card__title a::after { content: ""; position: absolute; inset: 0; }
.video-card__title a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   Partner
   ------------------------------------------------------------ */
.logo-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5);
  list-style: none; margin: var(--space-11) 0 0; padding: 0;
  align-items: center;
}
.logo-row li { display: flex; justify-content: center; }
.logo-row .ph--logo, .logo-row img { width: 160px; height: 80px; object-fit: contain; }
@media (max-width: 700px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------
   Innovation Prize
   ------------------------------------------------------------ */
.prize-card { padding: var(--space-6); }
.prize-card__amount { display: block; font-size: var(--fs-h2-s); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-3); }
.prize-card dl { margin: 0; font-size: var(--fs-body); }
.prize-card dt { font-weight: 700; margin-top: var(--space-3); }
.prize-card dd { margin: 0; }
.offer { display: flex; flex-direction: column; }
.offer__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-blue); color: var(--color-text-inverse); font-weight: 700;
  margin-bottom: var(--space-5);
}
.winners-compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); list-style: none; margin: 0; padding: 0; }
.winners-compact li { border-left: 2px solid var(--color-border); padding-left: var(--space-4); }
.winners-compact__hub { display: block; font-size: var(--fs-small); color: var(--color-text-muted); }
.winners-compact a { font-weight: 700; color: var(--color-navy); text-decoration: none; }
.winners-compact a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .winners-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .winners-compact { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Artikel (Vorlage nach weforum.org/stories, im Shapers-Design)
   ------------------------------------------------------------ */
.article-head { padding-block: var(--space-9) var(--space-6); }
.article-head h1 { font-size: clamp(2.125rem, 1.5rem + 2vw, 3.5rem); max-width: 1040px; margin: var(--space-3) 0 var(--space-5); }
.article-head__date { font-size: var(--fs-base); font-weight: 700; margin: 0; }
.article-figure { margin-block: 0 var(--space-9); }
.article-figure__media { aspect-ratio: 16 / 7; }
.article-figure figcaption { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: var(--space-3); max-width: 864px; }
.article-layout {
  display: grid; grid-template-columns: 264px minmax(0, var(--layout-prose-width));
  gap: var(--space-10); align-items: start;
}
.article-aside { position: sticky; top: var(--space-5); display: grid; gap: var(--space-6); font-size: var(--fs-small); }
.author { display: flex; gap: var(--space-3); align-items: center; }
.author__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author__name { display: block; font-size: var(--fs-base); font-weight: 700; }
.author__role { display: block; color: var(--color-text-muted); line-height: 1.4; }
.aside-block__label { display: block; color: var(--color-text-muted); margin-bottom: var(--space-1); }
.aside-block a { font-weight: 700; text-decoration: none; }
.share-list { display: flex; gap: var(--space-3); list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.share-list a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-border); color: var(--color-navy);
}
.share-list a:hover { border-color: var(--color-navy); }
.share-list svg { width: 16px; height: 16px; fill: currentColor; }
.key-points { background: var(--color-sand); padding: var(--space-6); margin-bottom: var(--space-8); border-radius: var(--layout-radius); }
.key-points h2 { font-size: var(--fs-tag); letter-spacing: .08em; text-transform: uppercase; color: var(--color-blue); margin-bottom: var(--space-4); }
.key-points ul { margin: 0; padding-left: 1.2em; font-size: var(--fs-body); line-height: 1.5; }
.key-points li + li { margin-top: var(--space-3); }
.prose { font-size: var(--fs-lead); line-height: 1.6; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-5); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-8); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--space-6); }
.prose li + li { margin-top: var(--space-2); }
.prose blockquote { margin: var(--space-6) 0; padding-left: var(--space-5); border-left: 4px solid var(--color-blue); font-size: var(--fs-h4); font-weight: 700; }
.prose .callout, .callout {
  border-left: 4px solid var(--color-blue);
  background: var(--color-mist);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-7) 0;
  font-size: var(--fs-body);
}
.callout__label { display: block; margin-bottom: var(--space-3); }
.callout ul { margin: 0; padding-left: 1.1em; }
.callout a { font-weight: 700; }
.license-note { font-size: var(--fs-small); color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: var(--space-5); margin-top: var(--space-8); }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: var(--space-7); }
  .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* ------------------------------------------------------------
   Projektseite
   ------------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.chip {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4);
  font-size: var(--fs-small); font-weight: 700;
}
.chip--light { background: var(--color-mist); border-color: var(--color-border); color: var(--color-navy); }
.chip--status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #4fcc88; vertical-align: 1px; }

.facts-bar { background: var(--color-navy); color: var(--color-text-inverse); }
.facts-bar dl {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-5); margin: 0; padding-block: var(--space-7);
}
.facts-bar div { border-left: 2px solid var(--color-border-dark); padding-left: var(--space-4); }
.facts-bar dt { font-size: var(--fs-small); color: var(--color-text-inverse-muted); }
.facts-bar dd { margin: 2px 0 0; font-size: var(--fs-h4); font-weight: 700; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.kpi { background: var(--color-white); border-radius: var(--layout-radius); box-shadow: var(--shadow-card); padding: var(--space-6) var(--space-5); }
.kpi__value { display: block; font-size: clamp(2.25rem, 1.8rem + 1.2vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--color-blue); }
.kpi__label { display: block; font-size: var(--fs-body); font-weight: 700; margin-top: var(--space-2); }
.kpi__target { display: block; font-size: var(--fs-small); color: var(--color-text-muted); margin-top: var(--space-4); }
.kpi__bar { height: 6px; border-radius: var(--radius-pill); background: var(--color-border); margin-top: var(--space-2); overflow: hidden; }
.kpi__bar span { display: block; height: 100%; background: var(--color-blue); border-radius: inherit; }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-10); align-items: start; }
.project-layout .prose { max-width: var(--layout-prose-width); }
.fact-card { position: sticky; top: var(--space-5); }
.fact-card dl { margin: 0; }
.fact-card div + div { border-top: 1px solid var(--color-border); }
.fact-card div { padding-block: var(--space-3); }
.fact-card dt { font-size: var(--fs-small); color: var(--color-text-muted); }
.fact-card dd { margin: 2px 0 0; font-size: var(--fs-base); font-weight: 700; }
.fact-card dd ul { list-style: none; padding: 0; margin: 0; font-weight: 400; }
.fact-card .chips { margin-top: var(--space-2); }
.fact-card .btn { width: 100%; margin-top: var(--space-5); }
@media (max-width: 1000px) {
  .project-layout { grid-template-columns: 1fr; }
  .fact-card { position: static; }
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--color-border); }
.timeline li { position: relative; padding: 0 0 var(--space-6) var(--space-7); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-white); border: 3px solid var(--color-blue);
}
.timeline li.is-done::before { background: var(--color-blue); }
.timeline__date { display: block; font-size: var(--fs-small); font-weight: 700; color: var(--color-blue); }
.timeline__title { display: block; font-size: var(--fs-h4); font-weight: 700; margin: 2px 0 var(--space-1); }
.timeline p { font-size: var(--fs-body); margin: 0; max-width: 640px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.gallery li:first-child { grid-row: span 2; }
.gallery li > * { width: 100%; height: 100%; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ------------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: .6; }
.breadcrumb a { color: inherit; }
.hero .breadcrumb { margin-bottom: var(--space-5); }

/* ------------------------------------------------------------
   Einfache Textseiten (Kontakt, Mitglied werden, Rechtliches)
   ------------------------------------------------------------ */
.page-body { display: grid; grid-template-columns: minmax(0, var(--layout-prose-width)) minmax(0, 1fr); gap: var(--space-10); }
.page-body .prose { font-size: var(--fs-body); }
.page-body--single { grid-template-columns: minmax(0, var(--layout-prose-width)); }
@media (max-width: 1000px) { .page-body { grid-template-columns: 1fr; } }
.notice { background: var(--color-sand); border-left: 4px solid var(--color-blue); padding: var(--space-5); margin-bottom: var(--space-7); font-size: var(--fs-base); }
.notice p:last-child { margin: 0; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-5); margin: 0 0 var(--space-6); }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; }

/* Formulare */
.form { display: grid; gap: var(--space-5); }
.form__label { display: block; font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--space-2); }
.form__input, .form__textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--color-border); border-radius: var(--layout-radius);
  background: var(--color-white); font-size: var(--fs-base);
}
.form__input:focus, .form__textarea:focus { border-color: var(--color-blue); outline: 2px solid var(--color-blue); outline-offset: 0; }
.form__textarea { min-height: 160px; resize: vertical; }
.form__check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-small); }
.form__check input { margin-top: 3px; }
.form__hint { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }
.form .btn { justify-self: start; }
