/* ============================================================================
   MCLeut · KI-Landingpage  (ki.css)  ·  Iteration 6
   ----------------------------------------------------------------------------
   Zentriert, lebendig, digital-natives-/finanzstarter-inspiriert, in
   MCLeut-Logo-Farben. Warmes Creme, Space Grotesk + Inter + Architects
   Daughter, eigene hand-gezeichnete Doodles, „Ohne/Mit"-Umschalter,
   Partner-Lauf-Band, Abteilungs-Akkordeon, Pricing. Plain Notizzettel (KEIN
   Karo). Nur von /ki geladen → das :root-Override greift nur hier.
   ============================================================================ */

/* ---------- Scoped Override: Schrift + warmes Creme (nur /ki) -------------- */
:root {
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-hand:    "Architects Daughter", "Bradley Hand", "Segoe Script", cursive;

  --bg:         #F6F4EF;
  --bg-subtle:  #EFEBE2;
  --bg-mist:    #F1EDE4;
  --surface:    #FFFFFF;
  --note-paper: #FFFDF7;
  --tape:       rgba(208, 190, 150, 0.58);
  --warn:       #C2473D;

  --border:        rgba(20, 24, 31, 0.10);
  --border-strong: #E5E0D6;
}

/* ---------- 0. Hilfsklassen ----------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: 0.01em; }
.hand--accent { color: var(--accent); }

.u-mark { position: relative; white-space: nowrap; }
.u-mark > svg {
  position: absolute; left: -2%; bottom: -0.30em; width: 104%; height: 0.40em;
  color: var(--accent); overflow: visible; pointer-events: none;
}
.u-mark > svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }

.doodle { position: absolute; z-index: 0; color: var(--primary); opacity: 0.85; pointer-events: none; }
.doodle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.doodle--accent { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .doodle { animation: ki-float 6s ease-in-out infinite; }
  .doodle:nth-of-type(even) { animation-duration: 7.5s; animation-direction: alternate-reverse; }
}
@keyframes ki-float { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-8px) rotate(var(--rot,0deg)); } }
/* R3 (Kevin): dezente gezeichnete Blueprint-Akzente in den Außenmargen — optische Aufwertung.
   Host-Klasse ki-scoped (KEIN Eingriff in globales .section); nur breite Viewports (>=1200),
   niedrige Deckkraft, hinter dem Content, pointer-events aus. Nutzt bestehendes ki-float. */
.ki-decor-host { position: relative; }
.ki-decor { position: absolute; width: 250px; height: auto; z-index: 0; color: var(--primary);
  opacity: .15; pointer-events: none; overflow: visible; --rot: 0deg; }   /* R5 (Kevin): deutlich größer + sichtbarer */
.ki-decor svg { display: block; width: 100%; height: auto; overflow: visible; }
.ki-decor .ki-bp { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ki-decor--accent { color: var(--accent); opacity: .17; }
/* max()-Clamp: nie negativ (kein H-Scroll); sitzt in der Außenmarge, lugt höchstens dezent hinter Content */
.ki-decor--l { left: max(12px, calc(50% - 520px - 250px)); }
.ki-decor--r { right: max(12px, calc(50% - 520px - 250px)); }
@media (max-width: 1199px) { .ki-decor { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .ki-decor { animation: ki-float 9s ease-in-out infinite; }
  .ki-decor--r { animation-duration: 11s; animation-direction: alternate-reverse; }
  .js .ki-decor.ki-draw.is-drawn .ki-bp__draw { animation-duration: 2.2s; }   /* R4 (Kevin): „malt sich langsam" beim Scrollen (Spezifität > allg. Draw-Regel) */
}

/* ---------- 1. Zentrierte Defaults (nur /ki) ------------------------------ */
.section-head { max-width: 62ch; margin-inline: auto; margin-bottom: var(--space-10); text-align: center; }
.section-head .lead { margin-inline: auto; }
/* 2606c (Kevin): Swipe-Unterstrich in Section-Heads enger an den Text binden, damit er bei
   umbrechenden H2 (z. B. „Daten-Chaos … KI-System") NICHT in die Folgezeile („System") ragt.
   Etwas mehr Zeilenhöhe + flacherer/tieferer Strich. Nur /ki; base.css `.u-swipe` bleibt global. */
.section-head h2 { line-height: 1.22; }
.section-head .u-swipe__line { bottom: -0.1em; height: 0.3em; }

/* ---------- 2. Hero (zentriert + Doodles) -------------------------------- */
/* Mehr vertikale Luft – v.a. unten, damit die schwebenden Doodles (Float -8px)
   nicht in die Partnersektion leaken (4.1). */
.ki-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(5rem, 10vw, 8rem); }
.ki-hero .container { position: relative; z-index: 1; }
.ki-hero__inner { max-width: 880px; margin-inline: auto; text-align: center; position: relative; z-index: 1; }
.ki-hero h1 { font-size: var(--fs-display); margin-bottom: var(--space-5); }
.ki-hero .lead { margin-inline: auto; max-width: 60ch; }
.ki-hero .actions { justify-content: center; }
.ki-hero .chip-row { justify-content: center; }
.ki-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(18, 63, 122, 0.11) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 52%, transparent 100%);
}
/* Doodles an die AUSSENZONE der 880px-Textlane binden: left/right = calc(50% -
   440px - Breite-Luft), OHNE Boden. Die Doodle-Box bleibt damit immer links/rechts
   der zentrierten Textspalte; verschwindet die Aussenzone (schmaler Viewport),
   gleitet das Doodle off-screen und wird von overflow:hidden geclippt – es ragt
   NIE in H1/Lead/Buttons (kein Overlap bei 100 % Zoom). 440px = halbe Lane. */
.ki-hero .doodle--bulb   { top: clamp(1.5rem, 4vw, 3rem);   left:  calc(50% - 440px - 66px); width: 54px; height: 54px; --rot: -8deg; }
.ki-hero .doodle--gear   { top: clamp(2rem, 6vw, 4.5rem);   right: calc(50% - 440px - 62px); width: 50px; height: 50px; --rot: 10deg; }
.ki-hero .doodle--nodes  { top: 46%;                        left:  calc(50% - 440px - 56px); width: 44px; height: 44px; --rot: -4deg; }
.ki-hero .doodle--arrow  { bottom: clamp(1.5rem, 4vw, 3rem);right: calc(50% - 440px - 74px); width: 60px; height: 48px; --rot: 6deg; }

/* Zwischenbreite: gear+nodes (mittige Hoehe) ganz raus. bulb/arrow regelt die
   calc-Position selbst (gleiten am Rand raus). */
@media (max-width: 1040px) {
  .ki-hero .doodle--gear, .ki-hero .doodle--nodes { display: none; }
}
/* Mobil: bulb+arrow klein in die aeussersten Ecken (reduziert/repositioniert, 4.1).
   Liegen im Eck-Whitespace ueber/unter dem zentrierten Text. */
@media (max-width: 820px) {
  .ki-hero .doodle--bulb  { top: 8px; left: 6px; width: 36px; height: 36px; }
  .ki-hero .doodle--arrow { bottom: 8px; right: 6px; width: 40px; height: 32px; }
}

/* 4.6 / 2606b: Glühbirne leuchtet NUR bei Cursor-Nähe auf (ki.js setzt .is-lit im
   Umkreis ~88px), nicht mehr beim Hover über die ganze Hero-Lane (Kevin-Feedback).
   filter (GPU) -> kein Reflow; ki-float (transform) läuft im animation-Shorthand
   weiter mit. Dezenter Dauer-Glow signalisiert „an" auch im Ruhezustand. */
.ki-hero .doodle--bulb { transition: filter var(--transition); filter: drop-shadow(0 0 2px rgba(234, 122, 37, 0.28)); }
.ki-hero .doodle--bulb.is-lit {
  filter: drop-shadow(0 0 6px rgba(234, 122, 37, 0.78)) drop-shadow(0 0 16px rgba(234, 122, 37, 0.5)) drop-shadow(0 0 30px rgba(234, 122, 37, 0.26));
}
@media (prefers-reduced-motion: no-preference) {
  .ki-hero .doodle--bulb.is-lit {
    animation: ki-float 6s ease-in-out infinite, kiBulbPulse 2.4s ease-in-out infinite;
  }
}
@keyframes kiBulbPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(234, 122, 37, 0.62)) drop-shadow(0 0 14px rgba(234, 122, 37, 0.36)); }
  50%      { filter: drop-shadow(0 0 9px rgba(234, 122, 37, 0.9)) drop-shadow(0 0 22px rgba(234, 122, 37, 0.55)) drop-shadow(0 0 34px rgba(234, 122, 37, 0.3)); }
}
@media (prefers-reduced-motion: reduce) {
  .ki-hero .doodle--bulb.is-lit { filter: drop-shadow(0 0 6px rgba(234, 122, 37, 0.6)) drop-shadow(0 0 14px rgba(234, 122, 37, 0.3)); }
}

/* Hero-Chips: dezente Interaktion (Lift + Akzent-Tint + Icon-Pop) */
.ki-hero .chip { transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition); }
.ki-hero .chip svg { transition: transform var(--transition-fast), color var(--transition-fast); }
@media (prefers-reduced-motion: no-preference) {
  .ki-hero .chip:hover, .ki-hero .chip:focus-within { transform: translateY(-3px); border-color: var(--accent); background: var(--accent-soft); box-shadow: var(--shadow-soft); }
  .ki-hero .chip:hover svg, .ki-hero .chip:focus-within svg { transform: scale(1.15); color: var(--accent-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .ki-hero .chip:hover, .ki-hero .chip:focus-within { border-color: var(--accent); background: var(--accent-soft); }
}

/* ============================================================================
   Flaggschiff-Hero (Etappe 3 / Revision 2. Runde): KEIN Millimeterpapier mehr —
   nur das statische Punktfeld (.ki-hero::after) bleibt + interaktives Punkt-Cluster
   (Canvas, nur Desktop, sanftes Größerwerden ohne Linien) + handgezeichnete
   Illustrationen. Alles /ki-scoped.
   ============================================================================ */
/* Interaktives Punktraster: Canvas liegt ueber dem statischen ::after-Punktfeld, zeichnet
   nur in Cursor-Naehe (sanftes Größerwerden, KEINE Verbindungslinien). */
/* 2606: interaktives Punktfeld deckt jetzt den GANZEN oberen Sektor (inset:0).
   Gleiche Maske wie das statische ::after-Punktfeld -> Kanten faden, ein Feld
   „wacht auf" statt sichtbarem Doppelraster. Liegt pointer-events:none hinter dem Text. */
.ki-hero__dots-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 52%, transparent 100%); }
@media (max-width: 767px) { .ki-hero__dots-canvas { display: none; } }
@media (prefers-reduced-motion: reduce) { .ki-hero__dots-canvas { display: none; } }
/* Kevin 2606: auf fine-pointer-Desktops (wo das Canvas die reaktiven Punkte zeichnet)
   das statische ::after-Punktfeld ausblenden -> „nur die Punkte, die sich bewegen".
   Mobil/Touch/reduced-motion (Canvas aus) behält das ruhige Grundraster. */
@media (pointer: fine) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .ki-hero::after { display: none; }
}
.ki-bp { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ki-bp--accent { stroke: var(--accent); }
/* Zwei handgezeichnete Inline-SVG-Linienskizzen (Gehirn links, Roboter rechts):
   blau (currentColor = --primary) + oranger Akzent, transparent. Sie „zeichnen sich"
   über das bestehende .ki-bp__draw-System (kein WebP -> echtes Draw-on, kein „kaputt"-Look). */
.ki-hero__art { position: absolute; top: 50%; transform: translateY(-50%); width: min(340px, 28vw); height: auto;
  z-index: 0; opacity: .7; pointer-events: none; color: var(--primary); overflow: visible; }
/* In die AUSSENZONE der 880px-Textlane (wie die Doodles): gleitet auf schmalen Viewports
   off-screen und wird von .ki-hero overflow:hidden geclippt, statt ins Textfeld zu ragen. */
.ki-hero__art--brain { left: calc(50% - 440px - 320px); }
.ki-hero__art--work  { right: calc(50% - 440px - 320px); }
.ki-sketch-dot { fill: var(--accent); }
@media (max-width: 1200px) { .ki-hero__art { width: 230px; opacity: .5; } }
@media (max-width: 900px)  { .ki-hero__art { display: none; } }
/* R2 (Kevin): Hero-Skizzen schweben sanft und folgen dezent der Maus (Parallax via
   --nx/--ny aus ki.js). Der Keyframe ERHÄLT das Zentrier-translateY(-50%). Aufbau
   (kiBpDraw) hier etwas langsamer als global. Stern am Klemmbrett funkelt nach dem Zeichnen. */
@media (prefers-reduced-motion: no-preference) {
  .ki-hero__art { animation: kiArtFloat 7s ease-in-out infinite; }
  .ki-hero__art--work { animation-duration: 8.5s; animation-direction: alternate-reverse; }
  .js .ki-hero__art.ki-draw.is-drawn .ki-bp__draw { animation-duration: 1.5s; }
  .js .ki-hero__art--work.ki-draw.is-drawn .ki-bp--accent {
    transform-box: fill-box; transform-origin: center;
    animation: kiBpDraw 1.5s ease .6s both, kiStarTwinkle 2.8s ease-in-out 2.4s infinite;
  }
}
@keyframes kiArtFloat {
  0%, 100% { transform: translate(var(--nx, 0px), calc(-50% + var(--ny, 0px))); }
  50%      { transform: translate(var(--nx, 0px), calc(-50% - 3px + var(--ny, 0px))); }
}
/* 2607 (Kevin): gezielte Hover-Effekte statt Dauer-Bounce — Parallax hält still
   (.is-active, siehe initArtParallax in ki.js), stattdessen: Klemmbrett hakt seine
   3 Haken oben->unten ab; Gehirn bewegt die inneren Windungen minimal ineinander. */
@media (prefers-reduced-motion: no-preference) {
  .ki-check { transform-box: fill-box; transform-origin: left center; transition: transform .3s ease, stroke .3s ease; }
  .ki-hero__art--work.is-active .ki-check { transform: scale(1.14); stroke: var(--accent); }
  .ki-hero__art--work.is-active .ki-check--1 { transition-delay: 0s; }
  .ki-hero__art--work.is-active .ki-check--2 { transition-delay: .12s; }
  .ki-hero__art--work.is-active .ki-check--3 { transition-delay: .24s; }
  @keyframes kiBrainThink {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(.6px, -.6px) rotate(.6deg); }
  }
  .ki-hero__art--brain.is-active .ki-brain-inner { transform-box: fill-box; transform-origin: center; animation: kiBrainThink 1.8s ease-in-out infinite; }
  .ki-hero__art--brain.is-active .ki-brain-inner--r { animation-direction: reverse; }
}
@keyframes kiStarTwinkle { 0%, 100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.14); } }
/* Große Glühbirne — zeichnet sich am Anfang langsam (SVG stroke-draw, reuse kiBpDraw) */
.ki-hero .doodle--bulb.ki-bulb { width: 78px; height: 78px; }
/* 2607: Mobil-Override MUSS nach der obigen (gleich spezifischen) Regel stehen, sonst
   gewinnt bei Spezifitaets-Gleichstand die spaetere Regel im Quelltext (CSS-Kaskade) und
   die 820px-Verkleinerung (oben) greift trotz @media nie. */
@media (max-width: 820px) {
  .ki-hero .doodle--bulb.ki-bulb { width: 36px; height: 36px; }
}
.js .ki-bulb__p { stroke-dasharray: 1px; stroke-dashoffset: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .js .ki-bulb__p { animation: kiBpDraw 1.1s ease .4s both; }
  .js .ki-bulb__p:nth-child(2) { animation-delay: 1.0s; }
  .js .ki-bulb__p:nth-child(3) { animation-delay: 1.3s; }
}
@media (prefers-reduced-motion: reduce) { .js .ki-bulb__p { stroke-dashoffset: 0; } }
/* R2 (Kevin): Beim Leuchten werden die 3 Strahlen (letzter ki-bulb__p) länger — vom
   Lampenzentrum skaliert, sanft. Bulb-Zentrum im 48er-viewBox = 24,24. */
.ki-bulb .ki-bulb__p:last-child { transform-box: view-box; transform-origin: 24px 24px; transition: transform .28s ease; }
.ki-bulb.is-lit .ki-bulb__p:last-child { transform: scale(1.22); }
/* Strich-Zeichnung der Blueprint-Pfade (pathLength=1; .js-gated; Keyframe = zuverlaessig beim Laden) */
.js .ki-draw .ki-bp__draw { stroke-dasharray: 1px; stroke-dashoffset: 1px; }
.js .ki-draw.is-drawn .ki-bp__draw { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .ki-draw.is-drawn .ki-bp__draw { animation: kiBpDraw 1.1s ease both; }
  .js .ki-draw.is-drawn .ki-bp__draw:nth-child(2) { animation-delay: .12s; }
  .js .ki-draw.is-drawn .ki-bp__draw:nth-child(3) { animation-delay: .24s; }
  .js .ki-draw.is-drawn .ki-bp__draw:nth-child(4) { animation-delay: .36s; }
  .js .ki-draw.is-drawn .ki-bp__draw:nth-child(5) { animation-delay: .48s; }
  .js .ki-draw.is-drawn .ki-bp__draw:nth-child(6) { animation-delay: .60s; }
  /* 2607 (Kevin): die 2 inneren Gehirn-Windungen stecken jetzt in <g class="ki-brain-inner">
     (für die Hover-Bewegung unten) -> ihr .ki-bp__draw ist darin selbst :nth-child(1) und
     verliert die :nth-child(3)/(4)-Delay-Staffel oben. Hier explizit wiederherstellen,
     an der <g>-Position im SVG (3. bzw. 4. Kind wie zuvor die Windungs-<path>s selbst). */
  .js .ki-draw.is-drawn .ki-brain-inner:nth-child(3) .ki-bp__draw { animation-delay: .24s; }
  .js .ki-draw.is-drawn .ki-brain-inner:nth-child(4) .ki-bp__draw { animation-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) { .js .ki-bp__draw { stroke-dashoffset: 0; } }
@keyframes kiBpDraw { from { stroke-dashoffset: 1px; } to { stroke-dashoffset: 0; } }
/* „Circuit"-Variante der Swipe-Unterstreichung = aufwendigste (KI-Hero) */
.u-swipe--circuit { --u-swipe-delay: .5s; }

/* Gegenlaeufige Partner-Laufbaender (KI hatte bisher kein Band-CSS) */
.band { overflow: hidden; padding-block: 10px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.band + .band { margin-top: var(--space-3); }
.band__inner { display: flex; width: max-content; will-change: transform; animation: bandScroll 40s linear infinite; }
.band__group { display: flex; align-items: center; }
.band__group > * { flex: 0 0 auto; margin: 0 2.4rem; }   /* fester Abstand: --space-7 ist NICHT definiert (Bug: Wortmarken klebten zusammen) */
.band:hover .band__inner, .band:focus-within .band__inner { animation-play-state: paused; }
.band--reverse .band__inner { animation-direction: reverse; }
.ki-partner-band { display: inline-flex; align-items: center; min-height: 36px; white-space: nowrap;
  color: var(--text-muted); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .03em; text-transform: uppercase; }
/* R3 (Kevin): Namen „raffen sich hoch" beim Drüberfahren (Band pausiert bereits bei :hover) */
.ki-partner-band:hover, .ki-partner-band:focus-visible { color: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .ki-partner-band { transition: transform .2s ease, color .2s ease; }
  .ki-partner-band:hover, .ki-partner-band:focus-visible { transform: translateY(-5px); }
}
@keyframes bandScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__inner { animation: none; } .band__group + .band__group { display: none; } }

/* Wiederverwendbares Punkt-Raster (kein Karo), weich maskiert */
.ki-dots { position: relative; }
.ki-dots > .container { position: relative; z-index: 1; }
.ki-dots::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(18, 63, 122, 0.10) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 50% 50%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 74% at 50% 50%, #000 45%, transparent 100%);
}

/* ---------- 3. Notizzettel (plain, kein Karo) ---------------------------- */
.note {
  --tilt: 0deg; position: relative; background: var(--note-paper);
  border: 1px solid rgba(20, 24, 31, 0.07); border-radius: 3px;
  padding: var(--space-8) var(--space-5) var(--space-5); color: var(--text); text-align: left;
  box-shadow: 0 1px 1px rgba(20, 24, 31, 0.05), 0 14px 26px -16px rgba(20, 24, 31, 0.32);
  transform: rotate(var(--tilt));
  transition: transform var(--transition), box-shadow var(--transition);
}
.note::before {
  content: ""; position: absolute; z-index: 2; top: -11px; left: 50%;
  width: 96px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(255, 255, 255, 0) 2px 6px),
    linear-gradient(180deg, rgba(214, 196, 158, 0.62), rgba(198, 178, 138, 0.54));
  border-left: 1px dashed rgba(120, 100, 60, 0.22); border-right: 1px dashed rgba(120, 100, 60, 0.22);
  box-shadow: 0 2px 3px rgba(20, 24, 31, 0.12);
}
.note:nth-child(2n)::before { transform: translateX(-50%) rotate(2.5deg); }
@media (prefers-reduced-motion: no-preference) {
  .note:hover, .note:focus-within {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 0 2px 2px rgba(20, 24, 31, 0.06), 0 24px 38px -18px rgba(20, 24, 31, 0.38);
  }
}
@media (prefers-reduced-motion: reduce) { .note { transform: none; transition: none; } }
.note__num   { display: block; margin-bottom: var(--space-1); font-family: var(--font-hand); font-size: 2.7rem; line-height: 0.8; color: var(--accent); }
.note__title { font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.05; margin: 0 0 var(--space-2); color: var(--text); }
.note__text  { font-family: var(--font-hand); font-size: 1.2rem; line-height: 1.35; margin: 0; color: var(--text); }

/* ---------- 4. Partner – statisches 2-Reihen-Wortmarken-Grid (4.2) -------- */
/* Punkt/Bullet vor jeder Marke entfernt; kein Marquee/Slider. Flex-Wrap zentriert
   jede Reihe sauber (11 kurze Wortmarken -> ~2 Reihen). Einheitliche Höhe via
   min-height; alle gleicher Font/Größe -> keine Marke dominiert. */
.ki-partners { text-align: center; }
.ki-partner-grid {
  list-style: none; margin: var(--space-6) auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-5) var(--space-8); max-width: 760px;
}
.ki-partner {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; white-space: nowrap;
  color: var(--text-muted); font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase;
  transition: transform var(--transition-fast), color var(--transition-fast);
}
@media (prefers-reduced-motion: no-preference) {
  .ki-partner:hover, .ki-partner:focus-within { transform: translateY(-2px) scale(1.06); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) {
  .ki-partner:hover, .ki-partner:focus-within { color: var(--text); }
}

/* ---------- 4b. „Warum reicht ChatGPT allein nicht?" (3-Karten-Vergleich) - */
.ki-why { display: grid; gap: var(--space-5); grid-template-columns: 1fr; max-width: 940px; margin-inline: auto; }
@media (min-width: 720px) { .ki-why { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.ki-why__card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--card-pad); background: var(--note-paper); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); text-align: left; }
.ki-why__card--featured { border-color: var(--accent); box-shadow: var(--shadow-card); background: var(--accent-soft); }
/* R3 (Kevin): „Einordnung"-Vergleichskarten interaktiver — Lift beim Drüberfahren */
.ki-why__card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
@media (prefers-reduced-motion: no-preference) { .ki-why__card:hover { transform: translateY(-5px); } }
.ki-why__card:hover { box-shadow: var(--shadow-card); border-color: var(--primary-200); }
.ki-why__ic { width: 30px; height: 30px; color: var(--primary); flex: none; }
.ki-why__card--featured .ki-why__ic { color: var(--accent-strong); }
.ki-why__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); margin: 0; color: var(--text); }
.ki-why__text { margin: 0; color: var(--text-muted); font-size: var(--fs-small); }
.ki-why__badge { position: absolute; top: calc(-1 * var(--space-3)); left: var(--card-pad); background: var(--accent-strong); color: #fff; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); }

/* ---------- 5. „Ein Agent für jede Abteilung" (Akkordeon-Karten) --------- */
.ki-depts { display: grid; gap: var(--space-5); grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; text-align: left; }
@media (min-width: 600px) { .ki-depts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .ki-depts { grid-template-columns: 1fr 1fr 1fr; } }
.ki-dept {
  background: var(--note-paper); border: 1px solid rgba(20, 24, 31, 0.08); border-radius: 6px;
  box-shadow: 0 1px 1px rgba(20, 24, 31, 0.05), 0 12px 22px -16px rgba(20, 24, 31, 0.28);
  transition: box-shadow var(--transition), transform var(--transition);
}
@media (prefers-reduced-motion: no-preference) { .ki-dept:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(20,24,31,.34); } }
.ki-dept > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-5); font-family: var(--font-display); font-weight: 600; color: var(--text);
}
.ki-dept > summary::-webkit-details-marker { display: none; }
.ki-dept > summary::after { content: "+"; margin-left: auto; align-self: center; color: var(--accent-strong); font-weight: 700; font-size: 1.3rem; line-height: 1; flex: none; }
.ki-dept[open] > summary::after { content: "-"; }
/* Agentensystem-Reskin (2606): „Andock-Port" (Modul-Motiv) + Titel & 1 Aussage,
   Aufgabenliste bleibt im Akkordeon. Dock tönt bei Hover/offen Richtung Akzent
   („Agent angedockt"). Tastaturbedienbar via nativem <details> (nie nur Hover). */
.ki-dept__dock { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--primary); transition: background var(--transition), color var(--transition); }
.ki-dept > summary:hover .ki-dept__dock, .ki-dept > summary:focus-visible .ki-dept__dock, .ki-dept[open] > summary .ki-dept__dock { background: var(--accent); color: #fff; }
.ki-dept__ic { width: 22px; height: 22px; flex: none; }
.ki-dept__head { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ki-dept__title { font-weight: 600; color: var(--text); }
.ki-dept__one { font-family: var(--font-sans); font-weight: 400; color: var(--text-muted); font-size: var(--fs-small); }
.ki-dept__list { list-style: none; margin: 0; padding: 0 var(--space-5) var(--space-5); }
.ki-dept__list li { position: relative; padding: var(--space-1) 0 var(--space-1) 1.7rem; color: var(--text-muted); font-size: var(--fs-small); }
.ki-dept__list li::before, .ki-pack__list li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 14px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* T27: dezenter Hover-Feinschliff Haken/Linien (Kevin-Feedback: „Haken animieren,
   Striche pulsieren" beim Drüberfahren über die Liste — optionaler Feinschliff,
   keine Neuentwicklung). Nur Geräte mit echtem Hover UND reduced-motion:no-preference;
   Haken/Linien bleiben ohne Hover bzw. unter reduced-motion unverändert statisch. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ki-dept__list li:hover::before,
  .ki-pack__list li:hover::before,
  .ki-offer__list li:hover::before {
    animation: kiCheckPop 0.45s ease;
  }
  /* sanfte Staffelung, damit es wie ein Aufwachen statt ein einzelner Klick wirkt */
  .ki-dept__list li:nth-child(2):hover::before,
  .ki-pack__list li:nth-child(2):hover::before,
  .ki-offer__list li:nth-child(2):hover::before { animation-delay: 0.04s; }
  .ki-dept__list li:nth-child(3):hover::before,
  .ki-pack__list li:nth-child(3):hover::before,
  .ki-offer__list li:nth-child(3):hover::before { animation-delay: 0.08s; }
  .ki-dept__list li:nth-child(4):hover::before,
  .ki-pack__list li:nth-child(4):hover::before,
  .ki-offer__list li:nth-child(4):hover::before { animation-delay: 0.12s; }

  /* dezentes Linien-Pulsieren: Kartenrand der Abteilungs-Karte beim Hover */
  .ki-dept:hover { animation: kiLinePulse 1.8s ease-in-out infinite; }
}
@keyframes kiCheckPop {
  0%   { transform: rotate(-45deg) scale(1); }
  50%  { transform: rotate(-45deg) scale(1.2); }
  100% { transform: rotate(-45deg) scale(1); }
}
@keyframes kiLinePulse {
  0%, 100% { border-color: rgba(20, 24, 31, 0.08); }
  50%      { border-color: rgba(20, 24, 31, 0.22); }
}

/* ---------- 6. „Ohne / Mit KI-Audit"-Umschalter + Flip-Karten ------------- */
.ki-switch-wrap { text-align: center; }
.ki-switch { display: inline-flex; align-items: center; gap: var(--space-4); margin: 0 auto var(--space-8); }
.ki-switch__label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--text-muted); transition: color var(--transition-fast); }
.ki-switch__label.is-active { color: var(--text); }
.ki-switch__toggle { position: relative; width: 76px; height: 40px; flex: none; cursor: pointer; border: none; border-radius: var(--radius-pill); background: var(--primary-deep); box-shadow: inset 0 2px 6px rgba(0,0,0,0.22); }
.ki-switch__knob { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: transform var(--transition); }
.ki-switch__toggle[aria-checked="true"] { background: var(--accent-strong); }
.ki-switch__toggle[aria-checked="true"] .ki-switch__knob { transform: translateX(36px); }
@media (prefers-reduced-motion: reduce) { .ki-switch__knob { transition: none; } }
.ki-flip-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
@media (min-width: 640px) { .ki-flip-grid { grid-template-columns: 1fr 1fr; } }
.ki-flip { position: relative; display: grid; min-height: 92px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--note-paper); box-shadow: var(--shadow-soft); text-align: left; overflow: hidden; }
.ki-flip__before, .ki-flip__after { grid-area: 1 / 1; display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--card-pad); }
.ki-flip__after { display: none; }
.ki-flip-grid.is-after .ki-flip__before { display: none; }
.ki-flip-grid.is-after .ki-flip__after  { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .ki-flip-grid.is-after .ki-flip__after,
  .ki-flip-grid:not(.is-after) .ki-flip__before { animation: ki-fade 0.35s ease; }
}
@keyframes ki-fade { from { opacity: 0; } to { opacity: 1; } }
.ki-flip__ic { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.ki-flip__before .ki-flip__ic { color: var(--warn); }
.ki-flip__after  .ki-flip__ic { color: var(--accent); }
.ki-flip strong { display: block; font-weight: 600; color: var(--text); }
.ki-flip small  { display: block; margin-top: 2px; color: var(--text-muted); font-size: var(--fs-small); }
/* Flip-Karten: Hover-Reaktion (Lift + Schatten + Icon-Pop, zustandsabhängige Kante) */
.ki-flip { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.ki-flip__ic { transition: transform var(--transition-fast); }
@media (prefers-reduced-motion: no-preference) {
  .ki-flip:hover, .ki-flip:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-card); }
  .ki-flip:hover .ki-flip__ic { transform: scale(1.12); }
}
.ki-flip-grid:not(.is-after) .ki-flip:hover { border-color: var(--primary-200); }
.ki-flip-grid.is-after .ki-flip:hover { border-color: var(--accent); }
.ki-ba__note { margin: var(--space-8) auto 0; max-width: 70ch; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--primary-200); background: var(--primary-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: var(--fs-small); text-align: left; }

/* ---------- 6b. Vorher/Nachher – visuelles Zielbild-Diagramm (4.4) -------- */
.ki-ba { max-width: 900px; margin: var(--space-2) auto var(--space-6); }
.ki-ba__svg { width: 100%; height: auto; display: block; overflow: visible; }
.ki-ba__svg text { font-family: var(--font-display); }
.ki-ba__head { font-size: 15px; font-weight: 700; fill: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }
.ki-ba__t { font-size: 12.5px; fill: var(--text); }
.ki-ba__hubt { font-size: 15px; font-weight: 700; fill: #fff; }
.ki-ba__tag { fill: var(--accent-strong); font-family: var(--font-hand); font-size: 21px; }
.ki-ba__node { fill: var(--surface); stroke: var(--warn); stroke-width: 1.6; }
.ki-ba__dup { stroke: var(--warn); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: 0.7; fill: none; }
.ki-ba__axis { stroke: var(--primary-200); stroke-width: 2; stroke-dasharray: 2 7; fill: none; }
.ki-ba__gear { stroke: var(--primary); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.ki-ba__draw { stroke: var(--primary); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.ki-ba__tip { fill: var(--primary); stroke: none; }
.ki-ba__hub { fill: var(--accent-strong); stroke: none; }
.ki-ba__flow { stroke: var(--accent); stroke-width: 2.4; fill: none; }
.ki-ba__onode rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.6; }
/* Zustände: chaos verblasst, order erscheint (opacity statt display -> kein Reflow) */
.ki-ba__order { opacity: 0; }
.ki-ba.is-after .ki-ba__order { opacity: 1; }
.ki-ba.is-after .ki-ba__chaos { opacity: 0.14; }
@media (prefers-reduced-motion: no-preference) { .ki-ba__chaos, .ki-ba__order { transition: opacity 0.45s ease; } }
/* Scroll-Draw der .ki-ba__draw-Pfade (pathLength=1); .js gated -> No-JS zeigt sie voll */
.js .ki-draw .ki-ba__draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .ki-draw.is-drawn .ki-ba__draw { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) { .js .ki-draw .ki-ba__draw { transition: stroke-dashoffset 0.9s ease; } }
@media (prefers-reduced-motion: reduce) { .js .ki-draw .ki-ba__draw { stroke-dashoffset: 0; transition: none; } }

/* ============================================================================
   K-R3: Vorher/Nachher = breites, statisches Prozess-Diagramm (kein Umschalter).
   Überschreibt die Toggle-Regeln darüber (liegt später in der Kaskade). Zielbild
   dauerhaft sichtbar; Flip-Karten als „Heute → Mit KI"-Vergleichszeilen.
   ============================================================================ */
.ki-ba { max-width: 1100px; }
.ki-ba__order { opacity: 1; }
.ki-ba__chaos { opacity: .92; }
.ki-flip-grid--static { grid-template-columns: 1fr; gap: var(--space-4); max-width: 880px; }
.ki-flip-grid--static .ki-flip { display: grid; grid-template-columns: 1fr 1.6rem 1fr; align-items: center; min-height: 0; }
.ki-flip-grid--static .ki-flip__before, .ki-flip-grid--static .ki-flip__after { position: static; }
.ki-flip-grid--static .ki-flip__before { grid-column: 1; opacity: .62; }
.ki-flip-grid--static .ki-flip::after { content: "→"; grid-column: 2; align-self: center; text-align: center; color: var(--accent-strong); font-weight: 700; }
.ki-flip-grid--static .ki-flip__after { grid-column: 3; display: flex; }
@media (max-width: 560px) {
  .ki-flip-grid--static .ki-flip { grid-template-columns: 1fr; gap: var(--space-1); }
  .ki-flip-grid--static .ki-flip__before, .ki-flip-grid--static .ki-flip::after, .ki-flip-grid--static .ki-flip__after { grid-column: 1; }
  /* grid-area 1/1 der Basisregel explizit aufloesen, sonst ueberlagern sich beide Zustaende in Zeile 1 */
  .ki-flip-grid--static .ki-flip__before { grid-row: 1; }
  .ki-flip-grid--static .ki-flip::after { grid-row: 2; transform: rotate(90deg); justify-self: center; }
  .ki-flip-grid--static .ki-flip__after { grid-row: 3; }
}

/* ============================================================================
   AP8 2606 (Kevin): wiederverwendbarer „Vorher/Nachher"-Umschalter (Finanzstarter-Stil).
   Reuse `.ki-switch` als Schalter. `.bat` = Bühne; `.is-after` ordnet die 7 Knoten von
   der Chaos- in die Hub-and-Spoke-Position (Transform-Transition) + Cross-Fade der
   Verbindungen/Tags/Hub. Wiederverwendbar: [data-ba-toggle] + ki.js `initBaToggle`.
   reduced-motion: keine Transition -> sofortiger Zustandswechsel.
   ============================================================================ */
.ba-toggle { max-width: 860px; margin: 0 auto; }
.ba-toggle .ki-switch { margin: 0 auto var(--space-7); }
.bat { position: relative; border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); background: var(--bg-subtle); }
.bat.is-after { background: var(--primary-50); }   /* 2606c (Kevin): Hintergrund wechselt beim Umschalten (FS-Stil) */
/* 2606d (Kevin): zwei schräge Klebestreifen an den oberen Ecken -> Panel wirkt „aufgehängt". */
.bat::before, .bat::after {
  content: ""; position: absolute; top: 6px; width: 78px; height: 24px; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(255, 255, 255, 0) 2px 6px),
    linear-gradient(180deg, rgba(214, 196, 158, 0.62), rgba(198, 178, 138, 0.54));
  border-left: 1px dashed rgba(120, 100, 60, 0.22); border-right: 1px dashed rgba(120, 100, 60, 0.22);
  box-shadow: 0 2px 3px rgba(20, 24, 31, 0.12);
  opacity: 0; transition: opacity .3s ease;   /* R2 (Kevin): Klebestreifen erst im „Nachher" */
}
.bat::before { left: -22px; transform: rotate(-45deg); }
.bat::after  { right: -22px; transform: rotate(45deg); }
/* R2: Tape klebt sich beim Umschalten auf „Nachher" an die Ecken (fliegt rein). */
.bat.is-after::before, .bat.is-after::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bat.is-after::before { animation: kiTapeStickL .5s cubic-bezier(.34, 1.4, .64, 1) both; }
  .bat.is-after::after  { animation: kiTapeStickR .5s cubic-bezier(.34, 1.4, .64, 1) .08s both; }
}
@keyframes kiTapeStickL { 0% { opacity: 0; transform: translateY(-16px) rotate(6deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-45deg); } }
@keyframes kiTapeStickR { 0% { opacity: 0; transform: translateY(-16px) rotate(-6deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(45deg); } }
.bat__svg { display: block; width: 100%; height: auto; overflow: visible; }
.bat__svg text { font-family: var(--font-display); }
.bat-node { transform-box: fill-box; transform-origin: center;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); }
.bat-node rect { fill: var(--surface); stroke: var(--warn); stroke-width: 1.8; }
.bat-node text { fill: var(--text); font-size: 15px; font-weight: 600; }
/* 2606d (Kevin): Knoten hover-interaktiv (wie die Anbindung oben) */
.bat-node { cursor: pointer; }
.bat-node:hover rect { stroke: var(--accent); stroke-width: 2.8; }
.bat-node:hover text { fill: var(--accent-strong); }
.bat.is-after .bat-node { transform: translate(0px, 0px) rotate(0deg); }
.bat.is-after .bat-node rect { stroke: var(--accent); fill: var(--accent-soft); }
.bat-chaos { stroke: var(--warn); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .7; }
.bat.is-after .bat-chaos { opacity: 0; }
.bat-spoke { stroke: var(--accent); stroke-width: 2.2; opacity: 0; }
.bat.is-after .bat-spoke { opacity: 1; }
.bat-ring-path { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: 0; fill: none; }
.bat.is-after .bat-ring-path { opacity: 1; }
.bat-hub-rect { fill: var(--accent-strong); opacity: 0; }
.bat-hub-t { fill: #fff; font-size: 16px; font-weight: 700; opacity: 0; }
.bat.is-after .bat-hub-rect, .bat.is-after .bat-hub-t { opacity: 1; }
.bat-tag { fill: var(--accent-strong); font-family: var(--font-hand); font-size: 22px; opacity: 0; }
.bat.is-after .bat-tag { opacity: 1; }
.bat-chaos-tag { fill: var(--warn); font-family: var(--font-hand); font-size: 22px; opacity: 1; }
.bat.is-after .bat-chaos-tag { opacity: 0; }
/* Mobil: Diagramm nutzt die volle Kartenbreite, Beschriftungen eine Stufe groesser
   (SVG-User-Units skalieren mit; 760er-viewBox rendert bei 360px sonst ~5-6px-Text) */
@media (max-width: 560px) {
  .bat { padding-inline: var(--space-2); }
  .bat-node text { font-size: 17px; }
  .bat-hub-t { font-size: 18px; }
  .bat-tag, .bat-chaos-tag { font-size: 26px; }
  /* Tape-Streifen einruecken, sonst ragen sie aus dem Viewport (H-Scroll) */
  .bat::before { left: -10px; }
  .bat::after { right: -10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bat { transition: background .7s ease; }
  /* 2606c (Kevin): smoother — längere Transition + sanfte Knoten-Staffel (Knoten = g3..g9) */
  .bat-node { transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
  .bat-node:nth-of-type(4) { transition-delay: .04s; }
  .bat-node:nth-of-type(5) { transition-delay: .08s; }
  .bat-node:nth-of-type(6) { transition-delay: .12s; }
  .bat-node:nth-of-type(7) { transition-delay: .16s; }
  .bat-node:nth-of-type(8) { transition-delay: .20s; }
  .bat-node:nth-of-type(9) { transition-delay: .24s; }
  .bat-node rect { transition: stroke .35s ease, fill .35s ease, stroke-width .2s ease; }
  .bat-chaos, .bat-spoke, .bat-ring-path, .bat-hub-rect, .bat-hub-t, .bat-tag, .bat-chaos-tag { transition: opacity .5s ease; }
  /* 2607 (Kevin): Verbindungen (Nachher) blenden erst NACH einem Teil des Knoten-Flugs ein,
     statt zeitgleich -> Übergang wirkt wie „nach dem Flug verbunden" statt simultan. */
  .bat.is-after .bat-spoke, .bat.is-after .bat-ring-path, .bat.is-after .bat-hub-rect, .bat.is-after .bat-hub-t, .bat.is-after .bat-tag { transition-delay: .35s; }
}
/* R2 (Kevin): „Vorher"/Chaos lebt — Knoten zappeln um ihren eigenen Offset, das
   Liniengeflecht driftet leicht mit; zentraler Knoten (Cloud, g9) schwimmt mehr.
   „Nachher" (.is-after) bleibt bewusst ruhig/geordnet. Negative Delays = sofort entkoppelt. */
@media (prefers-reduced-motion: no-preference) {
  .bat:not(.is-after) .bat-node { animation: batNodeFloat 3.2s ease-in-out infinite; }
  .bat:not(.is-after) .bat-node:nth-of-type(4) { animation-duration: 3.6s; animation-delay: -.4s; }
  .bat:not(.is-after) .bat-node:nth-of-type(5) { animation-duration: 2.9s; animation-delay: -1.1s; }
  .bat:not(.is-after) .bat-node:nth-of-type(6) { animation-duration: 3.4s; animation-delay: -.7s; }
  .bat:not(.is-after) .bat-node:nth-of-type(7) { animation-duration: 3.1s; animation-delay: -1.6s; }
  .bat:not(.is-after) .bat-node:nth-of-type(8) { animation-duration: 3.7s; animation-delay: -.9s; }
  .bat:not(.is-after) .bat-node:nth-of-type(9) { animation: batNodeFloatBig 4s ease-in-out infinite; }
  .bat:not(.is-after) .bat-chaos-links { animation: batChaosDrift 6s ease-in-out infinite; }
}
@keyframes batNodeFloat {
  0%, 100% { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); }
  50%      { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)) translateY(-4px); }
}
@keyframes batNodeFloatBig {
  0%, 100% { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)) translate(0, 0); }
  33%      { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)) translate(3px, -7px); }
  66%      { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)) translate(-3px, -3px); }
}
@keyframes batChaosDrift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(2px, -2px); }
  66%      { transform: translate(-2px, 1px); }
}

/* ============================================================================
   K-R4: Tool-Anbindung – animiertes „Beam"-Netzwerk (inuware-inspiriert).
   Quelle (Team/Daten) -> KI-Agent -> Tools. Fließende Gradient-Beams via
   stroke-dash-Lauf (pathLength=100). reduced-motion: statische Linien.
   Desktop = SVG; Mobil = gestapelte, ruhige Darstellung (kein Mini-SVG).
   ============================================================================ */
.ki-beam { max-width: 1080px; margin: 0 auto; }
.ki-beam__svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Gradient-Stops (var() greift nur als CSS-Property, nicht als XML-Attribut) */
.ki-beam__svg .kiBeamG-edge { stop-color: var(--accent); stop-opacity: 0; }
.ki-beam__svg .kiBeamG-mid  { stop-color: var(--accent-strong); stop-opacity: 1; }
/* Rückrichtung (bidirektional) = blau */
.ki-beam__svg .kiBeamGr-edge { stop-color: var(--primary); stop-opacity: 0; }
.ki-beam__svg .kiBeamGr-mid  { stop-color: var(--primary); stop-opacity: 1; }

/* Leit-Linien (statisch) + fließende Beams */
.ki-beam__wire { stroke: var(--border-strong); stroke-width: 2; }
.ki-beam__flow { stroke: url(#kiBeamGrad); stroke-width: 3.4; stroke-linecap: round;
                 stroke-dasharray: 16 84; stroke-dashoffset: 100; }
.ki-beam__flow--rev { stroke: url(#kiBeamGradRev); }   /* Rückrichtung = blau (bidirektional) */
@media (prefers-reduced-motion: no-preference) {
  .ki-beam__flow { animation: kiBeamFlow 3s linear infinite; }
  .ki-beam__flow--rev { animation-name: kiBeamFlowRev; }   /* gleiche Dauer/Timing, Gegenrichtung */
  .ki-beam__flow:nth-child(1) { animation-delay: .0s; }
  .ki-beam__flow:nth-child(2) { animation-delay: .33s; }
  .ki-beam__flow:nth-child(3) { animation-delay: .66s; }
  .ki-beam__flow:nth-child(4) { animation-delay: 1.0s; }
  .ki-beam__flow:nth-child(5) { animation-delay: 1.33s; }
  .ki-beam__flow:nth-child(6) { animation-delay: 1.66s; }
  .ki-beam__flow:nth-child(7) { animation-delay: 2.0s; }
  .ki-beam__flow:nth-child(8) { animation-delay: 2.33s; }
  .ki-beam__flow:nth-child(9) { animation-delay: 2.66s; }
}
@keyframes kiBeamFlow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes kiBeamFlowRev { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100; } }
@media (prefers-reduced-motion: reduce) {
  /* statisch & zweifarbig: hin = orange (durchgezogen), zurück = blau (gestrichelt darüber) */
  .ki-beam__flow { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke: var(--accent); opacity: .5; }
  .ki-beam__flow--rev { stroke: var(--primary); stroke-dasharray: 3 9; opacity: .55; }
}

/* Knoten */
.ki-beam__nrect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.6; }
.ki-beam__hub-rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.ki-beam__ic { fill: none; stroke: var(--accent-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ki-beam__t { fill: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.ki-beam__hub-t { fill: var(--accent-strong); font-family: var(--font-display); font-size: 17px; font-weight: 700; text-anchor: middle; }
.ki-beam__dot { fill: var(--accent); }

/* lebendiger Puls um das Zentrum */
.ki-beam__pulse { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0;
                  transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ki-beam__pulse { animation: kiBeamPulse 3.4s ease-out infinite; }
}
@keyframes kiBeamPulse {
  0%   { opacity: .45; transform: scale(.62); }
  70%  { opacity: 0;   transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.18); }
}

/* Mobil-Fallback */
.ki-beam-m { display: none; }
@media (max-width: 720px) {
  .ki-beam { display: none; }
  .ki-beam-m { display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
               max-width: 420px; margin: 0 auto; text-align: center; }
  .ki-beam-m__src { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
  .ki-beam-m__chip { padding: 0.55rem 1rem; border-radius: var(--radius-pill);
                     background: var(--surface); border: 1px solid var(--border-strong);
                     font-weight: 600; font-size: 0.95rem; }
  .ki-beam-m__hub { padding: 0.7rem 1.6rem; border-radius: var(--radius-lg);
                    background: var(--accent-soft); border: 2px solid var(--accent);
                    color: var(--accent-strong); font-family: var(--font-display);
                    font-weight: 700; font-size: 1.15rem; }
  .ki-beam-m__arrow { width: 2px; height: 22px; background: var(--accent);
                      opacity: .55; border-radius: 2px; }
  /* bidirektional: Doppelpfeil (Chevron oben + unten) */
  .ki-beam-m__arrow--bi { position: relative; height: 30px; }
  .ki-beam-m__arrow--bi::before, .ki-beam-m__arrow--bi::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; border: 2px solid var(--accent); border-right: 0; border-bottom: 0; }
  .ki-beam-m__arrow--bi::before { top: -2px; transform: translateX(-50%) rotate(45deg); }
  .ki-beam-m__arrow--bi::after  { bottom: -2px; transform: translateX(-50%) rotate(-135deg); }
  .ki-beam-m__tools { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); width: 100%; }
  .ki-beam-m__tool { padding: 0.6rem 0.5rem; border-radius: var(--radius-md);
                     background: var(--surface); border: 1px solid var(--border);
                     border-left: 3px solid var(--accent); font-weight: 600; font-size: 0.92rem; }
  .ki-beam-m__tool:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* 7. Tool (Cloud) zentriert über volle Breite */
}
.ki-beam__note { max-width: 60ch; margin: var(--space-6) auto 0; text-align: center;
                 color: var(--text-muted); font-size: var(--fs-small); }

/* AP6 2606 (Kevin): Tool-Knoten interaktiv — Hover/Tap (ki.js initBeam) hebt Knoten +
   zugehörige Leitung + Beam hervor; sobald einer aktiv ist, dimmen die anderen (.is-engaged). */
.ki-beam__node { transition: opacity var(--transition); }
.ki-beam__node .ki-beam__nrect { transition: fill var(--transition), stroke var(--transition), stroke-width var(--transition); }
.ki-beam__node .ki-beam__ic { transition: stroke var(--transition); }
.ki-beam__node.is-hot .ki-beam__nrect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.6; }
.ki-beam__node.is-hot .ki-beam__t { fill: var(--accent-strong); }
.ki-beam__wire { transition: stroke var(--transition), opacity var(--transition); }
.ki-beam__wire.is-hot { stroke: var(--accent); stroke-width: 3; }
.ki-beam__flow.is-hot { stroke-width: 5.4; }
.ki-beam__node.is-hot .ki-beam__hub-rect { stroke-width: 3; }   /* R4 (Kevin): Infrastruktur-Hub im Hot-State betonen */
@media (prefers-reduced-motion: no-preference) {
  /* R4: aktive Beams „rauschen" schneller (Tinte fließt sichtbar über die Verbindungen) */
  .ki-beam__flow.is-hot { filter: drop-shadow(0 0 4px rgba(234, 122, 37, 0.55)); animation-duration: 1.35s; }
}
/* Fokus auf das aktive Tool: alles andere ruhig stellen */
.ki-beam__svg.is-engaged .ki-beam__flow:not(.is-hot) { opacity: 0.18; }
.ki-beam__svg.is-engaged .ki-beam__node:not(.is-hot) .ki-beam__nrect { opacity: 0.5; }
.ki-beam__svg.is-engaged .ki-beam__node:not(.is-hot) .ki-beam__t { opacity: 0.5; }
.ki-beam__svg.is-engaged .ki-beam__wire:not(.is-hot) { opacity: 0.4; }

/* ---------- 7. Roadmap – 6 Schritte, Notizzettel + Icon, feste Breakpoints (4.5) */
/* Feste Spalten (kein auto-fit) -> keine kaputte Zwischenbreite: 1×6 / 2×3 / 3×2. */
.ki-road__list { list-style: none; counter-reset: note; margin: 0; padding: var(--space-2) 0 0; display: grid; gap: var(--space-10) var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 600px) and (max-width: 979px) { .ki-road__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .ki-road__list { grid-template-columns: repeat(3, 1fr); } }
.ki-step { counter-increment: note; position: relative; }
.ki-step:nth-child(2n)   { --tilt: 1.1deg; }
.ki-step:nth-child(2n+1) { --tilt: -1.3deg; }
.ki-step .note__num::before { content: counter(note); }
/* Bild-Slot (4.8): „eingeklebtes Foto" oben in der Karte. Bilder = Higgsfield/Recraft 4.1,
   warme Editorial-Illustration (Skizzen-Look), webp 720x531.
   Erzeugungs-Rezept (für künftige KI-Bilder konsistent halten):
     Modell recraft-v4-1, model_type standard, aspect_ratio 4:3, resolution 1k,
     background_color #F6F4EF, colors [#123F7A,#376EB9,#EA7A25,#C75F14,#5A6B82,#0A1930],
     Prompt-Präfix: „Warm hand-drawn editorial illustration, soft textured linework, muted
     navy blue and warm orange accents on cream paper, flat minimal shapes, sketchbook feel,
     NO text/words/letters, single centered concept, generous margins." */
/* 2606c (Kevin): „Klebezettel" zurück — die 6 Bilder BLEIBEN als „aufgeklebtes Foto" oben in
   der Karte; das Tape (.note::before) liegt über dem Bild-Oberrand, die Zettel kippen leicht
   (--tilt) und heben sich beim Hover. Daher KEINE .note-Neutralisierung mehr — die volle
   Notizzettel-Optik (Papier/Rand/Schatten/Tape/Tilt/Hover-Lift) ist wieder aktiv. */
.ki-step.note { padding: var(--space-4); }
.ki-step__art { display: block; margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-3); border-radius: var(--radius-sm) var(--radius-sm) 0 0; overflow: hidden; background: var(--note-paper); }   /* R4: Bilder sind transparent -> Fläche = Kartenfarbe (nahtlos, kein Seam) */
.ki-step__img { display: block; width: 100%; height: auto; }

/* ---------- 8. Pricing (kostenloser Einstieg + ausklappbare Pakete) ------ */
/* Kostenloser Einstiegs-Block */
.ki-freecheck { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); max-width: 820px; margin: 0 auto var(--space-8); padding: var(--card-pad); background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); text-align: left; }
.ki-freecheck__body { flex: 1 1 360px; }
.ki-freecheck__tag { display: inline-block; margin-bottom: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-strong); }
.ki-freecheck__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); margin: 0 0 var(--space-2); color: var(--text); }
.ki-freecheck__text { color: var(--text-muted); margin: 0; max-width: 60ch; }
.ki-freecheck .btn { flex: none; }
@media (max-width: 600px) { .ki-freecheck .btn { width: 100%; } }

/* 2606c (Kevin): Angebot im Digital-Natives-Layout — abwechselnde volle Reihen
   (Text ↔ großes gerahmtes handgezeichnetes Inline-SVG; warmes Papier, KEIN Karo;
   Blau + Orange-Akzent; SVG zeichnet sich via .ki-draw). */
.ki-offer { display: grid; gap: var(--space-9); max-width: 1000px; margin-inline: auto; text-align: left; }
.ki-offer-row { display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) {
  .ki-offer-row { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .ki-offer-row--rev .ki-offer__text { order: 2; }
  .ki-offer-row--rev .ki-offer__art  { order: 1; }
}
.ki-offer__text { position: relative; }
.ki-offer__badge { display: inline-block; margin-bottom: var(--space-2); background: var(--accent-strong); color: #fff; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); }
.ki-offer__metric { display: block; font-family: var(--font-hand); font-size: 1.9rem; line-height: 1; color: var(--accent-strong); }
.ki-offer__sub { display: block; margin: var(--space-1) 0 var(--space-2); color: var(--text-muted); font-size: var(--fs-small); }
.ki-offer__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); margin: 0 0 var(--space-3); color: var(--text); }
.ki-offer__lead { margin: 0 0 var(--space-4); color: var(--text-muted); }
.ki-offer__list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }
.ki-offer__list li { position: relative; padding-left: 1.7rem; font-size: var(--fs-small); color: var(--text); }
.ki-offer__list li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 14px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.ki-offer__price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--primary); margin-bottom: var(--space-4); }
.ki-offer__price span { font-size: var(--fs-small); font-weight: 500; color: var(--text-muted); }
/* Gerahmtes „Papier"-Feld mit der handgezeichneten Szene (kein Karo) */
.ki-offer__art { background: var(--note-paper); border: 1px solid rgba(20, 24, 31, 0.08); border-radius: var(--radius-md);
  box-shadow: 0 1px 1px rgba(20, 24, 31, 0.05), 0 16px 30px -20px rgba(20, 24, 31, 0.32); padding: var(--space-5); }
.ki-offer-row--featured .ki-offer__art { border-color: var(--accent); }
.ki-offer__art-svg { display: block; width: 100%; height: auto; max-height: 260px; color: var(--primary); overflow: visible; }
.ki-offer__art-svg .ki-bp { stroke-width: 2.4; }   /* 2606d: kräftigerer, gleichmäßiger Hand-Strich */
/* R2 (Kevin): Illustrationen leben — Sonne strahlt (schimmert + pulst), Päckchen rollen
   in Endlosschleife übers Band (geclippt), alle Karten „bobben" dezent. */
.ki-sun-rays { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .ki-sun-rays { animation: kiSunShimmer 5s ease-in-out infinite, kiSunGlow 3.2s ease-in-out infinite; }
  .ki-belt { animation: kiBeltRoll 4.5s linear infinite; }
  .ki-offer__art-svg { animation: kiArtBob 6s ease-in-out infinite; }
  .ki-offer-row:nth-of-type(2) .ki-offer__art-svg { animation-duration: 7.2s; animation-direction: alternate-reverse; }
  .ki-offer-row:nth-of-type(3) .ki-offer__art-svg { animation-duration: 6.6s; }
}
@keyframes kiSunShimmer { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes kiSunGlow { 0%, 100% { stroke-width: 2.4; opacity: .8; } 50% { stroke-width: 3.2; opacity: 1; } }
@keyframes kiBeltRoll { from { transform: translateX(0); } to { transform: translateX(64px); } }
@keyframes kiArtBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ki-packs__note { text-align: center; margin-top: var(--space-6); color: var(--text-muted); font-size: var(--fs-small); max-width: 70ch; margin-inline: auto; }

/* ---------- 9. Plan-Zeitstrahl (beige; löst das weiße Stats-Band ab, 2606) - */
.ki-timeline { list-style: none; margin: 0 auto; padding: var(--space-6); max-width: 820px;
  background: var(--bg-subtle); border-radius: var(--radius-lg);
  display: grid; gap: var(--space-6); position: relative; }
.ki-tl { position: relative; padding-left: calc(var(--space-5) + 4px); text-align: left; }
.ki-tl::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 13px; height: 13px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); z-index: 1; }
/* vertikale Achse (mobil) */
.ki-timeline::before { content: ""; position: absolute; left: calc(var(--space-6) + 6px);
  top: var(--space-6); bottom: var(--space-6); width: 2px; background: var(--border-strong); z-index: 0; }
.ki-tl__num { display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); color: var(--primary); line-height: 1.15; }
.ki-tl__num .u { color: var(--accent); }
.ki-tl__label { display: block; margin-top: 2px; color: var(--text-muted); font-size: var(--fs-small); }
/* horizontale Achse ab 720px */
@media (min-width: 720px) {
  .ki-timeline { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
  .ki-tl { padding-left: 0; padding-top: calc(var(--space-5) + 4px); }
  .ki-tl::before { top: 0; left: 0; }
  .ki-timeline::before { left: calc(var(--space-6) + 6px); right: calc(var(--space-6) + 6px);
    top: calc(var(--space-6) + 6px); bottom: auto; width: auto; height: 2px; }
}

/* ---------- 10. Siegel-Streifen (kompakt, zwischen Hero & Partner, 2606) -- */
.ki-seals { text-align: center; }
.ki-seals__row { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-6) var(--space-8); }
/* 2606 (Kevin): transparente Siegel (kein weißer Kasten) + etwas größer. */
.ki-seals__row img { display: block; height: auto; max-height: 78px; width: auto; max-width: 230px; object-fit: contain; opacity: 1; }
.ki-seals__note { margin: var(--space-4) auto 0; max-width: 60ch; color: var(--text-muted); font-size: var(--fs-small); }
@media (max-width: 360px) { .ki-seals__row { gap: var(--space-4); } .ki-seals__row img { max-height: 60px; } }

/* ---------- 11. Dezenter Tech-Hintergrund (Pixabay, self-hosted, grayscale) */
.ki-techbg { position: relative; overflow: hidden; }
.ki-techbg > .container { position: relative; z-index: 1; }
.ki-techbg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/assets/img/ki-techbg.webp") center / cover no-repeat;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 28%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 28%, transparent 100%);
}

/* ---------- 12. Scroll-Reveal (DN-artig: edler + gestaffelt, nur /ki) ----- */
/* Standard-Reveal (Section-Heads, einzelne Bloecke): edler, OHNE den versteckten Token-Delay */
.js .reveal { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Karten-Container selbst NICHT bewegen -> nur ihre Kinder staffeln (kein doppeltes Anheben) */
.js .reveal.ki-depts, .js .reveal.ki-flip-grid, .js .reveal.ki-packs, .js .reveal.ki-tiers,
.js .reveal.ki-timeline, .js .reveal.ki-road__list {
  opacity: 1; transform: none; transition: none; will-change: auto;
}

/* Kinder gestaffelt via eigene Animation. translate (eigene Property) statt transform ->
   der Note-Tilt (transform: rotate) und alle Hover-Transforms bleiben unangetastet;
   animation-delay (statt transition-delay) verzoegert NICHT die spaeteren Hover-Effekte. */
.js .reveal .ki-dept, .js .reveal .ki-flip, .js .reveal .ki-pack, .js .reveal .ki-tier,
.js .reveal .ki-tl, .js .reveal .note { opacity: 0; }
.js .reveal.is-visible .ki-dept, .js .reveal.is-visible .ki-flip, .js .reveal.is-visible .ki-pack, .js .reveal.is-visible .ki-tier,
.js .reveal.is-visible .ki-tl, .js .reveal.is-visible .note {
  animation: ki-rise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.js .reveal.is-visible > *:nth-child(2) { animation-delay: 0.07s; }
.js .reveal.is-visible > *:nth-child(3) { animation-delay: 0.14s; }
.js .reveal.is-visible > *:nth-child(4) { animation-delay: 0.21s; }
.js .reveal.is-visible > *:nth-child(5) { animation-delay: 0.28s; }
.js .reveal.is-visible > *:nth-child(6) { animation-delay: 0.35s; }
@keyframes ki-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal .ki-dept, .js .reveal .ki-flip, .js .reveal .ki-pack, .js .reveal .ki-tier,
  .js .reveal .ki-tl, .js .reveal .note { opacity: 1; transform: none; animation: none; transition: none; }
  .js .reveal.is-visible > * { animation-delay: 0s; }
}

/* ---------- 11. FAQ ------------------------------------------------------ */
.ki-faq { max-width: 760px; margin-inline: auto; text-align: left; }
.ki-faq__item { border-bottom: 1px solid var(--border); }
.ki-faq__q { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.ki-faq__q::-webkit-details-marker { display: none; }
.ki-faq__q::after { content: "+"; color: var(--accent-strong); font-weight: 700; }
.ki-faq__item[open] .ki-faq__q::after { content: "-"; }
.ki-faq__a { margin: 0 0 var(--space-4); color: var(--text-muted); max-width: 68ch; }

/* ---------- 12. CTA-Button orange (Feedback 07/2026) -------------------- */
/* Eigene Modifier-Klasse (NUR /ki) – spiegelt base.css `.btn--primary`:
   Blau-Ruhe, Orange-Hover, damit CTAs seitenübergreifend einheitlich sind
   (Christopher 07/2026). */
.btn--cta { background: var(--primary); color: #fff; border-color: transparent; }
.btn--cta:hover { background: var(--accent-strong); color: #fff; }
.btn--cta:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
/* Header-CTA: `.site-nav a` (base.css) faerbt den Text sonst muted -> hier weiss
   halten (auch im Hover), ohne die geteilte base.css anzufassen. */
.site-nav a.btn--cta, .site-nav a.btn--cta:hover { color: #fff; }

/* ---------- 13. Interaktiver KI-Spickzettel (4.3) ------------------------ */
/* 2606 (Kevin): stärker als „Spickzettel"/Papier inszenieren — Klebeband-Streifen
   an den oberen Ecken (Muster aus .note übernommen) + ruhigere Papier-Ecken. */
.ki-cheat { position: relative; max-width: 760px; margin-inline: auto; background: var(--note-paper); border: 1px solid rgba(20, 24, 31, 0.08); border-radius: 4px; box-shadow: 0 1px 1px rgba(20, 24, 31, 0.05), 0 14px 26px -16px rgba(20, 24, 31, 0.28); padding: var(--card-pad); text-align: left; }
.ki-cheat::before, .ki-cheat::after {
  content: ""; position: absolute; z-index: 2; top: -12px; width: 104px; height: 28px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(255, 255, 255, 0) 2px 6px),
    linear-gradient(180deg, rgba(214, 196, 158, 0.62), rgba(198, 178, 138, 0.54));
  border-left: 1px dashed rgba(120, 100, 60, 0.22); border-right: 1px dashed rgba(120, 100, 60, 0.22);
  box-shadow: 0 2px 3px rgba(20, 24, 31, 0.12);
}
.ki-cheat::before { left: 24px; transform: rotate(-4deg); }
.ki-cheat::after  { right: 24px; transform: rotate(3.5deg); }
@media (max-width: 520px) { .ki-cheat::before { left: 14px; } .ki-cheat::after { right: 14px; } }
/* 2606d (Kevin): Demo-Hinweis als kleiner ⓘ-Infopunkt; Text per Hover/Fokus (CSS-only) */
.ki-cheat__demo { position: relative; display: inline-flex; margin: 0 0 var(--space-5); }
.ki-cheat__demo-btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0; border: 0; background: none; cursor: help; color: var(--accent-strong); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); }
.ki-cheat__demo-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
.ki-cheat__demo-ic { flex: none; width: 18px; height: 18px; }
.ki-cheat__demo-label { color: var(--text-muted); }
.ki-cheat__demo-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 5; width: min(340px, 82vw);
  padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition); }
.ki-cheat__demo-pop strong { color: var(--text); }
.ki-cheat__demo:hover .ki-cheat__demo-pop, .ki-cheat__demo:focus-within .ki-cheat__demo-pop { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .ki-cheat__demo-pop { transition: none; } }
.ki-cheat__label { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: var(--space-2); color: var(--text); }
.ki-cheat__row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ki-cheat__field { flex: 1 1 240px; min-width: 0; font-size: 16px; padding: 0.7rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text); font-family: var(--font-sans); }
.ki-cheat__field:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-color: var(--primary); }
.ki-cheat__add { flex: none; }
@media (max-width: 520px) { .ki-cheat__add { width: 100%; } }
.ki-cheat__hint { margin: var(--space-2) 0 0; font-size: var(--fs-small); color: var(--text-muted); }
.ki-cheat__list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ki-cheat__item { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.35rem 0.4rem 0.35rem 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: var(--fs-small); color: var(--text); }
.ki-cheat__remove { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: none; border-radius: 50%; background: var(--bg-subtle); color: var(--text-muted); font-size: 1rem; line-height: 1; cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast); }
.ki-cheat__remove:hover, .ki-cheat__remove:focus-visible { background: var(--warn); color: #fff; outline: none; }
.ki-cheat__actions { margin-top: var(--space-5); }
.ki-cheat__run { margin-top: var(--space-6); }
.ki-cheat__steps { list-style: none; counter-reset: cstep; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ki-cheat__steps li { counter-increment: cstep; position: relative; padding: 0.5rem 0.6rem 0.5rem 2.6rem; border-radius: var(--radius-sm); color: var(--text-muted); font-family: var(--font-hand); font-size: 1.15rem; transition: background var(--transition), color var(--transition); }
.ki-cheat__steps li::before { content: counter(cstep); position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-muted); background: #fff; }
.ki-cheat__steps li.is-active { color: var(--text); background: var(--accent-soft); }
.ki-cheat__steps li.is-done { color: var(--text); }
.ki-cheat__steps li.is-done::before { content: "✓"; border-color: var(--accent); color: #fff; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .ki-cheat__steps li.is-active { animation: ki-cheat-pulse 1.1s ease-in-out infinite; } }
@keyframes ki-cheat-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(234, 122, 37, 0); } 50% { box-shadow: 0 0 0 3px rgba(234, 122, 37, 0.12); } }
.ki-cheat__result { margin-top: var(--space-5); }
.ki-cheat__result-head { font-family: var(--font-display); font-weight: 600; margin: 0 0 var(--space-3); color: var(--text); }
/* Hebel-Legende (qualitativ, keine €/Zeit-Werte) */
.ki-cheat__legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0 0 var(--space-5); }
.ki-cheat__lvl { position: relative; padding-left: 1rem; font-size: var(--fs-small); color: var(--text-muted); }
.ki-cheat__lvl strong { color: var(--text); font-weight: 600; }
.ki-cheat__lvl::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 9px; height: 9px; border-radius: 50%; }
.ki-cheat__lvl--gering::before   { background: var(--primary); opacity: .45; }
.ki-cheat__lvl--relevant::before { background: var(--accent); opacity: .7; }
.ki-cheat__lvl--hoch::before     { background: var(--accent-strong); }
.ki-cheat__cat { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-4); }
.ki-cheat__cat-label { font-weight: 600; color: var(--text); }
.ki-cheat__cat-meta { font-size: var(--fs-small); color: var(--text-muted); }
.ki-cheat__bar { grid-column: 1 / -1; height: 8px; border-radius: var(--radius-pill); background: var(--bg-subtle); overflow: hidden; }
.ki-cheat__bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); }
/* R3 (Kevin): „Einordnung" interaktiver — Balken wachsen beim Reveal (JS setzt --w = Zielbreite;
   CSS-Animation läuft zuverlässig, sobald das Ergebnis sichtbar wird — kein rAF nötig),
   Kategorie-Zeilen reagieren beim Drüberfahren. */
.ki-cheat__bar > i { width: var(--w, 0%); }
@media (prefers-reduced-motion: no-preference) { .ki-cheat__bar > i { animation: kiBarGrow .9s cubic-bezier(.22, .61, .36, 1) both; } }
@keyframes kiBarGrow { from { width: 0; } to { width: var(--w, 0%); } }
.ki-cheat__cat-label { transition: color .18s ease; }
.ki-cheat__cat:hover .ki-cheat__cat-label { color: var(--primary); }
.ki-cheat__cat:hover .ki-cheat__bar > i { filter: brightness(1.06) saturate(1.15); }
.ki-cheat__suggest { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); background: var(--primary-50); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.ki-cheat__suggest p { margin: 0 0 var(--space-4); color: var(--text); }
.ki-cheat__mail { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.ki-cheat__consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--space-4); }
.ki-cheat__consent input { margin-top: 3px; flex: none; }
.ki-cheat__mailbtn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* ---------- 14. 60.000-€-Anker (kariertes Notizblatt, GEGATET via [hidden]) - */
/* Sichtbar erst nach §34d-/UWG-Freigabe (HTML-Attribut `hidden` entfernen). */
.ki-note60 { position: relative; max-width: 640px; margin: var(--space-8) auto 0;
  padding: var(--space-6) var(--space-6) var(--space-5); text-align: left;
  background-color: var(--note-paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(18, 63, 122, 0.08) 25px 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(18, 63, 122, 0.05) 25px 26px);
  border: 1px solid rgba(20, 24, 31, 0.08); border-left: 3px solid var(--accent); border-radius: 4px;
  box-shadow: 0 1px 1px rgba(20, 24, 31, 0.05), 0 16px 30px -18px rgba(20, 24, 31, 0.34);
  transform: rotate(-1deg); }
.ki-note60::before { content: ""; position: absolute; top: -11px; left: 50%; width: 104px; height: 26px;
  transform: translateX(-50%) rotate(-2.5deg);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(255, 255, 255, 0) 2px 6px),
    linear-gradient(180deg, rgba(214, 196, 158, 0.62), rgba(198, 178, 138, 0.54));
  box-shadow: 0 2px 3px rgba(20, 24, 31, 0.12); }
.ki-note60__text { margin: 0; font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.45; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .ki-note60 { transform: none; } }

/* ----------------------------------------------------------------------------
   Header-Brand (T40, Meeting 04.07.): base.css setzt img auf display:block,
   wodurch der Schriftzug unter das Logo rutschte. home.css/holding haben
   denselben Flex-Override; hier ki-scoped nachgezogen (base.css bleibt shared).
   ---------------------------------------------------------------------------- */
.site-header__brand { display: inline-flex; align-items: center; gap: var(--space-2); }
.site-header__brand img { height: 34px; width: auto; display: block; }
