/* Werkstatt-Design: Schwarz und Signalgelb. Schriften selbst gehostet (SIL Open Font License). */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --head-weight: 700;
  --head-spacing: -.03em;
  --head-transform: none;
  --eyebrow-font: var(--font-mono);

  --bg: #0b0c0e;
  --bg-alt: #131518;
  --surface: #1a1c20;
  --line: #2a2d33;
  --ink: #e6e6e1;
  --muted: #9aa0a8;
  --head: #ffffff;
  --accent: #ffcc1f;
  --accent-hover: #ffd84d;
  --accent-ink: #0b0c0e;
  --accent-soft: rgba(255, 204, 31, .12);
  --stripes: repeating-linear-gradient(-45deg, #ffcc1f 0 22px, #f2bf10 22px 44px);
  --tools-opacity: .07;

  --radius: 4px;
  --radius-btn: 4px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); text-transform: var(--head-transform); line-height: 1.1; color: var(--head); margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.hl { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
/* Warnstreifen als Trenner zwischen den Abschnitten */
section + section { position: relative; }
section + section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: var(--stripes); }
.mt { margin-top: 32px; }
.mt-s { margin-top: 22px; }
.center { text-align: center; }
.center-block { margin: 0 auto 40px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 46em; }
.eyebrow { font-family: var(--eyebrow-font); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.eyebrow.flat { margin: 0; }
.eyebrow::before { content: "// "; opacity: .6; }

/* Kopf */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(11, 12, 14, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--head); text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo-bg { fill: var(--accent); }
.logo-check { stroke: var(--accent-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }
/* Link zum zweiten Dienst: als Knopf erkennbar, bleibt auf dem Handy sichtbar */
.nav a.nav-pw { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--accent); border-radius: var(--radius-btn);
  color: var(--accent); font-weight: 600; font-size: .9rem; }
.nav a.nav-pw:hover { background: var(--accent-soft); color: var(--accent); }
.nav a.nav-pw svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .nav a.nav-pw { display: inline-flex; padding: 6px 9px; font-size: .8rem; } }
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .nav a.nav-pw svg { display: none; }
  .nav a.nav-pw, .nav .btn-small { white-space: nowrap; font-size: .78rem; padding: 7px 9px; }
  .logo { font-size: 0; gap: 0; }   /* nur das Logo-Zeichen, damit beide Knöpfe Platz haben */
}
/* Hinweis im Kopfbereich */
.pw-hint { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); text-decoration: none; font-size: .88rem; line-height: 1.4; max-width: 420px; }
.pw-hint:hover { border-color: var(--accent); }
.pw-hint b { display: block; color: var(--head); }
.pw-hint .badge { width: 36px; height: 36px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.pw-hint .badge svg { width: 20px; height: 20px; }
/* Hinweis-Abschnitt vor „Pilot anfragen“ */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; gap: 24px; } }
.teaser-pic { display: block; }
.teaser-pic svg { display: block; width: 100%; height: auto; background: #131518; border: 1px solid var(--line); border-radius: var(--radius); }
.teaser-pic:hover svg { border-color: var(--accent); }
/* Unterseite Produktwissen-Bot */
.page-head { padding-top: 40px; }
.page-head .back { display: inline-block; margin-bottom: 26px; color: var(--muted); text-decoration: none; }
.page-head .back:hover { color: var(--accent); }

.btn { display: inline-block; padding: 14px 24px; border-radius: var(--radius-btn); font-weight: 700; text-decoration: none; border: 2px solid var(--accent); transition: transform .12s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--head); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--head); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.centered { justify-content: center; margin-top: 36px; }

/* Hero mit Werkzeug im Hintergrund */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background:
  linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 32px 32px, var(--bg); }
.hero-tools svg { position: absolute; color: var(--head); opacity: var(--tools-opacity); pointer-events: none; }
.hero-tools .t1 { width: 260px; height: 260px; right: -40px; top: -30px; }
.hero-tools .t2 { width: 200px; height: 200px; left: 38%; bottom: -60px; }
.hero-tools .t3 { width: 180px; height: 180px; left: -50px; top: 40px; }
.hero-tools .t4 { width: 160px; height: 160px; right: 30%; top: -50px; }
.hero-tools .t5 { width: 220px; height: 220px; right: 4%; bottom: -90px; }
.hero-grid { position: relative; display: grid; gap: 36px; }
.hero-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.hero-head h1 { margin: 0; }
.hero-head .actions { margin-top: 0; }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-grid { gap: 40px; }
  .hero-grid .cartoon { order: -1; }
  .hero-head { grid-template-columns: 1fr; }
}
.hero .note { font-size: .9rem; color: var(--muted); margin-top: 16px; }

/* cartoon:start – erzeugt von entwuerfe/figur/build_storyboard.py, nicht von Hand ändern */
/* Cartoon im Kopfbereich: 5 Szenen, 23 s, ohne Ton, in Schleife; Klick auf einen Schritt springt hin (cartoon.js) */
.cartoon { margin: 0; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 22px 24px; }
.cartoon > .lead { grid-column: 1 / -1; grid-row: 2; margin: 0; max-width: none; padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); color: var(--ink); }
.cartoon-stage { align-self: start; }
@media (max-width: 860px) { .cartoon { grid-template-columns: 1fr; gap: 18px; } .cartoon > .lead { grid-row: 3; } .cartoon-steps { grid-row: 2; } }
.cartoon-stage { position: relative; aspect-ratio: 480 / 300; background: #131518; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.cartoon .scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: cx-scene 23s infinite; }
.cartoon .scene [class^="a-"] { transform-box: fill-box; transform-origin: center; animation-duration: 23s; animation-iteration-count: infinite; }
.cartoon .a-fig { animation-name: cx-bob; animation-timing-function: ease-in-out; }
.cartoon .s1 .a-fig { animation-name: none; }
.cartoon .a-swing { animation-name: cx-swing; }
.cartoon .a-spark { animation-name: cx-spark; transform-origin: bottom; }
.cartoon .a-needle { animation-name: cx-needle; transform-box: view-box; transform-origin: 350.5px 50px; }
.cartoon .a-run { animation-name: cx-run; }
.cartoon .a-pop { animation-name: cx-pop; }
.cartoon .a-bubble { animation-name: cx-bubble; transform-origin: left bottom; }
.cartoon .scene .a-bar { animation: cx-bar .9s ease-in-out infinite alternate; }
.cartoon .a-quote { animation-name: cx-quote; }
.cartoon .a-typing { animation-name: cx-typing; }
.cartoon .a-pill { animation-name: cx-pill; }
.cartoon .scene .a-gear { animation: cx-spin 4s linear infinite; }
.cartoon .scene .a-gear.rev { animation-direction: reverse; animation-duration: 3s; }
.cartoon .a-snip.n1 { animation-name: cx-snip1; } .cartoon .a-row.r1 { animation-name: cx-row1; }
.cartoon .a-snip.n2 { animation-name: cx-snip2; } .cartoon .a-row.r2 { animation-name: cx-row2; }
.cartoon .a-snip.n3 { animation-name: cx-snip3; } .cartoon .a-row.r3 { animation-name: cx-row3; }
.cartoon .a-snip.n4 { animation-name: cx-snip4; } .cartoon .a-row.r4 { animation-name: cx-row4; }
.cartoon .a-out { animation-name: cx-out; }
.cartoon .a-doc { animation-name: cx-drop; }
.cartoon .a-sec.q1 { animation-name: cx-sec1; }
.cartoon .a-sec.q2 { animation-name: cx-sec2; }
.cartoon .a-sec.q3 { animation-name: cx-sec3; }
.cartoon .a-sec.q4 { animation-name: cx-sec4; }
.cartoon .a-trail { animation-name: cx-trail; }
.cartoon .a-plane { animation-name: cx-plane; animation-timing-function: ease-in-out; }
.cartoon .a-bubble2 { animation-name: cx-bubble2; transform-origin: right bottom; }
.cartoon .a-pop2 { animation-name: cx-pop2; }
.cartoon .s5 .a-fig { animation-name: none; }
.cartoon .a-jump { animation-name: cx-jump; transform-origin: bottom; }
.cartoon .a-thumb { animation-name: cx-thumb; }
.cartoon .a-star.t0 { animation-name: cx-star0; }
.cartoon .a-star.t1 { animation-name: cx-star1; }
.cartoon .a-star.t2 { animation-name: cx-star2; }
.cartoon .a-star.t3 { animation-name: cx-star3; }
.cartoon .a-star.t4 { animation-name: cx-star4; }
.cartoon .s5 { animation-name: cx-scene-last; }
.cartoon-steps li:nth-child(5) { animation-name: cx-step-last; }
.cartoon .s2, .cartoon .s2 [class^="a-"], .cartoon-steps li:nth-child(2) { animation-delay: 4s; }
.cartoon .s3, .cartoon .s3 [class^="a-"], .cartoon-steps li:nth-child(3) { animation-delay: 8s; }
.cartoon .s4, .cartoon .s4 [class^="a-"], .cartoon-steps li:nth-child(4) { animation-delay: 12s; }
.cartoon .s5, .cartoon .s5 [class^="a-"], .cartoon-steps li:nth-child(5) { animation-delay: 16s; }
/* Kapitelliste: aktueller Schritt mit Warnstreifen-Gelb und schwarzer Schrift */
.cartoon-steps { list-style: none; display: grid; grid-auto-rows: 1fr; gap: 5px; padding: 0; margin: 0; counter-reset: st; }
.cartoon-steps li { position: relative; counter-increment: st; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); animation: cx-step 23s infinite; }
.cartoon-steps li::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--stripes); opacity: 0; animation: cx-step-bg 23s infinite; animation-delay: inherit; }
.cartoon-steps li:nth-child(5)::after { animation-name: cx-step-bg-last; }
.cartoon-steps li:hover { border-color: var(--accent); }
.cartoon-steps button { all: unset; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; width: 100%; height: 100%; padding: 7px 14px; cursor: pointer; }
.cartoon-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.cartoon-steps .st-t { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.cartoon-steps .st-t::before { content: counter(st) " "; }
.cartoon-steps .st-d { margin-top: 2px; font-size: .86rem; line-height: 1.38; }
@keyframes cx-scene { 0% { opacity: 0; } 1.74% { opacity: 1; } 17.39% { opacity: 1; } 19.13% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cx-scene-last { 0% { opacity: 0; } 1.74% { opacity: 1; } 28.7% { opacity: 1; } 30.43% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cx-step { 0% { color: var(--accent-ink); } 17.39% { color: var(--accent-ink); } 19.13% { color: var(--muted); } 100% { color: var(--muted); } }
@keyframes cx-step-last { 0% { color: var(--accent-ink); } 28.7% { color: var(--accent-ink); } 30.43% { color: var(--muted); } 100% { color: var(--muted); } }
@keyframes cx-step-bg { 0% { opacity: 1; } 17.39% { opacity: 1; } 19.13% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cx-step-bg-last { 0% { opacity: 1; } 28.7% { opacity: 1; } 30.43% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cx-jump { 0% { transform: none; } 10.43% { transform: none; } 11.3% { transform: translateY(-14px); } 12.17% { transform: none; } 14.78% { transform: none; } 15.65% { transform: translateY(-10px); } 16.52% { transform: none; } 100% { transform: none; } }
@keyframes cx-thumb { 0% { transform: none; } 11.3% { transform: rotate(-8deg); } 12.39% { transform: rotate(4deg); } 13.48% { transform: rotate(-8deg); } 14.57% { transform: rotate(4deg); } 15.65% { transform: rotate(-8deg); } 16.74% { transform: rotate(4deg); } 17.83% { transform: rotate(-8deg); } 18.91% { transform: rotate(4deg); } 20% { transform: none; } 100% { transform: none; } }
@keyframes cx-star0 { 0% { transform: scale(0); } 13.04% { transform: scale(0); } 14.35% { transform: scale(1.2); } 15.22% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-star1 { 0% { transform: scale(0); } 14.13% { transform: scale(0); } 15.43% { transform: scale(1.2); } 16.3% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-star2 { 0% { transform: scale(0); } 15.22% { transform: scale(0); } 16.52% { transform: scale(1.2); } 17.39% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-star3 { 0% { transform: scale(0); } 16.3% { transform: scale(0); } 17.61% { transform: scale(1.2); } 18.48% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-star4 { 0% { transform: scale(0); } 17.39% { transform: scale(0); } 18.7% { transform: scale(1.2); } 19.57% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-bob { 0% { transform: none; } 1.74% { transform: translateY(-3px); } 3.48% { transform: none; } 5.22% { transform: translateY(-3px); } 6.96% { transform: none; } 8.7% { transform: translateY(-3px); } 10.43% { transform: none; } 12.17% { transform: translateY(-3px); } 13.91% { transform: none; } 15.65% { transform: translateY(-3px); } 17.39% { transform: none; } 100% { transform: none; } }
@keyframes cx-swing { 0% { transform: rotate(-55deg); } 0.87% { transform: rotate(-55deg); animation-timing-function: ease-in; } 2.09% { transform: rotate(0deg); } 2.78% { transform: rotate(-55deg); animation-timing-function: ease-in; } 4% { transform: rotate(0deg); } 4.7% { transform: rotate(-55deg); animation-timing-function: ease-in; } 5.91% { transform: rotate(0deg); } 6.61% { transform: rotate(-55deg); animation-timing-function: ease-in; } 7.83% { transform: rotate(0deg); } 8.52% { transform: rotate(-55deg); animation-timing-function: ease-in; } 9.74% { transform: rotate(0deg); } 10.87% { transform: rotate(0deg); } 12.61% { transform: rotate(55deg); } 100% { transform: rotate(55deg); } }
@keyframes cx-spark { 0% { opacity: 0; } 2.04% { opacity: 0; } 2.13% { opacity: 1; } 2.7% { opacity: 0; } 3.96% { opacity: 0; } 4.04% { opacity: 1; } 4.61% { opacity: 0; } 5.87% { opacity: 0; } 5.96% { opacity: 1; } 6.52% { opacity: 0; } 7.78% { opacity: 0; } 7.87% { opacity: 1; } 8.43% { opacity: 0; } 9.7% { opacity: 0; } 9.78% { opacity: 1; } 10.35% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cx-needle { 0% { transform: rotate(-65deg); } 11.3% { transform: rotate(-65deg); } 13.04% { transform: rotate(62deg); } 13.91% { transform: rotate(48deg); } 100% { transform: rotate(48deg); } }
@keyframes cx-run { 0% { opacity: 0; } 13.04% { opacity: 0; } 13.91% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-pop { 0% { transform: scale(0); } 13.04% { transform: scale(0); } 14.35% { transform: scale(1.2); } 15.22% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes cx-bubble { 0% { opacity: 0; transform: scale(.5); } 2.17% { opacity: 0; transform: scale(.5); } 4.78% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes cx-quote { 0% { opacity: 0; transform: translateY(10px); } 6.52% { opacity: 0; transform: translateY(10px); } 8.7% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-typing { 0% { opacity: 0; } 11.3% { opacity: 0; } 12.61% { opacity: 1; } 13.91% { opacity: .35; } 15.22% { opacity: 1; } 16.52% { opacity: .35; } 17.39% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-pill { 0% { opacity: 0; transform: translateY(-8px); } 0.87% { opacity: 0; transform: translateY(-8px); } 2.61% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-spin { to { transform: rotate(360deg); } }
@keyframes cx-snip1 { 0% { opacity: 0; transform: translateX(-36px); } 1.3% { opacity: 0; transform: translateX(-36px); } 3.39% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-snip2 { 0% { opacity: 0; transform: translateX(-36px); } 3.39% { opacity: 0; transform: translateX(-36px); } 5.48% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-snip3 { 0% { opacity: 0; transform: translateX(-36px); } 5.48% { opacity: 0; transform: translateX(-36px); } 7.57% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-snip4 { 0% { opacity: 0; transform: translateX(-36px); } 7.57% { opacity: 0; transform: translateX(-36px); } 9.65% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-row1 { 0% { opacity: .3; } 3.91% { opacity: .3; } 4.35% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-row2 { 0% { opacity: .3; } 6% { opacity: .3; } 6.43% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-row3 { 0% { opacity: .3; } 8.09% { opacity: .3; } 8.52% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-row4 { 0% { opacity: .3; } 10.17% { opacity: .3; } 10.61% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-out { 0% { opacity: 0; transform: translateX(-16px); } 11.3% { opacity: 0; transform: translateX(-16px); } 13.48% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-drop { 0% { opacity: 0; transform: translateY(-30px); } 0% { opacity: 0; transform: translateY(-30px); } 3.04% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-sec1 { 0% { opacity: 0; } 3.04% { opacity: 0; } 4.57% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-sec2 { 0% { opacity: 0; } 5% { opacity: 0; } 6.52% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-sec3 { 0% { opacity: 0; } 6.96% { opacity: 0; } 8.48% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-sec4 { 0% { opacity: 0; } 8.91% { opacity: 0; } 10.43% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-trail { 0% { opacity: 0; } 1.3% { opacity: 0; } 3.04% { opacity: 1; } 100% { opacity: 1; } }
@keyframes cx-plane { 0% { opacity: 0; transform: none; } 1.74% { opacity: 1; transform: none; } 5.22% { opacity: 1; transform: translate(80px, -62px) rotate(-10deg); } 8.7% { opacity: 1; transform: translate(170px, -26px) rotate(25deg); } 9.57% { opacity: 0; transform: translate(178px, -20px) rotate(25deg) scale(.4); } 100% { opacity: 0; transform: translate(178px, -20px) rotate(25deg) scale(.4); } }
@keyframes cx-bubble2 { 0% { opacity: 0; transform: scale(.5); } 9.57% { opacity: 0; transform: scale(.5); } 11.74% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes cx-pop2 { 0% { transform: scale(0); } 11.3% { transform: scale(0); } 12.61% { transform: scale(1.2); } 13.48% { transform: scale(1); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .cartoon-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
  .cartoon .scene { position: static; height: auto; opacity: 1; background: #131518; }
  .cartoon-stage *, .cartoon .scene, .cartoon-steps li, .cartoon-steps li::after { animation: none !important; }
  .cartoon-steps li { color: var(--ink); }
}
/* cartoon:end */
/* wissen:start – erzeugt von entwuerfe/figur/build_wissen.py, nicht von Hand ändern */
/* Cartoon Produktwissen-Bot: 5 Szenen, 23 s; nutzt Layout und Figur des Cartoons im Kopfbereich */
.cartoon.wissen .scene { animation-name: wx-scene; }
.cartoon.wissen .s4 { animation-name: wx-scene-long; }
.cartoon.wissen .s5 { animation-name: wx-scene-last; }
.cartoon.wissen .scene [class^="b-"] { transform-box: fill-box; transform-origin: center; animation-duration: 23s; animation-iteration-count: infinite; }
.cartoon.wissen .s2, .cartoon.wissen .s2 [class^="b-"], .wissen .cartoon-steps li:nth-child(2) { animation-delay: 4s; }
.cartoon.wissen .s3, .cartoon.wissen .s3 [class^="b-"], .wissen .cartoon-steps li:nth-child(3) { animation-delay: 8s; }
.cartoon.wissen .s4, .cartoon.wissen .s4 [class^="b-"], .wissen .cartoon-steps li:nth-child(4) { animation-delay: 12s; }
.cartoon.wissen .s5, .cartoon.wissen .s5 [class^="b-"], .wissen .cartoon-steps li:nth-child(5) { animation-delay: 18s; }
.wissen .cartoon-steps li { animation-name: wx-step; }
.wissen .cartoon-steps li:nth-child(4) { animation-name: wx-step-long; }
.wissen .cartoon-steps li:nth-child(5) { animation-name: wx-step-last; }
.wissen .cartoon-steps li::after { animation-name: wx-step-bg; }
.wissen .cartoon-steps li:nth-child(4)::after { animation-name: wx-step-bg-long; }
.wissen .cartoon-steps li:nth-child(5)::after { animation-name: wx-step-bg-last; }
.cartoon.wissen .b-fig { animation-name: wx-bob; animation-timing-function: ease-in-out; }
.cartoon.wissen .b-blink, .cartoon.wissen .b-flash { animation-name: wx-blink; }
.cartoon.wissen .b-pop { animation-name: wx-pop; }
.cartoon.wissen .s1 .b-pop { animation-name: wx-q; }
.cartoon.wissen .b-photo { animation-name: wx-photo; transform-origin: right bottom; }
.cartoon.wissen .b-ask { animation-name: wx-ask; transform-origin: right bottom; }
.cartoon.wissen .b-typing { animation-name: wx-typing; }
.cartoon.wissen .scene .b-gear { animation: cx-spin 4s linear infinite; }
.cartoon.wissen .scene .b-gear.rev { animation-direction: reverse; animation-duration: 3s; }
.cartoon.wissen .b-chk.c1 { animation-name: wx-chk1; }
.cartoon.wissen .b-chk.c2 { animation-name: wx-chk2; }
.cartoon.wissen .b-chk.c3 { animation-name: wx-chk3; }
.cartoon.wissen .b-loupe { animation-name: wx-loupe; animation-timing-function: ease-in-out; }
.cartoon.wissen .b-hit { animation-name: wx-hit; }
.cartoon.wissen .b-pill { animation-name: wx-pill; }
.cartoon.wissen .b-answer { animation-name: wx-answer; }
.cartoon.wissen .b-part { animation-name: wx-part; }
.cartoon.wissen .b-src { animation-name: wx-src; }
.cartoon.wissen .b-safe { animation-name: wx-safe; }
.cartoon.wissen .b-st.n1 { animation-name: wx-st1; }
.cartoon.wissen .b-st.n2 { animation-name: wx-st2; }
.cartoon.wissen .b-st.n3 { animation-name: wx-st3; }
.cartoon.wissen .b-st.n4 { animation-name: wx-st4; }

.cartoon.wissen .b-run { animation-name: wx-run; }
.cartoon.wissen .b-pop2 { animation-name: wx-pop2; }
@keyframes wx-scene { 0% { opacity: 0; } 1.74% { opacity: 1; } 17.39% { opacity: 1; } 19.13% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-scene-long { 0% { opacity: 0; } 1.74% { opacity: 1; } 26.09% { opacity: 1; } 27.83% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-scene-last { 0% { opacity: 0; } 1.74% { opacity: 1; } 20% { opacity: 1; } 21.74% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-step { 0% { color: var(--accent-ink); } 17.39% { color: var(--accent-ink); } 19.13% { color: var(--muted); } 100% { color: var(--muted); } }
@keyframes wx-step-long { 0% { color: var(--accent-ink); } 26.09% { color: var(--accent-ink); } 27.83% { color: var(--muted); } 100% { color: var(--muted); } }
@keyframes wx-step-last { 0% { color: var(--accent-ink); } 20% { color: var(--accent-ink); } 21.74% { color: var(--muted); } 100% { color: var(--muted); } }
@keyframes wx-step-bg { 0% { opacity: 1; } 17.39% { opacity: 1; } 19.13% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-step-bg-long { 0% { opacity: 1; } 26.09% { opacity: 1; } 27.83% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-step-bg-last { 0% { opacity: 1; } 20% { opacity: 1; } 21.74% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wx-bob { 0% { transform: none; } 1.74% { transform: translateY(-3px); } 3.48% { transform: none; } 5.22% { transform: translateY(-3px); } 6.96% { transform: none; } 8.7% { transform: translateY(-3px); } 10.43% { transform: none; } 12.17% { transform: translateY(-3px); } 13.91% { transform: none; } 15.65% { transform: translateY(-3px); } 17.39% { transform: none; } 100% { transform: none; } }
@keyframes wx-blink { 0% { opacity: 1; } 1.09% { opacity: .15; } 2.17% { opacity: 1; } 3.26% { opacity: .15; } 4.35% { opacity: 1; } 5.43% { opacity: .15; } 6.52% { opacity: 1; } 7.61% { opacity: .15; } 8.7% { opacity: 1; } 9.78% { opacity: .15; } 10.87% { opacity: 1; } 11.96% { opacity: .15; } 13.04% { opacity: 1; } 14.13% { opacity: .15; } 15.22% { opacity: 1; } 16.3% { opacity: .15; } 17.39% { opacity: 1; } 100% { opacity: 1; } }
@keyframes wx-q { 0% { transform: scale(0); } 2.17% { transform: scale(0); } 3.48% { transform: scale(1.2); } 4.35% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-pop { 0% { transform: scale(0); } 3.48% { transform: scale(0); } 4.78% { transform: scale(1.2); } 5.65% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-pop2 { 0% { transform: scale(0); } 1.74% { transform: scale(0); } 3.04% { transform: scale(1.2); } 3.91% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-photo { 0% { opacity: 0; transform: scale(.6); } 1.74% { opacity: 0; transform: scale(.6); } 3.48% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-ask { 0% { opacity: 0; transform: scale(.6); } 5.22% { opacity: 0; transform: scale(.6); } 6.96% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-typing { 0% { opacity: 0; } 8.7% { opacity: 0; } 10% { opacity: 1; } 11.74% { opacity: .3; } 13.48% { opacity: 1; } 15.22% { opacity: .3; } 16.96% { opacity: 1; } 100% { opacity: 1; } }
@keyframes wx-chk1 { 0% { transform: scale(0); } 4.78% { transform: scale(0); } 6.09% { transform: scale(1.2); } 6.96% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-chk2 { 0% { transform: scale(0); } 7.39% { transform: scale(0); } 8.7% { transform: scale(1.2); } 9.57% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-chk3 { 0% { transform: scale(0); } 10% { transform: scale(0); } 11.3% { transform: scale(1.2); } 12.17% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes wx-loupe { 0% { opacity: 1; transform: none; } 3.91% { opacity: 1; transform: none; } 6.09% { opacity: 1; transform: translate(0, 32px); } 8.7% { opacity: 1; transform: translate(0, 64px); } 10.87% { opacity: 1; transform: translate(-30px, 104px); } 11.74% { opacity: 0; transform: translate(-30px, 104px); } 100% { opacity: 0; transform: translate(-30px, 104px); } }
@keyframes wx-hit { 0% { opacity: 0; transform: scale(.8); } 11.3% { opacity: 0; transform: scale(.8); } 13.04% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-pill { 0% { opacity: 0; } 1.3% { opacity: 0; } 3.04% { opacity: 1; } 100% { opacity: 1; } }
@keyframes wx-answer { 0% { opacity: 0; transform: translateY(14px); } 1.3% { opacity: 0; transform: translateY(14px); } 3.48% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-st1 { 0% { opacity: 0; transform: translateX(-10px); } 4.78% { opacity: 0; transform: translateX(-10px); } 6.09% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-st2 { 0% { opacity: 0; transform: translateX(-10px); } 6.96% { opacity: 0; transform: translateX(-10px); } 8.26% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-st3 { 0% { opacity: 0; transform: translateX(-10px); } 9.13% { opacity: 0; transform: translateX(-10px); } 10.43% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-st4 { 0% { opacity: 0; transform: translateX(-10px); } 11.3% { opacity: 0; transform: translateX(-10px); } 12.61% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-safe { 0% { opacity: 0; transform: scale(.85); } 5.65% { opacity: 0; transform: scale(.85); } 7.39% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-part { 0% { opacity: 0; transform: none; } 13.91% { opacity: 0; transform: none; } 15.22% { opacity: 1; transform: scale(1.06); } 16.52% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes wx-src { 0% { opacity: 0; } 16.96% { opacity: 0; } 18.7% { opacity: 1; } 100% { opacity: 1; } }
@keyframes wx-run { 0% { opacity: 0; } 0.87% { opacity: 0; } 2.17% { opacity: 1; } 100% { opacity: 1; } }
/* wissen:end */

/* Werkzeugband */
.toolband { background: var(--stripes); color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; }
.toolband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.toolband span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.toolband svg { width: 30px; height: 30px; }
.toolband .last { font-weight: 800; }
@media (max-width: 860px) { .toolband .wrap { justify-content: flex-start; } }

/* Raster und Karten */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card { overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 14px; margin: -28px -28px 22px; padding: 18px 28px; background: var(--accent); color: var(--accent-ink); }
.card-head h3 { color: var(--accent-ink); margin: 0; }
.card-head .ico { color: var(--accent-ink); flex: none; margin: 0; }
.card-head .ico.big { width: 38px; height: 38px; }
.card-head .ico:last-child { margin-left: auto; }
.card-head .step-no { background: var(--accent-ink); color: var(--accent); flex: none; }
.step-no { width: 42px; height: 42px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-weight: 800; display: grid; place-items: center; }
.ico { width: 34px; height: 34px; color: var(--accent); }
.ico.big { width: 44px; height: 44px; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.hero-grid > *, .split > *, .grid > * { min-width: 0; }

/* Aufzählung mit Schraubenkopf */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.features li { padding-left: 36px; position: relative; color: var(--muted); }
.features li b { color: var(--head); }
.features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.features li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 10px; height: 10px;
  background: linear-gradient(var(--accent-ink), var(--accent-ink)) center / 10px 2px no-repeat, linear-gradient(var(--accent-ink), var(--accent-ink)) center / 2px 10px no-repeat; }

.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.product-head .badge { width: 58px; height: 58px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.product-head .badge svg { width: 30px; height: 30px; }
.product-head h2 { margin: 0; }

.tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); vertical-align: 2px; margin-left: 4px; }
.planned { margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: var(--radius); font-size: .95rem; }
.planned ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }

.answer { font-family: var(--font-mono); font-size: .84rem; line-height: 1.6; white-space: pre-wrap; background: #000; color: #e6e6e1; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0; overflow-x: auto; }
.answer .q { color: var(--accent); }
.answer .src { color: #8fd19e; }
.caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Beispielbericht: weisses Blatt auf der Werkbank */
.paper { background: #fff; color: #222; border-radius: 3px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); padding: 46px 50px; max-width: 760px; margin: 0 auto; font-size: .95rem; }
@media (max-width: 600px) { .paper { padding: 26px 20px; } }
.paper h3 { font-family: Arial, sans-serif; font-size: 1.45rem; letter-spacing: 0; text-transform: none; color: #451e14; margin-bottom: .2em; }
.paper h4 { color: #451e14; font-size: 1.02rem; margin: 1.5em 0 .4em; }
.paper .date { font-style: italic; color: #666; }
.paper ol { margin: 0; padding-left: 22px; }
.paper .times p { margin: 0; }
.paper .full { color: #555; }
.paper .foot { margin-top: 2em; padding-top: 10px; border-top: 1px solid #eee; font-style: italic; font-size: .75rem; color: #451e14; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; color: var(--head); list-style: none; position: relative; padding-right: 30px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: -3px; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Pilot */
.cta-box { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 52px; }
.cta-box ul { padding-left: 20px; color: var(--muted); }
.cta-box .split { position: relative; }
.cta-tool { position: absolute; width: 320px; height: 320px; right: -60px; bottom: -80px; color: var(--accent); opacity: .06; }
@media (max-width: 600px) { .cta-box { padding: 30px 22px; } }

footer { padding: 56px 0 36px; font-size: .9rem; color: var(--muted); background: var(--stripes) top / 100% 20px no-repeat, #000; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Rechtstexte */
.legal { max-width: 760px; padding: 56px 20px 72px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal .back { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.legal address { font-style: normal; }
