@charset "UTF-8";
/*!
Theme Name: Divi Theme Child
Template: Divi
Version: 2.10
*/
@font-face {
  font-family: "Inter";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("assets/webfonts/inter-v20-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/webfonts/inter-v20-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("assets/webfonts/inter-v20-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: "DiviModulesFont";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("https://www.esg-solar.de/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff") format("woff");
}
* {
  font-family: "Inter" !important;
}

html {
  word-break: normal;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  overflow-wrap: normal;
}

body {
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "Inter", "Helvetica Neue", Arial, "Liberation Sans", sans-serif !important;
}

@media (max-width: 767px) {
  h1 {
    font-size: 38px !important;
  }
  h2 {
    font-size: 28px !important;
  }
}
@media (max-width: 479px) {
  h1 {
    font-size: 30px !important;
  }
  h2 {
    font-size: 20px !important;
  }
}
/* =========================================================
   ESG – Divi Fixed Header: Höhe reservieren, kein Layout-Shift
   Werte je Breakpoint im Inspector am #page-container ablesen!
   ========================================================= */
#page-container {
  padding-top: 164px !important;
}
@media (max-width: 980px) {
  #page-container {
    padding-top: 79px !important;
  }
}

/* Header + Nav-Höhe stabil halten, damit Divis JS nichts nachrechnet.
   Passe die Werte an eure tatsächliche Höhe an. Hinweis: eine feste
   Höhe unterbindet den Shrink-Effekt (genau das nimmt den Rest-Shift). */
#main-header {
  min-height: 124px;
}
@media (max-width: 980px) {
  #main-header {
    top: 0;
    min-height: 80px;
  }
}

body.et_fixed_nav.et_secondary_nav_enabled #main-header {
  top: 41px;
}
@media (max-width: 980px) {
  body.et_fixed_nav.et_secondary_nav_enabled #main-header {
    top: 0;
  }
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
.mobile_menu_bar:after,
.mobile_menu_bar:before {
  color: #103d30;
}

.et_fixed_nav #page-container div.et-fixed-header#top-header {
  background-color: #f7f7f7 !important;
}

.et_secondary_nav_enabled #page-container div#top-header #et-secondary-menu ul li a {
  font-weight: 500;
  color: #555;
}

.et_secondary_nav_enabled #page-container div#top-header #et-secondary-menu ul li.highlight {
  line-height: 0.3em;
  margin-bottom: 10px;
  padding: 9px 5px 0 5px;
  text-align: center;
  color: #fff;
  border-radius: 30px;
  background-color: #103d30;
}
.et_secondary_nav_enabled #page-container div#top-header #et-secondary-menu ul li.highlight a {
  font-weight: 800;
  color: #fff;
}

.th-flex {
  display: flex;
}

.th-flex-wrap {
  flex-wrap: wrap;
}

.th-items-start {
  align-items: flex-start;
}

.th-items-center {
  align-items: center;
}

.th-justify-end {
  justify-content: flex-end;
}

.th-mb-md {
  margin-bottom: 0;
}

[class^=th-stack] > * {
  margin: 0;
}

.th-stack--lg > * + * {
  margin-top: 3.75rem;
}

.th-stack--md > * + * {
  margin-top: 2.8125rem;
}

.th-stack--base > * + * {
  margin-top: 1.875rem;
}

.th-stack--sm > * + * {
  margin-top: 0.9375rem;
}

.th-stack--xs > * + * {
  margin-top: 0.46875rem;
}

.th-stack-full--md > * {
  margin-top: 2.8125rem;
}

.th-stack-full--base > * {
  margin-top: 1.875rem;
}

.th-stack-full--sm > * {
  margin-top: 0.9375rem;
}

.th-w-full {
  width: 100%;
}

.th-px-base {
  padding-right: 1.875rem;
  padding-left: 1.875rem;
}

.th-rounded-full {
  border-radius: 9999px;
}

.th-grid-2 > * {
  width: 50%;
}

@media (max-width: 600px) {
  .th-grid-2 > * {
    width: 100%;
  }
}
.wpcf7 input.wpcf7-number,
.wpcf7 input.wpcf7-quiz,
.wpcf7 input.wpcf7-text,
.wpcf7 select,
.wpcf7 textarea.wpcf7-textarea {
  line-height: 1.45;
  width: 100% !important;
  height: auto;
  padding: 5px 10px;
  transition: background-color 0.4s !important;
  color: #4e4e4e;
  border: none !important;
  background-color: #f4f4f4 !important;
}
.wpcf7 button,
.wpcf7 input[type=button],
.wpcf7 input[type=reset],
.wpcf7 input[type=submit],
.wpcf7 #infinite-handle span,
.wpcf7 .more-link-container .more-link,
.wpcf7 .site-content a.primary-button {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.7em !important;
  position: relative;
  display: inline-block !important;
  padding: 0.3em 1em !important;
  cursor: pointer !important;
  transition: all 0.2s;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  border: 0 solid #747d88 !important;
  border-radius: 10px !important;
  background-color: #747d88 !important;
}

.wpcf7-list-item {
  margin-left: 0;
}

.et_pb_with_background .wpcf7 button,
.et_pb_with_background .wpcf7 input[type=button],
.et_pb_with_background .wpcf7 input[type=reset],
.et_pb_with_background .wpcf7 input[type=submit],
.et_pb_with_background .wpcf7 #infinite-handle span,
.et_pb_with_background .wpcf7 .more-link-container .more-link,
.et_pb_with_background .wpcf7 .site-content a.primary-button {
  color: #103d30 !important;
  border-color: #fff !important;
  background-color: #fff !important;
}

.et_contact_bottom_container {
  color: #fff !important;
}

.brlbs-cmpnt-cb-main {
  background-color: #fff !important;
}
.brlbs-cmpnt-cb-main a {
  color: #103d30 !important;
}

body .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker .brlbs-cmpnt-cb-buttons .brlbs-cmpnt-cb-btn {
  color: #fff !important;
}

.post-type-archive-ansprechpartner address {
  font-style: normal;
}
.post-type-archive-ansprechpartner h4 {
  font-size: 18px;
}
.post-type-archive-ansprechpartner .ansprechpartner {
  padding-top: 60px;
}

/* Referenzen-Archiv an News-Layout angleichen */
.post-type-archive-jetpack-testimonial .et_block_row {
  display: flex;
}

#main-footer .footer-widget h4 {
  color: #fff !important;
}
#main-footer .widget_block h1,
#main-footer .widget_block h2,
#main-footer .widget_block h3,
#main-footer .widget_block h4,
#main-footer .widget_block h5,
#main-footer .widget_block h6 {
  color: #fff !important;
}
