/*!
 Theme Name:   JFconcept Bricks Child Theme
 Theme URI:    https://jfconcept.de/
 Description:  A JFconcept GmbH Child-Theme for Bricks Builder
 Author:       JFconcept GmbH
 Author URI:   https://jfconcept.de/
 Template:     bricks
 Version:      1.8
 Text Domain:  bricks
*/

@layer bricks {
  #brx-content {
    position: initial;
  }
}

body {
  position: relative;
}

@layer bricks {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
  }
}

.brxe-container {
  position: relative;
  z-index: 2;
}

.lgs-faq {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
}

.lgs-faq__item {
  --lgs-faq-item-bg: #f5f5f5;
  background: var(--lgs-faq-item-bg);
  max-height: 110px;
  overflow: hidden;
  transition: max-height 0.3s ease, box-shadow 0.3s ease;
}

.lgs-faq__item.is-active {
  max-height: 1200px;
}

.lgs-faq__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: var(--gap-m);
}

.lgs-faq__media {
  flex: 0 0 160px;
  width: 160px;
}

.lgs-faq__image {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 100%;
  object-fit: cover;
}

.lgs-faq__content {
  flex: 1 1 auto;
  min-width: 0;
}

.lgs-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.lgs-faq__title {
  display: block;
  margin: 0;
  font-size: var(--font-h4);
  font-weight: 700;
  padding-top: 7px;
}

.lgs-faq__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.lgs-faq__icon::before,
.lgs-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lgs-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lgs-faq__item.is-active .lgs-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.lgs-faq__answer {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.32s ease;
  will-change: opacity, transform;
  font-size: var(--font-h6);
}

.lgs-faq__answer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lgs-faq__answer > :first-child {
  margin-top: 0;
}

.lgs-faq__answer > :last-child {
  margin-bottom: 0;
}

.lgs-before-after {
  --lgs-before-after-position: 50%;
  position: relative;
  width: 100%;
}

.lgs-before-after__viewport {
  position: relative;
  width: 100%;
  background: #e9e9e9;
  user-select: none;
}

.lgs-before-after__image {
  display: block;
  width: 100%;
  height: auto;
}

.lgs-before-after__overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--lgs-before-after-position);
  overflow: hidden;
}

.lgs-before-after__image--before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.lgs-before-after__divider {
  position: absolute;
  top: -55px;
  bottom: -29px;
  left: var(--lgs-before-after-position);
  width: 2px;
  background: var(--lgs_rot);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.lgs-before-after__handle {
  position: relative;
  top: 50%;
  left: 50%;
  display: block;
  width: 85px;
  height: 55px;
  transform: translate(-50%, 0%);
  background: var(--lgs_rot);
}

.lgs-before-after__handle::before,
.lgs-before-after__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 21px;
  height: 21px;
  display: block;
}

.lgs-before-after__handle::before {
  left: 11px;
  transform: translateY(-50%);
  background: url(/wp-content/uploads/2026/06/double-arrow-left-white.svg) no-repeat center center;
}

.lgs-before-after__handle::after {
  right: 11px;
  transform: translateY(-50%);
  background: url(/wp-content/uploads/2026/06/double-arrow-right-white.svg) no-repeat center center;
}

.lgs-before-after__labels {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.lgs-before-after__label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.56);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.lgs-before-after__range-wrapper {
  position: absolute;
  inset: 0;
  display: block;
  cursor: ew-resize;
}

.lgs-before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.lgs-before-after__range::-webkit-slider-thumb {
  appearance: none;
  width: 68px;
  height: 68px;
  cursor: ew-resize;
}

.lgs-before-after__range::-moz-range-thumb {
  width: 68px;
  height: 68px;
  border: 0;
  opacity: 0;
  cursor: ew-resize;
}

.lgs-flip-boxes {
  --lgs-flip-columns-base: 3;
  --lgs-flip-gap-base: 24px;
  --lgs-flip-title-font-size: clamp(26px, 2.2vw, 38px);
  --lgs-flip-number-font-size: clamp(30px, 3.3vw, 56px);
  --lgs-flip-description-font-size: var(--font-text-m, 18px);
  width: 100%;
}

.lgs-flip-boxes__grid {
  display: grid;
  grid-template-columns: repeat(var(--lgs-flip-columns-base), minmax(0, 1fr));
  gap: var(--lgs-flip-gap-base);
  align-items: stretch;
}

.lgs-flip-boxes__item {
  position: relative;
  min-height: 360px;
  height: 100%;
  perspective: 1400px;
  cursor: pointer;
  outline: none;
}

.lgs-flip-boxes__item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.lgs-flip-boxes__card {
  position: relative;
  height: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lgs-flip-boxes__item:hover .lgs-flip-boxes__card,
.lgs-flip-boxes__item:focus-visible .lgs-flip-boxes__card,
.lgs-flip-boxes__item.is-flipped .lgs-flip-boxes__card {
  transform: rotateY(180deg);
}

.lgs-flip-boxes__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--lgs-flip-box-bg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lgs-flip-boxes__face--front {
  justify-content: flex-start;
}

.lgs-flip-boxes__face--back {
  transform: rotateY(180deg);
}

.lgs-flip-boxes__front-content,
.lgs-flip-boxes__back-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.lgs-flip-boxes__front-content {
  justify-content: center;
  align-items: center;
}

.lgs-flip-boxes__back-content {
  justify-content: center;
  align-items: center;
  gap: var(--gap-s);
}

.lgs-flip-boxes__back-content .lgs-flip-boxes__number {
  font-size: var(--lgs-flip-description-font-size);
}

.lgs-flip-boxes__title {
  color: var(--lgs-flip-box-title-color);
  font-size: var(--lgs-flip-title-font-size);
  font-weight: 700;
  text-wrap: balance;
}

.lgs-flip-boxes__number {
  color: var(--lgs-flip-box-number-color);
  font-size: var(--lgs-flip-number-font-size);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lgs-flip-boxes__description {
  color: var(--lgs-flip-box-description-color);
  font-size: var(--lgs-flip-description-font-size);
  font-weight: bold;
  text-transform: uppercase;
}

.lgs-flip-boxes__description > :first-child {
  margin-top: 0;
}

.lgs-flip-boxes__description > :last-child {
  margin-bottom: 0;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"]{
  padding: var(--gap-s) !important;
  font-size: var(--font-h4) !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.gform_wrapper,
.gform_wrapper.gravity-theme {
  background: none !important;
}

.gform_wrapper {
  --gf-form-gap-x: 10px !important;
  --gf-form-gap-y: 10px !important;
}

.gform_wrapper .gfield--type-consent label {
  font-size: var(--font-h4) !important;
  padding-top: 8px !important;
  hyphens: auto;
}

.gform_wrapper .gform_button.button {
  border-radius: 20px !important;
  background-color: var(--lgs_dunkelgruen) !important;
  color: var(--lgs_beige) !important;
  font-size: var(--font-h3) !important;
  margin-top: var(--gap-l) !important;
  padding-top: var(--gap-2xs) !important;
  padding-right: var(--gap-m) !important;
  padding-bottom: var(--gap-2xs) !important;
  padding-left: var(--gap-m) !important;
  line-height: 0.7669 !important;
  font-weight: 700 !important;
}

.gform_wrapper .gfield--type-consent label a {
  text-decoration: underline !important;
}

.gform_wrapper .gform_heading {
  display: none !important;
}

.brxe-text ul {
  padding-left: 0.85em;
}

.brxe-text,
.lgs-faq__answer {
  line-height: 1.38;
}

.brxe-text a {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .lgs-faq__inner {
    gap: 24px;
    padding: 20px;
  }

  .lgs-faq__media {
    flex: 0 0 96px;
    width: 96px;
    display: none;
  }

  .lgs-faq__image {
    width: 96px;
    height: 96px;
  }

  .lgs-faq__item {
    max-height: 136px;
    max-height: none;
  }

  .lgs-faq__title {
    font-size: 20px;
  }

  .lgs-before-after__viewport {
    border-radius: 20px;
  }

  .lgs-before-after__labels {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .lgs-before-after__label {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .lgs-before-after__handle {
    width: 56px;
    height: 56px;
  }

  .lgs-before-after__handle::before {
    left: 16px;
  }

  .lgs-before-after__handle::after {
    right: 16px;
  }

  .lgs-flip-boxes__item,
  .lgs-flip-boxes__card {
    min-height: 300px;
  }

  .lgs-flip-boxes__face {
    padding: 22px;
  }
}

.lgs-parallax-bg {
  --lgs-parallax-offset: 0px;
  background-position: 50% calc(50% + var(--lgs-parallax-offset)) !important;
  will-change: background-position;
}

@media (prefers-reduced-motion: reduce), (max-width: 767px) {
  .lgs-parallax-bg {
    --lgs-parallax-offset: 0px !important;
    background-position: 50% 50% !important;
    will-change: auto;
  }
}

#brxe-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

#brxe-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hidden-original {
  visibility: hidden;
  opacity: 0;
}

#brxe-header-container {
  padding-top: 35px;
  padding-bottom: 34px;
  position: fixed;
  transition: all ease 0.3s;
}

#brxe-header-container-wrapper {
  transition: all ease 0.3s;
  top: var(--wp-admin--admin-bar--height);
  left: 0;
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding-right: var(--mobile-spacer);
  padding-left: var(--mobile-spacer);

  &.scrolling {
    #brxe-header-container {
      padding-top: 15px;
      padding-bottom: 14px;
    }

    #brxe-logo {
      height: 98.36px;
    }

    #brxe-logo-big {
      height: 0;
      visibility: hidden;
    }

    #brxe-logo-small {
      height: 98.36px;
      visibility: visible;
    }

    #brxe-logo a[rel="#brxe-logo-big"] {
      height: 0px;
    }

    #brxe-logo a[rel="#brxe-logo-small"] {
      height: 98.36px;
      display: block;
    }
  }
}

#brxe-header-container-copy {
  flex-direction: row;
  column-gap: var(--gap-xl);
  align-items: flex-start;
  position: relative;
  z-index: 2;
  max-width: var(--container-l);
  justify-content: space-between;
  transition: all ease 0.3s;
}

.brxe-offcanvas.brx-open .brx-offcanvas-backdrop {
  opacity: 1;
  pointer-events: auto;
  z-index: 998;
}

@media (max-width: 991px) {
  #brxe-logo {
    width: 81px !important;
    max-width: 81px !important;
    flex-basis: 81px !important;
  }

  #brxe-logo a[rel="#brxe-logo-big"] {
    height: 124.783px !important;
  }

  #brxe-header-container-wrapper.scrolling #brxe-logo a[rel="#brxe-logo-big"] {
    height: 0px !important;
  }

  #brxe-header-container-wrapper {
    &.scrolling {
      & #brxe-logo {
        height: 86.8333px !important;

        a[rel="#brxe-logo-small"] {
          height: 86.8333px !important;

          #brxe-logo-small {
            height: 86.8333px !important;
          }
        }
      }
    }
  }

  #brx-header.brx-sticky.scrolling #brxe-logo {
    height: 86.8333px !important;
  }

  #brx-header.brx-sticky.scrolling #brxe-logo a[rel="#brxe-logo-small"] {
    height: 86.8333px !important;
  }

  #brx-header.brx-sticky.scrolling #brxe-logo-small {
    height: 86.8333px !important;
  }

  #brxe-header-container {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .page-id-34  #brx-header.brx-sticky {
    z-index: 3;
  }

  #brxe-logo a[rel="#brxe-logo-big"] {
    height: 78.783px !important;
  }

  #brxe-logo {
    flex-basis: 51px !important;
    width: 51px !important;
    max-width: 51px !important;
  }

  #brxe-header-container-wrapper.scrolling #brxe-logo a[rel="#brxe-logo-big"] {
    height: 0px !important;
  }

   #brxe-header-container-wrapper {
    &.scrolling {
      & #brxe-logo {
        & a[rel="#brxe-logo-small"] {
          height: 54.6833px !important;

          #brxe-logo-small {
            height: 54.6833px !important;
          }
        }
      }
    }
  }

  #brx-header.brx-sticky.scrolling #brxe-logo {
    height: 54.6833px !important;
  }

  #brxe-header-container-wrapper {
    &.scrolling {
      & #brxe-logo {
        height: 54.6833px !important;
      }
    }
  }

  #brxe-header-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 478px) {
  #brxe-header-container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .lgs-before-after__handle::before,
  .lgs-before-after__handle::after {
    width: 15px;
    height: 15px;
  }

  .lgs-before-after__handle {
    width: 45px;
    height: 45px;
  }

  .lgs-before-after__handle::before {
    left: 5px;
  }

  .lgs-before-after__handle::after {
    right: 5px;
  }
}

@layer bricks {
  .input,
  input:not([type="submit"]),
  select,
  textarea {
    line-height: 37.55px;
  }
}

#brxe-logo[data-logo="lgs_rot"] path {
  fill: var(--lgs_rot);
}

#brxe-logo[data-logo="lgs_blau"] path {
  fill: var(--lgs_blau);
}

#brxe-logo[data-logo="lgs_beige"] path {
  fill: var(--lgs_beige);
}

#brxe-logo[data-logo="lgs_pink"] path {
  fill: var(--lgs_pink);
}

#brxe-logo[data-logo="lgs_gruen"] path {
  fill: var(--lgs_gruen);
}

#brxe-logo[data-logo="lgs_dunkelgruen"] path {
  fill: var(--lgs_dunkelgruen);
}

#brxe-logo[data-logo="black"] path {
  fill: #000 !important;
}

#brxe-logo[data-logo="white"] path {
  fill: #fff !important;
}