/*
 Theme Name:   meinhundert Child
 Theme URI:    https://generatepress.com/
 Description:  Child Theme für GeneratePress
 Author:       hello IT
 Author URI:   https://meinhundert.de/
 Template:     generatepress
 Version:      1.0
*/

/* Header */
#masthead {
  background-color: transparent;
  position: fixed;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0 20px;
}

.inside-header.grid-container {
  background-color: #fff;
  border: 1px solid #EEEAE8;
  padding: 11px 16px;
  margin: 32px 0 0;
  border-radius: 12px;
}

.site-logo {
  margin: auto;
}

#mobile-menu-control-wrapper {
  margin-right: 0;
  width: 282px;
  display: block;
}

.mobile-menu-control-wrapper .menu-toggle {
  background-color: #FCFBFA;
  border: 1px solid #C8BEB9;
  border-radius: 8px;
  line-height: 28px;
  padding: 8px 16px;
  max-width: 112px;
}

.mobile-menu {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  top: -1px;
  position: relative;
}

.menu-toggle:hover {
  background-color: #E5EAEA !important;
  color: #3E6565 !important;
}

#generate-slideout-menu {
  margin: 24px;
  border-radius: 24px;
  max-height: 94%;
  width: 320px;
}

.slideout-exit.has-svg-icon::before {
  content: 'Menü';
  font-size: 22px;
  font-weight: 600;
}

.gp-icon.pro-close {
  float: right;
  margin-top: 8px;
}

.slideout-navigation button.slideout-exit {
  padding: 1.5rem !important;
}

.inside-navigation .main-nav {
  padding: 0 1.5rem;
}

#menu-hauptnavigation-1 .menu-item a {
  font-size: 18px;
  font-weight: 500;
}

.slideout-menu .nav-btn.line-above::before {
  border-top: 1px solid #c8beb9;
  margin-top: 40px;
  content: '';
  display: block;
}

#menu-hauptnavigation-1 .menu-item.nav-btn a {
  line-height: 20px;
  padding: 16px 24px;
  border: 1px solid #c8beb9;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  text-align: center;
}

#menu-hauptnavigation-1 .menu-item.nav-btn.highlight a {
  border: 1px solid #E5D300;
  background-color: #E5D200;
  margin-top: 16px;
}

.slide-opened.mobile-menu-open .slideout-overlay {
  z-index: 100000;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  /* Blur-Effekt */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Für Safari */

  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}

.slide-opened.mobile-menu-open .offside-js--is-open .slideout-overlay {
  visibility: visible;
  opacity: 1;
}

button.menu-toggle svg {
  position: relative;
  top: 4px;
}


/* Page-Template bekommt keinen Header, nur ein Logo */
.page-template-page-formular #masthead {
  display: none;
}

body.page-template-page-formular header.form-header{
  display: flex;
  justify-content: left;
  padding: 24px;
  max-width: 1216px;
  margin: 40px auto 0;
}

body.page-template-page-formular .page-without-img .entry-title {
  margin-top: 0 !important;
}

.form-header__logo img{
    max-width:160px;
    height:auto;
}

/* Secondary menu */
#secondary-navigation {
  order: 3;
  margin: 0;
}

#secondary-navigation ul li a {
  line-height: 20px;
  padding: 16px 24px;
  border: 1px solid #c8beb9;
  border-radius: 8px;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 600;
}

#secondary-navigation ul li.highlight a {
  border: 1px solid #E5D300;
  background: linear-gradient(277deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
  color: #000;
}

#secondary-navigation ul li.highlight a:hover {
  background: linear-gradient(86deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
  color: #000;
}

#secondary-navigation ul li:not(.highlight) a:hover, #menu-hauptnavigation-1 .menu-item.nav-btn:not(.highlight) a:hover {
  background-color: #E5EAEA !important;
  color: #3E6565 !important;
}


.nav-btn.highlight.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-324 a {
  border: 1px solid #E5D300;
  background: linear-gradient(277deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
  color: #000;
}

.nav-btn.highlight.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-324 a:hover {
  background: linear-gradient(86deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
  color: #000;
}

/* Footer */
.footer-widgets-container.grid-container {
  padding: 67px 40px 64px;
}

#nav_menu-3 {
  text-align: center;
}

#menu-footer-oben, #menu-footer-oben-en {
  display: inline-flex;
  gap: 32px;
}

#menu-footer-oben a, #menu-footer-oben-en a {
  color: #ececed;
  text-decoration: none;
}

#footer-widgets, .site-info {
  background-color: #002E2D;
}

.copyright-bar {
  color: #ECECED;
}

.footer-bar a {
  color: #ECECED;
  text-decoration: none;
}

.footer-bar aside {
  display: inline-block;
}

.wpml-ls-legacy-list-horizontal a span {
  vertical-align: initial;
}

.inside-site-info.grid-container {
  border-top: 1px solid /*#ececed*/#003838;
  padding-bottom: 60px;
}

@media (max-width: 768px) {

  .footer-bar-align-right .copyright-bar {
    margin-top: 32px;
  }

  .footer-bar-active .footer-bar {
    margin-bottom: 0px;
    order: 2;
    margin-top: 24px;
  }
}

@media only screen and (max-width: 600px) {
  #menu-footer-oben, #menu-footer-oben-en {
    display: grid;
    gap: 18px;
  }
}

/* Content */
html, body {
  overflow-x: hidden;
}

body:not(.home) .entry-header {
  margin-bottom: 96px;
}


body:not(.home) #content {
  position: relative;
  z-index: 0;
}

/* Hintergrund Img */
body:not(.home):not(.page-template-page-formular) #content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('bg-element.svg') no-repeat center 480px;
  /* background-size: cover; */
  z-index: -1;
  pointer-events: none;
  width: calc(100vw);
  left: 50%;
  transform: translateX(-50%);
}

.entry-title {
  font-weight: 600;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -2%;
  color: #002E2D;
  margin-bottom: 30px;
  text-align: center;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

body.home .entry-title {
  display: none;
}

body:not(.home) .entry-title {
  /* margin-top: -120px; */
  position: relative;
  max-width: 741px;
  background-color: transparent;
  padding: 48px 10px 0;
  border-radius: 24px;
  text-align: left;
}

body:not(.home) .page-without-img .entry-title {
  margin-top: 120px;
  text-align: center;
}

.my-featured-wrapper {
  margin-top: -75px;
}

.entry-header .my-featured-img.wp-post-image {
  height: /*545px;*/ 725px;
  width: 100%;
  /* border-radius: 24px; */
  object-fit: cover;
}

.infotext-page {
  font-size: 22px;
  line-height: 32px;
  color: #003838;
  text-align: left;
  max-width: 741px;
  /* background-color: #FCFBFA; */
  padding: 0px 10px;
  margin: 0 auto 48px;
}

.alignwide, .entry-content .alignwide {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.wide_img {
  width: min(1216px, calc(100vw - 80px));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: auto;
  margin: 40px auto 0;
}

.footrow {
  max-width: 1296px;
  margin: auto;
  padding: 0 40px 8px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #003838;
}

@media only screen and (max-width: 1018px) {
  #secondary-navigation {
    display: none;
  }

  #mobile-menu-control-wrapper {
    order: 1;
    width: auto;
  }

  .site-logo {
    margin: 0 auto 0 0;
  }
}


@media only screen and (max-width: 800px) {

  #masthead {
    padding: 0 16px;
	position: absolute;
  }

  .inside-header.grid-container {
    margin-top: 16px;
  }

  .site-header .header-image {
    width: 170px;
    margin-top: -5px;
  }

  .inside-header.grid-container {
    margin-top: 16px;
    padding: 8px 8px 8px 16px;
  }

  .mobile-menu {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    top: -2px;
    position: relative;
  }

  .mobile-menu-control-wrapper .menu-toggle {
    padding: 6px 14px;
  }

  .one-container .site-content, .inside-page-header {
    padding: 15px;
  }

  body:not(.home) .entry-title {
    padding-top: 30px;
  }

  .entry-title {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 16px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .infotext-page {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 32px;
    padding-left: 5px;
    padding-right: 5px;
  }

  body:not(.home) .entry-header {
  	margin-bottom: 64px;
  }

  .footrow {
    padding: 0 15px 8px;
  }
}

@media only screen and (max-width: 600px) {
  .entry-header .my-featured-img.wp-post-image {
    height: 340px;
  }
}



/* Popover */
body.is-popover-open {
  overflow: hidden;
  touch-action: none;
}

.popover-root { position: fixed; inset: 0; display: grid; place-items: center; z-index: 9999; }
.popover-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  /* position: fixed; */
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  /* Blur-Effekt */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Für Safari */

  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  transition: visibility 0.2s ease, opacity 0.2s ease;
 }

 .is-popover-open .popover-backdrop {
   visibility: visible;
   opacity: 1;
 }

.popover-dialog {
  position: relative;
  background: #fff;
  max-height: 86vh;
  overflow: auto;
  padding: 24px 0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  outline: none;
  width: min(92vw, 760px);
  max-width: 400px;
  z-index: 21;
  opacity: 0;
  transform: scale(0.94);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Beim Öffnen startet eine einmalige Pop-In-Animation */
body.is-popover-open .popover-dialog {
  animation: mh-popin 280ms ease-out forwards;
}

@keyframes mh-popin {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popover-root.size-sm .popover-dialog { width: min(92vw, 520px); }
.popover-root.size-lg .popover-dialog { width: min(92vw, 960px); }
.popover-close {
  position: absolute;
  top: 28px;
  right: 24px;
  color: #002E2D;
  padding: 0;
  background: transparent;
  outline: none;
}

.popover-close svg {
  width: 20px;
  height: 20px;
  fill: #002E2D; /* Farbe ändern */
}

.cp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 20px;
}

.cp-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.cp-item.no-icon {
  grid-template-columns: 1fr;
}

.cp-icon-wrap {
  line-height: 0;
}

.cp-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.cp-text p { margin: 0; }

#popover-title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #002E2D;
  padding: 0 24px;
}

#popover-infotext {
  border-bottom: 1px solid #688;
  padding-bottom: 20px;
}

#popover-infotext p {
  color: #003838;
  padding: 0 24px 0px 24px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
}

.popover-content .cp-text {
  font-size: 14px;
  line-height: 20px;
  color: #003838;
  font-weight: 400;
}

.popover-content .cp-text a {
  font-weight: 600;
  text-decoration: none;
}

.popover-content .cp-text a:hover, #menu-hauptnavigation-1 .menu-item.menu-item--info .menu-info-box p a:hover {
  color: #3E6565;
  text-decoration: underline;
}

.popover-btn {
  display: inline-block;
  background: transparent;
  color: #003838;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #668888;
  margin: 0 24px;
}

.popover-btn:hover,
.popover-btn:focus {
  background-color: #E5EAEA !important;
  color: #3E6565 !important;
}

.popover-close:hover, .popover-close:focus {
  background-color: transparent;
}

/* Menu Kontaktinfos */
.menu-item.menu-item--info {
  margin-top: 100px;
}

.menu-item.menu-item--info .menu-info-box p, .menu-item.menu-item--info .menu-info-box p a {
  color: #003838;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
}

#menu-hauptnavigation-1 .menu-item.menu-item--info .menu-info-box p a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-top: 16px;
}


@media only screen and (max-width: 600px) {
  .menu-item.menu-item--info {
    margin-top: 60px;
  }
}


/* Exit Intend Part */
.zf_lB_Dimmer_489902{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgb(0, 0, 0);
    opacity: 0.8;
    z-index: 10000000;
}

.zf_lB_Container_489902{
	position: fixed;
	background-color: white;
	margin: 0;
	margin-right: 0px;
	padding: 0;
	height: 500px;
	width:  850px;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	border: 7px solid #000;
	max-height: calc(100% - 60px);
	z-index: 999999;
	transition: height 0.5s ease;
	outline : none;
}

p{
margin-bottom: 10px;
}
.zf_lB_Wrapper_489902{
	position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 0;
    margin-top: -180px;
    z-index: 10000001;
}
.zf_main_id_489902{
	height: calc(100% - 0px);
	display: flex;
	overflow-y: auto;
	overflow-x: hidden;
}
.zf_lb_closeform_489902 {
    position: absolute;
    right: -20px;
    background: #2F2E2E;
    padding: 0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    top: -15px;
    cursor: pointer;
    border: 2px solid #D9D9D9;
}
.zf_lb_closeform_489902:before, .zf_lb_closeform_489902:after {
    position: absolute;
    left: 14px;
    content: ' ';
    height: 19px;
    width: 2px;
    top: 6px;
    background-color: #F7F7F7;
}
.zf_lb_closeform_489902:before {
  transform: rotate(45deg);
}
.zf_lb_closeform_489902:after {
  transform: rotate(-45deg);
}
@media screen and (min-device-width: 10px) and (max-device-width: 380px) {
   .zf_lB_Container_489902 {
  width: 270px !important;
}
}
@media screen and (min-device-width: 360px) and (max-device-width: 480px) {
   .zf_lB_Container_489902 {
  width: 350px !important;
}
}
@media screen and (min-device-width: 440px) and (max-device-width: 500px) {
   .zf_lB_Container_489902 {
  width: 380px !important;
}
}
@media only screen  and (min-width:500px) and (max-width:600px)  {
 	.zf_lB_Container_489902 {
	width: 450px;
 }
}
@media only screen  and (min-width:601px) and (max-width:700px)  {
 	.zf_lB_Container_489902 {
	width: 540px;
 }
}
@media only screen  and (min-width:700px) and (max-width:800px)  {
.zf_lB_Container_489902 {
	width: 650px;
 }
}
@media screen and (min-device-width: 801px) and (max-device-width: 1268px) {
   .zf_lB_Container_489902 {
  width: 750px !important;
}
}
