/*
 Theme Name:     Divi 5 Child Theme
 Theme URI:      https://www.elegantthemes.com/divi-5/
 Description:    Divi Child Theme
 Author:         Systera GmbH
 Author URI:     https://www.systera.de
 Template:       Divi
 Version:        5.0.0-public-beta.3.1 
*/
/* =Theme customization starts here
------------------------------------------------------- */

/* =======================================================
   BASIS (Mobile)
   Gilt automatisch für Smartphones
======================================================= */

#page-container {
	overflow: hidden;
}

:root {
  --horizontal-top-offset: 120px;
}

.horizontal-section {
  width: 100%;
  min-width: 100vw;
  height: 100%;
  min-height: 0;
  flex: 0 0 100vw;
  will-change: transform;
  overflow: hidden;
}

.horizontal-container {
  width: 100vw;
  height: calc(100svh - var(--horizontal-top-offset));
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: none;
  background: transparent;
}

.horizontal-track {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
}

.horizontal-container > #scroll_header {
  width: 100%;
  flex: 0 0 auto;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: 2;
  overflow: visible;
  margin: 0 !important;
  padding: clamp(10px, 1.8vw, 24px) 0 24px !important;
  background: #fff;
}

.horizontal-container > #scroll_header .et_pb_heading {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: block;
  margin: 0 !important;
  padding: 0 0 0 clamp(20px, 5vw, 70px) !important;
}

.horizontal-container > #scroll_header :is(h1, h2, h3, .et_pb_module_heading) {
  max-width: 100%;
  display: block;
  font-size: clamp(44px, 16vw, 120px) !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal;
  word-break: normal;
}

.horizontal-container > #scroll_header .et_pb_row,
.horizontal-container > #scroll_header .et_pb_column,
.horizontal-container > #scroll_header .et_pb_module {
  width: 100%;
  max-width: none;
  overflow: visible;
}

.horizontal-section,
.horizontal-section > .et_pb_row,
.horizontal-section .et_pb_column {
  max-width: none;
}

.horizontal-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.horizontal-section > .et_pb_row {
  width: 100%;
  height: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.horizontal-section .et_pb_column {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.horizontal-section .et_pb_column > .et_pb_module:not(.et_pb_heading):not(.et_pb_text),
.horizontal-section .et_pb_column > .et_pb_module:not(.et_pb_heading):not(.et_pb_text) > .et_pb_module_inner {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.horizontal-section .et_pb_image,
.horizontal-section .et_pb_image_wrap,
.horizontal-section .et_pb_image img,
.horizontal-section img[class*="wp-image"] {
  width: 100%;
}

.horizontal-section .et_pb_image_wrap,
.horizontal-section .et_pb_image img,
.horizontal-section img[class*="wp-image"] {
  height: 100%;
  object-fit: cover;
}

.horizontal-section .et_pb_image {
  flex: 1 1 0;
  min-height: 0;
}

.horizontal-section .et_pb_heading,
.horizontal-section .et_pb_text {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}

@media (max-width: 767px) {
  .et-l--header .et_pb_group_0_tb_header {
    --vertical-gap: 0px !important;
    gap: 0 !important;
    row-gap: 0 !important;
  }

  .et-l--header .et_pb_button_0_tb_header_wrapper {
    margin-top: -6px !important;
  }

  body #page-container .et-l--header .et_pb_section .et_pb_button_0_tb_header {
    padding-top: 0.08em !important;
    padding-bottom: 0.08em !important;
    border-radius: 14px !important;
    line-height: 1.25em !important;
  }

  .et-l--header .lsdp_language_switcher_for_divi_polylang_0_tb_header {
    margin-top: 6px !important;
  }

  .horizontal-container > #scroll_header {
    padding-top: 18px !important;
  }

  .horizontal-container > #scroll_header :is(h1, h2, h3, .et_pb_module_heading) {
    line-height: 1.08 !important;
  }
}

body:not(.et-fb) .et-l--header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 9999;
}

body.admin-bar:not(.et-fb) .et-l--header {
  top: 32px;
}

.et-l--header .lsdp-wrapper {
  --lsdp-normal-bg-color: transparent;
  --lsdp-hover-bg-color: transparent;
}

.et-l--header .lsdp-wrapper.dropdown,
.et-l--header .lsdp-wrapper.dropdown ul,
.et-l--header .lsdp-wrapper.dropdown li,
.et-l--header .lsdp-wrapper ul li a {
  background: transparent !important;
  background-color: transparent !important;
}

@media (max-width: 782px) {
  body.admin-bar:not(.et-fb) .et-l--header {
    top: 46px;
  }
}

.pm-logo-default,
.pm-logo-sticky {
  position: absolute;
  top: 40px;
  left: 6vw;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  will-change: opacity, transform;
}

.pm-logo-default svg,
.pm-logo-sticky svg {
  width: 150px;
  height: auto;
  display: block;
}

.pm-logo-sticky svg {
  width: 100px;
}

.pm-logo-default {
  opacity: 1;
  transform: translateY(0);
}

.pm-logo-sticky {
  opacity: 0;
  transform: translateY(6px);
}

.et_pb_section.et_pb_sticky .pm-logo-default {
  opacity: 0;
  transform: translateY(-6px);
}

.et_pb_section.et_pb_sticky .pm-logo-sticky {
  opacity: 1;
  transform: translateY(0);
}

body:not(.et-fb) .pm-popup,
body:not(.et-fb) .contact-popup {
  display: none;
}

body:not(.et-fb) .pm-popup {
  position: fixed !important;
  inset: 4px 12px 20px !important;
  width: auto !important;
  z-index: 10000 !important;
}

.pm-popup,
.contact-popup {
  max-height: calc(100dvh - 24px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"],
body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] {
  position: fixed !important;
  top: 72px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  z-index: 10001 !important;
}

body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"] .et_pb_icon_wrap,
body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] .et_pb_icon_wrap {
  position: static !important;
  display: block !important;
  width: 60px !important;
  height: 60px !important;
}

body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"] .et-pb-icon,
body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] .et-pb-icon {
  display: block !important;
  line-height: 60px !important;
}

@media (max-width: 767px) {
  body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"],
  body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] {
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
  }

  body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"] .et_pb_icon_wrap,
  body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] .et_pb_icon_wrap {
    width: 36px !important;
    height: 36px !important;
  }

  body:not(.et-fb) .pm-popup .et_pb_icon[class*="et-interaction-trigger"] .et-pb-icon,
  body:not(.et-fb) .contact-popup .et_pb_icon[class*="et-interaction-trigger"] .et-pb-icon {
    font-size: 36px !important;
    line-height: 36px !important;
  }
}

.pm-popup > .et_pb_row:last-child,
.pm-popup .wpcf7-form,
.contact-popup > .et_pb_row:last-child,
.contact-popup .wpcf7-form {
  padding-bottom: 80px !important;
}

/* Nur für das Formular mit der Post-ID 4 */
#wpcf7-f4-o1 .wpcf7-response-output {
  display: none !important;
}

/* =======================================================
   TABLET (ab 1024px)
======================================================= */

@media (min-width: 1024px) {
  .horizontal-section,
  .horizontal-container {
    min-height: 0;
  }
}


/* =======================================================
   DESKTOP (ab 1280px)
======================================================= */

@media (min-width: 1280px) {
  .horizontal-section,
  .horizontal-container {
    min-height: 0;
  }
}




 
