/*! 
Theme Name: MMK Theme
Author: webkonditorei 
Author URI: https://webkonditorei.de 
Description: ACF + Tailwind Theme 
Version: 1.1.0 
Text Domain: mmk
*/


html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  font-size: 17px;
  scroll-behavior: smooth;
  --wpforms-button-background-color: #152644 !important;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #ffff;
  color: #152644;
}

p, li {
  font-family: "work-sans", sans-serif;
}

a {
  color: #eaff6e;
  text-decoration: underline;
}

/* Smooth Page Transition */
@view-transition {
  navigation: auto;
}

/* Load Font */
@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("./assets/fonts/work-sans/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("./assets/fonts/work-sans/WorkSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("./assets/fonts/work-sans/WorkSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("./assets/fonts/work-sans/WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Spacer */
.xs {
  height: 1.11rem;
}

.s {
  height: 2.777rem;
}

.m {
  height: 4.444rem;
}

.l {
  height: 5.555rem;
}

.xl {
  height: 8.333rem;
}

.xxl {
  height: 11.111rem;
}

/* Für kleinere Bildschirme (z.B. Smartphones) */
@media (max-width: 767px) {
  .xs {
    height: 0.8rem;
  }

  .s {
    height: 2rem;
  }

  .m {
    height: 3rem;
  }

  .l {
    height: 4rem;
  }

  .xl {
    height: 6rem;
  }

  .xxl {
    height: 8rem;
  }
}

/* Form */
.wpforms-container label {
  font-weight: 400 !important;
}

.wpforms-container input,
.wpforms-container textarea {
  border: none !important;
  background-color: #f5f5f5 !important;
  border-radius: 0 !important;
  padding: 35px 20px !important;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
  padding: 0 !important;
  background-color: none !important;
}

.wpforms-container {
  margin: 0 !important;
}

.wpforms-container textarea {
  border: none !important;
  box-shadow: none !important;
}

.wpforms-container button {
  border-radius: 0 !important;
  background-color: #7f171a !important;
  padding: 20px 25px !important;
  height: auto !important;
}

.wpforms-submit-container {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 1000px) {
  .wpforms-image-choices {
    flex-wrap: nowrap !important;
  }
}

/* Buttons */
.main-button {
  background-color: #eaff6e;
  color: #152644;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}

.main-button-small {
  padding: 10px 20px!important;
  font-size: 15px!important;
  color: #152644!important;
}

.secondary-button {
background-color: #F9F9F9;
  color: #152644;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}


.zacken-button, .button-arrow, .main-button-text {
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}

.zacken-button {
  position: absolute;
  left: calc(0px - 30px);
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);

}

.main-button-small .zacken-button {
  left: calc(0px - 40px);
}

.main-button:hover .zacken-button, .secondary-button:hover .zacken-button {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.main-button:hover .button-arrow, .secondary-button:hover .button-arrow {
scale: 0;
}

.main-button:hover .main-button-text, .secondary-button:hover .main-button-text {
transform: translateX(26px);
}



/* Arrow Link */

.arrow-link {
  font-weight: 700;
}

.arrow-link svg {
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}

.arrow-link:hover svg:nth-child(1),
.cta-container:hover svg:nth-child(1) {
  transform: translateX(100%);
}

.arrow-link:hover svg:nth-child(2), .cta-container:hover svg:nth-child(2) {
  transform: translateX(100%);
}

/* Nav */
.menu-item a,
.parent-item {
  font-weight: 600;

}

.parent-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.parent-item>svg {
  transition: all cubic-bezier(.76, 0, .24, 1) .3s;
}

.active-sub-nav>svg {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  padding: 25px;
  padding-bottom: 80px;
  background-color: #152644;
  color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}

.active-sub-nav-container {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.sub-menu::after {
  content: '';
  background-image: url('/wp-content/themes/mmk-theme/assets/svg/zacken.svg');
  position: absolute;
  width: 111px;
  height: 30px;
  background-size: contain;
  bottom: 20px;
  right: -20px;
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
  transition-delay: 0.4s;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.sub-menu>li {
  transform: translateY(20px);
  opacity: 0;
  transition: all cubic-bezier(.76, 0, .24, 1) .5s;
}

.menu-button {
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #eaff6e;
}

.active-sub-nav-container>li {
  opacity: 1;
  transform: translateY(0px);
}

.active-sub-nav-container::after {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.sub-menu>li:nth-child(2) {
  transition-delay: 0.1s;
}

.sub-menu>li:nth-child(3) {
  transition-delay: 0.2s;
}

.sub-menu>li:nth-child(4) {
  transition-delay: 0.3s;
}

.sub-menu>li:nth-child(5) {
  transition-delay: 0.4s;
}

.sub-menu>li:nth-child(6) {
  transition-delay: 0.5s;
}

.sub-menu>li:nth-child(7) {
  transition-delay: 0.6s;
}

.sub-menu>li:nth-child(8) {
  transition-delay: 0.7s;
}

.sub-menu>li:nth-child(9) {
  transition-delay: 0.8s;
}

.sub-menu>li:nth-child(10) {
  transition-delay: 0.9s;
}

/* Mobile Nav */
@media(max-width:767px) {
  .menu-hauptmenue-container {
    position: fixed;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    overflow: scroll;
    background-color: #152644;
    padding: 50px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all cubic-bezier(.76, 0, .24, 1) 1s;
  }

    #menu-hauptmenue .menu-item a,
    #menu-hauptmenue .parent-item {
      font-size: 20px;
    }

  .active-nav {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  #navtrigger path {
    transition: all ease-in-out .2s !important;
  }

  .menu-hauptmenue-container a,
  .menu-hauptmenue-container button {
    color: #ffff;
  }

  .active-trigger svg path {
    fill: #ffff;
  }

  .active-trigger #top-line {
    transform: translateY(9px);
  }

  .active-trigger #bottom-line {
    transform: translateY(-9px);
  }

  .parent-item>svg>path {
    fill: #ffff;
  }

  .menu-button {
    color: #152644 !important;
  }

  .sub-menu {
    position: relative;
    padding: 0px;
    max-height: 0px;
    margin: 0;
  }

  .active-sub-nav-container {
    padding: 15px;
    padding-bottom: 80px;
  }

  .sub-menu::after {
    left: 0px;
  }

  .menu-button {
    margin-top: 15px;
    display: flex;
  }
}

/* Overlay Hero */

.cta-container svg {
  transition: all cubic-bezier(.76, 0, .24, 1) .4s;
}


/* Overlay */

.overlay-div {
  background: linear-gradient(182deg, rgba(54, 54, 161, 0.00) 1.4%, #5A5AFF 83.13%);
}

.overlay-testimonial {
  background: linear-gradient(180deg, rgba(18, 29, 49, 0.00) 36.15%, #152644 100%);

}

.top-gradient {
background: linear-gradient(306deg, rgba(24, 24, 24, 0.00) -15.61%, rgba(24, 41, 72, 0.95) 88.42%);
  
}


/* Speaker Grid */

.speaker-item img, .speaker-item .zackensvg {
  transition: all cubic-bezier(.76, 0, .24, 1) .4s;
}

.speaker-item .zackensvg {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.speaker-item:hover .zackensvg {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.normal-item.speaker-item:hover img {
  width: 100%;
  top: 0%;
  left: 0%;
}

/* Image Spacer */

.zacken-u-l {
  bottom: 50px;
  left: -100px;
}

.zacken-u-r {
  bottom: 50px;
  right: -100px;
}

.zacken-m-r {
  bottom: calc(50% - 72px);
  right: -100px;
}

.zacken-m-l {
  bottom: calc(50% - 72px);
  left: -100px;
}


.zacken-o-r {
  top: 30px;
  right: -100px;
}

.zacken-o-l {
  top: 30px;
  left: -100px;
}




.kreis-u-l {
  bottom: -136.5px;
  left: -136.5px;
}

.kreis-u-r {
  bottom: -136.5px;
  right: -136.5px;
}

.kreis-m-r {
  bottom: calc(50% - 136.5px);
  right: -136.5px;
}

.kreis-m-l {
  bottom: calc(50% - 136.5px);
  left: -136.5px;
}


.kreis-o-r {
  top: -136.5px;
  right: -136.5px;
}

.kreis-o-l {
  top: -136.5px;
  left: -136.5px;
}


.netzwerk-u-l {
  bottom: 0;
  left: 30px;
}

.netzwerk-u-r {
  bottom: 0;
    right: 30px;
}

.netzwerk-m-r {
  top: calc(50% - 125px);
    right: 50px;
    transform: rotate(-90deg);
}

.netzwerk-m-l {
  top: calc(50% - 125px);
    left: 50px;
    transform: rotate(90deg);
}


.netzwerk-o-r {
  top: 0;
  right: 30px;
  transform: rotate(180deg);
}

.netzwerk-o-l {
  top: 0;
  left: 30px;
  transform: rotate(180deg);
}


@media(max-width:600px) {

  .zacken-spacer {
    width: 170px;
    height: auto;
  }

.zacken-u-l {
    bottom: 50px;
    left: -50px;
  }

  .zacken-u-r {
    bottom: 50px;
    right: -50px;
  }

  .zacken-m-r {
    bottom: calc(50% - 45px);
    right: -50px;
  }

  .zacken-m-l {
    bottom: calc(50% - 45px);
    left: -50px;
  }


  .zacken-o-r {
    top: 30px;
    right: -50px;
  }

  .zacken-o-l {
    top: 30px;
    left: -50px;
  }


.kreis-spacer {
  width: 200px;
  height: auto;
}

.kreis-u-l {
  bottom: -100px;
  left: -100px;
}

.kreis-u-r {
  bottom: -100px;
  right: -100px;
}

.kreis-m-r {
  bottom: calc(50% - 100px);
  right: -100px;
}

.kreis-m-l {
  bottom: calc(50% - 100px);
  left: -100px;
}


.kreis-o-r {
  top: -100px;
  right: -100px;
}

.kreis-o-l {
  top: -100px;
  left: -100px;
}


.netzwerk-spacer {
  width: 130px;
  height: auto;
}

.netzwerk-u-l {
  bottom: 0;
  left: 30px;
}

.netzwerk-u-r {
  bottom: 0;
  right: 30px;
}

.netzwerk-m-r {
  top: calc(50% - 125px);
  right: 50px;
  transform: rotate(-90deg);
}

.netzwerk-m-l {
  top: calc(50% - 125px);
  left: 50px;
  transform: rotate(90deg);
}


.netzwerk-o-r {
  top: 0;
  right: 30px;
  transform: rotate(180deg);
}

.netzwerk-o-l {
  top: 0;
  left: 30px;
  transform: rotate(180deg);
}


}



/* Testimonial Slider */

.testimonial-image {
  transform-origin: left bottom;
}

.swiper-button {
  transition: all ease-in-out .1s;
}

.swiper-button:active {
  scale: 0.75;
}


/* Loader */


.loader {
  width: 0px;
  height: 0px;
  opacity: 0;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite
}

.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 3px solid #152644;
  animation: prixClipFix 2s linear infinite;
}

.active-loading .loader {
  opacity: 1;
  width: 20px;
  height: 20px;
}

.active-loading .load-more-text {
  display: none;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg)
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
  }
}


/* Unfold item */



.unfold-content-container, .unfold-icon {
transition: all cubic-bezier(.76, 0, .24, 1) .4s;
}

.active-unfold .unfold-icon {
  transform: rotate(180deg);
}


/* Popup */

#newscontainer {
  background: rgba(18, 29, 49, 0.85);
}


/* Loading Scelleton */

.animate-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}


/* Checkbox */

.filter-radio {
  padding-left: 1.4em;
}

.filter-radio::before {
  content: '';
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: 2px;
  background-color: #fff;
  border-radius: 50%;
  left: 0;
  top: 0.3em;
}

.filter-radio::after {
  content: '';
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: 2px;
  background-color: #152644;
  border-radius: 50%;
  scale: 0;
  left: 0;
  top: 0.3em;
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .2s;
}

.filter-radio:checked::after {
  scale: 0.6;
}


.nobefore::before {
	display: none;
}


.image-skeleton {
  width: 100%;
  padding-top: 66%;
  /* 3:2 Seitenverhältnis */
  background-color: #e2e2e2;
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 0.375rem;
  position: relative;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.image-wrapper {
  position: relative;
  width: 100%;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper img.loaded {
  opacity: 1;
}

/* Lang Switcher Mobile */

.trp-shortcode-anchor {
	visibility: visible!important;
	border: none!important;
}

.trp-language-switcher-container {
	width: max-content!important;
	height: auto!important;
	padding: 0!important;
}

.trp-ls-shortcode-current-language {
	width: auto!important;
	padding: 0!important;
	border: none!important;
}

.trp-ls-disabled-language {
	padding: 0!important;
}

.trp-language-switcher > div > a > img {
	height: auto!important;
}


.trp-menu-ls-label img, .trp-language-item img {
	visibility: hidden;
}

.trp-menu-ls-label, .trp-language-item {
	position: relative;
}

.translatepress-de_DE .trp-menu-ls-label::after, .translatepress-de_DE .trp-language-item::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	background-image: url('/wp-content/themes/mmk-theme/assets/languages/en-icon.svg');
	background-size: contain;
}

.translatepress-en_US .trp-menu-ls-label::after, .translatepress-en_US .trp-language-item::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	background-image: url('/wp-content/themes/mmk-theme/assets/languages/de-icon.svg');
	background-size: contain;
}


.trp-language-item {
	padding: 5px!important;
}