@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--fg); text-wrap: balance; }
p { margin: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.grid12 > * { grid-column: 1 / -1; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 0.75rem 1rem;
  border-radius: var(--r-ui);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em;
  color: var(--fg); text-decoration: none; white-space: nowrap;
}
.brand img { width: 19px; height: 20px; position: relative; top: 2px; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.kontakt-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 0.975rem;
  color: var(--fg); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration-hover) ease;
}
.kontakt-link:hover { border-bottom-color: var(--link); }

.kicker {
  font-size: var(--fs-kicker); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--kicker);
}

.hero { padding-block: clamp(2rem, 5vw, 4.5rem) var(--sec-m); }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--gap);
  align-items: end;
}
.hero-title { display: grid; gap: clamp(1rem, 2vw, 1.75rem); padding-bottom: clamp(0.25rem, 1vw, 0.75rem); }
.hero-title h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-stage .barwin { height: min(68vh, 640px); min-height: 420px; }

.barwin { position: relative; aspect-ratio: 102 / 110; container-type: inline-size; }
.barwin__bar { position: absolute; bottom: 0; width: 25.4902%; overflow: hidden; border-radius: 5.8824cqw; background: var(--bar-empty); }
.barwin__bar--1 { left: 0; height: 45.4545%; }
.barwin__bar--2 { left: 37.2549%; height: 72.7273%; }
.barwin__bar--3 { left: 74.5098%; height: 100%; }
.barwin__bar picture { position: absolute; display: block; max-width: none; width: 392.3077%; }
.barwin__bar--1 picture { left: 0; top: -120%; height: 220%; }
.barwin__bar--2 picture { left: -146.1538%; top: -37.5%; height: 137.5%; }
.barwin__bar--3 picture { left: -292.3077%; top: 0; height: 100%; }
.barwin__bar picture img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.barwin--a01 img { object-position: 44% 50%; }
.barwin .ai-badge { right: 2cqw; bottom: 2.2cqw; }
.barwin--animate .barwin__bar { animation: bar-rise 1100ms var(--ease) both; }
.barwin--animate .barwin__bar--2 { animation-delay: 140ms; }
.barwin--animate .barwin__bar--3 { animation-delay: 280ms; }
.barwin--animate .ai-badge { animation: badge-in 400ms ease 1200ms both; }
@keyframes bar-rise { from { clip-path: inset(100% 0 0 0 round 5.8824cqw); } to { clip-path: inset(0 0 0 0 round 5.8824cqw); } }
@keyframes badge-in { from { opacity: 0; } to { opacity: 1; } }

.ai-badge {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 3;
  font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.03em;
  color: #FFFFFF;
  background: var(--scrim);
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-pill);
  pointer-events: none;
}

.konzept { padding-top: var(--sec-m); }
.konzept .grid12 { row-gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.statement {
  font-size: var(--fs-statement); font-weight: 600; line-height: 1.16; letter-spacing: -0.02em;
  color: var(--fg); text-wrap: balance;
}
.konzept-text { color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.55; }

.stage { position: relative; margin-top: var(--sec-m); }
.stage__media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.stage__media picture, .stage__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage__media::before,
.stage__media::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.stage__media::before { top: 0; height: 38%; background: linear-gradient(to bottom, var(--bg), var(--stage-fade) 18%, rgba(10, 24, 38, 0.78) 58%, rgba(10, 24, 38, 0)); }
.stage__media::after { bottom: 0; height: 26%; background: linear-gradient(to top, var(--bg), rgba(10, 24, 38, 0.55) 55%, rgba(10, 24, 38, 0)); }
.stage__text { position: absolute; inset: 0 0 auto 0; z-index: 2; padding-top: clamp(1.5rem, 4vw, 4.5rem); }
.stage__text p {
  font-size: clamp(1.3rem, 2.2vw, 2.4rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em;
  color: var(--fg); max-width: 62ch; text-wrap: balance;
}
.stage .ai-badge { right: max(0.75rem, var(--gutter)); bottom: clamp(0.75rem, 2vw, 1.5rem); }

.projekt { padding-block: var(--sec-l) var(--sec-m); }
.projekt .grid12 { row-gap: clamp(2.5rem, 5vw, 3.5rem); }
.projekt-text { display: grid; gap: clamp(1rem, 2vw, 1.5rem); align-content: start; }
.projekt .label { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--kicker); }
.projekt-gesellschafter { display: grid; gap: 0.25rem; align-content: start; }
.projekt .label--unter { color: var(--fg-2); }
.logo-liste {
  --logo-k: 0.42;
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: calc(156px * var(--logo-k));
  column-gap: calc(48px * var(--logo-k));
}
.logo-liste li { display: flex; align-items: center; }
.logo-liste img { display: block; height: auto; max-width: 100%; }
.logo-liste .lg-basf { width: calc(284px * var(--logo-k)); }
.logo-liste .lg-sap { width: calc(222px * var(--logo-k)); }
.logo-liste .lg-mrn { width: calc(378px * var(--logo-k)); }
.logo-liste .lg-tph { width: calc(304px * var(--logo-k)); }
.logo-liste .lg-tzl { width: calc(335px * var(--logo-k)); }
.logo-liste .lg-next { width: calc(356px * var(--logo-k)); }
.projekt-hub { display: grid; gap: 1rem; align-content: start; color: var(--fg-2); }
.projekt-hub > p:first-child { font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; }
.dehub-logo img { display: block; width: calc(191px * 0.62); height: auto; }
.foerder { display: grid; gap: 0.5rem; margin-top: clamp(1.25rem, 2.5vw, 2rem); font-size: var(--fs-small); line-height: 1.5; }
.foerder-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.foerder-logos img { display: block; box-sizing: content-box; height: auto; padding: 0.4rem 0.55rem; background: var(--band-fg); border-radius: var(--r-media); }
.foerder-logos .lg-foerder-rlp { width: 92px; }
.foerder-logos .lg-foerder-bw { width: 164px; padding-block: 0.95rem; }
.projekt-aus { display: none; }
.projekt-aus + .kontakt { margin-top: var(--sec-m); }

.kontakt { background: var(--band-bg); color: var(--band-fg); padding-block: var(--sec-l); }
.kontakt .grid12 { row-gap: clamp(1.25rem, 2.5vw, 2rem); align-items: end; }
.kontakt .kicker { color: var(--band-link); }
.kontakt-aussage {
  font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--band-fg); max-width: 34ch; text-wrap: pretty;
}
.kontakt .btn-primary { background: var(--band-fg); color: var(--navy); }
.kontakt .btn-primary:hover { background: #FFFFFF; }
.kontakt :focus-visible { outline-color: var(--band-link); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border-radius: var(--r-ui);
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color var(--duration-hover) ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }

@media (min-width: 1024px) {
  .konzept .kicker, .konzept .statement { grid-column: 1 / span 9; }
  .konzept-text { grid-column: 1 / span 6; }
  .projekt .grid12 { row-gap: 2rem; }
  .projekt-text { grid-column: 1 / span 6; grid-row: 1; }
  .projekt-gesellschafter { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .projekt-hub { grid-column: 1 / span 6; grid-row: 2; }
  .kontakt .kicker { grid-column: 1 / span 9; }
  .kontakt-aussage { grid-column: 1 / span 9; }
  .kontakt-aktion { grid-column: 10 / span 3; justify-self: end; }
}
@media (min-width: 600px) {
  .logo-liste { --logo-k: 0.5; }
}
@media (min-width: 1280px) {
  .logo-liste { --logo-k: 0.56; }
}
@media (max-width: 1023px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); row-gap: clamp(2rem, 5vw, 3rem); }
  .hero-stage .barwin { height: auto; min-height: 0; width: min(100%, 460px); }
}
@media (max-width: 1023px) {
  .stage__text { position: static; padding-top: 0; padding-bottom: clamp(1.25rem, 3vw, 2rem); }
  .stage__text p { font-size: clamp(1.3rem, 3.6vw, 1.75rem); max-width: 34ch; }
  .stage__media::before { height: 22%; }
  .stage__media::after { height: 18%; }
}

.site-footer {
  background: var(--bg-mist);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: var(--fs-small);
  color: var(--fg-2);
}
.footer-brand { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--fg); }
.footer-brand img { width: 14px; height: 15px; flex-shrink: 0; position: relative; top: 1px; }
.footer-legal {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 1rem 2rem;
}
.footer-disclaimer { max-width: 70ch; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--fg); }

.page-header { padding-top: var(--sec-m); }
.page-header h1 { font-size: var(--fs-page); line-height: 1.02; letter-spacing: -0.03em; }
.page-header .lede { margin-top: 1rem; font-size: var(--fs-lead); color: var(--kicker); font-weight: 600; }
.page-header + .section { padding-block: clamp(2rem, 4vw, 3rem) var(--sec-m); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2.2em; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h2 + * { margin-top: 0.6em; }
.prose p { color: var(--fg-2); }
.prose strong { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}
