/* Marke wie live auf erfindergeist.ai (grundlage/marke.md) */
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --grund: #171717;
  --papier: #ededed;
  --grau: #bcbcbc;
  --cyan: #8db8b5;
  --inter: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: var(--grund); color: var(--papier); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--inter); -webkit-font-smoothing: antialiased; }

.kopfzeile {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  padding: max(18px, env(safe-area-inset-top)) 24px 0;
}
.wortmarke {
  display: inline-flex; align-items: baseline; gap: .065em;
  color: var(--papier); text-decoration: none;
  font: 460 22px/1.1 var(--inter); letter-spacing: -.055em;
}
.stern { position: relative; top: -.04em; font-size: .62em; font-weight: 300; color: var(--cyan); }

.hero {
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 96px 24px max(72px, env(safe-area-inset-bottom));
}
.hook {
  margin: 0 auto; width: 100%; max-width: 15.5em;
  font-weight: 500;
  font-size: clamp(30px, 11.2vw, 84px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.zahl { color: var(--cyan); white-space: nowrap; }
.fest { white-space: nowrap; }
.emoji {
  display: inline-block; width: 1.08em; height: 1.08em;
  vertical-align: -.2em;
}

/* Tippen: Zeichen stehen von Anfang an im Satz und werden nur sichtbar gemacht, nichts springt. */
.js .satz .c { visibility: hidden; }
.js .satz .c.da { visibility: visible; }
.js .emoji { visibility: hidden; }
.js .emoji.da { visibility: visible; }
.cursor { display: inline-block; position: relative; width: 0; height: 1em; vertical-align: baseline; }
.cursor::after {
  content: ''; position: absolute; left: .04em; bottom: -.12em;
  width: max(2px, .05em); height: .98em; background: var(--papier);
}
.cursor.blinkt::after { animation: blinken 1.06s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }

@media (min-width: 900px) {
  .kopfzeile { padding: 28px 40px 0; }
  .hero { padding: 120px 40px 96px; }
}

/* Wegweiser: der geplatzte Kopf, unten in der Mitte angedockt */
.hero { position: relative; }
.wegweiser {
  position: absolute; z-index: 3;
  padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wegweiser img { display: block; width: 100%; height: 100%; }
/* Der Kopf bleibt in der Hero stehen: Scrollt man weiter, bleibt er oben zurück und schaut einem nach. */
.wegweiser.angedockt {
  width: 64px; height: 64px;
  left: calc(50% - 32px); bottom: 28px;
}
.wegweiser.angedockt.ruht { animation: weisen 1.5s cubic-bezier(.45,0,.55,1) infinite; }
.kopf-svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Platzhalter, bis der nächste Abschnitt steht */
.platzhalter { min-height: 60svh; padding: 20svh 24px 0; }
.platzhalter p { margin: 0; text-align: center; color: #535353; font: 400 12px/1.5 var(--mono); letter-spacing: .04em; }
.wegweiser:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; border-radius: 50%; }
@keyframes weisen { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.kopf-svg .auge-l { transform-origin: 41.5px 80.13px; }
.kopf-svg .auge-r { transform-origin: 86.5px 80.13px; }


/* Sektion KI-Potenzial 0 bis 5 %: Überschrift baut sich beim Scrollen auf, darunter Karten zum Wischen */
.potenzial { padding: 64px 24px 48px; max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.potenzial-titel { margin: 0; font-weight: 500; font-size: clamp(34px, 10.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.js .potenzial-titel .c { visibility: hidden; }
.js .potenzial-titel .c.da { visibility: visible; }
.kicker { margin: 0 0 14px; color: #8f8f8f; font: 400 12px/1.5 var(--mono); letter-spacing: .02em; }

.karten { overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.karten.zieht { cursor: grabbing; }
.spur { display: flex; gap: 14px; will-change: transform; }
.spur.gleitet { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.karte {
  flex: 0 0 calc(100% - 34px);
  display: grid; gap: 18px; align-content: start;
  padding: 18px 18px 22px;
  background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 4px;
}
.karte-text { margin: 0; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.karten-fuss { display: flex; align-items: center; justify-content: space-between; padding-right: 34px; }
.zaehler { color: #8f8f8f; font: 400 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.weiter-karte { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #535353; border-radius: 50%; background: none; color: var(--papier); cursor: pointer; }
.weiter-karte svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.weiter-karte:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Szenen: kleine, schematische Chatfenster. Laufen nur auf der sichtbaren Karte. */
.szene { position: relative; height: 210px; }
.szene * { animation-play-state: paused !important; }
.karte.aktiv .szene * { animation-play-state: running !important; }
.fenster { position: absolute; background: #222; border: 1px solid #3a3a3a; border-radius: 6px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.chat { left: 0; top: 0; width: 82%; height: 168px; overflow: hidden; }
.blase { border-radius: 10px; padding: 7px 10px; font-size: 12px; line-height: 1.3; }
.frage { justify-self: end; background: #3a3a3a; color: var(--papier); max-width: 100%; }
.antwort { justify-self: start; width: 86%; display: grid; gap: 6px; padding: 9px 10px; background: #2a2a2a; }
.antwort i, .dok i, .flug i { display: block; height: 6px; border-radius: 3px; background: #6a6a6a; }
.antwort i:nth-child(2), .flug i:nth-child(2) { width: 88%; }
.antwort i:nth-child(3), .flug i:nth-child(3) { width: 62%; }
.tipp { display: inline-block; white-space: nowrap; }

/* Karte 2: Datei fällt ins Fenster, wird angehängt, Frage, Antwort */
.szene-hochladen .chat { left: 9%; width: 82%; top: 30px; }
.datei { position: absolute; left: calc(50% - 18px); top: -4px; width: 36px; z-index: 2; animation: h-datei 6s infinite; }
.datei svg, .anhang svg { display: block; width: 100%; height: auto; }
.anhang { justify-self: end; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 8px; background: #3a3a3a; font: 400 11px/1 var(--mono); color: var(--grau); animation: h-anhang 6s infinite; }
.anhang svg { width: 14px; }
.szene-hochladen .frage { animation: h-frage 6s infinite; }
.szene-hochladen .tipp { animation: h-tipp 6s steps(18, end) infinite; }
.szene-hochladen .antwort { animation: h-antwort 6s infinite; }
@keyframes h-datei { 0% { opacity: 0; translate: 0 -30px; rotate: -12deg; } 8% { opacity: 1; translate: 0 -30px; rotate: -12deg; } 22% { opacity: 1; translate: 46px 60px; rotate: 6deg; scale: .9; } 26%, 100% { opacity: 0; translate: 46px 64px; scale: .5; } }
@keyframes h-anhang { 0%, 24% { opacity: 0; scale: .8; } 28%, 96% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes h-frage { 0%, 32% { opacity: 0; } 34%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes h-tipp { 0%, 34% { clip-path: inset(0 100% 0 0); } 50%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes h-antwort { 0%, 56% { opacity: 0; translate: 0 6px; } 62%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .szene * { animation: none !important; }
  .flug, .datei { display: none; }
}
@media (min-width: 900px) {
  .potenzial { padding-top: 96px; }
  .szene { height: 230px; }
}

/* Überschrift in einer Zeile */
.potenzial-titel { white-space: nowrap; font-size: clamp(26px, 7.6vw, 64px); }

/* Kopf jeder Karte: Nummer und Titel */
.karte-kopf { display: grid; gap: 4px; }
.karte-kopf h3 { margin: 0; white-space: nowrap; font-weight: 500; font-size: clamp(18px, 5.2vw, 28px); line-height: 1.1; letter-spacing: -.03em; }

/* Karte 4: die KI erklärt die Schritte, geklickt wird von Hand */
.szene-anleitung .chat { height: 150px; }
.szene-anleitung .tipp { animation: a-tipp 7s steps(30, end) infinite; }
.szene-anleitung .frage { animation: a-frage 7s infinite; }
.schritte { justify-self: start; width: 86%; display: grid; gap: 7px; padding: 9px 10px; background: #2a2a2a; animation: a-schritte 7s infinite; }
.schritte span { display: flex; align-items: center; gap: 8px; }
.schritte em { font: 400 10px/1 var(--mono); font-style: normal; color: var(--grau); }
.schritte i { flex: 1; height: 6px; border-radius: 3px; background: #6a6a6a; }
.schritte span:nth-child(2) i { flex: 0 0 70%; }
.schritte span:nth-child(3) i { flex: 0 0 50%; }
.programm { right: 0; bottom: 0; width: 50%; height: 98px; display: grid; gap: 10px; align-content: center; background: #2a2a2a; border-color: #535353; }
.programm .zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.programm .zeile i { display: block; height: 5px; width: 52%; border-radius: 3px; background: #6a6a6a; }
.schalter { position: relative; width: 22px; height: 12px; border-radius: 6px; background: #535353; text-decoration: none; }
.schalter::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #bcbcbc; }
.schalter.an { background: #535353; }
.programm .zeile:first-child .schalter { animation: a-schalter 7s infinite; }
.programm .zeile:first-child .schalter::after { animation: a-knopf 7s infinite; }
.zeiger { position: absolute; width: 16px; z-index: 3; right: 14px; bottom: -10px; animation: a-zeiger 7s infinite; }
@keyframes a-tipp { 0% { clip-path: inset(0 100% 0 0); } 18%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-frage { 0%, 2% { opacity: 0; } 4%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes a-schritte { 0%, 22% { opacity: 0; translate: 0 6px; } 28%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes a-zeiger { 0%, 34% { opacity: 0; translate: 30px 30px; } 40% { opacity: 1; translate: 30px 30px; } 58% { opacity: 1; translate: 7px -59px; } 60% { scale: .85; translate: 7px -59px; } 62% { scale: 1; translate: 7px -59px; } 90% { opacity: 1; translate: 7px -59px; } 96%, 100% { opacity: 0; translate: 7px -59px; } }
@keyframes a-schalter { 0%, 60% { background: #535353; } 62%, 96% { background: var(--cyan); } 100% { background: #535353; } }
@keyframes a-knopf { 0%, 60% { translate: 0 0; background: #bcbcbc; } 62%, 96% { translate: 10px 0; background: #171717; } 100% { translate: 0 0; } }

/* Karte 1: Frage-Antwort-Spiel, zweimal hin und her */
.szene-spiel .chat { left: 6%; width: 88%; height: 200px; }
.szene-spiel .antwort { padding: 8px 10px; }
.szene-spiel .frage-1 { animation: p-f1 8s infinite; }
.szene-spiel .frage-1 .tipp { animation: p-t1 8s steps(30, end) infinite; }
.szene-spiel .antwort-1 { animation: p-a1 8s infinite; }
.szene-spiel .frage-2 { animation: p-f2 8s infinite; }
.szene-spiel .frage-2 .tipp { animation: p-t2 8s steps(22, end) infinite; }
.szene-spiel .antwort-2 { animation: p-a2 8s infinite; }
@keyframes p-f1 { 0%, 1% { opacity: 0; } 3%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes p-t1 { 0% { clip-path: inset(0 100% 0 0); } 16%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes p-a1 { 0%, 20% { opacity: 0; translate: 0 6px; } 25%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes p-f2 { 0%, 40% { opacity: 0; } 42%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes p-t2 { 0%, 42% { clip-path: inset(0 100% 0 0); } 54%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes p-a2 { 0%, 58% { opacity: 0; translate: 0 6px; } 63%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }

/* Karte 3: Copy-Paste-Olympiade. Aus der Mail in den Chat, aus dem Chat zurück in die Mail. */
.mail { left: 0; top: 0; width: 52%; height: 132px; background: #ededed; border-color: #ededed; gap: 6px; }
.mail .kopf { display: block; height: 8px; width: 50%; border-radius: 2px; background: #9c9c9c; margin-bottom: 4px; }
.mail i { display: block; height: 5px; border-radius: 3px; background: #bcbcbc; }
.mail i:nth-of-type(2) { width: 80%; }
.mail .markiert { display: grid; gap: 6px; }
.mail .markiert i { animation: o-markiert 8s infinite; }
.mail .markiert i:nth-child(2) { width: 70%; }
.mail .zurueck { display: grid; gap: 6px; margin-top: 4px; animation: o-zurueck 8s infinite; }
.mail .zurueck i { background: var(--cyan); }
.mail .zurueck i:nth-child(2) { width: 84%; }
.szene-olympia .chat { left: auto; right: 0; top: 56px; width: 62%; height: 150px; }
.szene-olympia .eingefuegt { justify-self: end; width: 80%; display: grid; gap: 5px; padding: 8px 10px; background: #3a3a3a; animation: o-eingefuegt 8s infinite; }
.szene-olympia .eingefuegt i { display: block; height: 5px; border-radius: 3px; background: #8f8f8f; }
.szene-olympia .eingefuegt i:nth-child(2) { width: 70%; }
.szene-olympia .antwort { animation: o-antwort 8s infinite; }
.szene-olympia .antwort i { animation: o-antwort-markiert 8s infinite; }
.olympia-flug { position: absolute; display: grid; gap: 5px; padding: 7px; width: 34%; border-radius: 6px; background: rgba(141,184,181,.18); border: 1px solid var(--cyan); opacity: 0; z-index: 3; }
.olympia-flug i { display: block; height: 5px; border-radius: 3px; background: var(--cyan); }
.olympia-flug i:nth-child(2) { width: 70%; }
.flug-hin { left: 10px; top: 58px; animation: o-hin 8s infinite; }
.flug-zurueck { right: 18px; top: 108px; animation: o-zurueck-flug 8s infinite; }
@keyframes o-markiert { 0%, 6% { background: #bcbcbc; } 9%, 30% { background: var(--cyan); } 34%, 100% { background: #bcbcbc; } }
@keyframes o-hin { 0%, 11% { opacity: 0; translate: 0 0; } 13% { opacity: 1; translate: 0 0; } 27% { opacity: 1; translate: 132px 14px; } 30%, 100% { opacity: 0; translate: 132px 14px; } }
@keyframes o-eingefuegt { 0%, 28% { opacity: 0; scale: .9; } 31%, 96% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes o-antwort { 0%, 38% { opacity: 0; translate: 0 6px; } 44%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes o-antwort-markiert { 0%, 52% { background: #6a6a6a; } 55%, 96% { background: var(--cyan); } 100% { background: #6a6a6a; } }
@keyframes o-zurueck-flug { 0%, 57% { opacity: 0; translate: 0 0; } 59% { opacity: 1; translate: 0 0; } 74% { opacity: 1; translate: -140px -28px; } 77%, 100% { opacity: 0; translate: -140px -28px; } }
@keyframes o-zurueck { 0%, 75% { opacity: 0; } 78%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* Nummer vor dem Titel */
.karte-kopf h3 .nr { color: var(--cyan); font: 400 .62em/1 var(--mono); margin-right: .55em; vertical-align: .18em; }

/* Feste Reihenfolge beim Scrollen: Überschrift, Unterzeile, Karten */
.potenzial.stufen .kicker,
.potenzial.stufen .karten,
.potenzial.stufen .karten-fuss { opacity: 0; translate: 0 28px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.potenzial.stufen .kicker { translate: 0 10px; }
.potenzial.stufen .kicker.da,
.potenzial.stufen .karten.da,
.potenzial.stufen .karten-fuss.da { opacity: 1; translate: 0 0; }
.potenzial.stufen .karten-fuss.da { transition-delay: .12s; }

/* Sektion Das Problem: Intelligenz und Umgebung sind voneinander getrennt */
.problem { padding: 150px 24px 64px; max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.problem-titel { margin: 0; white-space: nowrap; font-weight: 500; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.js .problem-titel .c { visibility: hidden; }
.js .problem-titel .c.da { visibility: visible; }
.these { margin: 0 0 30px; font-size: clamp(19px, 5.5vw, 34px); line-height: 1.18; letter-spacing: -.025em; color: var(--cyan); }
.etikett { display: block; color: #8f8f8f; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* Umgebung: ein Rahmen, eine Reihe, auf einen Blick */
.umgebung { border: 1px solid #3a3a3a; border-radius: 6px; background: #1b1b1b; }
.umgebung-kopf { display: flex; justify-content: center; padding: 10px 14px; border-bottom: 1px solid #2c2c2c; }
.umgebung-kopf small { font: 400 10.5px/1.3 var(--mono); color: #8f8f8f; letter-spacing: .02em; }
.umgebung-reihe { display: grid; grid-template-columns: repeat(4, 1fr); }
.teil { display: grid; justify-items: center; gap: 3px; padding: 14px 4px 13px; text-align: center; }
.teil + .teil { border-left: 1px solid #2c2c2c; }
.teil svg { width: 24px; height: 24px; margin-bottom: 5px; fill: none; stroke: var(--papier); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.teil b { font-weight: 500; font-size: 12.5px; }
.teil em { font: 400 10px/1.3 var(--mono); font-style: normal; color: var(--cyan); white-space: nowrap; }

/* Dazwischen: eine Leitung, die in der Mitte abreißt, und der Kopf, der trägt */
.dazwischen { position: relative; display: grid; justify-items: center; height: 168px; }
.luecke { grid-area: 1 / 1; align-self: stretch; display: grid; grid-template-rows: 1fr 1fr; justify-items: center; gap: 60px; padding: 6px 0; }
.luecke span { width: 0; border-left: 1px dashed #535353; }
.kurier { grid-area: 1 / 1; align-self: stretch; position: relative; width: 44px; z-index: 2; }
.kurier-flug { position: absolute; left: 0; top: -10px; width: 44px; }
.kurier-kopf { width: 44px; height: 44px; }
.kurier-kopf .kopf-svg { width: 100%; height: 100%; }
.paket { position: absolute; left: 50px; top: 12px; width: 44px; display: grid; gap: 4px; padding: 6px; border-radius: 4px; }
.paket i { display: block; height: 4px; border-radius: 2px; }
.paket i:nth-child(2) { width: 70%; }
.paket-hin { background: #ededed; }
.paket-hin i { background: #8f8f8f; }
.paket-zurueck { background: #1d2726; border: 1px solid var(--cyan); }
.paket-zurueck i { background: var(--cyan); }
.problem .paket-zurueck { opacity: 0; }

/* Intelligenz: ein Gehirn aus Leiterbahnen, Strom läuft hindurch */
.intelligenz { display: grid; justify-items: center; gap: 10px; }
.ki-gehirn { width: 118px; height: auto; overflow: visible; }
.ki-gehirn .umriss { fill: #1b1b1b; stroke: var(--papier); stroke-width: 1.4; stroke-linejoin: round; }
.ki-gehirn .bahn { fill: none; stroke: #535353; stroke-width: 1.2; stroke-linejoin: round; }
.ki-gehirn .strom { fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 7 60; stroke-dashoffset: 0; animation: strom 2.4s linear infinite; }
.ki-gehirn .s2 { animation-delay: -.6s; } .ki-gehirn .s3 { animation-delay: -1.2s; } .ki-gehirn .s4 { animation-delay: -1.8s; }
.ki-gehirn .knoten { fill: #1b1b1b; stroke: var(--cyan); stroke-width: 1.2; animation: knoten 2.4s ease-in-out infinite; }
.ki-gehirn .n2 { animation-delay: -.6s; } .ki-gehirn .n3 { animation-delay: -1.2s; } .ki-gehirn .n4 { animation-delay: -1.8s; }
@keyframes strom { to { stroke-dashoffset: -67; } }
@keyframes knoten { 0%, 60%, 100% { fill: #1b1b1b; } 30% { fill: var(--cyan); } }
.marken { font: 400 11px/1.3 var(--mono); color: var(--cyan); }

/* Begriffe unter dem Bild */
.begriffe { margin: 44px 0 0; display: grid; gap: 18px; }
.begriffe div { display: grid; gap: 3px; padding-top: 14px; border-top: 1px solid #2c2c2c; }
.begriffe dt { font-weight: 500; font-size: clamp(18px, 5vw, 24px); letter-spacing: -.02em; }
.begriffe dd { margin: 0; color: var(--grau); font-size: clamp(16px, 4.4vw, 20px); line-height: 1.35; }

/* Bewegung: fester Aufbau, der Kopf fällt herein und pendelt */
.problem.stufen .schritt { opacity: 0; translate: 0 24px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.problem.stufen .schritt.da { opacity: 1; translate: 0 0; }
.problem.stufen .luecke.schritt { translate: 0 0; }
.problem.stufen .kurier.schritt { translate: 0 0; transition: none; }
.problem.stufen .kurier.da .kurier-flug { animation: k-fallen .7s cubic-bezier(.3,0,.3,1) both, k-pendeln 3.6s ease-in-out .7s infinite; }
.problem.stufen .kurier.da .paket-hin { animation: k-hin 3.6s steps(1, end) .7s infinite; }
.problem.stufen .kurier.da .paket-zurueck { animation: k-zurueck 3.6s steps(1, end) .7s infinite; }
@keyframes k-fallen {
  0% { translate: 0 -110vh; rotate: -40deg; }
  72% { translate: 0 10px; rotate: 8deg; }
  86% { translate: 0 -6px; rotate: -3deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
@keyframes k-pendeln {
  0%, 8% { transform: translateY(0) rotate(0deg); }
  28% { transform: translateY(70px) rotate(14deg); }
  44%, 56% { transform: translateY(142px) rotate(0deg); }
  76% { transform: translateY(68px) rotate(-14deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes k-hin { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes k-zurueck { 0% { opacity: 0; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .kurier-flug { top: 60px; }
  .ki-gehirn .strom, .ki-gehirn .knoten { animation: none; }
}
@media (min-width: 900px) {
  .problem { padding-top: 180px; }
  .ki-gehirn { width: 150px; }
}

/* Sektion Die Lösung: das Gehirn steigt in die Umgebung, verbindet sich und handelt */
.loesung { padding: 150px 24px 64px; max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.loesung-titel { margin: 0; white-space: nowrap; font-weight: 500; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.js .loesung-titel .c { visibility: hidden; }
.js .loesung-titel .c.da { visibility: visible; }

.loesung-bild { position: relative; }
.rahmen .kern { position: relative; height: 128px; border-bottom: 1px solid #2c2c2c; }
.leitungen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leitungen line { stroke: var(--cyan); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: 0; }
.teil svg, .teil em { transition: stroke .4s, color .4s; }

.unten { position: relative; height: 170px; }
.bote { position: absolute; right: 14%; top: 34px; width: 44px; height: 44px; opacity: 0; }
.bote-kopf { width: 44px; height: 44px; }
.bote-kopf .kopf-svg { width: 100%; height: 100%; }
.bote-blatt { left: auto; right: 50px; top: 12px; }

/* Das Gehirn: startet unten, steigt in den Kern des Rahmens */
.steiger { position: absolute; left: calc(50% - 50px); width: 100px; top: 0; z-index: 3; }
.steiger .ki-gehirn { width: 100px; }

/* Ablauf (Klassen setzt das Skript nacheinander) */
.loesung-bild.p-bote .bote { opacity: 1; animation: k-fallen .7s cubic-bezier(.3,0,.3,1) both; }
.loesung-bild.p-loslassen .bote-blatt { animation: blatt-faellt 1s cubic-bezier(.5,0,.8,.6) forwards; }
.loesung-bild.p-verbinden .leitungen line { opacity: 1; transition: opacity .35s ease-out; }
.loesung-bild.p-verbinden .leitungen line:nth-child(2) { transition-delay: .1s; }
.loesung-bild.p-verbinden .leitungen line:nth-child(3) { transition-delay: .2s; }
.loesung-bild.p-verbinden .leitungen line:nth-child(4) { transition-delay: .3s; }
.loesung-bild.p-verbinden .teil svg { stroke: var(--cyan); }
@keyframes blatt-faellt { to { translate: -10px 120px; rotate: -35deg; opacity: 0; } }

.loesung .begriffe { margin-top: 12px; }

/* Bewegung: fester Aufbau wie in den anderen Sektionen */
.loesung.stufen .schritt { opacity: 0; translate: 0 24px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.loesung.stufen .schritt.da { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .leitungen line { opacity: 1; }
  .bote { opacity: 1; }
}
@media (min-width: 900px) {
  .loesung { padding-top: 180px; }
}

/* Sektion Chat und Harness: beides ist ein Chat. Gleiche Nachricht, zwei Ergebnisse. */
.harness { padding: 150px 24px 64px; max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.harness-titel { margin: 0; white-space: nowrap; font-weight: 500; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.js .harness-titel .c { visibility: hidden; }
.js .harness-titel .c.da { visibility: visible; }
.auftakt { margin: 10px 0 2px; color: #8f8f8f; font: 400 12px/1.4 var(--mono); letter-spacing: .02em; }

.duell { display: grid; gap: 64px; margin-top: 18px; }
.chatkarte { position: relative; display: grid; gap: 12px; align-content: start; }
.ck-fenster { display: grid; grid-template-rows: auto 1fr auto; padding: 0 14px 12px; border: 1px solid #333; border-radius: 10px; background: #1b1b1b; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(0,0,0,.9); }
.ck-leiste { display: flex; align-items: center; gap: 9px; margin: 0 -14px; padding: 10px 14px; border-bottom: 1px solid #2c2c2c; background: #222; }
.ck-leiste .punkte { display: flex; gap: 5px; margin-right: 4px; }
.ck-leiste .punkte i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; }
.ck-leiste b { font-weight: 500; font-size: 13.5px; }
.ck-leiste small { color: #8f8f8f; font: 400 10.5px/1.3 var(--mono); }
.k-harness .ck-leiste b { color: var(--cyan); }
.k-harness .ck-fenster { border-color: #3f5654; box-shadow: 0 0 0 1px rgba(141,184,181,.08), 0 18px 40px -24px rgba(141,184,181,.35); }
.ck-kopf { display: grid; gap: 3px; }
.ck-kopf b { font-weight: 500; font-size: clamp(19px, 5.4vw, 24px); letter-spacing: -.02em; }
.ck-kopf small { color: #8f8f8f; font: 400 11px/1.3 var(--mono); }
.k-harness .ck-kopf b { color: var(--cyan); }
.verlauf { display: grid; align-content: start; gap: 12px; padding: 16px 0; min-height: 150px; }
.ich { justify-self: end; max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: #333; font-size: 14px; line-height: 1.35; }
.ki { margin: 0; color: var(--grau); font-size: 14px; line-height: 1.45; }
.denkt { margin: 0; display: flex; gap: 4px; }
.denkt i { width: 5px; height: 5px; border-radius: 50%; background: #6a6a6a; animation: denken 1s ease-in-out infinite; }
.denkt i:nth-child(2) { animation-delay: .15s; } .denkt i:nth-child(3) { animation-delay: .3s; }
@keyframes denken { 0%, 100% { opacity: .3; translate: 0 0; } 50% { opacity: 1; translate: 0 -2px; } }
.ck-eingabe { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 5px 0 13px; border: 1px solid #333; border-radius: 999px; }
.ck-eingabe span { color: #5c5c5c; font-size: 13px; }
.ck-eingabe svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #333; fill: none; stroke: var(--papier); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Was der Harness tut: Schritt für Schritt, mit Zahl */
.arbeit { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.arbeit li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px; font: 400 12.5px/1.3 var(--mono); color: var(--papier); }
.arbeit em { font-style: normal; color: var(--cyan); font-variant-numeric: tabular-nums; }
.zustand { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #3a3a3a; }
.zustand::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--grund); border-width: 0 1.6px 1.6px 0; rotate: 45deg; opacity: 0; }
.arbeit li.laeuft .zustand { border-color: #3a3a3a; border-top-color: var(--cyan); animation: drehen .7s linear infinite; }
.arbeit li.fertig .zustand { border-color: var(--cyan); background: var(--cyan); }
.arbeit li.fertig .zustand::after { opacity: 1; }
@keyframes drehen { to { rotate: 360deg; } }
.ergebnis { display: grid; gap: 10px; padding-top: 4px; }
.ergebnis p { margin: 0; font-size: 14px; line-height: 1.4; }
.knoepfe { display: flex; gap: 8px; }
.knoepfe span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.k-voll { background: var(--papier); color: var(--grund); }
.k-rand { border: 1px solid #535353; color: var(--papier); }

/* Der Kopf platzt, wenn der Harness fertig ist */
.knall { position: absolute; right: -6px; top: -14px; width: 58px; height: 58px; opacity: 0; scale: .4; transition: opacity .2s, scale .35s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.knall.da { opacity: 1; scale: 1; }

/* Die eine Definition */
.definition { display: grid; gap: 6px; margin-top: 40px; padding: 2px 0 2px 14px; border-left: 1px solid var(--cyan); }
.def-marke { color: var(--cyan); font: 400 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.definition p { margin: 0; color: #9c9c9c; font-size: 14px; line-height: 1.5; }
.definition b { color: var(--papier); font-weight: 500; }
.bruecke { margin: 34px 0 0; font-size: clamp(16px, 4.6vw, 20px); line-height: 1.35; }

/* Ablauf: ohne Skript steht alles fertig da; mit Skript wird es nacheinander gezeigt */
.harness.stufen .schritt { opacity: 0; translate: 0 24px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.harness.stufen .schritt.da { opacity: 1; translate: 0 0; }
.harness.stufen .ich .z { visibility: hidden; }
.harness.stufen .ich .z.da { visibility: visible; }
.harness.stufen .ich { opacity: 0; }
.harness.stufen .ich.da { opacity: 1; }
.harness.stufen .denkt, .harness.stufen .ki, .harness.stufen .ergebnis, .harness.stufen .arbeit li { display: none; }
.harness.stufen .denkt.da { display: flex; }
.harness.stufen .ki.da, .harness.stufen .ergebnis.da { display: grid; animation: auftauchen .35s ease-out; }
.harness.stufen .ki.da { display: block; }
.harness.stufen .arbeit li.da { display: grid; animation: auftauchen .25s ease-out; }
@keyframes auftauchen { from { opacity: 0; translate: 0 6px; } }
.harness:not(.stufen) .arbeit li .zustand { border-color: var(--cyan); background: var(--cyan); }
.harness:not(.stufen) .arbeit li .zustand::after { opacity: 1; }

@media (min-width: 900px) {
  .harness { padding-top: 180px; }
  .duell { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* Sektion Die fünf Schritte: jeder Schritt hat eine eigene Bühne. Sie bleibt beim Scrollen stehen,
   das Bild wechselt von Vorher zu Nachher, dann schiebt sich die nächste Bühne darüber. */
.phasen { padding: 150px 24px 40px; max-width: 720px; margin: 0 auto; }
.phasen-titel { margin: 0 0 26px; white-space: nowrap; font-weight: 500; font-size: clamp(34px, 10vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.js .phasen-titel .c { visibility: hidden; }
.js .phasen-titel .c.da { visibility: visible; }
.verborgen { position: absolute; width: 0; height: 0; overflow: hidden; }
.mini-gehirn { display: block; width: 74px; height: auto; overflow: visible; }

.buehnen { --leiste: 38px; position: relative; }

/* Fahrplan: fünf Abschnitte, der laufende füllt sich mit dem Scrollen */
.b-leiste { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: var(--leiste); align-items: center; background: var(--grund); }
.b-leiste span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; }
.b-leiste em { font: 400 10px/1 var(--mono); font-style: normal; color: #535353; transition: color .3s; }
.b-leiste i { position: relative; height: 2px; border-radius: 1px; background: #2c2c2c; overflow: hidden; }
.b-leiste b { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.b-leiste span.jetzt em { color: var(--cyan); }
.phasen.stufen .b-leiste { opacity: 0; transition: opacity .4s ease-out; }
.phasen.stufen .b-leiste.da { opacity: 1; }

/* Jeder Schritt hat einen eigenen Raum, so hoch wie der Bildschirm. Gescrollt wird normal, nichts hält fest. */
.buehne { position: relative; }
.phasen.lebt .buehne { min-height: calc(100vh - var(--leiste)); min-height: calc(100svh - var(--leiste)); display: grid; }
.b-innen { display: grid; grid-template-rows: auto auto auto minmax(180px, 330px) auto; align-content: center; gap: 14px; padding: 18px 0 26px; transform-origin: 50% 0; }
.phasen.lebt .b-innen { padding: 36px 0 44px; }
.phasen:not(.lebt) .b-innen { padding: 44px 0; }

.b-kopf { display: flex; align-items: baseline; gap: 14px; }
.b-nr { font: 300 clamp(15px, 4vw, 18px)/1 var(--mono); color: var(--cyan); }
.b-kopf h3 { margin: 0; font-weight: 500; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.b-def { margin: 0; color: #d6d6d6; font-size: clamp(15px, 4.1vw, 18px); line-height: 1.5; }

/* Vorher und Nachher: der Punkt folgt dem Scrollen, beim Wechsel springt er auf Nachher */
.b-schalter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.b-v { color: var(--papier); transition: color .3s; }
.b-n { color: #535353; transition: color .3s; }
.b-bahn { position: relative; height: 1px; background: #2c2c2c; }
.b-bahn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v, 1) * 100%); background: #6a6a6a; }
.b-bahn b { position: absolute; top: -3px; left: calc(var(--v, 1) * (100% - 7px)); width: 7px; height: 7px; border-radius: 50%; background: var(--papier); transition: background .3s, box-shadow .3s; }
.fertig .b-v { color: #535353; }
.fertig .b-n { color: var(--cyan); }
.nachher .b-bahn::before { background: var(--cyan); }
.fertig .b-bahn b { background: var(--cyan); box-shadow: 0 0 0 4px rgba(141,184,181,.18); }
.phasen:not(.lebt) .b-schalter { display: none; }

.b-bild { position: relative; overflow: hidden; border: 1px solid #2c2c2c; border-radius: 10px; background: #131313; }
.b-text { display: grid; }
.b-text p { grid-area: 1 / 1; margin: 0; font-size: clamp(15px, 4.1vw, 18px); line-height: 1.45; transition: opacity .35s ease-out, translate .35s cubic-bezier(.2,.8,.2,1); }
.b-vorher { color: #9c9c9c; }
.b-nachher { color: var(--papier); }
.b-etikett { color: var(--cyan); font: 400 .72em/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.phasen.lebt .b-etikett { display: none; }
.phasen.lebt .b-nachher { opacity: 0; translate: 0 8px; }
.phasen.lebt .halb .b-vorher { opacity: 0; translate: 0 -8px; }
.phasen.lebt .halb .b-nachher { opacity: 1; translate: 0 0; }
.phasen:not(.lebt) .b-text { gap: 10px; }
.phasen:not(.lebt) .b-text p { grid-area: auto; }

/* Linien, die sich zeichnen */
/* Länge in Bildpunkten misst seite.js (--l), damit die Linie bei jeder Größe gleich dünn bleibt */
.zieht-sich path { fill: none; stroke: var(--cyan); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: var(--l, 0); stroke-dashoffset: var(--l, 0); transition: stroke-dashoffset .15s; }
.nachher .zieht-sich path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease-out; }

/* 01 Installieren: aus dem Browser auf den Rechner */
.si-ordner { position: absolute; left: 14px; top: 0; width: 34%; height: calc(100% - 34px); }
.si-ordner span { position: absolute; left: 0; display: flex; align-items: center; gap: 7px; translate: 0 -50%; font-size: 11.5px; color: #6a6a6a; white-space: nowrap; transition: color .3s; }
.si-ordner span:nth-child(1) { top: 20%; } .si-ordner span:nth-child(2) { top: 42%; } .si-ordner span:nth-child(3) { top: 64%; }
.si-ordner svg { width: 20px; height: 20px; fill: none; stroke: #535353; stroke-width: 1.3; stroke-linejoin: round; transition: stroke .3s; }
.si-zugriff { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 34px); overflow: visible; }
.si-browser { position: absolute; left: 46%; right: 12px; top: 14px; bottom: 48px; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; padding-bottom: 9px; border: 1px solid #333; border-radius: 6px; background: #1b1b1b; transition: opacity .35s, scale .35s; }
.si-adresse { justify-self: stretch; display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid #2c2c2c; }
.si-adresse i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #3a3a3a; }
.si-adresse span { flex: 1; margin-left: 4px; padding: 3px 6px; border-radius: 3px; background: #262626; font: 400 9px/1.2 var(--mono); color: #8f8f8f; white-space: nowrap; overflow: hidden; }
.si-browser .mini-gehirn { width: 50px; }
.si-browser small { font: 400 9.5px/1.2 var(--mono); color: #6a6a6a; }
.si-ki { position: absolute; left: calc(72% - 45px); width: 90px; top: calc((100% - 34px) * .42); translate: 0 -40%; display: grid; justify-items: center; gap: 6px; opacity: 0; scale: .7; transition: opacity .25s, scale .25s; }
.si-ki .mini-gehirn { width: 62px; }
.si-ki small { font: 400 9.5px/1.2 var(--mono); color: var(--cyan); white-space: nowrap; }
.si-installer { position: absolute; left: 50%; top: calc((100% - 34px) / 2); translate: -50% -50%; width: 62%; display: grid; justify-items: center; gap: 8px; padding: 14px 12px; border: 1px solid #3a3a3a; border-radius: 6px; background: #1d1d1d; box-shadow: 0 18px 40px -20px #000; opacity: 0; visibility: hidden; z-index: 2; }
.si-installer span { font-size: 12px; font-weight: 500; }
.si-installer i { position: relative; width: 100%; height: 4px; border-radius: 2px; background: #2c2c2c; overflow: hidden; }
.si-installer b { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.si-installer small { font: 400 9.5px/1 var(--mono); color: #8f8f8f; }
.si-taskleiste { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; border-top: 1px solid #262626; background: #1a1a1a; }
.si-taskleiste i { width: 16px; height: 16px; border-radius: 4px; background: #2e2e2e; }
.si-app { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--cyan); color: var(--grund); font: 700 8px/1 var(--mono); scale: 0; transition: scale .2s; }
.nachher .si-browser { opacity: 0; scale: .9; }
.nachher .si-installer { animation: si-fenster 1.75s .2s both; }
.nachher .si-installer b { animation: si-balken 1.05s cubic-bezier(.4,0,.2,1) .45s both; }
.nachher .si-app { scale: 1; transition: scale .35s cubic-bezier(.3,1.5,.5,1) 1.55s; }
.nachher .si-ki { opacity: 1; scale: 1; transition: opacity .4s 1.75s, scale .5s cubic-bezier(.3,1.4,.5,1) 1.75s; }
.nachher .si-zugriff path { transition-delay: 2.1s; }
.nachher .si-zugriff path:nth-child(2) { transition-delay: 2.25s; }
.nachher .si-zugriff path:nth-child(3) { transition-delay: 2.4s; }
.nachher .si-ordner span { color: var(--papier); transition-delay: 2.4s; }
.nachher .si-ordner span:nth-child(2) { transition-delay: 2.55s; }
.nachher .si-ordner span:nth-child(3) { transition-delay: 2.7s; }
.nachher .si-ordner svg { stroke: var(--cyan); transition-delay: inherit; }
@keyframes si-fenster { 0% { opacity: 0; visibility: visible; translate: -50% -38%; } 14%, 84% { opacity: 1; visibility: visible; translate: -50% -50%; } 100% { opacity: 0; visibility: hidden; translate: -50% -50%; } }
@keyframes si-balken { to { transform: scaleX(1); } }

/* 02 Verbinden: von der Insel zum Knoten */
.sv { display: grid; grid-template-rows: auto minmax(56px, 1fr) auto auto; padding: 14px 12px 10px; }
.sv-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-reihe span { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 54px; padding: 8px 4px; border: 1px solid #2a2a2a; border-radius: 6px; background: #181818; color: #6a6a6a; font-size: 10.5px; font-weight: 500; line-height: 1.15; text-align: center; transition: color .3s, border-color .3s, background .3s; }
.sv-reihe svg { width: 18px; height: 18px; fill: none; stroke: #4a4a4a; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.sv-mitte { position: relative; display: grid; place-items: center; }
.sv-mitte .mini-gehirn { position: relative; z-index: 1; width: 60px; }
.sv-netz { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sv-stand { display: grid; justify-items: center; margin-top: 10px; font: 400 9.5px/1.2 var(--mono); }
.sv-stand span { grid-area: 1 / 1; transition: opacity .3s; }
.sv-aus { color: #6a6a6a; }
.sv-an { color: var(--cyan); opacity: 0; }
.nachher .sv-aus { opacity: 0; }
.nachher .sv-an { opacity: 1; transition-delay: 2.1s; }
.nachher .sv-netz path:nth-child(1) { transition-delay: .2s; } .nachher .sv-netz path:nth-child(2) { transition-delay: .45s; }
.nachher .sv-netz path:nth-child(3) { transition-delay: .7s; } .nachher .sv-netz path:nth-child(4) { transition-delay: .95s; }
.nachher .sv-netz path:nth-child(5) { transition-delay: 1.2s; } .nachher .sv-netz path:nth-child(6) { transition-delay: 1.45s; }
.nachher .sv-reihe span { color: var(--papier); border-color: #3f5654; background: #18201f; }
.nachher .sv-reihe svg { stroke: var(--cyan); transition-delay: inherit; }
.nachher .sv > .sv-reihe:first-child span:nth-child(1) { transition-delay: .55s; }
.nachher .sv > .sv-reihe:first-child span:nth-child(2) { transition-delay: .8s; }
.nachher .sv > .sv-reihe:first-child span:nth-child(3) { transition-delay: 1.05s; }
.nachher .sv-mitte + .sv-reihe span:nth-child(1) { transition-delay: 1.3s; }
.nachher .sv-mitte + .sv-reihe span:nth-child(2) { transition-delay: 1.55s; }
.nachher .sv-mitte + .sv-reihe span:nth-child(3) { transition-delay: 1.8s; }

/* 03 Ordnen: aus dem Haufen in den Baum */
.so-haufen { position: absolute; inset: 0; }
.so-d { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px 4px 5px; border: 1px solid #333; border-radius: 4px; background: #1c1c1c; color: #8f8f8f; font: 400 9.5px/1.2 var(--mono); white-space: nowrap; transition: opacity .3s, translate .3s, rotate .3s, scale .3s; }
.so-d::before { content: ''; width: 8px; height: 10px; border-radius: 1px; background: #4a4a4a; }
.d1 { left: 6%; top: 9%; rotate: -8deg; } .d2 { left: 54%; top: 7%; rotate: 6deg; } .d3 { left: 28%; top: 27%; rotate: -3deg; }
.d4 { left: 7%; top: 46%; rotate: 9deg; } .d5 { left: 55%; top: 42%; rotate: -11deg; } .d6 { left: 16%; top: 70%; rotate: 4deg; } .d7 { left: 49%; top: 76%; rotate: -6deg; }
.so-baum { position: absolute; left: 14px; right: 10px; top: 50%; translate: 0 -50%; display: grid; }
.so-z { display: block; height: 21px; font: 400 10.5px/21px var(--mono); color: var(--papier); white-space: nowrap; opacity: 0; translate: 6px 0; transition: opacity .15s, translate .15s; }
.so-z s { text-decoration: none; color: #535353; }
.so-wurzel { color: var(--cyan); }
.so-neu { color: var(--cyan); }
.so-z em { margin-left: 6px; padding: 1px 4px; border: 1px solid #3f5654; border-radius: 3px; font-size: 8.5px; font-style: normal; color: var(--cyan); }
.so-z em + em { margin-left: 4px; }
/* Verwandlung: Jede Datei fliegt an ihren Platz im Baum und wird dort zum geordneten Eintrag (Ziele setzt seite.js) */
.so-d { transform-origin: 0 50%; }
.nachher .so-d { translate: var(--zx, 0) var(--zy, 0); rotate: 0deg; opacity: 0; border-color: #3f5654; color: var(--cyan); transition: translate 1s cubic-bezier(.55,0,.25,1) var(--d, 0s), rotate 1s ease var(--d, 0s), border-color .3s var(--d, 0s), color .3s var(--d, 0s), opacity .3s ease calc(var(--d, 0s) + .85s); }
.nachher .so-z { opacity: 1; translate: 0 0; transition: opacity .35s var(--d, .2s), translate .35s var(--d, .2s); }

/* 04 Gehirn: Vorher lauter einzelne Chats zu einzelnen Dingen. Nachher ein Kopf: Die Post geht hinein,
   er startet Sitzungen, die links unter ihm hängen und arbeiten. */
.sg-chats { position: absolute; inset: 0; }
.sg-chat { position: absolute; width: 60%; display: grid; gap: 7px; padding-bottom: 9px; border: 1px solid #333; border-radius: 6px; background: #1b1b1b; box-shadow: 0 12px 28px -16px #000; overflow: hidden; transition: opacity .3s, translate .3s, scale .3s; }
.sg-chat b { padding: 6px 8px; border-bottom: 1px solid #2c2c2c; background: #222; font-size: 10px; font-weight: 500; color: #bcbcbc; white-space: nowrap; }
.sg-chat span { justify-self: end; max-width: calc(100% - 16px); margin: 0 8px; padding: 5px 8px; border-radius: 9px 9px 2px 9px; background: #333; font-size: 10px; line-height: 1.3; color: var(--papier); }
.c1 { left: 3%; top: 3%; rotate: -1.5deg; } .c2 { left: 37%; top: 25%; rotate: 1deg; }
.c3 { left: 4%; top: 48%; rotate: 1.2deg; } .c4 { left: 36%; top: 71%; rotate: -1deg; }

.sg-app { position: absolute; inset: 0; display: grid; grid-template-columns: 46% 1fr; opacity: 0; transition: opacity .2s; }
.sg-seite { position: relative; display: grid; align-content: start; gap: 6px; padding: 10px 8px; border-right: 1px solid #2a2a2a; background: #161616; }
.sg-kopfeintrag { display: flex; align-items: center; gap: 6px; padding: 6px 7px; border-radius: 5px; background: #222; box-shadow: inset 2px 0 0 var(--cyan); font-size: 11px; font-weight: 500; color: var(--papier); }
.sg-kopfeintrag .mini-gehirn, .sg-haupt header .mini-gehirn { width: 16px; }
.sg-baum { display: grid; gap: 4px; margin-left: 11px; padding-left: 8px; border-left: 1px solid #333; }
.sg-baum span { position: relative; display: grid; grid-template-columns: 7px 1fr; column-gap: 6px; align-items: center; padding: 4px 4px; border-radius: 4px; opacity: 0; translate: -6px 0; transition: opacity .2s, translate .2s; }
.sg-baum span::before { content: ''; position: absolute; left: -8px; top: 50%; width: 6px; border-top: 1px solid #333; }
.sg-baum i { grid-row: span 2; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.sg-baum b { font-size: 9.5px; font-weight: 500; line-height: 1.25; color: var(--papier); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-baum small { font: 400 8px/1.3 var(--mono); color: #6a6a6a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-karte { position: absolute; left: 8px; right: 8px; bottom: 9px; padding: 5px 6px; border: 1px dashed #3f5654; border-radius: 4px; font: 400 9px/1 var(--mono); color: var(--cyan); text-align: center; opacity: 0; transition: opacity .2s; }
.sg-haupt { display: grid; align-content: start; gap: 9px; padding: 0 10px 10px; }
.sg-haupt header { display: flex; align-items: center; gap: 6px; margin: 0 -10px; padding: 8px 10px; border-bottom: 1px solid #2a2a2a; font-size: 10.5px; font-weight: 500; color: var(--cyan); }
.sg-ich { justify-self: end; display: flex; align-items: center; gap: 6px; margin: 0; padding: 5px 9px 5px 5px; border-radius: 9px 9px 2px 9px; background: #333; font-size: 10px; opacity: 0; translate: 0 6px; transition: opacity .2s, translate .2s; }
.sg-foto { width: 14px; height: 18px; border-radius: 2px; background: #ededed; box-shadow: inset 0 -5px 0 #bcbcbc; }
.sg-antwort { margin: 0; color: var(--grau); font-size: 10px; line-height: 1.4; opacity: 0; translate: 0 6px; transition: opacity .2s, translate .2s; }
/* Verwandlung: Die einzelnen Chats fliegen links unter den Kopf und werden zu seinen Sitzungen,
   die Erinnerung landet in der Karte. Danach kommt die Post in den Kopf. Ziele setzt seite.js. */
.sg-chats { z-index: 2; }
.sg-chat { transform-origin: 0 0; }
.nachher .sg-chat { translate: var(--zx, 0) var(--zy, 0); scale: var(--s, .6); rotate: 0deg; opacity: 0; transition: translate .95s cubic-bezier(.55,0,.25,1) var(--d, 0s), scale .95s cubic-bezier(.55,0,.25,1) var(--d, 0s), rotate .95s ease var(--d, 0s), opacity .3s ease calc(var(--d, 0s) + .8s); }
.nachher .sg-app { opacity: 1; transition: opacity .5s .1s; }
.nachher .sg-baum span, .nachher .sg-karte { opacity: 1; translate: 0 0; transition: opacity .3s var(--d, 1s), translate .3s var(--d, 1s); }
.nachher .sg-ich, .nachher .sg-antwort { opacity: 1; translate: 0 0; transition: opacity .35s, translate .35s; }
.nachher .sg-ich { transition-delay: 2.7s; } .nachher .sg-antwort { transition-delay: 3.2s; }
.nachher .sg-baum i { animation: sg-puls 1.2s ease-in-out 3.3s infinite; }
.nachher .sg-baum span:nth-child(2) i { animation-delay: 3.6s; } .nachher .sg-baum span:nth-child(3) i { animation-delay: 3.9s; }
@keyframes sg-puls { 50% { opacity: .2; } }

/* 05 Arbeiten: dieselben fünf Programme, erst nacheinander von Hand, dann in einem Zug aus dem Kopf */
.sa-links { position: absolute; left: 10px; top: 0; bottom: 0; width: 28%; }
.sa-kopf { position: absolute; left: 50%; top: 50%; translate: -50% -38%; display: grid; justify-items: center; gap: 4px; opacity: .3; transition: opacity .3s; }
.sa-kopf .mini-gehirn { width: 54px; }
.sa-kopf small { font: 400 9.5px/1 var(--mono); color: #8f8f8f; transition: color .3s; }
.sa-brief { position: absolute; left: 50%; top: calc(50% - 70px); translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 5px 8px 5px 5px; border: 1px solid #333; border-radius: 6px; background: #1f1f1f; font: 400 9.5px/1 var(--mono); color: var(--papier); white-space: nowrap; transition: opacity .3s, translate .3s, scale .3s; }
.sa-brief i { width: 15px; height: 19px; border-radius: 2px; background: #ededed; box-shadow: inset 0 -6px 0 #bcbcbc; }
.sa-linien { position: absolute; left: calc(14% + 38px); top: 10px; width: calc(32% - 41px); height: calc(100% - 20px); overflow: visible; }
.sa-ziele { position: absolute; left: 46%; right: 10px; top: 10px; bottom: 10px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-rows: repeat(5, 1fr); gap: 5px; }
.sa-ziele li { display: grid; align-content: center; gap: 2px; min-height: 0; padding: 0 9px; border: 1px solid #2a2a2a; border-radius: 5px; background: #181818; transition: border-color .3s, background .3s; }
.sa-ziele b { font-size: 11.5px; font-weight: 500; line-height: 1.1; color: #bcbcbc; transition: color .3s; }
.sa-ziele small { display: grid; font: 400 9px/1.25 var(--mono); }
.sa-ziele small span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .3s; }
.sa-v { color: #6a6a6a; }
.sa-n { color: var(--cyan); opacity: 0; }
.sa-n em { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--papier); color: var(--grund); font: 500 8.5px/1.4 var(--inter); font-style: normal; }
.sa-zeiger { position: absolute; right: 18px; top: 12%; width: 12px; fill: var(--papier); stroke: var(--grund); stroke-width: 1.2; stroke-linejoin: round; animation: sa-hand 6s ease-in-out infinite; transition: opacity .3s; }
@keyframes sa-hand { 0%, 14% { top: 12%; } 20%, 34% { top: 31%; } 40%, 54% { top: 50%; } 60%, 74% { top: 69%; } 80%, 94% { top: 88%; } 100% { top: 12%; } }
.nachher .sa-zeiger { opacity: 0; animation-play-state: paused; }
.nachher .sa-brief { opacity: 0; scale: .5; translate: -50% 62px; transition: opacity .35s .45s, translate .55s cubic-bezier(.5,0,.6,1) .1s, scale .55s .1s; }
.nachher .sa-kopf { opacity: 1; }
.nachher .sa-kopf small { color: var(--cyan); }
.nachher .sa-linien path { transition-delay: .8s; } .nachher .sa-linien path:nth-child(2) { transition-delay: 1s; }
.nachher .sa-linien path:nth-child(3) { transition-delay: 1.2s; } .nachher .sa-linien path:nth-child(4) { transition-delay: 1.4s; }
.nachher .sa-linien path:nth-child(5) { transition-delay: 1.6s; }
.nachher .sa-ziele li { border-color: #3f5654; background: #18201f; }
.nachher .sa-ziele b { color: var(--papier); }
.nachher .sa-v { opacity: 0; }
.nachher .sa-n { opacity: 1; }
.nachher .sa-ziele li:nth-child(1), .nachher .sa-ziele li:nth-child(1) * { transition-delay: 1.15s; }
.nachher .sa-ziele li:nth-child(2), .nachher .sa-ziele li:nth-child(2) * { transition-delay: 1.35s; }
.nachher .sa-ziele li:nth-child(3), .nachher .sa-ziele li:nth-child(3) * { transition-delay: 1.55s; }
.nachher .sa-ziele li:nth-child(4), .nachher .sa-ziele li:nth-child(4) * { transition-delay: 1.75s; }
.nachher .sa-ziele li:nth-child(5), .nachher .sa-ziele li:nth-child(5) * { transition-delay: 1.95s; }

@media (prefers-reduced-motion: reduce) {
  .phasen .b-bild *, .phasen .b-text p { transition: none !important; animation: none !important; }
}
@media (min-width: 900px) {
  .phasen { padding-top: 180px; }
}

/* Abschluss: Überschrift tippt sich auf, dann Satz und Wege nacheinander */
.tabellen-sektion { padding: 150px 24px 64px; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.t-titel { margin: 0; white-space: nowrap; font-weight: 500; font-size: clamp(26px, 7.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.js .t-titel .c { visibility: hidden; }
.js .t-titel .c.da { visibility: visible; }
.tabellen-sektion .these { font-size: clamp(17px, 4.8vw, 26px); line-height: 1.3; }
.tabellen-sektion.stufen .schritt { opacity: 0; translate: 0 24px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.tabellen-sektion.stufen .schritt.da { opacity: 1; translate: 0 0; }
.p-leiste { display: flex; justify-content: center; padding: 8px 12px; border-bottom: 1px solid #262626; background: #1b1b1b; }
.p-leiste small { font: 400 10px/1.3 var(--mono); color: #8f8f8f; }
@media (min-width: 900px) {
  .tabellen-sektion { padding-top: 180px; }
}

/* Abschluss: zwei Wege, im Fenster-Stil der Seite */
.wege { display: grid; gap: 18px; margin-top: 18px; }
.weg { border: 1px solid #333; border-radius: 8px; background: #141414; overflow: hidden; }
.weg-haupt { border-color: #3f5654; box-shadow: 0 18px 40px -24px rgba(141,184,181,.35); }
.weg .p-leiste { justify-content: flex-start; }
.weg-haupt .p-leiste small { color: var(--cyan); }
.weg-innen { display: grid; gap: 10px; justify-items: start; padding: 16px 16px 18px; }
.weg h3 { margin: 0; font-weight: 500; font-size: clamp(19px, 5.4vw, 24px); letter-spacing: -.02em; }
.weg p { margin: 0; color: #9c9c9c; font-size: 14.5px; line-height: 1.5; }
.weg-knopf { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; margin-top: 6px; padding: 0 18px; border-radius: 3px; font-size: 15px; font-weight: 500; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.weg-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.weg-knopf.voll { background: var(--papier); color: var(--grund); }
.weg-knopf.rand { border: 1px solid #535353; color: var(--papier); }
.weg-knopf:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.weg-zusatz { color: #6a6a6a; font: 400 11px/1.3 var(--mono); }

/* Fußzeile */
.fusszeile { max-width: 760px; margin: 0 auto; padding: 64px 24px max(36px, env(safe-area-inset-bottom)); border-top: 1px solid #262626; display: grid; gap: 14px; }
.fusszeile nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fusszeile a { color: var(--grau); font-size: 13px; text-decoration: none; }
.fusszeile a:hover { color: var(--papier); }
.fusszeile p { margin: 0; color: #5c5c5c; font: 400 10.5px/1.5 var(--mono); }
.abschluss { padding-bottom: 96px; }

@media (min-width: 900px) {
  .wege { grid-template-columns: 1fr 1fr; }
}

/* Begriffe unter Problem und Lösung: kleiner und dezenter */
.problem .begriffe, .loesung .begriffe { gap: 12px; }
.problem .begriffe div, .loesung .begriffe div { padding-top: 10px; }
.problem .begriffe dt, .loesung .begriffe dt { font-size: 15px; }
.problem .begriffe dd, .loesung .begriffe dd { color: #9c9c9c; font-size: 14px; line-height: 1.45; }

/* Nachjustiert 29.11.: Begriffe mittelgroß, zweiter Weg leiser, mehr Luft vor der Fußzeile */
.problem .begriffe dt, .loesung .begriffe dt { font-size: 17px; }
.problem .begriffe dd, .loesung .begriffe dd { font-size: 15.5px; }
.weg-knopf.leise { min-height: 0; margin-top: 2px; padding: 0; color: var(--papier); text-decoration: underline; text-decoration-color: #535353; text-underline-offset: 5px; }
.abschluss { padding-bottom: 140px; }

/* 08/15, Karte 5: kostenloses, schwaches Modell. Kurze Antwort, dann ist Schluss. Der Kopf platzt. */
.szene-kostenlos .chat { left: 0; width: 80%; height: 196px; }
.modell { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #333; }
.modell-name { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--papier); }
.modell-name svg { width: 8px; height: 5px; fill: none; stroke: #8f8f8f; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.modell-kraft { display: flex; gap: 2px; }
.modell-kraft i { width: 4px; height: 10px; border-radius: 1px; background: #333; }
.modell-kraft i.an { background: #8f8f8f; }
.szene-kostenlos .frage { animation: f-frage 7s infinite; }
.szene-kostenlos .tipp { animation: f-tipp 7s steps(26, end) infinite; }
.szene-kostenlos .antwort { width: 58%; animation: f-antwort 7s infinite; }
.szene-kostenlos .antwort i:nth-child(2) { width: 45%; }
.grenze { padding: 7px 10px; border: 1px dashed #535353; border-radius: 8px; color: #8f8f8f; font: 400 10.5px/1.2 var(--mono); text-align: center; animation: f-grenze 7s infinite; }
@keyframes f-frage { 0%, 2% { opacity: 0; } 4%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes f-tipp { 0% { clip-path: inset(0 100% 0 0); } 20%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes f-antwort { 0%, 26% { opacity: 0; translate: 0 6px; } 32%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes f-grenze { 0%, 48% { opacity: 0; translate: 0 6px; } 54%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.k5-kopf { position: absolute; right: -2px; top: 2px; width: 58px; height: 58px; opacity: 0; scale: .4; transition: opacity .2s, scale .35s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.k5-kopf.da { opacity: 1; scale: 1; }

/* Problem und Lösung: rotes X für das Negative, grünes Häkchen für die Lösung. Gedämpft, damit Cyan der Akzent bleibt. */
.begriffe dt { display: flex; align-items: center; gap: 10px; }
.mark { flex: none; width: 20px; height: 20px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { stroke-width: 1; }
.mark.nein { --farbe: #d0756d; stroke: var(--farbe); }
.mark.nein circle { stroke: rgba(208,117,109,.4); fill: rgba(208,117,109,.08); }
.mark.ja { --farbe: #8fbf8b; stroke: var(--farbe); }
.mark.ja circle { stroke: rgba(143,191,139,.4); fill: rgba(143,191,139,.08); }
.mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.stufen .begriffe .schritt .mark path { stroke-dashoffset: 1; }
.stufen .begriffe .schritt.da .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease-out .25s; }

/* Kopf-Regel: ein zweiter sichtbarer Kopf blendet aus (Skript am Ende von seite.js) */
.wegweiser, .k5-kopf { transition: opacity .3s, scale .35s cubic-bezier(.3,1.6,.5,1); }
.kopf-verdeckt { opacity: 0 !important; pointer-events: none !important; transition: opacity .3s !important; }

/* Die fünf Schritte, Texte: oben eine Zeile in Cyan, unten feste Punkte */
.b-kern { margin: 0; color: var(--cyan); font-size: clamp(16px, 4.5vw, 21px); line-height: 1.35; letter-spacing: -.01em; }
.b-punkte { margin: 0; display: grid; gap: 12px; }
.b-punkte div { display: grid; grid-template-columns: 6px 1fr; column-gap: 12px; row-gap: 3px; padding-top: 10px; border-top: 1px solid #2c2c2c; }
.b-punkte div::before { content: ''; grid-row: 1; align-self: center; width: 6px; height: 6px; border-radius: 1px; background: var(--cyan); }
.b-punkte dt { grid-column: 2; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.b-punkte dd { grid-column: 2; margin: 0; color: #9c9c9c; font-size: 15.5px; line-height: 1.45; }
/* Einblenden wie bei Problem und Lösung (Klasse da setzt seite.js) */
.phasen.lebt .b-punkte div { opacity: 0; translate: 0 24px; transition: opacity .4s ease-out, translate .4s cubic-bezier(.2,.8,.2,1); }
.phasen.lebt .b-punkte div.da { opacity: 1; translate: 0 0; }

/* 08/15, Karte 5: Der Kopf fliegt aus der Karte und dockt unten an, wie in der Hero */
.potenzial { position: relative; padding-bottom: 130px; }

/* Beispiele aus der Praxis: ein Fall als Akte. Eingang mit Zahlen, dann jede Stelle als Station auf einer Linie. */
.praxis .t-titel { white-space: normal; }
.fall { display: grid; gap: 14px; margin-top: 10px; }
.fall-kopf { display: grid; gap: 6px; padding: 16px; border: 1px solid #333; border-radius: 8px; background: #141414; }
.fall-nr { color: var(--cyan); font: 400 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fall-kopf h3 { margin: 0; font-weight: 500; font-size: clamp(21px, 6vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.fall-kopf small { color: #8f8f8f; font: 400 11px/1.3 var(--mono); }
.fall-etikett { margin: 14px 0 0; color: #8f8f8f; font: 400 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fall-eingang { display: grid; gap: 10px; }
.fall-eingang .fall-etikett { margin-top: 0; }
.fall-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #2c2c2c; border-radius: 8px; }
.fall-zahlen div { display: grid; gap: 4px; align-content: start; padding: 14px 10px 13px; }
.fall-zahlen div + div { border-left: 1px solid #2c2c2c; }
.fall-zahlen b { font-weight: 500; font-size: clamp(30px, 9vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--papier); font-variant-numeric: tabular-nums; }
.fall-zahlen span { color: #9c9c9c; font-size: 12.5px; line-height: 1.3; }
.fall-liste { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 0; position: relative; }
.fall-liste::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: #2c2c2c; }
.fall-liste li { position: relative; display: grid; gap: 5px; padding: 12px 0 16px; }
.fall-liste li + li { border-top: 1px solid #222; }
.fall-liste li::before { content: ''; position: absolute; left: -22px; top: 17px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #535353; background: var(--grund); transition: background .3s .2s, border-color .3s .2s; }
.fall-liste li.da::before, .tabellen-sektion:not(.stufen) .fall-liste li::before { background: var(--cyan); border-color: var(--cyan); }
.fl-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fl-kopf b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.fl-kopf em { flex: none; color: var(--cyan); font: 400 10.5px/1.2 var(--mono); font-style: normal; }
.fall-liste p { margin: 0; color: #9c9c9c; font-size: 15.5px; line-height: 1.45; }
.fl-wert { justify-self: start; margin-top: 3px; padding: 4px 8px; border: 1px solid #3f5654; border-radius: 4px; color: var(--cyan); font: 400 11px/1.3 var(--mono); }
.fall-fuss { margin: 8px 0 0; padding-left: 14px; border-left: 1px solid var(--cyan); color: var(--papier); font-size: clamp(16px, 4.6vw, 20px); line-height: 1.35; }

/* Fall 1: die echten Stellen als Logos, zusammengewürfelt; sie fallen herein, sobald der Kasten erscheint */
.fall-kopf { position: relative; }
.fall-logos { position: relative; height: 114px; margin-top: 10px; }
.lg { --r: 0deg; --d: 0s; position: absolute; display: grid; place-items: center; height: 38px; padding: 0 10px; border-radius: 6px; background: #fff; box-shadow: 0 10px 22px -12px rgba(0,0,0,.9); rotate: var(--r); transition: translate .65s cubic-bezier(.3,1.35,.5,1) var(--d), rotate .65s cubic-bezier(.3,1.35,.5,1) var(--d), opacity .25s ease var(--d); }
.lg img { display: block; width: auto; height: 22px; }
.l1 { --r: -6deg; left: 0; top: 6px; }
.l2 { --r: 4deg; --d: .12s; left: 31%; top: 0; } .l2 img { height: 16px; }
.l3 { --r: -3deg; --d: .24s; left: 64%; top: 12px; }
.l4 { --r: 5deg; --d: .36s; left: 4%; top: 48px; height: 62px; padding: 0 8px; } .l4 img { height: 54px; }
.l5 { --r: -5deg; --d: .48s; left: 52%; top: 62px; } .l5 img { height: 16px; }
.praxis.stufen .fall-kopf:not(.da) .lg { opacity: 0; translate: 0 -80px; rotate: calc(var(--r) - 24deg); }
.fall-fuss b { color: var(--cyan); font-weight: 500; }

/* Fall 2: zweiter Fall mit Abstand, Vorher-Liste mit rotem X, eigene Logo-Größen */
.fall-2 { margin-top: 64px; }
.fall-vorher { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fall-vorher li { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; align-items: start; color: #bcbcbc; font-size: 15.5px; line-height: 1.45; }
.fall-vorher .mark { margin-top: 1px; }
.stufen .fall-vorher li .mark path { stroke-dashoffset: 1; }
.stufen .fall-vorher li.da .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease-out .25s; }
.f2 .l1 img { height: 26px; }
.f2 .l2 img { height: 24px; }
.f2 .l3 { height: 46px; } .f2 .l3 img { height: 32px; }
.f2 .l4 { --r: 5deg; height: 38px; padding: 0 10px; top: 56px; left: 6%; } .f2 .l4 img { height: 20px; }
.f2 .l5 img { height: 16px; }
.praxis.stufen .fall-kopf:not(.da) .f2 .lg { opacity: 0; translate: 0 -80px; rotate: calc(var(--r) - 24deg); }
.f2 .l2 { left: 46%; top: 4px; } .f2 .l3 { left: 79%; top: 2px; }

/* Warum erfindergeist? Das Wirrwarr aus Modellen, Werkzeugen und Angeboten wird zum Gehirn: Jeder Begriff zieht sich zu einem Punkt
   auf dessen Umriss zusammen, dann erscheint das Gehirn, darunter ein Chat. */
.ww { position: relative; margin: 22px 0 6px; padding: 40px 12px 14px; display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid #2c2c2c; border-radius: 8px; background: #141414; overflow: hidden; }
.ww-etikett { position: absolute; left: 12px; top: 12px; font: 400 10px/1.3 var(--mono); color: #8f8f8f; }
.ww-etikett span { transition: opacity .4s; }
.ww-etikett span:last-child { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; color: var(--cyan); }
.ww-chip { padding: 6px 10px; border: 1px solid #333; border-radius: 999px; background: #1c1c1c; color: #a4a4a4; font: 400 12px/1 var(--mono); white-space: nowrap; }
.ww .ww-gehirn, .ww-chat { display: none; }
.ww.lebt { display: block; height: 380px; padding: 0; }
.ww.lebt .ww-chip { position: absolute; left: 0; top: 0; z-index: 1; box-sizing: border-box; width: var(--w); height: 26px; overflow: hidden;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 1.3s cubic-bezier(.65,0,.25,1) var(--d, 0s), color .3s ease calc(var(--d, 0s) + .45s),
    width .5s ease calc(var(--d, 0s) + .6s), height .5s ease calc(var(--d, 0s) + .6s), padding .5s ease calc(var(--d, 0s) + .6s),
    background .4s ease calc(var(--d, 0s) + .85s), border-color .4s ease calc(var(--d, 0s) + .85s);
  animation: ww-zittern var(--t, 3s) ease-in-out infinite alternate; }
@keyframes ww-zittern { from { translate: -2px 2px; } to { translate: 3px -3px; } }
.ww.lebt .ww-gehirn { display: block; position: absolute; left: 50%; top: 44%; width: 210px; transform: translate(-50%, -50%); opacity: 0; transition: opacity .7s ease 2s; }
.ww.lebt .ww-chat { display: flex; align-items: center; gap: 2px; position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 14px; border: 1px solid #333; border-radius: 10px; background: #1b1b1b; color: #8f8f8f; font-size: 14px; opacity: 0; translate: 0 10px; transition: opacity .5s ease 2.5s, translate .5s ease 2.5s; }
.ww-chat i { width: 2px; height: 16px; margin-left: 2px; background: var(--cyan); animation: bf-blinken 1s steps(1) infinite; }
@keyframes bf-blinken { 50% { opacity: 0; } }
.ww.geordnet .ww-chip { transform: translate(var(--zx), var(--zy)) rotate(0deg); width: 8px; height: 8px; padding: 0; color: transparent; background: var(--cyan); border-color: var(--cyan); animation-play-state: paused; }
.ww.geordnet .ww-gehirn { opacity: 1; }
.ww.geordnet .ww-chat { opacity: 1; translate: 0 0; }
.ww.geordnet .ww-etikett span:first-child { opacity: 0; transition-delay: 1.8s; }
.ww.geordnet .ww-etikett span:last-child { opacity: 1; transition-delay: 2s; }
.ww.still .ww-chip, .ww.still .ww-gehirn, .ww.still .ww-chat, .ww.still .ww-etikett span { transition: none !important; }
.warum .begriffe { margin-top: 26px; gap: 12px; }
.warum .begriffe div { padding-top: 10px; }
.warum .begriffe dt { font-size: 17px; }
.warum .begriffe dd { color: #9c9c9c; font-size: 15.5px; line-height: 1.45; }
.warum-fuss { margin: 26px 0 0; font-size: clamp(17px, 4.8vw, 24px); line-height: 1.3; letter-spacing: -.02em; color: var(--grau); }
.warum-fuss b { font-weight: 500; color: var(--cyan); }
@media (prefers-reduced-motion: reduce) {
  .ww.lebt .ww-chip { animation: none; }
}

/* Wer dahintersteht: Porträt im Fenster-Stil der Seite, Begriffe wie oben */
.portrait { margin: 10px 0 0; border: 1px solid #2c2c2c; border-radius: 8px; background: #141414; overflow: hidden; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; filter: grayscale(.2); }
.person-punkte { margin-top: 26px; gap: 12px; }
.person-punkte div { padding-top: 10px; }
.person-punkte dt { font-size: 17px; }
.person-punkte dd { color: #9c9c9c; font-size: 15.5px; line-height: 1.45; }
.ueber .weg-knopf { justify-self: start; margin-top: 18px; }

/* Jetzt loslegen: Preis und Inhalt je Weg */
.weg .weg-preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 0; }
.weg-preis b { font-weight: 500; font-size: clamp(30px, 9vw, 40px); letter-spacing: -.035em; color: var(--papier); line-height: 1; }
.weg-preis span { font: 400 11px/1.3 var(--mono); color: #8f8f8f; }
.weg-preis.klein b { font-size: clamp(20px, 6vw, 26px); }
.weg-liste { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.weg-liste li { display: flex; align-items: flex-start; gap: 10px; color: #bcbcbc; font-size: 14.5px; line-height: 1.4; }
.weg-liste .mark { width: 18px; height: 18px; margin-top: 1px; }
.abschluss { padding-bottom: 64px; }

/* Fragen */
.faq { padding-bottom: 120px; }
.faq-liste { margin-top: 18px; border-bottom: 1px solid #2c2c2c; }
.faq details { border-top: 1px solid #2c2c2c; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 16.5px; line-height: 1.35; letter-spacing: -.01em; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.3px solid var(--cyan); border-bottom: 1.3px solid var(--cyan); rotate: 45deg; translate: 0 -3px; transition: rotate .25s ease, translate .25s ease; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.faq details p { margin: 0 0 18px; color: #9c9c9c; font-size: 15.5px; line-height: 1.5; }
.faq code { font: 400 13.5px/1 var(--mono); color: var(--grau); }

/* So läuft es ab: Claude-Code-Fenster mit den Befehlen des Plugins, darunter die Zeitleiste (früher Unterseite /loslegen) */
.befehle { margin-top: 8px; border: 1px solid #2c2c2c; border-radius: 8px; background: #141414; overflow: hidden; }
.bf-menue { list-style: none; margin: 10px 10px 0; padding: 6px; border: 1px solid #2c2c2c; border-radius: 6px; background: #1b1b1b; display: grid; gap: 2px; }
.bf-menue li { display: grid; gap: 3px; padding: 8px 10px; border-radius: 4px; }
.bf-menue li:first-child { background: #232b2a; }
.bf-menue b { font: 500 12.5px/1.2 var(--mono); color: var(--papier); }
.bf-menue li:first-child b { color: var(--cyan); }
.bf-menue span { font-size: 13px; line-height: 1.3; color: #8f8f8f; }
.bf-eingabe { display: flex; align-items: center; gap: 2px; margin: 10px; padding: 12px; border: 1px solid #333; border-radius: 6px; font: 400 13px/1 var(--mono); color: var(--papier); }
.bf-eingabe i { width: 7px; height: 15px; background: var(--cyan); animation: bf-blinken 1s steps(1) infinite; }
.stufen .befehle .bf-menue li { opacity: 0; translate: 0 8px; transition: opacity .3s ease, translate .3s ease; }
.stufen .befehle.da .bf-menue li { opacity: 1; translate: 0 0; }
.stufen .befehle.da .bf-menue li:nth-child(2) { transition-delay: .12s; }
.stufen .befehle.da .bf-menue li:nth-child(3) { transition-delay: .24s; }
.stufen .befehle.da .bf-menue li:nth-child(4) { transition-delay: .36s; }
.stufen .befehle.da .bf-menue li:nth-child(5) { transition-delay: .48s; }
.stufen .befehle.da .bf-menue li:nth-child(6) { transition-delay: .6s; }
.stufen .befehle.da .bf-menue li:nth-child(7) { transition-delay: .72s; }
.ablauf .befehle { margin-top: 8px; }
.ablauf .fall-liste { margin-top: 18px; }
.ablauf .fl-kopf em { overflow-wrap: anywhere; text-align: right; }
.pruefen { background: #5a4a12; color: #ffe9a6; padding: 0 4px; border-radius: 2px; font: 400 11px/1.6 var(--mono); }

/* Preisteil (29.11., vierter Anlauf): Umschalter Monatlich/Jährlich, eine Preiskarte. Umschalter ohne Skript (CSP). */
.kasse { position: relative; display: grid; justify-items: center; gap: 16px; margin-top: 8px; }
.takt-wahl { position: absolute; top: 20px; left: 50%; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.takt { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 320px; padding: 4px; border: 1px solid #333; border-radius: 999px; background: #141414; }
.takt-daumen { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--papier); transition: translate .35s cubic-bezier(.3,1.25,.5,1); }
.takt label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border-radius: 999px; color: #9c9c9c; font-size: 15px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s; }
.takt em { font-style: normal; font-size: 12.5px; color: var(--cyan); transition: color .25s; }
#takt-jahr:checked ~ .takt .takt-daumen { translate: 100% 0; }
#takt-monat:checked ~ .takt label[for="takt-monat"], #takt-jahr:checked ~ .takt label[for="takt-jahr"] { color: var(--grund); }
#takt-jahr:checked ~ .takt label[for="takt-jahr"] em { color: #3d6663; }
#takt-monat:focus-visible ~ .takt label[for="takt-monat"], #takt-jahr:focus-visible ~ .takt label[for="takt-jahr"] { outline: 2px solid var(--cyan); outline-offset: 2px; }

.pk { width: 100%; max-width: 520px; display: grid; gap: 0; padding: 22px 20px 20px; border: 1px solid #3f5654; border-radius: 12px; background: #1b1b1b; box-shadow: 0 0 0 1px rgba(141,184,181,.08), 0 24px 56px -28px rgba(141,184,181,.4); }
.pk-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pk-name { display: inline-flex; align-items: baseline; gap: .065em; font: 460 24px/1.1 var(--inter); letter-spacing: -.055em; color: var(--papier); }
.pk-art { color: #9c9c9c; font-size: 14px; }
.pk-preise { display: grid; margin-top: 22px; }
.pk-preis { animation: pk-rein .4s cubic-bezier(.2,.8,.2,1); }
.pk-preis.nur-jahr { display: none; }
#takt-jahr:checked ~ .pk .pk-preis.nur-jahr { display: block; }
#takt-jahr:checked ~ .pk .pk-preis.nur-monat { display: none; }
@keyframes pk-rein { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .pk-preis { animation: none; } .takt-daumen { transition: none; } }
.pk-zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 0; }
.pk-zahl b { font-weight: 500; font-size: clamp(54px, 16vw, 76px); line-height: 1; letter-spacing: -.045em; color: var(--papier); font-variant-numeric: tabular-nums; }
.pk-zahl > span { color: #9c9c9c; font-size: 17px; }
.pk-zahl s { flex-basis: 100%; margin-bottom: 6px; font-size: clamp(22px, 6.4vw, 28px); line-height: 1; letter-spacing: -.02em; color: #6a6a6a; text-decoration-thickness: 1.5px; text-decoration-color: #9c9c9c; }
.pk-zeile { margin: 10px 0 0; color: #9c9c9c; font-size: 14px; line-height: 1.5; }
.pk-zeile strong { font-weight: 500; color: var(--cyan); }
.pk-knopf { justify-content: center; width: 100%; min-height: 54px; margin: 22px 0 0; font-size: 16px; white-space: nowrap; }
.pk-heute { margin: 10px 0 0; color: #8f8f8f; font-size: 13px; line-height: 1.45; text-align: center; }
.pk-inhalt { margin-top: 22px; padding-top: 20px; border-top: 1px solid #2c2c2c; }
.pk-titel { margin: 0 0 12px; font-weight: 500; font-size: 15px; color: var(--papier); }
.pk-inhalt ul { list-style: none; display: grid; gap: 11px; margin: 0; padding: 0; }
.pk-inhalt li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; color: #d6d6d6; font-size: 15px; line-height: 1.45; }
.pk-inhalt svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pk-abo { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #2c2c2c; color: #bcbcbc; font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) { .pk { padding: 28px 28px 24px; } }
.weg-leise { margin: 22px 0 0; color: #8f8f8f; font-size: 14.5px; line-height: 1.6; }
.weg-leise .weg-knopf.leise { display: inline; font-size: 14.5px; }
.faq details p a { color: var(--papier); text-decoration: underline; text-decoration-color: #535353; text-underline-offset: 4px; }

/* Überarbeitung 29.11. (Version 51): Hero mit einer Zeile, was erfindergeist ist; feste Kaufleiste */
.hero { align-content: center; }
.hero-unter { margin: 26px 0 0; max-width: 30em; color: #9c9c9c; font-size: clamp(16px, 4.4vw, 20px); line-height: 1.45; text-wrap: pretty; }
.js .hero-unter { opacity: 0; translate: 0 8px; transition: opacity .5s ease-out, translate .5s cubic-bezier(.2,.8,.2,1); }
.js .hero.fertig .hero-unter { opacity: 1; translate: 0 0; }
.kaufleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #2c2c2c; background: rgba(23,23,23,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); translate: 0 110%; transition: translate .35s cubic-bezier(.2,.8,.2,1); }
.kaufleiste.zeigen { translate: 0 0; }
.kl-innen { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 760px; margin: 0 auto; }
.kaufleiste p { display: grid; gap: 2px; margin: 0; min-width: 0; }
.kaufleiste p b { font-weight: 500; font-size: 15.5px; letter-spacing: -.01em; color: var(--papier); }
.kaufleiste p span { color: #9c9c9c; font-size: 12.5px; line-height: 1.3; }
.kaufleiste .weg-knopf { flex: none; min-height: 44px; margin: 0; padding: 0 16px; gap: 10px; font-size: 15px; }
#loslegen { scroll-margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .kaufleiste { transition: none; } }

/* Praxis (Version 51): zwei Fälle zum Wischen, jeder auf das Wesentliche gekürzt.
   Die Höhe folgt dem Fall, der vorn liegt; die Logos fallen herein, wenn ihr Fall nach vorn kommt. */
.faelle { display: flex; align-items: flex-start; gap: 14px; margin-top: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; transition: height .35s cubic-bezier(.2,.8,.2,1); }
.faelle::-webkit-scrollbar { display: none; }
.faelle .fall { flex: 0 0 calc(100% - 34px); margin-top: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.faelle .fall-liste li { padding: 9px 0 11px; gap: 3px; }
.faelle .fall-liste li::before { top: 14px; background: var(--cyan); border-color: var(--cyan); }
.faelle .fall-liste p { font-size: 15px; line-height: 1.4; }
.faelle .fall-vorher li { font-size: 15px; line-height: 1.4; }
.faelle .fall-vorher li .mark path { stroke-dashoffset: 1; }
.faelle .fall-vorher li.da .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease-out .2s; }
.faelle .fall-vorher li:nth-child(2).da .mark path { transition-delay: .3s; }
.faelle .fall-vorher li:nth-child(3).da .mark path { transition-delay: .4s; }
.faelle .fall-vorher li:nth-child(4).da .mark path { transition-delay: .5s; }
.fall-hinweis { margin: 4px 0 0; color: #9c9c9c; font-size: 14px; line-height: 1.45; }
.faelle-fuss { display: flex; align-items: center; justify-content: space-between; padding-right: 34px; }
.faelle-fuss .weiter-karte svg { transition: rotate .3s ease; }
.faelle-fuss.zurueck .weiter-karte svg { rotate: 180deg; }
.person-text { margin: 22px 0 0; color: #bcbcbc; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.5; }

/* Lesbarkeit (Version 51): weniger Leere zwischen den Sektionen auf dem Handy, Etiketten mindestens 12 px,
   Fußzeile mit ausreichendem Kontrast. Bilder behalten ihre eigenen kleinen Werte. */
@media (max-width: 899px) {
  .problem, .loesung, .harness, .phasen, .tabellen-sektion { padding-top: 96px; }
}
.p-leiste small, .fall-nr, .fall-kopf small, .fall-etikett, .fl-kopf em, .fl-wert, .ck-leiste small, .ck-kopf small,
.b-schalter, .def-marke, .ww-etikett, .marken, .etikett, .umgebung-kopf small, .b-leiste em { font-size: 12px; }
.fusszeile p { color: #8f8f8f; font-size: 12px; }
.faelle .fall { gap: 12px; padding: 0 14px 16px; border: 1px solid #2c2c2c; border-radius: 10px; background: #161616; overflow: hidden; }
.faelle .fall-kopf { margin: 0 -14px; border: 0; border-bottom: 1px solid #2c2c2c; border-radius: 0; background: #141414; }

/* Version 52: ein Satz unter jedem der fünf Schritte; Startknopf mit Rückmeldung */
.b-satz { margin: 0; color: #9c9c9c; font-size: clamp(15px, 4.1vw, 17px); line-height: 1.45; }
button.pk-knopf { border: 0; font-family: inherit; cursor: pointer; }
.pk-bald { margin: 10px 0 0; padding: 10px 12px; border-left: 2px solid var(--cyan); color: #d6d6d6; font-size: 14px; line-height: 1.45; }
/* Version 52: Jeder Schritt ist so hoch wie sein Inhalt, nicht mehr bildschirmhoch; dazwischen ein ruhiger Übergang */
.phasen.lebt .buehne { min-height: 0; }
.phasen.lebt .b-innen { padding: 30px 0 42px; }

/* Version 54: Claude-Logo und die Figur aus Claude Code (Platzhalter, nachgezeichnet; vor dem Livegang nur mit
   schriftlicher Erlaubnis von Anthropic und deren offiziellen Dateien) */
.cl-funke { display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.cl-mit { display: inline-flex; align-items: center; gap: .35em; }
.cl-mit .cl-funke { vertical-align: 0; }
.cl-app { background: #f0eee6; scale: 0; }
.cl-app .cl-funke { width: 14px; height: 14px; }
.pk-fuer { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: #bcbcbc; font-size: 14.5px; }
.pk-fuer .cl-funke { width: 18px; height: 18px; }
.cc-start { display: flex; align-items: center; gap: 14px; margin: 10px 10px 0; padding: 14px 14px 12px; border: 1px solid #5c3a2e; border-radius: 6px; }
.cc-start p { display: grid; gap: 3px; margin: 0; }
.cc-start b { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 15px; color: var(--papier); }
.cc-start b .cl-funke { width: 16px; height: 16px; }
.cc-start span { color: #8f8f8f; font-size: 13px; }
.clawd { flex: none; width: 58px; height: auto; overflow: visible; fill: #d97757; }
.clawd .lid { opacity: 0; }
.clawd-koerper { animation: clawd-hopsen 2.4s cubic-bezier(.45,0,.55,1) infinite; }
.clawd .lid { animation: clawd-blinzeln 4.2s steps(1) infinite; }
@keyframes clawd-hopsen { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-1.2px); } 80% { transform: translateY(0); } 86% { transform: translateY(-.6px); } 92% { transform: translateY(0); } }
@keyframes clawd-blinzeln { 0%, 92%, 100% { opacity: 0; } 94%, 97% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .clawd-koerper, .clawd .lid { animation: none; } }
.clawd { shape-rendering: crispEdges; }

/* Rechtsseiten, Formulare und Willkommensseite (Version 55): im Stil der Startseite */
.recht { max-width: 760px; margin: 0 auto; padding: 110px 24px 80px; }
.recht h1 { margin: 0; font-weight: 500; font-size: clamp(30px, 8.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.recht .stand { margin: 10px 0 34px; color: #8f8f8f; font-size: 14px; }
.recht .these { margin: 14px 0 30px; }
.recht h2 { margin: 40px 0 10px; font-weight: 500; font-size: clamp(19px, 5.2vw, 24px); letter-spacing: -.02em; }
.recht h3 { margin: 26px 0 8px; font-weight: 500; font-size: 17px; }
.recht p, .recht li, .recht address { color: #bcbcbc; font-size: 16px; line-height: 1.6; font-style: normal; }
.recht p { margin: 0 0 14px; }
.recht ul, .recht ol { margin: 0 0 14px; padding-left: 20px; }
.recht li { margin-bottom: 6px; }
.recht a { color: var(--papier); text-decoration: underline; text-decoration-color: #535353; text-underline-offset: 4px; }
.recht strong, .recht b { color: var(--papier); font-weight: 500; }
.recht .kasten { margin: 18px 0; padding: 16px; border: 1px solid #2c2c2c; border-radius: 8px; background: #141414; }
.formular { display: grid; gap: 16px; margin: 24px 0 8px; }
.formular label { display: grid; gap: 6px; color: var(--papier); font-size: 15px; font-weight: 500; }
.formular input:not([type=radio]), .formular textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #333; border-radius: 6px; background: #141414; color: var(--papier); font: 400 16px/1.4 var(--inter); }
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.formular fieldset { display: grid; gap: 10px; margin: 0; padding: 14px; border: 1px solid #2c2c2c; border-radius: 8px; }
.formular legend { padding: 0 6px; color: #9c9c9c; font-size: 14px; }
.formular .wahl { display: flex; align-items: center; gap: 10px; font-weight: 400; color: #d6d6d6; }
.formular .wahl input { width: 18px; height: 18px; accent-color: var(--cyan); }
.formular .falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular button { justify-self: start; min-height: 52px; padding: 0 22px; border: 0; border-radius: 3px; background: var(--papier); color: var(--grund); font: 500 16px/1 var(--inter); cursor: pointer; }
.formular button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.formular .hinweis { color: #8f8f8f; font-size: 14px; font-weight: 400; }
.rechts-text { color: #bcbcbc; font-size: 16px; line-height: 1.6; }
.rechts-seite { padding-top: 110px; }
.willkommen-block { margin: 26px 0; }
.willkommen-block h2 { margin-top: 0; }
.starttext { position: relative; margin: 12px 0 0; padding: 14px; max-height: 260px; overflow: auto; border: 1px solid #333; border-radius: 8px; background: #141414; color: #d6d6d6; font: 400 13px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; }
.kopieren { margin-top: 12px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 3px; background: var(--papier); color: var(--grund); font: 500 15px/1 var(--inter); cursor: pointer; }
.schritte-liste { counter-reset: s; list-style: none; padding: 0 !important; }
.schritte-liste li { counter-increment: s; position: relative; padding-left: 34px; }
.schritte-liste li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 1px solid #3f5654; border-radius: 50%; color: var(--cyan); font: 400 12px/22px var(--mono); text-align: center; }
.fusszeile nav a.stark { color: var(--papier); }
.pk-heute a { color: #bcbcbc; text-decoration: underline; text-decoration-color: #535353; text-underline-offset: 3px; }
