
@font-face {
    font-family: 'Montserrat-medium';
    src: url('/assets/fonts/Montserrat/Montserrat-Medium.woff2') format('woff2'),
        url('/assets/fonts/Montserrat/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-regular';
    src: url('/assets/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'),
        url('/assets/fonts/Montserrat/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'),
        url('/assets/fonts/Montserrat/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: 'Montserrat-regular', sans-serif;
  font-weight: normal;
}

.area-bg {
    background-color: #B6E405;
}

.hero-area .section-title, .cta-area .section-content .section-title, .cta-area .section-content .section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.footer-area .footer-widget-wrapper .title {
    line-height: 1.3;
}

.section-title-wide {
    font-size: 70px;
}

.header__logo img {
    max-width: 70%;
}

p.text a {
    font-weight: bold;
    color: #B6E405;
}


@media only screen and (max-width: 1199px) {
    .section-style {
        margin-top: 0;
    }
    
}

@media only screen and (max-width: 767px) {
    .client-area .client-box {
        margin-top: 40px;
    }
    
}


/* ####################### MENU ####################### */


/* Basis: Navigation */
.main-nav {
  position: relative;
}

/* Menüliste (Desktop) */
.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.main-nav .menu > li {
  position: relative;
}

.main-nav .menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #062331;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.main-nav .menu > li:hover > a {
  background: rgba(0, 0, 0, 0.1);
}

/* Dropdown */
.main-nav .sub-menu {
position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 250px;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.main-nav .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hamburger Button */
.main-nav .menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  margin-left: auto;
}

.main-nav .menu-toggle span {
  width: 25px;
  height: 3px;
  background: #062331;
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 1080px) {
  .main-nav .menu-toggle {
    display: flex;
  }

  .main-nav .menu {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    background-color: #B6E405;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .main-nav .menu.open {
    max-height: 1000px; /* ausreichend groß für alle Einträge */
  }

  .main-nav .menu > li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #eafda4;
    display: none;
  }

  .main-nav .menu-item-has-children.open > .sub-menu {
    display: block;
  }
}

.main-nav .menu-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #062331;
  z-index: 10001;
  cursor: pointer;
  display: none; 
}

.main-nav .menu .menu-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #062331;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}

/* Hover-Stil wie bei Links */
.main-nav .menu > li:hover > .menu-link {
  background: rgba(0, 0, 0, 0.1);
}
.main-nav .menu-item-has-children.open > .sub-menu {
  display: block;
}


@media (max-width: 1080px) {
  
  .main-nav .menu{
    position: fixed;         /* vom normalen Flow loslösen */
    top: 0;
    left: 0;
    width: 100vw;            /* volle Breite */
    height: 100vh;           /* volle Höhe */
    background: rgba(182, 228, 5, 1);
    z-index: 9999;           /* über alles drüber */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
    display: none;
  }

  .main-nav .menu.open{
    position: fixed;         /* vom normalen Flow loslösen */
    top: 0;
    left: 0;
    width: 100vw;            /* volle Breite */
    height: 100vh;           /* volle Höhe */
    background: rgba(182, 228, 5, 1);
    z-index: 9999;           /* über alles drüber */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem;
    overflow-y: auto;
  }
  .main-nav .menu.open li {
    border: none;;
  }
  .main-nav .menu.open li a {
    font-size: 1.4rem;
    color: #062331;
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
    text-align: center;
  }

  /* Wenn Menü offen ist, X-Button anzeigen */
  .main-nav .menu-close.menu-visible  {
    display: block;
  }
  .main-nav #menu-hauptnavigation {
    flex-direction: column;
  }

  .main-nav #menu-hauptnavigation li {
    width: 100%;
  }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    display: block;
    padding:0;
  }

    /* Button im Menü wie Links stylen */
  .main-nav .menu.open li .menu-link {
    font-size: 1.4rem;
    color: #062331;
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
    width: 100%;
    text-align: center;
    background: none; /* falls Button Hintergrund hat */
    border: none; /* falls Button Rahmen hat */
    cursor: pointer;
  }

  /* Optional: Hover- und Fokus-Stil für Button im mobilen Menü */
  .main-nav .menu.open li .menu-link:hover,
  .main-nav .menu.open li .menu-link:focus {
    background: rgba(0, 0, 0, 0.1);
    outline: none;
  }

}

.footer-nav-list .menu {
  display: inline;
}


/* ######## impressum ######## */
.impressum .section-title  {
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.impressum .section-content {
  display: inline;
}

.impressum .impressum.text-wrapper {
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  display: inline;
  line-height: 1.41;
  font-weight: 400;
  font-size: 18px;
}

.impressum h2 {
  margin: 60px 0 20px 0;
  display: block;
}

.impressum {
  margin-bottom: 200px;
}


/* 
@media (max-width: 1190px) {
  .mainwrapper {
    margin-top: 60px;
  }
} */


.nf-response-msg {
  margin-top: 30px;
}

.mail-wrapper h1, .mail-wrapper p, .mail-wrapper .nf-form-fields-required {
  margin: 0 0 40px 0;
}

.mail-wrapper .nf-form-fields-required, .nf-error-msg {
  font-size: 0.8rem;
}

.mail-wrapper #nf-field-8 {
 background-color: #B6E405;
  color: #062331; /* dunkler Text für guten Kontrast */
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#nf-field-8:hover {
  background-color: #a5d200; /* etwas dunklere Variante beim Hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

#nf-field-13-container {
  margin: 40px 0;
}

.about .hero-area .section-title {
  font-size: 110px;
  line-height: 110px;
  text-transform: uppercase !important;
}

.two-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.two-columns .column {
  flex: 1 1 45%;
  min-width: 300px;
}
.about .two-columns-text {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
  font-size: 18px !important;
}

.two-columns-text .column {
  flex: 1 1 45%;
  min-width: 300px;
}

.about .community-area .section-content .text {
    text-align: left;
    font-size: 18px !important;
}

.about .section-spacing {
  padding-top: 100px;
  padding-bottom: 100px;
}

.about .cta-area .section-title {
  font-size: 150px;
  line-height: 1;
  max-width: 900px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  margin: 0 auto;
  color: #000;
}

.about .process-box {
  border: none;
}

.about .cta-area {
  color:#000;
  margin-bottom: 150px;
}

.about .wc-btn-group {

  margin: 50px auto 0;
}


@media only screen and (max-width: 1199px) {
  .section-title-wide {
      font-size: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .section-title-wide {
      font-size: 40px;
  }

  .submenu-toggle {
    display: none;
  }
}

.about, .about .footer-area, .font-heading-instumentsans-semibold h1, .font-heading-instumentsans-semibold h2, .font-heading-instumentsans-semibold h3, .font-heading-instumentsans-semibold h4, .font-heading-instumentsans-semibold h5, .font-heading-instumentsans-semibold h6 {
  font-family: 'Montserrat', sans-serif !important;
  text-transform: inherit !important;
}

.about .cta-area .section-subtitle {
  color: #000;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 30px;
}