/* V2-Illustrationen der Produktseiten (Team A1, 21.10.2026) – ersetzen die Bildschirmfotos alter App-Oberflächen und die
   V1-Formen-Animationen. Quelle: werkzeuge/v2-generator/buehnen-v2/ (illustrationen.mjs + <id>.html).
   Regeln (V2-DESIGN.md): Nacht + Glas + Haarlinien, Licht nur am Aktiven (folgt dem Abschnittslicht --v2-licht bzw. der
   Gruppenfarbe --farbe der Kachel), echte Schrift als HTML (nie unter 14 px, keine Versalien), je Bild höchstens EIN
   ruhig bewegtes Element; still bei „Bewegung reduzieren“, außerhalb des Bildes (.angehalten) und per Knopf (.pausiert). */

/* ---------- Bühne + Fenster ---------- */
.illu { position: relative; container-type: inline-size; display: grid; align-content: center; min-height: 320px; min-width: 0;
  padding: clamp(14px, 2.2vw, 28px); border-radius: var(--v2-radius-l); overflow: hidden; isolation: isolate; text-align: left;
  font: 400 15px/1.45 var(--v2-schrift); color: var(--v2-text);
  background: radial-gradient(85% 75% at 72% 0%, rgba(var(--v2-licht-rgb), .11), transparent 70%), var(--v2-buehne);
  box-shadow: inset 0 0 0 1px var(--v2-linie), 0 26px 60px -34px rgba(0, 0, 0, .9); }
.illu::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(140, 180, 255, .16) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 40%, #000, transparent); opacity: .55; }
:where(.illu) :where(p, ul, ol) { margin: 0; padding: 0; list-style: none; }   /* :where = ohne Gewicht, Bausteine behalten ihr Polster */
.illu-fenster { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 27, 56, .78), rgba(9, 16, 36, .72));
  box-shadow: inset 0 0 0 1px var(--v2-linie), 0 22px 56px -30px rgba(0, 0, 0, .95); }
.illu-fenster::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--v2-licht-rgb), .75), transparent); }
.illu-leiste { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; border-bottom: 1px solid var(--v2-linie-fein);
  font-size: 14px; line-height: 1.3; color: var(--v2-text-2); white-space: nowrap; }
.illu-leiste b { font-weight: 600; color: var(--v2-text-hell); }
.illu-leiste .illu-rechts { margin-left: auto; }
.illu-leiste > span:not(.illu-punkte) { overflow: hidden; text-overflow: ellipsis; }
.illu-punkte { display: flex; gap: 6px; flex: none; }
.illu-punkte i { width: 8px; height: 8px; border-radius: 50%; background: rgba(140, 180, 255, .22); }
.illu-inhalt { display: grid; gap: 12px; min-width: 0; padding: 14px; align-content: start; }

/* ---------- Bausteine ---------- */
.illu-feld { display: flex; flex-direction: column; align-items: start; gap: 6px; min-width: 0; }
.illu-feld > span:first-child, .illu-etikett { font-size: 14px; line-height: 1.3; color: var(--v2-text-3); }
.illu-wert { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 34px; padding: 5px 12px;
  border-radius: 10px; font-size: 14px; color: var(--v2-text); background: rgba(140, 180, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-wert::after { content: ''; flex: none; width: 7px; height: 7px; margin-top: -4px; border: solid var(--v2-text-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.illu-wert.ohne::after { display: none; }
.illu-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 11px; border-radius: var(--v2-pille);
  font-size: 14px; line-height: 1.3; color: var(--v2-text-2); background: rgba(140, 180, 255, .05); box-shadow: inset 0 0 0 1px var(--v2-linie); white-space: nowrap; }
.illu-chip.an { color: var(--v2-text-hell); background: rgba(var(--v2-licht-rgb), .13); box-shadow: inset 0 0 0 1px rgba(var(--v2-licht-rgb), .55); }
.illu-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.illu-knopf { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 34px; padding: 6px 15px;
  border-radius: var(--v2-pille); font: 600 14px/1.2 var(--v2-schrift); color: var(--v2-knopf-text, #03101A); background: var(--v2-licht);
  box-shadow: 0 10px 26px -12px rgba(var(--v2-licht-rgb), .9); white-space: nowrap; }
.illu-knopf.zweit { font-weight: 550; color: var(--v2-text); background: rgba(140, 180, 255, .07); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-text { font-size: 15px; line-height: 1.5; color: var(--v2-text); }
.illu-text.klein { font-size: 14px; color: var(--v2-text-2); }
.illu-text b { font-weight: 600; color: var(--v2-text-hell); }
.illu-luecke { padding: 0 4px; border-radius: 4px; color: var(--v2-text-hell); background: rgba(var(--v2-licht-rgb), .15);
  box-shadow: inset 0 -1px 0 rgba(var(--v2-licht-rgb), .95); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.illu-zeile { display: block; width: var(--b, 100%); height: 8px; border-radius: 4px; background: rgba(233, 241, 255, .12); }
.illu-zeile.hell { background: rgba(233, 241, 255, .22); }
.illu-zeilen { display: grid; gap: 8px; }
.illu-pane { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 12px; border-radius: 12px;
  background: rgba(140, 180, 255, .04); box-shadow: inset 0 0 0 1px var(--v2-linie-fein); }
.illu-pane.licht { background: rgba(var(--v2-licht-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--v2-licht-rgb), .3); }
.illu-pane-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; font-size: 14px; color: var(--v2-text-3); }
.illu-pane-kopf b { font-weight: 600; color: var(--v2-text-hell); }
.illu-punkt { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--v2-licht); box-shadow: 0 0 10px rgba(var(--v2-licht-rgb), .8); }
.illu-punkt.gruen { background: var(--v2-gruen); box-shadow: 0 0 10px rgba(69, 240, 138, .7); }
.illu-liste { display: grid; gap: 8px; }
.illu-liste li { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--v2-text); }
.illu-liste li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-2px); background: rgba(var(--v2-licht-rgb), .85); }
.illu-haken li::before { width: 14px; height: 14px; border-radius: 4px; transform: translateY(2px); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(140, 180, 255, .4); }
.illu-haken li.ja::before { background: rgba(var(--v2-licht-rgb), .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%2303101A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.illu-zeit { flex: none; min-width: 46px; font-variant-numeric: tabular-nums; color: var(--v2-text-3); }
.illu-blase { justify-self: start; max-width: 92%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; font-size: 14px; line-height: 1.45;
  color: var(--v2-text); background: rgba(140, 180, 255, .08); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-blase.ich { justify-self: end; border-radius: 14px 14px 4px 14px; background: rgba(var(--v2-licht-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--v2-licht-rgb), .35); }
.illu-blase.zeilen { display: grid; gap: 7px; width: 70%; padding: 11px 12px; }
.illu-welle { display: flex; align-items: center; gap: 4px; height: 40px; }
.illu-welle i { flex: 1 1 0; max-width: 6px; height: calc(var(--h, .5) * 100%); border-radius: 3px; background: rgba(var(--v2-licht-rgb), .8); transform-origin: 50% 50%; }
.illu-welle i:nth-child(3n) { background: rgba(var(--v2-licht-rgb), .5); }

/* Lichtkanal zwischen zwei Teilen: am Handy senkrecht, ab 460 px Bildbreite waagerecht; der Lichtpunkt ist die eine Bewegung */
.illu-fluss { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-width: 0; }
.illu-kanal { position: relative; display: flex; align-items: center; justify-content: center; min-height: 34px; }
.illu-kanal::before { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px; background: linear-gradient(180deg, transparent, rgba(var(--v2-licht-rgb), .75), transparent); }
.illu-kanal::after { content: ''; position: absolute; left: calc(50% - 3px); top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--v2-licht);
  box-shadow: 0 0 12px 2px rgba(var(--v2-licht-rgb), .85); opacity: 0; }
.illu-kanal span { position: relative; z-index: 1; padding: 2px 10px; border-radius: var(--v2-pille); font-size: 14px; color: var(--v2-text-2); background: var(--v2-buehne); box-shadow: inset 0 0 0 1px var(--v2-linie); white-space: nowrap; }
@container (min-width: 460px) {
  .illu-fluss { grid-template-columns: minmax(0, 5fr) 44px minmax(0, 7fr); align-items: center; }
  .illu-fluss.gleich { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
  .illu-kanal { min-height: 0; align-self: stretch; }
  .illu-kanal::before { left: 4px; right: 4px; top: 50%; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--v2-licht-rgb), .75), transparent); }
  .illu-kanal::after { left: 4px; top: calc(50% - 3px); }
  .illu-kanal span { display: none; }
}
.illu-zwei { display: grid; gap: 12px; min-width: 0; }
@container (min-width: 460px) { .illu-zwei { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .illu-zwei.gleich { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.illu-nur-breit { display: none; }
@container (min-width: 460px) { .illu-nur-breit { display: revert; } .illu-nur-schmal { display: none; } }

/* Schmale Fenster: Mit Statusmarke rechts in der Leiste fallen die drei Fensterpunkte weg, damit die Marke ganz lesbar bleibt */
@container (max-width: 459px) { .illu-leiste:has(.illu-rechts.illu-chip) .illu-punkte { display: none; } }

/* ---------- Je Produkt ---------- */
/* Werkbank: Wahlfelder am Handy als Zeilen (Bezeichnung links, Wert rechts), breit untereinander in der schmalen Spalte */
@container (max-width: 459px) {
  .illu-werkbank .illu-feld { flex-direction: row; align-items: center; justify-content: space-between; }
  .illu-werkbank .illu-feld .illu-wert { min-width: 0; flex: 0 1 62%; }
}
@container (min-width: 460px) { .illu-werkbank .illu-feld { align-items: stretch; } }
/* Cockpit: vier Felder im Raster */
.illu-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.illu-uhr { display: flex; align-items: center; gap: 12px; }
.illu-uhr svg { flex: none; width: 46px; height: 46px; }
.illu-uhr .bahn { fill: none; stroke: rgba(140, 180, 255, .16); stroke-width: 3; }
.illu-uhr .wert { fill: none; stroke: var(--v2-licht); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 84 126; transform: rotate(-90deg); transform-origin: 50% 50%; }
.illu-status { margin-left: auto; padding: 1px 8px; border-radius: var(--v2-pille); font-size: 14px; color: var(--v2-text-2); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-status.warn { color: #FFD9A0; box-shadow: inset 0 0 0 1px rgba(255, 196, 107, .45); }
/* Wochenplan: fünf Tagesspalten */
.illu-woche { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.illu-tag { display: grid; gap: 6px; align-content: start; min-width: 0; min-height: 168px; padding: 8px 6px; border-radius: 10px; background: rgba(140, 180, 255, .035); box-shadow: inset 0 0 0 1px var(--v2-linie-fein); }
.illu-tag > b { font-size: 14px; font-weight: 600; color: var(--v2-text-2); text-align: center; }
.illu-karte { display: block; min-height: 26px; padding: 4px 6px; border-radius: 7px; font-size: 14px; line-height: 1.25; color: var(--v2-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: rgba(79, 216, 255, .13); box-shadow: inset 2px 0 0 #4FD8FF; }
.illu-karte.b { background: rgba(185, 140, 255, .14); box-shadow: inset 2px 0 0 #B98CFF; }
.illu-karte.termin { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 196, 107, .5); }
.illu-karte.frisch { box-shadow: inset 2px 0 0 #4FD8FF, 0 0 0 1px rgba(79, 216, 255, .6), 0 0 18px -4px rgba(79, 216, 255, .8); }
.illu-karte em { font-style: normal; }
@container (max-width: 459px) { .illu-karte em { display: none; } .illu-tag { min-height: 132px; } }
.illu-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--v2-text-2); }
.illu-legende span { display: inline-flex; align-items: center; gap: 7px; }
.illu-legende i { width: 10px; height: 10px; border-radius: 3px; background: #4FD8FF; }
.illu-legende i.b { background: #B98CFF; }
.illu-legende i.t { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 196, 107, .7); }
/* Webschmiede / Fabrik: Seiten-Gerüst */
.illu-seite { display: grid; gap: 7px; min-width: 0; padding: 10px; border-radius: 10px; background: rgba(233, 241, 255, .035); box-shadow: inset 0 0 0 1px var(--v2-linie-fein); }
.illu-seite .kopf { display: flex; align-items: center; gap: 6px; }
.illu-seite .logo { width: 16px; height: 16px; border-radius: 4px; background: rgba(233, 241, 255, .3); }
.illu-seite .bild { height: 46px; border-radius: 7px; background: rgba(233, 241, 255, .07); }
.illu-seite.alt { opacity: .5; filter: saturate(.3); }
.illu-seite.alt .bild { background: repeating-linear-gradient(135deg, rgba(233, 241, 255, .07) 0 6px, transparent 6px 12px); }
.illu-seite.neu .logo { background: var(--v2-licht); }
.illu-seite.neu .bild { background: linear-gradient(120deg, rgba(var(--v2-licht-rgb), .28), rgba(var(--v2-licht-rgb), .04)); }
.illu-farben { display: flex; gap: 6px; }
.illu-farben i { width: 18px; height: 18px; border-radius: 5px; background: var(--f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
/* Civic Blick: Bildschirm mit Fehlermeldung und Lichtrahmen */
.illu-schirm { position: relative; display: grid; gap: 8px; min-width: 0; padding: 12px; border-radius: 10px; background: rgba(233, 241, 255, .03); box-shadow: inset 0 0 0 1px var(--v2-linie-fein); }
.illu-dialog { position: relative; display: grid; gap: 6px; padding: 10px 12px; border-radius: 9px; background: rgba(20, 30, 58, .95); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .4); }
.illu-dialog b { font-size: 14px; font-weight: 600; color: #FFB3B3; }
.illu-rahmen { position: absolute; inset: -6px; border-radius: 13px; box-shadow: 0 0 0 1.5px var(--v2-licht), 0 0 22px -2px rgba(var(--v2-licht-rgb), .7); pointer-events: none; }
.illu-ausschnitt { display: grid; gap: 5px; padding: 8px; border-radius: 8px; background: rgba(20, 30, 58, .9); box-shadow: inset 0 0 0 1px rgba(var(--v2-licht-rgb), .55); }
/* Civic: Gänge als Schieberegler */
.illu-gang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: var(--v2-pille); background: rgba(140, 180, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-gang span { padding: 4px 6px; border-radius: var(--v2-pille); font-size: 14px; text-align: center; color: var(--v2-text-2); white-space: nowrap; }
.illu-gang span.an { color: var(--v2-knopf-text, #0B0620); font-weight: 600; background: var(--v2-licht); }
.illu-denkt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--v2-text-2); }
.illu-denkt .d { display: inline-flex; gap: 4px; }
.illu-denkt .d i { width: 5px; height: 5px; border-radius: 50%; background: var(--v2-licht); }
.illu-anhang { display: inline-flex; align-items: center; gap: 8px; justify-self: end; padding: 5px 10px; border-radius: 10px; font-size: 14px; color: var(--v2-text);
  background: rgba(140, 180, 255, .06); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-anhang svg { width: 16px; height: 16px; fill: none; stroke: var(--v2-text-2); stroke-width: 1.5; }
.illu-eingabe { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 6px 4px 14px; border-radius: 12px; font-size: 14px; color: var(--v2-text-3);
  background: rgba(140, 180, 255, .05); box-shadow: inset 0 0 0 1px var(--v2-linie); }
.illu-eingabe .illu-knopf { margin-left: auto; min-height: 30px; padding: 4px 12px; }
.illu-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--v2-licht); }

/* ---------- Bewegung: höchstens ein Element je Bild ---------- */
@media (prefers-reduced-motion: no-preference) {
  .illu .atmet { animation: illu-atmen 2.4s ease-in-out infinite; }
  .illu .glimmt { animation: illu-glimmen 2.4s ease-in-out infinite; } /* Schrift bleibt voll deckend, nur der Leuchtrand atmet */
  .illu-kanal.lauf::after { opacity: 1; animation: illu-lauf-y 3.6s var(--v2-kurve) infinite; }
  .illu .illu-welle.lebt i { animation: illu-welle 1.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.17s); }
  .illu .illu-caret { animation: illu-caret 1.1s steps(1) infinite; }
  .illu .illu-denkt .d i { animation: illu-atmen 1.2s ease-in-out infinite; }
  .illu .illu-denkt .d i:nth-child(2) { animation-delay: .2s; }
  .illu .illu-denkt .d i:nth-child(3) { animation-delay: .4s; }
}
@container (min-width: 460px) { .illu-kanal.lauf::after { animation-name: illu-lauf-x; } }
@keyframes illu-atmen { 0%, 100% { opacity: 1; } 50% { opacity: .45; } } /* nur für Elemente OHNE Schrift (Punkt, Rahmen) */
@keyframes illu-glimmen { 50% { box-shadow: inset 2px 0 0 #4FD8FF, 0 0 0 1px rgba(79, 216, 255, .27), 0 0 18px -4px rgba(79, 216, 255, .36); } }
@keyframes illu-lauf-y { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
@keyframes illu-lauf-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
@keyframes illu-welle { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
@keyframes illu-caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.illu.angehalten *, .illu.angehalten *::before, .illu.angehalten *::after,
.illu.pausiert *, .illu.pausiert *::before, .illu.pausiert *::after { animation-play-state: paused !important; }

/* ---------- Kennzeichnung ---------- */
.illu-hinweis { color: var(--v2-text-2); }

/* ---------- Kachel-Bilder (Übersicht, Startseite, „Passt dazu“): ruhig, ohne Schrift im Bild, Marke „Illustration“ ---------- */
.mini-szene.illu-mini { position: relative; overflow: hidden;
  background: radial-gradient(75% 80% at 50% 30%, color-mix(in srgb, var(--farbe, #4FD8FF) 14%, transparent), transparent 75%), var(--v2-buehne); }
.illu-mini::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--v2-linie); pointer-events: none; }
.illu-mini svg { position: absolute; left: 6px; right: 6px; top: 6px; bottom: 26px; width: calc(100% - 12px); height: calc(100% - 32px); overflow: visible; }
.illu-mini .illu-marke { position: absolute; left: 8px; bottom: 5px; font-size: 14px; line-height: 18px; color: var(--v2-text-2); white-space: nowrap; }
.illu-mini .g { fill: rgba(17, 27, 56, .85); stroke: rgba(140, 180, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.illu-mini .z { fill: rgba(233, 241, 255, .16); }
.illu-mini .h { fill: rgba(233, 241, 255, .3); }
.illu-mini .l { fill: var(--farbe, #4FD8FF); opacity: .8; transition: opacity var(--v2-schnell); }
.illu-mini .ls { fill: none; stroke: var(--farbe, #4FD8FF); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; transition: opacity var(--v2-schnell); }
.illu-mini .lw { fill: color-mix(in srgb, var(--farbe, #4FD8FF) 18%, transparent); }
.illu-mini .p { fill: rgba(140, 180, 255, .3); }
.produkt-kachel:hover .illu-mini .l, .produkt-kachel:hover .illu-mini .ls,
.produkt-kachel:focus-visible .illu-mini .l, .produkt-kachel:focus-visible .illu-mini .ls { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .illu *, .illu *::before, .illu *::after, .illu-mini * { animation: none !important; transition: none !important; }
  .illu-kanal::after { opacity: 0 !important; }
}
