:root {
  --primary-color: #cec0bc;
  --container-width: 1140px;
  --menu-secondary-bg-color: var(--primary-color); /*rgb(91 79 71 / 70%)*/
  --font-family: "Quicksand";
  --font-family-heading: "Nunito";
  --font-size: 18px;
  --primary-text-color: #1a1a1a;
  --seondary-heading-color: #736b69;
  --first-heading-color: var(--seondary-heading-color);

  --bg-darker: rgb(115 108 106);

  --menu-font-weight: 600;
  --menu-font-size: 16px;
  --menu-item-padding-left: 15px;
  --menu-item-padding: calc(var(--menu-item-padding-left) * 2);

  --viewport-small: 600px;
  --viewport-medium: 900px;
  --viewport-large: 900px;

  --main-background: transparent;
  --nav-background: var(--main-background);
  --nav-font-color: #fff;
  --header-height: 90px;

  --footer-background: var(--bg-darker);
  --form-bg-color: #cec0bc24;

  --space-large: 70px;
  --space-small: 16px;
  --space-medium: 40px;
  --space-main-bottom: 20vh;

  --swiper-navigation-size: 28px;
  --swiper-theme-color: var(--seondary-heading-color);
}

@media screen and (max-width: 992px) {
  :root {
    --container-width: 960px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --container-width: 720px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --container-width: 540px;
  }
}

body {
  font-family: var(--font-family);
  color: var(--primary-text-color);
  background: var(--main-background);

  font-weight: 500;
  line-height: 1.5;
  font-size: var(--font-size);
  overflow-x: hidden;
}

@media screen and (max-width: 900px) {
  body {
    padding-top: 0;
  }
}

.custom-logo {
  display: block;
  max-width: 255px;
}

.custom-logo-link {
  display: block;
  width: 100%;
}

main.center {
  padding-top: calc(2 * var(--space-large));
  min-height: 20vh;
}

section.content {
  padding-top: var(--space-large);
  padding-bottom: var(--space-large);
}

section.content.dark {
  background-color: var(--primary-color);
}

section.content.darker {
  background-color: var(--bg-darker);
}

section.content.darker h2 {
  color: white;
}

section.content.darker a.link-button {
  background-color: white;
  color: var(--seondary-heading-color);
}

section.content.dark a.link-button {
  background-color: white;
  color: var(--seondary-heading-color);
}

section.content.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.container {
  max-width: var(--container-width);
  margin: auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

.space--large {
  gap: var(--space-large);
}

.gap--small {
  gap: var(--space-small);
}

.gap--medium {
  gap: var(--space-medium);
}

.gap--large {
  gap: calc(2 * var(--space-medium));
}

.spacer--bottom {
  margin-bottom: var(--space-large);
}

.grid.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid.grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media screen and (max-width: 900px) {
  .grid.grid-2,
  .grid.grid-3,
  .grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 20px;
  }

  section.content {
    padding-top: calc(1 * var(--space-large));
    padding-bottom: calc(1 * var(--space-large));
  }

  .gap--large {
    gap: calc(1.2 * var(--space-medium));
  }
}

.multi-line {
  white-space: pre-line;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" -25, "opsz" 20;
}

/* HEADINGS */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  margin: 0;
}

h1.with-divider {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

h1 .divider {
  width: 50px;
  height: 3px;
  margin-top: 10px;
  margin-bottom: 30px;
  background: var(--primary-color);
}

h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--seondary-heading-color);
}

h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--seondary-heading-color);
}

a {
  color: var(--primary-text-color);
  font-weight: bold;
  cursor: pointer;
}

/* NAVIGATION */

.navigation {
  display: grid;
  grid-template-areas: "logo menu";
  margin: auto;
  padding: 0 20px;
  width: 90%;
  height: var(--header-height);
  max-width: 1800px;
}

#logo {
  display: flex;
  align-items: center;
  grid-area: logo;
}

#logo .custom-logo-mobile {
  display: none;
}

nav {
  width: 100%;
  background: var(--main-background);
  position: fixed;
  top: 10px;
  z-index: 12;
  transition: all 0.5s ease;
}

.admin-bar nav {
  top: var(--wp-admin--admin-bar--height);
}

.scroll nav {
  background-color: var(--menu-secondary-bg-color);
  backdrop-filter: blur(10px);
  top: 0;
}

.navigation .menu-main-container {
  display: flex;
  justify-content: flex-end;
  grid-area: menu;
}

.sub-menu {
  margin: 0;
  position: absolute;
  z-index: 10;

  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0);
  margin-top: 10px;
  color: #ffffff !important;
  background: var(--menu-secondary-bg-color);
  border-radius: 7px;
  backdrop-filter: blur(14px);
  list-style: none;
  padding: 18px 28px;
  transform: translateY(20px);
  transition: all 0.5s ease;
  opacity: 0;
  z-index: -1;
}

.sub-menu a {
  color: white;
  font-weight: var(--menu-font-weight);
  text-decoration: none;
  cursor: pointer;
}

body.scroll .sub-menu {
  transform: translateY(20px);
}

#menu-main {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu-main > li > a {
  position: relative;
  display: inline-block;
  font-weight: var(--menu-font-weight);
  font-size: var(--menu-font-size);
  padding: 6px var(--menu-item-padding-left);
  text-decoration: none;
  color: var(--nav-font-color);
  cursor: pointer;
  text-transform: uppercase;
}

#menu-main > li.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
  box-shadow: 0px 4px 9px 0px #787878;
}

body.scroll #menu-main > li.menu-item-has-children:hover .sub-menu {
  transform: translateY(20px);
}

#menu-main > li.button {
  margin-left: 20px;
}

#menu-main > li.button > a {
  border: 2px solid white;
}

#menu-main > li.button > a:after {
  content: none;
}

#menu-main > li.button:hover > a {
  background-color: white;
  color: var(--primary-color);
}

#menu-main > li > a:after {
  content: "";
  position: absolute;
  left: calc(var(--menu-item-padding-left));
  bottom: -3px;
  height: 1px;
  width: calc(100% - var(--menu-item-padding));
  background: transparent;
  transform: scale(0);
  transition: all 0.5s ease;
}

#menu-main > li.current_page_item > a:after,
#menu-main > li:hover > a:after {
  background: var(--nav-font-color);
  transform: scale(1);
}

.mobile-menu {
  display: none;
  grid-area: mobile-menu;
  justify-content: flex-end;
  align-items: center;
}

.mobile-menu label {
  display: flex;
  flex-direction: column;
  width: 46px;
  cursor: pointer;
}

.mobile-menu label span {
  background: var(--nav-font-color);
  border-radius: 10px;
  height: 5px;
  margin: 5px 0;
  transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.mobile-menu span:nth-of-type(1) {
  width: 50%;
}

.mobile-menu span:nth-of-type(2) {
  width: 100%;
}

.mobile-menu span:nth-of-type(3) {
  width: 75%;
}

.mobile-menu input[type="checkbox"] {
  display: none;
}

.mobile-menu input[type="checkbox"]:checked ~ span:nth-of-type(1) {
  transform-origin: bottom;
  transform: rotatez(45deg) translate(5px, 0px);
}

.mobile-menu input[type="checkbox"]:checked ~ span:nth-of-type(2) {
  transform-origin: top;
  transform: rotatez(-45deg);
}

.mobile-menu input[type="checkbox"]:checked ~ span:nth-of-type(3) {
  transform-origin: bottom;
  width: 50%;
  transform: translate(16px, -6px) rotatez(45deg);
}

.offcanvas-mobile-menu {
  width: 300px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -300px;
  overflow: inherit;
  transition: all 0.6s;
  z-index: 10000;
  background: var(--primary-color);
}

.offcanvas-overlay {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  visibility: hidden;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

body .body-wrapper {
  overflow-x: hidden;
  transition: all 0.6s;
}

body.menu-open .body-wrapper {
  transform: translateX(-300px);
}

body.menu-open .offcanvas-overlay {
  visibility: visible;
  opacity: 1;
}

body.menu-open .offcanvas-mobile-menu {
  right: 0;
}

@media screen and (max-width: 1480px) {
  #logo .custom-logo {
    display: none;
  }

  #logo .custom-logo-mobile {
    display: block;
    height: 40px;
  }

  #navigation {
    transition: all 0.5s ease;
  }

  .navigation {
    grid-template-areas: "logo mobile-menu";
    width: initial;
  }

  .mobile-menu {
    display: flex;
  }

  .navigation .menu-main-container,
  .navigation .second-menu {
    display: none;
  }

  /* #navigation.open .navigation .menu-main-container,
  #navigation.open .navigation .second-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  } */

  .sub-menu {
    display: block;
    position: relative;
    transform: translateY(0);
    opacity: 1;
    padding: 6px 28px;
    margin-top: 0;
    z-index: 1;
  }

  .sub-menu a {
    padding: 5px 8px;
    display: block;
  }

  body.scroll .sub-menu {
    transform: translateY(0) !important;
  }

  #menu-main {
    padding: 12px;
    padding-top: var(--header-height);
    flex-direction: column;
  }

  #menu-main > li.button {
    margin-left: 12px;
    font-size: 0.85rem;
  }

  #menu-main > li > a {
    margin: 6px 0;
    padding-left: 12px;
  }

  .navigation .menu-main-container {
    padding-top: var(--header-height);
  }

  .offcanvas-mobile-menu #menu-main {
    align-items: flex-start;
  }

  .close-button {
    position: absolute;
    right: 12px;
    color: white;
    background: transparent;
    border: 0;
    top: 30px;
  }

  .close-button > span {
    font-size: 48px;
  }
}

/* TEAM */

.members {
  padding-top: var(--space-large);
  padding-bottom: var(--space-large);
}

.members h2 {
  margin: 0px 0px 30px 0px;
}

.member a {
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.member .image {
  position: relative;
}

.member > a {
  display: block;
  overflow: hidden;
  text-decoration: none;
  font-weight: 300;
  cursor: pointer;
}

.member {
  position: relative;
  display: block;
  transition: all 0.5s ease-in-out;
}

.member:after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: var(--form-bg-color);
  opacity: 0;
  z-index: -1;
  transition: all 0.5s ease-in-out;
}

.member > a > img {
  transition: all 0.5s ease-in-out;
}

.member:hover > a > img {
  transform: scale(1.05);
}

.member:hover:after {
  opacity: 1;
  /* transform: scale(1.005); */
}

.member:hover .button {
  opacity: 1;
  transform: translateX(0);
  /* transform: scale(1.005); */
}

.member h3 {
  margin-top: 12px;
}

.member img {
  max-width: 100%;
}

.member-detail {
  display: grid;
  gap: var(--space-large);
}

.member-detail:after {
  content: none;
}

.member .button {
  opacity: 0;
  height: 30px;
  min-width: 30px;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  padding-left: 18px;
  transform: translateX(-50%);
  border-top-left-radius: 14px;
}

.member .image {
  background-size: cover;
  background-position: center;
}

.member .description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(1 * var(--space-large)) calc(2 * var(--space-large));
}

.member h1 {
  font-size: 64px;
  font-weight: 200;
  margin-bottom: 20px;
  color: initial;
}

.member-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.member-actions > a > span {
  font-size: 48px;
}

.member-actions > a {
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
}

.member-actions > a:hover {
  transform: scale(1.1);
}

.member-actions > a > span.rotate {
  transform: rotate(180deg);
}

.member-back {
  position: absolute;
  right: 20px;
  top: calc(30px + var(--header-height));
}

.member-back span {
  font-size: 48px;
}

@media screen and (max-width: 900px) {
  .member h1 {
    font-size: 50px;
    font-weight: 200;
    line-height: 50px;
    margin-bottom: 20px;
  }

  .member .image {
    padding-top: 20px;
  }

  .member-detail {
    gap: 24px;
  }

  .member .description {
    padding: 24px;
  }

  .member-actions {
    margin-top: 24px;
    justify-content: space-between;
  }
}

/* MAIN */
header {
  padding: 180px 0px 100px 0px;
  background: var(--primary-color);
}

header h1 {
  font-size: 64px;
  font-weight: 600 !important;
  line-height: 64px;
  color: var(--first-heading-color);
}

header .container {
  width: 90%;
  max-width: 1800px;
}

@media screen and (max-width: 900px) {
  header {
    padding: 120px 0px 30px 0px;
  }
  header h1 {
    font-size: 26px;
    line-height: 40px;
  }

  h2 {
    font-size: 28px;
  }
}

.banner-video {
  overflow: hidden;
  display: flex;
}

.banner-video video {
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.banner > img {
  width: 100%;
  margin-top: -5px;
}

.banner-image img {
  max-width: 100%;
}

/* FOOTER */
footer {
  position: relative;
  width: 100%;
  padding: calc(1.5 * var(--space-large)) 0;
  background-color: var(--footer-background);
  font-size: 1.2rem;
  color: white;
}

footer a,
footer p {
  text-decoration: none;
  font-weight: normal;
  color: white;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .menu-footer-container {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

footer ul > li > a {
  display: block;
  font-weight: normal;
  cursor: pointer;
}

footer .title {
  font-weight: normal;
  letter-spacing: 0.4px;
  line-height: 28px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

footer .brand {
  font-size: 20px;
  line-height: 30px;
}

footer .social-media-icons {
  display: flex;
  gap: 8px;
}

footer .social-media-icons img {
  filter: invert(1);
}

@media screen and (max-width: 900px) {
  footer {
    padding: calc(var(--space-large) / 2) 0;
  }

  footer .title {
    margin-top: 40px;
  }
}

/* DIENSTLEISTUNGEN */
.services {
  padding-top: var(--space-large);
  padding-bottom: var(--space-large);
}

.services .grid > * {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-direction: column;
}

/* FORM */

form {
  margin-top: 40px;
  padding: 26px 26px;
  background: var(--form-bg-color);
}

.sppb-form-group .sppb-form-control,
.form-control,
input[type="text"]:not(.form-control),
input[type="email"]:not(.form-control),
input[type="url"]:not(.form-control),
input[type="date"]:not(.form-control),
input[type="password"]:not(.form-control),
input[type="search"]:not(.form-control),
input[type="tel"]:not(.form-control),
input[type="number"]:not(.form-control),
textarea,
select:not(.form-control) {
  font-family: var(--font-family);
  display: block;
  width: 100%;
  color: var(--primary-text-color);
  border: none;
  border-bottom: 2px solid var(--primary-color);
  border-radius: 0px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  padding: 8px 0px;
  background: transparent;
}

.sppb-form-group .sppb-form-control:focus,
.form-control:focus,
input:not(.form-control)[type="text"]:focus,
input:not(.form-control)[type="email"]:focus,
input:not(.form-control)[type="url"]:focus,
input:not(.form-control)[type="date"]:focus,
input:not(.form-control)[type="password"]:focus,
input:not(.form-control)[type="search"]:focus,
input:not(.form-control)[type="tel"]:focus,
input:not(.form-control)[type="number"]:focus,
textarea,
select:not(.form-control):focus {
  box-shadow: none;
  outline: none;
  border-color: #bebebe;
}

input::placeholder,
textarea::placeholder {
  font-family: var(--font-family);
  font-weight: normal;
  font-size: 16px;
  line-height: 26px;
  color: #66717a;
}

label {
  padding: 0px;
  margin: 0px;
  font-weight: normal;
  font-size: 16px;
  line-height: 26px;
  color: #66717a;
}

.form-check {
  padding-top: 30px;
  padding-bottom: 30px;
}

.form-check .form-check-label {
  transform: translateY(0px);
}

.checkbox-label {
  display: flex;
  align-items: center;
}

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

input[type="checkbox"] {
  font-size: 1em;
  margin: 10px !important;
  font: inherit;
  cursor: pointer;
  width: 20px !important;
  height: 20px !important;
}

input[type="submit"],
button {
  font-family: var(--font-family);
  display: inline-block;
  border: 2px solid var(--seondary-heading-color);
  padding: 12px 24px;
  font-size: 1rem;
  background-color: var(--seondary-heading-color);
  color: white;
  text-decoration: none;
  border-radius: 32px !important;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}

input[type="submit"]:disabled,
button:disabled {
  background-color: #d9d9d9;
}

.codedropz-upload-handler {
  border: 2px dashed #dde8f1 !important;
}

.codedropz-upload-handler:hover {
  border: 2px solid #dde8f1 !important;
}

hr {
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: #eff3f8;
  margin-top: 10px;
  margin-bottom: 10px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #dc3232;
  background-color: #dc3232;
  color: white;
}

@media screen and (max-width: 900px) {
  .checkbox-label {
    display: initial;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

.thjm-single-job-page
  .thjm-field-has-placeholder-label
  .thjm-validation-message {
  position: relative !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.input-file.thjm-file-upload {
  visibility: hidden !important;
}

.thjm-valign-label {
  display: inline-block !important;
}

.thjm-input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
}

form#thjm_job_application {
  padding: 0;
  background: transparent;
}

.thjm-job-application {
  padding: 26px 26px;
  background: #f0f3f6;
}

#thjm_apply_job {
  margin-top: 20px;
}

.thjm-single-job-content {
  margin-bottom: 42px;
}

.thjm-job-contents .thjm-job-tag-name {
  color: var(--first-heading-color);
}

.thjm-job-button.back-button {
  margin-left: 20px;
  /* border: 1px solid; */
  display: inline-block;
  padding: 10px 18px;
}

#thjm_job_filter_form {
  margin-top: 40px;
  padding: 0;
  background: white;
  margin-bottom: 50px;
}

.thjm-job-list-page
  .thjm-jobs
  .thjm-job-filter-panel
  .thjm-secondary-filters
  select {
  border-radius: 32px !important;
  min-width: 400px !important;
  padding: 10px 24px !important;
  min-height: 42px !important;
  color: #66717a !important;
  font-weight: 400 !important;
}

.thjm-job-list-page
  .thjm-jobs
  .thjm-job-filter-panel
  .thjm-filter-keyword
  input {
  padding-left: 18px !important;
  border-radius: 32px !important;
}

.thjm-job-list-page .thjm-jobs .thjm-job-filter-panel {
  display: grid !important;
  grid-template-columns: 2fr 1fr 120px !important;
  gap: 20px;
}

.thjm-job-list-page
  .thjm-jobs
  .thjm-job-filter-panel
  .thjm-filter-row.thjm-primary-filter-1
  .thjm-job-filter:not(button) {
  width: 100% !important;
}

.thjm-job-list-page
  .thjm-jobs
  .thjm-job-filter-panel
  .thjm-secondary-filters
  .thjm-job-filter {
  margin-right: 0 !important;
}

.thjm-job-features-list.thjm-plain-list {
  color: white;
}

.thjm-form-notification {
  z-index: 1111;
}

.thjm-field-checkbox .thjm-input-wrapper {
  justify-content: initial !important;
  align-items: center !important;
  flex-direction: initial !important;
}

.thjm-job-listings {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.thjm-loop-job.thjm-list-job-listing {
  padding: 20px;
}

.thjm-loop-job-title.thjm-js-job-title {
  font-size: 22px;
}

.thjm-loop-job-excerpt,
.thjm-loop-job-excerpt + a {
  display: none;
}

.thjm-job-list-page .thjm-jobs .thjm-loop-job {
  padding: 20px !important;
  min-height: 150px !important;
  border-bottom: 0 !important;
  background: var(--primary-color);
  border-radius: 32px;
}

.thjm-job-list-page .thjm-jobs .thjm-job-tags img,
.thjm-single-job-tags .thjm-job-tags img {
  filter: grayscale(1);
}

@media screen and (max-width: 900px) {
  .thjm-job-listings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .thjm-job-list-page
    .thjm-jobs
    .thjm-job-filter-panel
    .thjm-secondary-filters
    .thjm-job-filter {
    width: 100% !important;
  }

  .thjm-job-list-page .thjm-jobs .thjm-job-filter-panel {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }

  .thjm-job-list-page
    .thjm-jobs
    .thjm-job-filter-panel
    .thjm-secondary-filters
    select {
    min-width: 100% !important;
  }

  .thjm-job-list-page
    .thjm-jobs
    .thjm-job-filter-panel
    .thjm-secondary-filters {
    padding-top: 0 !important;
  }
}

/* BUTTONS */
.link-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.3rem;
  background-color: var(--seondary-heading-color);
  color: white;
  text-decoration: none;
  border-radius: 32px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}

.link-button.light {
  background-color: white;
  color: var(--seondary-heading-color);
  border: 2px solid var(--seondary-heading-color);
}
