/* Copyright © 2026 Caelum GmbH, Kenny Looser. Alle Rechte vorbehalten.
   Motion-Fenster im Browser (Sound Design): Handy-Nachbildung + Sensoren + MIDI-Bänke, Vorlage MotionFenster.cs (Caelum Vision).
   Die App im Handy bleibt dunkel wie am Redmi (Purpur #C8479A = gehalten/aktive Bank), der Rest folgt hell/dunkel der Seite.
   KI-Beitrag (Claude, GB-7), 23.11.2026 – Freigabe durch Kenny Looser ausstehend (GB-8). */
.mf-block { --mf-purpur: #C8479A; --mf-purpur-text: #E07BBE; --mf-purpur-tief: #B33C88; --mf-app: #141118; --mf-fl: #231E2A; }
/* 23.11.2026 Kontrast (WCAG AA): Schrift in Purpur = --mf-purpur-text (4,9 auf dunkel), Flächen mit Schrift = --mf-purpur-tief (Weiss 5,4) */
.mf { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; }
@media (max-width: 820px) { .mf { grid-template-columns: 1fr; } }
.mf button { all: unset; cursor: pointer; box-sizing: border-box; }
.mf button:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 2px; }

/* links: Bühne mit Handy */
.mf-buehne { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 12px 12px;
  perspective: 900px; touch-action: pan-y; cursor: grab; display: flex; flex-direction: column; align-items: center; min-width: 0;
  user-select: none; -webkit-user-select: none; }
.mf-buehne:active { cursor: grabbing; }
.mf-handy { touch-action: none; width: min(180px, 52%); aspect-ratio: 9 / 19.5; border-radius: 28px; border: 6px solid #5A5A60; background: var(--mf-app);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); transform-style: preserve-3d; will-change: transform; overflow: hidden; }
/* U8: am Handy kleiner und senkrecht wischen scrollt die Seite (waagrecht kippt weiter) */
@media (pointer: coarse), (max-width: 560px) { .mf-handy { width: min(150px, 46%); aspect-ratio: 9 / 17; touch-action: pan-y; border-radius: 24px; border-width: 5px; } .mf-buehne { padding-top: 18px; } }
.mf-app { height: 100%; box-sizing: border-box; padding: 18px 9px 9px; display: flex; flex-direction: column; gap: 7px; color: #F2EEF5; font-size: 11px; }
.mf-titel { font-weight: 600; font-size: 16px; padding-left: 3px; }
.mf-status { color: #9C93A6; font-size: 10.5px; padding-left: 3px; margin-top: -4px; }
.mf-baenke { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 2px; position: relative; z-index: 1; }   /* 24.11.: ≥ 24 px, nicht verdeckt */
.mf-baenke button { text-align: center; padding: 7px 0; min-height: 26px; background: var(--mf-fl); border-radius: 6px; font-size: 10.5px; color: #F2EEF5; }
.mf-baenke button[aria-pressed="true"] { background: var(--mf-purpur-tief); }
.mf-pads { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 0; }
.mf-pads button { position: relative; background: var(--mf-fl); border-radius: 12px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; touch-action: none; user-select: none; -webkit-user-select: none; transition: background .12s; }
.mf-pads button[aria-pressed="true"] { background: var(--mf-purpur-tief); }
.mf-pads b { font-size: 13px; font-weight: 600; color: #F2EEF5; }
.mf-tag { position: absolute; left: 8px; top: 6px; color: #9C93A6; font-size: 10px; }
.mf-cc { color: #9C93A6; font-size: 10px; }
.mf-pads button[aria-pressed="true"] .mf-tag, .mf-pads button[aria-pressed="true"] .mf-cc { color: #fff; }
.mf-spur { position: absolute; left: 12%; right: 12%; bottom: 10px; height: 4px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.mf-spur i { display: block; height: 100%; width: 0; background: var(--mf-purpur); }
.mf-pads button[aria-pressed="true"] .mf-spur i { background: #fff; }
.mf-gehalten { color: #9C93A6; font-size: 10px; padding-left: 3px; }
.mf-unten { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mf-unten button { text-align: center; padding: 7px 0; background: #5A5A60; border-radius: 6px; font-size: 10.5px; color: #F2EEF5; }
.mf-unten button[aria-pressed="true"] { background: var(--mf-purpur-tief); }
.mf-lage { font: 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--muted); margin: 14px 0 0; text-align: center; white-space: pre-wrap; }
.mf-hilfe { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; text-align: center; line-height: 1.45; }
@media (hover: none) { .mf-buehne .mf-hilfe { display: none; } }
@media (max-width: 520px) { .mf-handy { width: min(160px, 50%); } }   /* 25.11.: kleiner (Kenny) */

/* Querformat (25.11.2026, Wunsch Kenny: „quer und hochformat schlau abstimmen, es kommen neue Synths mit Keyboard“) – wie Spalten.java der App:
   oben Titel | Bänke, Mitte Status | Pads (4 nebeneinander), darunter .mf-breit (z. B. Tastatur, ganze Breite), unten die Knopfleiste.
   Neue Seiten hängen ihre breiten Teile als .mf-breit ein; hochkant bleibt jede Seite eine Spalte. Ziele ≥ 24 px in beiden Lagen. */
.mf-handy.quer { width: min(340px, 100%); aspect-ratio: 19.5 / 9; }   /* 25.11.: nicht XXL (Kenny) */
.mf-handy.quer .mf-app { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); grid-template-rows: auto minmax(0, 1fr) auto auto;
  column-gap: 8px; row-gap: 6px; padding: 9px 22px 9px 26px; }   /* seitlich Platz für den Rahmen-Ausschnitt */
.mf-handy.quer .mf-titel { grid-column: 1; grid-row: 1; align-self: center; font-size: 14px; }
.mf-handy.quer .mf-baenke { grid-column: 2; grid-row: 1; margin: 0; }
.mf-handy.quer .mf-status { grid-column: 1; grid-row: 2; margin: 0; align-self: start; }
.mf-handy.quer .mf-gehalten { grid-column: 1; grid-row: 2; align-self: end; }
.mf-handy.quer .mf-pads { grid-column: 2; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr; }
.mf-handy.quer .mf-pads b { font-size: 12px; }
.mf-handy.quer .mf-breit { grid-column: 1 / -1; grid-row: 3; }
.mf-handy.quer .mf-unten { grid-column: 1 / -1; grid-row: 4; }
@media (pointer: coarse), (max-width: 560px) { .mf-handy.quer { width: min(320px, 100%); aspect-ratio: 16 / 9; } }
@media (max-width: 400px) { .mf-handy.quer .mf-app { padding: 7px 12px 7px 14px; } .mf-handy.quer .mf-status { display: none; } }
.mf-buehne:has(.mf-handy.quer) { padding-top: 44px; padding-bottom: 20px; }   /* breites Bild braucht beim Kippen mehr Luft */
.mf .mf-lagek { margin-top: 10px; padding: 6px 14px; min-height: 32px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-soft); font-size: 12.5px; }
.mf .mf-lagek[aria-pressed="true"] { border-color: var(--mf-purpur); color: var(--mf-purpur-text); }

/* rechts: Daten */
.mf-daten { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.mf-daten h3 { margin: 0 0 8px; font-size: 15px; color: var(--mf-purpur-text); }
.mf-daten h3 + .mf-midi { margin-top: 2px; }
.mf-sens { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 0 0 16px; }
.mf-k { color: var(--muted); font: 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; white-space: nowrap; }
.mf-sens code { font: 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--text); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.mf-midi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 460px) { .mf-midi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mf-bk { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.mf-bk.an { color: var(--mf-purpur-text); font-weight: 600; }
.mf-z { display: grid; grid-template-columns: 1.6em minmax(0, 1fr) 2em; align-items: center; gap: 5px; font: 11.5px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--muted); height: 19px; }
.mf-bal { height: 8px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mf-bal i { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--mf-purpur) 55%, transparent); }
.mf-z.frisch .mf-bal i { background: var(--mf-purpur); }
.mf-z.frisch .mf-w { color: var(--text); }
.mf-w { text-align: right; }
.mf-log { font: 11.5px/1.5 "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--muted); background: #141413; border-radius: 10px; padding: 7px 10px;
  margin-top: 12px; min-height: 6em; white-space: pre; overflow: hidden; }
.mf-daten .mf-hilfe { text-align: left; }
.mf-unten { grid-template-columns: 1fr 1fr 1fr; }
@media (prefers-reduced-motion: reduce) { .mf-pads button { transition: none; } }

/* Leiste über dem Fenster: Handy-Sensoren · Sequenzer */
/* 25.11.2026: :where() – sonst löscht diese spätere Regel Polster/Höhe/Hintergrund der Handy-Knöpfe oben (Bank-Knöpfe waren 18 px, target-size) */
:where(.mf-block) button { all: unset; cursor: pointer; box-sizing: border-box; }
.mf-block button:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 2px; }
.mf-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.mf-leiste > button, .mf-seq-karte button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); font-size: 14px; }
.mf-leiste > button:hover, .mf-seq-karte button:hover { border-color: var(--mf-purpur); }
.mf-leiste > button.gross, .mf-seq-karte button.gross { background: var(--mf-purpur-tief); border-color: var(--mf-purpur-tief); color: #fff; font-weight: 600; }
.mf-leiste > button.gross[aria-pressed="true"] { background: var(--surface); color: var(--text); }
.mf-seq-karte button[aria-pressed="true"]:not(.gross):not(.mf-schritt), .mf-leiste > button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--mf-purpur) 22%, var(--bg)); border-color: var(--mf-purpur); color: var(--text); }
.mf-auf { display: inline-flex; align-items: center; gap: 8px; }
.mf-pfeil { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.mf-auf[aria-expanded="true"] .mf-pfeil { transform: rotate(-135deg) translateY(-2px); }
.mf-hinweis { color: var(--muted); font-size: 12.5px; }

/* Sequenzer fährt aus */
.mf-seq { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px); transition: grid-template-rows .35s ease, opacity .25s ease, transform .35s ease, margin .35s ease; }
.mf-seq.offen { grid-template-rows: 1fr; opacity: 1; transform: none; margin: 0 0 14px; }
.mf-seq-in { overflow: hidden; min-height: 0; }
@media (prefers-reduced-motion: reduce) { .mf-seq, .mf-pfeil { transition: none; } }
.mf-seq-karte { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.mf-seq-karte h3 { margin: 0 0 10px; font-size: 15px; color: var(--mf-purpur-text); }
.mf-seq-kopf, .mf-seq-zeile, .mf-seq-bew { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.mf-wert { display: inline-flex; align-items: center; gap: 4px; }
.mf-wert b { min-width: 3.2em; text-align: center; font: 600 14px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--text); }
.mf-seq-karte .mf-wert button { padding: 6px 11px; }
.mf-einheit { color: var(--muted); font-size: 12px; }
/* U4 Kreispunkt-Uhr (v12): 16 Punkte im Kreis, Schläge grösser, Mitte leuchtet bei Klick an */
.mf-module button.mf-uhr { position: relative; width: 52px; height: 52px; padding: 0; border-radius: 50%; flex: none; }
.mf-uhr i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 55%, transparent); transform: rotate(var(--w)) translateY(-19px); transition: background .05s; }
.mf-uhr i.schlag { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: transparent; border: 1.5px solid var(--muted); box-sizing: border-box; transform: rotate(var(--w)) translateY(-18px); }
.mf-uhr i.takt { border-color: var(--mf-purpur); }
.mf-uhr i.an { background: var(--mf-purpur); border-color: var(--mf-purpur); }
.mf-uhr .mitte { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 1.5px solid var(--muted); box-sizing: border-box; }
.mf-uhr[aria-pressed="true"] .mitte { background: var(--mf-purpur); border-color: var(--mf-purpur); }
.mf-trenn { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.mf-raster { background: var(--mf-app); border-radius: 12px; padding: 10px; margin: 0 0 12px; overflow-x: auto; }
.mf-reihe { display: grid; grid-template-columns: 2.6em repeat(16, minmax(14px, 30px)); gap: 3px; margin-bottom: 3px; }
.mf-reihe.gross { grid-template-columns: repeat(16, minmax(16px, 46px)); gap: 5px; }
@media (max-width: 560px) { .mf-reihe.gross { grid-template-columns: repeat(8, 1fr); }
  .mf-raster { padding: 8px 6px; }
  /* 24.11.2026 am Handy gut bedienbar (Lighthouse target-size ≥ 24 px): Matrix je Instrument 2 × 8 statt 16 schmale Felder */
  .mf-reihe:not(.gross) { grid-template-columns: 2.6em repeat(8, 1fr); gap: 3px; margin-bottom: 9px; }
  .mf-reihe:not(.gross) .mf-name { grid-row: span 2; justify-content: center; }
  .mf-seq-karte .mf-reihe:not(.gross) .mf-schritt { aspect-ratio: auto; min-height: 26px; } }
.mf-seq-karte .mf-name { padding: 0; border: 0; background: none; color: #9C93A6; font: 600 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; display: flex; align-items: center; }
.mf-seq-karte .mf-schritt { padding: 0; aspect-ratio: 1; border-radius: 4px; border: 0; background: var(--mf-fl); }
.mf-seq-karte .mf-schritt.takt { background: #2E2737; }
.mf-seq-karte .mf-schritt[aria-pressed="true"] { background: var(--mf-purpur); }
.mf-seq-karte .mf-schritt.jetzt { box-shadow: inset 0 0 0 2px var(--c-motion, #E8C547); }
.mf-reihe.gross .mf-schritt { border-radius: 7px; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.mf-seq-karte .mf-chips button { padding: 5px 10px; font: 600 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; background: var(--mf-fl); border-color: transparent; color: #F2EEF5; }
.mf-seq-karte .mf-chips button[aria-pressed="true"] { background: var(--mf-purpur-tief); color: #fff; }
.mf-bew { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.mf-bew .mf-bal { width: 44px; height: 6px; margin-left: 4px; }
.mf-bew .mf-bal i { background: var(--mf-purpur); }
.mf-seq-karte .mf-hilfe { text-align: left; margin: 0; }
/* U0 Bewegung für alle Module: gelb wie Caelum Motion oben, Balken ab der Mitte, abgerundet */
.mf-kopp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; padding: 7px 12px 7px 7px;
  border-radius: 999px; background: color-mix(in srgb, var(--mf-gelb, #E8C547) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--mf-gelb, #E8C547) 28%, transparent); }
.mf-kopp .mf-kopp-k { padding: 5px 12px; border-radius: 999px; font-family: inherit; font-size: 12.5px; }   /* ausserhalb .mf-block sonst Browser-Schrift (Arial) */
.mf-kopp button.mf-kopp-k[aria-pressed="true"], .mf-seq-karte .mf-kopp button.mf-kopp-k[aria-pressed="true"]:not(.gross) { background: var(--mf-gelb, #E8C547); border-color: var(--mf-gelb, #E8C547); color: #1A1620; }
.mf-kopp .mf-bew .mf-bal { position: relative; width: 52px; height: 6px; border-radius: 999px; }
.mf-kopp .mf-bal-mitte::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--muted); opacity: .6; }
.mf-kopp .mf-bal-mitte i { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--mf-gelb, #E8C547); transition: left .08s, width .08s; }
/* 24.11.2026 Kontrast: gedimmt wird nur der Balken, die Schrift bleibt lesbar (war 2,2:1 mit opacity) */
.mf-kopp.aus .mf-bew .mf-bal, .mf-kopp.still .mf-bew .mf-bal { opacity: .55; }
.mf-kopp .mf-bew { color: color-mix(in srgb, var(--text, #F2EEF5) 55%, var(--muted)); }   /* 3,85 → ≥ 4,5 auf dem gelben Hauch */
.mf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 560px) { .mf-kopp { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .mf-kopp .mf-bal-mitte i { transition: none; } }

/* ---------- ● Loop, Looper-Spuren, EQ (23.11.2026, wie LooperSeite.java + Eq.java der Motion-App) ---------- */
.mf-block { --mf-gelb: #E8C547; --mf-linie: #3A3442; }
.mf-lp-kopf { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mf-seq-karte button.mf-loop { font-weight: 600; }
.mf-seq-karte button.mf-loop[aria-pressed="true"] { background: #E5484D; border-color: #E5484D; color: #fff; }
/* U7: Looper in der App-Farbe Rot (RecSeite.ROT #E5484D), nicht Pink */
#mf-looper { --mf-purpur: #E5484D; --mf-purpur-text: #F07A7E; --mf-purpur-tief: #C93A3F; border-color: color-mix(in srgb, #E5484D 35%, var(--line)); }
#mf-looper .mf-loop { color: #F07A7E; }
.mf-seq-karte button.mf-wahl { padding: 8px 10px; font: 600 13px "Caelum Zeichen", ui-monospace, Consolas, monospace; }
.mf-seq-karte button.mf-auf[aria-expanded="true"] { background: color-mix(in srgb, var(--mf-gelb) 18%, var(--bg)); border-color: var(--mf-gelb); color: var(--text); }
.mf-wahlzeile { margin-top: -4px; }
.mf-seq-karte button.mf-q { display: inline-flex; align-items: center; gap: 6px; }
.mf-seq-karte button.mf-q.live { border-color: #C0392B; }
.mf-ring { --p: 0; width: 15px; height: 15px; border-radius: 50%; flex: none; background: conic-gradient(var(--mf-purpur, #C8479A) calc(var(--p) * 1turn), var(--mf-linie) 0); box-shadow: inset 0 0 0 3px var(--mf-fl, #2A2530); }
.mf-seq-karte button.mf-q.live .mf-ring { background: conic-gradient(#C0392B calc(var(--p) * 1turn), var(--mf-linie) 0); }
.mf-qzeile { margin: -4px 0 10px; }
.mf-qzeile .mf-chips { align-items: center; margin-bottom: 4px; }
.mf-qzeile .mf-einheit { min-width: 4.5em; }
.mf-seq-karte .mf-chips button:disabled { opacity: .4; }
.mf-looper { display: grid; gap: 5px; margin: 0 0 10px; }
.mf-spurzeile { display: grid; grid-template-columns: 4.2em minmax(0, 1fr) 6.5em auto 84px auto; align-items: center; gap: 8px;
  background: var(--mf-app); border-radius: 10px; padding: 5px 8px; color: #F2EEF5; font-size: 12.5px; }
.mf-spurzeile.live { box-shadow: inset 0 0 0 2px #C0392B; }
.mf-spurname { font: 600 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #9C93A6; white-space: nowrap; }
.mf-welle { width: 100%; height: 24px; display: block; background: var(--mf-fl); border-radius: 4px; }
.mf-spurstand { color: #9C93A6; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-spurzeile.live .mf-spurstand { color: #FF6B5B; }
.mf-seq-karte .mf-spurzeile button { padding: 4px 9px; background: var(--mf-fl); border-color: transparent; color: #F2EEF5; font: 600 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; }
.mf-seq-karte .mf-spurzeile button.mf-m[aria-pressed="true"] { background: var(--mf-gelb); color: #141118; }
.mf-spurzeile input[type="range"] { width: 100%; accent-color: var(--mf-purpur); }
@media (max-width: 560px) {
  .mf-spurzeile { grid-template-columns: 3.6em minmax(0, 1fr) auto auto; row-gap: 4px; }
  .mf-spurstand { grid-column: 1; grid-row: 2; } .mf-spurzeile input[type="range"] { grid-column: 2 / 4; grid-row: 2; }
}
.mf-seq-karte button:disabled { opacity: .45; cursor: default; }
.mf-eq-huelle.offen { margin: 0 0 12px; }
.mf-eq { background: var(--mf-app); border-radius: 12px; padding: 12px 14px; color: #F2EEF5; }
.mf-eq h4 { margin: 0 0 8px; font-size: 14px; color: var(--mf-gelb); }
.mf-kurve { width: 100%; height: 74px; display: block; background: var(--mf-fl); border-radius: 8px; margin: 0 0 10px; }
.mf-fader { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.mf-band { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.mf-band b { font: 600 11.5px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--mf-gelb); min-height: 1.2em; }
.mf-band input[type="range"] { writing-mode: vertical-lr; direction: rtl; width: 26px; height: 130px; accent-color: var(--mf-gelb); margin: 0; }
.mf-hz { font: 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #9C93A6; }
@media (max-width: 460px) { .mf-band input[type="range"] { height: 104px; width: 22px; } }
.mf-balance { margin: 10px 0 6px; }
.mf-balance input[type="range"] { flex: 1 1 120px; min-width: 100px; accent-color: var(--mf-gelb); }
.mf-eq .mf-einheit { color: #9C93A6; }
.mf-seq-karte .mf-eq button { background: var(--mf-fl); border-color: transparent; color: #F2EEF5; }
.mf-seq-karte .mf-eq .mf-hilfe { color: #9C93A6; }
/* U1 eigene Karten unter dem Motion-Fenster: Sequenzer (Modul 1) · TR 808 (Modul 2) · Looper · EQ */
.mf-module { display: grid; gap: 14px; margin: 16px 0 0; }
.mf-module .mf-modul { border-radius: 20px; padding: 16px 18px; scroll-margin-top: 80px; }
.mf-module .mf-modul h3 { display: flex; align-items: baseline; gap: 8px; }
.mf-modnr { font: 600 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.mf-module .mf-modul button { border-radius: 999px; }
.mf-module .mf-modul .mf-schritt { border-radius: 6px; }
.mf-module .mf-modul .mf-reihe.gross .mf-schritt { border-radius: 10px; }
.mf-module .mf-raster { border-radius: 16px; }
#mf-tr808 h3 { color: #F07A7E; }
#mf-tr808 .mf-schritt[aria-pressed="true"] { background: #E5484D; }
#mf-tr808 .mf-chips button[aria-pressed="true"] { background: #A8343A; }
.mf-eq.mf-seq-karte { border-color: transparent; }
.mf-eq.mf-seq-karte h3 { color: var(--mf-gelb); }
.mf-eq.mf-seq-karte button { background: var(--mf-fl); border-color: transparent; color: #F2EEF5; }
.mf-eq.mf-seq-karte .mf-hilfe { color: #9C93A6; }
@media (max-width: 560px) { .mf-module .mf-modul { padding: 14px 12px; border-radius: 18px; } }
/* U2 Karten auf/zu (wie /labor/): Titel = Knopf mit Pfeil, Inhalt fährt über die Höhe aus */
.mf-klappbar > h2, .mf-klappbar > h3 { margin: 0; }
.mf-klappbar .mf-klapp { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 8px; width: 100%;
  padding: 2px 4px 2px 0; border-radius: 12px; color: inherit; font: inherit; }
.mf-klappbar .mf-klapp:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 4px; }
.mf-klappbar .mf-klapp .mf-pfeil { margin-left: auto; align-self: center; flex: none; color: var(--muted); }
.mf-klappbar .mf-klapp[aria-expanded="true"] .mf-pfeil { transform: rotate(-135deg) translateY(-2px); }
.mf-klappbar .mf-klapp:hover .mf-pfeil { color: var(--text); }
.mf-huelle { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .4s ease, opacity .3s ease; }
.mf-huelle-in { overflow: hidden; min-height: 0; padding: 12px 8px 0; margin: 0 -8px; transition: padding-top .4s ease; } /* seitlich Luft für den Puls-Schein */
.mf-klappbar.zu .mf-huelle-in { padding-top: 0; }
.mf-klappbar.zu .mf-huelle { grid-template-rows: 0fr; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .mf-huelle { transition: none; } }
/* Pads-Karte (#drum-808) als Karte wie die Module */
.d8-block.mf-klappbar { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.d8-block.mf-klappbar .d8-links, .d8-block.mf-klappbar .d8-stimme { background: var(--bg); }
@media (max-width: 560px) { .d8-block.mf-klappbar { padding: 14px 12px; border-radius: 18px; } }
/* U2: Looper ist eine eigene Karte – keine Trennlinie mehr über ● Loop; zugeklappte Wahlzeilen bleiben zu */
#mf-looper .mf-lp-kopf { margin-top: 0; padding-top: 0; border-top: 0; }
.mf-module [hidden] { display: none !important; }
/* TR 808 (Modul 2) im Stil einer klassischen Drum Machine (Wunsch Kenny 23.11.2026 spät): dunkles Gerät, Farbstreifen,
   4 Muster A B C D als Zeilen, Drehschalter, 16 Tasten in Rot · Orange · Gelb · Elfenbein mit Leuchtpunkt */
#mf-tr808.tr8 { --t8-rot: #E5484D; --t8-or: #F08A24; --t8-ge: #F2C230; --t8-el: #ECE4D2; --t8-geh: #1C1B1A; --t8-pl: #2A2826;
  background: linear-gradient(180deg, #262422, #1E1D1B); border-color: #3A3733; position: relative; overflow: hidden; }
#mf-tr808.tr8::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--t8-rot) 0 25%, var(--t8-or) 25% 50%, var(--t8-ge) 50% 75%, var(--t8-el) 75%); }
#mf-tr808.tr8 h3 { color: #F3EDE2; letter-spacing: .04em; }
.tr8-zeilen { display: grid; gap: 6px; margin: 0 0 10px; }
.mf-module .tr8 .tr8-zeile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 2em 1fr; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: var(--t8-geh); border: 1px solid #34312D; }
.tr8 .tr8-zeile b { font: 700 15px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #8F887D; text-align: center; }
.tr8 .tr8-zeile[aria-pressed="true"] { border-color: var(--t8-or); box-shadow: 0 0 0 1px var(--t8-or) inset; }
.tr8 .tr8-zeile[aria-pressed="true"] b { color: var(--t8-or); }
.tr8 .tr8-zeile:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 2px; }
.tr8-punkte { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; }
.tr8-punkte i { aspect-ratio: 1; max-width: 12px; justify-self: center; width: 100%; border-radius: 50%; background: #3A3733; }
.tr8-punkte i.takt { background: #4A4640; }
.tr8-punkte i.an { background: var(--t8-or); }
.tr8-punkte i.jetzt { box-shadow: 0 0 0 2px var(--t8-el); }
.tr8-zw { margin-bottom: 12px; }
.mf-module .tr8 .tr8-zw button { background: var(--t8-pl); border-color: #3A3733; color: #E8E1D4; }
.mf-module .tr8 .tr8-zw button.tr8-folge[aria-pressed="true"] { background: var(--t8-or); border-color: var(--t8-or); color: #1C1B1A; }
.tr8-instr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 6px; margin: 0 0 14px; padding: 12px 8px; border-radius: 18px; background: var(--t8-geh); }
@media (min-width: 700px) { .tr8-instr { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.mf-module .tr8 .tr8-knopf { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tr8-dreh { width: 34px; height: 34px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, #5A5650, #2B2926 70%);
  box-shadow: 0 2px 0 #111, inset 0 0 0 2px #45413B; }
.tr8-dreh::after { content: ''; position: absolute; left: 50%; top: 4px; width: 3px; height: 11px; margin-left: -1.5px; border-radius: 2px; background: var(--t8-el);
  transform-origin: 50% 13px; transform: rotate(var(--w, 0deg)); }
.tr8-knopf b { font: 600 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #A39B8E; }
.tr8-knopf.hat b { color: #E8E1D4; }
.tr8-knopf[aria-pressed="true"] .tr8-dreh { box-shadow: 0 2px 0 #111, 0 0 0 3px var(--t8-or); }
.tr8-knopf[aria-pressed="true"] b { color: var(--t8-or); }
.tr8-knopf:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 3px; border-radius: 12px; }
.tr8-tasten { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; margin: 0 0 14px; }
@media (max-width: 700px) { .tr8-tasten { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; } }
.mf-module .tr8 .tr8-taste { all: unset; box-sizing: border-box; cursor: pointer; position: relative; aspect-ratio: .8; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .55); transition: transform .05s, box-shadow .05s; -webkit-tap-highlight-color: transparent; }
.tr8-taste.f0 { background: var(--t8-rot); } .tr8-taste.f1 { background: var(--t8-or); } .tr8-taste.f2 { background: var(--t8-ge); } .tr8-taste.f3 { background: var(--t8-el); }
.tr8-taste span { font: 600 10px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: rgba(28, 27, 26, .75); }
.tr8-taste:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.tr8-led { position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #4A1B14; box-shadow: inset 0 1px 1px rgba(0,0,0,.5); }
.tr8-taste[aria-pressed="true"] .tr8-led { background: #FF4A2E; box-shadow: 0 0 8px 2px rgba(255, 74, 46, .75); }
.tr8-taste.jetzt { box-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 0 3px #F3EDE2; }
.tr8-taste:focus-visible { outline: 2px solid var(--c-motion, #E8C547); outline-offset: 3px; }
.tr8 .mf-hilfe { color: #A39B8E; }
/* TR 808: eigene Farben vor der allgemeinen „gedrückt = lila“-Regel der Sequenzer-Karten */
#mf-tr808 .tr8-taste.f0 { background: var(--t8-rot); } #mf-tr808 .tr8-taste.f1 { background: var(--t8-or); }
#mf-tr808 .tr8-taste.f2 { background: var(--t8-ge); } #mf-tr808 .tr8-taste.f3 { background: var(--t8-el); }
#mf-tr808 .tr8-taste { color: #1C1B1A; border: 0; }
#mf-tr808 .tr8-zeile, #mf-tr808 .tr8-zeile[aria-pressed="true"] { background: var(--t8-geh); color: inherit; }
#mf-tr808 .tr8-knopf, #mf-tr808 .tr8-knopf[aria-pressed="true"] { background: transparent; border: 0; color: inherit; }
#mf-tr808 .tr8-zw .tr8-folge[aria-pressed="true"] { background: var(--t8-or); border-color: var(--t8-or); color: #1C1B1A; }
#mf-tr808 .tr8-zeile[aria-pressed="true"] { border-color: var(--t8-or); box-shadow: 0 0 0 1px var(--t8-or) inset; }
/* U3 Start/Stopp: nur ▶ / ■, rund; läuft der Takt, wird er komplementär grün (zum Purpur) */
.mf-module button.gross.mf-start { width: 52px; height: 52px; padding: 0; border-radius: 50%; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.mf-module button.gross.mf-start[aria-pressed="true"] { background: #2FA36B; border-color: #2FA36B; color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, #2FA36B 28%, transparent); }
@media (prefers-reduced-motion: no-preference) { .mf-module button.gross.mf-start[aria-pressed="true"] { animation: mf-puls 1.2s ease-in-out infinite; } }
@keyframes mf-puls { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #2FA36B 12%, transparent); } }

/* ---------- Mixer (24.11.2026, MixerSeite.java „wie ein Akai“): ein Kanalzug je Quelle, dunkel wie die App ---------- */
#mf-mixer { --mf-mix-or: #F29A3A; --mf-mix-of: #33281C; }
.mf-mix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--mf-app); border-radius: 16px; padding: 12px 10px; margin: 0 0 12px; color: #F2EEF5; }
.mf-mix-zug { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 8px 4px; border-radius: 12px; background: var(--mf-fl); transition: opacity .15s; }
.mf-mix-zug.stumm { opacity: .72; }
.mf-mix-name { font: 600 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #E07BBE; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mf-mix-zug:not(.mf-midi):nth-child(2) .mf-mix-name { color: #F27B7E; }
.mf-mix-zug:not(.mf-midi):nth-child(3) .mf-mix-name { color: #E8C547; }
.mf-mix-zug:not(.mf-midi):nth-child(4) .mf-mix-name { color: #F07A7E; }
.mf-mix-pan { width: 100%; max-width: 92px; height: 24px; accent-color: #9C93A6; margin: 0; }
.mf-mix-lr { font: 10.5px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #A89DAD; margin-top: -6px; }
.mf-mix-k { display: flex; gap: 6px; }
.mf-seq-karte .mf-mix-k button { width: 32px; height: 32px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font: 700 13px "Caelum Zeichen", ui-monospace, Consolas, monospace; background: #2E2737; border: 1px solid #4A4054; color: #D9D2E0; }
.mf-seq-karte .mf-mix-k button.mf-mix-m[aria-pressed="true"] { background: var(--mf-mix-or); border-color: var(--mf-mix-or); color: #1A1620; }
.mf-seq-karte .mf-mix-k button.mf-mix-rec[aria-pressed="true"] { background: #C93A3F; border-color: #E5484D; color: #fff; }
.mf-mix-rec.leer { width: 32px; height: 32px; display: inline-block; }
.mf-mix-fz { display: flex; align-items: stretch; gap: 5px; height: 150px; }
.mf-mix-fz input[type="range"] { writing-mode: vertical-lr; direction: rtl; width: 28px; height: 100%; accent-color: #E8C547; margin: 0; }
.mf-mix-led { position: relative; width: 6px; border-radius: 3px; background: #14101A; overflow: hidden; }
.mf-mix-led i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 3px; background: linear-gradient(to top, #2FA36B 0%, #2FA36B 65%, #E8C547 85%, #E5484D 100%); background-size: 100% 150px; background-position: bottom; }
.mf-mix-led i.heiss { box-shadow: 0 0 6px #E5484D; }
.mf-mix-db { font: 600 11.5px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #E8C547; min-height: 1.2em; }
@media (max-width: 460px) { .mf-mix { gap: 5px; padding: 10px 6px; } .mf-mix-fz { height: 128px; } .mf-mix-name { font-size: 11px; } }

/* ---------- Effekte (24.11.2026, Effekte.java): zwei Reihen wie die Wisch-Seiten der App, Stärke füllt das Pad von unten ---------- */
.mf-fx { display: grid; gap: 12px; background: var(--mf-app); border-radius: 16px; padding: 12px; margin: 0 0 12px; color: #F2EEF5; }
.mf-fx-reihe { --fx: #C8479A; --fx-t: #E07BBE; }
.mf-fx-reihe.r2 { --fx: #3E9E5E; --fx-t: #6FD08C; }
.mf-fx-titel { display: block; font: 600 11.5px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--fx-t); margin: 0 0 6px 2px; }
.mf-fx-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mf-seq-karte .mf-fx-pads button.mf-fx-pad { position: relative; overflow: hidden; min-height: 72px; padding: 8px 4px; border-radius: 14px; border: 1px solid #3A3442;
  background: var(--mf-fl); color: #F2EEF5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  touch-action: none; user-select: none; -webkit-user-select: none; text-align: center; }
.mf-fx-pad b { position: relative; font-size: 12.5px; font-weight: 600; line-height: 1.15; }
.mf-fx-w { position: relative; font: 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #B8AFC2; }
.mf-fx-bal { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: color-mix(in srgb, var(--fx) 55%, transparent); transition: height .06s; }
.mf-seq-karte .mf-fx-pads button.mf-fx-pad[aria-pressed="true"] { border-color: var(--fx); }
.mf-seq-karte .mf-fx-pads button.mf-fx-pad[aria-pressed="true"] .mf-fx-w { color: #fff; }
.mf-seq-karte .mf-fx-pads button.mf-fx-pad.halt { box-shadow: 0 0 0 2px var(--fx-t); }
@media (max-width: 460px) { .mf-fx { padding: 10px 8px; } .mf-fx-pads { gap: 6px; } .mf-fx-pad b { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .mf-fx-bal { transition: none; } }

/* 25.11.2026: Motion-Fenster oben im Block „Caelum Motion im Browser“ (erste Einstellung, vor Synth/Datei/Live-Musik) */
.mf-oben { margin: 4px 0 26px; }
.mf-oben .mf-ueber { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.mf-oben .mf-einleitung { color: var(--text-soft); margin: 0 0 14px; max-width: 46em; }
/* kleines Handy: „Bank“ nur für Screenreader, sichtbar A B C D (sonst bricht „Bank A“ um) */
.mf-handy { container-type: inline-size; }
.mf-baenke button { white-space: nowrap; }
@container (max-width: 190px) { .mf-baenke button > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mf-baenke button { font-size: 12px; font-weight: 600; } }
@container (max-width: 190px) { .mf-tag { left: 5px; top: 3px; font-size: 9px; } .mf-pads b { font-size: 12px; margin-top: 6px; } .mf-cc { font-size: 9px; } }
@container (max-width: 190px) { .mf-handy:not(.quer) .mf-unten { grid-template-columns: 1fr 1fr; }
  .mf-handy:not(.quer) .mf-unten button:first-child { grid-column: 1 / -1; }
  .mf-unten button { font-size: 9.5px; padding: 5px 0; min-height: 24px; white-space: nowrap; } }

@container (max-width: 190px) { .mf-titel { font-size: 13px; white-space: nowrap; } .mf-handy:not(.quer) .mf-gehalten { display: none; } }
/* 25.11.2026 (Kenny: „lass es bei unserem Modell, mach es bloss ein wenig dicker“): etwas breiterer Rahmen + feine Kante */
.mf-handy { border-width: 8px; box-shadow: 1px 1px 0 #48484E, 2px 2px 0 #3E3E44, 3px 3px 0 #36363B, 0 18px 40px rgba(0,0,0,.35); }
@media (pointer: coarse), (max-width: 560px) { .mf-handy { border-width: 7px; } }

/* Bänke A–D im Mixer (25.11.2026, wie MixerSeite.java): 8 Züge je Bank, breit in einer Reihe, schmal 2 × 4 */
.mf-mix-baenke { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 8px; }
.mf-seq-karte .mf-mix-baenke button { min-height: 36px; padding: 6px 4px; border-radius: 10px; background: var(--mf-fl); color: #F2EEF5; border: 1px solid transparent; font-size: 13px; text-align: center; }
.mf-seq-karte .mf-mix-baenke button[aria-pressed="true"] { background: var(--mf-purpur-tief); border-color: var(--mf-purpur); }
.mf-mix-wrap { container-type: inline-size; }
.mf-mix[hidden] { display: none; }
@container (min-width: 700px) { .mf-mix { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.mf-mix-zug.mf-midi .mf-mix-name { color: #C9BFD0; }
.mf-mix-cc { font: 600 11px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: #A89DAD; height: 24px; display: flex; align-items: center; }
.mf-mix-midi { font: 12px "Caelum Zeichen", ui-monospace, Consolas, monospace; color: var(--muted); margin: 0 0 4px; }
.mf-mix-letzt { color: var(--text-soft); min-height: 1.4em; }
/* Tippen auf das Handy-Bild blitzt sonst blau wie ein Link (Chrome Android, Meldung Kenny 25.11.2026) */
.mf-buehne, .mf-buehne * { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.mf-mix-zug.mf-midi .mf-mix-led { visibility: hidden; }   /* MIDI-Fader haben keinen Klang im Browser */
@container (max-width: 190px) { .mf-handy:not(.quer) .mf-unten { gap: 8px; } .mf-unten button { min-height: 26px; } }   /* target-size: Abstand ≥ 8 px (Lighthouse 25.11.) */
/* Knobs (Stufe 1, 26.11.2026, wie MixerSeite.java): Seite Fader ↔ Knobs, je Bank 8 Drehregler mit Bogen über 270° und M */
.mf-mix-art { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 8px; }
.mf-seq-karte .mf-mix-art button { min-height: 32px; padding: 5px 4px; border-radius: 10px; background: var(--mf-fl); color: #F2EEF5; border: 1px solid transparent; font-size: 13px; text-align: center; }
.mf-seq-karte .mf-mix-art button[aria-pressed="true"] { background: #3A3242; border-color: var(--mf-purpur-text); }
.mf-knob { width: 64px; height: 64px; max-width: 100%; touch-action: none; cursor: ns-resize; border-radius: 50%; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.mf-knob svg { display: block; width: 100%; height: 100%; }
.mf-knob-grund, .mf-knob-wert { fill: none; stroke-width: 6; stroke-linecap: round; }
.mf-knob-grund { stroke: #14101A; }
.mf-knob-wert { stroke: var(--mf-purpur); }
.mf-knob-zelle.stumm .mf-knob-wert { stroke: #5A5060; }
.mf-knob-kopf { fill: #2C2632; }
.mf-knob.aktiv .mf-knob-kopf, .mf-knob:focus-visible .mf-knob-kopf { fill: #3A3242; }
.mf-knob-zeiger { stroke: #F2EEF5; stroke-width: 3; stroke-linecap: round; }
.mf-knob:focus { outline: none; }
.mf-knob:focus-visible { outline: 2px solid var(--mf-purpur-text); outline-offset: 2px; }
@media (max-width: 460px) { .mf-knob { width: 56px; height: 56px; } }
/* Stufe 2 (26.11.2026): Fader ↔ Knobs gleiten waagrecht wie die Wisch-Seiten der App; senkrecht scrollt die Seite weiter */
.mf-mix-wrap { overflow: hidden; touch-action: pan-y; }
.mf-mix-bahn { display: flex; transition: transform .32s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.mf-mix-bahn[hidden] { display: none; }
.mf-mix-bahn.zieht { transition: none; }
.mf-mix-bahn > .mf-mix { flex: 0 0 100%; min-width: 0; }
.mf-mix-punkte { display: flex; justify-content: center; align-items: center; gap: 10px; margin: -6px 0 8px; }
.mf-mix-punkte i { width: 7px; height: 7px; border-radius: 50%; background: #4A4252; transition: background .2s, transform .2s; }
.mf-mix-punkte i.an { background: var(--mf-purpur-text); transform: scale(1.15); }
.mf-seq-karte .mf-mix-punkte .mf-mix-pfeil { width: 36px; height: 28px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #A89DAD;
  font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mf-seq-karte .mf-mix-punkte .mf-mix-pfeil:hover { color: #F2EEF5; background: var(--mf-fl); }
.mf-mix-pfeil.weg { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .mf-mix-bahn, .mf-mix-punkte i { transition: none; } }
.mf-mix-bahn.rechts { transform: translateX(-100%); }
.mf-mix-bahn { align-items: flex-start; }   /* jede Seite in eigener Höhe, die Hülle folgt per mixHoehe() */
.mf-mix-wrap { transition: height .32s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .mf-mix-wrap { transition: none; } }
