/* Founders Club Frankfurt – Design-System */

/* Schriften liegen in fonts/, damit beim Seitenaufruf keine Verbindung zu Google entsteht.
   Inter und Instrument Serif stehen unter der SIL Open Font License (fonts/OFL-*.txt).
   Kein <link rel="preload"> dafür: Safari lässt vorab geladene Schriften beim Öffnen
   per Doppelklick (file://) scheitern, der Text fällt dann auf eine Ersatzschrift zurück. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0B1531;
  --bg-deep: #060D1F;
  --surface: #0E1B3F;
  --yellow: #F5E003;
  --white: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.18);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gap: 18px;
  --block-s: 30px;
  --block-m: 44px;
  --block-l: 64px;
  --section: 120px;
  --edge: 72px;
  --max: 1280px;
  --radius-img: 6px;
}

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

html { scroll-behavior: smooth; scrollbar-gutter: stable; }   /* Platz für die Scrollleiste bleibt, auch während des Scroll-Stopps im Hero */

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section.bootcamp, .bootcamp + .section, .section.tight-top { padding-top: var(--section); }
.section.no-top { padding-top: 0; }

/* Typografie */

h1, h2, h3 { margin: 0; font-weight: 400; }

h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.5vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}

h1 em, .h1-accent {
  display: block;
  font-style: italic;
  color: var(--yellow);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: var(--block-m);
}

h3 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  max-width: 34ch;
}

.muted { color: var(--text-2); }
.small { font-size: 0.9rem; color: var(--text-3); }

.date {
  color: var(--yellow);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Buttons & Links */

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--block-s); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { background: transparent; color: var(--white); }

.btn-secondary { background: transparent; color: var(--white); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--white); }

/* Der Mitglied-werden-Button im Header ist gelb */
.nav .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.nav .btn-primary:hover { background: transparent; color: var(--yellow); }

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.link-arrow:hover { border-color: var(--yellow); }

/* Fotos: einheitlich gedimmt */

.photo {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}

/* Akzentlinie über Inhaltsblöcken */

.block { border-top: 3px solid var(--yellow); padding-top: var(--gap); }

/* Navigation */

/* Oben verschmilzt der Header mit der Seite. Beim Scrollen wird er durchscheinend
   mit Weichzeichner und läuft nach unten weich aus statt mit harter Linie. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 49, 0);
  transition: background-color 0.3s ease;
}
.nav::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 100%;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(to bottom, rgba(11, 21, 49, 0.7), rgba(11, 21, 49, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav.scrolled {
  background: rgba(11, 21, 49, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav.scrolled::after { opacity: 1; }
.nav.open { background: var(--bg); transition: none; }

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo { flex: none; display: block; }
.logo img { display: block; width: auto; height: 46px; }
.footer .logo img { height: 52px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); border-color: var(--yellow); }

.nav .btn { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--bg) 8%, rgba(11, 21, 49, 0.82) 45%, rgba(11, 21, 49, 0.45) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;               /* ganz im Bereich, damit unter dem Header keine Kante entsteht */
  right: -10%;
  width: 70%;
  height: 80%;
  z-index: 1;
  background: radial-gradient(closest-side, rgba(245, 224, 3, 0.1), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 88px; padding-top: 140px; }
.hero h1 { margin-bottom: var(--block-s); }

/* Einfacher Seitenkopf ohne Vollbild-Foto */

.page-head { position: relative; padding: 120px 0 var(--block-l); overflow: hidden; }
.page-head::after {
  content: "";
  position: absolute;
  top: 0;               /* ganz im Bereich, damit unter dem Header keine Kante entsteht */
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(245, 224, 3, 0.1), transparent);
  pointer-events: none;
}
.page-head h1 { margin-bottom: var(--block-s); }

/* Zahlenleiste */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span { color: var(--text-2); font-size: 0.98rem; }

/* Raster */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--block-m) var(--block-l); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--block-m) var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--block-m) var(--gap); }

/* „Was wir machen“: Bildkarten, beim Drüberfahren tritt der Rest zurück */

.reveal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.reveal-card {
  position: relative;
  aspect-ratio: 9 / 10;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--surface);
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}
.reveal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}
.reveal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 31, 0.9), rgba(6, 13, 31, 0.45) 45%, transparent 75%);
}
.reveal-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; }
.reveal-card h3 { margin: 0 0 6px; }
.reveal-card p { margin: 0; color: var(--text-2); font-size: 0.98rem; max-width: 34ch; }
@media (hover: hover) and (min-width: 861px) {
  .reveal-cards:hover .reveal-card { transform: scale(0.97); opacity: 0.6; filter: blur(2px); }
  .reveal-cards .reveal-card:hover { transform: scale(1.05); opacity: 1; filter: none; z-index: 1; }
}

/* Kleinere Bildschirme: untereinander, etwas flacher, damit die drei Karten nicht zu lang werden */
@media (max-width: 860px) {
  .reveal-cards { grid-template-columns: 1fr; }
  .reveal-card { aspect-ratio: 3 / 2; min-height: 220px; }  /* Platz für den Text auf sehr kleinen Handys */
}

/* Events */

.events { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.event-cover {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: var(--surface);
}
.event .date { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.event h3 { margin: 0 0 2px; font-size: 1.25rem; }
.event p { margin: 0; color: var(--text-3); font-size: 0.95rem; }
.event:hover .link-arrow { border-color: var(--yellow); }
.event.is-past { opacity: 0.6; }
.event.is-past:hover { opacity: 1; }
.events-empty { margin: 0; padding: 26px 0; color: var(--text-2); border-bottom: 1px solid var(--line); }
.events-label { margin: var(--block-s) 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: 0.9rem; }
.events-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: var(--block-s); }

/* Bootcamp */

/* Weicher Übergang vom Navy ins Dunkle und, wenn danach wieder Navy kommt, zurück */
.bootcamp {
  position: relative;
  background: linear-gradient(to bottom, var(--bg), var(--bg-deep) 240px);
  overflow: hidden;
}
.bootcamp + .section { background: linear-gradient(to bottom, var(--bg-deep), var(--bg) 240px); }
.bootcamp::after {
  content: "";
  position: absolute;
  top: 0;               /* Lichtschein ganz im Block, damit oben keine Kante entsteht */
  right: -15%;
  width: 70%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(245, 224, 3, 0.1), transparent);
  pointer-events: none;
}
.bootcamp .container { position: relative; z-index: 1; }
.bootcamp h2 { margin-bottom: var(--block-s); }
.bootcamp-text { max-width: 54ch; color: var(--text-2); margin-top: 18px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--block-m);
  border-top: 1px solid var(--line);
}
.fact { padding: 20px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact span { display: block; color: var(--text-3); font-size: 0.9rem; margin-bottom: 4px; }
.fact strong { font-size: 1.3rem; font-weight: 600; }
.fact strong.date { font-size: 1.3rem; }

/* Zwei Wege */

.paths h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; margin-bottom: 14px; }
.paths p { color: var(--text-2); max-width: 40ch; margin-bottom: 22px; }
/* Beide Wege zeilengleich: Überschrift, Text und Button stehen auf einer Höhe */
.grid-2.paths { row-gap: 0; }
.paths > .block { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.paths > .block > .btn { justify-self: start; align-self: start; }
@media (max-width: 860px) {
  .paths > .block + .block { margin-top: var(--block-m); }
}

/* Partner-Logos */

/* Partner-Logos: ohne JS ein Raster, mit js/logo-cloud.js eine drehende Kugel */

.logo-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 44px;
}
.logo-cloud img { display: block; max-width: none; -webkit-user-drag: none; user-select: none; }
.logo-cloud.is-cloud {
  position: relative;
  isolation: isolate;   /* Logos bleiben unter dem Header */
  display: block;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin-inline: auto;
  touch-action: pan-y;
}
.logo-cloud.is-cloud li {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: var(--o, 1);
  will-change: transform, opacity;
  cursor: pointer;
}
.logo-cloud.is-cloud li:hover { opacity: 1; }

/* Logo-Laufband auf der Startseite: ohne JS ein Raster, mit js/main.js ein Band */

.partners-home { text-align: center; }
.partners-home h2 { margin-bottom: 0; }
.partners-home h2 span { display: block; color: var(--text-3); }

.fade-line {
  height: 1px;
  background: var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, #000, transparent);
  mask-image: linear-gradient(to right, transparent, #000, transparent);
}
.fade-line.short { max-width: 380px; margin: var(--block-s) auto 0; }

.logo-marquee { overflow: hidden; padding: 36px 0; }
.logo-marquee ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logo-marquee img { display: block; max-width: none; opacity: 0.8; user-select: none; pointer-events: none; }

.logo-marquee.is-moving {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}
.logo-marquee.is-moving .logo-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.logo-marquee.is-moving ul { flex-wrap: nowrap; padding-right: 42px; }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.logo-slot {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85rem;
}

/* Text + Bild nebeneinander */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--block-l); align-items: center; }
.split .photo { aspect-ratio: 4 / 3; }

/* Stufen-Vergleich */

.tier ul { list-style: none; margin: 18px 0 0; padding: 0; }
.tier li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.tier li:first-child { border-top: 1px solid var(--line); }
.tier > p { color: var(--text-2); }

/* Beide Arten mitzumachen zeilengleich: Bild, Titel, Satz und Liste stehen auf einer Höhe */
.grid-2.tiers { row-gap: 0; }
.tiers .tier { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
.tiers .tier > p { margin: 0; }
@media (max-width: 860px) {
  .tiers .tier + .tier { margin-top: var(--block-m); }
}

/* Ablauf */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3::before { content: counter(step) ". "; color: var(--yellow); }
.steps p { color: var(--text-2); font-size: 1rem; }

/* Hinweis-Box */

.note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 40px;
  padding: 32px 36px;
  background: var(--surface);
  border-top: 3px solid var(--yellow);
}
.note p { margin: 0; font-size: 1.2rem; font-weight: 600; max-width: 44ch; }

/* FAQ */

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 22px; max-width: 64ch; }

/* Formulare */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--gap); max-width: 860px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .opt { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--white) 50%), linear-gradient(135deg, var(--white) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.form .btn { justify-self: start; }
.form-done { display: none; grid-column: 1 / -1; padding: 22px 24px; background: var(--surface); border-top: 3px solid var(--yellow); }
.form.sent .form-done { display: block; }
.form.sent .field, .form.sent .btn, .form.sent .form-error { display: none; }
.form [hidden] { display: none; }

.choice { margin: 0; padding: 0; border: 0; gap: 12px; }
.choice legend { margin-bottom: 12px; padding: 0; font-weight: 600; font-size: 0.95rem; }
.choice label { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 1rem; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--yellow); }

.form-error { grid-column: 1 / -1; margin: 0; color: var(--text-2); }
.form-error a { color: var(--white); }
.form .btn:disabled { opacity: 0.6; cursor: wait; }

/* Spam-Falle: für Menschen unsichtbar, Bots füllen sie aus */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-direct p { margin: 0 0 8px; }

/* Kontaktperson */

.person { display: flex; gap: 20px; align-items: center; }
.avatar {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-img);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--text-3);
}
.person p { margin: 0; color: var(--text-2); }
.person strong { display: block; color: var(--white); }

/* Team */

.team .photo { display: block; height: auto; aspect-ratio: 4 / 5; margin-bottom: 16px; }
.team h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team p { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* Zeitleiste */

.timeline { border-top: 1px solid var(--line); max-width: 960px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline .date { font-size: 1.3rem; }
.timeline p { margin: 0; color: var(--text-2); }

/* Footer */

.footer { background: var(--bg-deep); padding: var(--block-l) 0 40px; font-size: 0.95rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: var(--block-m); border-bottom: 1px solid var(--line); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; color: var(--text-3); }

/* Responsive */

@media (max-width: 1080px) {
  :root { --edge: 40px; --section: 96px; }
  .nav-links { gap: 22px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --edge: 20px; --section: 72px; --block-l: 44px; --block-m: 32px; }
  body { font-size: 17px; }

  .nav-toggle { display: block; }
  .nav .container { height: 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--yellow); }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 0.9rem; }

  .hero { min-height: 82vh; }
  .hero .container { padding-bottom: 56px; }
  .page-head { padding-top: 72px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .event { grid-template-columns: 72px 1fr; align-items: start; gap: 6px 18px; }
  .event-cover { width: 72px; height: 72px; grid-row: span 2; }
  .event .link-arrow { justify-self: start; margin-top: 6px; }

  .form { grid-template-columns: 1fr; }
  .note { padding: 26px 22px; }
}

@media (max-width: 520px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .nav .logo img { height: 38px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

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

.tier .photo { aspect-ratio: 16 / 10; margin-bottom: 24px; }
.lead + p { margin-top: 18px; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.tall { aspect-ratio: 3 / 4; }
.grid-2.tight { gap: var(--gap); }
/* Zwei Fotos bleiben auch am Handy nebeneinander */
@media (max-width: 860px) {
  .grid-2.photo-pair { grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
  .photo-pair .photo { aspect-ratio: 1; }
  .photo-pair .photo.tall { aspect-ratio: 3 / 4; }
  .tier .photo { aspect-ratio: 2 / 1; }
}
.contact { align-items: start; }
.page-head .split h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--block-s) var(--gap); max-width: 1000px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
.btn { white-space: nowrap; }

/* Scroll-Hero: Fotos im Kreis, beim Scrollen ein Bogen (js/morph-hero.js) */

:root { --nav-h: 76px; }
@media (max-width: 860px) { :root { --nav-h: 64px; } }

/* 80vh Scrollweg: die ersten 40 % verformen, der Rest hält Bogen und Text im Bild */
.morph-hero { position: relative; height: calc(180vh - var(--nav-h)); }

.morph-sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
}
.morph-sticky::before {
  content: "";
  position: absolute;
  top: 0;               /* ganz im Bereich, damit unter dem Header keine Kante entsteht */
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(245, 224, 3, 0.1), transparent);
  pointer-events: none;
}

/* Fotos: liegen alle in der Mitte, das Script verteilt sie */
.morph-stage { position: absolute; inset: 0; z-index: 1; }
.morph-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 85px;
  margin: -42.5px 0 0 -30px;
  opacity: 0;
  perspective: 1000px;
  cursor: pointer;   /* ohne will-change: damit zeichnet der Browser die vergrößerten Fotos unscharf */
}
.morph-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.morph-card:hover .morph-card-inner { transform: rotateY(180deg); }
.morph-card img,
.morph-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-img);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.morph-card img {
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
  user-select: none;
  -webkit-user-drag: none;
}
.morph-card-back {
  display: grid;
  place-items: center;
  padding: 4px;
  transform: rotateY(180deg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--yellow);
  font: 600 8px/1.2 var(--sans);
  text-align: center;
}

/* Texte über den Fotos: erst die Aussage im Kreis, dann oben die zweite mit Buttons */
.morph-text { position: relative; z-index: 2; height: 100%; pointer-events: none; }
.morph-hook {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
}
.morph-hook h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.morph-hook .scroll-hint { margin-top: var(--block-s); }

.morph-solution {
  position: absolute;
  top: clamp(20px, 6vh, 72px);
  left: var(--edge);
  right: var(--edge);
  text-align: center;
  opacity: 0;
}
.morph-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.morph-title em { display: block; font-style: italic; color: var(--yellow); }
.morph-solution .lead { margin: var(--block-s) auto 0; max-width: none; white-space: nowrap; }
.morph-solution .actions { justify-content: center; pointer-events: auto; }
/* Unterzeile wächst am Handy mit und bleibt einzeilig; die Höhe des Textblocks setzt js/morph-hero.js */
@media (max-width: 767px) {
  .morph-solution .lead { font-size: min(1.2rem, 4.2vw); }
}

.scroll-hint { margin-top: var(--block-m); color: var(--text-3); }
.scroll-hint svg { width: 32px; height: 32px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg { animation: none; }
}

/* Bootcamp-Seite */

.stat small { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.88rem; line-height: 1.35; }
.gec-head .stats { margin-top: var(--block-m); }

.gec26 { text-align: center; }
.gec26 h2 { margin-bottom: 0; }

/* GEC-26-Galerie: ohne JS eine Reihe, mit js/gallery.js ein aufgefächerter Stapel */

.gallery {
  list-style: none;
  margin: var(--block-m) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.gallery-item { width: 180px; }
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-img);
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}

.gallery.is-ready { position: relative; display: block; isolation: isolate; }  /* Fotos bleiben unter dem Header */
.gallery.is-ready::before {
  content: "";
  position: absolute;
  inset: 25% -5% -10%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.gallery.is-ready .gallery-item {
  position: absolute;
  left: 50%;
  top: 24px;
  width: var(--size);
  margin-left: calc(var(--size) / -2);
  z-index: var(--z);
  outline: none;
  transition: transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) calc(var(--i) * 0.15s);
}
.gallery.is-open .gallery-item { transform: translate(var(--x), var(--y)); }
.gallery.is-ready .gallery-item img {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r)) scale(var(--s, 1));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery.is-ready .gallery-item:hover,
.gallery.is-ready .gallery-item:focus-visible,
.gallery.is-ready .gallery-item.is-pressed { z-index: 99; }
.gallery.is-ready .gallery-item:hover img,
.gallery.is-ready .gallery-item:focus-visible img { --s: 1.1; --r: var(--hover-r); }
.gallery.is-ready .gallery-item:focus-visible img { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gallery.is-ready .gallery-item.is-pressed img { --s: 1.2; }
.gallery.is-ready .gallery-item.is-dragging img { --s: 1.1; cursor: grabbing; transition: none; }

/* Bootcamp-Block: Claim, eine Zeile, Datum, drei Karten, ein Abschluss */

.gec-sub { max-width: 52ch; color: var(--text-2); font-size: 1.1rem; }

.fbc-sub { max-width: 52ch; margin: 14px 0 0; color: var(--text-2); }
.fbc-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: var(--block-s) 0 0; }
.fbc-when .date { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.fbc-when > span:last-child { color: var(--text-3); font-size: 0.95rem; }

.fbc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  list-style: none;
  margin: var(--block-l) 0 0;
  padding: 0;
}
.fbc-cards li {
  padding: 28px 26px 30px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fbc-cards svg { display: block; width: 28px; height: 28px; margin-bottom: 22px; color: var(--yellow); }
.fbc-cards h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: 1; }
.fbc-cards p { margin: 0; color: var(--text-3); font-size: 0.95rem; }

.fbc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  margin-top: var(--block-l);
  padding-top: var(--block-m);
  border-top: 1px solid var(--line);
}
.fbc-cta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; }
.fbc-cta .actions { margin-top: 0; }
.fbc-team { flex-basis: 100%; color: var(--text-3); font-size: 0.95rem; text-decoration: none; }
.fbc-team .link-arrow { color: var(--text-2); font-weight: 500; }
.fbc-team:hover .link-arrow { color: var(--white); border-color: var(--yellow); }

@media (max-width: 860px) {
  .gallery.is-ready::before { display: none; }
  .fbc-cards { grid-template-columns: 1fr; }
  .fbc-cards li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 18px; align-items: center; padding: 22px; }
  .fbc-cards svg { grid-row: span 2; margin: 0; }
}
.page-head + .gec26 { padding-top: 0; }
.section.gec26 { padding-bottom: var(--block-s); }
.gec26 + .bootcamp { padding-top: var(--block-l); }

/* „Founders Club in Bildern“: Fotowand, die sich beim Scrollen aufrichtet (js/scroll-gallery.js) */

.fc-bilder { padding-top: var(--section); }
.fc-bilder-head { position: relative; z-index: 2; text-align: center; margin-bottom: -48px; }
.fc-bilder-head h2 { margin-bottom: var(--block-s); }
.fc-bilder-head h2 em { display: block; font-style: italic; color: var(--yellow); }
.fc-bilder-head .lead { margin: 0 auto; max-width: 40ch; }

.blur-in { transition: opacity 0.7s ease, filter 0.7s ease; transition-delay: calc(var(--d, 0) * 0.2s); }
[data-stagger].is-waiting .blur-in { opacity: 0; filter: blur(10px); }

.scroll-gallery { position: relative; height: 200vh; }
.scroll-gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: 50% 0;
}
.scroll-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 100%;
  padding: 0 8px;
  transform-style: preserve-3d;
  will-change: transform;
}
.scroll-gallery-col { display: flex; flex-direction: column; gap: 8px; will-change: transform; }
.scroll-gallery-col:nth-child(2) { margin-top: -50%; }
.scroll-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-img);
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}

/* Am Handy breiter als der Bildschirm und angeschnitten, damit die Wand die Höhe füllt */
@media (max-width: 860px) {
  .fc-bilder-head { margin-bottom: var(--block-s); }   /* Text nicht über den Fotos */
  .scroll-gallery-grid { width: 190%; margin-left: -45%; }
  .scroll-gallery img { aspect-ratio: 4 / 3; }          /* höhere Fotos, damit die Wand bis unten reicht */
}

@media (prefers-reduced-motion: reduce) {
  .scroll-gallery { height: auto; }
  .scroll-gallery-sticky { position: relative; height: 80vh; }
}

/* Kleine Handys: Zahlen mit der Breite skalieren, damit lange Wörter wie „Ausgezeichnet“ passen */
@media (max-width: 520px) {
  .stat strong { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
  .stat:nth-child(even) { padding-left: 18px; }
}

/* „Bei uns wächst …“: Satzanfang steht in der Bildmitte, die Wörter laufen daran vorbei
   (js/word-scroll.js dimmt alle außer dem Wort auf Höhe des Satzanfangs) */

.grow-inner {
  --word: clamp(2.4rem, 5.4vw, 5rem);   /* gelbe Wörter in der Serifenschrift */
  --line: calc(var(--word) * 1.15);     /* gemeinsame Zeilenhöhe, damit beide Schriften auf einer Linie stehen */
  display: flex;
  align-items: flex-start;
  gap: 0 calc(var(--word) * 0.28);
}
.grow h2 {
  position: sticky;
  top: calc(50vh - var(--line) / 2);
  flex: none;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: var(--line);
  letter-spacing: -0.025em;
}
.grow ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--word);
  line-height: var(--line);
  letter-spacing: -0.015em;
}
.grow li { position: relative; top: -0.075em; font-style: italic; color: var(--yellow); white-space: nowrap; }  /* gleiche Grundlinie wie der Satzanfang */

.grow-break { display: none; }

/* Kleinere Bildschirme auch nebeneinander: so groß, dass „Bei uns wächst deine Persönlichkeit.“ in eine Zeile passt */
@media (max-width: 860px) {
  .grow-inner { --word: min(3rem, (100vw - 2 * var(--edge)) / 13.2); }
  .grow h2 { font-size: calc(var(--word) * 0.75); }
}
/* Handys: Satzanfang auf zwei Zeilen, damit die Wörter groß bleiben. „wächst“ steht neben dem hellen Wort,
   der Abstand über der Liste lässt auch „dein Netzwerk.“ auf diese Höhe kommen */
@media (max-width: 640px) {
  .grow-inner { --word: min(3rem, (100vw - 2 * var(--edge)) / 10.4); }
  .grow h2 { top: calc(50vh - var(--line) * 1.5); }
  .grow-break { display: inline; }
  .grow ul { padding-top: var(--line); }
}

/* Nur für Screenreader */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Impressum und Datenschutz */

.legal-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); hyphens: manual; }
.legal { max-width: 760px; font-size: 1rem; color: var(--text-2); overflow-wrap: break-word; }
.legal h2 {
  margin: var(--block-l) 0 var(--block-s);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--white);
}
.legal h3 { margin: var(--block-m) 0 8px; font-size: 1.05rem; color: var(--white); }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal li::marker { color: var(--text-3); }
.legal a { color: var(--white); text-underline-offset: 3px; }
.legal .legal-source { margin-top: var(--block-l); font-size: 0.85rem; color: var(--text-3); }
.legal .legal-source a { color: inherit; }
