/* Workflow-Board „Vom Entwurf bis in jeden Kanal“ – Baustein aus chantelau/css/workflow.css (ki-grundlagen.html #workflow),
   eingebaut in innovation.html. Alles ist mit .wf- vorangestellt und stört den Rest der Seite nicht. Läuft offline, keine Bibliotheken.
   Das Board ist auf eine feste Bühne von 1280 x 640 px gebaut und wird per JS auf die Breite skaliert. */

.wf { --wf-papier: #f3f2ee; --wf-karte: #ffffff; --wf-linie: #e3e1da; --wf-tinte: #1d1f24; --wf-grau: #8b8e96;
  --wf-panel: #1b1d2e; --wf-panel-2: #26293d; --wf-orange: #e2703a; --wf-violett: #7d6cf2; --wf-blau: #2f8cf0;
  --wf-tuerkis: #1f8f84; --wf-gruen: #2f9b5b; --wf-grund: #2c2e33;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wf-rahmen { position: relative; width: 100%; aspect-ratio: 1280 / 640; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(255 255 255 / 0.08); background: var(--wf-grund); }
.wf-buehne { position: absolute; left: 0; top: 0; width: 1280px; height: 640px; transform-origin: 0 0;
  transform: scale(var(--wf-s, 1)); color: var(--wf-tinte);
  background-color: var(--wf-grund); }
/* Hintergrund unter der Leiste: dunkelgrau, Punktraster wandert langsam nach oben rechts.
   Feste Keyframe-Werte (eine Rasterweite), damit es nahtlos läuft und Firefox mitspielt. */
.wf-buehne::before { content: ""; position: absolute; inset: 44px 0 0 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.16) 1.1px, transparent 1.4px); background-size: 16px 16px;
  animation: wf-raster 2.4s linear infinite; }
@keyframes wf-raster { from { background-position: 0 0; } to { background-position: 16px -16px; } }
.wf-buehne * { box-sizing: border-box; }

/* Werkzeugleiste oben */
.wf-leiste { position: absolute; inset: 0 0 auto 0; height: 44px; background: #fff; border-bottom: 1px solid var(--wf-linie);
  display: flex; align-items: center; padding: 0 16px; gap: 10px; font-size: 13px; }
.wf-leiste .wf-logo { width: 24px; height: 24px; display: grid; place-items: center; }
.wf-leiste .wf-logo svg { width: 24px; height: 24px; display: block; }
.wf-leiste .wf-pfad { color: var(--wf-grau); } .wf-leiste .wf-pfad b { color: var(--wf-tinte); font-weight: 600; }
.wf-werkzeuge { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; }
/* KI-Kennzeichen der Seite: rechts neben dem blauen Zeiger (ersetzt das EU-Icon unten links) */
.wf-ki-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--wf-tinte); }
.wf-werkzeuge i { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #555; }
.wf-werkzeuge i.an { background: var(--wf-blau); color: #fff; }
.wf-werkzeuge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wf-fenster { margin: 0 -16px 0 auto; display: flex; height: 44px; align-self: stretch; }
.wf-fenster i { width: 46px; display: grid; place-items: center; color: #333; }
.wf-fenster svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; shape-rendering: crispEdges; }

/* Spalten */
.wf-spalte { position: absolute; top: 64px; height: 556px; border-radius: 14px; overflow: hidden; }
.wf-entwurf { left: 20px; width: 230px; background: #ecebe7; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35); --wf-kopf: #c9c6bd; }
.wf-ki { left: 300px; width: 380px; background: var(--wf-panel); color: #e9e9f4; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1); --wf-kopf: #10111c; }
.wf-kanaele { left: 740px; width: 520px; background: #ecebe7; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35); --wf-kopf: #c9c6bd; }
/* Kopf-Banner: dieselbe Farbe dunkler, Titel mittig; die Spalte klappt darunter in voller Breite mit runden Ecken aus */
.wf-titel { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wf-kopf); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #3d3f46; }
.wf-ki .wf-titel { color: #d4d4ea; }
.wf-ki .wf-titel::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: linear-gradient(135deg, var(--wf-violett), var(--wf-orange)); }

/* Inhalt jeder Spalte: unter dem Banner, senkrecht mittig, gleicher Abstand nach oben und unten */
.wf-inhalt { position: absolute; left: 0; right: 0; top: 26px; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.wf-entwurf .wf-inhalt { padding: 0 12px; gap: 12px; }
.wf-ki .wf-inhalt { flex-direction: row; align-items: center; padding: 0 12px 0 16px; gap: 36px; }
.wf-ki-stapel { width: 204px; display: flex; flex-direction: column; gap: 16px; }
.wf-ki .wf-layout { width: 112px; }
.wf-kanaele .wf-inhalt { display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; align-items: start; gap: 18px 12px; padding: 0 16px; }
.wf-mood { height: 132px; } .wf-skizze { height: 112px; } .wf-daten { height: 118px; } .wf-shoot { height: 112px; }
/* Obere Reihe: nur Bilder, ohne weiße Flächen, alle auf der Mittellinie des höchsten Bildes (Social 9:16) */
.wf-shop, .wf-sozial, .wf-pos, .wf-news { align-self: center; }
.wf-shop img { aspect-ratio: 4 / 5; } .wf-sozial img { aspect-ratio: 9 / 16; } .wf-pos img { aspect-ratio: 1 / 1.414; } .wf-news img { aspect-ratio: 3 / 4; }
.wf-shop .bild, .wf-sozial .bild, .wf-pos .bild, .wf-news .bild { position: relative; background: none; box-shadow: 0 2px 8px rgb(0 0 0 / 0.16); }
.wf-format { position: absolute; left: 6px; bottom: 6px; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; color: #fff; background: rgb(20 20 24 / 0.62); border-radius: 99px; padding: 3px 6px; }
/* zweite Reihe: nur Website und Kundenkontakt, mittig */
/* zweite Reihe: Website und Kundenkontakt teilen sich die ganze Breite, gleich hoch */
.wf-web { grid-column: 1 / span 2; } .wf-chat { grid-column: 3 / span 2; }
.wf-web .bild, .wf-chat .bild { height: 160px; }
/* Website als Mini-Seite: Navigation, links Headline und Knopf, rechts das Bild */
.wf-web .bild { display: flex; flex-direction: column; }
.wf-web-nav { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-bottom: 1px solid var(--wf-linie); flex: none; }
.wf-web-nav .wf-marke { font: 700 10px/1 Georgia, serif; letter-spacing: 0.18em; margin-right: auto; }
.wf-web-nav i { width: 16px; height: 3px; border-radius: 2px; background: #cfcdc6; }
.wf-web-held { flex: 1; display: flex; min-height: 0; }
.wf-web-text { width: 46%; background: #f4f0e8; padding: 12px 10px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.wf-web-text b { font: 400 13px/1.15 Georgia, serif; color: var(--wf-tinte); }
.wf-web-knopf { align-self: flex-start; font-size: 8.5px; font-weight: 600; color: #fff; background: var(--wf-tinte); border-radius: 3px; padding: 4px 8px; }
.wf-web-held img { flex: 1; width: auto; min-width: 0; height: 100%; object-position: 50% 40%; }
.wf-partner { grid-column: 1 / -1; }

/* Überfahren: oranger Rahmen um die Box, Banner blitzt kurz auf und zeigt ihren Namen in Orange */
.wf-buehne [data-name] { outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.15s; cursor: default; }
.wf-buehne [data-name]:hover, .wf-buehne [data-name].wf-an { outline-color: var(--wf-orange); }
.wf-kanal[data-name] { outline-offset: 2px; }
.wf-titel.wf-teil, .wf-ki .wf-titel.wf-teil { background: var(--wf-orange); color: #000; font-size: 15px; font-weight: 800; letter-spacing: 0.1em; }
.wf-ki .wf-titel.wf-teil::before { display: none; }
.wf-titel.wf-blitz { animation: wf-blitz 0.4s ease-out; }
@keyframes wf-blitz { 0% { background: #fff; color: transparent; } 35% { background: #ffd2b5; } }

/* Karten links */
.wf-karte { position: relative; background: var(--wf-karte); border-radius: 8px; box-shadow: 0 1px 3px rgb(0 0 0 / 0.08), 0 0 0 1px var(--wf-linie); }
/* Moodboard: Fashion-Raster aus sechs Looks, rechts die Farbpalette */
.wf-mood { display: flex; gap: 8px; padding: 8px; align-items: stretch; }
.wf-mood .wf-raster { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 4px; }
.wf-mood .wf-raster img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 3px; display: block; }
.wf-farben { display: grid; gap: 4px; align-content: center; }
.wf-farben i { width: 12px; height: 12px; border-radius: 50%; }
.wf-skizze { overflow: hidden; }
.wf-skizze img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
/* Produktdaten: Mini-Datenblatt mit echten Feldern, Barcode klein darunter */
.wf-daten { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.wf-daten-titel { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #2d3a6b; border-bottom: 1px solid var(--wf-linie); padding-bottom: 3px; }
.wf-daten dl { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; margin: 0; font-size: 10px; line-height: 1.3; }
.wf-daten dt { color: var(--wf-grau); } .wf-daten dd { margin: 0; font-weight: 600; text-align: right; }
.wf-daten .code { height: 12px; width: 70px; margin-top: auto; background: repeating-linear-gradient(90deg, #222 0 1px, transparent 1px 3px, #222 3px 5px, transparent 5px 6px, #222 6px 7px, transparent 7px 10px); }
.wf-shoot { overflow: hidden; }
.wf-shoot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.wf-shoot::before, .wf-shoot::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid #fff; }
.wf-shoot::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; } .wf-shoot::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }

/* Knoten im KI-Panel */
.wf-knoten { position: relative; background: var(--wf-panel-2); border-radius: 8px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06); padding: 10px; }
/* Bild-KI: Stoff-Close-ups Kaktusleder (Salbei, Oliv, Sand, Hellbraun) */
.wf-muster { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.wf-muster img { display: block; width: 100%; height: 62px; object-fit: cover; border-radius: 3px; }
.wf-varianten { display: flex; gap: 4px; margin-top: 6px; }
.wf-varianten b { flex: 1; text-align: center; font-size: 9px; color: #b9b9d2; background: #1b1d2e; border-radius: 3px; padding: 3px 0; font-weight: 600; }
/* Text-KI: bunte Konnektor-Chips und darunter ein Mini-Produktdatenblatt */
.wf-konnektoren { display: flex; gap: 4px; margin-bottom: 7px; }
.wf-konnektoren b { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; color: #fff; border-radius: 99px; padding: 3px 7px 3px 5px; white-space: nowrap; }
.wf-konnektoren b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.3); }
.wf-konnektoren .k-text { background: var(--wf-violett); } .wf-konnektoren .k-uebers { background: var(--wf-blau); } .wf-konnektoren .k-daten { background: var(--wf-gruen); }
.wf-blatt { background: #fff; color: var(--wf-tinte); border-radius: 5px; padding: 6px 8px 7px; }
.wf-blatt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--wf-linie); padding-bottom: 4px; margin-bottom: 4px; }
.wf-blatt-kopf b { font-size: 10.5px; font-weight: 700; } .wf-blatt-kopf span { font-size: 8px; color: var(--wf-grau); letter-spacing: 0.04em; }
.wf-blatt dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: 9.5px; line-height: 1.25; }
.wf-blatt dt { color: var(--wf-grau); } .wf-blatt dd { margin: 0; font-weight: 600; text-align: right; }
/* 3D-Kachel: Drehteller-Render aus Blender (Video), bei reduzierter Bewegung nur das Standbild von vorn */
/* Mantel steht mittig im 16:9-Bild, viel Rand links und rechts: hochkant-näher zuschneiden und leicht zoomen.
   Grund #1e211d wie im MP4, damit WebM (mit Alpha) und MP4 gleich aussehen */
.wf-3d { padding: 6px; }
.wf-3d video { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wf-3d video.wf-zieht { cursor: grabbing; }
.wf-3d video, .wf-3d img { display: block; width: 100%; height: 132px; object-fit: cover; object-position: 50% 50%; border-radius: 4px; background: #1e211d; }
.wf-3d .wf-drehteller-still { display: none; }
.wf-layout { background: #fff; color: var(--wf-tinte); padding: 8px; }
.wf-layout img { width: 100%; height: 96px; object-fit: cover; border-radius: 3px; }
.wf-layout .z { height: 5px; background: #e5e4df; border-radius: 3px; margin-top: 6px; } .wf-layout .z.k { width: 60%; }

/* Kanäle rechts */
.wf-kanal { position: relative; border-radius: 6px; }
.wf-kanal .bild { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 0 0 1px var(--wf-linie); }
.wf-kanal img { display: block; width: 100%; object-fit: cover; }
.wf-kanal .z { height: 5px; margin: 6px 8px 0; background: #e5e4df; border-radius: 3px; } .wf-kanal .z.k { width: 50%; }
.wf-kanal .wf-knopf { margin: 6px 8px 8px; height: 10px; width: 50%; background: var(--wf-tinte); border-radius: 3px; }
.wf-partner .wf-marke { font: 400 11px/1 Georgia, serif; letter-spacing: 0.18em; color: var(--wf-tinte); margin-top: 6px; display: block; text-align: center; }
/* Kundenkontakt: Bild links, Chat-Verlauf rechts */
.wf-chat .bild { padding: 8px; display: flex; gap: 8px; align-items: stretch; }
.wf-chat img { width: 92px; height: 100%; border-radius: 6px; flex: none; }
.wf-blasen { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.wf-chat .blase { align-self: flex-start; max-width: 100%; font-size: 9.5px; line-height: 1.2; padding: 4px 8px; border-radius: 9px 9px 9px 3px; background: #eceae4; color: var(--wf-tinte); white-space: nowrap; }
.wf-chat .blase.ich { align-self: flex-end; background: var(--wf-blau); color: #fff; border-radius: 9px 9px 3px 9px; }
.wf-partner .bild { display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 10px 0 0; }
.wf-partner img { width: 120px; height: 66px; flex: none; }
.wf-partner .wf-marke { margin: 0; font-weight: 700; font-size: 13px; text-align: left; }
.wf-partner-text { display: grid; gap: 5px; }
.wf-partner-zeile { font-size: 9.5px; color: var(--wf-grau); letter-spacing: 0.02em; white-space: nowrap; }
.wf-partner .cta { margin-left: auto; padding: 6px 14px; border-radius: 4px; background: var(--wf-orange); color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; }

/* Leitungen */
.wf-leitungen { position: absolute; inset: 0; width: 1280px; height: 640px; pointer-events: none; overflow: visible; }
/* Gepunktet: Strich der Länge 0 mit runder Kappe = Punkt. Die Punkte wandern Richtung Ziel.
   Feste Keyframe-Werte statt calc() mit Variablen, sonst bleibt Firefox stehen. */
.wf-leitungen path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 9; animation: wf-fluss 0.6s linear infinite; }
.wf-leitungen .o { stroke: var(--wf-orange); } .wf-leitungen .v { stroke: var(--wf-violett); } .wf-leitungen .b { stroke: var(--wf-blau); stroke-width: 4; }
.wf-leitungen circle { fill: #fff; stroke-width: 2; }
@keyframes wf-fluss { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -9; } }

/* Unterzeile: NOPAL-Fassung (Fraunces, fette Stellen, ab 900 px einzeilig, darunter zweizeilig) */
.wf-unterzeile { text-align: center; margin: 18px 0 0; font: 400 clamp(1.4rem, 2.6vw, 2.3rem)/1.25 var(--serif, Georgia, serif); color: inherit; }
.wf-unterzeile b { font-weight: 700; }
.wf-unterzeile em { font-style: italic; opacity: 0.85; }
@media (min-width: 900px) { .wf-unterzeile { white-space: nowrap; } }
@media (max-width: 899px) { .wf-unterzeile em { display: block; } }

/* Keine Pause beim Überfahren: Punkte, Raster und Drehteller laufen immer. Den Mantel kann man per Ziehen drehen (workflow.js). */
@media (prefers-reduced-motion: reduce) {
  .wf-buehne *, .wf-buehne::before { animation: none !important; }
  .wf-3d .wf-drehteller { display: none; } .wf-3d .wf-drehteller-still { display: block; }
}

/* ===== Einbau in NOPAL (innovation.html, Abschnitt .rad-buehne) =====
   Umbenannt gegenüber chantelau, weil style.css die Namen schon global nutzt (wie früher kopf → dkopf):
   .kopf → .dkopf (Kopfleiste der Seite), .marke → .wf-marke (Logo), .knopf → .wf-knopf (Knöpfe).
   .sheet/.sheet-dark aus chantelau/css/style.css sind hier nicht nötig: .rad-buehne liefert schon den dunklen Grund und die helle Schrift,
   Kicker und Lead behalten ihre NOPAL-Farben. Das Überlappen von .sheet (margin-top: -2.5rem, runde Ecken oben) würde den Wellen-Übergang verdecken. */
/* Abschnitt „Unser Ansatz“: Überschrift als fester Zweizeiler */
#kette-titel > span { display: block; }

/* ===== Vergleich „Was das für die Mode bedeutet“ (Grundregeln .vg-* in style.css, hier nur überschrieben/ergänzt) ===== */
/* Kachel mit feinem Doppelrahmen: außen Tinte zart, innen Kaktusgrün; kurzer Strich in Rost unter der Überschrift */
.vg-kachel { position: relative; background: #f8f5ef; border: 1px solid color-mix(in srgb, var(--tinte) 22%, transparent); border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 3.2rem) clamp(1.1rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.4rem); }
.vg-kachel::before { content: ""; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--kaktus) 35%, transparent); border-radius: 12px; pointer-events: none; }
.vg-kachel h2 { margin: 0; }
.vg-kachel h2::after { content: ""; display: block; width: 3.2rem; height: 2px; margin-top: 0.9rem; background: var(--rost); }
.vg-kachel .vergleich { margin-top: 2rem; }
@media (min-width: 700px) { .vg-kachel h2 { white-space: nowrap; } }
/* Balken direkt beschriftet, Label davor */
.vg-produktion { display: flex; align-items: center; gap: 1rem; }
.vg-produktion-label { flex: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinte-2); }
.vg-produktion .vg-balken { flex: 1; height: auto; min-height: 1.7rem; }
.vg-balken i { display: flex; align-items: center; overflow: hidden; height: auto; }
.vg-balken i span { padding: 0.25rem 0.7rem; font-size: 0.78rem; font-style: normal; font-weight: 600; line-height: 1.15; color: #fff; white-space: nowrap; }
.klassisch .uebrig { background: repeating-linear-gradient(45deg, var(--rost) 0 6px, color-mix(in srgb, var(--rost) 82%, #fff) 6px 12px); }
.klassisch .uebrig span { text-shadow: 0 1px 2px rgb(0 0 0 / 0.35); }
/* Texte einzeilig auf Desktop, volle Breite */
.vg-text { max-width: none; }
@media (min-width: 1320px) { .vg-text { white-space: nowrap; font-size: 1rem; } }
.vg-legende { margin: -1.2rem 0 0; justify-content: flex-end; font-size: 0.72rem; }
@media (max-width: 700px) {
  .vg-kachel { padding-inline: 2.1rem 1.2rem; }
  .vg-produktion { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .vg-balken i span { white-space: normal; font-size: 0.7rem; padding: 0.3rem 0.5rem; }
}
/* Vergleich: Kernaussagen farbig, Rost für Überproduktion, Kaktusgrün für NOPAL */
.vg-text .rot { color: var(--rost); font-weight: 600; }
.vg-text .gruen { color: var(--kaktus); font-weight: 600; }
.vg-produktion .vg-balken { flex: 1; }
