/* =====================================================================
   Xyntal – Startseite
   Anthrazit, gebrochenes Weiß, Eisblau als einzige Signalfarbe.
   Eigenständig von style.css, damit die Unterseiten unverändert bleiben.
   ===================================================================== */
:root {
  /* Flächen */
  --bg: #101113;
  --s1: #15161a;
  --s2: #1b1c21;
  --s3: #23252b;
  --line: #25272d;
  --line-2: #33363d;

  /* Text */
  --text: #eceae4;
  --text-2: #a7a59e;
  --text-3: #8a8882;

  /* Eisblau */
  --ice: #9bd3ee;
  --ice-hi: #bfe4f6;
  --ice-ink: #0b1820;
  --ice-soft: rgba(155, 211, 238, 0.09);
  --ice-line: rgba(155, 211, 238, 0.38);

  /* Schrift */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Bewegung */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --t-fast: 140ms;
  --t: 240ms;

  /* Raster */
  --gutter: 16px;
  --max: 1320px;
  --r: 14px;
  --r-lg: 20px;

  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
main { overflow-x: clip; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(155, 211, 238, 0.28); color: var(--text); }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ice); color: var(--ice-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t) var(--ease);
}
.skip:focus { transform: none; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo-Bausteine ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 72;
  font-weight: 650;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.mini-head {
  font-family: var(--f-mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3);
}
.muted { color: var(--text-3); }
.hint { font-size: 13px; color: var(--text-3); line-height: 1.45; }
.ice { color: var(--ice); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  border-radius: 6px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  white-space: nowrap;
}
.tag-sample::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: currentColor; opacity: 0.7; }
.tag-ice { border-color: var(--ice-line); color: var(--ice); background: var(--ice-soft); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ice); color: var(--ice-ink); }
.btn-primary:hover { background: var(--ice-hi); }
.btn-primary:disabled { background: var(--s3); color: var(--text-3); cursor: not-allowed; }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--text-3); background: var(--s1); }
.btn-ghost { background: var(--s2); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover:not(:disabled) { background: var(--s3); }
.btn-ghost:disabled { color: var(--text-2); cursor: default; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(16, 17, 19, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 48;
  font-weight: 700; font-size: 21px; letter-spacing: -0.04em;
}
.brand-mark { width: 22px; height: 22px; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.brand-mark .bm-a { stroke: var(--text); }
.brand-mark .bm-b { stroke: var(--ice); }

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav a:not(.btn) {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.mainnav a:not(.btn):hover { color: var(--text); background: var(--s1); }
.mainnav a[aria-current="true"] { color: var(--text); }
.mainnav .btn { margin-left: 10px; }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500;
}
.menu-toggle-bars { position: relative; width: 14px; height: 8px; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 3.25px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .js .menu-toggle { display: inline-flex; }
  .js .mainnav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .js .mainnav.is-open { display: flex; }
  .js .mainnav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .js .mainnav a:not(.btn):hover { background: transparent; }
  .js .mainnav .btn { margin: 14px 0 0; }
  .mainnav { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
}
.hero-kicker { grid-column: 1 / -1; }
.hero-title {
  grid-column: 1 / -1;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 760;
  font-size: clamp(3rem, 9.4vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: -0.052em;
  margin-left: -0.05em;
}
.ht-line { display: block; }
.ht-dim { color: var(--text-2); }
.ht-dot { color: var(--ice); }
.hero-side { grid-column: 1 / -1; display: grid; gap: 28px; max-width: 34rem; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-disciplines {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.hero-disciplines li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0 0;
  font-size: 14px; color: var(--text-2);
}
.hero-disciplines span { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); }

@media (min-width: 900px) {
  .hero-kicker { grid-column: 1 / 6; }
  .hero-title { grid-column: 1 / 12; }
  .hero-side { grid-column: 8 / 13; margin-top: -8px; }
  .hero-disciplines { grid-column: 1 / 7; grid-row: 3; align-self: end; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 32px; }
}

/* ---------- Demo ---------- */
.demo-section { padding: 0 0 clamp(80px, 10vw, 144px); }
.demo-head {
  display: grid; gap: 20px;
  margin-bottom: 28px;
}
.demo-head .h2 { margin-top: 14px; max-width: 16ch; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); max-width: 30rem; }
.demo-note .tag { flex: none; margin-top: 1px; }
@media (min-width: 900px) {
  .demo-head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .demo-note { max-width: 22rem; padding-bottom: 6px; }
}

.demo {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--s1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 40px 80px -48px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  overflow: clip; /* clip statt hidden: das Team bleibt auf Mobilgeräten unten kleben */
}
.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.demo-crumb { display: flex; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.demo-crumb strong { color: var(--text); font-weight: 600; }
.demo-steps { display: flex; gap: 6px; }
.demo-steps li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 6px; border-radius: 999px;
  font-size: 12.5px; color: var(--text-3);
  transition: color var(--t) ease, background-color var(--t) ease;
}
.demo-steps li span {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 10.5px;
  transition: background-color var(--t) ease, border-color var(--t) ease, color var(--t) ease;
}
.demo-steps li.is-current { color: var(--text); background: var(--s2); }
.demo-steps li.is-current span { border-color: var(--ice); color: var(--ice); }
.demo-steps li.is-done span { background: var(--ice); border-color: var(--ice); color: var(--ice-ink); }
@media (max-width: 640px) {
  .demo-steps li:not(.is-current) { font-size: 0; gap: 0; padding-right: 6px; }
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.demo-body > * { padding: 22px 20px; }
.demo-project { border-bottom: 1px solid var(--line); }
.demo-people { border-bottom: 1px solid var(--line); min-height: 360px; }
@media (min-width: 760px) {
  .demo-body[data-view="select"] { grid-template-columns: 300px minmax(0, 1fr); }
  .demo-project { border-bottom: 0; border-right: 1px solid var(--line); grid-row: span 2; }
  .demo-people { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1140px) {
  .demo-body[data-view="select"] { grid-template-columns: 300px minmax(0, 1fr) 280px; }
  .demo-project { grid-row: auto; }
  .demo-people { border-bottom: 0; min-height: 560px; }
  .demo-team { border-left: 1px solid var(--line); }
  .demo-body > * { padding: 26px 24px; }
}

/* Projekt */
.project-id { display: flex; gap: 14px; align-items: flex-start; }
.project-glyph {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--s3); border: 1px solid var(--line-2);
  font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -0.04em;
}
.project-name { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; line-height: 1.1; }
.project-line { margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.project-meta { margin: 20px 0 26px; display: grid; gap: 10px; font-size: 13.5px; }
.project-meta div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.project-meta dt { color: var(--text-3); }

.roles { margin-top: 10px; display: grid; gap: 6px; }
@media (min-width: 480px) and (max-width: 759px) { .roles { grid-template-columns: 1fr 1fr; } }
.role {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center;
  width: 100%; min-height: 64px; padding: 11px 14px;
  text-align: left;
  border-radius: 12px; border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.role:hover { background: var(--s2); border-color: var(--line-2); }
.role[aria-pressed="true"] { background: var(--s2); border-color: var(--ice-line); }
.role[aria-pressed="true"]::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--ice);
}
.role-name { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.role-need { grid-column: 1; font-size: 12.5px; color: var(--text-3); line-height: 1.35; }
.role-state {
  grid-row: 1 / span 2; grid-column: 2;
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px dashed var(--line-2);
  transition: background-color var(--t) ease, border-color var(--t) ease;
}
.role-state svg { width: 12px; height: 12px; stroke: var(--ice-ink); stroke-width: 2.4; fill: none; opacity: 0; }
.role.is-filled .role-state { background: var(--ice); border: 1px solid var(--ice); }
.role.is-filled .role-state svg { opacity: 1; }

/* Menschen */
.people-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.people-head .mini-head { color: var(--text-2); }
.people-head .mini-head b { color: var(--text); font-weight: 500; }
.people-count { font-size: 12.5px; color: var(--text-3); }
.people { display: grid; gap: 10px; }

.empty-state {
  display: grid; place-items: center; text-align: center; gap: 18px;
  min-height: 300px; padding: 32px 16px;
  border: 1px dashed var(--line-2); border-radius: var(--r);
  color: var(--text-2); font-size: 14.5px;
}
.empty-state svg { width: 48px; height: 48px; fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; }
.empty-state p { max-width: 30ch; }
.empty-state strong { color: var(--text); font-weight: 600; }

.person {
  position: relative;
  display: grid; gap: 14px;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--s2);
  transition: border-color var(--t) ease, background-color var(--t) ease;
}
.person:hover { border-color: var(--line-2); }
.person.is-picked { border-color: var(--ice-line); }
.person-top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: -0.02em;
  color: var(--text);
  background: var(--s3);
  border: 1px solid var(--line-2);
}
.avatar.is-ice { background: var(--ice); color: var(--ice-ink); border-color: var(--ice); }
.avatar-sm { width: 30px; height: 30px; font-size: 11.5px; }
.person-name { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; line-height: 1.25; }
.person-sub { font-size: 13px; color: var(--text-3); }

.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skills li { padding: 3px 9px; border-radius: 6px; background: var(--s3); font-size: 12.5px; color: var(--text-2); }

.avail { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.avail-row { display: flex; justify-content: space-between; gap: 12px; }
.avail-row b { color: var(--text); font-weight: 500; }
.meter { position: relative; height: 4px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--text-2); }
.meter i.is-full { background: var(--ice); }

.reason { font-size: 14px; line-height: 1.5; color: var(--text); padding-left: 12px; border-left: 2px solid var(--line-2); }
.reason-k { display: block; margin-bottom: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }

.criteria { display: grid; gap: 6px; font-size: 13px; }
.criteria li { display: grid; grid-template-columns: 14px 92px 1fr; gap: 8px; align-items: baseline; color: var(--text-2); }
.criteria li b { font-weight: 500; color: var(--text); }
.crit { display: inline-block; width: 9px; height: 9px; border-radius: 50%; transform: translateY(0.5px); }
.crit-ok { background: var(--ice); }
.crit-part { border: 1.5px solid var(--ice); background: linear-gradient(90deg, var(--ice) 50%, transparent 50%); }

.person-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pick {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.pick:hover { border-color: var(--ice-line); background: var(--ice-soft); }
.pick[aria-pressed="true"] { background: var(--ice); border-color: var(--ice); color: var(--ice-ink); }
.pick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.person-actions .hint { font-size: 12.5px; }

@media (min-width: 560px) {
  .person { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .person-top, .reason, .person-actions { grid-column: 1 / -1; }
}

/* Lade-Zustand */
.skeleton { display: grid; gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s2); }
.skeleton i { display: block; height: 10px; border-radius: 5px; background: var(--s3); }
.skeleton i:nth-child(1) { width: 40%; height: 14px; }
.skeleton i:nth-child(2) { width: 70%; }
.skeleton i:nth-child(3) { width: 55%; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton i { animation: pulse 900ms ease-in-out infinite alternate; }
}
@keyframes pulse { from { opacity: 0.55; } to { opacity: 1; } }

/* Team */
.team-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.team-count { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); }
.team-slots { display: grid; gap: 6px; }
@media (min-width: 760px) and (max-width: 1139px) {
  .demo-team { grid-column: 2; }
  .team-slots { grid-template-columns: 1fr 1fr; }
}
.slot {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 8px 8px 10px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  font-size: 13px; color: var(--text-3);
}
.slot.is-filled { border-style: solid; border-color: var(--line); background: var(--s2); color: var(--text); }
.slot-ph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px dashed var(--line-2); flex: none; font-size: 15px; }
.slot-text { flex: 1; min-width: 0; line-height: 1.3; }
.slot-text b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-text span { font-size: 12px; color: var(--text-3); }
.slot-remove {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: transparent; color: var(--text-3); cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.slot-remove:hover { background: var(--s3); color: var(--text); }
.slot-remove svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.team-foot { display: grid; gap: 10px; margin-top: 18px; }
.team-foot .hint { text-align: center; }

/* Mobil: Team als kompakte Leiste, die beim Durchsehen unten mitläuft */
@media (max-width: 759px) {
  .demo-team {
    position: sticky; bottom: 0; z-index: 2;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(21, 22, 26, 0.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-2);
  }
  .team-head { display: grid; margin: 0; gap: 0; white-space: nowrap; }
  .team-head .mini-head { font-size: 10.5px; }
  .team-count { color: var(--text); font-size: 13px; }
  .team-slots { display: flex; gap: 0; }
  .slot { min-height: 0; padding: 0; border: 0; background: none !important; margin-left: -6px; }
  .slot:first-child { margin-left: 0; }
  .slot-text, .slot-remove { display: none; }
  .slot-ph { width: 30px; height: 30px; background: var(--s1); font-size: 13px; }
  .slot .avatar { box-shadow: 0 0 0 2px var(--s1); }
  .team-foot { margin: 0; }
  .team-foot .btn { --h: 40px; padding: 0 16px; font-size: 14px; width: auto; }
  .team-foot .hint { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .slot.just-filled { animation: slotIn 320ms var(--ease); }
  .person, .skeleton { animation: rise 260ms var(--ease) both; }
  .person:nth-child(2) { animation-delay: 40ms; }
  .person:nth-child(3) { animation-delay: 80ms; }
  .workspace:not([hidden]) { animation: rise 320ms var(--ease) both; }
}
@keyframes slotIn { from { transform: scale(0.97); border-color: var(--ice-line); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Workspace */
.workspace { display: block; padding: 0; outline: none; }
.workspace > * { padding: 0; }
.ws-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  padding: 24px 20px 20px; border-bottom: 1px solid var(--line);
}
.ws-title { margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; }
.ws-grid { display: grid; }
.ws-panel { padding: 22px 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .ws-head { padding: 26px 24px 22px; }
  .ws-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ws-tasks { grid-row: span 2; border-right: 1px solid var(--line); border-bottom: 0; }
  .ws-panel { padding: 24px; }
  .ws-feed { border-bottom: 0; }
}
@media (min-width: 1140px) {
  .ws-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1fr); }
  .ws-tasks { grid-row: auto; }
  .ws-team { border-right: 1px solid var(--line); border-bottom: 0; }
}
.ws-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ws-progress-label { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.progress { height: 4px; margin: 14px 0 12px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ice); border-radius: 4px; transition: width 420ms var(--ease); }

.tasks { display: grid; }
.task { border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.task label {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center;
  min-height: 56px; padding: 10px 4px;
  cursor: pointer;
}
.task input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.task-box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2);
  display: grid; place-items: center;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.task-box svg { width: 12px; height: 12px; fill: none; stroke: var(--ice-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity var(--t-fast) ease; }
.task label:hover .task-box { border-color: var(--text-3); }
.task input:checked + .task-box { background: var(--ice); border-color: var(--ice); }
.task input:checked + .task-box svg { opacity: 1; }
.task input:focus-visible + .task-box { outline: 2px solid var(--ice); outline-offset: 3px; }
.task-text { font-size: 14.5px; line-height: 1.35; }
.task-text small { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.task input:checked ~ .task-text { color: var(--text-3); }
.task input:checked ~ .task-text > span { text-decoration: line-through; text-decoration-color: var(--text-3); }

.ws-members { display: grid; gap: 10px; margin: 14px 0 18px; }
.ws-members li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ws-members li span { display: block; font-size: 12.5px; color: var(--text-3); }
.ws-team .hint { margin-top: 10px; min-height: 1.45em; }

.feed { display: grid; gap: 16px; margin-top: 14px; }
.feed li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
.feed li b { font-weight: 600; }
.feed li time { margin-left: 6px; font-size: 12px; color: var(--text-3); }
.feed li p { color: var(--text-2); }
.feed .is-new p { color: var(--text); }

.ws-bridge {
  display: grid; gap: 16px; align-items: center;
  padding: 20px; border-top: 1px solid var(--line);
  background: var(--s2);
}
.ws-bridge p { font-size: 14.5px; color: var(--text-2); max-width: 44rem; }
.ws-bridge strong { color: var(--text); font-weight: 600; }
.ws-bridge .btn { justify-self: start; }
@media (min-width: 900px) {
  .ws-bridge { grid-template-columns: 1fr auto; gap: 32px; padding: 22px 24px; }
}

.demo-honest { margin-top: 18px; font-size: 13.5px; color: var(--text-3); max-width: 48rem; }

/* ---------- Echte offene Rollen ---------- */
.live-roles { padding: 0 0 clamp(80px, 10vw, 140px); }
.live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.live-head .h2 { margin-top: 14px; }
.live-list { display: grid; gap: 10px; }
@media (min-width: 760px) { .live-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .live-list { grid-template-columns: repeat(3, 1fr); } }
.live-role {
  display: grid; gap: 8px; align-content: start; height: 100%;
  padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s1);
  text-decoration: none; transition: border-color var(--t) ease, background-color var(--t) ease;
}
.live-role:hover { border-color: var(--ice-line); background: var(--s2); }
.live-role-name { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; }
.live-role-need { font-size: 14.5px; color: var(--text-2); }
.live-role-project { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.live-role-project b { color: var(--text); font-weight: 600; }
.live-role-hours { font-family: var(--f-mono); font-size: 12px; color: var(--ice); }

/* ---------- Geschichte ---------- */
.story { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.story-intro { max-width: 46rem; margin-bottom: clamp(56px, 8vw, 112px); }
.story-intro .h2 { margin-top: 16px; }

.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
.chapter + .chapter { margin-top: clamp(96px, 13vw, 184px); }
.chapter > * { grid-column: 1 / -1; }
.chapter-no {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-2);
}
.chapter-no span { color: var(--ice); }
.chapter-text p:not(.chapter-no) { margin-top: 18px; color: var(--text-2); font-size: 16.5px; max-width: 34rem; }

/* 01 Idee */
.idea-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--s1);
  padding: 8px 22px 22px;
}
.idea-card-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.idea-field { padding: 16px 0; border-bottom: 1px solid var(--line); }
.idea-field:last-child { border-bottom: 0; padding-bottom: 0; }
.idea-q { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-3); }
.idea-a { margin-top: 6px; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.3; letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips li { padding: 6px 11px; border: 1px solid var(--ice-line); border-radius: 999px; font-size: 13px; color: var(--ice); }
@media (min-width: 900px) {
  .chapter-idea .chapter-text { grid-column: 1 / 6; padding-top: 24px; }
  .chapter-idea .idea-card { grid-column: 7 / 13; margin-top: 72px; }
}

/* 02 Verbindungen */
.links-figure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.links-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.lk-lines path, .lk-hot path { fill: none; stroke-width: 1.2; }
.lk-lines path { stroke: var(--line-2); }
.lk-hot path { stroke: var(--ice); stroke-width: 1.6; }
.lk-nodes rect { fill: var(--s2); stroke: var(--line-2); }
.lk-nodes .n-project { fill: var(--s3); stroke: var(--text-3); }
.lk-nodes circle { fill: var(--s3); stroke: var(--line-2); }
.lk-nodes .n-hot { fill: var(--ice); stroke: var(--ice); }
.links-figure text { font-family: var(--f-body); font-size: 12.5px; fill: var(--text-2); }
.links-figure .t-strong { fill: var(--text); font-weight: 600; font-size: 13.5px; }
.links-figure .t-ink { fill: var(--ice-ink); font-family: var(--f-display); font-weight: 700; font-size: 10.5px; }
.lk-reason rect { fill: var(--bg); stroke: var(--ice-line); }
.lk-reason text { font-family: var(--f-mono); font-size: 10.5px; fill: var(--ice); }
.criteria-legend { display: grid; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--text-2); }
.criteria-legend li { display: flex; gap: 10px; align-items: center; }
@media (min-width: 900px) {
  .chapter-links .links-figure { grid-column: 1 / 8; grid-row: 1; }
  .chapter-links .chapter-text { grid-column: 9 / 13; grid-row: 1; align-self: center; }
}
/* Linien zeichnen sich einmal, wenn die Grafik sichtbar wird */
.js .links-figure path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .links-figure .lk-reason, .js .links-figure .n-hot, .js .links-figure .t-ink { opacity: 0; }
.js .links-figure.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease); }
.js .links-figure.is-drawn .lk-hot path { transition-delay: 450ms; }
.js .links-figure.is-drawn .lk-hot path + path { transition-delay: 750ms; }
.js .links-figure.is-drawn .lk-reason, .js .links-figure.is-drawn .n-hot, .js .links-figure.is-drawn .t-ink { opacity: 1; transition: opacity 300ms ease 1100ms; }

/* 03 Team – Moment */
.chapter-team { row-gap: 32px; }
.team-intro { text-align: left; }
.h-moment {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 760;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 11ch;
  text-wrap: balance;
}
.team-source { margin-top: 20px; font-size: 15px; color: var(--text-2); max-width: 30rem; }
.team-source.is-own { color: var(--text); }
@media (min-width: 900px) {
  .team-intro { grid-column: 1 / 6; align-self: center; }
  .assembly { grid-column: 6 / 13; }
  .assembly-actions { grid-column: 6 / 13; }
}

.assembly { position: relative; display: grid; place-items: center; min-height: 420px; padding: 24px 0; }
.assembly-panel {
  position: relative;
  width: 100%; max-width: 520px;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--s1);
}
.assembly-top { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; }
.assembly-top div { flex: 1; display: grid; line-height: 1.3; }
.assembly-top strong { font-family: var(--f-display); font-size: 18px; letter-spacing: -0.02em; }
.assembly-top div span { font-size: 12.5px; color: var(--text-3); }
.assembly-spine {
  position: absolute; left: 39px; top: 76px; bottom: 64px; width: 1px;
  background: var(--ice-line);
  transform-origin: top;
}
.assembly-list { position: relative; display: grid; gap: 8px; }
@media (max-width: 559px) { .assembly-spine { display: none; } }
.a-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--s2);
  will-change: transform;
}
.a-card .avatar { width: 38px; height: 38px; }
.a-card b { display: block; font-weight: 600; font-size: 14.5px; }
.a-card span { font-size: 12.5px; color: var(--text-3); }
.a-card em { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.assembly-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding: 12px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-3); font-family: var(--f-mono);
}
.assembly-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 900px) { .assembly-actions { justify-content: center; } }

/* Ausgangslage: Profile liegen verstreut, das Projekt ist noch nicht da */
.assembly.is-scattered .assembly-panel { border-color: transparent; background: transparent; }
.assembly.is-scattered .assembly-top,
.assembly.is-scattered .assembly-foot { opacity: 0; }
.assembly.is-scattered .assembly-spine { transform: scaleY(0); }
.assembly.is-scattered .a-card { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8); }
.assembly-top, .assembly-foot { transition: opacity 320ms ease; }
.assembly-panel { transition: border-color 360ms ease, background-color 360ms ease; }
.assembly-spine { transition: transform 420ms var(--ease); }
.assembly.is-joined .assembly-panel { transition-delay: 260ms; }
.assembly.is-joined .assembly-spine { transition-delay: 380ms; }
.assembly.is-joined .assembly-top { transition-delay: 300ms; }
.assembly.is-joined .assembly-foot { transition-delay: 520ms; }
.assembly-status { opacity: 0; transition: opacity 260ms ease; }
.assembly.is-joined .assembly-status { opacity: 1; transition-delay: 760ms; }

/* 04 Fortschritt */
.timeline { position: relative; display: grid; gap: 0; }
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; row-gap: 2px;
  padding: 18px 0 18px;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.tl-week { grid-row: span 2; font-family: var(--f-mono); font-size: 12px; color: var(--text-3); padding-top: 4px; }
.timeline strong { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.timeline li > span:last-child { font-size: 14px; color: var(--text-2); }
.timeline li:not(.tl-next) .tl-week { color: var(--ice); }
.tl-next strong { color: var(--text-2); }
@media (min-width: 900px) {
  .chapter-progress .chapter-text { grid-column: 1 / 6; }
  .chapter-progress .timeline { grid-column: 1 / -1; grid-template-columns: repeat(5, 1fr); }
  .timeline li {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 20px 0 0;
    border-top: 0; border-bottom: 0 !important;
  }
  .timeline li::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ice);
  }
  .timeline li::after {
    content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--ice);
  }
  .timeline li.tl-next::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .timeline li.tl-next::after { border-color: var(--text-3); }
  .tl-week { padding-top: 0; }
  .timeline strong { font-size: 21px; margin-top: 8px; }
}

/* ---------- Wer dahintersteht ---------- */
.founder { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.founder-grid { display: grid; gap: 28px; }
.founder-label { align-self: start; }
.founder-quote blockquote { margin: 0; }
.founder-quote p {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.9vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  max-width: 34ch;
}
.founder-quote figcaption { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; font-size: 14px; }
.founder-quote figcaption > span:nth-child(2) { display: grid; line-height: 1.35; }
.founder-quote figcaption strong { font-weight: 600; }
.founder-quote figcaption > span:nth-child(2) span { color: var(--text-3); font-size: 13px; }
.founder-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--s3); border: 1px solid var(--line-2);
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
}
.founder-quote figcaption a {
  margin-left: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  text-decoration: none; color: var(--text); font-weight: 500;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.founder-quote figcaption a:hover { border-color: var(--ice-line); background: var(--ice-soft); }
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .founder-label { grid-column: 1 / 4; padding-top: 12px; }
  .founder-quote { grid-column: 4 / 12; }
  .founder-quote figcaption a { margin-left: 24px; }
}

/* ---------- Abschluss ---------- */
.closing { padding: clamp(96px, 12vw, 176px) 0 clamp(80px, 10vw, 136px); border-top: 1px solid var(--line); }
.closing-title {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 760;
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-left: -0.05em;
  max-width: 10ch;
}
.paths { display: grid; gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .paths { width: 66%; margin-left: auto; } }
.path {
  display: grid; gap: 10px; align-content: start;
  min-height: 200px; padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  text-decoration: none;
  transition: border-color var(--t) ease, background-color var(--t) ease;
}
.path:first-child { background: var(--ice); color: var(--ice-ink); border-color: var(--ice); }
.path:first-child:hover { background: var(--ice-hi); }
.path:not(:first-child):hover { background: var(--s1); border-color: var(--text-3); }
.path-label { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.path-text { font-size: 15px; opacity: 0.82; max-width: 30ch; }
.path-cta { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; }
.path-cta span { transition: transform var(--t) var(--ease); }
.path:hover .path-cta span { transform: translateX(4px); }
.path:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.closing-note { margin-top: 28px; font-size: 14.5px; color: var(--text-2); max-width: 40rem; }
@media (min-width: 1100px) { .closing-note { margin-left: 34%; } }
.closing-note a { color: var(--text); text-decoration-color: var(--ice-line); text-underline-offset: 3px; }
.closing-note a:hover { text-decoration-color: var(--ice); }

/* Warteliste */
.waitlist {
  display: grid; gap: 24px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 32px;
  border-top: 1px solid var(--line);
}
.waitlist-title { font-family: var(--f-display); font-weight: 650; font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.waitlist-copy p { margin-top: 10px; font-size: 15px; color: var(--text-2); max-width: 32rem; }
.waitlist-form { display: grid; gap: 14px; }
.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-row input {
  flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--s1); color: var(--text);
  font: inherit; font-size: 15px;
  transition: border-color var(--t-fast) ease;
}
.waitlist-row input::placeholder { color: var(--text-3); }
.waitlist-row input:hover { border-color: var(--text-3); }
.waitlist-row input:focus { outline: none; border-color: var(--ice); }
.waitlist-row input:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.waitlist-row input[aria-invalid="true"] { border-color: #e9a28f; }
.waitlist-check { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.waitlist-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.check-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.check-box svg { width: 12px; height: 12px; fill: none; stroke: var(--ice-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.waitlist-check:hover .check-box { border-color: var(--text-3); }
.waitlist-check input:checked + .check-box { background: var(--ice); border-color: var(--ice); }
.waitlist-check input:checked + .check-box svg { opacity: 1; }
.waitlist-check input:focus-visible + .check-box { outline: 2px solid var(--ice); outline-offset: 3px; }
.waitlist-check a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--ice-line); }
.waitlist-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-status { min-height: 1.4em; font-size: 14px; color: var(--text-2); }
.waitlist-status.is-ok { color: var(--ice); }
.waitlist-status.is-error { color: #e9a28f; }
@media (min-width: 900px) {
  .waitlist { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .waitlist-form { max-width: 34rem; justify-self: end; width: 100%; }
}

/* ---------- Fußzeile ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--text-2); }
.footer-inner { display: grid; gap: 40px; }
.footer-brand p { margin-top: 12px; max-width: 26ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.footer-nav div { display: grid; gap: 8px; align-content: start; }
.footer-head { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-nav a { text-decoration: none; padding: 2px 0; transition: color var(--t-fast) ease; }
.footer-nav a:hover { color: var(--text); }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-nav { grid-template-columns: repeat(3, minmax(140px, auto)); }
}

/* ---------- Einblenden beim Scrollen (einmalig, kurz) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 700ms var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .chapter .reveal + .reveal { transition-delay: 90ms; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}
