@import url("fonts/fonts.css");

:root {
  --tinte: #1f2d33;
  --dunkel: #1b2428;
  --dunkler: #141b1e;
  --grau: #f2f3f3;
  --linie: #dfe3e4;
  --text-leise: #4d5b61;
  --blau: #39b9fb;        /* Logo-Blau, nur auf dunklem Grund oder als Fläche */
  --blau-text: #0b6ea8;   /* Blau für Text auf hellem Grund (Kontrast > 4,5:1) */
  --rund: 20px;
  --breite: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinte);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blau-text); }
a:hover { color: var(--tinte); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.grau { background: var(--grau); }
.dunkel { background: var(--dunkel); color: #dfe8ec; }
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel a { color: var(--blau); }
.vorspann { font-size: 19px; max-width: 46em; color: var(--text-leise); margin-top: 18px; }
.dunkel .vorspann { color: #b9c7cd; }

/* Kopf */
.kopf { background: var(--dunkel); position: sticky; top: 0; z-index: 10; }
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; min-height: 76px; }
.kopf img { height: 54px; width: auto; }
.kopf nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.kopf nav a { color: #e8eef1; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 0; }
.kopf nav a:hover { color: var(--blau); }

/* Bühne */
.buehne { position: relative; min-height: min(82vh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--dunkler); }
.buehne > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,30,0.05) 30%, rgba(20,27,30,0.85) 100%); }
.buehne .rahmen { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); width: 100%; }
.buehne h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; max-width: 15em; }
.buehne p { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin: 22px 0 30px; color: #e8eef1; }
.marke { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blau); margin-bottom: 18px; }

.knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--blau); color: var(--dunkler); font-weight: 700; text-decoration: none; }
.knopf:hover { background: #fff; color: var(--dunkler); }
.knopf.hell { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.knopf.hell:hover { background: #fff; color: var(--dunkler); }
.knopf.tinte { background: var(--tinte); color: #fff; }
.knopf.tinte:hover { background: var(--blau-text); color: #fff; }

/* Einleitung */
.zwei { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.eckdaten { margin: 0; border-top: 2px solid var(--tinte); }
.eckdaten div { padding: 16px 0; border-bottom: 1px solid var(--linie); }
.eckdaten dt { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-leise); }
.eckdaten dd { margin: 2px 0 0; font-weight: 600; }

/* Module */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.karte { background: #fff; border-radius: var(--rund); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.karte .nr { font-size: 44px; font-weight: 800; color: var(--blau-text); line-height: 1; }
.karte p { color: var(--text-leise); margin: 0; flex-grow: 1; }
.karte .wer { font-size: 14px; font-weight: 700; color: var(--tinte); }

/* Basistechnologien */
.basis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.basis img { border-radius: var(--rund); }
.liste { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid #34434a; }
.liste li { padding: 18px 0; border-bottom: 1px solid #34434a; display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 4px 24px; }
.liste strong { color: #fff; }

/* Ergebnisse */
.bilder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.bilder figure { margin: 0; border-radius: var(--rund); overflow: hidden; background: var(--grau); position: relative; }
.bilder figure img { width: 100%; height: 100%; object-fit: cover; }
.bilder figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(20,27,30,0.82); color: #fff; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.b-breit { grid-column: span 8; aspect-ratio: 2 / 1; }
.b-hoch { grid-column: span 4; grid-row: span 2; }
.b-mittel { grid-column: span 4; aspect-ratio: 1 / 1; }
.b-weit { grid-column: span 4; aspect-ratio: 1 / 1; }
.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 40px; }
.zahl { border-top: 2px solid var(--tinte); padding-top: 18px; }
.zahl b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1.05; }
.zahl span { color: var(--text-leise); }
.weiter { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 700; }

/* Veröffentlichungen */
.buecher { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.buch { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; background: #fff; border-radius: var(--rund); padding: 28px; align-items: start; }
.buch img { border-radius: 6px; box-shadow: 0 8px 24px rgba(20,27,30,0.18); }
.buch p { color: var(--text-leise); margin: 8px 0 0; }
.buch .jahr { font-size: 14px; font-weight: 700; color: var(--blau-text); margin: 0 0 6px; }
.hinweis { margin-top: 28px; color: var(--text-leise); }

/* Chronik */
.chronik { list-style: none; margin: 48px 0 0; padding: 0; }
.chronik li { display: grid; grid-template-columns: 9em minmax(0, 46em); gap: 16px 40px; padding: 32px 0; border-top: 1px solid var(--linie); align-items: start; }
.chronik time { font-weight: 800; font-size: 18px; color: var(--blau-text); }
.chronik p { color: var(--text-leise); margin: 8px 0 0; }
.chronik img { border-radius: 14px; margin-top: 20px; max-width: 560px; width: 100%; }

/* Partner */
.gruppenbild { border-radius: var(--rund); margin-top: 48px; width: 100%; }
.gruppe { margin-top: 48px; }
.gruppe h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); margin-bottom: 16px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.logos a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 130px; padding: 22px; background: #fff; border: 1px solid var(--linie); border-radius: 16px; text-decoration: none; color: var(--text-leise); font-size: 13px; font-weight: 600; }
.logos a:hover { border-color: var(--tinte); }
.logos img { max-height: 54px; max-width: 150px; width: auto; }
.logos img.quadrat { max-height: 72px; }
.foerderung { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; margin-top: 56px; padding: 28px 32px; background: #fff; border-radius: var(--rund); border: 1px solid var(--linie); }
.foerderung img { height: 110px; width: auto; }
.foerderung p { margin: 0; flex: 1 1 320px; color: var(--text-leise); }

/* Kontakt */
.kontakt { background: var(--blau); color: var(--dunkler); }
.kontakt .rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 64px; padding-bottom: 64px; }
.kontakt h2 { font-size: clamp(28px, 3vw, 38px); }
.kontakt p { margin: 10px 0 0; font-size: 18px; }
.kontakt .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Fuß */
.fuss { background: var(--dunkler); color: #b9c7cd; font-size: 15px; }
.fuss .rahmen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
.fuss img { height: 36px; width: auto; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { color: #fff; }

/* Rechtstexte */
.recht { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px); }
.recht h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; margin-bottom: 32px; }
.recht h2 { font-size: 22px; margin: 36px 0 10px; }

@media (max-width: 960px) {
  .zwei, .basis, .buecher { grid-template-columns: minmax(0, 1fr); }
  .karten, .zahlen { grid-template-columns: minmax(0, 1fr); }
  .bilder { grid-template-columns: minmax(0, 1fr); }
  .b-breit, .b-hoch, .b-mittel, .b-weit { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .chronik li { grid-template-columns: minmax(0, 1fr); }
  .liste li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .buch { grid-template-columns: 96px minmax(0, 1fr); padding: 20px; }
  .kopf nav { gap: 0 18px; }
}
