/* ============================================================
   workshops.css — “richtig geil” Workshop Modal Styling
   Voraussetzung: wird NACH modal.css geladen
   Regel: was UNTEN steht hat höchste Prio (bei Dopplungen)
   ============================================================ */

/* ------------------------------------------------------------
   Tokens (nur fürs Workshop-Modal, ohne globale Side-Effects)
   ------------------------------------------------------------ */
.ds-modal {
  --ws-radius-xl: 20px;
  --ws-radius-lg: 16px;
  --ws-radius-md: 14px;

  --ws-border: rgba(0, 0, 0, 0.08);
  --ws-border-soft: rgba(0, 0, 0, 0.06);

  --ws-glass: rgba(255, 255, 255, 0.72);
  --ws-glass-strong: rgba(255, 255, 255, 0.82);

  --ws-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  --ws-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);

  --ws-blur: blur(12px) saturate(135%);
}

/* ------------------------------------------------------------
   Dialog fast fullscreen + smoother “sheet”
   ------------------------------------------------------------ */
dialog.ds-modal {
  width: calc(92% - 24px);
  max-width: calc(92% - 24px);
  height: calc(92% - 24px);
  max-height: calc(92% - 24px);
  margin: auto;
  padding: 0;
  border-radius: var(--ws-radius-xl);

  /* falls modal.css background hart ist: */
  box-shadow: var(--ws-shadow);
  overflow: hidden;
}

/* Inner nimmt den Platz, runde Ecken bleiben */
.ds-modal .ds-modal-inner {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: clamp(12px, 2vh, 18px) clamp(12px, 2vw, 22px);
  overflow: hidden; /* nur main scrollt */
}

/* ------------------------------------------------------------
   Header / Hero (bleibt wie gewünscht)
   ------------------------------------------------------------ */
.ds-modal .ds-modal-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;

  padding: 1.1rem 1.1rem 1.25rem;
  border-radius: var(--ws-radius-lg);

  background:
    var(--ds-modal-hero, none),
    radial-gradient(
      1200px 520px at 15% 0%,
      rgba(255, 255, 255, 0.35),
      transparent 55%
    ),
    radial-gradient(
      900px 420px at 85% 0%,
      rgba(255, 255, 255, 0.28),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.24)
    );
  background-size: cover;
  background-position: center;

  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--ws-shadow-soft);
  backdrop-filter: var(--ws-blur);
}

.ds-modal .ds-modal-head-left {
  max-width: 124ch;
}

.ds-modal .ds-modal-head-left h2 {
  margin: 0 0 0.55rem 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.ds-modal .ds-tldr-label {
  margin-right: 0.35rem;
}

.ds-modal .ds-modal-head-left p.muted {
  margin: 0.25rem 0 0;
  max-width: 100ch;
}

/* Muted nur im Modal begrenzen (nicht global) */
.ds-modal .muted {
  color: var(--muted);
  max-width: 80%;
}

/* Close-Button: sichtbar + “modern pill” */
.ds-modal .ds-icon-btn[data-close-modal] {
  position: sticky;
  top: 0.5rem;
  justify-self: end;
  align-self: start;
  z-index: 2;

  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--ws-blur);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.ds-modal .ds-icon-btn[data-close-modal]:hover {
  transform: translateY(-1px);
}
.ds-modal .ds-icon-btn[data-close-modal]:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Body Layout (mehr “Editorial” + mehr Luft)
   ------------------------------------------------------------ */
.ds-modal .ds-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px; /* etwas mehr Sidebar */
  gap: clamp(16px, 2vw, 28px);

  height: calc(96vh - 220px);
  margin-top: 1rem;
}

/* Main scrollt */
.ds-modal .ds-modal-main {
  overflow-y: auto;
  padding-right: 0.75rem;
  scroll-behavior: smooth;
}

/* Scrollbar dezent */
.ds-modal .ds-modal-main::-webkit-scrollbar {
  width: 10px;
}
.ds-modal .ds-modal-main::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.45);
}
.ds-modal .ds-modal-main::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
}

/* Sections luftiger + klare Typo */
.ds-modal .ds-modal-section {
  margin: 0 0 1.25rem;
}

.ds-modal .ds-modal-section h3 {
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

/* Listen ruhiger */
.ds-modal .ds-modal-section .ds-list {
  margin: 0.6rem 0 0;
}

/* Panels/Items einheitlich “glass card” */
.ds-modal .ds-item.card,
.ds-modal .ds-panel {
  border-radius: var(--ws-radius-lg);
  border: 1px solid var(--ws-border-soft);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--ws-shadow-soft);
  backdrop-filter: var(--ws-blur);
}

/* Item layout: optional Bild + Content */
.ds-modal .ds-item.card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  overflow: hidden;
}

.ds-modal .ds-item-media {
  position: relative;
  min-height: 120px;
  background: rgba(0, 0, 0, 0.04);
}
.ds-modal .ds-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-modal .ds-item-content {
  padding: 14px 14px 14px 0;
}

.ds-modal .ds-item h4 {
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.ds-modal .ds-item p.muted {
  margin: 0;
  max-width: 100%;
}

/* Kleine “Kicker/Lead/Hero” innerhalb einer Section (für die alten Inhalte) */
.ds-modal .ds-section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: start;

  padding: 16px;
  border-radius: var(--ws-radius-lg);
  border: 1px solid var(--ws-border-soft);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--ws-shadow-soft);
  backdrop-filter: var(--ws-blur);
  margin: 0 0 0.9rem;
}

.ds-modal .ds-section-hero .ds-kicker {
  margin: 0 0 0.4rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ds-modal .ds-section-hero .ds-lead {
  margin: 0 0 0.6rem;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ds-modal .ds-section-hero-text p.muted {
  max-width: 100%;
}

.ds-modal .ds-section-hero-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.03);
  min-height: 180px;
}
.ds-modal .ds-section-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Callouts (optional) */
.ds-modal .ds-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0.75rem 0 0.25rem;
}

.ds-modal .ds-callout {
  padding: 14px;
}

.ds-modal .ds-callout-h {
  margin: 0 0 0.35rem;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.ds-modal .ds-callout-b {
  margin: 0;
  max-width: 100%;
}

/* ------------------------------------------------------------
   Sidebar: modern, klar getrennt
   ------------------------------------------------------------ */
.ds-modal .ds-modal-side {
  position: sticky;
  top: 1rem;
  align-self: start;

  display: grid;
  gap: 14px;
}

/* Info (Meta/Facts/Fokus) “steckbrief” */
.ds-modal .ds-modal-meta,
.ds-modal .ds-modal-focus {
  background: var(--ws-glass);
  border: 1px solid var(--ws-border-soft);
  border-radius: var(--ws-radius-xl);
  box-shadow: var(--ws-shadow-soft);
  backdrop-filter: var(--ws-blur);
}

/* Unified Meta */
.ds-modal .ds-modal-meta {
  padding: 16px;
}

.ds-modal .ds-modal-meta-h {
  font-weight: 780;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 12px 0;
}

.ds-modal .ds-modal-meta-rows {
  display: grid;
}

.ds-modal .ds-meta-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  align-items: start;
}

.ds-modal .ds-meta-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.ds-modal .ds-meta-k {
  font-size: 12px;
  opacity: 0.62;
  line-height: 1.2;
}

.ds-modal .ds-meta-v {
  font-size: 13px;
  font-weight: 680;
  line-height: 1.25;
  word-break: break-word;
}

.ds-modal .ds-meta-row--fact .ds-meta-k {
  opacity: 0.58;
}

.ds-modal .ds-meta-sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 8px 0;
}

/* Fokus-Badge */
.ds-modal .ds-modal-focus {
  padding: 14px 16px;
}

.ds-modal .ds-modal-focus-k {
  font-size: 12px;
  opacity: 0.62;
  margin-bottom: 10px;
}

.ds-modal .ds-modal-focus-v {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 720;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Actions: Buttons eindeutig, “floating CTA feel” */
.ds-modal .ds-modal-actions {
  background: var(--ws-glass-strong);
  border: 1px solid var(--ws-border-soft);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  backdrop-filter: var(--ws-blur);

  display: grid;
  gap: 10px;
}

.ds-modal .ds-modal-actions .btn {
  width: 100%;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

/* Hover states für klare Klickbarkeit */
.ds-modal .ds-modal-actions .btn:hover {
  transform: translateY(-1px);
}
.ds-modal .ds-modal-actions .btn:active {
  transform: translateY(0);
}

/* Primärbutton stärker */
.ds-modal .ds-modal-actions .btn.primary {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* Ghost Button klar sekundär */
.ds-modal .ds-modal-actions .btn.ghost {
  opacity: 0.95;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ds-modal .ds-modal-body {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .ds-modal .ds-section-hero {
    grid-template-columns: 1fr;
  }

  .ds-modal .ds-callouts {
    grid-template-columns: 1fr;
  }

  .ds-modal .ds-item.card {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  dialog.ds-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .ds-modal .ds-modal-inner {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 14px;
  }

  .ds-modal .ds-modal-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: calc(100vh - 210px);
  }

  .ds-modal .ds-modal-side {
    position: static;
    order: 2;
  }

  .ds-modal .ds-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ds-modal .ds-item.card {
    grid-template-columns: 1fr;
  }

  .ds-modal .ds-item-content {
    padding: 14px;
  }

  /* Actions unten sticky */
  .ds-modal .ds-modal-actions {
    position: sticky;
    bottom: 0;
    padding: 0.75rem 0 0;
    border-radius: 18px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.88) 30%,
      rgba(255, 255, 255, 0.96)
    );
    backdrop-filter: blur(10px) saturate(140%);
    box-shadow: none;
    border: none;
  }
}

/* ============================================================
   FINAL OVERRIDES (höchste Priorität, wie gewünscht)
   - Alles, was hier unten steht, “gewinnt” bei Dopplungen
   ============================================================ */

/* Dialog fast fullscreen (dein letztes Setup bleibt führend) */
dialog.ds-modal {
  width: calc(90% - 24px);
  max-width: calc(90% - 24px);
  height: calc(90% - 24px);
  max-height: calc(90% - 24px);
  margin: auto;
  padding: 0;
}

/* Body Layout: Sidebar breit + mehr Luft (dein Wert bleibt Basis) */
.ds-modal .ds-modal-body {
  grid-template-columns: minmax(0, 1fr) 400px;
  height: calc(96vh - 220px);
}

/* Muted nur im Modal begrenzen (nicht global) */
.ds-modal .muted {
  max-width: 80%;
}

/* Mobile: echtes Fullscreen (dein Verhalten bleibt) */
@media (max-width: 900px) {
  dialog.ds-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .ds-modal .ds-modal-inner {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 14px;
  }

  .ds-modal .ds-modal-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: calc(100vh - 210px);
  }

  .ds-modal .ds-modal-side {
    position: static;
    order: 2;
  }

  .ds-modal .ds-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ds-modal .ds-modal-actions {
    position: sticky;
    bottom: 0;
    padding: 0.75rem 0 0;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(255, 255, 255, 0.85) 30%,
      rgba(255, 255, 255, 0.95)
    );
    backdrop-filter: blur(8px);
  }
}

/* =========================
   FIXES (ganz unten gewinnt)
   ========================= */

/* 1) Kein globales Text-Verengen im Modal */
.ds-modal .muted {
  max-width: none;
}

/* 2) ds-item nur 2-spaltig, wenn wirklich Media existiert */
.ds-modal .ds-item.card:not(:has(.ds-item-media)) {
  grid-template-columns: 1fr;
}

.ds-modal .ds-item.card:not(:has(.ds-item-media)) .ds-item-content {
  padding: 14px;
}

.ds-modal .ds-modal-actions .btn.primary {
  background: linear-gradient(180deg, #111, #000);
  color: #fff;
  border: none;

  height: 48px;
  font-weight: 750;
  letter-spacing: -0.01em;

  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.ds-modal .ds-modal-actions .btn.ghost:not([data-close-modal]) {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #111;

  height: 44px;
  font-weight: 650;
}

.ds-modal .ds-modal-actions .btn.ghost[data-close-modal] {
  background: transparent;
  border: none;
  box-shadow: none;

  height: auto;
  padding: 6px 0;

  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
}

.ds-modal .ds-modal-actions .btn.ghost[data-close-modal]:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.ds-modal .ds-modal-actions {
  display: grid;
  gap: 10px;
}

.ds-modal .ds-modal-actions .btn.primary {
  margin-bottom: 4px;
}

/* ============================================================
   FINAL: Actions-Buttons (passen zum hellen Glass-Look)
   ganz unten einfügen -> höchste Prio
   ============================================================ */

/* Actions-Card etwas ruhiger/clean */
.ds-modal .ds-modal-actions {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 14px;
  gap: 10px;
}

/* Alle Buttons: gleiche Breite/Höhe + keine “komischen” Umbrüche */
.ds-modal .ds-modal-actions .btn {
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal; /* darf umbrechen */
  text-align: center;
}

/* PRIMARY: hell + premium (kein schwarzer Blob) */
.ds-modal .ds-modal-actions .btn.primary {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(0, 0, 0, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.14);

  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* SECONDARY: etwas “leiser” (klar als zweite Option) */
.ds-modal .ds-modal-actions .btn.ghost:not([data-close-modal]) {
  background: rgba(255, 255, 255, 0.55);
  color: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
  font-weight: 650;
}

/* CLOSE: als Link/Tertiary, nicht als Button */
.ds-modal .ds-modal-actions .btn.ghost[data-close-modal] {
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 0;
  padding: 8px 0 0;
  border-radius: 0;

  font-size: 13px;
  font-weight: 600;
  opacity: 0.55;
}

/* Hover/Active – subtil, passend zum Look */
.ds-modal .ds-modal-actions .btn:hover {
  transform: translateY(-1px);
}
.ds-modal .ds-modal-actions .btn:active {
  transform: translateY(0);
}

.ds-modal .ds-modal-actions .btn.primary:hover {
  background: rgba(255, 255, 255, 0.98);
}

.ds-modal .ds-modal-actions .btn.ghost:not([data-close-modal]):hover {
  background: rgba(255, 255, 255, 0.65);
}

.ds-modal .ds-modal-actions .btn.ghost[data-close-modal]:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ============================================================
   FINAL Buttons v2 — weniger “puffy”, klarere Hierarchie
   ganz unten einfügen -> gewinnt
   ============================================================ */

.ds-modal .ds-modal-actions {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

/* Button-Group: weniger rund, weniger “balloon” */
.ds-modal .ds-modal-actions .btn {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 14px; /* statt 999px -> wirkt weniger komisch */
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  white-space: normal;
}

/* PRIMARY: klar, aber nicht schwarz */
.ds-modal .ds-modal-actions .btn.primary {
  background: rgba(0, 0, 0, 0.88);
  color: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

/* SECONDARY: als Outline, modern/clean */
.ds-modal .ds-modal-actions .btn.ghost:not([data-close-modal]) {
  background: rgba(255, 255, 255, 0.65);
  color: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: none;
  font-weight: 650;
}

/* Hover states (subtil) */
.ds-modal .ds-modal-actions .btn:hover {
  transform: translateY(-1px);
}
.ds-modal .ds-modal-actions .btn:active {
  transform: translateY(0);
}
.ds-modal .ds-modal-actions .btn.primary:hover {
  background: rgba(0, 0, 0, 0.94);
}
.ds-modal .ds-modal-actions .btn.ghost:not([data-close-modal]):hover {
  background: rgba(255, 255, 255, 0.78);
}

/* CLOSE: als Footer-Link mit Trennlinie */
.ds-modal .ds-modal-actions .btn.ghost[data-close-modal] {
  background: transparent;
  border: none;
  box-shadow: none;

  min-height: 0;
  padding: 10px 0 0;
  border-radius: 0;

  font-size: 13px;
  font-weight: 650;
  opacity: 0.62;

  /* “Footer” Gefühl */
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ds-modal .ds-modal-actions .btn.ghost[data-close-modal]:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* ============================================================
   FINAL PATCH (unten einfügen) — Fix Items / Buttons / Grids
   ============================================================ */

/* 1) WICHTIG: Items OHNE Media dürfen KEIN 2-Spalten-Grid erzwingen */
.ds-modal .ds-item.card {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.ds-modal .ds-item.card.has-media {
  grid-template-columns: 140px minmax(0, 1fr) !important;
  gap: 14px !important;
}

/* Content wieder sauber gepadded (für no-media & media) */
.ds-modal .ds-item-content {
  padding: 14px !important;
}

.ds-modal .ds-item.card.has-media .ds-item-content {
  padding: 14px 14px 14px 0 !important;
}

/* 2) Items Grid-Variante (Format & Rahmen) */
.ds-modal .ds-item-list.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .ds-modal .ds-item-list.is-grid {
    grid-template-columns: 1fr;
  }
}

/* Grid-Items: kompakter, “feature-card”-Look */
.ds-modal .ds-item-list.is-grid .ds-item.card {
  align-content: start;
}

.ds-modal .ds-item-list.is-grid .ds-item h4 {
  font-size: 14px;
  margin-bottom: 0.4rem;
}

.ds-modal .ds-item-list.is-grid .ds-item p.muted {
  line-height: 1.45;
}

/* 3) Abschluss: eine Box + leise Bullets statt 3 separater Cards */
.ds-modal .ds-note.card {
  border-radius: var(--ws-radius-lg);
  border: 1px solid var(--ws-border-soft);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--ws-shadow-soft);
  backdrop-filter: var(--ws-blur);
  padding: 16px;
  margin-top: 12px;
}

.ds-modal .ds-note.card h4 {
  margin: 0 0 6px 0;
}

.ds-modal .ds-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 1100px) {
  .ds-modal .ds-bullets {
    grid-template-columns: 1fr;
  }
}

.ds-modal .ds-bullet {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ds-modal .ds-bullet-h {
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.ds-modal .ds-bullet-b {
  font-size: 12px;
  line-height: 1.35;
  max-width: 100%;
}

/* 4) Buttons: weniger “komisch”, Wrap erlaubt, Close kleiner */
.ds-modal .ds-modal-actions {
  gap: 10px !important;
  padding: 14px !important;
}

.ds-modal .ds-modal-actions .btn {
  height: auto !important; /* wichtig für mehrzeilig */
  min-height: 44px;
  padding: 10px 14px;
  line-height: 1.15;
  text-align: center;
  white-space: normal; /* darf umbrechen */
}

.ds-modal .ds-modal-actions .btn.primary {
  /* falls es zu “fett” wirkt: etwas ruhiger */
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
}

.ds-modal .ds-modal-actions .btn.ghost.is-close {
  min-height: 36px;
  padding: 8px 14px;
  opacity: 0.7;
  border: none;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 720px) {
  .card.feature .feature-body {
    padding-top: 40px;
  }
}

/* ============================================================
   WORKSHOP MODAL — Mobile: echtes Scrolling + kein Overlap
   (ganz unten einfügen)
   ============================================================ */
@media (max-width: 900px) {
  /* Dialog darf voll nutzbar sein */
  dialog.ds-modal {
    width: 98vw !important;
    max-width: 98vw !important;
    height: 98vh !important;
    max-height: 98vh !important;
    margin: 1vh auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  /* WICHTIG: hier muss gescrollt werden (nicht hidden!) */
  .ds-modal .ds-modal-inner {
    height: 98vh !important;
    max-height: 98vh !important;
    overflow: auto !important; /* <<< vorher hidden */
    -webkit-overflow-scrolling: touch;
    padding: 12px !important;
  }

  /* Header darf nicht sticky sein – sonst „klebt“ er und frisst Platz */
  .ds-modal .ds-modal-head {
    position: relative !important;
    top: auto !important;
  }

  /* Body darf keine feste Höhe erzwingen */
  .ds-modal .ds-modal-body {
    height: auto !important; /* <<< kill calc(100vh - ...) */
    min-height: 0 !important;
    overflow: visible !important;
    grid-template-columns: 1fr !important;
  }

  /* Main/Side müssen normal fließen */
  .ds-modal .ds-modal-main,
  .ds-modal .ds-modal-side {
    max-height: none !important;
    overflow: visible !important;
    position: static !important; /* kill sticky */
  }

  /* Mobile: Sticky Actions AUS, sonst überlagern Buttons Content */
  .ds-modal .ds-modal-actions {
    position: static !important;
    bottom: auto !important;
  }
}

/* ============================================================
   MOBILE: Items mit Bild -> Bild oben & kompakt
   ============================================================ */
@media (max-width: 900px) {
  /* 1) Media-Items nicht mehr 2-spaltig */
  .ds-modal .ds-item.card.has-media {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* 2) Bildblock klein und oben */
  .ds-modal .ds-item.card.has-media .ds-item-media {
    order: -1;
    height: 120px; /* <- HIER stellst du die Bildhöhe ein */
    min-height: 110px;
    max-height: 140px;

    border-radius: 14px;
    overflow: hidden;
    margin: 12px 12px 0 12px; /* Luft zum Card-Rand */
  }

  /* 3) Bild füllt den Block schön */
  .ds-modal .ds-item.card.has-media .ds-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 4) Text bekommt volle Breite + sauberes Padding */
  .ds-modal .ds-item.card.has-media .ds-item-content {
    padding: 12px 14px 14px !important;
  }
}
