/* Modul: current. Alle Regeln sind auf dessen Wurzelelement begrenzt. */
[data-lemp-module="current"] {
  padding: 28px 0 22px;
}

/* Editorial highlights adapt to the number of selected details. */
[data-current-editorial] .current-editorial-grid {
  display: grid; grid-template-columns: repeat(var(--current-columns, 3), minmax(0, 1fr));
  gap: 24px;
}
[data-current-editorial] .current-editorial-card {
  display: flex; flex-direction: column; min-width: 0; border-radius: 8px;
  background: #fffdf9; border: 1px solid #e4d8c7;
}
[data-current-editorial] .current-editorial-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px 8px 0 0; }
[data-current-editorial] .current-editorial-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-current-editorial] .current-editorial-card__copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
[data-current-editorial] .current-editorial-card__title { margin: 0 0 14px; font-family: var(--lemp-font-hand); color: var(--lemp-red); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
[data-current-editorial] .current-editorial-card__date { font-family: var(--lemp-font-heading); font-size: 18px; margin: 0 0 10px; color: #736d65; }
[data-current-editorial] .current-editorial-card__text { margin: 0 0 22px; line-height: 1.5; overflow-wrap: anywhere; }
[data-current-editorial] .current-editorial-card__copy > .current-actions { margin-top: auto; }
[data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card { display: grid; grid-template-columns: 1.3fr 1fr; }
[data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card__media { aspect-ratio: auto; min-height: 320px; border-radius: 8px 0 0 8px; }
[data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card__copy { padding: clamp(24px, 4vw, 48px); justify-content: center; }
[data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card--no-image { grid-template-columns: 1fr; }
[data-current-editorial] .event-card__date { margin-bottom: 12px; }
[data-current-editorial] .current-section__intro { margin-bottom: 24px; }
[data-current-editorial] .current-action { min-height: 44px; }
@media (min-width: 768px) and (max-width: 991.98px) {
  [data-current-editorial] .current-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-current-editorial] .current-editorial-grid[data-featured-count="1"] { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  [data-current-editorial] .current-editorial-grid { grid-template-columns: 1fr; gap: 18px; }
  [data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card { display: flex; }
  [data-current-editorial] .current-editorial-grid[data-featured-count="1"] .current-editorial-card__media { min-height: 0; aspect-ratio: 3 / 2; border-radius: 8px 8px 0 0; }
  [data-current-editorial] .current-editorial-card__copy { padding: 22px; }
}

[data-lemp-module="current"] .current-section__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 18px;
}

[data-lemp-module="current"] .current-section__title {
  margin: 0;
  font-family: var(--lemp-font-hand);
  color: var(--lemp-red);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
}

[data-lemp-module="current"] .current-section__flourish {
  width: 90px;
  border-top: 2px solid var(--lemp-red);
  transform: rotate(-3deg);
}

[data-lemp-module="current"] .current-section__all {
  margin: 0;
  color: var(--lemp-red);
  font-family: var(--lemp-font-heading);
  font-size: 18px;
}

[data-lemp-module="current"] .current-feature {
  position: relative;
  min-height: 340px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  color: white;
}

[data-lemp-module="current"] .current-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-lemp-module="current"] .current-feature__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%,rgba(0,0,0,.85));
}

[data-lemp-module="current"] .current-feature__content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  align-items: end;
  gap: 16px;
  padding: 26px;
  min-height: inherit;
  height: 100%;
}

[data-lemp-module="current"] .current-feature__title {
  font-family: var(--lemp-font-hand);
  font-size: 48px;
  margin: 0;
}

[data-lemp-module="current"] .current-feature__date {
  font-size: 22px;
  margin: 0 0 8px;
}

[data-lemp-module="current"] .current-feature__text {
  margin: 0;
  line-height: 1.3;
}

[data-lemp-module="current"] .current-link {
  color: var(--lemp-red);
  font-family: var(--lemp-font-heading);
  font-size: 19px;
  font-weight: 600;
}

[data-lemp-module="current"] .current-link--light {
  color: #ffabb0;
  margin-left: auto;
}

[data-lemp-module="current"] .current-side-list {
  display: grid;
  gap: 18px;
  height: 100%;
}

[data-lemp-module="current"] .current-side-card {
  display: grid;
  grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
}

[data-lemp-module="current"] .current-side-card__media img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

[data-lemp-module="current"] .current-side-card__title {
  font-family: var(--lemp-font-hand);
  font-size: 31px;
  line-height: .95;
  color: #17455a;
  margin: 0 0 7px;
}

[data-lemp-module="current"] .current-side-card__date {
  margin: 0 0 6px;
  font-size: 18px;
}

[data-lemp-module="current"] .current-side-card__text {
  margin-bottom: 6px;
  line-height: 1.25;
}

[data-lemp-module="current"] .modal-title {
  font-family: var(--lemp-font-hand);
  color: var(--lemp-red);
  font-size: 36px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {[data-lemp-module="current"] .current-side-list {
  grid-template-columns: repeat(2,minmax(0,1fr));
} }

@media (max-width: 575.98px) {[data-lemp-module="current"] .current-section__flourish {
  display: none;
}

[data-lemp-module="current"] .current-section__all {
  margin-left: 0;
}

[data-lemp-module="current"] .current-feature__content {
  padding: 20px;
} }

/* Eventübersicht: eigenständiger Teil des Moduls current. */
[data-lemp-module="current"] .event-overview { scroll-margin-top: 110px; }
[data-lemp-module="current"] .event-overview__head { border-top: 1px solid #dfd4c4; padding-top: 24px; margin-bottom: 20px; }
[data-lemp-module="current"] :is(.event-overview__head, .event-overview__archive) > h3 { font-family: var(--lemp-font-hand); font-size: clamp(30px, 4vw, 40px); color: var(--lemp-red); margin: 0 0 6px; }
[data-lemp-module="current"] .event-overview__head > p { margin: 0; color: #656059; }
[data-lemp-module="current"] .event-card { display: flex; flex-direction: column; height: 100%; padding: 22px; border: 1px solid #dfd4c4; border-left: 3px solid #dfd4c4; border-radius: 6px; background: #fffdf9; }
[data-lemp-module="current"] .event-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 14px; }
[data-lemp-module="current"] .event-card__date { margin: 0; font-family: var(--lemp-font-heading); font-size: 17px; font-weight: 600; }
[data-lemp-module="current"] .event-card__status { font-size: 13px; font-weight: 600; border-radius: 4px; padding: 3px 7px; background: var(--lemp-red); color: #fff; }
[data-lemp-module="current"] .event-card__title { font-family: var(--lemp-font-hand); color: var(--lemp-red); font-size: 30px; line-height: 1.1; margin: 0 0 12px; }
[data-lemp-module="current"] .event-card__text { line-height: 1.45; margin: 0 0 18px; }
[data-lemp-module="current"] .event-card__link { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--lemp-red); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
[data-lemp-module="current"] .event-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-lemp-module="current"] .event-card__link:focus-visible { outline: 2px solid var(--lemp-red); outline-offset: 4px; }
[data-lemp-module="current"] .event-card[data-event-state="future"] { border-color: var(--lemp-red); background: #fff2e5; border-left-width: 5px; }
[data-lemp-module="current"] .event-card:is([data-event-state="active"], [data-event-state="soon"]) { border-color: #dfd4c4; background: #fffdf9; border-left-width: 3px; }
[data-lemp-module="current"] .event-overview__archive { margin-top: 36px; padding-top: 24px; border-top: 1px solid #dfd4c4; }
[data-lemp-module="current"] .event-overview__archive > h3 { color: #736d65; margin-bottom: 18px; }
[data-lemp-module="current"] .event-card[data-event-state="past"] { background: #f7f5f1; border-color: #e5e0d8; color: #736d65; }
[data-lemp-module="current"] .event-card[data-event-state="past"] :is(.event-card__title, .event-card__link) { color: #736d65; }
[data-lemp-module="current"] .event-card[data-event-state="past"] .event-card__status { color: #736d65; background: #e9e5df; }
@media (max-width: 575.98px) {
  [data-lemp-module="current"] .event-card { padding: 18px; }
  [data-lemp-module="current"] .event-overview { scroll-margin-top: 90px; }
}

/* Reservierungen außerhalb des 60-Tage-Fensters: deaktiviert mit Hinweis. */
[data-lemp-module="current"] .event-card__booking { position: relative; align-self: flex-start; margin-top: auto; max-width: 100%; }
[data-lemp-module="current"] .event-card__booking .event-card__link { margin-top: 0; }
[data-lemp-module="current"] .event-card__booking[data-booking-blocked="true"] { cursor: not-allowed; }
[data-lemp-module="current"] .event-card__booking .event-card__link:disabled { color: #96918a; cursor: not-allowed; pointer-events: none; text-decoration: none; }
[data-lemp-module="current"] .event-card__booking-hint { position: absolute; z-index: 2; bottom: calc(100% + 8px); left: 0; width: 230px; max-width: min(230px, 70vw); padding: 9px 12px; border-radius: 4px; background: #292622; color: #fff; font-size: 14px; font-weight: 400; line-height: 1.35; box-shadow: 0 3px 12px #0002; display: none; }
[data-lemp-module="current"] .event-card__booking[data-booking-blocked="true"]:is(:hover, :focus, :focus-within) .event-card__booking-hint { display: block; }
[data-lemp-module="current"] .event-card__booking:focus-visible { outline: 2px solid #736d65; outline-offset: 4px; }

/* Platzsparende Aktionen im Teaser und im Detailpopup. */
[data-lemp-module="current"] .current-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
[data-lemp-module="current"] .current-feature__content > .current-actions { margin-left: auto; justify-content: flex-end; }
[data-lemp-module="current"] .current-actions .current-link--light { margin-left: 0; }
[data-lemp-module="current"] .current-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--lemp-red); border-radius: 4px; background: var(--lemp-red); color: #fff; font-family: var(--lemp-font-heading); font-size: 17px; font-weight: 600; line-height: 1.2; min-height: 38px; text-decoration: none; cursor: pointer; }
[data-lemp-module="current"] .current-action:hover { background: var(--lemp-red-hover); color: #fff; text-decoration: none; }
[data-lemp-module="current"] .current-action:focus-visible { outline: 2px solid #156d96; outline-offset: 3px; }
[data-lemp-module="current"] .current-actions .event-card__booking { margin-top: 0; }
[data-lemp-module="current"] .event-card__booking .current-action:disabled { background: #eeeae4; border-color: #d4cec6; color: #96918a; }
[data-lemp-module="current"] .current-detail .modal-content { background: var(--lemp-cream); border-radius: 10px; }
[data-lemp-module="current"] .current-detail .modal-header { align-items: flex-start; }
[data-lemp-module="current"] .current-detail__date { font-weight: 600; color: var(--lemp-red); }
[data-lemp-module="current"] .current-detail__actions { gap: 10px; padding: 12px 16px; }
[data-lemp-module="current"] .current-detail__actions > * { margin: 0; }
[data-lemp-module="current"] .current-detail__actions .event-card__booking { margin-top: 0; }
[data-lemp-module="current"] .current-detail__close { padding: 8px 12px; min-height: 44px; background: transparent; border: 1px solid #d4cec6; border-radius: 4px; color: var(--lemp-ink); }
[data-lemp-module="current"] .current-detail__actions .current-action { min-height: 44px; }
@media (max-width: 575.98px) {
  [data-lemp-module="current"] .current-feature__content > .current-actions { margin-left: 0; justify-content: flex-start; width: 100%; }
  [data-lemp-module="current"] .current-side-card .current-actions { align-items: center; flex-direction: row; }
  [data-lemp-module="current"] .current-action { font-size: 16px; }
  [data-lemp-module="current"] .current-detail__actions .current-action { flex: 1; }
}

/* Dezente Symbolaktionen links vom Informationslink, nur im Teaser. */
[data-lemp-module="current"] .current-actions { gap: 8px; }
[data-lemp-module="current"] .current-actions .current-action--icon { flex: 0 0 34px; width: 34px; height: 34px; min-height: 34px; padding: 5px; border: 0; border-radius: 4px; background: transparent; color: var(--lemp-red); }
[data-lemp-module="current"] .current-actions .current-action--icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-lemp-module="current"] .current-actions .current-action--icon:hover { background: #a5242d0d; color: var(--lemp-red-hover); }
[data-lemp-module="current"] .current-feature .current-action--icon { color: #ffabb0; }
[data-lemp-module="current"] .current-feature .current-action--icon:hover { background: #ffffff15; color: #fff; }
[data-lemp-module="current"] .current-actions .event-card__booking .current-action--icon:disabled { background: transparent; border: 0; color: #96918a; }

/* Buchungsaktionen der Eventkarten: Reservierung links, Bestellung rechts. */
[data-lemp-module="current"] .event-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; width: 100%; }
[data-lemp-module="current"] .event-card__actions > .event-card__booking { margin-top: 0; }
[data-lemp-module="current"] .event-card__actions .event-card__link--order { margin-top: 0; margin-left: auto; color: #17455a; text-align: right; }
[data-lemp-module="current"] .event-card__link--order:focus-visible { outline-color: #17455a; }

/* Sofortige Beschriftung statt verzögertem Browser-title. */
[data-lemp-module="current"] .current-action--icon { position: relative; }
[data-lemp-module="current"] .current-action__hint { position: absolute; z-index: 3; top: calc(100% + 8px); left: 0; padding: 8px 12px; border-radius: 4px; background: var(--lemp-ink); color: #fff; font-family: var(--lemp-font-body); font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; pointer-events: none; visibility: hidden; opacity: 0; }
[data-lemp-module="current"] .current-action--icon:is(:hover, :focus-visible) .current-action__hint { visibility: visible; opacity: 1; }
[data-lemp-module="current"] [data-booking-blocked="true"] .current-action__hint { display: none; }

/* Im Bildteaser oberhalb der Symbole bleiben: die Karte beschneidet ihre Bildkanten. */
[data-lemp-module="current"] .current-feature .current-action__hint { top: auto; bottom: calc(100% + 8px); }

/* Eventübersicht mit derselben Auf-/Zuklappaktion wie die Wochenkarte. */
[data-lemp-module="current"] .current-section__all { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 12px 30px; max-width: 100%; text-align: center; background: url('../../img/brush-stroke-red.webp') center/100% 100% no-repeat; color: #fff; font-size: 22px; text-decoration: none; }
[data-lemp-module="current"] .current-section__chevron { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter; }
[data-lemp-module="current"] .current-section__all[aria-expanded="true"] .current-section__chevron { transform: rotate(180deg); }
@media (max-width: 575.98px) { [data-lemp-module="current"] .current-section__all { padding: 12px 20px; gap: 12px; font-size: 20px; } }

/* Die Übersicht folgt den drei Fokus-Events; die Aktion sitzt an deren Abschluss. */
[data-lemp-module="current"] .current-section__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 24px;
}
[data-lemp-module="current"] .current-section__controls::before,
[data-lemp-module="current"] .current-section__controls::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dfd4c4;
}
[data-lemp-module="current"] .current-section__all {
  flex: 0 1 auto;
  min-height: 48px;
  margin: 0;
  border: 0;
  font-size: 20px;
  line-height: 1.3;
  cursor: pointer;
}
[data-lemp-module="current"] .current-section__all:hover { color: #fff; filter: brightness(.93); }
[data-lemp-module="current"] :is(.current-section__all, .current-section__reduce):focus-visible {
  outline: 2px solid #17455a;
  outline-offset: 5px;
}
[data-lemp-module="current"] .current-section__chevron { transition: transform .2s ease; }
[data-lemp-module="current"] .event-overview__footer { display: flex; justify-content: center; margin-top: 28px; }
[data-lemp-module="current"] .current-section__reduce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: var(--lemp-red);
  font-family: var(--lemp-font-heading);
  font-size: 18px;
  cursor: pointer;
}
[data-lemp-module="current"] .current-section__reduce:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 575.98px) {
  [data-lemp-module="current"] .current-section__controls { gap: 12px; margin-top: 20px; }
  [data-lemp-module="current"] .current-section__all { padding: 12px 20px; font-size: 18px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-lemp-module="current"] .current-section__chevron { transition: none; }
}


[data-current-editorial] button.current-link { border: 0; background: transparent; padding: 8px 0; min-height: 44px; text-align: left; }
[data-current-editorial] .current-link:focus-visible { outline: 2px solid var(--lemp-red); outline-offset: 3px; }

/* Disabled ordering remains visibly distinct in cards and event dialogs. */
[data-ecwid-product-check]:disabled,
[data-ecwid-product-check]:disabled:hover,
[data-ecwid-product-check]:disabled:focus {
  color: #b8b8b8 !important;
  opacity: 1 !important;
  background: transparent !important;
  border-color: #dedede !important;
  cursor: not-allowed;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}
[data-ecwid-product-check][hidden],
[data-ecwid-product-hint][hidden] { display: none !important; }
