.h5p-festwoche-container {
  margin: 0 !important;
  padding: 0 !important;
}

.h5p-festwoche,
.h5p-festwoche * {
  box-sizing: border-box;
}

.h5p-festwoche {
  --gym-blue: #264296;
  --gym-blue-dark: #172f73;
  --gym-cream: #ffeedd;
  --gym-orange: #ffb34e;
  --gym-text: #2b2f36;
  --gym-border: #d9dee7;
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--gym-text);
  background:
    radial-gradient(circle at 96% 4%, rgba(255, 179, 78, 0.20) 0 8rem, transparent 8.1rem),
    radial-gradient(circle at 2% 98%, rgba(38, 66, 150, 0.10) 0 10rem, transparent 10.1rem),
    #ffffff;
  border: 1px solid var(--gym-border);
  border-radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.h5p-festwoche__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 250px) minmax(0, 1fr) 106px;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3.5vw, 38px);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(135deg, var(--gym-blue-dark), var(--gym-blue));
}

.h5p-festwoche__header::after {
  position: absolute;
  right: 12%;
  bottom: -1px;
  width: 132px;
  height: 7px;
  content: "";
  background: var(--gym-orange);
  border-radius: 8px 8px 0 0;
}

.h5p-festwoche__logo {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  padding: 8px 10px;
  background: var(--gym-cream);
  border-radius: 12px;
}

.h5p-festwoche__heading {
  min-width: 0;
}

.h5p-festwoche__kicker,
.h5p-festwoche__title,
.h5p-festwoche__subtitle {
  margin: 0 !important;
}

.h5p-festwoche__kicker {
  margin-bottom: 4px !important;
  color: var(--gym-orange);
  font-size: 12.48px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h5p-festwoche__title {
  color: #ffffff !important;
  font-size: clamp(24.8px, 3.2vw, 42.4px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.025em;
}

.h5p-festwoche__subtitle {
  max-width: 47rem;
  margin-top: 9px !important;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(14.08px, 1.5vw, 16.96px);
}

.h5p-festwoche__badge {
  display: flex;
  width: 98px;
  height: 98px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gym-blue-dark);
  background: var(--gym-orange);
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 8px 0 rgba(10, 27, 76, 0.44);
  transform: rotate(4deg);
}

.h5p-festwoche__badge-number {
  font-size: 40.8px;
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.08em;
}

.h5p-festwoche__badge-label {
  margin-top: 5px;
  font-size: 11.04px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.h5p-festwoche__intro {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 3vw, 34px);
  color: var(--gym-blue-dark);
  background: var(--gym-cream);
  border-bottom: 1px solid #efcfad;
}

.h5p-festwoche__intro p {
  margin: 0 !important;
}

.h5p-festwoche__intro > p:first-child {
  font-weight: 700;
}

.h5p-festwoche__hint {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: var(--gym-blue-dark);
  background: #ffffff;
  border: 1px solid #efcfad;
  border-radius: 999px;
  font-size: 12.16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.h5p-festwoche__schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
}

.h5p-festwoche__day {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--gym-border);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(23, 47, 115, 0.08);
}

.h5p-festwoche__day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px 12px;
  color: #ffffff;
  background: var(--gym-blue-dark);
  border-bottom: 4px solid var(--gym-orange);
}

.h5p-festwoche__day-name {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 16.32px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.h5p-festwoche__day-date {
  color: var(--gym-orange);
  font-size: 13.12px;
  font-weight: 900;
}

.h5p-festwoche__timeline {
  position: relative;
  display: flex;
  min-height: 296px;
  flex-direction: column;
  gap: 16px;
  padding: 18px 12px 20px 21px;
}

.h5p-festwoche__timeline::before {
  position: absolute;
  top: 18px;
  bottom: 20px;
  left: 10px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--gym-orange), rgba(38, 66, 150, 0.28));
}

.h5p-festwoche button.h5p-festwoche__event {
  --tile-fill: #ffffff;
  --tile-edge: #cfd6e3;
  --tile-shadow: #adb8cb;
  --tile-accent: var(--gym-blue);
  --tile-text: var(--gym-text);
  --tile-muted: #5f6878;
  --tile-chip: #ffffff;
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-height: 118px;
  margin: 0 !important;
  padding: 13px 13px 12px !important;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  color: var(--tile-text) !important;
  text-align: left !important;
  text-transform: none !important;
  background: var(--tile-fill) !important;
  border: 1px solid var(--tile-edge) !important;
  border-radius: 13px !important;
  box-shadow: 0 7px 0 var(--tile-shadow), 0 10px 18px rgba(23, 47, 115, 0.13) !important;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease !important;
}

.h5p-festwoche button.h5p-festwoche__event::before {
  position: absolute;
  top: 18px;
  left: -17px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--tile-accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gym-border);
}

.h5p-festwoche button.h5p-festwoche__event:hover,
.h5p-festwoche button.h5p-festwoche__event:focus-visible {
  color: var(--tile-text) !important;
  background: var(--tile-fill) !important;
  border-color: var(--tile-accent) !important;
  box-shadow: 0 3px 0 var(--tile-shadow), 0 5px 10px rgba(23, 47, 115, 0.10), inset 0 2px 5px rgba(23, 47, 115, 0.06) !important;
  transform: translateY(4px);
}

.h5p-festwoche button.h5p-festwoche__event:active {
  box-shadow: 0 0 0 var(--tile-shadow), inset 0 3px 7px rgba(23, 47, 115, 0.15) !important;
  transform: translateY(7px);
}

.h5p-festwoche button.h5p-festwoche__event:focus-visible {
  outline: 3px solid var(--gym-orange) !important;
  outline-offset: 3px !important;
}

.h5p-festwoche button.h5p-festwoche__event.is-selected {
  border-color: var(--tile-accent) !important;
}

.h5p-festwoche button.h5p-festwoche__event.is-blue {
  --tile-fill: #eef2ff;
  --tile-edge: #c7d1ef;
  --tile-shadow: #9aa9d6;
  --tile-accent: #264296;
}

.h5p-festwoche button.h5p-festwoche__event.is-orange {
  --tile-fill: #fff0dd;
  --tile-edge: #f3c586;
  --tile-shadow: #d89a48;
  --tile-accent: #a65400;
}

.h5p-festwoche button.h5p-festwoche__event.is-gold {
  --tile-fill: #fff7d8;
  --tile-edge: #efd47e;
  --tile-shadow: #cfaa39;
  --tile-accent: #8b6500;
}

.h5p-festwoche button.h5p-festwoche__event.is-sky {
  --tile-fill: #e9f7fb;
  --tile-edge: #a9ddeb;
  --tile-shadow: #70b6c9;
  --tile-accent: #156b84;
}

.h5p-festwoche button.h5p-festwoche__event.is-navy {
  --tile-fill: #264296;
  --tile-edge: #172f73;
  --tile-shadow: #10245d;
  --tile-accent: #ffb34e;
  --tile-text: #ffffff;
  --tile-muted: #e8edff;
  --tile-chip: rgba(255, 255, 255, 0.14);
}

.h5p-festwoche__event-top,
.h5p-festwoche__event-location {
  display: flex;
  align-items: center;
}

.h5p-festwoche__event-top {
  gap: 6px;
  justify-content: space-between;
}

.h5p-festwoche__event-time,
.h5p-festwoche__event-category {
  font-size: 10.72px;
  font-weight: 900;
  line-height: 1.25;
}

.h5p-festwoche__event-time {
  padding: 4px 7px;
  color: var(--tile-accent);
  background: var(--tile-chip);
  border: 1px solid var(--tile-edge);
  border-radius: 999px;
  white-space: nowrap;
}

.h5p-festwoche__event-category {
  overflow: hidden;
  color: var(--tile-muted);
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h5p-festwoche__event-title {
  color: var(--tile-text);
  font-size: clamp(14.4px, 1.55vw, 16.48px);
  font-weight: 850;
  line-height: 1.18;
  overflow-wrap: break-word;
  hyphens: auto;
}

.h5p-festwoche__event-location {
  margin-top: auto;
  color: var(--tile-muted);
  font-size: 11.52px;
  font-weight: 700;
}

.h5p-festwoche__pin {
  color: var(--tile-accent);
  font-size: 8.64px;
}

.h5p-festwoche__event-marker {
  margin-left: auto;
  color: var(--tile-accent);
  font-size: 16.32px;
  font-weight: 900;
  transition: transform 150ms ease;
}

.h5p-festwoche__event:hover .h5p-festwoche__event-marker,
.h5p-festwoche__event:focus-visible .h5p-festwoche__event-marker {
  transform: translateX(3px);
}

.h5p-festwoche__detail {
  max-height: 0;
  margin: 0 clamp(20px, 3vw, 34px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: max-height 420ms ease, margin-top 420ms ease, opacity 220ms ease, transform 300ms ease, visibility 0s linear 420ms;
}

.h5p-festwoche__detail.is-open {
  max-height: 46rem;
  margin-top: clamp(20px, 3vw, 32px);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: max-height 420ms ease, margin-top 420ms ease, opacity 260ms ease 80ms, transform 320ms ease 50ms;
}

.h5p-festwoche__detail-inner {
  --detail-accent: var(--gym-blue);
  padding: clamp(18px, 3vw, 28px);
  background: #ffffff;
  border: 1px solid var(--gym-border);
  border-top: 8px solid var(--detail-accent);
  border-radius: 17px;
  box-shadow: 0 16px 40px rgba(23, 47, 115, 0.16);
}

.h5p-festwoche__detail.is-orange .h5p-festwoche__detail-inner {
  --detail-accent: #b9680b;
}

.h5p-festwoche__detail.is-gold .h5p-festwoche__detail-inner {
  --detail-accent: #8b6500;
}

.h5p-festwoche__detail.is-sky .h5p-festwoche__detail-inner {
  --detail-accent: #156b84;
}

.h5p-festwoche__detail.is-navy .h5p-festwoche__detail-inner {
  --detail-accent: var(--gym-blue-dark);
}

.h5p-festwoche__detail-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gym-border);
}

.h5p-festwoche__detail-eyebrow,
.h5p-festwoche__detail-title {
  margin: 0 !important;
}

.h5p-festwoche__detail-eyebrow {
  margin-bottom: 4px !important;
  color: var(--detail-accent);
  font-size: 11.84px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.h5p-festwoche__detail-title {
  color: var(--gym-blue-dark) !important;
  font-size: clamp(21.6px, 2.7vw, 32.8px) !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

.h5p-festwoche button.h5p-festwoche__close {
  display: inline-flex !important;
  min-width: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px 11px !important;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: var(--gym-blue-dark) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12.16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
}

.h5p-festwoche button.h5p-festwoche__close:hover,
.h5p-festwoche button.h5p-festwoche__close:focus-visible {
  color: #111111 !important;
  background: var(--gym-orange) !important;
}

.h5p-festwoche button.h5p-festwoche__close:focus-visible {
  outline: 3px solid var(--gym-orange) !important;
  outline-offset: 3px !important;
}

.h5p-festwoche__close-icon {
  font-size: 24px;
  font-weight: 500;
  line-height: 0.7;
}

.h5p-festwoche__detail-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.68fr) minmax(0, 1.55fr);
  gap: clamp(20px, 4vw, 42px);
  padding-top: 20px;
}

.h5p-festwoche__meta {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
}

.h5p-festwoche__meta-item {
  padding: 10px 12px;
  background: #f5f7fb;
  border-left: 4px solid var(--detail-accent);
  border-radius: 8px;
}

.h5p-festwoche__meta dt,
.h5p-festwoche__meta dd {
  margin: 0;
}

.h5p-festwoche__meta dt {
  color: #647086;
  font-size: 10.72px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.h5p-festwoche__meta dd {
  margin-top: 2px;
  color: var(--gym-text);
  font-size: 14.4px;
  font-weight: 750;
}

.h5p-festwoche__notes {
  display: grid;
  gap: 11px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h5p-festwoche__notes li {
  position: relative;
  margin: 0;
  padding: 0 0 0 27px;
  color: var(--gym-text);
  font-size: 15.36px;
}

.h5p-festwoche__notes li::before {
  position: absolute;
  top: 0.11em;
  left: 0;
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  content: "✓";
  color: #ffffff;
  background: var(--detail-accent);
  border-radius: 50%;
  font-size: 10.88px;
  font-weight: 900;
}

.h5p-festwoche__notes li.is-important {
  padding: 10px 12px 10px 39px;
  color: var(--gym-blue-dark);
  background: var(--gym-cream);
  border: 1px solid #efcfad;
  border-radius: 9px;
  font-weight: 800;
}

.h5p-festwoche__notes li.is-important::before {
  top: 11px;
  left: 12px;
  content: "!";
  color: #111111;
  background: var(--gym-orange);
}

.h5p-festwoche__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1050px) {
  .h5p-festwoche__schedule {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .h5p-festwoche__timeline {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .h5p-festwoche__header {
    grid-template-columns: minmax(130px, 205px) minmax(0, 1fr);
  }

  .h5p-festwoche__badge {
    position: absolute;
    right: 18px;
    bottom: -39px;
    width: 78px;
    height: 78px;
    border-width: 4px;
  }

  .h5p-festwoche__badge-number {
    font-size: 32px;
  }

  .h5p-festwoche__badge-label {
    font-size: 9.12px;
  }

  .h5p-festwoche__intro {
    padding-right: 106px;
  }

  .h5p-festwoche__hint {
    display: none;
  }

  .h5p-festwoche__schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h5p-festwoche__detail-body {
    grid-template-columns: 1fr;
  }

  .h5p-festwoche__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .h5p-festwoche {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .h5p-festwoche__header {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 28px;
  }

  .h5p-festwoche__logo {
    max-width: 215px;
  }

  .h5p-festwoche__badge {
    right: 15px;
    bottom: -35px;
    width: 70px;
    height: 70px;
  }

  .h5p-festwoche__badge-number {
    font-size: 28px;
  }

  .h5p-festwoche__intro {
    min-height: 78px;
    padding: 16px 96px 16px 18px;
  }

  .h5p-festwoche__schedule {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .h5p-festwoche__timeline {
    padding-right: 15px;
  }

  .h5p-festwoche__event-title {
    font-size: 16px;
  }

  .h5p-festwoche__detail {
    margin-right: 18px;
    margin-left: 18px;
  }

  .h5p-festwoche__detail-head {
    gap: 12px;
  }

  .h5p-festwoche__close-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
  }

  .h5p-festwoche__meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h5p-festwoche *,
  .h5p-festwoche *::before,
  .h5p-festwoche *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Kompakte Startseiten-Ansicht: fünf Tage bleiben immer nebeneinander. */
.h5p-festwoche {
  min-height: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 2% 98%, rgba(38, 66, 150, 0.08) 0 7rem, transparent 7.1rem),
    #ffffff;
}

.h5p-festwoche__schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr)) !important;
  gap: 8px;
  align-items: stretch;
  padding: 11px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--gym-orange) #eef1f7;
  scrollbar-width: thin;
}

.h5p-festwoche__schedule::-webkit-scrollbar {
  height: 8px;
}

.h5p-festwoche__schedule::-webkit-scrollbar-track {
  background: #eef1f7;
  border-radius: 999px;
}

.h5p-festwoche__schedule::-webkit-scrollbar-thumb {
  background: var(--gym-orange);
  border-radius: 999px;
}

.h5p-festwoche__day {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(23, 47, 115, 0.08);
}

.h5p-festwoche__day-header {
  padding: 9px 10px 8px;
  border-bottom-width: 3px;
}

.h5p-festwoche__day-name {
  font-size: 13.76px !important;
}

.h5p-festwoche__day-date {
  font-size: 10.88px;
}

.h5p-festwoche__timeline {
  display: grid;
  grid-template-rows: repeat(3, minmax(98px, 1fr));
  min-height: 298px;
  flex: 1 1 auto;
  gap: 10px;
  padding: 12px 8px 14px 16px;
}

.h5p-festwoche__timeline::before {
  top: 12px;
  bottom: 14px;
  left: 7px;
}

.h5p-festwoche button.h5p-festwoche__event {
  min-width: 0;
  max-width: 100% !important;
  min-height: 88px;
  padding: 9px 9px 8px !important;
  gap: 5px;
  border-radius: 10px !important;
  box-shadow: 0 5px 0 var(--tile-shadow), 0 7px 12px rgba(23, 47, 115, 0.11) !important;
}

.h5p-festwoche button.h5p-festwoche__event[data-event-id="project"],
.h5p-festwoche button.h5p-festwoche__event[data-event-id="internal"] {
  grid-row: 1;
}

.h5p-festwoche button.h5p-festwoche__event[data-event-id="ceremony"],
.h5p-festwoche button.h5p-festwoche__event[data-event-id="public"] {
  grid-row: 2;
}

.h5p-festwoche button.h5p-festwoche__event[data-event-id="music"],
.h5p-festwoche button.h5p-festwoche__event[data-event-id="challenge"],
.h5p-festwoche button.h5p-festwoche__event[data-event-id="ball"] {
  grid-row: 3;
}

.h5p-festwoche button.h5p-festwoche__event::before {
  top: 14px;
  left: -13px;
  width: 8px;
  height: 8px;
  border-width: 2px;
}

.h5p-festwoche button.h5p-festwoche__event:hover,
.h5p-festwoche button.h5p-festwoche__event:focus-visible {
  box-shadow: 0 2px 0 var(--tile-shadow), 0 3px 7px rgba(23, 47, 115, 0.09), inset 0 2px 5px rgba(23, 47, 115, 0.06) !important;
  transform: translateY(3px);
}

.h5p-festwoche button.h5p-festwoche__event:active {
  transform: translateY(5px);
}

.h5p-festwoche__event-time,
.h5p-festwoche__event-category {
  font-size: 9.28px;
}

.h5p-festwoche__event-time {
  padding: 3px 5px;
}

.h5p-festwoche__event-title {
  font-size: 12.64px;
  line-height: 1.14;
}

.h5p-festwoche__event-location {
  font-size: 9.44px;
  line-height: 1.15;
}

.h5p-festwoche__event-marker {
  font-size: 13.44px;
}

/* Detailansicht überdeckt die Tabelle und zoomt aus der aktiven Kachel. */
.h5p-festwoche__detail {
  --origin-x: 50%;
  --origin-y: 50%;
  position: absolute;
  z-index: 20;
  inset: 8px;
  max-height: none;
  margin: 0 !important;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(23, 47, 115, 0.16);
  border-radius: 13px;
  transform: scale(0.16);
  transform-origin: var(--origin-x) var(--origin-y);
  will-change: transform, opacity;
  transition: transform 300ms cubic-bezier(0.22, 0.84, 0.34, 1), opacity 190ms ease, visibility 0s linear 310ms;
}

.h5p-festwoche__detail.is-open {
  max-height: none;
  margin: 0 !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: transform 320ms cubic-bezier(0.18, 0.82, 0.28, 1), opacity 190ms ease;
}

.h5p-festwoche__detail-inner {
  width: 100%;
  height: 100%;
  padding: 15px 17px;
  overflow-y: auto;
  border-top-width: 6px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(23, 47, 115, 0.22);
}

.h5p-festwoche__detail-head {
  gap: 12px;
  padding-bottom: 9px;
}

.h5p-festwoche__detail-eyebrow {
  margin-bottom: 2px !important;
  font-size: 9.76px;
}

.h5p-festwoche__detail-title {
  font-size: clamp(16.8px, 2.1vw, 23.2px) !important;
}

.h5p-festwoche button.h5p-festwoche__close {
  min-width: 36px;
  min-height: 36px;
  padding: 6px 9px !important;
  font-size: 10.56px !important;
}

.h5p-festwoche__close-icon {
  font-size: 20px;
}

.h5p-festwoche__detail-body {
  grid-template-columns: minmax(160px, 0.58fr) minmax(0, 1.7fr);
  gap: 15px;
  padding-top: 11px;
}

.h5p-festwoche__meta {
  gap: 6px;
}

.h5p-festwoche__meta-item {
  padding: 6px 8px;
  border-left-width: 3px;
  border-radius: 6px;
}

.h5p-festwoche__meta dt {
  font-size: 8.96px;
}

.h5p-festwoche__meta dd {
  font-size: 11.52px;
}

.h5p-festwoche__notes {
  gap: 6px;
}

.h5p-festwoche__notes li {
  padding-left: 23px;
  font-size: 12.48px;
  line-height: 1.3;
}

.h5p-festwoche__notes li::before {
  width: 16px;
  height: 16px;
  font-size: 9.28px;
}

.h5p-festwoche__notes li.is-important {
  padding: 7px 9px 7px 33px;
}

.h5p-festwoche__notes li.is-important::before {
  top: 8px;
  left: 9px;
}

@media (max-width: 620px) {
  .h5p-festwoche__detail-body {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .h5p-festwoche__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .h5p-festwoche__detail-inner {
    padding: 12px;
  }
}

/* Auf der Startseite darf das H5P-Fenster die verfügbare Seitenbreite nutzen. */
@media (min-width: 1180px) {
  .h5p-festwoche-container {
    position: relative;
    width: min(1980px, calc(100vw - 24px)) !important;
    max-width: none !important;
  }
}

/* Die Schrift wächst mit der breiten Startseiten-Ansicht; das Raster bleibt unverändert. */
@media (min-width: 1281px) {
  .h5p-festwoche__day-name {
    font-size: clamp(13.76px, calc(5.92px + 0.61vw), 18px) !important;
  }

  .h5p-festwoche__day-date {
    font-size: clamp(10.88px, calc(4.48px + 0.5vw), 14.4px);
  }

  .h5p-festwoche__event-time,
  .h5p-festwoche__event-category {
    font-size: clamp(9.28px, calc(2.88px + 0.5vw), 12.8px);
  }

  .h5p-festwoche__event-title {
    font-size: clamp(12.64px, calc(2.08px + 0.82vw), 18.4px);
  }

  .h5p-festwoche__event-location {
    font-size: clamp(9.44px, calc(1.76px + 0.6vw), 13.6px);
  }

  .h5p-festwoche__detail-eyebrow {
    font-size: clamp(9.76px, calc(2.72px + 0.55vw), 13.6px);
  }

  .h5p-festwoche__detail-title {
    font-size: clamp(23.2px, calc(7.2px + 1.25vw), 32px) !important;
  }

  .h5p-festwoche button.h5p-festwoche__close {
    font-size: clamp(10.56px, calc(4.32px + 0.49vw), 14px) !important;
  }

  .h5p-festwoche__meta dt {
    font-size: clamp(8.96px, calc(-2.08px + 0.86vw), 15px);
  }

  .h5p-festwoche__meta dd {
    font-size: clamp(11.52px, calc(-4px + 1.21vw), 20px);
  }

  .h5p-festwoche__notes li {
    font-size: clamp(12.48px, calc(-1.232px + 1.071vw), 20px);
  }
}

