/* Werbekundenportal-Demo: ergänzende Stile in Places-Gestaltung (Farben, Radien, Schatten aus app.css; app.css bleibt unverändert). */

/* -------------------------------------------------------------- Allgemein */
.w-nur-vorlesen {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.w-sprunglink {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 8px 12px; background: var(--surface); border: 1px solid var(--olive); border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none; color: var(--olive-dark);
}
.w-sprunglink:focus { top: 8px; }
.w-zurueck { color: var(--text-muted); text-decoration: none; font-weight: 550; }
.w-zurueck:hover { color: var(--text); text-decoration: underline; }
.w-leer-aktion { justify-content: center; padding: 0 18px 22px; }
.w-ergebnis { container-type: inline-size; display: flex; flex-direction: column; gap: 16px; }
.page h1.page-title:focus, .page h1.page-title:focus-visible { outline: none; }
a.btn { text-decoration: none; }
.page-head > div:first-child { flex: 1 1 320px; min-width: 0; }
.w-panel-aktion { padding: 6px 18px 18px; }
.panel-titel + .table-wrap, .w-panel > .panel-titel { padding-bottom: 8px; }

/* ------------------------------------------------------------- Rahmen */
.w-demoband {
  background: var(--terracotta-tint); border-bottom: 1px solid #E8C9BE; color: var(--text);
  padding: 9px 34px; font-size: 12.5px; line-height: 1.45;
}
.w-demoband-marke { color: var(--terracotta); letter-spacing: .05em; text-transform: uppercase; font-size: 11.5px; margin-right: 6px; }
.w-produkt { margin: 6px 0 0 2px; font-size: 12px; color: var(--text-faint); font-weight: 600; letter-spacing: .02em; }
.w-demo-box { display: flex; flex-direction: column; gap: 10px; }
.w-demo-feld .select { padding: 7px 30px 7px 10px; font-size: 13px; }
.w-demo-feld .field-hint { font-size: 11.5px; }
.w-speicher-warnung { color: var(--danger); font-weight: 600; }
.w-rolle-chip { margin-left: auto; background: var(--terracotta-tint); color: var(--terracotta); border-color: #E8C9BE; flex: 0 1 auto; min-width: 0; max-width: none; white-space: normal; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.topbar .wordmark, .topbar > :nth-child(2) { flex: none; }
.sidebar { overflow-y: auto; }

/* Fokus an Feldern deutlich sichtbar (zusätzlich zum Rand/Schatten aus app.css) */
.input:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; }

/* ---------------------------------------------------------- Marken, Chips */
.w-status-eingereicht { background: #FBF3DF; color: #7A5A12; border-color: #EBD9A6; }
.w-status-freigegeben { background: var(--olive-tint); color: var(--olive-dark); border-color: var(--olive-border); }
.w-status-abgelehnt { background: var(--danger-tint); color: var(--danger); border-color: #E7C2BA; }
.w-status-pausiert { background: #ECEAF3; color: #4A4770; border-color: #D3D0E4; }
.w-status-entwurf, .w-status-unbekannt { background: #F3F0EA; color: var(--text-muted); border-color: var(--border-strong); }
.w-beispiel { background: var(--surface-sunk); color: var(--text-muted); border-color: var(--border-strong); font-weight: 600; width: fit-content; }
.w-geaendert { margin-left: 6px; background: #FBF3DF; color: #7A5A12; border-color: #EBD9A6; }
.w-zukunft { background: #F3F0EA; color: var(--text-muted); border: 1px dashed var(--border-strong); }
.chip-neutral { background: var(--surface-sunk); color: var(--text-muted); border-color: var(--border-strong); }

/* "Anzeige": Text, immer sichtbar, kräftig abgesetzt */
.w-anzeige-label {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px;
  background: var(--terracotta); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ------------------------------------------------------------ Kennzahlen */
.w-kennzahl-hinweis { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--text-muted); font-size: 13px; }
.w-kacheln { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.w-kacheln-sechs { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.w-kachel {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.w-kachel .kachel-wert { font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.w-kachel .w-beispiel { margin-top: 8px; font-size: 11px; padding: 2px 8px; }
.w-mini-kennzahlen { margin: 0; padding: 14px 18px 4px; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.w-mini-kennzahlen dt { font-size: 12px; color: var(--text-faint); font-weight: 600; }
.w-mini-kennzahlen dd { margin: 2px 0 0; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.w-hinweisliste { margin: 0; padding: 14px 18px 18px 36px; display: flex; flex-direction: column; gap: 6px; color: var(--text-muted); max-width: 90ch; }
.w-hinweise { background: var(--surface-sunk); }
.w-tageswerte th[scope="row"] { font-weight: 600; text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); background: transparent; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
.w-tageswerte { min-width: 760px; }
.w-tageswerte th, .w-tageswerte td { padding-left: 12px; padding-right: 12px; }
.w-tageswerte th { white-space: normal; letter-spacing: .03em; vertical-align: bottom; }
.w-tageswerte th[scope="row"] { padding-left: 12px; padding-right: 12px; }
.w-balken-zelle { min-width: 110px; }
.w-balken { display: block; height: 10px; border-radius: 999px; background: var(--olive); min-width: 2px; }

/* ----------------------------------------------- Tabelle oder Karten */
.w-karten { display: none; flex-direction: column; gap: 12px; padding: 14px; }
.w-kampagnen { min-width: 860px; }
.cell-link { color: var(--text); text-decoration: none; }
.cell-link:hover { color: var(--olive-dark); text-decoration: underline; }
@container (max-width: 880px) {
  .w-tabelle { display: none; }
  .w-karten { display: flex; }
}
.w-filterzeile { display: flex; flex-wrap: wrap; gap: 10px; }
.w-filter { max-width: 100%; flex-wrap: wrap; }
.w-filter .seg-option span { white-space: normal; text-align: center; }
.w-eigener-zeitraum { display: contents; }

/* ------------------------------------------------------------- Detail */
.w-detail .panel-titel { padding-bottom: 2px; }
.w-panel > .state, .w-panel > .note { margin: 0; }
.w-panel > .w-hinweisliste { padding-top: 12px; }
.w-panel-fuss { padding: 0 18px 14px; }
.w-entscheidung { padding: 14px 18px 4px; }
.w-meldung:empty { display: none; }
.w-auslieferung { padding: 14px 18px 8px; display: flex; flex-direction: column; gap: 8px; }
.w-auslieferung-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.w-gruende { margin: 0; padding-left: 20px; color: var(--text-muted); }
.w-vergleich th, .w-vergleich td { vertical-align: top; }
.w-vergleich { min-width: 560px; }
.w-vergleich tbody th { text-align: left; font-weight: 600; padding: 13px 18px; border-bottom: 1px solid var(--border); background: transparent; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); white-space: normal; }
.w-alt { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--text-faint); }
.w-neu { font-weight: 600; }

/* Statusverlauf */
.w-verlauf { list-style: none; margin: 0; padding: 14px 18px 4px; display: flex; flex-direction: column; }
.w-verlauf-eintrag { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.w-verlauf-eintrag::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--border); }
.w-verlauf-eintrag:last-child::before { display: none; }
.w-verlauf-punkt { flex: none; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); position: relative; z-index: 1; }
.ist-aktuell > .w-verlauf-punkt { background: var(--olive); border-color: var(--olive); }
.w-verlauf-inhalt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.w-verlauf-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.w-aktuell { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--olive-dark); }
.w-verlauf-zeit { font-size: 12.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.w-verlauf-grund { margin: 2px 0 0; color: var(--text-muted); overflow-wrap: anywhere; max-width: 70ch; }

/* --------------------------------------------------------- Assistent */
.w-schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: s; }
.w-schritt-knopf {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  font: inherit; font-weight: 600; color: var(--text-muted); cursor: pointer;
}
.w-schritt-knopf:disabled { cursor: default; color: var(--text-faint); background: var(--surface-sunk); border-color: var(--border); }
.w-schritt-nr {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-sunk); border: 1px solid var(--border-strong); font-size: 12px; font-weight: 700;
}
.ist-aktiv > .w-schritt-knopf { border-color: var(--olive); background: var(--olive-tint); color: var(--olive-dark); }
.ist-aktiv .w-schritt-nr { background: var(--olive); border-color: var(--olive); color: #fff; }
.ist-fertig > .w-schritt-knopf { color: var(--olive-dark); }
.ist-fertig .w-schritt-nr { background: var(--olive-tint); border-color: var(--olive-border); color: var(--olive-dark); }
.w-fehlerliste {
  padding: 12px 16px; border: 1px solid #E7C2BA; border-left: 3px solid var(--danger); border-radius: var(--radius-s);
  background: var(--danger-tint); color: var(--text); font-size: 13.5px;
}
.w-fehlerliste ul { margin: 6px 0 0; padding-left: 20px; }
.w-fehler-feld { font-weight: 650; color: var(--danger); }
.w-formular { overflow: visible; }
.w-formular .form-section-title:focus { outline: none; }
.w-felder-stapel { display: flex; flex-direction: column; gap: 16px; }
.w-zaehler { margin: 0; font-size: 12px; color: var(--text-faint); text-align: right; font-variant-numeric: tabular-nums; }
.w-abschnittsfuss, .w-gastgeber-box:not(:empty) { padding: 0 24px 22px; }
.w-aktionen { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.w-aktionen-links, .w-aktionen-rechts { display: flex; flex-wrap: wrap; gap: 10px; }
.w-speicherstand { margin: 0; min-height: 1.4em; color: var(--olive-dark); font-weight: 600; font-size: 13px; text-align: right; }

.w-platzwahl, .w-motivwahl { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.w-platzwahl legend, .w-motivwahl legend { padding: 0; margin-bottom: 6px; }
.w-plaetze { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.w-platz {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px; cursor: pointer; min-width: 0;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  transition: border-color .14s ease, background-color .14s ease;
}
.w-platz:hover:not(.ist-gesperrt) { background: var(--surface-sunk); }
.w-platz.ist-gewaehlt { border-color: var(--olive); background: var(--olive-tint); box-shadow: 0 0 0 1px var(--olive); }
.w-platz:focus-within { outline: 2px solid var(--olive); outline-offset: 2px; }
.w-platz.ist-gesperrt { cursor: not-allowed; border-style: dashed; background: var(--surface-sunk); color: var(--text-muted); }
.w-radio { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--olive); }
.w-platz-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.w-platz-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.w-platz-name { font-size: 15px; }
.w-platz-kanal { font-size: 12.5px; color: var(--text-faint); }
.w-platz-beschr { font-size: 13px; color: var(--text-muted); }
.w-platz-bedingung { font-size: 12.5px; font-weight: 600; color: var(--terracotta); }
.w-platz-frei { color: var(--olive-dark); }

.w-motive { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.w-motiv-option {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.w-motiv-option .w-radio { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.w-motiv-option:focus-within { outline: 2px solid var(--olive); outline-offset: 2px; }
.w-motiv-option.ist-gewaehlt { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); background: var(--olive-tint); }
.w-motiv-option.ist-gewaehlt::after {
  content: '✓'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.w-motiv-name { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }

.w-zweispaltig { display: grid; gap: 0; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.w-spalte-felder { min-width: 0; }
.w-spalte-vorschau { padding: 22px 24px; border-left: 1px solid var(--border); background: var(--surface-sunk); position: sticky; top: 16px; min-width: 0; }
.w-spalte-vorschau .form-section-title { margin-bottom: 12px; }
.w-live-vorschau .w-geraet-mobil { max-width: 100%; }

/* ----------------------------------------------- Motivflächen (lokal) */
.w-motiv {
  --motiv: #6B7A4B; position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 7; border-radius: 8px;
  background: linear-gradient(135deg, var(--motiv), color-mix(in srgb, var(--motiv) 72%, #000));
}
.w-motiv-1::before { content: ''; position: absolute; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); }
.w-motiv-1::after { content: ''; position: absolute; left: 10%; bottom: -35%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); }
.w-motiv-2 { background: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 9px, transparent 9px 18px), linear-gradient(135deg, var(--motiv), color-mix(in srgb, var(--motiv) 72%, #000)); }
.w-motiv-3::before { content: ''; position: absolute; inset: 14% 22%; border-radius: 50%; border: 6px solid rgba(255,255,255,.28); }
.w-motiv-3::after { content: ''; position: absolute; inset: 32% 38%; border-radius: 50%; background: rgba(255,255,255,.2); }
.w-motiv-klein { aspect-ratio: 4 / 3; }
.w-motiv-leer { background: var(--surface-sunk); border: 1px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 12.5px; }
.w-motiv-leer::before, .w-motiv-leer::after { display: none; }

/* --------------------------------------------------------- Vorschau */
.w-vorschau-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px 0; }
.w-vorschau-hinweis { margin: 0; color: var(--text-muted); font-size: 13px; max-width: 60ch; }
.form-section .w-vorschau-kopf { padding: 0 0 12px; }
.w-vorschau-bereich { padding: 14px 18px 16px; }
.form-section .w-vorschau-bereich { padding: 0 0 14px; }
.w-vorschau-bereich + .note, .w-vorschau-bereich + .w-teilnahme { margin: 0 18px 18px; }
.form-section .w-vorschau-bereich + .note { margin: 0; }
.w-vorschau { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.w-vorschau .w-keine-teilnahme { max-width: none; }
.w-veraltet { display: flex; flex-direction: column; gap: 8px; max-width: none; }
.w-veraltet[hidden] { display: none; }

.w-geraet { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-1); min-width: 0; }
.w-geraet-leiste { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #EFEBE3; border-bottom: 1px solid var(--border-strong); }
.w-punkte { display: inline-flex; gap: 5px; }
.w-punkte i { width: 9px; height: 9px; border-radius: 50%; background: #CFC8BA; display: block; }
.w-geraet-titel { font-size: 12px; color: var(--text-muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-geraet-flaeche { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.w-geraet-mobil { width: 100%; max-width: 340px; margin: 0 auto; border: 7px solid #2B2924; border-radius: 28px; box-shadow: var(--shadow-2); }
.w-geraet-mobil .w-geraet-leiste { justify-content: center; padding: 6px 10px; }
.w-geraet-mobil .w-punkte { display: none; }
.w-geraet-mobil .w-geraet-flaeche { padding: 14px 12px; }
.w-sz-titel { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.w-sz-unter { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.w-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.w-pille { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 12px; color: var(--text-muted); }
.w-portal-liste { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); align-items: start; }
.w-geraet-mobil .w-portal-liste { grid-template-columns: 1fr; }
.w-red { display: flex; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); }
.w-red-bild { flex: none; width: 56px; height: 56px; border-radius: 6px; background: #E9E5DC; }
.w-red-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 12.5px; color: var(--text-muted); }
.w-linie { display: block; height: 7px; border-radius: 4px; background: #E9E5DC; }
.w-linie-kurz { width: 60%; }

.w-empfehlungen { display: flex; flex-direction: column; gap: 8px; }
.w-empf { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--olive); border-radius: var(--radius-s); font-size: 13px; }
.w-empf span { color: var(--text-muted); font-size: 12.5px; }
.w-trenner { display: flex; align-items: center; gap: 10px; color: var(--text-faint); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.w-trenner::before, .w-trenner::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }
.w-aufsteller { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.w-geraet-mobil .w-aufsteller { grid-template-columns: 1fr; }
.w-wetter { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: linear-gradient(160deg, #EEF3F8, #DDE7F0); border: 1px solid #C9D6E2; justify-content: center; }
.w-wetter-wert { font-size: 22px; letter-spacing: -.01em; }
.w-wetter-neben { font-size: 12.5px; color: var(--text-muted); }

/* Die Anzeige selbst: eigener Block, deutlich anders als redaktionelle Einträge */
.w-ad {
  display: flex; flex-direction: column; gap: 10px; padding: 12px; min-width: 0;
  background: var(--terracotta-tint); border: 1px solid #E3B9AB; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(179, 84, 58, .08);
}
.w-ad-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.w-ad-absender { font-size: 12.5px; color: var(--text-muted); font-weight: 600; overflow-wrap: anywhere; }
.w-ad-koerper { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.w-ad-titel { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; overflow-wrap: anywhere; }
.w-ad-text { margin: 0; font-size: 13.5px; color: var(--text-muted); overflow-wrap: anywhere; white-space: pre-line; }
.ist-leer { color: var(--text-faint); font-style: italic; font-weight: 500; }
.w-ad-cta { display: inline-flex; padding: 6px 12px; border-radius: var(--radius-s); background: var(--terracotta); color: #fff; font-weight: 600; font-size: 13px; }
.w-ad-ziel { font-size: 11.5px; color: var(--text-faint); overflow-wrap: anywhere; }
.w-ad-aufsteller { justify-content: center; }

.w-teilnahme-stand { display: inline; }

/* ------------------------------------------------------- Prüfung, Gastgeber */
.w-unterkuenfte { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.w-unterkunft { padding-bottom: 8px; }
.w-unterkunft-ort { margin: 0; padding: 0 18px 8px; color: var(--text-muted); }
.w-kanal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 18px; border-top: 1px solid var(--border); }
.w-kanal-text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }

/* ------------------------------------------------------ Responsive */
@media (max-width: 900px) {
  .w-demoband { padding: 9px 14px; }
  .layout:not(.nav-open) .sidebar { visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .nav-open .sidebar { visibility: visible; }
  .topbar { z-index: 40; }
  .w-zweispaltig { grid-template-columns: 1fr; }
  .w-spalte-vorschau { position: static; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .w-aufsteller { grid-template-columns: 1fr; }
  .w-formular .w-abschnittsfuss, .w-gastgeber-box:not(:empty) { padding: 0 16px 20px; }
  .w-spalte-vorschau { padding: 18px 16px; }
  .w-aktionen { flex-direction: column-reverse; align-items: stretch; }
  .w-aktionen-links, .w-aktionen-rechts { flex-direction: column-reverse; }
  .w-aktionen .btn { width: 100%; }
  .w-speicherstand { text-align: center; }
  .w-geraet-flaeche { padding: 12px; }
}
@media (max-width: 480px) {
  .w-schritt-knopf { padding: 6px; }
  .w-schritt:not(.ist-aktiv) .w-schritt-titel { display: none; }
  .w-kachel .kachel-wert { font-size: 24px; }
  .w-vorschau-bereich { padding: 12px; }
  .w-verlauf { padding: 12px 14px 2px; }
  .w-platz { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-platz, .layout:not(.nav-open) .sidebar { transition: none; }
}

/* -------------------------------------------------------------- Gestaltungsvorschau (unabhängig von Teilnahme und Umfeld) */
.w-gestaltung { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-sunk); }
.w-gestaltung-kennzeichen { margin: 0; font-size: 13px; font-weight: 700; color: var(--olive-dark); }
.w-gestaltung-hinweis { margin: 0; font-size: 12.5px; color: var(--text-muted); max-width: 64ch; }
.w-gestaltung-flaeche { min-width: 0; }
.w-gestaltung-desktop .w-gestaltung-flaeche { max-width: 560px; }
.w-gestaltung-mobil .w-gestaltung-flaeche { max-width: 320px; }
.w-live-vorschau .w-gestaltung { margin-bottom: 12px; }
.w-vorschau-bereich { display: flex; flex-direction: column; gap: 12px; }

/* Veralteter Stand bei offenem Dialog: abhängige Teile sofort ausblenden (der Dialog bleibt bedienbar) */
body[data-veraltet] .w-vorschau,
body[data-veraltet] .w-teilnahme-stand,
body[data-veraltet] [aria-label="Simulierte Auslieferung"] { display: none; }
