.elementor-2779 .elementor-element.elementor-element-6cb6254{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--background-transition:0.3s;}.elementor-2779 .elementor-element.elementor-element-602dfc1{--e-price-table-header-background-color:var( --e-global-color-secondary );}.elementor-2779 .elementor-element.elementor-element-602dfc1 .elementor-price-table__currency{align-self:flex-start;}.elementor-2779 .elementor-element.elementor-element-602dfc1 .elementor-price-table__after-price{justify-content:flex-start;}.elementor-2779 .elementor-element.elementor-element-602dfc1 .elementor-price-table__features-list li:before{border-top-style:solid;border-top-color:#ddd;border-top-width:2px;margin-top:15px;margin-bottom:15px;}.elementor-2779 .elementor-element.elementor-element-8d56951{--display:flex;--background-transition:0.3s;}.elementor-2779 .elementor-element.elementor-element-431d5f2{--spacer-size:50px;}.elementor-2779 .elementor-element.elementor-element-4caabf8{--display:flex;--background-transition:0.3s;--margin-top:5px;--margin-right:0px;--margin-bottom:5px;--margin-left:0px;}.elementor-2779 .elementor-element.elementor-element-d08a980{--display:flex;--background-transition:0.3s;}/* Start custom CSS for container, class: .elementor-element-d08a980 *//* Grid Container */
.fotogalerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 20px;
  justify-items: start;
}

/* Block pro Jahr */
.fotogalerie-jahr-block {
  margin-bottom: 60px;
}

/* Galerie-Card */
.fotogalerie-card {
  background: #f3f3f3 !important;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: none;
}

/* Titel unter dem Bild */
.fotogalerie-card h4 {
  font-size: 1.1rem;
  margin-top: 15px;
  margin-bottom: 0;
  word-break: break-word;
}

/* Bild mit Hover-Zoom */
/* Bild mit Hover-Zoom und fixer Höhe */
.fotogalerie-card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  width: 100%;
  height: 180px; /* Einheitliche Höhe */
  object-fit: cover; /* Bild wird beschnitten, bleibt aber proportional */
}

.fotogalerie-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Pagination */
.fotogalerie-pagination {
  margin-top: 40px;
  text-align: center;
}

.fotogalerie-pagination a {
  margin: 0 6px;
  text-decoration: none;
  color: #009ee0;
  font-weight: bold;
}

.fotogalerie-pagination a:hover {
  color: #005177;
}

.fotogalerie-pagination strong {
  margin: 0 6px;
  color: #000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fotogalerie-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .fotogalerie-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .fotogalerie-grid {
    grid-template-columns: 1fr;
  }

  .fotogalerie-card {
    padding: 15px;
  }
}

/* GLightbox Schließen-Button */
.glightbox-clean .gclose {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  z-index: 2147483647 !important;

  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: none !important;
}

/* GLightbox Container ganz oben */
.glightbox-container {
  z-index: 2147483646 !important;
}/* End custom CSS */