/*
Theme Name:         JugBau - Main Theme
Author:             newsenses GmbH
Author URI:         http://www.newsenses.net
Description:        Das Template fuer JugBau
Version:            1.0
License:            Commercial
*/
@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/jugbau/fonts/inter-v20-latin-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/jugbau/fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/jugbau/fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --max-width-content: 1440px;
  --container-padding-x: 24px;
  --color-primary: #692c2f;
  --color-secondary: #eaf2f6;
  --color-black: #000;
  --color-white: #ffffff;
  --font-primary: Inter, Arial, sans-serif;
}

html,
body {
  margin: 0 !important;
  padding: 0;
  font-family: var(--font-primary);
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: min(100% - 2 * var(--container-padding-x), var(--max-width-content));
  margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
ol,
ul,
blockquote,
input,
textarea,
select,
option,
button,
label,
legend,
fieldset,
caption,
th,
td {
  font-family: var(--font-primary) !important;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#logo {
  display: inline-flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

#logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

#nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 32px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

#nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

#nav-toggle span:nth-child(1) {
  top: 1px;
}

#nav-toggle span:nth-child(2) {
  top: 11px;
}

#nav-toggle span:nth-child(3) {
  top: 21px;
}

.site-header.menu-open #nav-toggle span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.site-header.menu-open #nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open #nav-toggle span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.site-navigation {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

.site-header .site-navigation #mainMenu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-navigation #mainMenu > li {
  position: relative;
}

.site-navigation #mainMenu a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 24px 0;
  font-weight: 400;
  position: relative;
}

.site-navigation #mainMenu > li.is-active-link > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background-color: #692c2f;
  border-radius: 999px;
}

.site-navigation #mainMenu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-navigation #mainMenu .sub-menu a {
  padding: 10px 16px;
}

.site-navigation #mainMenu li:hover > .sub-menu,
.site-navigation #mainMenu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  #nav-toggle {
    display: block;
    margin-left: auto;
    z-index: 1002;
  }
  .site-navigation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
    z-index: 1001;
  }
  .site-header.menu-open .site-navigation {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .site-header .site-navigation #mainMenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 24px;
    text-align: center;
  }
  .site-navigation #mainMenu a {
    padding: 2px 0;
    font-size: 24px;
  }
  .site-navigation #mainMenu > li.is-active-link > a::after {
    bottom: -4px;
  }
  .site-navigation #mainMenu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 8px 0 0;
    min-width: 0;
    text-align: center;
  }
}
.site-footer {
  padding: 48px 0 24px;
  background-color: #eaf2f6;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__socialmedia {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}
.site-footer__socialmedia img {
  width: 48px;
  height: 48px;
}

.site-footer__brand {
  flex-shrink: 0;
}

.site-footer__logo {
  display: inline-flex;
}

.site-footer__logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

.site-footer__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex: 1 1 auto;
}

.site-footer__address {
  color: #000;
  line-height: 1.6;
  text-decoration: none !important;
}

.site-footer__address a {
  color: #000;
  text-decoration: none !important;
}

.site-footer__menu {
  margin-left: auto;
}

.site-footer__menu #footerMenu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__menu a {
  color: #000;
  text-decoration: none;
}

.site-footer__bottom {
  padding-top: 100px;
  display: flex;
  justify-content: space-between;
}

.site-footer__copy {
  color: #000;
}

@media (max-width: 768px) {
  .site-footer__inner,
  .site-footer__content {
    flex-direction: column;
  }
  .site-footer__menu {
    margin-left: 0;
  }
  .site-footer__menu #footerMenu,
  .site-footer__bottom {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__bottom {
    gap: 24px;
  }
  .site-footer__socialmedia {
    margin-top: 24px;
  }
}
/* Hero */
img#hero_image,
#hero_image {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: fill;
     object-fit: fill;
  min-height: 420px;
  max-height: 75vh;
}
img#hero_image img,
#hero_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  -o-object-position: center;
     object-position: center;
}

@media (max-width: 767px) {
  div#hero {
    height: 90vh;
  }
  #hero_image {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    height: 70vh;
  }
  #hero_image img {
    height: 100%;
    -o-object-fit: fill;
    object-fit: cover;
    -o-object-position: center;
    object-position: bottom;
    width: 100%;
  }
  .elementor img {
    max-width: unset !important;
  }
}
/* Leistungen */
#Leistung_image {
  width: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  aspect-ratio: 16/9;
  min-height: 420px;
  max-height: 75vh;
}
#Leistung_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  -o-object-position: center;
     object-position: center;
}

@media (max-width: 768px) {
  #Leistung_image {
    height: 65vh;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
    object-position: center;
  }
  #Leistung_image img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
  }
}
#flipcard-parent > div {
  height: 100%;
  overflow: unset;
}
@media (max-width: 1024px) {
  #flipcard-parent {
    height: 500px !important;
  }
}
@media (max-width: 768px) {
  #flipcard-parent {
    height: 450px !important;
  }
}

.eael-elements-flip-box-flip-card {
  border: 1px solid color-primary;
  border-radius: 10px;
}

.eael-elements-flip-box-padding {
  padding: 0 !important;
}

.eael-elements-flip-box-front-container {
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.eael-elements-flip-box-container {
  overflow: visible !important;
}

.eael-elements-slider-display-table {
  width: 100%;
  height: 100%;
  align-items: flex-start;
}

.eael-elements-flip-box-front-container,
.eael-elements-flip-box-back-container {
  overflow: hidden;
}

.eael-elements-flip-box-front-container .eael-elements-slider-display-table {
  height: auto;
}
.eael-elements-flip-box-front-container .eael-elements-flip-box-heading {
  padding: 0px 20px;
}
@media (max-width: 1024px) {
  .eael-elements-flip-box-front-container .eael-elements-flip-box-heading {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .eael-elements-flip-box-front-container .eael-elements-flip-box-heading {
    font-size: 22px;
  }
}

.eael-elements-flip-box-rear-container {
  padding: 20px;
}
.eael-elements-flip-box-rear-container h2 {
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .eael-elements-flip-box-rear-container h2 {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .eael-elements-flip-box-rear-container h2 {
    font-size: 15px;
  }
}
.eael-elements-flip-box-rear-container p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 1024px) {
  .eael-elements-flip-box-rear-container p {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .eael-elements-flip-box-rear-container p {
    font-size: 15px;
  }
}

.flip-box-arrow {
  align-self: flex-start;
  margin-top: 0px;
  margin-right: 0;
  margin-bottom: 35px;
  margin-left: auto;
  width: 100%;
  height: 26px;
  background-image: url("/wp-content/uploads/Arrow_jugbau.svg");
  background-repeat: no-repeat;
  background-position: right 30px center;
  background-size: contain;
}

@media (max-width: 1024px) {
  .flip-box-arrow {
    margin-bottom: 13%;
  }
}
@media (max-width: 768px) {
  .eael-elements-flip-box-icon-image {
    width: 100%;
  }
  .eael-flipbox-image-as-icon {
    width: 100% !important;
    max-height: 276px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top center;
    object-position: top center;
  }
  .flip-box-arrow {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
/* Bild Karoussel */
.elementor-element.elementor-arrows-position-outside .swiper,
.elementor-lightbox.elementor-arrows-position-outside .swiper {
  width: min(100%, 100% - 400px) !important;
} 
@media (max-width: 1024px) {
  .elementor-element.elementor-arrows-position-outside .swiper,
  .elementor-lightbox.elementor-arrows-position-outside .swiper {
    width: min(100%, 100% - 200px) !important;
  }
}
@media (max-width: 768px) {
  .elementor-element.elementor-arrows-position-outside .swiper,
  .elementor-lightbox.elementor-arrows-position-outside .swiper {
    width: min(100%, 100% - 60px) !important;
  }
}
/* WhatsApp */
.jugbau-wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 99998;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #fff;
  line-height: 0;
  transition: transform 0.2s ease;
}
.jugbau-wa-float:hover, .jugbau-wa-float:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.jugbau-wa-float__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Gallery */
.elementor-slideshow__title {
  display: none;
}

svg.e-font-icon-svg.e-eicon-frame-expand {
  display: none;
}

svg.e-font-icon-svg.e-eicon-share-arrow {
  display: none;
}

svg.e-font-icon-svg.e-eicon-zoom-in-bold {
  display: none;
}/*# sourceMappingURL=style.css.map */