/*
 Theme Name:     Ocean
 Theme URI:      https://oceanwp.org/
 Author:         pixeltypen / Tobias Bals
 Author URI:     https://pixeltypen.de
 Template:       oceanwp
 Version:        1.0.0
*/

/* Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* General Settings */

/* Adjust Custom Colors here */
:root {
  --primary: #366531;
  --secondary: #b9c100;
  --black: #1e1e1e;
  --off-white: #f9f9f9;
  --light-gray: #ebeaeb;
  --headline-stack: "Bely Display", "Times New Roman", serif;
  --body-stack: "Interstate", "Helvetica", "Arial", sans-serif;
  --headline-size: 60px;
}

/* Fonts */
@font-face {
  font-family: "Bely Display";
  src: url("/wp-content/themes/pixeltypen/fonts/BelyDisplay.woff2")
      format("woff2"),
    url("/wp-content/themes/pixeltypen/fonts/BelyDisplay.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Interstate";
  src: url("/wp-content/themes/pixeltypen/fonts/Interstate-Light.woff2")
      format("woff2"),
    url("/wp-content/themes/pixeltypen/fonts/Interstate-Light.woff")
      format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Interstate";
  src: url("/wp-content/themes/pixeltypen/fonts/Interstate-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/pixeltypen/fonts/Interstate-Regular.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Interstate";
  src: url("/wp-content/themes/pixeltypen/fonts/Interstate-Bold.woff2")
      format("woff2"),
    url("/wp-content/themes/pixeltypen/fonts/Interstate-Bold.woff")
      format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Limit Section Widths for Ultrawide Screens */
.elementor-section.elementor-top-section {
  max-width: 2500px;
  margin: 0 auto;
}

/* Scroll to Top */
a#scroll-top {
  background-color: var(--primary);
  border-radius: 50%;
}

a#scroll-top:hover {
  background-color: var(--secondary);
}

/* Buttons */

.elementor-button-link {
  font-weight: 600 !important;
}

html body :is(p, ul, ol) {
  font-family: var(--body-stack) !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  font-weight: 300 !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h1, h2, h3, h4, h5, h6),
body :is(h1, h2, h3, h4, h5, h6) {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h1, h2, h3, h4, h5, h6):last-child,
body :is(h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h1, h2),
body :is(h1, h2) {
  font-family: var(--headline-stack) !important;
  color: var(--secondary);
  line-height: 1.1;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h3, h4, h5, h6),
body :is(h3, h4, h5, h6) {
  font-family: var(--body-stack) !important;
  font-weight: 400 !important;
  color: var(--primary);
  line-height: 1.3;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h1, h2),
body :is(h1, h2) {
  font-size: clamp(calc(var(--headline-size) / 2.2), 6vw, var(--headline-size));
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h3),
body h3 {
  font-size: clamp(
    calc(var(--headline-size) / 4),
    5vw,
    calc(var(--headline-size) / 2)
  );
  line-height: 1.2;
}

body
  :is(
    .elementor-widget-heading,
    .elementor-widget-icon-box,
    .elementor-widget-text-editor
  )
  :is(h4),
body h4 {
  font-size: clamp(
    calc(var(--headline-size) / 4),
    3vw,
    calc(var(--headline-size) / 4)
  );
  font-weight: 700 !important;
  color: var(--primary);
}

body p:last-child {
  margin-bottom: 0;
}

body p a {
  background: -o-linear-gradient(var(--secondary), var(--secondary)) no-repeat;
  background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(var(--secondary)),
      to(var(--secondary))
    )
    no-repeat;
  background: linear-gradient(var(--secondary), var(--secondary)) no-repeat;
  background-color: transparent !important;
  background-size: 100% 20%;
  background-position: 0% 110%;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

body a:hover {
  color: var(--black);
  background-size: 100% 100%;
}

body .elementor-inner-section .elementor-widget-heading h2:before {
  content: "";
  height: 1px;
  width: 200px;
  background-color: var(--primary);
  display: block;
  position: absolute;
  left: -225px;
  top: 50%;
}

/* Prevent wrapping of word "Hopfenveredlung" */
span.hopfenveredlung {
  white-space: nowrap;
}

/* Main Border Left */
main#main:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: calc(100% - 320px);
  background-color: var(--primary);
  position: fixed;
  left: calc((100% - 1250px) / 2);
  top: 140px;
  z-index: 9999;
  pointer-events: none;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

main#main:after {
  content: "";
  background-image: url("/wp-content/themes/pixeltypen/assets/logo-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  position: fixed;
  opacity: 1;
  visibility: visible;
  bottom: 77px;
  left: calc((100% - 1300px) / 2);
  z-index: 9999;
}

/* Main Menu */
#top-bar-wrap {
  display: none;
}

#custom-header-menu .elementor-widget-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

body a.elementor-icon {
  background-color: #fff;
  padding: 10px;
  border-radius: 50%;
}

body a.elementor-icon:focus {
  outline: 0 !important;
}

#custom-header-menu .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

header#site-header {
  z-index: 9999;
}

#custom-header-menu .elementor-widget-theme-site-logo a {
  margin-left: -75px;
}

/* Mega Menu Popup */
.dialog-widget.dialog-lightbox-widget {
  z-index: 9998;
}

/* Footer */
.custom-footer
  .elementor-column.elementor-col-50:first-child
  .elementor-widget-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
}

.custom-footer p {
  font-size: 14px;
  margin-bottom: 0;
}

/* Slider */
.elementor-swiper .swiper-slide-contents {
  background-color: var(--light-gray);
  color: var(--black);
  padding: 30px;
  padding-bottom: 80px;
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 400px !important;
}

.elementor-slides .swiper-slide-inner .elementor-slide-description {
  font-family: var(--body-stack);
  color: var(--black);
}

/* Slider Arrows */
.elementor-swiper-button.elementor-swiper-button-prev,
.elementor-swiper-button.elementor-swiper-button-next {
  top: initial !important;
  bottom: 30px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-transform: initial;
  -ms-transform: initial;
  transform: initial;
}

.elementor-swiper-button.elementor-swiper-button-prev {
  left: 30px !important;
}

.elementor-swiper-button.elementor-swiper-button-next {
  right: initial;
  left: 120px;
}

.elementor-swiper-button-prev i::before {
  content: url("/wp-content/themes/pixeltypen/assets/arrow-left-green.svg");
}

.elementor-swiper-button-next i::before {
  content: url("/wp-content/themes/pixeltypen/assets/arrow-right-green.svg");
}

/* Slider Pagination */
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
  bottom: 0;
  top: 0;
  right: 0;
  left: initial;
  width: initial;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
  height: 20px;
  width: 20px;
  border-radius: 0;
  background-color: var(--primary);
  opacity: 0.4;
}

.swiper-pagination-bullets
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Buttons */
span.elementor-button-content-wrapper,
.elementor-slide-button {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  gap: 16px;
}

:is(span.elementor-button-content-wrapper, .elementor-slide-button):after {
  content: url("/wp-content/themes/pixeltypen/assets/arrow-right-black.svg");
  width: 60px;
}

/* Start Section Prozess */
.section-prozess .elementor-widget-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
}

.section-prozess:last-of-type .elementor-widget-wrap {
  grid-template-columns: repeat(2, 1fr);
  max-width: 825px;
  margin: 0 auto;
}

.section-prozess .elementor-icon-box-title span {
  color: var(--black);
  position: relative;
  font-size: 1.4em;
}

.section-prozess .elementor-icon-box-title span:before {
  content: "";
  position: absolute;
  top: 30%;
  left: 4px;
  width: 100%;
  height: 70%;
  background-color: var(--secondary);
  opacity: 1;
  z-index: -1;
}

/* Unternehmen / Organisation */
.section-organisation .elementor-image-box-img img {
  height: 80px;
  width: 200px;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: left;
  object-position: left;
}

/* Unternehmen / Certificates */
.section-certificates .elementor-inner-section .elementor-widget-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/*.section-certificates .elementor-inner-section .elementor-widget-image-box*/
.section-certificates .elementor-widget-image-box {
  border: 2px solid var(--light-gray);
  /*background-color: var(--off-white);*/
  border-radius: 8px;
  padding: 30px;
  margin: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.section-certificates
  .elementor-inner-section
  .elementor-widget-image-box:hover {
  border-color: var(--secondary);
}

.section-certificates ul {
  list-style-type: none;
  margin-left: 0;
}

.section-certificates li a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 6px;
  margin-bottom: 6px;
}

.section-certificates li a:hover {
  color: var(--secondary);
}

.section-certificates li a:after {
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOTIiIGhlaWdodD0iMTkyIiBmaWxsPSIjMDAwMDAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NiI+PHJlY3Qgd2lkdGg9IjI1NiIgaGVpZ2h0PSIyNTYiIGZpbGw9Im5vbmUiPjwvcmVjdD48cG9seWxpbmUgcG9pbnRzPSIyMTYgMTAwIDIxNiA0MCAxNTYgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjI0Ij48L3BvbHlsaW5lPjxsaW5lIHgxPSIxNDQiIHkxPSIxMTIiIHgyPSIyMTYiIHkyPSI0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMjQiPjwvbGluZT48cGF0aCBkPSJNMTg0LDE0NHY2NGE4LDgsMCwwLDEtOCw4SDQ4YTgsOCwwLDAsMS04LThWODBhOCw4LDAsMCwxLDgtOGg2NCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMjQiPjwvcGF0aD48L3N2Zz4=")
    no-repeat;
  background-size: contain;
  -webkit-transform: translateX(-25px) translateY(5px);
  -ms-transform: translateX(-25px) translateY(5px);
  transform: translateX(-25px) translateY(5px);
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.section-certificates li a:hover:after {
  -webkit-transform: translateX(0px) translateY(5px);
  -ms-transform: translateX(0px) translateY(5px);
  transform: translateX(0px) translateY(5px);
  opacity: 1;
}

/* Unternehmen / Team */
.section-team-people .elementor-image-box-title {
  font-family: var(--headline-stack);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 5px;
}

.section-team-counter .elementor-counter-number-wrapper {
  font-family: var(--headline-stack);
  font-weight: 600;
  color: white;
}

.section-team-counter .elementor-counter-title {
  color: white;
}

/* Unternehmen / Leitsätze */
.elementor-widget-accordion .elementor-accordion-title {
  color: var(--black);
}

.elementor-widget-accordion .elementor-accordion .elementor-tab-title {
  padding: 25px 0;
  font-size: 20px;
}

.elementor-widget-accordion
  .elementor-tab-title.elementor-active
  .elementor-accordion-title {
  color: var(--primary);
}

.elementor-accordion .elementor-accordion-item {
  border: 0 !important;
}

.elementor-accordion .elementor-accordion-item:not(:last-child) {
  border-bottom: 1px solid var(--light-gray) !important;
}

.elementor-widget-accordion .elementor-accordion .elementor-tab-content {
  border: 0 !important;
  padding: 30px;
  padding-left: 60px;
}

/* Geschichte */
.elementor-section[year]:before {
  content: attr(year);
  display: inline-block;
  position: absolute;
  top: clamp(-5rem, -3vw, 2rem);
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-family: var(--headline-stack);
  color: var(--light-grey);
  font-size: clamp(10rem, 30vw, 26rem);
  line-height: 1;
  opacity: 0.15;
}

/* Prozess */
.section-prozess-versand h3.elementor-icon-box-title {
  font-size: 24px;
}

/* Icon Box Module */
.elementor-widget-icon-box .elementor-icon-box-title {
  color: var(--black) !important;
}

/* Image Module */
.elementor-widget-image img {
  width: 100%;
}

/* Produkte / Products */
.section-produkte .elementor-col-33 {
  background-color: #fff;
  -webkit-box-shadow: 0px 4px 12px 0px rgb(0 0 0 / 15%);
  box-shadow: 0px 4px 12px 0px rgb(0 0 0 / 15%);
  padding-bottom: 30px;
}

.section-produkte .elementor-container.elementor-column-gap-default {
  gap: 50px;
}

.section-produkte .elementor-col-50 .elementor-widget-wrap {
  padding: 0 !important;
}

.section-produkte
  .elementor-col-50
  .elementor-widget-wrap
  > :not(.elementor-widget-image) {
  padding: 0 30px !important;
}

/* Products Slick Slider */
.slick-track {
  padding-bottom: 30px;
}

.slick-track > div {
  margin: 0 20px;
}

.slider-arrows {
  margin-bottom: 30px;
}

.slick-arrow {
  height: 50px;
  min-width: 50px;
  border-radius: 50% !important;
  padding: 5px !important;
  border: 0 !important;
  background-color: var(--primary) !important;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.slick-arrow.slick-disabled {
  opacity: 0.5;
}

.slick-arrow:hover {
  background-color: var(--secondary) !important;
}

.slick-arrow svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

.arrow-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 20px;
}

.section-produkte span.elementor-icon-list-text {
  padding: 10px 15px;
  background-color: #42643799;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 1px;
  line-height: 1;
}

.section-produkte .elementor-widget-image img {
  height: 250px;
  -o-object-fit: cover;
  object-fit: cover;
}

.product-slider
  .slick-track
  .elementor-widget-wrap
  .elementor-widget:not(.elementor-widget-image) {
  padding: 0 30px;
}

/* Borlabs */

#BorlabsCookieBox ._brlbs-btn {
  background: #ebeaeb !important;
}
#BorlabsCookieBox ._brlbs-btn:hover {
  background-color: var(--secondary) !important;
  color: var(--primary) !important;
}

body #BorlabsCookieBoxWidget svg {
  height: 35px;
  width: 35px;
}

/* Karriere | Benefits */
.section-benefits
  .elementor-icon-box-wrapper
  :is(.elementor-icon-box-title, .elementor-icon i) {
  color: var(--primary) !important;
}

.section-benefits
  :is(
    .elementor-icon-box-wrapper .elementor-icon-box-description,
    .elementor-widget-text-editor p
  ) {
  color: var(--primary) !important;
  opacity: 0.9;
}

/* Anfrageformular */
body .section-anfrageformular .row {
  padding: 30px;
  background-color: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  margin-bottom: 30px;
}

body .section-anfrageformular .grid_3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

body .section-anfrageformular .grid_4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

body
  div:is(.width_1_2, .width_1_5, .width_1_6, .width_80_20, div)
  :is(input, select, textarea):not([type="checkbox"], [type="radio"]) {
  width: 100%;
  max-width: initial !important;
}

.section-anfrageformular :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
}

.width_1_2,
.width_1_3,
.width_1_5,
.width_1_6,
.width_80_20 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
}

.section-anfrageformular .wpcf7cf_step_inner div {
  padding-bottom: 20px;
}

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

.wpcf7-radio,
.wpcf7-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.width_1_2 > * {
  width: 50%;
}

.width_1_3 > * {
  width: 33.33%;
}

.width_1_5 > * {
  width: calc(100% / 5);
}

.width_1_6 > * {
  width: calc(100% / 6);
}

.width_80_20 > *:first-child {
  width: 80%;
}

.width_80_20 > *:last-child {
  width: 20%;
}

span.note {
  font-size: 11px;
  color: #666;
}

span.required-mark {
  display: inline-block;
  margin-left: 3px;
  color: var(--primary);
}

label {
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  height: 24px;
  width: 24px;
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 4px;
}

input[type="checkbox"]:checked:before {
  color: var(--secondary);
}

/* Stepped Anfrage-Formular Styles */
.wpcf7cf_steps-dots .step-index {
  font-family: var(--headline-stack);
}

.wpcf7cf_steps-dots .step-title {
  font-family: var(--body-stack);
}

.wpcf7cf_steps-dots .dot.completed {
  border-color: var(--primary) !important;
}

.wpcf7cf_steps-dots .dot.active {
  border-color: var(--secondary) !important;
}

.dot.completed .step-index {
  background-color: var(--primary) !important;
}

.dot.active .step-index {
  background-color: var(--secondary) !important;
}

.wpcf7cf_repeater_sub {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

span.wpcf7-not-valid-tip {
  line-height: 1.2;
  font-size: 12px;
  margin-top: 5px;
}

.section-anfrageformular :is(button, input[type="submit"]) {
  border: 0;
  padding: 14px 16px 11px !important;
  font-family: var(--body-stack);
  font-size: 16px !important;
  letter-spacing: initial !important;
  line-height: 1;
}

.section-anfrageformular button:is(.wpcf7cf_add, .wpcf7cf_remove) {
  background-color: var(--light-gray);
}

.wpcf7-response-output {
  font-family: var(--body-stack);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background-color: #ffb90044;
  border: 0;
  border-radius: 4px;
  padding-top: 7px;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #46b45044;
  border: none;
  border-radius: 4px;
  padding-top: 7px;
}

.wpcf7-spinner {
  min-width: 24px !important;
}

/* Karriere Ausbildung */

body .section-ausbildung-stellen h3 {
  font-size: 24px;
}

/* TranslatePress Custom Language Switcher */
ul.custom-language-switcher {
  list-style-type: none;
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 46px;
  gap: 4px;
  color: var(--primary);
  background-color: #fff;
  padding: 10px;
  border-radius: 25px 0 0 25px;
  -webkit-transform: translateX(2px);
  -ms-transform: translateX(2px);
  transform: translateX(2px);
}

ul.custom-language-switcher a {
  font-weight: 600;
  color: var(--primary);
}

.header-nav-translator {
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.header-nav-translator a.elementor-icon {
  border-radius: 0 25px 25px 0;
}

/* Responsive */

@media screen and (max-width: 1200px) {
  .elementor-section-full_width
    .elementor-section-boxed.elementor-inner-section {
    padding-left: 35px !important;
  }
}

@media screen and (min-width: 1280px) {
  /* Utility classes to define the left and right 
  offset for elements that are stretch the full width
  but only on one side while the other side stays inside 
  the defined container */
  body .offset-left {
    margin-left: calc((100% - 1100px) / 2) !important;
  }

  body .offset-right {
    margin-right: calc((100% - 1100px) / 2) !important;
  }
}

@media screen and (max-width: 1280px) {
  .section-certificates .elementor-inner-section .elementor-widget-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .elementor-top-section.elementor-section-boxed {
    padding-left: 40px !important;
    padding-right: 20px !important;
  }

  #custom-header-menu .elementor-widget-theme-site-logo a {
    margin-left: -15px;
  }

  .offset-left {
    padding-left: 4rem !important;
  }

  .offset-right {
    padding-right: initial !important;
  }

  /* Mega Menu Popup */
  .dialog-widget.dialog-lightbox-widget {
    padding-left: initial;
    margin-left: 4rem;
  }

  /* Vertical Line left */
  main#main:before {
    left: 2rem;
  }

  /* Vertical Line left */
  main#main:after {
    left: 0.5rem;
    width: 32px;
    height: 32px;
  }

  /* Stepped Form */
  .width_1_5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .width_1_5 > * {
    width: 100%;
  }

  .width_1_6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .width_1_6 > * {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  #custom-header-menu {
    padding-right: 10px;
  }
}

@media screen and (min-width: 768px) {
  span.wpcf7-form-control-wrap[data-name="analytik-leistungen"]
    .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  /* Start Section Prozess */
  .section-prozess .elementor-widget-wrap {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
  }

  .section-prozess:last-of-type .elementor-widget-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .elementor-top-section.elementor-section-boxed,
  .elementor-top-section.offset-left {
    padding-left: calc(4rem - 10px);
  }

  /* Mega Menu Popup */
  .dialog-widget.dialog-lightbox-widget {
    margin-left: calc(4rem - 10px);
  }

  /* Vertical Line left */
  main#main:before {
    left: 1.5rem;
    height: calc(100% - 215px);
  }

  /* Logo icon */
  main#main:after {
    left: 0.15rem;
    width: 28px;
    height: 28px;
    bottom: 30px;
  }

  /* Footer Contact */
  .custom-footer
    .elementor-column.elementor-col-50:first-child
    .elementor-widget-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Stepped Form */
  .width_1_5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stepped Form */
  .width_1_6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  body .section-anfrageformular :is(.grid_3, .grid_4) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 594px) {
  .section-certificates .elementor-inner-section .elementor-widget-wrap {
    grid-template-columns: 1fr;
  }

  .elementor-section[year]:before {
    top: clamp(-6rem, 4vw, 2rem);
  }

  :is(.width_80_20, .width_1_2, .width_1_3, .width_1_5, .width_1_6) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  :is(.width_80_20, .width_1_2, .width_1_3, .width_1_5, .width_1_6) > * {
    width: 100% !important;
  }

  body .section-anfrageformular :is(.grid_3, .grid_4) {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* @media screen and (max-width: 768px) { */
@supports (-webkit-touch-callout: none) {
  /* Main Border Left */
  main#main:before {
    display: none;
  }
}
/* } */
/* Safari 10.1+ (alternate method) */
@media screen and (max-width: 768px) {
  @media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
      /* Main Border Left */
      main#main:before {
        display: none;
      }
    }
  }
}
