/* K.A.I. Systems · Zoom in deine KI-Firma · ruhige Fassung (B)
   Pro Bildschirm eine Botschaft. Organigramm erst als 16 Lichter, KI-Mitarbeiter erst beim Hineinzoomen. Details auf Klick. */
/* Etappe 4 (Tempo): auf die Zeichen der Seite zugeschnittene Schriften als WOFF (bauen/schriften_bauen.py), Achsen wie im Original */
@font-face { font-family: Oswald; src: url('assets/oswald-teil.woff?v=e7dad5afc8') format('woff'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/inter-teil.woff?v=6f0ee5553a') format('woff'); font-weight: 100 900; font-display: swap; }

:root {
  --kopf-h: 68px;
  --chrom: linear-gradient(180deg, #FFFFFF 0%, #E8E8E8 15%, #A0A0A0 40%, #606060 55%, #A0A0A0 75%, #E8E8E8 100%);
  --chrom-knopf: linear-gradient(180deg, #FFFFFF 0%, #EDEDED 18%, #B4B4B4 48%, #8C8C8C 58%, #C4C4C4 80%, #F2F2F2 100%);
}
* { box-sizing: border-box; }
html { background: #000; color: #E8E8E8; font-family: Inter, -apple-system, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: #000; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
.sprung { position: absolute; left: -999px; top: 8px; z-index: 60; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.sprung:focus { left: 8px; }
/* Etappe 4 (Vorlesen): nur für Bildschirmleser */
.nur-lesen { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#welt { position: fixed; left: 0; top: 0; z-index: 0; display: block; }
#welt.zeigt { cursor: pointer; }
#punkt { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 1; pointer-events: none; will-change: transform, opacity; }
#punkt i { display: block; width: 100%; height: 100%; border-radius: 50%; animation: atmen 3.6s ease-in-out infinite;
  background: radial-gradient(circle, #fff 0 14%, rgba(255, 255, 255, .5) 26%, rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, 0) 70%); }
@keyframes atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.28); } }

/* Kopf: Logo, Ton, ein Knopf */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(var(--kopf-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) clamp(14px, 3vw, 34px) 0; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(#000 0%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, 0)); }
.logo img { display: block; height: 36px; width: auto; }
.kopf-rechts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.ikon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff;
  display: inline-grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ikon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ikon .lautsprecher { fill: currentColor; stroke: none; }
.ikon .wellen { display: none; }
.ikon[aria-pressed="true"] .wellen { display: inline; }
.ikon[aria-pressed="true"] .aus { display: none; }
.ikon[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 16px rgba(255, 255, 255, .25); }
.ikon:focus-visible, .knopf:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.knopf { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 600; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background .2s ease; }
.knopf:hover { background: rgba(255, 255, 255, .1); }
.knopf:active { transform: scale(.97); }
.knopf--haupt { background: var(--chrom-knopf); color: #000; border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 34px rgba(255, 255, 255, .12); }
.knopf--haupt:hover { background: var(--chrom-knopf); }
.knopf--gross { padding: 16px 26px; font-size: 16px; }
.knopf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Zähler: erscheint erst, wenn das Organigramm steht */
.zaehler { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 8px); z-index: 25; margin: 0;
  display: flex; gap: 10px; align-items: center; white-space: nowrap; font-size: 14px; color: #CFCFCF;
  background: #000; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 9px 18px;
  opacity: 0; pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.zaehler.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.zaehler b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.zaehler .trenner { color: #555; }
.z-gesamt, .z-teile, .z-zeile { display: inline-flex; gap: 10px; align-items: center; }
.zaehler { flex-direction: column; gap: 5px; border-radius: 22px; }
.z-hinweis { font-size: 12px; color: #8C8C8C; letter-spacing: .01em; }
.z-gesamt { color: #fff; font-weight: 600; gap: 5px; }
.zz { display: inline-flex; align-items: center; gap: 7px; }
.orb { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; }
.orb--einsatz { background: #fff; box-shadow: 0 0 9px 2px rgba(255, 255, 255, .7); }
.orb--test { border: 1.5px solid #BDBDBD; background: linear-gradient(90deg, #BDBDBD 50%, transparent 50%); }
.orb--geplant { border: 1.5px solid #5A5A5A; }

/* Tastatur-Liste: unsichtbar, erscheint bei Fokus */
.nur-tastatur { position: fixed; left: 16px; top: calc(var(--kopf-h) + 10px); z-index: 35; display: flex; flex-wrap: wrap; gap: 6px; max-width: 560px; }
.nur-tastatur button { position: absolute; left: -9999px; }
.nur-tastatur button:focus { position: static; left: auto; background: #000; color: #fff; border: 1px solid #fff; border-radius: 999px; padding: 8px 12px; }

/* Ein Bild: Überschrift, höchstens ein Satz, höchstens ein Knopf */
main { position: relative; z-index: 2; pointer-events: none; }
.bild { position: relative; height: 150vh; }
.mitte { position: sticky; top: calc(var(--kopf-h) + 7vh); max-width: 860px; margin: 0 auto; padding: 0 6vw; text-align: center;
  display: grid; gap: 16px; justify-items: center; pointer-events: auto; will-change: opacity; }
.mitte--held { top: 0; height: 100vh; height: 100svh; align-content: center; padding-top: calc(var(--kopf-h) + 12vh); gap: 22px; max-width: 1240px; }
h1 { font-family: Oswald, Impact, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; line-height: 1.02;
  font-size: clamp(40px, 6vw, 92px); max-width: 22ch; text-wrap: balance; background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-family: Oswald, Impact, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; color: #fff;
  font-size: clamp(30px, 4vw, 58px); max-width: 20ch; text-wrap: balance; }
.mitte p { font-size: clamp(17px, 1.5vw, 21px); color: #CFCFCF; max-width: 34em; line-height: 1.45; text-wrap: balance; }
/* Etappe 4 (Vorlesen, Tastatur): ausgeblendete Bilder bleiben für Bildschirmleser lesbar, was den Fokus hat, ist immer sichtbar */
.mitte:focus-within { opacity: 1 !important; }
.mitte .klein-hinweis { font-size: 13px; color: #8C8C8C; margin-top: 4px; }
/* Bildschirm 14 (Kai 24.10.2026): Tür „Done for You“ als ruhiger Link, kein zweiter Knopf, darunter Kais Zeile */
.tuer { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 2px 7px; min-height: 44px; color: #fff; text-decoration: none;
  font-family: Oswald, Impact, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .4); -webkit-tap-highlight-color: transparent; }
.tuer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.tuer:hover { border-bottom-color: #fff; }
.tuer:hover svg { transform: translateX(3px); }
.tuer:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.mitte .tuer-zeile { font-size: 14.5px; color: #A8A8A8; margin: -8px 0 10px; }
/* Bildschirm 13 „Kais Geschichte“ (Kai 24.10.2026): Überschrift und bis zu vier Sätze, eng gesetzt wie ein Absatz */
.mitte--geschichte { gap: 6px; }
.mitte--geschichte h2 { margin-bottom: 10px; }
.lage h2 { font-size: clamp(28px, 3.4vw, 50px); max-width: 22ch; }
.station h2 { font-size: clamp(34px, 4.6vw, 66px); }
.scroll-hinweis { position: absolute; top: calc(100vh - 8vh); top: calc(100svh - 8svh); left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-hinweis span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: rollen 1.8s ease-in-out infinite; }
@keyframes rollen { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Kleine Info zu einem KI-Mitarbeiter (auf Klick oder beim Zeigen) */
.info { position: fixed; z-index: 28; max-width: 260px; background: #000; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; line-height: 1.4; color: #D8D8D8; pointer-events: none; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); }
.info b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 2px; }
.info .info-stand { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12.5px; color: #A8A8A8; }

/* Etappe 3: Fragen und Antworten (nach dem letzten Bildschirm, deckt die Welt ab) */
.fragen { position: relative; z-index: 2; background: #000; padding: 14vh 24px 10vh; display: grid; justify-items: center; gap: 28px; }
.fragen h2 { font-family: Oswald, Impact, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(30px, 4.2vw, 46px); margin: 0; text-align: center; }
.fragen-liste { width: 100%; max-width: 760px; border-top: 1px solid rgba(255, 255, 255, .14); }
.frage { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 4px; font-size: 18px; font-weight: 600; color: #F2F2F2; text-wrap: balance; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; font-weight: 400; font-size: 24px; color: #9A9A9A; transition: transform .25s ease; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.frage p { margin: 0 4px 22px; color: #BDBDBD; font-size: 16px; line-height: 1.6; max-width: 640px; }
/* Etappe 4: alle KI-Mitarbeiter als Liste (zugeklappt, Text für Suchmaschinen und Bildschirmleser), gestaltet wie die Fragen */
.liste { position: relative; z-index: 2; background: #000; padding: 0 24px 6vh; display: grid; justify-items: center; }
.liste > details { width: 100%; max-width: 760px; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.liste summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 4px; font-size: 15px; font-weight: 600; color: #BDBDBD; }
.liste summary::-webkit-details-marker { display: none; }
.liste summary::after { content: "+"; font-weight: 400; font-size: 22px; color: #9A9A9A; transition: transform .25s ease; }
.liste details[open] summary::after { transform: rotate(45deg); }
.liste summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.liste-innen { padding: 4px 4px 26px; }
.liste h3 { font-family: Oswald, Impact, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: #fff; margin: 26px 0 4px; }
.liste .liste-ergebnis { font-size: 14px; color: #9A9A9A; margin: 0 0 8px; }
.liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.liste li { font-size: 14px; line-height: 1.45; color: #BDBDBD; }
.liste li b { color: #F2F2F2; font-weight: 600; }
.liste li .st { color: #8C8C8C; white-space: nowrap; }
.fuss a { color: #9A9A9A; text-decoration: underline; text-underline-offset: 3px; }
.fuss a:hover { color: #fff; }
.fuss { position: relative; z-index: 2; padding: 30px 5vw 110px; color: #7A7A7A; font-size: 12.5px; display: grid; gap: 6px; background: #000; }

/* Abteilung auf Klick: alle Details */
dialog:not([open]) { display: none; }
dialog { color: #E8E8E8; }
#abteilung { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; z-index: 40;
  background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .82) 36%, rgba(0, 0, 0, .94)); overflow-y: auto; overscroll-behavior: contain; }
#abteilung::backdrop { background: transparent; }
#abteilung[open] { animation: auf .45s ease both; }
@keyframes auf { from { opacity: 0; } to { opacity: 1; } }
html.dlg-offen main, html.dlg-offen .fuss { visibility: hidden; }
.abt-innen { max-width: 1160px; margin: 0 auto; padding: calc(var(--kopf-h) + env(safe-area-inset-top) + 16px) 4vw 12vh; }
.abt-zu { position: sticky; top: calc(env(safe-area-inset-top) + 14px); z-index: 3; background: rgba(0, 0, 0, .8); }
.abt-kopf { margin: 30vh 0 8px; display: grid; gap: 12px; max-width: 680px; }
.abt-kopf .kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9A9A9A; }
.abt-kopf .ergebnis { font-size: clamp(17px, 1.5vw, 20px); color: #fff; line-height: 1.4; }
.leistung { display: inline-flex; gap: 8px; align-items: center; width: max-content; max-width: 100%; font-size: 13.5px; font-weight: 600; color: #fff;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 6px 12px; white-space: normal; }
.zahlen { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: #CFCFCF; }
.abt-zwischen { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 0; }
.team h3 { font-family: Oswald, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: #BDBDBD; margin: 30px 0 12px; }
.gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.geplant-notiz { margin: 22px 0 0; font-size: 13.5px; color: #8C8C8C; display: flex; gap: 10px; align-items: center; }
.abt-ende { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 6vh 0 2vh; }
.stelle { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 13px; border-radius: 14px; min-height: 112px;
  background: rgba(9, 9, 9, .92); border: 1px solid rgba(255, 255, 255, .12); }
.stelle-kopf { display: flex; gap: 10px; align-items: center; }
.stelle h4 { font-size: 16px; font-weight: 650; line-height: 1.25; color: #fff; }
.stelle-text { font-size: 14px; line-height: 1.45; color: #C6C6C6; }
.stelle-fuss { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12.5px; color: #9A9A9A; padding-top: 4px; }
.stelle-fuss .art { margin-left: auto; color: #8C8C8C; }
.stand { font-weight: 700; }
.stand--einsatz { color: #fff; } .stand--test { color: #CFCFCF; } .stand--geplant { color: #8C8C8C; }
.stelle--einsatz { border-color: rgba(255, 255, 255, .58); box-shadow: 0 0 34px rgba(255, 255, 255, .08); }
.stelle--test { border-color: rgba(255, 255, 255, .26); }
.stelle--geplant { background: rgba(0, 0, 0, .66); border-style: dashed; border-color: rgba(255, 255, 255, .14); }
.stelle--geplant h4 { color: #C8C8C8; } .stelle--geplant .stelle-text { color: #8F8F8F; }
.arbeit { list-style: none; margin: 2px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; line-height: 1.5; color: #E6E6E6; display: grid; gap: 3px; min-height: 84px; }
.arbeit li { opacity: 0; transform: translateY(3px); transition: opacity .35s ease, transform .35s ease; padding-left: 16px; position: relative; }
.arbeit li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
.arbeit li.an { opacity: 1; transform: none; }
.arbeit.fertig li:last-child::after { content: " ✓"; color: #fff; }

.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60; max-width: min(520px, 92vw);
  background: #fff; color: #000; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; font-weight: 550; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.an { opacity: 1; transform: translate(-50%, 0); }

/* Handy */
@media (max-width: 760px) {
  :root { --kopf-h: 58px; }
  .kopf { padding-left: 12px; padding-right: 12px; }
  .logo img { height: 28px; }
  .kopf .knopf { padding: 9px 12px; font-size: 12.5px; min-height: 40px; }
  .ikon { width: 40px; height: 40px; }
  .zaehler { bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 12.5px; flex-direction: column; gap: 3px; padding: 7px 14px; border-radius: 16px; }
  .zaehler .trenner { display: none; }
  .fragen { padding: 10vh 18px 8vh; gap: 22px; }
  .frage summary { font-size: 16.5px; padding: 18px 2px; }
  .frage p { font-size: 15px; }
  .z-zeile { flex-direction: column; gap: 3px; }
  .z-hinweis { font-size: 11.5px; }
  .z-teile { gap: 8px; }
  .bild { height: 140vh; }
  .mitte { top: calc(var(--kopf-h) + 4vh); gap: 12px; }
  .mitte--held { top: 0; padding-top: calc(var(--kopf-h) + 14vh); }
  h1 { max-width: 12ch; }
  .gitter { grid-template-columns: 1fr; }
  .stelle { min-height: 0; }
  .arbeit { min-height: 0; }
  .abt-kopf { margin-top: 28vh; }
}
@media (max-width: 380px) { .logo img { height: 22px; } .kopf .knopf { font-size: 11.5px; padding: 9px 10px; } .kopf-rechts { gap: 8px; } }
/* Etappe 4: Fingerbedienung (auch Handy quer und Tablet) bekommt große Tippflächen */
@media (pointer: coarse) { .kopf .knopf { min-height: 40px; } .ikon { width: 40px; height: 40px; } }
/* Etappe 4: niedrige Bildschirme (Handy quer): kleinere Abstände und Überschriften, damit jedes Bild ganz hineinpasst */
@media (max-height: 500px) {
  .mitte { top: calc(var(--kopf-h) + 2vh); gap: 10px; }
  .mitte--held { top: 0; gap: 14px; padding-top: calc(var(--kopf-h) + 6vh); }
  h1 { font-size: clamp(28px, 9vh, 48px); }
  .scroll-hinweis { display: none; }
  h2 { font-size: clamp(24px, 8vh, 40px); }
  .mitte p { font-size: 16px; }
  .knopf--gross { padding: 12px 22px; font-size: 15px; }
  .tuer { margin-top: 0; }
  .mitte .tuer-zeile { margin: -6px 0 2px; }
  .bild { height: 170vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .arbeit li { opacity: 1; transform: none; }
}
