/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com/
 Description:  Child Theme für GeneratePress
 Author:       hello IT GmbH & Co. KG
 Author URI:   https://hello-it.eu/
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
*/


.one-container .site-content {
  padding: 0 15px;
}

body:not(.page-template-page-start) {
  background: #e5306a14;
}

#page {
  background: transparent;
}

.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;
}
/*
#masthead {
  background-color: transparent;
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 20px;
}

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

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

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

.menu-toggle .mobile-menu {
  padding-left: 3px;
}

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

#mobile-menu-control-wrapper {
  /* order: 3;
  margin-left: auto;
}

#secondary-navigation {
  order: 2;
  margin: 0;
}

.secondary-nav-float-right .multi-navigation-wrapper {
  margin-left: 0 !important;
}

#secondary-navigation ul li.highlight a {
  border: 1px solid #666865;
  background: linear-gradient(277deg, #666865 8.33%, #666865 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: #fff;
}
#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:hover {
  background: linear-gradient(86deg, #666865 8.33%, #666865 78.8%);
  background-size: 200% 100%;
  background-position: 15% 50%;
  /* box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
  color: #fff;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .secondary-navigation .menu-toggle {
    display: none !important;
  }
} */


#primary-menu ul li.highlight a {
  border: 2px solid var(--mh-menu-highlight, #666865);
  background: var(--mh-menu-highlight, #666865);
  border-radius: 999px;
  padding: 15px 24px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.15s ease-in-out, background-color 0.2s ease, color 0.2s ease;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
/*
#primary-menu 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;
} */

#primary-menu ul li.highlight a:hover {
  background: #ffffff;
  border-color: var(--mh-menu-highlight, #666865);
  color: var(--mh-menu-highlight, #666865);
  opacity: 1;
}

#primary-menu ul li.highlight a:focus-visible {
  background: #ffffff;
  border-color: var(--mh-menu-highlight, #666865);
  color: var(--mh-menu-highlight, #666865);
}

body.mh-highlight-senior {
  --mh-menu-highlight: #b3c13d;
}

body.mh-highlight-junior {
  --mh-menu-highlight: #2f8d89;
}

body.mh-highlight-foerderer {
  --mh-menu-highlight: #666865;
}

.entry-content .wp-block-button__link,
.entry-content .wp-element-button,
.entry-content a.button,
.entry-content button:not(.menu-toggle):not(.quote_prev):not(.quote_next),
.entry-content input[type="submit"],
.entry-content input[type="button"],
.entry-content input[type="reset"],
.wpcf7 form .wpcf7-submit {
  border: 2px solid var(--mh-menu-highlight, #e5306a) !important;
  background: var(--mh-menu-highlight, #e5306a) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 15px 24px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  transition: transform 0.15s ease-in-out, background-color 0.2s ease, color 0.2s ease !important;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus-visible,
.entry-content .wp-element-button:hover,
.entry-content .wp-element-button:focus-visible,
.entry-content a.button:hover,
.entry-content a.button:focus-visible,
.entry-content button:not(.menu-toggle):not(.quote_prev):not(.quote_next):hover,
.entry-content button:not(.menu-toggle):not(.quote_prev):not(.quote_next):focus-visible,
.entry-content input[type="submit"]:hover,
.entry-content input[type="submit"]:focus-visible,
.entry-content input[type="button"]:hover,
.entry-content input[type="button"]:focus-visible,
.entry-content input[type="reset"]:hover,
.entry-content input[type="reset"]:focus-visible,
.wpcf7 form .wpcf7-submit:hover,
.wpcf7 form .wpcf7-submit:focus-visible {
  background: #ffffff !important;
  color: var(--mh-menu-highlight, #e5306a) !important;
  border-color: var(--mh-menu-highlight, #e5306a) !important;
}

.main-navigation .main-nav ul li:not(.highlight) > a {
  background: transparent !important;
}

.main-navigation .main-nav ul li:not(.highlight) > a:hover,
.main-navigation .main-nav ul li:not(.highlight) > a:focus-visible {
  font-weight: 700;
}

.kh2-featured-header-image {
  margin: 0 0 40px;
  line-height: 0;
  width: 100%;
  max-width: none;
}

.kh2-featured-header-image__img {
  width: 100vw;
  max-width: none !important;
  height: clamp(240px, 42vw, 560px);
  object-fit: cover;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* GeneratePress featured image: ebenfalls vollbreit darstellen */
.single .featured-image.page-header-image.grid-container,
.page .featured-image.page-header-image.grid-container {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
}

.single .featured-image.page-header-image.grid-container img,
.page .featured-image.page-header-image.grid-container img {
  width: 100vw;
  max-width: none !important;
  height: clamp(240px, 42vw, 560px);
  object-fit: cover;
  display: block;
}

/* Startseite Template */
body.page-template-page-start .site-content,
body.page-template-page-start #page {
  padding: 0;
}

body.page-template-page-start .mh-start {
  width: 100%;
}

body.page-template-page-start .mh-hero {
  min-height: 100vh;
  background-color: #d9d9d9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.page-template-page-start .mh-hero__layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-template-page-start .mh-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  color: #ffffff;
  overflow: visible;
}

body.page-template-page-start .mh-hero__claim-wrap {
  position: relative;
  width: 740px;
  max-width: calc(100vw - 112px);

  margin-bottom: 40px;
  padding: 88px 72px 74px 56px;
  background: #e5306a;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  z-index: 2;
}

body.page-template-page-start .mh-hero__claim-wrap::after {
  display: none;
}

body.page-template-page-start .mh-hero__claim {
  max-width: 540px;
}

body.page-template-page-start .mh-hero__claim h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1;
  color: #ffffff;
  text-align: left;
  text-transform: uppercase;
}

body.page-template-page-start .mh-hero__headline-line {
  display: block;
}

body.page-template-page-start .mh-hero__claim-text {
  margin: 36px 0 0;
  max-width: 460px;
  font-size: 28px;
  line-height: 1.18;
  color: #ffffff;
  text-align: left;
}

/* Kreise – fix in px, aber als Gruppe responsiv skaliert & zentriert */
body.page-template-page-start .mh-circles{
  display: flex;
  justify-content: start;
  align-items: center;
  flex: 1;
  margin-top: 0;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

body.page-template-page-start .mh-circles__wrap{
  position: relative;
  width: 640px;
  height: 500px;
  --scale: min(1, calc((100vw - 112px) / 640));
  transform: scale(var(--scale));
  transform-origin: center center;
  margin-bottom: calc((1 - var(--scale)) * 500px);
}

/* Grundform */
body.page-template-page-start .mh-circle{
  position:absolute;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:0;
  cursor: pointer;
  transition: transform 0.15s ease, z-index 0.15s ease;
  overflow: hidden;
}

body.page-template-page-start .mh-circle--static{
  cursor: default;
}

body.page-template-page-start .mh-circle:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.45);
}

body.page-template-page-start .mh-circle__label{
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
}

body.page-template-page-start .mh-circle--magenta .mh-circle__label{
  width: 100%;
  max-width: 155px;
  margin: 65px 50px 0 auto;
}

body.page-template-page-start .mh-circle--magenta:hover .mh-circle__label,
body.page-template-page-start .mh-circle--magenta:focus-visible .mh-circle__label{
  width: auto;
  max-width: none;
  margin: 0;
}

/* FIXE Größen & Positionen wie bei dir */
body.page-template-page-start .mh-circle--grey {
  width: 220px;
  height: 220px;
  left: 98px;
  top: 142px;
  background: #6b6f71;
  z-index: 3;
}

body.page-template-page-start .mh-circle--magenta {
  width: 312px;
  height: 312px;
  left: 196px;
  top: 0;
  background: #e31660;
  z-index: 2;
}

body.page-template-page-start .mh-circle--yellow {
  width: 160px;
  height: 160px;
  right: 116px;
  top: -13px;
  background: #b3c13d;
  z-index: 4;
}

body.page-template-page-start .mh-circle--turquoise-top {
  width: 110px;
  height: 110px;
  left: 145px;
  top: 72px;
  background: #2fbeb7;
  z-index: 5;
}

body.page-template-page-start .mh-circle--turquoise-bottom {
  width: 110px;
  height: 110px;
  left: 256px;
  bottom: 115px;
  background: #2fbeb7;
  z-index: 2;
}

/* Hover */
body.page-template-page-start .mh-circle:hover{
  transform: scale(1.03);
}

body.page-template-page-start .mh-circle--static:hover{
  transform: none;
}

body.page-template-page-start .mh-circle--turquoise-bottom:hover,
body.page-template-page-start .mh-circle--turquoise-bottom:focus-visible{
  transform: none;
}

@media (max-width: 1200px) {
  body.page-template-page-start .mh-hero__layout {
    padding-left: 40px;
    padding-right: 40px;
  }

  body.page-template-page-start .mh-hero__claim-wrap {
    width: 680px;
    max-width: calc(100vw - 80px);
    padding-left: 40px;
    padding-right: 56px;
  }
}

@media (max-width: 920px) {
  body.page-template-page-start .mh-hero__layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-template-page-start .mh-hero__claim-wrap {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 40px 28px 48px;
    border-top-right-radius: 96px;
    border-bottom-right-radius: 96px;
  }

  body.page-template-page-start .mh-hero__claim {
    max-width: none;
  }

  body.page-template-page-start .mh-hero__claim h1 {
    font-size: 52px;
  }

  body.page-template-page-start .mh-hero__claim-text {
    margin-top: 14px;
    font-size: 30px;
  }

  body.page-template-page-start .mh-circles__wrap {
    --scale: min(1, calc((100vw - 48px) / 640));
  }

  body.page-template-page-start .mh-circle__label {
    font-size: 18px;
  }
}

body.page-template-page-start .mh-circle--grey:hover{
  z-index: 7;
}

body.page-template-page-start .mh-circle--magenta:hover{
  z-index: 8;
}

body.page-template-page-start .mh-circle--yellow:hover,
body.page-template-page-start .mh-circle--turquoise-top:hover,
body.page-template-page-start .mh-circle--turquoise-bottom:hover{
  z-index: 9;
}

body.page-template-page-start .mh-circle--turquoise-bottom:hover{
  z-index: 2;
}

/* Optional: Content unterhalb */
body.page-template-page-start .mh-start__content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 16px;
}

.page-template-page-start #masthead {
  display: none;
}

.page-template-page-start .footer-widgets-container {
  padding: 0;
}

.page-template-page-start .site-footer {
  display: none;
}

.kh2-donate-button {
  position: fixed;
  right: 20px;
  bottom: 40%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e5306a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
}

.kh2-donate-button span{
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.kh2-donate-button:hover{
  opacity: 0.7;
  color: #fff;
}

.kh2-donate-button:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.kh2-donate-button:hover,
.kh2-donate-button:focus-visible{
  opacity: 0.7;
}

body.mh-onetap-text-scale-active .kh2-donate-button {
  width: clamp(136px, 11vw, 180px);
  height: clamp(136px, 11vw, 180px);
  padding: clamp(14px, 1.2vw, 20px);
}

body.mh-onetap-text-scale-active .kh2-donate-button span {
  line-height: 1.3;
}

.kh2-footer-addon {
  background: #ffffff;
  color: #000000;
  padding: 0 20px 24px;
  margin: 100px 0 0;
}

.kh2-footer-addon__inner {
  max-width: 1216px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid #d9d9d9;
  padding-top: 56px;
}

.site-footer .inside-footer-widgets,
.site-footer .inside-site-info {
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
}

.kh2-footer-addon__mission {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  font-weight: 600;
  color: #000000;
}

.kh2-footer-addon__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
  margin-bottom: 60px;
  justify-items: center;
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;
}

.kh2-footer-addon__heading {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #000000;
}

.kh2-footer-addon__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kh2-footer-addon__list li {
  margin: 0 0 8px;
}

.kh2-footer-addon__list a {
  color: #000000;
  text-decoration: none;
}

.kh2-footer-addon__list a:hover,
.kh2-footer-addon__list a:focus-visible {
  color: #000000;
  text-decoration: underline;
}

.kh2-footer-addon__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  text-align: center;
}

.kh2-footer-addon__social-link {
  color: #000000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #000000;
  background: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kh2-footer-addon__social-icon {
  display: none;
}

.kh2-footer-addon__social-symbol {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.kh2-footer-addon__social-symbol svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.kh2-footer-addon__social-image {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  transition: filter 0.2s ease;
}

.kh2-footer-addon__social-link:hover,
.kh2-footer-addon__social-link:focus-visible {
  color: #ffffff;
  background: #000000;
  text-decoration: none;
}

.kh2-footer-addon__social-link:hover .kh2-footer-addon__social-image,
.kh2-footer-addon__social-link:focus-visible .kh2-footer-addon__social-image {
  filter: brightness(0) invert(1);
}

.kh2-footer-addon__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.kh2-footer-addon__copyright {
  margin: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

.kh2-footer-addon__legal {
  display: flex;
  justify-content: flex-end;
}

.kh2-footer-addon__legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
}

.kh2-footer-addon__legal-list li {
  margin: 0;
}

.kh2-footer-addon__legal-list a {
  color: #000000;
  text-decoration: none;
}

.kh2-footer-addon__legal-list a:hover,
.kh2-footer-addon__legal-list a:focus-visible {
  color: #000000;
  text-decoration: underline;
}

@media only screen and (max-width: 860px) {
  .kh2-footer-addon {
    padding: 32px 16px 20px;
  }

  .kh2-footer-addon__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kh2-footer-addon__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .kh2-footer-addon__copyright {
    text-align: center;
  }

  .kh2-footer-addon__legal {
    justify-content: center;
  }

  .kh2-footer-addon__legal-list {
    justify-content: center;
  }
}

/* Kein Abstand zwischen Zusatz- und Standard-Footer */
.site-footer {
  margin-top: 0 !important;
}

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

.site-footer .site-info {
  display: none;
}

/* Mobile-Menue: grauen Burger-Hintergrund entfernen und Icon vergroessern */
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus,
.main-navigation .menu-toggle:focus-visible {
  background-color: transparent !important;
  box-shadow: none !important;
  margin-top: 20px;
}

.main-navigation .menu-toggle .gp-icon {
  font-size: 32px;
  line-height: 1;
}

.main-navigation .menu-toggle .gp-icon svg {
  width: 1em;
  height: 1em;
}
