/*
 Theme Name:   meinhundert B2B 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: #003838;
  z-index: 1000;
  position: fixed;
  width: 100%;
  height: 94px;
}

.site {
  margin-top: 94px;
}

.site.footer-widgets {
  padding: 0 20px;
}

.inside-header.grid-container {
  background-color: #003838;
  /* padding-left: 15px;
  padding-right: 15px; */
}

.site-logo {
  margin: 0;
}

.main-navigation .main-nav ul li.highlight {
  padding: 12px 16px;
  border: 1px solid #BACACA;
  border-radius: 8px;
  margin-left: 20px;
  background-color: #fff;
}

.main-navigation .main-nav ul li a {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  padding: 0 20px;
}

.main-navigation .main-nav #menu-mobil li a {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  padding: 0 20px 0 32px;
  margin-top: 40px;
  margin-bottom: 8px;
}

#menu-mobil .sub-menu a {
  background-color: #002E2D;
  padding-left: 60px !important;
}

.main-navigation .main-nav ul#menu-mobil li.highlight {
  margin: 148px auto 64px;
  width: fit-content;
}

.main-navigation .main-nav ul#menu-mobil li.highlight a {
  margin-top: 0;
  margin-bottom: 0;
  color: #003838 !important;
  text-decoration: none;
}

.main-navigation .main-nav ul li.highlight a {
  color: #003838;
  line-height: 28px;
}

.mobile-menu-open.slide-opened {
  overflow: hidden;
}

.main-navigation .main-nav ul li.highlight:hover, #menu-mobil .highlight.menu-item a:hover,
.main-navigation .main-nav ul li.highlight:focus, #menu-mobil .highlight.menu-item a:focus {
  color: #3e6565;
  border-color: #688;
  background-color: #E5EAEA;
  text-decoration: none;
}

.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a
{
  color: /*#3E6565 */ #fff !important;
  text-decoration: none;
  border-color: #688;
  background-color: transparent;
}


.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li a:focus {
  color: #fff !important;
  text-decoration: underline;
}


.main-navigation .main-nav ul li.highlight:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li.highlight:hover > a {
	color: #3E6565 !important;
	text-decoration: none;
} 

.main-navigation .main-nav li.highlight a, .main-navigation .main-nav ul li.highlight[class*="current-menu-"] > a {
  color: #003838 !important;
  text-decoration: none;
  border-color: #688;
  background-color: transparent;
}

.main-navigation .main-nav ul li.highlight a:hover {
  color: inherit !important;
}

.main-navigation .main-nav #menu-mobil li a:hover {
  text-decoration: underline;
  color: #fff;
}

.main-navigation .main-nav #menu-mobil li.highlight a:hover {
  text-decoration: none;
  color: #3E6565 !important;
}

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

.mobile-menu-control-wrapper .menu-toggle {
  background-color: transparent;
  border: 1px solid #BACACA;
  border-radius: 8px;
  line-height: 28px;
  padding: 12px;

}

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

#generate-slideout-menu {
  margin: 0;
  /* padding: 0 16px; */
  width: 100%;
  background-color: #002E2D;
}

.slideout-exit.has-svg-icon::before {
  content: "";
  display: inline-block;
  width: 170px;
  height: 21px;
  background-image: url('/wp-content/uploads/2025/09/Logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  margin-top: 22px;
}

.gp-icon.icon-arrow {
  transform: rotate(-90deg);
  margin-right: -2px;
  margin-top: 5px;
}

.sfHover .gp-icon.icon-arrow {
  transform: rotate(-180deg);
}

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

/* #menu-mobil .highlight.menu-item a:hover {
  color: #003838 !important;
} */

.gp-icon.pro-close {
  float: right;
  margin-top: 8px;
  border: 1px solid #BACACA;
  padding: 13px 17px;
  border-radius: 8px;
  display: block;
  font-weight: 600;
}

.slideout-navigation button.slideout-exit {
  padding: 16px !important;
  background-color: #003838 !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: hidden;
  opacity: 1;
}

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

@media only screen and (max-width: 1150px) {
  #mobile-menu-control-wrapper {
    display: block;
  }
}
/* Page-Formular-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(
    to right,
    #FFF9B2 0%,
    #FFEB00 100%
  );
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
}

.nav-btn.highlight.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-324 a:hover {
  background: linear-gradient( to right, #FFEB00 0%, #FFF9B2 100% );
  color: #000;
}

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

.site-footer .footer-widgets-container .inner-padding {
  padding: 0;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
  margin-left: 0;
}

.inside-footer-widgets .puretextblock_container, .site-info .puretextblock_container {
  padding: 0;
  margin: 0;
}

.inside-footer-widgets .puretextblock_container img {
  height: 24.5px;
  width: auto;
}

.mh-logo.alignnone.wp-image-9733.size-full {
  height: 17px;
}

.mh-logo.alignnone.wp-image-9733.size-full::after {
  background: none;
}

.inside-footer-widgets .puretextblock_content .no-arrow::after {
  display: none;
}

.inside-footer-widgets {
  display: grid;
  grid-template-columns: 32% 23% 23% 23%;
  align-items: start;
}

.footer-widget-1 .puretextblock_content p {
  font-size: 22px;
  color: #fff;
  line-height: 32px;
  font-weight: 600;
  max-width: 300px;
}

.footer-widget-1 .yellow {
  color: #fffd82;
  margin-top: 40px;
  display: inline-block;
}

.inside-footer-widgets .puretextblock_headline {
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.inside-footer-widgets .puretextblock_content {
  color: #fff;
  font-size: 22px;
  line-height: 28px;
}

.inside-footer-widgets .puretextblock_content p {
  margin-bottom: 20px;
}

.inside-footer-widgets .puretextblock_content a {
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.inside-footer-widgets .puretextblock_content a.smaller_footer_link {
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  font-weight: 400;
  display: block;
  margin-top: 8px;
  max-width: 230px;
}

.inside-footer-widgets .puretextblock_content a.smaller_footer_link::after, .inside-footer-widgets .puretextblock_content a::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("/wp-content/themes/generatepress-child/img/ic-arrow-right-white.svg") no-repeat center;
  background-size: contain;
  margin-left: 5px;
  vertical-align: bottom;
}

.inside-footer-widgets .puretextblock_content a.smaller_footer_link:hover {
  text-decoration: underline;
}

.inside-footer-widgets .puretextblock_content a::after {
  margin-left: 8px;
}

.copyright-bar, .footer-bar .puretextblock_content a {
  color: #CCD5D5;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  font-weight: 400;
}

.inside-site-info.grid-container {
  padding: 0;
}

.site-info {
  padding-bottom: 64px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Error Page */
.error404 .entry-content {
  position: relative;
  max-width: 741px;
  background-color: transparent;
  padding: 0px 10px 0;
  border-radius: 24px;
  text-align: left;
  margin: 0 auto 80px;
  font-size: 16px;
  line-height: 26px;
  color: #003838;
  font-weight: 400;
}

.error404 .entry-content a {
  font-weight: 600;
  color: #003838;
  text-decoration: none;
  margin-top: auto;
}

.error404 .entry-content a:hover {
  /* color: #3E6565; */
  text-decoration: underline;
}

.alignnone.wp-image-110.size-medium {
  margin-bottom: 5px;
}
/*
.footer-widgets-container .digitalpioniere {
  margin-top: 32px;
} */

@media (max-width: 1130px) {
  .inside-footer-widgets {
    grid-template-columns: auto auto auto auto;
    gap: 15px;
  }
}

@media (max-width: 980px) {
  .inside-footer-widgets {
    grid-template-columns: 100%;
    gap: 24px;
  }

  .footer-widgets-container.grid-container {
    padding: 40px 0 32px;
  }

  .site-footer .puretextblock_container.one .main_content {
    max-width: unset;
  }

  .inside-site-info {
    display: block;
  }

  .site.footer-widgets {
    padding: 0 15px;
  }

  .footer-widget-1 .puretextblock_content p {
    font-size: 18px;
    line-height: 26px;
    max-width: 240px;
  }

  .footer-widget-1 .yellow {
    margin-top: 0;
  }

  #footer-widgets .footer-widget-1 {
    margin-bottom: 24px;
  }

  .inside-footer-widgets .puretextblock_content a {
    font-size: 16px;
  }

 /* .footer-widget-3 #block-11 .puretextblock_content p:nth-child(3n),*/ #footer-widgets .footer-widget-2 {
    margin-bottom: 0;
  }

  .footer-widget-4 {
    margin-top: 0;
    text-align: center;
  }

  .inside-footer-widgets .puretextblock_content a.smaller_footer_link {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    text-align: left;
  }

  .site-info {
    padding-bottom: 32px;
  }

  .site {
    margin-top: 80px;
  }
}



/* Page Template */
body:not(.home) .page-typ.alignwide {
  background-color: #003838;
  padding: 16px 0 64px;
}

.page-header-area {
  max-width: 1256px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 48.6% auto;
  grid-column-gap: 33px;
}

.page-header-area.no_header_img {
  margin-top: 40px;
  display: block;
}

.page-header-area .my-featured-img.wp-post-image {
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
}

.header-text-area {
  align-content: center;
}

.page-with-img, .page-no-img {
  font-weight: 600;
  color: #fff;
  font-size: 44px;
  line-height: 52px;
  letter-spacing: -1%;
  margin-bottom: 24px;
}

.header-text-area .infotext-page {
  opacity: 0.7;
  color: #fff;
  margin-bottom: 0;
  line-height: 34px;
  font-size: 22px;
  font-weight: 400;
  max-width: 480px;
  margin-left: 0;
  padding: 0;
}

.page-header-area.no_header_img .infotext-page {
  max-width: unset;
}

.page-header-area.no_header_img .infotext-page p {
  margin-bottom: 0;
}

.header_button {
  background-color: #FFFD82;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #002E2D;
  font-size: 22px;
  line-height: 30px;
  border: 1px solid #D3C606;
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
}

.header_button::after{
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url("/wp-content/themes/generatepress-child/img/ic-arrow-right.svg") no-repeat center;
  background-size: contain;
  margin-left: 10px;
}


.header_button:hover {
  color: #726900;
  background-color: #FFFD82;
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
}

.header_button:hover::after {
  background: url("/wp-content/themes/generatepress-child/img/ic-arrow-right-hoved.svg") no-repeat center;
}

.breadcrumb {
  font-size: 14px;
  line-height: 1.5;
  color: #FFFD82;
  max-width: 1256px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.breadcrumb a {
  text-decoration: none;
  color: #fff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
/*
.breadcrumb-home {
  display: inline-flex;
  align-items: center;
} */

.breadcrumb-icon {
  width: 16px;
  margin-right: 2px;
  display: inline-block;
  vertical-align: sub;
}

.breadcrumb-current {
  /* font-weight: 600; */
  color: #FFFD82
}

@media only screen and (max-width: 800px) {
  .page-header-area {
    grid-template-columns: 100%;
    gap: 33px;
  }

  .page-header-area .my-featured-img.wp-post-image {
    /*height: auto;
    min-height: 206px;*/
	height: 210px;
  }

  .page-with-img, .page-no-img {
    font-size: 30px;
    line-height: 40px;
  }

  .header-text-area .infotext-page {
    font-size: 18px;
    line-height: 28px;
    max-width: 90%;
  }

  body:not(.home) .page-typ.alignwide {
    padding-bottom: 39px;
  }
}

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

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
  margin-top: 0;
}

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


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

.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: 725px;
  width: 100%;
  /* border-radius: 24px;*/
  object-fit: cover;
  display: block;
}


.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: 1150px) {
  #secondary-navigation {
    display: none;
  }

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

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

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


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

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

  .one-container .site-content, .inside-page-header {
    padding: 0 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 (max-width: 768px) {
  .inside-header {
    padding-right: 0;
    padding-left: 0;
  }
}

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

/* 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;
  }
}

/* Kontaktformular */
.gform_wrapper {
  max-width: 798px;
  margin: 96px auto;
}

.gform_fields .gform_heading, #gform_wrapper_1 .gform_heading, .downloads .gform_heading {
  display: none;
}

.gform_wrapper .gform_heading {
  display: none !important;
}

.gform_fields .gfield_label.gform-field-label {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #003838;
}

.gform_fields .gfield_required {
  color: #003838;
  align-self: normal;
  margin-left: -2px;
  font-size: 16px;
}

.gform_fields .ginput_container_select select, .gform_fields .ginput_complex.ginput_container input,
.gform_fields .ginput_container.ginput_container_email input, .gform_fields .ginput_container.ginput_container_phone input,
.gform_fields .ginput_container.ginput_container_text input {
  --gf-local-height: 64px;
  font-size: 18px;
  line-height: 28px;
  color: #002E2D;
  border-color: #688;
  border-radius: 8px;
  align-items: center;
}

.gform_fields .ginput_container_select select {
	background-size: 24px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11.2812 16.7188L5.28125 10.7188C4.875 10.3438 4.875 9.6875 5.28125 9.3125C5.65625 8.90625 6.3125 8.90625 6.6875 9.3125L12 14.5938L17.2812 9.3125C17.6562 8.90625 18.3125 8.90625 18.6875 9.3125C19.0938 9.6875 19.0938 10.3438 18.6875 10.7188L12.6875 16.7188C12.3125 17.125 11.6562 17.125 11.2812 16.7188Z' fill='%23002E2D'/></svg>");
    background-repeat: no-repeat;
}

.gform_fields .ginput_container_select select:hover, .gform_fields .ginput_container_select select:focus {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M11.2812 16.7188L5.28125 10.7188C4.875 10.3438 4.875 9.6875 5.28125 9.3125C5.65625 8.90625 6.3125 8.90625 6.6875 9.3125L12 14.5938L17.2812 9.3125C17.6562 8.90625 18.3125 8.90625 18.6875 9.3125C19.0938 9.6875 19.0938 10.3438 18.6875 10.7188L12.6875 16.7188C12.3125 17.125 11.6562 17.125 11.2812 16.7188Z' fill='%23002E2D'/></svg>");
}

.gform_fields .ginput_container.ginput_container_textarea textarea {
  font-size: 18px;
  line-height: 28px;
  color: #002E2D;
  border-color: #688;
  border-radius: 8px;
}

.charleft.ginput_counter.gfield_description {
  font-size: 16px;
  line-height: 26px;
  color: #004C4C;
}

.gform_wrapper .gform_fields .gfield--type-choice legend {
  color: #002E2D;
  font-size: 22px;
  line-height: 34px;
  margin-top: 24px;
  margin-bottom: 24px;
  font-weight: 600;
}

.gform_wrapper .gfield--type-choice .ginput_container_consent input {
  border-color: #688;
  border-radius: 6px;
  height: 24px;
  width: 24px;
  margin-top: 3px;
  align-items: center;
}

.gform_wrapper .gfield--type-choice .ginput_container_consent label {
  font-size: 18px;
  line-height: 28px;
  color: #002E2D;
}

.gform_wrapper .gfield--type-choice .gfield_consent_description {
  text-align: center;
  border: 0;
  font-size: 16px;
  line-height: 24px;
  color: #002E2D;
}

/*#gform_submit_button_1,*/ .gform_wrapper .gform-footer input.button{
  background-color: #F5F5F5 !important;
  color: #002e3d !important;
  border-color: #E9EAEB !important;
  border-radius: 8px !important;
  padding: 16px 24px !important;
  text-align: center !important;
  margin: 0px auto 120px !important;
  font-size: 22px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
}


.gform_wrapper .gform-footer input.button:hover,
.gform_wrapper .gform-footer input[type="submit"]:hover /*,
#gform_submit_button_1:hover */{
  text-decoration: none !important;
  color: #3E6565 !important;
  border-color: #668888 !important;
  background-color: #E5EAEA !important;
}
.gform_wrapper .nl_form .gform-footer input.button, .gform_wrapper .kontakt .gform-footer input.button {
  /* padding: 16px 24px !important; */
  /* border-radius: 8px !important; */
  text-decoration: none !important;
  /* margin-bottom: 16px !important; */
  display: inline-flex !important;
  /* align-items: center !important; */
  /* font-weight: 600 !important; */
  color: #002E2D !important;
  /* font-size: 22px !important;
  line-height: 28px !important; */
  border: 1px solid #D3C606 !important;
  /* text-align: center !important; */
  background-color: #FFFD82 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease-in-out !important;
  background-size: 200% 100% !important;
  background-position: 15% 50% !important;
}

.gform_wrapper .nl_form .gform-footer input.button:hover,
.gform_wrapper .kontakt .gform-footer input.button:hover {
  background-color: #FFFD82 !important;
  background-size: 200% 100% !important;
  background-position: 15% 50% !important;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60) !important;
  color: #726900 !important;
}

.gform-field-label a {
  color: #002E2D;
}

.gform-field-label a:hover {
  text-decoration: none;
}

#field_1_24, div.gfield:has(.star_info) {
  position: relative;
}

.star_info {
  position: absolute;
  bottom: -175px;
  font-size: 18px;
  line-height: 28px;
  color: #002E2D;
}

.gform-theme--framework input[type="checkbox"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  color: #fff !important;
  background-color: #000;
  width: 24px !important;
  height: 24px !important;
  text-align: center;
  border-radius: 6px;
  align-content: center;
}


.gfield.field_description_above .gfield_description.gfield_consent_description {
  color: #002e2d !important;
  text-align: left !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  font-size: 18px !important;
  line-height: 28px !important;
}

.gform-theme--foundation .gf_name_has_2 .gform-grid-col {
  padding-inline: 8px;
}


.ginput_container_select select:has(> option.gf_placeholder:checked),
.gfield_select:has(> option.gf_placeholder:checked) {
  color: #567878 !important; 
}

.ginput_container_select select:not(:has(> option.gf_placeholder:checked)),
.gfield_select:not(:has(> option.gf_placeholder:checked)) {
  color: #002E2D !important; 
}

.ginput_container_select select option,
.gfield_select option {
  color: initial;
}

.gform_wrapper input[type="text"]::placeholder,
.gform_wrapper input[type="email"]::placeholder,
.gform_wrapper input[type="url"]::placeholder,
.gform_wrapper input[type="tel"]::placeholder,
.gform_wrapper input[type="number"]::placeholder,
.gform_wrapper input[type="search"]::placeholder,
.gform_wrapper input[type="password"]::placeholder,
.gform_wrapper textarea::placeholder {
  color: #567878;
  opacity: 1; /* wichtig für Safari/iOS */
}

.gform_wrapper input[type="text"]:placeholder-shown,
.gform_wrapper input[type="email"]:placeholder-shown,
.gform_wrapper input[type="url"]:placeholder-shown,
.gform_wrapper input[type="tel"]:placeholder-shown,
.gform_wrapper input[type="number"]:placeholder-shown,
.gform_wrapper input[type="search"]:placeholder-shown,
.gform_wrapper input[type="password"]:placeholder-shown,
.gform_wrapper textarea:placeholder-shown {
  color: #567878 !important;
}

.gform_wrapper input[type="text"]:not(:placeholder-shown),
.gform_wrapper input[type="email"]:not(:placeholder-shown),
.gform_wrapper input[type="url"]:not(:placeholder-shown),
.gform_wrapper input[type="tel"]:not(:placeholder-shown),
.gform_wrapper input[type="number"]:not(:placeholder-shown),
.gform_wrapper input[type="search"]:not(:placeholder-shown),
.gform_wrapper input[type="password"]:not(:placeholder-shown),
.gform_wrapper textarea:not(:placeholder-shown) {
  color: #002E2D; /* oder inherit */
}

/* Optional: Autofill neutralisieren (Safari/Chrome) */
.gform_wrapper input:-webkit-autofill {
  -webkit-text-fill-color: #002E2D;
  transition: background-color 9999s ease-out 0s;
}

.gform-theme--framework input[type="checkbox"]::before {
  background-color: #002e2d;
}

.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type="hidden"])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus {
  --gf-local-outline-color: #688 !important;
}

@media only screen and (max-width: 500px) {
	.gfield--type-consent legend {
	  display: table !important;
	}

	.gfield--type-consent legend .gfield_required.gfield_required_asterisk {
	  margin-left: 3px;
	  position: absolute;
	  margin-top: -22px;
	}
}
/* Single Downloads Template */
.single-downloads .page-header-area .my-featured-img.wp-post-image {
  height: 340px;
  width: 100%;
  object-fit: contain;
  border-radius: 24px;
  background-color: #fff;
  padding: 12px;
}

.single-downloads .entry-content {
  max-width: 800px;
  margin: 64px auto 96px;
}

.single-downloads h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1%;
  margin-bottom: 32px;
  color: #002E2D;
}


.single-downloads .infotext-page {
  margin: auto;
  padding: 0;
  max-width: unset;
  font-size: 18px;
  line-height: 28px;
}

/* IFrame */
.jobs_heading {
  color: #002E2D;
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1%;
  text-align: center;
  margin: 96px auto 20px;
}

#personio-iframe {
  margin: 48px auto 96px;
}

@media only screen and (max-width: 1270px) {
  #masthead {
    padding: 0 16px;
  }
}


@media only screen and (max-width: 800px) {
  .jobs_heading {
    font-size: 30px;
    line-height: 40px;
    margin: 64px auto 20px;
  }

  #personio-iframe {
    margin: 24px auto;
  }

  .gfield.field_description_above .gfield_description.gfield_consent_description {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .gform_wrapper .gform_fields .gfield--type-choice legend {
    margin-top: 8px;
  }

  .gform_wrapper {
    margin-top: 64px;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 640px) {
  .gfield .ginput_container .medium {
    width: 100% !important;
  }
}

/* WP Adminbar */
#wpadminbar {
  position: fixed;
}
