/* lato-100 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/lato-v23-latin-100.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-100.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-100.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v23-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-900.svg#Lato') format('svg'); /* Legacy iOS */
}

html, body {
  height: 100%;
}

#contentwrapper {
  min-height: 100vh;          /* volle Viewport-Höhe */
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1 0 auto;
}

#bottom {
  margin-top: auto;           /* schiebt den Footer an das Ende */
}

.ce_linkbox,
.ce_linkbox .ce_linkbox_image,
.ce_linkbox .image_container {
  position: relative;
  overflow: hidden;
}

.ce_linkbox .image_container { z-index: 1; }
.ce_linkbox .ce_linkbox_overlay { z-index: 2; position: absolute; inset: 0; }
.ce_linkbox .content { z-index: 3; position: absolute; inset: 0; }

.ce_linkbox .image_container img {
  transform: scale(1) translateZ(0);
  transition: transform 0.45s ease;
  will-change: transform;
}
.ce_linkbox:hover .image_container img,
.ce_linkbox:focus-within .image_container img {
  transform: scale(1.08);
}

.ce_linkbox .ce_linkbox_overlay {
  background: rgba(0, 0, 0, 0.55) !important; /* Abdunklung */
  opacity: 0 !important;                      /* Start: hell */
  transition: opacity 0.35s ease !important;
  pointer-events: none !important;            /* Hover bleibt stabil */
}
.ce_linkbox:hover .ce_linkbox_overlay,
.ce_linkbox:focus-within .ce_linkbox_overlay {
  opacity: 1 !important;                      /* Abdunkeln bei Hover */
}

.ce_linkbox .content {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 1rem;
  opacity: 0 !important;                      /* Start: unsichtbar */
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease !important;
  pointer-events: none !important;            /* Hover wird nicht unterbrochen */
  visibility: visible !important;             /* falls Theme visibility nutzt */
}
.ce_linkbox:hover .content,
.ce_linkbox:focus-within .content {
  opacity: 1 !important;                      /* sichtbar */
  transform: translateY(0);
}

.ce_linkbox:hover .content *,
.ce_linkbox:focus-within .content * {
  opacity: 1 !important;
  visibility: visible !important;
}

.ce_linkbox a.ce_linkbox_link {
  display: block;
  height: 100%;
}

.ce_linkbox .content,
.ce_linkbox .ce_linkbox_overlay {
  animation: none !important;
}

.ce_linkbox .content h1,
.ce_linkbox .content h2,
.ce_linkbox .content h3,
.ce_linkbox .content strong {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.headline-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin: 40px 0;
  color: #222;                     /* Textfarbe */
  font-size: 1.3rem;               /* Schriftgröße */
  font-weight: 500;                /* optional fett */
  text-transform: none;            /* kannst du z. B. uppercase setzen */
}

.headline-divider::before,
.headline-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #ccd0d5;   /* Linienfarbe */
  margin: 0 20px;                  /* Abstand zum Text */
}

/* Optional – dezenter Stil, responsive Anpassung */
@media (max-width: 767px) {
  .headline-divider {
    font-size: 1.1rem;
  }
  .headline-divider::before,
  .headline-divider::after {
    margin: 0 10px;
  }
}

.swiper-pagination { display: none !important; }
.swiper-button-prev { display: none !important; } 
.swiper-button-next { display: none !important; }

.ce_customlink[data-style="style2"] a {
  display: inline-block;
  font-weight: 700;                
  color: #ffffff;                  
  border: 2px solid #ffffff;       
  background: transparent;         
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 3px;             
  transition: all 0.3s ease;       
}

/* --- Hover-Zustand --- */
.ce_customlink[data-style="style2"] a:hover {
  color: #081a31;                  
  background: #ffffff;             
  transition: all 0.3s ease-in-out;
}

.ce_revolutionslider_hyperlink {
  display: inline-block;
  color: #ffffff;   
  min-width: 120px;
  line-height: 30px;
  background: transparent;            
  border: 2px solid #ffffff;          
  font-weight: 700;                   
  text-transform: none;               
  padding: 2px 3px;
  border-radius: 2px;
  transition: all 0.4s ease-in-out;   
}

/* --- Hover-Zustand --- */
.ce_revolutionslider_hyperlink:hover {
  background: rgba(255, 255, 255, 0.6); 
  color: #081a31;                       
  border-color: #ffffff;                
  transition: all 0.4s ease-in-out;
}

@media (max-width: 767px) {
  .ce_revolutionslider_hyperlink {
    padding: 2px 4px;               
    font-size: 0.80em;               
    border-width: 1.5px;            
  }
}

.tp-caption.fadeimage svg,
.tp-caption.fadeimage img,
.ce_revolutionslider_image.fadeimage svg,
.ce_revolutionslider_image.fadeimage img {
  opacity: .80 !important;
  transition: opacity .3s ease;
}

.ce_download_default a {
    padding: 17px;
    border-radius: 10px;
}

  .headline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
  }

  .headline-container::before,
  .headline-container::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #000;
    margin: 0 10px;
  }

  .headline {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
  }
  
   .ce_text a {
    text-decoration: underline;
  }
  
     .ce_text a:hover {
    text-decoration: none;
  }
  
.ce_fancybox.style1 .content {
  background-color: #000 !important;
  color: #fff !important;
  font-size: 1.3rem !important;
}

.ce_fancybox.style1 .overlay {
  background-color: #000 !important;
  padding: 10px;
}

.ce_fancybox.style1 {
    padding: 4%;
}

.header .mainmenu a.pct_megamenu:after, .header .mainmenu a.submenu:after {
    transition: none;
    transform-origin: none;
}

.ce_text ul li {
    list-style-type: square;
}

#bottom .inside a:hover {
    color: #fff;
}

.mainmenu ul li {
    margin-left: 10px;
    margin-right: 10px;
}

.top-link .progress-ring circle {
    stroke: #fff;
}
