/* Letzte Cleaning Prüfung: 12.10.2026 | Letztes Cleaning: 12.10.2026 */
/* Werkzeug "Stimmwechsel": Anleitung, breite Eingabeleiste, Verlauf wie die anderen Werkzeuge, Dialoge; nutzt Farben und Bausteine (spv-*) aus contentfactory-spot-vorlagen.css. */

.sw-seite {
  --sw-panel: #101116;
  --sw-karte: #1a1b22;
  --sw-strich: #3a3d4a;
  display: block;
  position: relative;
}
.sw-seite button { font-family: inherit; }

/* --- Linkes Panel --- */
/* Eingabeleiste (WL-42): Stimme und Clips nebeneinander, rechts Rechte und "Generieren". */
.sw-links { background: var(--sw-panel); border: 1px solid var(--spv-rand); border-radius: 22px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px auto 0; max-width: 800px; min-width: 0; padding: 16px; }
.sw-links > * { min-width: 0; }
.sw-formular { align-items: stretch; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sw-formular > .sw-karte { min-height: 168px; }
.sw-formular > .sw-hinweis-trennung { grid-column: 1 / -1; }
/* Rechte-Häkchen und "Generieren" unter den beiden Karten (Betreiber 12.10.2026). */
.sw-formular > .sw-fuss { grid-column: 1 / -1; margin: 0; }

.sw-karte {
  align-content: center;
  background: var(--sw-karte);
  border: 1px dashed var(--sw-strich);
  border-radius: 14px;
  color: var(--spv-text);
  cursor: pointer;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 126px;
  padding: 14px 12px 12px;
  position: relative;
  text-align: center;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.sw-karte:hover,
.sw-karte.ist-drueber { background: #20212a; border-color: var(--spv-akzent); }
.sw-pflicht { background: #2a2c36; border-radius: 999px; color: var(--spv-leise); font-size: 10.5px; padding: 2px 8px; position: absolute; right: 8px; top: 8px; }
.sw-kreise { display: inline-flex; }
.sw-kreise .sw-kreis + .sw-kreis { margin-left: -4px; }
.sw-kreis { align-items: center; background: #2a2c36; border: 1px solid #3a3d4a; border-radius: 50%; color: var(--spv-text); cursor: pointer; display: inline-flex; font-size: 16px; height: 34px; justify-content: center; padding: 0; width: 34px; }
.sw-kreis:hover { background: #343744; }
.sw-karte-titel { font-size: 14px; font-weight: 700; }
.sw-karte-text { color: var(--spv-leise); font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-karte.ist-gewaehlt { border-style: solid; }
.sw-karte.ist-gefuellt { align-content: start; cursor: default; justify-items: stretch; text-align: left; }
.sw-clips-kopf { align-items: center; display: flex; justify-content: space-between; padding-right: 76px; }
.sw-klein { align-items: center; background: #1d2029; border: 1px solid var(--spv-feld-rand); border-radius: 8px; color: var(--spv-text); cursor: pointer; display: inline-flex; font-size: 12px; gap: 4px; padding: 5px 9px; }
.sw-klein.ist-an { border-color: var(--spv-akzent); }

.sw-avatar { background: linear-gradient(135deg, var(--a, #f4c542), var(--b, #c98a12)); border-radius: 50%; display: inline-block; flex: none; height: 34px; width: 34px; }
.sw-avatar.ist-gross { height: 44px; width: 44px; }

.sw-clips { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sw-clips[hidden] { display: none; }
.sw-clip { align-items: center; background: var(--spv-feld); border: 1px solid var(--spv-feld-rand); border-radius: 10px; display: grid; gap: 8px; grid-template-columns: 20px minmax(0, 1fr) 30px; padding: 7px 8px; }
.sw-clip > i { color: var(--spv-akzent); font-size: 18px; }
.sw-clip-text { display: grid; gap: 2px; min-width: 0; }
.sw-clip-text strong { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-clip-status { align-items: center; color: var(--spv-leise); display: flex; flex-wrap: wrap; font-size: 11.5px; gap: 2px 5px; line-height: 1.3; }
.sw-clip-status.ist-ok { color: #4ade80; }
.sw-clip-status.ist-fehler { color: #ffb3c0; }
.sw-weg { background: transparent; border: 0; border-radius: 8px; color: var(--spv-leise); cursor: pointer; font-size: 18px; height: 30px; width: 30px; }
.sw-weg:hover { color: var(--spv-text); }
.sw-balken { flex: 0 0 100%; height: 5px; }
.sw-unbestimmt { animation: sw-lauf 1.2s ease-in-out infinite; width: 40% !important; }
@keyframes sw-lauf { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }

.sw-fuss { display: grid; gap: 8px; margin-top: 8px; }
.sw-hinweis { color: var(--spv-leise); font-size: 12px; line-height: 1.4; margin: 0; }
.sw-rechte { align-items: flex-start; color: var(--spv-leise); cursor: pointer; display: flex; font-size: 11.5px; gap: 8px; line-height: 1.4; }
.sw-rechte input { flex: none; margin-top: 2px; }
.sw-los { background: var(--spv-primaer); border: 0; border-radius: 12px; box-shadow: 0 3px 0 rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .18); color: #fff; cursor: pointer; font-size: 15px; font-weight: 700; height: 44px; width: 100%; }
.sw-los:disabled { cursor: not-allowed; opacity: .45; }
.sw-los.ist-klein { height: 38px; width: auto; padding: 0 22px; }
.sw-hinweis-trennung, .sw-hinweis-ton { background: rgba(255, 190, 60, .1); border: 1px solid rgba(255, 190, 60, .35); border-radius: 10px; color: #ffd98a; font-size: 12px; line-height: 1.4; margin: 0; padding: 7px 9px; }
.sw-nicht-bereit { background: var(--sw-karte); border: 1px solid var(--spv-rand); border-radius: 14px; display: grid; gap: 6px; padding: 14px; }
.sw-nicht-bereit p { color: var(--spv-leise); font-size: 12.5px; margin: 0; }
.sw-link { background: transparent; border: 0; color: #ffb3c0; cursor: pointer; font: inherit; text-decoration: underline; }

/* --- Verlauf (WL-42): Hülle und Kopf von KI-Video, Kacheln im Kino-Raster --- */
.sw-rechts { margin-top: 28px; min-width: 0; }
/* Volle Breite wie der Verlauf von KI-Video (dort 1147 px bei 1440 px Fenster); die Hülle allein wäre 950 px. */
#workspace-body .sw-rechts > .cc-video-generator-shell { margin: 0; max-width: none; width: 100%; }

/* Anleitung am Anfang der Werkzeugseite über beiden Spalten (WL-09, 12.10.2026) -
   vorher im Reiter "So funktioniert's" der Ergebnisfläche. */
.sw-anleitung { display: grid; gap: 8px; grid-column: 1 / -1; justify-items: center; padding: 4px 8px 6px; text-align: center; }
.sw-anleitung h2 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.sw-anleitung p { color: var(--spv-leise); font-size: 14px; margin: 0; }
.sw-leer { border: 1px dashed #2a2d38; border-radius: 16px; display: grid; gap: 6px; justify-items: center; padding: 34px 20px; text-align: center; }
.sw-leer strong { color: var(--spv-text); font-size: 16px; }
.sw-leer p { color: var(--spv-leise); font-size: 14px; margin: 0; }
.sw-schritte { color: var(--spv-text); display: grid; gap: 10px 24px; grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: center; list-style: none; margin: 8px 0 0; padding: 0; text-align: left; }
.sw-schritte li { align-items: center; display: flex; font-size: 13px; gap: 10px; }
.sw-schritte b { align-items: center; background: #2a2c36; border-radius: 50%; display: inline-flex; flex: none; font-size: 12px; height: 26px; justify-content: center; width: 26px; }

.sw-raster { list-style: none; margin: 0; padding: 0; }
.sw-ergebnis-clip { background: #1c1e20; list-style: none; min-width: 0; overflow: hidden; position: relative; }
.sw-ergebnis-clip video { background: #0c0d12; display: block; height: 100%; width: 100%; }
.sw-ergebnis-clip p { margin: 0; }
/* Tonclip: Wellen-Symbol als Fläche, der Player erscheint erst beim Abspielen. */
.sw-kachel-ton { align-items: center; background: radial-gradient(circle at 50% 50%, #1b1f2a, #07080b 72%); color: #ff304f; display: flex; font-size: 46px; inset: 0; justify-content: center; position: absolute; }
.sw-ergebnis-clip.ist-ton audio { bottom: 10px; display: none; left: 10px; position: absolute; width: calc(100% - 20px); z-index: 5; }
.sw-ergebnis-clip.ist-ton.ist-spielt audio { display: block; }
/* Abspielknopf mittig; beim Abspielen übernimmt die Bedienleiste. */
.sw-kachel-los { align-items: center; background: rgba(15, 18, 27, .72); border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #fff; cursor: pointer; display: flex; font-size: 26px; height: 52px; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 52px; z-index: 4; }
.sw-kachel-los:hover { background: #ff304f; border-color: #ff304f; }
.sw-ergebnis-clip.ist-spielt .sw-kachel-los,
.sw-ergebnis-clip.ist-spielt .spv-kachel-text { display: none !important; }
#workspace-body#workspace-body .ist-kino-raster > .sw-ergebnis-clip.ist-spielt::after { display: none !important; }
/* Herunterladen oben rechts, Hinweis zum Ton oben links - über der Abdunkelung. */
.sw-download { align-items: center; background: rgba(15, 18, 27, .78); border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; color: #fff; display: inline-flex; font-size: 17px; height: 34px; justify-content: center; position: absolute; right: 8px; text-decoration: none; top: 8px; width: 34px; z-index: 4; }
.sw-download:hover { background: #ff304f; border-color: #ff304f; }
.sw-ergebnis-clip .sw-hinweis-ton { left: 8px; max-width: calc(100% - 58px); overflow: hidden; position: absolute; text-overflow: ellipsis; top: 8px; white-space: nowrap; z-index: 4; }
/* Laufende und gescheiterte Kacheln: Stand mittig, Titel immer sichtbar. */
.sw-kachel-mitte { align-content: center; display: grid; gap: 8px; inset: 0 0 46px; justify-items: center; padding: 14px; position: absolute; text-align: center; z-index: 3; }
.sw-kachel-mitte .spv-status { margin: 0; position: static; }
.sw-kachel-mitte .spv-balken { width: min(220px, 80%); }
.sw-kachel-mitte p { -webkit-box-orient: vertical; -webkit-line-clamp: 3; display: -webkit-box; overflow: hidden; }
#workspace-body#workspace-body .ist-kino-raster > .sw-ergebnis-clip:is(.ist-laeuft, .ist-fehler, .ist-fortschritt) .spv-kachel-text { opacity: 1; }

/* --- Dialoge --- */
.sw-huelle { background: rgba(6, 7, 10, .45); border-radius: 22px; inset: auto; position: fixed; z-index: 30; }
.sw-dialog { background: #14151b; border: 1px solid var(--spv-rand); border-radius: 18px; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); left: calc(50% - 260px); max-height: calc(100% - 20px); overflow: auto; position: absolute; top: 8px; width: 520px; }
.sw-dialog.ist-clips { top: 8px; }
.sw-dialog-zu { background: #1f2028; border: 1px solid var(--spv-feld-rand); border-radius: 50%; color: var(--spv-text); cursor: pointer; font-size: 15px; height: 28px; position: absolute; right: 12px; top: 12px; width: 28px; z-index: 2; }
.sw-dialog-kopf { align-items: center; display: flex; gap: 12px; justify-content: space-between; padding: 20px 20px 14px; }
.sw-dialog-kopf h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; text-transform: uppercase; }
.sw-dialog-kopf p { color: var(--spv-leise); font-size: 13px; line-height: 1.45; margin: 0; max-width: 240px; }
.sw-deko { align-items: center; display: grid; flex: none; gap: 4px; justify-items: center; width: 190px; }
.sw-deko-kreis { align-items: center; background: linear-gradient(135deg, #ff6a85, #ff3656); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 54, 86, .15); color: #fff; display: inline-flex; font-size: 28px; height: 54px; justify-content: center; width: 54px; }
.sw-wellen { background: #4a4d5c; display: block; flex: 1; height: 18px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='20'%3E%3Crect x='0' y='6' width='2' height='8' rx='1'/%3E%3Crect x='4' y='3' width='2' height='14' rx='1'/%3E%3Crect x='8' y='5' width='2' height='10' rx='1'/%3E%3Crect x='12' y='1' width='2' height='18' rx='1'/%3E%3Crect x='16' y='7' width='2' height='6' rx='1'/%3E%3Crect x='20' y='4' width='2' height='12' rx='1'/%3E%3Crect x='24' y='2' width='2' height='16' rx='1'/%3E%3Crect x='28' y='5' width='2' height='9' rx='1'/%3E%3Crect x='32' y='3' width='2' height='13' rx='1'/%3E%3Crect x='36' y='7' width='2' height='5' rx='1'/%3E%3Crect x='40' y='1' width='2' height='17' rx='1'/%3E%3Crect x='44' y='4' width='2' height='11' rx='1'/%3E%3Crect x='48' y='6' width='2' height='7' rx='1'/%3E%3Crect x='52' y='2' width='2' height='15' rx='1'/%3E%3Crect x='56' y='5' width='2' height='10' rx='1'/%3E%3Crect x='60' y='3' width='2' height='13' rx='1'/%3E%3Crect x='64' y='7' width='2' height='6' rx='1'/%3E%3Crect x='68' y='1' width='2' height='18' rx='1'/%3E%3Crect x='72' y='5' width='2' height='9' rx='1'/%3E%3Crect x='76' y='4' width='2' height='12' rx='1'/%3E%3Crect x='80' y='3' width='2' height='14' rx='1'/%3E%3Crect x='84' y='6' width='2' height='8' rx='1'/%3E%3Crect x='88' y='2' width='2' height='16' rx='1'/%3E%3Crect x='92' y='6' width='2' height='7' rx='1'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='20'%3E%3Crect x='0' y='6' width='2' height='8' rx='1'/%3E%3Crect x='4' y='3' width='2' height='14' rx='1'/%3E%3Crect x='8' y='5' width='2' height='10' rx='1'/%3E%3Crect x='12' y='1' width='2' height='18' rx='1'/%3E%3Crect x='16' y='7' width='2' height='6' rx='1'/%3E%3Crect x='20' y='4' width='2' height='12' rx='1'/%3E%3Crect x='24' y='2' width='2' height='16' rx='1'/%3E%3Crect x='28' y='5' width='2' height='9' rx='1'/%3E%3Crect x='32' y='3' width='2' height='13' rx='1'/%3E%3Crect x='36' y='7' width='2' height='5' rx='1'/%3E%3Crect x='40' y='1' width='2' height='17' rx='1'/%3E%3Crect x='44' y='4' width='2' height='11' rx='1'/%3E%3Crect x='48' y='6' width='2' height='7' rx='1'/%3E%3Crect x='52' y='2' width='2' height='15' rx='1'/%3E%3Crect x='56' y='5' width='2' height='10' rx='1'/%3E%3Crect x='60' y='3' width='2' height='13' rx='1'/%3E%3Crect x='64' y='7' width='2' height='6' rx='1'/%3E%3Crect x='68' y='1' width='2' height='18' rx='1'/%3E%3Crect x='72' y='5' width='2' height='9' rx='1'/%3E%3Crect x='76' y='4' width='2' height='12' rx='1'/%3E%3Crect x='80' y='3' width='2' height='14' rx='1'/%3E%3Crect x='84' y='6' width='2' height='8' rx='1'/%3E%3Crect x='88' y='2' width='2' height='16' rx='1'/%3E%3Crect x='92' y='6' width='2' height='7' rx='1'/%3E%3C/svg%3E") repeat-x; -webkit-mask-position: calc(var(--s, 0) * -3px) 50%; mask-position: calc(var(--s, 0) * -3px) 50%; -webkit-mask-size: auto 100%; mask-size: auto 100%; min-width: 0; }
.sw-wellen.ist-an { background: var(--spv-akzent); }
.sw-wellen.ist-leer { opacity: .35; }
.sw-wellen.ist-deko { background: #ff6a85; height: 26px; width: 190px; }
.sw-dialog-bereich { background: #101116; border-top: 1px solid var(--spv-rand); display: grid; gap: 12px; padding: 14px 16px 16px; }
.sw-bereich-kopf { align-items: center; color: var(--spv-leise); display: flex; font-size: 12.5px; gap: 10px; justify-content: space-between; }
.sw-bereich-kopf input { background: var(--spv-feld); border: 1px solid var(--spv-feld-rand); border-radius: 9px; color: var(--spv-text); flex: 1; font: inherit; font-size: 12.5px; min-width: 0; padding: 6px 10px; }
.sw-bereich-kopf input:focus { border-color: var(--spv-akzent); outline: none; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-chips[hidden] { display: none; }
.sw-chip { background: var(--spv-feld); border: 1px solid var(--spv-feld-rand); border-radius: 999px; color: var(--spv-text); cursor: pointer; font-size: 12px; padding: 5px 11px; }
.sw-chip.ist-an { background: rgba(255, 54, 86, .16); border-color: var(--spv-akzent); }

.sw-stimmen { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; max-height: 380px; overflow: auto; padding: 0 2px 0 0; }
.sw-stimme { background: #1c1d25; border: 1px solid #262833; border-radius: 12px; display: grid; gap: 8px; min-width: 0; padding: 9px; }
.sw-stimme:hover { border-color: #3a3d4a; }
.sw-stimme.ist-gewaehlt { border-color: var(--spv-akzent); }
.sw-stimme-wahl { align-items: center; background: transparent; border: 0; color: var(--spv-text); cursor: pointer; display: flex; gap: 8px; min-width: 0; padding: 0; text-align: left; }
.sw-stimme-text { display: grid; min-width: 0; }
.sw-stimme-text strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-stimme-text small { color: var(--spv-leise); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-probezeile { align-items: center; display: flex; gap: 6px; min-width: 0; }
.sw-probe { align-items: center; background: transparent; border: 0; color: var(--spv-text); cursor: pointer; display: inline-flex; flex: none; font-size: 18px; height: 22px; justify-content: center; padding: 0; width: 22px; }
.sw-probe.ist-an { color: var(--spv-akzent); }

.sw-dialog-tabs { align-items: center; display: flex; justify-content: space-between; padding: 12px; }
.sw-dialog-tabs .sw-pillen{display:flex;flex-wrap:wrap;gap:6px}
.sw-dialog-tabs .sw-pillen button{padding:7px 10px;border:1px solid #343744;border-radius:8px;background:#181b25;color:#cbd1de;font:inherit;font-size:12px;cursor:pointer}
.sw-dialog-tabs .sw-pillen button.ist-an{border-color:#ff3656;background:rgba(255,54,86,.12);color:#fff}
.sw-dialog-zu.ist-innen { position: static; }
.sw-bib-raster { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); max-height: 340px; overflow: auto; }
.sw-bib { align-items: center; aspect-ratio: 1; background: #1c1d25; border: 1px solid #262833; border-radius: 12px; color: var(--spv-text); cursor: pointer; display: grid; justify-items: center; overflow: hidden; padding: 0; position: relative; }
.sw-bib video { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.sw-bib small { background: linear-gradient(transparent, rgba(0, 0, 0, .75)); bottom: 0; font-size: 10.5px; left: 0; overflow: hidden; padding: 12px 6px 4px; position: absolute; right: 0; text-overflow: ellipsis; white-space: nowrap; }
.sw-bib-play { background: rgba(0, 0, 0, .5); border-radius: 50%; font-size: 20px; padding: 4px; position: relative; }
.sw-bib-ton { color: var(--spv-akzent); font-size: 30px; }
.sw-bib.ist-upload { border-style: dashed; border-color: var(--sw-strich); gap: 6px; align-content: center; }
.sw-bib.ist-upload i { font-size: 26px; }
.sw-bib.ist-upload strong { font-size: 12px; }
.sw-bib-haken { align-items: center; background: var(--spv-primaer); border-radius: 50%; color: #fff; display: none; font-size: 13px; height: 20px; justify-content: center; position: absolute; right: 6px; top: 6px; width: 20px; }
.sw-bib.ist-gewaehlt { border-color: var(--spv-akzent); box-shadow: 0 0 0 2px var(--spv-akzent) inset; }
.sw-bib.ist-gewaehlt .sw-bib-haken { display: inline-flex; }
.sw-dialog-fuss { background: #101116; border-top: 1px solid var(--spv-rand); display: flex; justify-content: flex-end; padding: 10px 16px; }

@media (max-width: 900px) {
  .sw-formular { grid-template-columns: minmax(0, 1fr); }
  .sw-formular > .sw-karte { min-height: 126px; }
  .sw-dialog, .sw-dialog.ist-clips { left: 8px; right: 8px; top: 8px; width: auto; }
  .sw-dialog-kopf { flex-wrap: wrap; }
  .sw-deko { display: none; }
  .sw-stimmen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-huelle { position: fixed; border-radius: 0; }
  .sw-huelle .sw-dialog { max-height: calc(100dvh - 16px); }
}
/* MOB19-16 (19.10.2026): Am Tablet lag die bildschirmweite Hülle (position: fixed) unter der Seitenleiste – das Werkzeugfenster
   ist eine eigene Ebene (z-index 7), die Leiste liegt darüber (10). Die feste Hülle nutzt den sichtbaren Panelrahmen; beide Fenster
   beginnen oben und enden vor dem unteren Bildschirmrand (das Clips-Fenster stand 150 px tiefer und ragte quer heraus). */
@media (min-width: 761px) and (max-width: 1100px) {
  .sw-huelle { border-radius: 22px; position: fixed; }
  .sw-dialog, .sw-dialog.ist-clips { top: 8px; }
  .sw-huelle .sw-dialog { max-height: calc(100% - 16px); }
  /* Drei Stimmen je Zeile kürzten Namen und Beschreibung („Roger - Laid…"); am Tablet zwei. */
  .sw-stimmen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sw-anleitung h2 { font-size: clamp(19px, 5.4vw, 26px); }
  .sw-schritte { grid-template-columns: minmax(0, 1fr); }
}

/* DESK13-25/26: ein Titel und eine ruhigere, besser lesbare Anleitung. */
#factory-workspace:has([data-sw-seite]) .workspace-header { display: none !important; }
.sw-anleitung { gap: 16px; padding: 28px 12px 0; }
.sw-anleitung h2 { line-height: 1.16; }
/* Bild über der Überschrift (WL14-32; 684 px = 10 % kleiner nach Rückmeldung vom 15.10.2026): breit, weicher Rand nach unten; am Handy über die volle Breite. */
.sw-bild { aspect-ratio: 16 / 7; background: #0b0c11 url("../../images/werkzeug-einstieg/stimmwechsel.webp") center / cover no-repeat; border-radius: 16px; max-width: 684px; position: relative; width: 100%; }
.sw-bild::after { background: linear-gradient(180deg, rgba(11, 12, 17, 0) 58%, rgba(11, 12, 17, .7)); border-radius: inherit; content: ""; inset: 0; position: absolute; }
@media (max-width: 760px) { .sw-bild { aspect-ratio: 16 / 9; border-radius: 12px; } }
.sw-anleitung p { font-size: 15px; line-height: 1.5; }
.sw-schritte { gap: 20px 28px; margin-top: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(960px, 100%); }
.sw-schritte li { align-items: flex-start; font-size: 14px; line-height: 1.55; gap: 12px; }
.sw-schritte b { width: 30px; height: 30px; font-size: 13px; }
.sw-links { margin-top: 32px; padding: 22px; gap: 20px; }
.sw-formular { gap: 22px; }
.sw-formular > .sw-karte { min-height: 180px; gap: 12px; }
.sw-fuss { gap: 14px; }
.sw-rechte { font-size: 12px; line-height: 1.5; }
.sw-los { height: 48px; }
@media(max-width:760px) {
 .sw-anleitung { padding: 20px 4px 0; gap: 12px; }
 .sw-schritte { grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
 .sw-links { margin-top: 24px; padding: 16px; }
 .sw-formular { gap: 16px; }
}
/* MOB19-16: Tablet hochkant – drei Schritte in je ~150 px brachen fast jedes Wort um; dort untereinander wie am Handy. */
@media (min-width: 761px) and (max-width: 959px) {
 .sw-schritte { grid-template-columns: 1fr; gap: 14px; }
}
