.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-71 .elementor-element.elementor-element-84465bf{margin:15px 0px calc(var(--kit-widget-spacing, 0px) + 25px) 0px;padding:0px 0px 0px 0px;text-align:center;}.elementor-71 .elementor-element.elementor-element-84465bf .elementor-heading-title{font-family:"Open Sans", Sans-serif;font-weight:700;}#elementor-popup-modal-71 .dialog-widget-content{animation-duration:1s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-71{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-71 .dialog-message{width:800px;height:auto;padding:15px 15px 15px 15px;}#elementor-popup-modal-71 .dialog-close-button{display:flex;font-size:26px;}#elementor-popup-modal-71 .dialog-close-button i{color:#71914E;}#elementor-popup-modal-71 .dialog-close-button svg{fill:#71914E;}@media(max-width:767px){.elementor-71 .elementor-element.elementor-element-84465bf{margin:15px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;text-align:start;}.elementor-71 .elementor-element.elementor-element-84465bf .elementor-heading-title{font-size:15px;}}/* Start custom CSS for shortcode, class: .elementor-element-0cb7667 *//* Kontakt-Lightbox */
.sgl-cs-modal {
   
}

.sgl-cs-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sgl-cs-modal__dialog {

}

.sgl-cs-modal__close {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  right: 0.45rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #3f3834;
  background: transparent;
  cursor: pointer;
  font: 300 2.1rem/1 Arial, sans-serif;
}

.sgl-cs-modal__close:hover {
  background: #f1efed;
}

.sgl-cs-modal__title {
  margin: 0 3rem 0.75rem 0;
  color: #3f3834;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
}

.sgl-cs-modal__intro {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: #6b625d;
  font: 400 0.98rem/1.55 Arial, Helvetica, sans-serif;
}

/* Contact Form 7: unterstützt sowohl das SGL-Raster als auch Standard-CF7-Markup. */
.sgl-cs-modal .wpcf7,
.sgl-cs-modal .wpcf7-form {
  margin: 0;
}

.sgl-cs-modal .wpcf7-form > p {
  margin: 0 0 1rem;
}

.sgl-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sgl-cf7-field--full {
  grid-column: 1 / -1;
}

.sgl-cf7-field,
.sgl-cf7-field label,
.sgl-cf7-field .wpcf7-form-control-wrap,
.sgl-cs-modal .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
}

.sgl-cf7-field br {
  display: none;
}

.sgl-cs-modal label {
  color: #5f5752;
  font: 600 0.84rem/1.35 Arial, Helvetica, sans-serif;
}

.sgl-cs-modal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.sgl-cs-modal textarea,
.sgl-cs-modal select {
  width: 100%;
  margin: 0.3rem 0 0;
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;
  color: #3f3834;
  background: #f7f7f7;
  font: 400 1rem/1.35 Arial, Helvetica, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sgl-cs-modal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.sgl-cs-modal select {
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
}

.sgl-cs-modal textarea {
  min-height: 8rem;
  padding: 0.95rem 1rem;
  resize: vertical;
}

.sgl-cs-modal input:focus,
.sgl-cs-modal textarea:focus,
.sgl-cs-modal select:focus {
  border-color: #71914e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(113, 145, 78, 0.14);
}

.sgl-cf7-privacy,
.sgl-cs-modal .wpcf7-acceptance {
  display: block;
  margin: 0;
  color: #5f5752;
  font: 600 0.88rem/1.45 Arial, Helvetica, sans-serif;
}

.sgl-cs-modal .wpcf7-list-item {
  margin: 0;
}

.sgl-cs-modal .wpcf7-acceptance a,
.sgl-cs-modal .sgl-cf7-privacy a {
  color: #71914e;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.sgl-cs-modal input[type="submit"],
.sgl-cs-modal button[type="submit"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #71914e;
  cursor: pointer;
  font: 700 0.95rem/1 "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.sgl-cs-modal input[type="submit"]:hover,
.sgl-cs-modal button[type="submit"]:hover {
  background: #71914e;
}

.sgl-cs-modal .wpcf7-spinner {
  display: block;
  margin: 0.75rem auto 0;
}

.sgl-cs-modal .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0.8rem 1rem !important;
  border: 1px solid #71914e !important;
  color: #3f3834;
  background: #f4f7f0;
  font: 600 0.9rem/1.45 Arial, Helvetica, sans-serif;
}

.sgl-cs-modal .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.25rem;
  color: #b42318;
  font-size: 0.82rem;
}

.sgl-cs-modal .frc-captcha,
.sgl-cs-modal .cf-turnstile,
.sgl-cs-modal .wpcf7-recaptcha {
  max-width: 100%;
  margin: 1rem 0;
}

/* Globale CF7-Listen-Labels auf Standard-Formularen */
.wpcf7-list-item-label {
  padding-right: 20px;
  line-height: 20px;
}


/* --- Optimierung der neuen Interessen-Checkboxen --- */

/* Der umschließende Container für den gesamten Interessenblock */
.sgl-cf7-interests-wrapper {
  margin-bottom: 0.8rem !important;
}

/* Das Label über den Checkboxen, angepasst an den restlichen Formular-Stil */
.sgl-field-label {
  display: block;
  margin-bottom: 0.75rem;
  color: #5f5752;
  font: 600 0.84rem/1.35 Arial, Helvetica, sans-serif;
}

/* Flexbox-Container für die Checkboxen (Desktop: nebeneinander, Mobile: untereinander) */
.sgl-cf7-checkbox-group .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

/* CSS Reset für CF7-Listenspacing */
.sgl-cf7-checkbox-group .wpcf7-list-item {
  display: inline-block;
  margin: 0 !important;
}

/* Perfekte Ausrichtung von Checkbox-Kästchen und dem dazugehörigen Text */
.sgl-cf7-checkbox-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.92rem;
  color: #3f3834;
}

/* Sicherstellen, dass die Checkbox-Größe fixiert ist und nicht verzieht */
.sgl-cf7-checkbox-group input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: #71914e;
}


/* --- Absolute Synchronisation beider Datenschutz-/Newsletter-Checkboxen --- */

/* 1. Beide umschließenden Wrappper-Blöcke (Newsletter und Datenschutz) komplett zurücksetzen */
.sgl-cs-modal .sgl-cf7-privacy,
.sgl-cs-modal .wpcf7-acceptance {
  display: block !important;
  margin: 0 0 0.8rem 0 !important; /* Gleichmäßiger Abstand nach unten */
  padding: 0 !important;
}

/* 2. Alle inneren Listenspanns (von CF7) komplett neutralisieren */
.sgl-cs-modal .sgl-cf7-privacy .wpcf7-form-control-wrap,
.sgl-cs-modal .sgl-cf7-privacy .wpcf7-checkbox,
.sgl-cs-modal .sgl-cf7-privacy .wpcf7-list-item,
.sgl-cs-modal .wpcf7-acceptance .wpcf7-form-control-wrap {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3. Beide Labels mit exakt demselben Grid-System linksbündig aufbauen */
.sgl-cs-modal .sgl-cf7-privacy label,
.sgl-cs-modal .wpcf7-acceptance label {
  display: grid !important;
  grid-template-columns: 1rem minmax(0, 1fr) !important;
  gap: 0.55rem !important; /* Exakter Spaltabstand zwischen Box und Text */
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}

/* 4. Radikaler Reset für die Text-Span-Klassen von CF7 */
.sgl-cs-modal .sgl-cf7-privacy .wpcf7-list-item-label,
.sgl-cs-modal .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  color: #5f5752 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

/* 5. Beide Inputs zu 100% visuell angleichen */
.sgl-cs-modal .sgl-cf7-privacy input[type="checkbox"],
.sgl-cs-modal .wpcf7-acceptance input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  margin: 0.12rem 0 0 0 !important; /* Perfekter vertikaler Versatz für die erste Textzeile */
  padding: 0 !important;
  flex-shrink: 0 !important;
  accent-color: #71914e !important;
}


/* --- Responsive Anpassung für kleinere Screens --- */
@media (max-width: 42rem) {
  .sgl-cf7-checkbox-group .wpcf7-checkbox {
    flex-direction: column; /* Stapelt die Optionen auf dem Smartphone sauber untereinander */
    gap: 0.8rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .sgl-cs {
    --sgl-adminbar-height: 46px;
  }

  body.admin-bar .sgl-cs__design {
    width: max(100vw, calc((100vh - 46px) * 1.777778));
  }
}

@media (max-width: 64rem) and (min-width: 42.01rem) {
  .sgl-cs__copy {
    width: 28%;
  }

  .sgl-cs__features {
    font-size: max(0.98rem, 1.3333cqw);
  }

  .sgl-cs__title {
    font-size: max(1.25rem, 1.6667cqw);
  }
}

@media (max-width: 42rem), (orientation: portrait) and (max-width: 60rem) {
  .sgl-cs {
    --sgl-bg-position: 65% 50%;
  }

  .sgl-cs::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.24) 60%, rgba(0, 0, 0, 0.06) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 48%, rgba(0, 0, 0, 0.34) 100%);
  }

  .sgl-cs__design,
  body.admin-bar .sgl-cs__design {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    container-type: normal;
    transform: none;
  }

  .sgl-cs__project-logo {
    top: max(2.75rem, calc(6.5svh + var(--sgl-safe-top)));
    left: max(1.25rem, calc(6vw + var(--sgl-safe-left)));
    width: min(79vw, 23rem);
  }

  .sgl-cs__copy {
    top: clamp(18.5rem, 39svh, 24rem);
    left: max(2.9rem, calc(12vw + var(--sgl-safe-left)));
    width: min(82vw, 22rem);
  }

  .sgl-cs__title {
    margin-bottom: 1.65rem;
    font-size: clamp(1.45rem, 6.1vw, 1.9rem);
  }

  .sgl-cs__features {
    gap: 0.6rem;
    font-size: clamp(1rem, 4.45vw, 1.22rem);
    line-height: 1.22;
  }

  .sgl-cs__features li {
    grid-template-columns: 1.15rem minmax(0, 1fr);
    column-gap: 0.7rem;
  }

  .sgl-cs__arrow {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.14rem;
  }

  .sgl-cs__button {
    gap: 0.65rem;
    width: auto;
    height: 2.55rem;
    margin-top: 2.15rem;
    padding: 0 1.15rem 0 0.9rem;
    font-size: clamp(0.88rem, 3.8vw, 1rem);
  }

  .sgl-cs__button-arrow {
    width: 1.05rem;
    height: 1.05rem;
  }

  .sgl-cs__company-link {
    right: max(1.25rem, calc(5vw + var(--sgl-safe-right)));
    bottom: max(4.4rem, calc(4.4rem + var(--sgl-safe-bottom)));
    width: 7.4rem;
    min-width: 0;
  }

  .sgl-cs__legal {
    bottom: max(1.2rem, calc(1.2rem + var(--sgl-safe-bottom)));
    width: 100%;
    padding-inline: 1rem;
    font-size: 0.66rem;
  }

  .sgl-cf7-grid {
    grid-template-columns: 1fr;
  }

  .sgl-cf7-field--full {
    grid-column: auto;
  }
}

@media (max-width: 23rem) {
  .sgl-cs__project-logo {
    width: 84vw;
  }

  .sgl-cs__copy {
    top: clamp(16.5rem, 37svh, 20rem);
    left: 2.25rem;
    width: calc(100% - 3.5rem);
  }

  .sgl-cs__features {
    font-size: 0.96rem;
  }

  .sgl-cs__button {
    font-size: 0.82rem;
  }
}

@media (max-height: 43rem) and (min-width: 42.01rem) {
  .sgl-cs__legal {
    bottom: 0.6rem;
  }

  .sgl-cs__company-link {
    bottom: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgl-cs *,
  .sgl-cs *::before,
  .sgl-cs *::after,
  .sgl-cs-modal,
  .sgl-cs-modal *,
  .sgl-cs-modal *::before,
  .sgl-cs-modal *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}/* End custom CSS */