/* Weihnachtsmarkt-Programm – bewusst vollständig gekapselte Styles. */
.bmwp-program {
  --bmwp-red: #CE1E20;
  --bmwp-red-dark: #a91519;
  --bmwp-text: #1e2026;
  --bmwp-subtle: #646775;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(125, 22, 24, .12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(53, 11, 14, .13), 0 3px 10px rgba(53, 11, 14, .04);
  color: var(--bmwp-text);
  font-family: 'Poppins', 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  isolation: isolate;
}
.bmwp-program *, .bmwp-program *::before, .bmwp-program *::after { box-sizing: border-box; }
.bmwp-program__head {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(25px, 4vw, 44px) clamp(22px, 4.2vw, 52px);
  background: linear-gradient(118deg, #a91217 0%, #CE1E20 52%, #dc2b2e 100%);
  color: #fff;
  overflow: hidden;
}
.bmwp-program__head::before {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 0;
  opacity: .45;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.6px), radial-gradient(circle, #fff 1.2px, transparent 1.8px);
  background-size: 123px 97px, 181px 139px;
  background-position: 16px 28px, 72px 6px;
}
.bmwp-program__head::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  top: -185px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.02);
  pointer-events: none;
}
.bmwp-program__head-copy, .bmwp-program__count { position: relative; z-index: 1; }
.bmwp-program__eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(255,255,255,.83);
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.bmwp-program__eyebrow svg { width: 17px; height: 17px; flex: 0 0 17px; }
.bmwp-program__title {
  margin: 0 !important;
  color: #fff !important;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: clamp(27px, 3.8vw, 44px) !important;
  font-weight: 750 !important;
  letter-spacing: -.035em;
  line-height: 1.18 !important;
}
.bmwp-program__intro {
  margin: 12px 0 0 !important;
  color: rgba(255,255,255,.89) !important;
  font-size: clamp(13px, 1.7vw, 16px);
  font-weight: 400;
  line-height: 1.65;
}
.bmwp-program__count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 100px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
  white-space: nowrap;
}
.bmwp-program__table-wrap { width: 100%; }
.bmwp-program__table {
  width: 100%;
  table-layout: auto;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0;
  margin: 0 !important;
  background: #fff !important;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  line-height: 1.6;
}
.bmwp-program__table thead { background: #fff6f6; }
.bmwp-program__table thead th {
  padding: 20px 20px;
  border: 0 !important;
  border-bottom: 1px solid #f3dddd !important;
  background: transparent !important;
  color: #9f2125 !important;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .085em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
}
.bmwp-program__table thead th:first-child, .bmwp-program__table tbody td:first-child { padding-left: clamp(22px, 4.2vw, 52px); width: 17%; }
.bmwp-program__table thead th:nth-child(2) { width: 17%; }
.bmwp-program__table thead th:nth-child(3) { width: 43%; }
.bmwp-program__table thead th:last-child { width: 23%; }
.bmwp-program__table thead th:last-child, .bmwp-program__table tbody td:last-child { padding-right: clamp(22px, 4.2vw, 52px); }
.bmwp-program__table tbody tr { background: #fff !important; }
.bmwp-program__table tbody tr:nth-child(even) { background: #fffdfd !important; }
.bmwp-program__table tbody tr:hover { background: #fff8f8 !important; }
.bmwp-program__table tbody td {
  padding: 24px 20px;
  border: 0 !important;
  border-bottom: 1px solid #f1eded !important;
  background: transparent !important;
  color: var(--bmwp-text) !important;
  font-size: 14px !important;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.bmwp-program__table tbody tr:last-child td { border-bottom: 0 !important; }
.bmwp-program__weekday {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 9px;
  background: #fcebed;
  color: #a71c21;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  white-space: nowrap;
}
.bmwp-program__date {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.bmwp-program__description { font-weight: 600; line-height: 1.68; }
.bmwp-program__location {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: #52535e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.bmwp-program__location svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--bmwp-red);
}
.bmwp-program__empty {
  padding: 38px clamp(22px, 4.2vw, 52px);
  color: #52535e;
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .bmwp-program__head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .bmwp-program__table tbody td, .bmwp-program__table thead th { padding-left: 13px; padding-right: 13px; }
}
@media (max-width: 700px) {
  .bmwp-program { border-radius: 18px; }
  .bmwp-program__head { padding: 28px 22px; }
  .bmwp-program__eyebrow { font-size: 9px; letter-spacing: .10em; }
  .bmwp-program__count { min-height: 35px; padding: 7px 12px; font-size: 11px; }
  .bmwp-program__table thead { /* Sichtbar nur für Screenreader, da mobile Karten eigene Feldtitel haben. */
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .bmwp-program__table, .bmwp-program__table tbody, .bmwp-program__table tr { display: block; width: 100%; }
  .bmwp-program__table tbody { padding: 14px; }
  .bmwp-program__table tbody tr,
  .bmwp-program__table tbody tr:nth-child(even),
  .bmwp-program__table tbody tr:hover {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    margin: 0 0 12px;
    padding: 20px 18px;
    border: 1px solid #f2dede;
    border-radius: 14px;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(101,27,27,.035);
  }
  .bmwp-program__table tbody tr:last-child { margin-bottom: 0; }
  .bmwp-program__table tbody td,
  .bmwp-program__table tbody td:first-child,
  .bmwp-program__table tbody td:last-child {
    display: flex;
    min-width: 0;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
    border: 0 !important;
    font-size: 13px !important;
  }
  .bmwp-program__table tbody td:nth-child(3),
  .bmwp-program__table tbody td:nth-child(4) { grid-column: 1 / -1; }
  .bmwp-program__table tbody td::before {
    content: attr(data-label);
    color: #a81a20;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .085em;
    text-transform: uppercase;
  }
  .bmwp-program__description { font-size: 14px; }
  .bmwp-program__location { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .bmwp-program, .bmwp-program * { animation: none !important; transition: none !important; }
}
