/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/templates/ja_vega/local/css/fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Header */

span#triggerButton {
    min-width: 50px;
}

a.btn.btn-primary {
   padding: 15px;
}

.contact-btn {
  margin-right: 130px;
  min-width: 158.5px;
}

@media (max-width: 993px) {
  .contact-btn {
    margin-right: 10px;
  }
}

@media (max-width: 375px) {
  .contact-btn {
    display: none;
  }
}

span.search-wrap.col-4.d-flex.align-items-center.justify-content-end {
    margin-left: 15px;
}

header.header-block.header-default.w-100 {
    background: #6E7277;
    height: 100px;
    position: fixed;
    padding-top: 1rem;
}

#t4-megamenu-mainmenu img {
    height: 25px;
    width: 25px;
    margin-right: 7px;
}

div#t4-header {
    background: grey;
    margin-bottom: 0px;
}

@media (max-width: 500px){
  #t4-header .custom.jmoddiv.jmodinside {
    display: none;
}
}

/* Logo */
.navbar-brand.logo-image.logo-control {
    min-width: 100px;
    height: 50px;
}

.t4-megamenu > .navbar-nav > li {
    margin-left: 3rem;
}

img.logo-img.d-none.d-sm-block {
    max-height: 100%;
    width: 100%;
}

@media (max-width: 575px) { 
header img {
    max-width: 75%;
    height: auto;
   }
}

/* Header END */

/* Footer */

.t4-footer .mod-footer {
    margin-top: 1rem;
}

div#t4-footer {
    padding-top: 4rem;
}

.t4-footer .custom ul {
    max-width: 450px;
}

@media (max-width: 993px) {
  .row.g-4.g-lg-5 {
    justify-content: center;
  }
  .col-sm-6 {
      margin-left: 110px;
      width: 40%;
  }
  .col-md-12 {
    width: 40%;
  }
}

@media (max-width: 572px) {
  .col-sm-6 {
      margin-left: 10px;
      width: 51%;
    }
    .col-md-12 {
    width: 51%;
  }
}
/* Footer END */

/* Masthead */

.header-overlap + .t4-masthead .ja-masthead .ja-masthead-detail {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

h3.ja-masthead-title {
    color: white;
}

/* Masthead END */

/* h3 */

h3 {
    color: #3F68DE;
}

/* h3 End */

/* testamonials */

#Mod114 span.h2.main-title.my-0.mx-auto.aos-init.aos-animate {
    color: #3F68DE;
    font-size: 32px;
}

/* testamonials END */

/* img */

.acm-features.style-2 .intro-img img {
    border-radius: 4px;
}

/* img END */

/* Beiträge */

.share-social {
    display: none;
}

.item-page.type-default {
    max-width: 1000px;
}

/* Beiträge END */

/* Home */

/* Kacheln */

@media (max-width: 994px){
  #Mod185 .row {
    justify-content: center !important;
    margin-top: 25px;
  }
  #Mod185 .col-12.mb-3.col-lg-4 {
    max-width: 70% !important;
  }
}
@media (max-width: 625px){
  #Mod185 .row {
    margin-top: 40px;
  }
}

#Mod185 .acm-features.style-tiles {
    margin-top: -50px;
}

#Mod185 .acm-features.style-tiles .features-item {
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 6px;
  overflow: hidden;
}

#Mod185 .acm-features.style-tiles .features-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

#Mod185 .acm-features.style-tiles .item-inner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 500px; /* Höhe der Kachel */
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Weißer Bereich unten */
}

#Mod185 .acm-features.style-tiles .item-content {
  background: #fff;
  padding: 15px 15px 40px; /* unten mehr Platz für Button */
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin: 20px 20px 30px 20px; /* Abstand zum Rand, damit Hintergrund sichtbar bleibt */
  position: relative; /* wichtig für Button-Positionierung */
}

#Mod185 .acm-features.style-tiles h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

#Mod185 .acm-features.style-tiles .description {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Rundes Button-Design */
#Mod185 .acm-features.style-tiles .btn {
  position: absolute;
  bottom: -20px; /* halb aus dem weißen Bereich heraus */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; /* Icon-Größe */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Gallery */

.masonry {
  column-count: 3;
  column-gap: 16px;
}
.masonry-item {
  background-color: white;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}
.masonry-item:hover {
  transform: translateY(-5px);
}
@media (min-width: 1400px) {
    .masonry {
        max-width: 1320px;
    }
}
@media (max-width: 768px) {
  .masonry {
     column-count: 2;
  }
}
@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

div#t4-section-5 {
    /* align-items: center; */
    /* text-align: center; */
    justify-content: center;
    display: grid;
}

/* End Gallery */

/* Home END */

/* Kontakt */

img.img-fluid.rounded {
    max-width: 100%;
}
.contact-image {
    display: flex;
    justify-content: center;
}

.contact .contact-image {
    margin-bottom: 1.5rem;
}

/* Kontakt */

/* CTA */
#Mod123 .acm-cta.style-1 .btn-action {
    margin-top: 0;
}

#Mod123 .acm-cta.style-1 .cta-content {
    max-width: 700px;
}

#Mod123 a.btn.btn-light {
    background: #1D4ED8;
}
#Mod123 .acm-cta.style-1 .btn-light:hover, .acm-cta.style-1 .btn-light:focus, .acm-cta.style-1 .btn-light:active {
    background: rgba(28, 78, 217, 0.8);
}

#Mod123 .h2.cta-desc {
    text-shadow: 3px 1px 5px black;
}

#Mod123 .cta-wrap.aos-init.aos-animate {
    border-radius: 20px;
}

@media (max-width: 993px){
  #Mod123 .acm-cta.style-1 .cta-desc {
      font-size: 25px;
  }
}

@media (max-width: 768px){
  #Mod123 .acm-cta.style-1 .cta-desc {
      font-size: 20px;
  }
  #Mod123 .acm-cta.style-1 .cta-content > div:first-child {
    margin-right: 27px;
  }
}

@media (max-width: 500px){
  #Mod123 .acm-cta.style-1 .cta-content > div:first-child {
     margin-right: 5px;
  }
}

/* CTA END */
