/* Local-Display Standorte v1.4.2 – WCAG-AA-geprüftes, Divi-5-sicheres Frontend-CSS */
.ld-booking-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 37, 68, 0.05);
}
.ld-status-banner {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.ld-status-sold {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.ld-status-few {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.ld-price-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.ld-price-amount {
  font-size: 30px;
  font-weight: 800;
  color: #0f2544;
  line-height: 1.1;
}
.ld-price-unit {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-left: 4px;
}
.ld-price-daily {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  background: #e6f7f5;
  padding: 4px 10px;
  border-radius: 999px;
}
.ld-duration-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f2544;
  margin-bottom: 9px;
}
.ld-duration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.ld-dur-btn {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ld-dur-btn:hover { border-color: #019bdf; }
.ld-dur-btn.is-active {
  border-color: #0177b0;
  background: #e6f6fd;
}
.ld-dur-m { display: block; font-size: 13px; font-weight: 700; color: #0f2544; }
.ld-dur-p { display: block; font-size: 15px; font-weight: 800; color: #0177b0; margin-top: 2px; }
.ld-dur-t { display: block; font-size: 11px; font-weight: 700; color: #0f766e; margin-top: 1px; }

.ld-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 18px;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ld-btn-primary { background: #0177b0; color: #ffffff !important; flex: 1 1 200px; }
.ld-btn-primary:hover { background: #0f2544; }
.ld-btn-primary.is-in-pkg { background: #0f766e; }
.ld-btn-secondary { background: #ffffff; color: #0f2544 !important; border-color: #0f2544; flex: 1 1 150px; }
.ld-btn-secondary:hover { background: #0f2544; color: #ffffff !important; }
.ld-btn-light { background: #ffffff; color: #0f2544 !important; }
.ld-btn-sm { font-size: 13.5px; padding: 9px 13px; flex: 0 1 auto; }

.ld-booking-meta {
  margin-top: 12px;
  font-size: 13px;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ld-booking-meta span::before { content: "✓ "; color: #0f766e; font-weight: 800; }

/* Anfrage-Wrapper & CF7-Integration (/kontakt/) */
.ld-inquiry-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(15, 37, 68, 0.06);
}
.ld-pkg-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #019bdf;
  border-radius: 10px;
  padding: 15px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #1e293b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
}
.ld-pkg-summary-main {
  flex: 1 1 310px;
  min-width: 0;
}
.ld-pkg-summary-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f2544;
  line-height: 1.3;
}
.ld-pkg-summary-sub {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}
.ld-pkg-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.ld-pkg-summary-actions .ld-btn {
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}
.ld-pkg-inline-list { margin: 8px 0 0; padding-left: 18px; }
.ld-msg-opt {
  font-weight: 500;
  color: #64748b;
  font-size: 12.5px;
}
.ld-cf7-privacy-note {
  margin: 4px 0 16px !important;
  padding: 11px 14px !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}
.ld-cf7-privacy-note p { margin: 0 !important; padding: 0 !important; }
.ld-cf7-privacy-note a {
  color: #0177b0 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.ld-cf7-privacy-note a:hover { color: #0f2544 !important; }
@media (max-width: 580px) {
  .ld-pkg-summary-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .ld-pkg-summary-actions .ld-btn {
    flex: 1 1 150px;
    width: auto;
  }
}

/* Entfernt CF7-Auto-Umbrüche (<p>/<br>) & vereinheitlicht alle Feldabstände (16px) und Breiten */
.ld-inquiry-wrap .ld-cf7-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  column-gap: 16px !important;
  row-gap: 16px !important;
  margin: 0 0 16px 0 !important;
  width: 100% !important;
}
.ld-inquiry-wrap .ld-cf7-field {
  margin: 0 0 16px 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}
.ld-inquiry-wrap .ld-cf7-grid .ld-cf7-field {
  margin: 0 !important;
}
.ld-inquiry-wrap .ld-cf7-field p,
.ld-inquiry-wrap .ld-cf7-consent p,
.ld-inquiry-wrap .ld-cf7-submit p {
  margin: 0 !important;
  padding: 0 !important;
}
.ld-inquiry-wrap .ld-cf7-field br,
.ld-inquiry-wrap .ld-cf7-consent br,
.ld-inquiry-wrap .ld-cf7-submit br {
  display: none !important;
}
.ld-inquiry-wrap .ld-cf7-field label {
  display: block !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f2544 !important;
}
.ld-inquiry-wrap .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.ld-inquiry-wrap .wpcf7 input[type="text"],
.ld-inquiry-wrap .wpcf7 input[type="email"],
.ld-inquiry-wrap .wpcf7 input[type="tel"],
.ld-inquiry-wrap .wpcf7 input[type="date"],
.ld-inquiry-wrap .wpcf7 textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding: 11px 13px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}
@media (max-width: 640px) {
  .ld-inquiry-wrap .ld-cf7-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* /standorte/ Grid */
.ld-filter-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(15, 37, 68, 0.06);
}
.ld-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ld-cat-pill {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f2544;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.ld-cat-pill.is-active { background: #0f2544; color: #ffffff; border-color: #0f2544; }
.ld-filter-controls { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; align-items: end; }
.ld-filter-controls label { display: block; font-size: 12.5px; font-weight: 700; color: #0f2544; margin-bottom: 5px; }
.ld-filter-controls select, .ld-filter-controls input[type="search"] {
  width: 100%; padding: 9px 12px; border: 1.5px solid #cbd5e1; border-radius: 8px; font-size: 14.5px;
}
.ld-dsw-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ld-dsw-btn { padding: 9px 4px; border: 1.5px solid #cbd5e1; border-radius: 8px; background: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.ld-dsw-btn.is-active { background: #e6f6fd; border-color: #0177b0; color: #0177b0; }
.ld-filter-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 14px; }
.ld-only-avail { cursor: pointer; font-weight: 600; color: #0f2544; }

.ld-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ld-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(15,37,68,0.05); }
.ld-card.is-hidden { display: none; }
.ld-card-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0f2544, #183661); position: relative; display: flex; align-items: flex-end; padding: 12px; overflow: hidden; }
.ld-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-card-chips { position: relative; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.ld-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.ld-chip-cat { background: #019bdf; color: #fff; }
.ld-chip-city { background: rgba(255,255,255,0.95); color: #0f2544; }
.ld-chip-sold { background: #b91c1c; color: #fff; }
.ld-chip-few { background: #d97706; color: #fff; }
.ld-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ld-card-body h3 { font-size: 18px; margin: 0 0 6px; color: #0f2544; }
.ld-card-body h3 a { color: #0f2544; text-decoration: none; }
.ld-card-desc { font-size: 14px; color: #475569; margin: 0 0 12px; flex: 1; }
.ld-card-price { font-size: 17px; font-weight: 800; color: #0f2544; margin-bottom: 12px; }
.ld-card-price small { font-size: 12px; font-weight: 600; color: #64748b; }
.ld-card-actions { display: flex; gap: 8px; }

/* Schwebende Werbepaket-Leiste & Modal (ohne Transform-Konflikte, sofort sauber am unteren Rand sichtbar) */
.ld-pkg-dock {
  position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 99990 !important;
  background: #0f2544; color: #ffffff;
  border-top: 3px solid #019bdf;
  box-shadow: 0 -8px 28px rgba(15, 37, 68, 0.28);
  display: none;
}
.ld-pkg-dock.is-visible { display: block !important; }
.ld-pkg-dock-inner {
  max-width: 1180px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ld-pkg-dock-sub { font-size: 12.5px; color: #cbd5e1; }
.ld-pkg-dock-total { font-size: 20px; font-weight: 800; color: #7dd3fc; }
.ld-pkg-dock-actions { display: flex; gap: 10px; align-items: center; }

.ld-modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 37, 68, 0.6); z-index: 99999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.ld-modal-backdrop.is-open { display: flex; }
.ld-modal-card {
  background: #ffffff; border-radius: 12px; max-width: 660px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 26px; box-shadow: 0 18px 42px rgba(15,37,68,0.22);
}
.ld-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.ld-modal-head h3 { margin: 0; color: #0f2544; font-size: 20px; }
.ld-modal-close { background: #f1f5f9; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; color: #0f2544; }
.ld-pkg-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e2e8f0; }
.ld-pkg-row strong { color: #0f2544; }
.ld-pkg-name-link { display: inline-block; font-weight: 700; color: #0f2544 !important; text-decoration: none !important; transition: color 0.15s ease; }
.ld-pkg-name-link::after { content: " →"; color: #0177b0; font-weight: 700; font-size: 13px; }
.ld-pkg-name-link:hover { color: #0177b0 !important; text-decoration: underline !important; }
.ld-pkg-inline-link { color: #0f2544 !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }
.ld-pkg-inline-link:hover { color: #0177b0 !important; }
.ld-pkg-remove { background: none; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 10px; font-size: 12.5px; cursor: pointer; color: #b91c1c; }
.ld-modal-total-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px; margin: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ld-modal-total-box strong { color: #0f2544; }
.ld-modal-note { font-size: 12.5px; color: #475569; }
.ld-modal-total-val { font-size: 23px; font-weight: 800; color: #0f2544; }

/* Tabellen-Styling mit hoher Spezifität gegen Divi-Theme-Defaults (WCAG AAA Kontrast!) */
#page-container table.ld-clean-table,
.entry-content table.ld-clean-table,
table.ld-clean-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border: none !important;
  font-size: 15px !important;
  background-color: #ffffff !important;
}
#page-container table.ld-clean-table thead th,
.entry-content table.ld-clean-table thead th,
table.ld-clean-table thead th {
  background-color: #0f2544 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 13px 16px !important;
  border: none !important;
  vertical-align: middle !important;
  text-align: left !important;
}
#page-container table.ld-clean-table tbody td,
.entry-content table.ld-clean-table tbody td,
table.ld-clean-table tbody td {
  padding: 12px 16px !important;
  color: #1e293b !important;
  line-height: 1.45 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  vertical-align: middle !important;
}
#page-container table.ld-clean-table tbody tr.ld-row-hl td,
.entry-content table.ld-clean-table tbody tr.ld-row-hl td,
table.ld-clean-table tbody tr.ld-row-hl td {
  background-color: #f0f9ff !important;
  color: #0f2544 !important;
  font-weight: 600 !important;
}

/* Einheitliche 16:10-Bildhöhe für alle 3 Nachbar-Standortkarten auf einzelnen Standortseiten */
body.single-ld_standort .et_pb_image img,
body.single-ld_standort .et_pb_image_wrap img {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Verhindert unerwünschten weißen Spalt über dem Divi-Footer auf CPT-Seiten */
body.single-ld_standort #left-area,
body.single-ld_standort article.ld_standort,
body.single-ld_standort .entry-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Standort-Galerie (Hauptfoto + Thumbnail-Leiste + Lightbox) */
.ld-gallery { margin-bottom: 12px; }
.ld-gallery-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
}
.ld-gallery-zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}
.ld-gallery-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.ld-gallery-zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15, 37, 68, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.ld-gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 37, 68, 0.78);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s ease;
}
.ld-gal-nav:hover { background: #0177b0; }
.ld-gal-prev { left: 10px; }
.ld-gal-next { right: 10px; }
.ld-gal-counter {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(15, 37, 68, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.ld-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.ld-gal-thumb {
  padding: 0;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ld-gal-thumb:hover { border-color: #019bdf; }
.ld-gal-thumb.is-active {
  border-color: #0177b0;
  box-shadow: 0 0 0 2px rgba(1, 155, 223, 0.2);
}
.ld-gal-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Lightbox Overlay */
.ld-lightbox {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(10, 22, 42, 0.92);
  z-index: 100000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ld-lightbox.is-open { display: flex !important; }
.ld-lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ld-lightbox-img {
  max-width: 90vw !important;
  max-height: 82vh !important;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.ld-lightbox-cap {
  color: #e2e8f0;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
.ld-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 37, 68, 0.85);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.ld-lightbox-close:hover { background: #0177b0; }
.ld-lightbox-prev, .ld-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 37, 68, 0.85);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
}
.ld-lightbox-prev { left: 20px; }
.ld-lightbox-next { right: 20px; }
.ld-lightbox-prev:hover, .ld-lightbox-next:hover { background: #0177b0; }

/* Erweiterte Lightbox-Infozeile & Hover-Zoom-Badge für Referenzen-Galerien */
.ld-lightbox-meta.is-rich {
  width: 100%;
  max-width: 90vw;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 14px;
  color: #ffffff;
}
.ld-lightbox-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ld-lightbox-badge {
  display: inline-block;
  background: #019bdf;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.ld-lightbox-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
}
.ld-lightbox-sub {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-top: 4px;
}
.ld-lightbox-counter {
  font-size: 13px;
  font-weight: 700;
  color: #7dd3fc;
  white-space: nowrap;
  padding-top: 3px;
}
.ld-ref-grid.ld-ref-lb-ready .ld-ref-item {
  cursor: pointer;
}
.ld-ref-grid.ld-ref-lb-ready .ld-ref-item:hover {
  border-color: #019bdf;
}
.ld-ref-grid.ld-ref-lb-ready .ld-ref-thumb {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.ld-ref-grid.ld-ref-lb-ready .ld-ref-thumb::after {
  content: "Vergrößern";
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15, 37, 68, 0.86);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}
.ld-ref-grid.ld-ref-lb-ready .ld-ref-item:hover .ld-ref-thumb::after,
.ld-ref-grid.ld-ref-lb-ready .ld-ref-thumb:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .ld-lightbox-prev, .ld-lightbox-next { width: 40px; height: 40px; font-size: 24px; }
  .ld-lightbox-prev { left: 10px; }
  .ld-lightbox-next { right: 10px; }
}

/* Kontakt-Listen ohne Divi-Standard-Aufzählungspunkte */
#page-container ul.ld-contact-list,
.entry-content ul.ld-contact-list,
#page-container ul.ld-check-list,
.entry-content ul.ld-check-list {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

@media (max-width: 960px) {
  .ld-cards-grid, .ld-filter-controls { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ld-duration-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-cards-grid, .ld-filter-controls { grid-template-columns: 1fr; }
}
