/**/.hamburgerButton{display:block;background-color:transparent;border:0;padding:0;margin:0}.hamburgerButton,.hamburgerButton svg{width:100%;height:100%}/**/.graphicWidget{width:200px;height:200px;margin:10px auto;text-align:center}.graphicWidget svg.svg{width:100%;height:100%;color:#000;fill:#000}.graphicWidget img.svg{object-fit:contain;width:100%;height:100%}
.graphicWidget .svg[data-icon-mask]{display:block;aspect-ratio:1;width:100%;height:100%;color:#000;background-color:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
.graphicWidgetV2{width:60px;height:60px}.graphicWidgetV3{font-size:0}/**/.dmNewParagraph[data-version] .text-align-left{text-align:left!important}.dmNewParagraph[data-version] .text-align-center{text-align:center!important}.dmNewParagraph[data-version] .text-align-right{text-align:right!important}
.dmNewParagraph[data-version] .text-align-justify{text-align:justify!important}.dmNewParagraph[data-version] .ql-indent-1{padding:0 1em;padding-inline-end:0;padding-inline-start:3em}.dmNewParagraph[data-version] .ql-indent-2{padding:0 2em;padding-inline-end:0;padding-inline-start:6em}
.dmNewParagraph[data-version] .ql-indent-3{padding:0 3em;padding-inline-end:0;padding-inline-start:9em}.dmNewParagraph[data-version] .ql-indent-4{padding:0 4em;padding-inline-end:0;padding-inline-start:12em}
.dmNewParagraph[data-version] .ql-indent-5{padding:0 5em;padding-inline-end:0;padding-inline-start:15em}.dmNewParagraph[data-version] .ql-indent-6{padding:0 6em;padding-inline-end:0;padding-inline-start:18em}
.dmNewParagraph[data-version] .ql-indent-7{padding:0 7em;padding-inline-end:0;padding-inline-start:21em}.dmNewParagraph[data-version] .ql-indent-8{padding:0 8em;padding-inline-end:0;padding-inline-start:24em}
.dmNewParagraph[data-version] .ql-indent-9{padding:0 9em;padding-inline-end:0;padding-inline-start:27em}.dmNewParagraph[data-version]{line-height:initial}.dmNewParagraph[data-version] [class*=size-]{width:auto!important;height:auto!important}
.dmNewParagraph[data-version] h1,.dmNewParagraph[data-version] h2,.dmNewParagraph[data-version] h3,.dmNewParagraph[data-version] h4,.dmNewParagraph[data-version] h5,.dmNewParagraph[data-version] h6,.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] p,.dmNewParagraph[data-version] ul{margin-top:0;margin-bottom:0}
.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] ul{padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.dmNewParagraph[data-version] ol>li,.dmNewParagraph[data-version] ul>li{list-style-type:none;text-indent:-1.5em;margin:0 1em;margin-inline-end:0;margin-inline-start:2em}
.dmNewParagraph[data-version] ol>li:before,.dmNewParagraph[data-version] ul>li:before{min-width:1em;display:inline-block;margin-right:.5em;margin-inline-start:0;margin-inline-end:.5em;text-align:right;text-align:end}
.dmNewParagraph[data-version] ul .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ul .ql-indent-1:before{font-weight:700;content:"○"}
.dmNewParagraph[data-version] ul .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ul .ql-indent-2:before,.dmNewParagraph[data-version] ul .ql-indent-3:before,.dmNewParagraph[data-version] ul .ql-indent-4:before,.dmNewParagraph[data-version] ul .ql-indent-5:before,.dmNewParagraph[data-version] ul .ql-indent-6:before,.dmNewParagraph[data-version] ul .ql-indent-7:before,.dmNewParagraph[data-version] ul .ql-indent-8:before,.dmNewParagraph[data-version] ul .ql-indent-9:before{font-weight:700;content:"■"}
.dmNewParagraph[data-version] ul .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ul .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}
.dmNewParagraph[data-version] ul .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ul .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}
.dmNewParagraph[data-version] ul .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ul .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ul .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}
.dmNewParagraph[data-version] ul>li:before{font-weight:700;content:"•";font-family:Arial}.dmNewParagraph[data-version] ul.custom-list-1>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"○";transform:scale(1);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-2>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"★";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-3>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"➞";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-4>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"＋";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-5>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"－";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-6>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✓";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-7>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✗";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ol .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ol .ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ol .ql-indent-2:before{content:counter(list-2,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ol .ql-indent-3:before{content:counter(list-3,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}.dmNewParagraph[data-version] ol .ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ol .ql-indent-5:before{content:counter(list-5,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}.dmNewParagraph[data-version] ol .ql-indent-6:before{content:counter(list-6,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ol .ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ol .ql-indent-8:before{content:counter(list-8,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}.dmNewParagraph[data-version] ol .ql-indent-9:before{content:counter(list-9,decimal) ". "}
.dmNewParagraph[data-version] ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.dmNewParagraph[data-version] ol li:before{content:counter(list-0,decimal) ". "}
.dmNewParagraph[data-version] a{vertical-align:initial}@media(min-width:768px) and (max-width:1024px){.dmNewParagraph[data-version] .t-text-align-left{text-align:left!important}.dmNewParagraph[data-version] .t-text-align-center{text-align:center!important}
.dmNewParagraph[data-version] .t-text-align-right{text-align:right!important}.dmNewParagraph[data-version] .t-text-align-justify{text-align:justify!important}}@media(max-width:767px){.dmRoot .dmNewParagraph[data-version] .m-text-align-left{text-align:left!important}
.dmRoot .dmNewParagraph[data-version] .m-text-align-center{text-align:center!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-right{text-align:right!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-justify{text-align:justify!important}
}.inlineBindingLink{color:inherit!important;text-decoration:inherit!important}
/* Custom Widgets Styles */
.widget-4f1917 {
  width: 100%;
}

.widget-4f1917 .gallery-container {
  margin: 0 auto;
  padding: 0px;
}

/* ===== GALLERY GRID ===== */
.widget-4f1917 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 0px;
}

.widget-4f1917 .gallery-item {
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

/* Animations */
.widget-4f1917 .animation-fade.is-visible .gallery-item {
  animation: fadeInItem 0.6s ease forwards;
}

@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.widget-4f1917 .animation-slide.is-visible .gallery-item {
  animation: slideInItem 0.6s ease forwards;
}

@keyframes slideInItem {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.widget-4f1917 .animation-zoom.is-visible .gallery-item {
  animation: zoomInItem 0.6s ease forwards;
}

@keyframes zoomInItem {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.widget-4f1917 .animation-flip.is-visible .gallery-item {
  animation: flipInItem 0.7s ease forwards;
}

@keyframes flipInItem {
  from {
    opacity: 0;
    transform: perspective(600px) rotateY(-45deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
  }
}
/* Image Wrapper (shared by grid & slider) */
.widget-4f1917 .image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.widget-4f1917 .image-wrapper:has([src*=hmw-ai])::after {
  content: "KI";
  background-color: hsla(0, 0%, 86%, 0.5);
  color: #000;
  border-top-left-radius: 12px;
  padding: 0.1rem 0.5rem;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: 0;
}

.widget-4f1917 .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.widget-4f1917 .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.widget-4f1917 .zoom-icon {
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

/* Bildtext Hover-Overlay */
.widget-4f1917 .bodytext-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  max-height: 55%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.widget-4f1917 .bodytext-overlay p {
  margin: 0 0 6px;
}

.widget-4f1917 .bodytext-overlay p:last-child {
  margin: 0;
}

.widget-4f1917 .bodytext-overlay .bodytext-heading {
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.3;
}

/* Show bodytext on hover (grid items) */
.widget-4f1917 .gallery-item:hover .bodytext-overlay,
.widget-4f1917 .slider-slide:hover .bodytext-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effects */
.widget-4f1917 .hover-zoom .gallery-item:hover .image-wrapper {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.widget-4f1917 .hover-zoom .gallery-item:hover .image-wrapper img {
  transform: scale(1.1);
}

.widget-4f1917 .hover-zoom .gallery-item:hover .image-overlay {
  opacity: 1;
}

.widget-4f1917 .hover-zoom .gallery-item:hover .zoom-icon {
  transform: scale(1);
}

.widget-4f1917 .hover-lift .gallery-item:hover .image-wrapper {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.widget-4f1917 .hover-lift .gallery-item:hover .image-overlay {
  opacity: 1;
}

.widget-4f1917 .hover-lift .gallery-item:hover .zoom-icon {
  transform: scale(1);
}

.widget-4f1917 .hover-slide .gallery-item:hover .image-overlay {
  opacity: 1;
  animation: slideOverlay 0.3s ease;
}

@keyframes slideOverlay {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.widget-4f1917 .hover-slide .gallery-item:hover .zoom-icon {
  transform: scale(1);
}

.widget-4f1917 .image-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
  text-align: center;
}

/* ===== SLIDER ===== */
.widget-4f1917 .slider-outer {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: 0px;
}

/* arrows-outside mode: outer nav buttons sit in the flex row */
.widget-4f1917 .slider-outer .slider-nav-outside {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.widget-4f1917 .slider-outer .slider-nav-outside:hover {
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transform: scale(1.08);
}

.widget-4f1917 .slider-outer .slider-nav-outside.hidden {
  opacity: 0;
  pointer-events: none;
}

.widget-4f1917 .slider-wrapper {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  margin-bottom: 0px;
}

/* when inside slider-outer, wrapper has no own margin-bottom */
.widget-4f1917 .slider-outer .slider-wrapper {
  margin-bottom: 0;
}

.widget-4f1917 .slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.widget-4f1917 .slider-slide {
  flex-shrink: 0;
  cursor: pointer;
}

.widget-4f1917 .slider-slide .image-wrapper {
  height: 420px;
  border-radius: 12px;
}

.widget-4f1917 .slider-slide .image-caption {
  margin-top: 14px;
  font-size: 15px;
}

/* Slider navigation buttons (inside = default position) */
.widget-4f1917 .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.widget-4f1917 .slider-nav:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.widget-4f1917 .slider-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

.widget-4f1917 .slider-prev {
  left: 12px;
}

.widget-4f1917 .slider-next {
  right: 12px;
}

/* Slider dots */
.widget-4f1917 .slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  min-height: 12.5px;
}

.widget-4f1917 .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.widget-4f1917 .slider-dot.active {
  background: #333;
  transform: scale(1.25);
}

/* ===== PAGINATION ===== */
.widget-4f1917 .pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 0 16px;
}

.widget-4f1917 .pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  flex-shrink: 0;
  user-select: none;
}

.widget-4f1917 .pagination-btn:hover:not(:disabled) {
  background: #f0f0f0;
  border-color: #333;
}

.widget-4f1917 .pagination-btn:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

.widget-4f1917 .pagination-btn.disabled,
.widget-4f1917 .pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.widget-4f1917 .pagination-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-4f1917 .pagination-numbers li {
  list-style: none;
}

.widget-4f1917 .page-number {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.widget-4f1917 .page-number:hover {
  background: #f0f0f0;
  border-color: #333;
}

.widget-4f1917 .page-number:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

.widget-4f1917 .page-number.active {
  background: #333;
  color: white;
  border-color: #333;
}

.widget-4f1917 .page-dots {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #999;
  flex-shrink: 0;
}

/* ===== LIGHTBOX ===== */
.widget-4f1917 .lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.widget-4f1917 .lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.widget-4f1917 .lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
}

.widget-4f1917 .lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}

.widget-4f1917 .lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
}

.widget-4f1917 .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.widget-4f1917 .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
}

.widget-4f1917 .lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.widget-4f1917 .lightbox-prev {
  left: 20px;
}

.widget-4f1917 .lightbox-next {
  right: 20px;
}

/* Lightbox inner layout: image + bodytext side panel */
.widget-4f1917 .lightbox-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 92%;
  max-height: 90%;
  border-radius: 10px;
  overflow: hidden;
}

.widget-4f1917 .lightbox-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.widget-4f1917 .lightbox-image {
  max-width: 100%;
  max-height: calc(90vh - 80px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.15s ease;
  display: block;
}

/* When bodytext panel is shown, image gets no separate border-radius on the right */
.widget-4f1917 .lightbox-inner.has-bodytext .lightbox-image {
  border-radius: 8px 0 0 8px;
}

.widget-4f1917 .lightbox-image.transitioning {
  opacity: 0.3;
}

.widget-4f1917 .lightbox-caption {
  margin-top: 20px;
  color: white;
  font-size: 16px;
  text-align: center;
  max-width: 600px;
}

/* Bodytext side panel in lightbox */
.widget-4f1917 .lightbox-bodytext-panel {
  display: none;
  flex: 0 0 300px;
  width: 300px;
  min-height: 200px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  padding: 28px 24px;
  background: #1e293b;
  color: #f1f5f9;
  font-size: 15px;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.widget-4f1917 .lightbox-bodytext-panel.visible {
  display: block;
}

.widget-4f1917 .lightbox-bodytext-panel p {
  margin: 0 0 10px;
}

.widget-4f1917 .lightbox-bodytext-panel p:last-child {
  margin: 0;
}

.widget-4f1917 .lightbox-bodytext-panel h1,
.widget-4f1917 .lightbox-bodytext-panel h2,
.widget-4f1917 .lightbox-bodytext-panel h3 {
  margin: 0 0 10px;
  font-weight: 600;
}

.widget-4f1917 .lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.widget-4f1917 .no-images {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .widget-4f1917 .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
  .widget-4f1917 .lightbox-content {
    padding: 60px;
  }
  .widget-4f1917 .pagination-wrapper {
    gap: 10px;
    margin-top: 28px;
  }
  .widget-4f1917 .pagination-btn,
  .widget-4f1917 .page-number {
    min-width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .widget-4f1917 .slider-slide .image-wrapper {
    height: 300px;
  }
  .widget-4f1917 .lightbox-bodytext-panel {
    flex: 0 0 240px;
    width: 240px;
  }
}
@media (max-width: 767px) {
  .widget-4f1917 .gallery-container {
    padding: 16px;
  }
  .widget-4f1917 .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 0px;
  }
  .widget-4f1917 .pagination-wrapper {
    gap: 6px;
    margin-top: 24px;
    padding: 0 8px;
  }
  .widget-4f1917 .pagination-btn,
  .widget-4f1917 .page-number {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 0 8px;
  }
  .widget-4f1917 .pagination-numbers {
    gap: 6px;
  }
  .widget-4f1917 .page-dots {
    padding: 0 4px;
    font-size: 14px;
  }
  .widget-4f1917 .lightbox-content {
    padding: 40px 20px;
  }
  .widget-4f1917 .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .widget-4f1917 .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .widget-4f1917 .lightbox-prev {
    left: 10px;
  }
  .widget-4f1917 .lightbox-next {
    right: 10px;
  }
  .widget-4f1917 .lightbox-counter {
    bottom: 20px;
    font-size: 12px;
  }
  .widget-4f1917 .lightbox-caption {
    font-size: 14px;
    margin-top: 16px;
  }
  .widget-4f1917 .slider-slide .image-wrapper {
    height: 220px;
  }
  .widget-4f1917 .slider-nav {
    width: 40px;
    height: 40px;
  }
  .widget-4f1917 .slider-outer .slider-nav-outside {
    width: 36px;
    height: 36px;
  }
  /* On mobile, bodytext panel stacks below image in lightbox */
  .widget-4f1917 .lightbox-inner {
    flex-direction: column;
    max-width: 95%;
    max-height: 85%;
    overflow-y: auto;
  }
  .widget-4f1917 .lightbox-bodytext-panel {
    flex: none;
    width: 100%;
    max-height: 200px;
    border-radius: 0 0 8px 8px;
  }
  .widget-4f1917 .lightbox-inner.has-bodytext .lightbox-image {
    border-radius: 8px 8px 0 0;
  }
}

@charset "UTF-8";
.widget-64717d {
  width: 100%;
  max-width: 100%;
}

.widget-64717d .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 25px;
  width: 100%;
}

.widget-64717d .card-container {
  display: flex;
  flex-direction: column;
  min-height: auto;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  --box-shadow-color: rgba(0, 0, 0, 0.1);
}

.widget-64717d .card-container a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.widget-64717d .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.widget-64717d .layout2 .card-inner {
  position: relative;
}

.widget-64717d .card-image {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  height: 250px;
  position: relative;
}

.widget-64717d .card-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: transparent;
}

.widget-64717d .card-image img,
.widget-64717d .card-image video {
  width: 100%;
  height: 100%;
  display: block;
}

.widget-64717d .card-image svg {
  width: auto;
  place-self: center;
}

.widget-64717d .card-image video {
  margin: 0 auto !important;
}

.widget-64717d .card-content {
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-64717d .layout2 .card-content {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  height: 100%;
  width: 100%;
  place-content: center;
}

.widget-64717d .layout3 .card-inner {
  position: relative;
  height: 100%;
}

.widget-64717d .layout3 .card-image {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.widget-64717d .layout3 .card-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 100%;
  height: auto;
  place-content: flex-end;
  flex-grow: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.widget-64717d .layout3 .card-text {
  flex-grow: 0;
}

.widget-64717d .card-content:empty {
  padding: 0;
}

.widget-64717d .card-heading {
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

.widget-64717d .card-text {
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
  height: max-content;
  text-align: center;
}

.widget-64717d .layout2 .card-text {
  flex-grow: 0;
}

.widget-64717d .card-text p {
  margin: 0 0 12px 0;
}

.widget-64717d .card-text p:last-child {
  margin-bottom: 0;
}

/*
* Hover Effects
*/
/* Hover Effect: Zoom */
.widget-64717d .cards-grid.hover-zoom .card-container:hover {
  scale: 1.05;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Hover Effect: Lift */
.widget-64717d .cards-grid.hover-lift .card-container:hover {
  translate: 0 -8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/*
* Animationen
*/
/* Initial State: Karten sind unsichtbar bis sie einzeln sichtbar werden */
.widget-64717d .card-container:not(.is-visible):not(.animation-none) {
  opacity: 0;
}

.widget-64717d .card-container[class*=animation-]:not(.animation-none) {
  perspective: 1000px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
  opacity: 0;
}

/* Animation: Fade */
.widget-64717d .card-container.is-visible.animation-fade {
  animation: fadeInItem 0.6s ease forwards;
}

@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animation: Slide */
.widget-64717d .card-container.is-visible.animation-slide {
  animation: slideInItem 0.6s ease forwards;
}

@keyframes slideInItem {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation: Zoom */
.widget-64717d .card-container.is-visible.animation-zoom {
  animation: zoomInItem 0.6s ease forwards;
}

@keyframes zoomInItem {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Animation: Flip */
.widget-64717d .card-container.is-visible.animation-flip {
  animation: flipInItem 0.7s ease forwards;
}

@keyframes flipInItem {
  from {
    opacity: 0;
    transform: perspective(600px) rotateY(-45deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
  }
}
/* Animation: None - sofort sichtbar */
.widget-64717d .animation-none {
  opacity: 1;
}

/* Gestaffelte Verzögerungen – basierend auf der Spaltenposition im Grid */
/* Jede Karte bekommt eine kurze Verzögerung sobald sie sichtbar wird */
.widget-64717d .card-container.is-visible {
  animation-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .widget-64717d .card-container[class*=animation-] {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .widget-64717d [class*=hover-] {
    transform: none;
  }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .widget-64717d .cards-grid {
    grid-template-columns: repeat(auto-fll, minmax(min(250px, 100%), 1fr));
  }
}
/* Mobile */
@media (max-width: 767px) {
  .widget-64717d .cards-grid {
    grid-template-columns: 1fr;
  }
}
