/*
Theme Name: WellDeserved2026
Theme URI: https://example.com/welldeserved2026
Author: WellDeserved
Author URI: https://example.com
Description: A modern WordPress theme based on a premium HTML template, built for ACF Pro Flexible Blocks.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: welldeserved2026
Tags: custom, portfolio, agency
*/

/* All styles are provided by assets/css/main.css and assets/css/plugins.css */
/* Custom WordPress-specific overrides below */

.mxd-hero-06__content {
  -moz-border-radius: 10px !important;
       border-radius: 10px !important;
}

:root {
  --_font-default: "Montserrat", sans-serif !important;
  --_font-accent: "Cormorant", serif !important;
  --base: #2B334B !important;
  --base--light: #2B334B !important;
  --base--dark: #2B334B !important;
}

body {
  background-color: #2B334B !important;
}

.btn-mobile-icon {
  border-radius: 0.8rem !important;
  border: 1px solid #BA9958 !important;
  background-color: transparent !important;
  color: #fff !important;
}

.btn-mobile-icon .btn-caption {
  color: #fff !important;
}

.btn-mobile-icon i {
  color: #fff !important;
}

.hamburger__base {
  border-radius: 0.8rem !important;
  border: 1px solid #BA9958 !important;
  background-color: transparent !important;
}

.hamburger__line {
  background-color: #fff !important;
}

.mark-text {
  color: #fff !important;
}

.mark-icon {
  border-color: #fff !important;
  background-color: #fff !important;
}

.mxd-hero-06__more .btn-caption,
.mxd-hero-06__more i {
  color: #fff !important;
}

.mxd-hero-06__more .btn-line-medium {
  color: #fff !important;
}

/* Section About */
.mxd-block__paragraph p.t-large {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
}

.mxd-block__name h2,
.mxd-block__paragraph p {
  color: #fff !important;
}

.mxd-btngroup .btn {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-btngroup .btn .btn-caption {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.btn-mobile-icon .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-btngroup .btn i {
  color: #fff !important;
}

/* Section Inner Headline + Values (fallback visibility in WP) */
.mxd-values .mxd-values__image {
  display: block;
  width: 100%;
  min-height: 460px;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .mxd-values .mxd-values__image {
    min-height: 600px;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-values .mxd-values__image.image-large-desktop {
    min-height: 930px;
  }

  .mxd-values .mxd-values__image.image-small-desktop {
    min-height: 460px;
  }
}

/* Incentives Dev - Inner Headline + Values typography */
.page-template-incentives-dev .mxd-section-inner-headline,
.page-template-incentives-dev .mxd-section-inner-headline p,
.page-template-incentives-dev .mxd-section-inner-headline h1,
.page-template-incentives-dev .mxd-section-inner-headline .mxd-values,
.page-template-incentives-dev .mxd-section-inner-headline .mxd-values p {
  color: #fff !important;
}

.page-template-incentives-dev .mxd-section-inner-headline .mxd-point-subtitle,
.page-template-incentives-dev .mxd-section-inner-headline .mxd-point-subtitle span,
.page-template-incentives-dev .mxd-section-inner-headline .mxd-values__descr,
.page-template-incentives-dev .mxd-section-inner-headline .mxd-values__descr p {
  font-family: "Montserrat", sans-serif !important;
}

.page-template-incentives-dev .mxd-section-inner-headline .mxd-block__inner-headline h1 {
  font-size: 9rem !important;
}

.page-template-incentives-dev .mxd-section-inner-headline .mxd-values__descr {
  padding: 3em !important;
}

.page-template-incentives-dev .mxd-section-inner-headline .mxd-values__descr p {
  font-size: 1.8rem !important;
}

/* Section 11 - Head + 2 Pics + 3 Cols */
.mxd-section-inner-headline,
.mxd-section-inner-headline h1,
.mxd-section-inner-headline p,
.mxd-section-inner-headline .mxd-values,
.mxd-section-inner-headline .mxd-values p,
.mxd-section-inner-headline .mxd-values__descr,
.mxd-section-inner-headline .mxd-values__descr p,
.mxd-section-inner-headline .mxd-point-subtitle,
.mxd-section-inner-headline .mxd-point-subtitle span {
  color: #fff !important;
}

.mxd-section-inner-headline .mxd-point-subtitle,
.mxd-section-inner-headline .mxd-point-subtitle span {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-inner-headline .sans {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-inner-headline .mxd-values__image.image-small-desktop.image-values-2 {
  min-height: 600px !important;
}

/* Section 12 - Parallax Divider video fill */
.mxd-divider__image {
  position: relative;
  overflow: hidden;
}

.mxd-divider__image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Incentives Dev - Awards & Publications */
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s {
  background-color: #BA9958 !important;
  padding-top: 7em;
}

.page-template-incentives-dev .btn {
  border-radius: 0.8rem !important;
}

.page-template-incentives-dev .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s h2,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s p,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s li,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s a,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s i,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .mxd-grid-item {
  color: #fff !important;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table {
  border-top: 1px solid rgba(255, 255, 255, 0.75);
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  padding: 2.6rem 0;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5em;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__icon svg {
  width: 60px;
  height: 60px;
  display: block;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__icon img {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__meta {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.35 !important;
  margin: 0;
  font-weight: 800;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__copy {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
  margin: 0;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .mxd-section-title__hrcontrols .btn,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .mxd-section-title__hrcontrols .btn.btn-outline {
  border: 1px solid #fff !important;
  background-color: transparent !important;
}

.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .mxd-section-title__hrcontrols .btn .btn-caption,
.page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .mxd-section-title__hrcontrols .btn i {
  color: #fff !important;
}

@media only screen and (max-width: 991px) {
  .page-template-incentives-dev .mxd-section.overflow-hidden.padding-pre-grid.mobile-grid-s .approaches-table__row .row > [class*="col-"] {
    margin-bottom: 1.4rem;
  }
}

/* Section 13 - Approaches List (global, not template-bound) */
.mxd-section-approaches-list {
  background-color: #BA9958 !important;
  padding-top: 7em;
}

.mxd-section-approaches-list h2,
.mxd-section-approaches-list p,
.mxd-section-approaches-list li,
.mxd-section-approaches-list a,
.mxd-section-approaches-list i,
.mxd-section-approaches-list .mxd-grid-item {
  color: #fff !important;
}

.mxd-section-approaches-list .approaches-table {
  border-top: 1px solid rgba(255, 255, 255, 0.75);
}

.mxd-section-approaches-list .approaches-table__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  padding: 2.6rem 0;
}

.mxd-section-approaches-list .approaches-table__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5em;
}

.mxd-section-approaches-list .approaches-table__icon img,
.mxd-section-approaches-list .approaches-table__icon svg {
  width: 90px;
  height: 90px;
  display: block;
  object-fit: contain;
}

.mxd-section-approaches-list p,
.mxd-section-approaches-list a,
.mxd-section-approaches-list li,
.mxd-section-approaches-list span,
.mxd-section-approaches-list .btn-caption,
.mxd-section-approaches-list .approaches-table__meta,
.mxd-section-approaches-list .approaches-table__copy,
.mxd-section-approaches-list .mxd-section-title__hrdescr {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-approaches-list .mxd-section-title__hrcontrols .btn,
.mxd-section-approaches-list .mxd-section-title__hrcontrols .btn.btn-outline {
  border: 1px solid #fff !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-section-approaches-list .mxd-section-title__hrcontrols .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-section-approaches-list .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section-approaches-list .mxd-section-title__hrcontrols .btn i {
  color: #fff !important;
}

/* Section 14 - Marquee Gallery */
.mxd-section-marquee-gallery .marquee__item.has-caption {
  background-color: #A6925F !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.mxd-section-marquee-gallery .marquee__item.has-caption p {
  color: #fff !important;
}

.mxd-section-marquee-gallery .marquee__item.has-caption .btn {
  margin-top: 1.6rem;
  border: 1px solid #fff !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.mxd-section-marquee-gallery .marquee__item.has-caption .btn .btn-caption,
.mxd-section-marquee-gallery .marquee__item.has-caption .btn i {
  color: #fff !important;
}

.mxd-section-marquee-gallery .marquee__item.has-caption .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption p {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
}

/* Home Hero - Media Fill */
.mxd-hero-06 .mxd-hero-06__content {
  position: relative;
  overflow: hidden;
}

.mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 !important;
}

.mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video video,
.mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  .mxd-header .mxd-header__controls.loading__fade {
    display: none !important;
  }

  .home .mxd-hero-06,
  .front-page .mxd-hero-06 {
    padding-bottom: 3em;
  }

  .home .mxd-hero-06 .mxd-hero-06__wrap,
  .front-page .mxd-hero-06 .mxd-hero-06__wrap {
    padding-top: 0 !important;
  }

  .home .mxd-hero-06 .mxd-hero-06__content,
  .front-page .mxd-hero-06 .mxd-hero-06__content {
    height: 66vh;
    min-height: 42rem;
    max-height: 66vh;
  }

  .home .mxd-hero-06 .mxd-hero-06__bottom.loading__fade,
  .front-page .mxd-hero-06 .mxd-hero-06__bottom.loading__fade {
    display: none !important;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video {
    border-radius: var(--_radius-m);
    overflow: hidden;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video video,
  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video img,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video video,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__video img {
    aspect-ratio: 1080 / 1540;
    object-position: center center;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__data,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__data {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__list,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__list {
    display: none;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__headline,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__headline {
    padding: 0 0 1.2rem;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__marquee,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__marquee {
    margin-bottom: 0;
  }

  .home .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__marquee .marquee__text,
  .front-page .mxd-hero-06 .mxd-hero-06__content .mxd-hero-06__marquee .marquee__text {
    color: #fff !important;
  }
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption .btn {
  margin-top: 1.6rem;
  border: 1px solid #fff !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption .btn .btn-caption,
.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption .btn i {
  color: #fff !important;
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__item.has-caption .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.page-template-incentives-dev .mxd-section.padding-default.mobile-title .marquee__top {
  margin-top: 4rem;
}

/* Logo Banner */
.logobanner {
  background-color: #A6925F;
  padding: 10rem 4rem;
}

.logobanner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logobanner__item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logobanner__item img {
  max-height: 135px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* 04-head-text-scroll: ignore fixed box heights and render at 936:700 ratio */
#projects .mxd-project-item__media,
#projects .mxd-project-item__preview {
  height: auto !important;
  aspect-ratio: 936 / 700;
}

#projects .mxd-project-item__preview {
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Section Title (Projects etc.) */
.mxd-section-title__title h2,
.mxd-section-title__title h3 {
  color: #fff !important;
}

.mxd-section-title__descr p {
  font-family: "Montserrat", sans-serif !important;
  color: #fff !important;
}

/* Section Blog Preview (top row) */
.mxd-section.padding-blog .mxd-section-title__hrtitle h2, .mxd-section-title__hrtitle h2.reveal-type,
.mxd-section.padding-blog .mxd-section-title__hrdescr p {
  color: #fff !important;
}

.mxd-section.padding-blog .mxd-section-title__hrdescr p {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section.padding-blog .mxd-section-title__hrcontrols .btn {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-section.padding-blog .mxd-section-title__hrcontrols .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-section.padding-blog .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section.padding-blog .mxd-section-title__hrcontrols .btn i {
  color: #fff !important;
}

/* Section It's well deserved */
.mxd-section-welldeserved {
  margin-top: 8rem;
}

.mxd-section-welldeserved .mxd-section-title__hrtitle p {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-welldeserved .mxd-section-title .row > .col-xl-3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mxd-section-welldeserved .welldeserved-handle {
  margin: 0;
}

.mxd-section-welldeserved .welldeserved-handle a {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 2.4rem !important;
}

.mxd-section-welldeserved .mxd-blog-preview__media {
  aspect-ratio: 4 / 5;
}

.mxd-section-welldeserved .mxd-blog-preview__media .mxd-blog-preview__image {
  width: 100%;
  height: 100%;
}

.mxd-section-welldeserved .mxd-instagram-plugin {
  width: 100%;
}

.mxd-section-welldeserved .mxd-instagram-plugin__fallback {
  width: 100%;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxd-section-welldeserved .mxd-instagram-plugin__fallback p,
.mxd-section-welldeserved .mxd-instagram-plugin__fallback a {
  margin: 0;
  color: #fff !important;
}

.mxd-section.padding-blog .mxd-blog-preview__media,
.mxd-section.padding-blog .mxd-blog-preview__image {
  border-radius: 10px !important;
}

.mxd-section.padding-blog .mxd-blog-preview__media {
  overflow: hidden;
}

.mxd-section-news-preview .mxd-blog-preview__image,
.mxd-section-intro-cards .mxd-blog-preview__image {
  position: relative;
}

.mxd-section-news-preview .mxd-blog-preview__image::before,
.mxd-section-intro-cards .mxd-blog-preview__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 51, 75, 0.45);
  z-index: 1;
  pointer-events: none;
}

.mxd-section-news-preview .mxd-blog-preview__tags,
.mxd-section-intro-cards .mxd-blog-preview__tags {
  position: absolute;
  z-index: 2;
}

.mxd-section-news-preview .mxd-preview-hover__icon svg,
.mxd-section-intro-cards .mxd-preview-hover__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.mxd-section-intro-cards .mxd-blog-preview__data > a:not(.btn) {
  display: inline;
}

.mxd-section-intro-cards .mxd-blog-preview__data .mxd-btngroup {
  margin-top: 1.6rem;
}

.mxd-section-intro-cards .mxd-blog-preview__data p {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.45 !important;
}

.mxd-section-intro-cards .mxd-blog-preview__data .btn {
  display: inline-flex;
  text-decoration: none;
  background: transparent !important;
  background-image: none !important;
  background-size: initial;
  background-position: initial;
  background-color: transparent !important;
  color: #fff !important;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.mxd-section-intro-cards .mxd-blog-preview__data .btn .btn-caption {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 3.3rem !important;
  height: 3.3rem !important;
  overflow: hidden;
  transition: letter-spacing 0.25s ease;
}

.no-touch .mxd-section-intro-cards .mxd-blog-preview__data .btn:hover {
  transform: translateY(-2px);
  background-color: rgba(186, 153, 88, 0.12) !important;
  border-color: #ba9958 !important;
}

.no-touch .mxd-section-intro-cards .mxd-blog-preview__data .btn:hover .btn-caption {
  letter-spacing: 0.02em;
}

.mxd-section-news-preview .mxd-blog-preview__data .mxd-btngroup {
  margin-top: 1.6rem;
}

.mxd-section-news-preview .mxd-blog-preview__data p {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.45 !important;
}

.mxd-section-news-preview .mxd-blog-preview__data .btn {
  display: inline-flex;
  text-decoration: none;
  background: transparent !important;
  background-image: none !important;
  background-size: initial;
  background-position: initial;
  background-color: transparent !important;
  color: #fff !important;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.mxd-section-news-preview .mxd-blog-preview__data .btn .btn-caption {
  color: #fff !important;
  font-size: 16px !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  line-height: 5.6rem !important;
  height: 5.6rem !important;
  display: inline-flex !important;
  align-items: center;
  overflow: hidden;
  transition: letter-spacing 0.25s ease;
}

.mxd-section-news-preview .mxd-blog-preview__data .btn:hover,
.no-touch .mxd-section-news-preview .mxd-blog-preview__data .btn:hover {
  transform: translateY(-2px);
  background-color: rgba(186, 153, 88, 0.12) !important;
  border-color: #ba9958 !important;
}

.mxd-section-news-preview .mxd-blog-preview__data .btn:hover .btn-caption,
.no-touch .mxd-section-news-preview .mxd-blog-preview__data .btn:hover .btn-caption {
  letter-spacing: 0.02em;
}

.mxd-section-intro-cards .mxd-blog-preview__data .btn-anim .btn-anim__block,
.mxd-section-intro-cards .mxd-blog-preview__data .btn-anim .btn-anim__block:last-child {
  color: #fff !important;
}

.btn i {
  display: none !important;
}

#to-top.btn i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  opacity: 1 !important;
}

#to-top.btn i::before {
  color: #fff !important;
  opacity: 1 !important;
}

.mxd-section.padding-blog .mxd-blog-preview__tags {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
}

.mxd-section.padding-blog .mxd-blog-preview__tags h5,
.mxd-section.padding-blog .mxd-blog-preview__tags i {
  color: #fff !important;
}

.mxd-section.padding-blog .mxd-blog-preview__tags h5 {
  margin: 0;
  display: inline;
}

.mxd-section.padding-blog .mxd-blog-preview__tags i {
  font-size: 2.6rem;
  line-height: 1;
  margin-left: 0;
  vertical-align: -2px;
}

.mxd-section.padding-blog .mxd-blog-preview__tags h5 .ph-arrow-up-right {
  margin-left: 0.4rem;
}

.mxd-section.padding-blog .mxd-blog-preview__data > a:not(.btn),
.mxd-section.padding-blog .mxd-blog-preview__data > a:not(.btn) span {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.45 !important;
}

.mxd-section.mxd-section-news-preview .mxd-blog-preview__data p.anim-uni-in-up {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.45 !important;
}

.mxd-project-item__promo h3,
.mxd-project-item__promo h4,
.mxd-project-item__promo p {
  font-family: "Montserrat", sans-serif !important;
  color: #fff !important;
}

.mxd-project-item__promo h4 {
  font-size: 3.5rem !important;
  font-weight: 500 !important;
  padding-bottom: 0.5em;
}

.mxd-project-item__name h4 {
  font-family: "Cormorant", serif !important;
}

.mxd-project-item__name p {
  font-size: 1.6rem !important;
}

.mxd-project-item__controls {
  margin-top: 2rem;
}

.mxd-project-item__controls .btn {
  display: inline-flex;
}

.mxd-project__block--headline-text,
.mxd-project__block--headline-text h1,
.mxd-project__block--headline-text h2,
.mxd-project__block--headline-text h3,
.mxd-project__block--headline-text h4,
.mxd-project__block--headline-text h5,
.mxd-project__block--headline-text h6,
.mxd-project__block--headline-text p,
.mxd-project__block--headline-text span,
.mxd-project__block--headline-text a,
.mxd-project__block--headline-text li {
  color: #fff !important;
}

.mxd-project__block--headline-text p {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-project-item__media {
  border-radius: 10px !important;
  overflow: hidden;
}

/* Section 15 - Projects Split Preview */
.mxd-section-projects-split.is-blue-bg {
  background-color: #2b334b;
}

.mxd-section-projects-split.is-white-bg {
  background-color: #fff;
}

.mxd-section-projects-split .projects-split__image-wrap {
  width: 100%;
}

.mxd-section-projects-split .projects-split__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.mxd-section-projects-split .projects-split__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem;
}

.mxd-section-projects-split .projects-split__content h4,
.mxd-section-projects-split .projects-split__content p {
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-projects-split.is-blue-bg .projects-split__content h4,
.mxd-section-projects-split.is-blue-bg .projects-split__content p {
  color: #fff !important;
}

.mxd-section-projects-split.is-white-bg .projects-split__content h4,
.mxd-section-projects-split.is-white-bg .projects-split__content p {
  color: #2b334b !important;
}

.mxd-section-projects-split .projects-split__content h4 {
  font-size: 3.5rem !important;
  font-weight: 500 !important;
  padding-bottom: 0.5em;
}

/* Section 16 - H1 + Text + Image + CTA */
.mxd-section-h1-text-img-cta {
  background-color: #2b334b;
}

.mxd-section-h1-text-img-cta .h1-text-img-cta__headline-wrap h1 {
  margin: 0 0 4rem;
  max-width: 50vw;
  text-align: left;
  color: #fff;
  font-family: "Cormorant", serif !important;
}

.mxd-section-h1-text-img-cta .h1-text-img-cta__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.mxd-section-h1-text-img-cta .h1-text-img-cta__content p {
  margin-bottom: 2.4rem;
  color: #fff;
  font-family: "Montserrat", sans-serif !important;
  text-align: left;
}

.mxd-section-h1-text-img-cta .mxd-section-title__hrcontrols .btn {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-section-h1-text-img-cta .mxd-section-title__hrcontrols .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-section-h1-text-img-cta .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section-h1-text-img-cta .mxd-section-title__hrcontrols .btn i {
  color: #fff !important;
}

.mxd-section-h1-text-img-cta .h1-text-img-cta__image {
  width: 100%;
  aspect-ratio: 1000 / 600;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Section 20 - Service Cards image fit */
.mxd-project-cards__inner {
  position: relative;
  overflow: hidden;
}

.mxd-project-cards__inner--square {
  aspect-ratio: 1 / 1;
}

.mxd-project-cards__inner--wide {
  aspect-ratio: 14 / 10;
}

.mxd-project-cards__inner .mxd-service-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .mxd-section-h1-text-img-cta .h1-text-img-cta__headline-wrap h1 {
    max-width: 100%;
  }
}

/* Section 17 - Text + CTA */
.mxd-section-text-cta {
  background-color: #2b334b;
}

.mxd-section-text-cta .text-cta__inner {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.mxd-section-text-cta .text-cta__inner h4 {
  margin: 0 0 2.4rem;
  color: #fff;
  text-align: left;
  font-family: "Cormorant", serif !important;
  font-size: 3.5rem !important;
  font-weight: 500 !important;
}

.mxd-section-text-cta .mxd-section-title__hrcontrols .btn {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-section-text-cta .mxd-section-title__hrcontrols .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-section-text-cta .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section-text-cta .mxd-section-title__hrcontrols .btn i {
  color: #fff !important;
}

.mxd-section-text-cta .mxd-section-title__hrcontrols {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .mxd-section-text-cta .text-cta__inner {
    max-width: 100%;
  }
}

/* Section 18 - Contact Page */
.mxd-section-contact-page {
  background-color: #2b334b;
}

.mxd-section-contact-page h2,
.mxd-section-contact-page h3 {
  color: #fff !important;
}

.mxd-section-contact-page p,
.mxd-section-contact-page a,
.mxd-section-contact-page li,
.mxd-section-contact-page span,
.mxd-section-contact-page label,
.mxd-section-contact-page input,
.mxd-section-contact-page textarea,
.mxd-section-contact-page .btn-caption,
.mxd-section-contact-page .reply__text,
.mxd-section-contact-page .reply__title {
  color: #fff;
  font-family: "Montserrat", sans-serif !important;
}

.mxd-section-contact-page .contact-page__office-copy {
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
}

.mxd-section-contact-page .contact-page__office-copy > p {
  margin-bottom: 2.4rem;
}

.mxd-section-contact-page .contact-page__office-card.leftcol,
.mxd-section-contact-page .contact-page__office-card.rightcol {
  flex: 0 0 50%;
  max-width: 50%;
}

.mxd-section-contact-page .contact-page__office-name {
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
}

.mxd-section-contact-page .contact-page__office-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mxd-section-contact-page .contact-page__office-list li {
  margin-bottom: 1rem;
}

.mxd-section-contact-page .contact-page__office-list a,
.mxd-section-contact-page .contact-page__office-list span {
  color: #fff;
  text-decoration: none;
}

.mxd-section-contact-page .contact-page__narrow {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mxd-section-contact-page .contact-page__intro-text {
  margin: 0;
}

.mxd-section-contact-page .contact-form input,
.mxd-section-contact-page .contact-form textarea {
  color: #fff !important;
  border-bottom: 2px solid #fff !important;
}

.mxd-section-contact-page .contact-form input:focus,
.mxd-section-contact-page .contact-form textarea:focus {
  color: #fff !important;
  border-bottom: 2px solid #fff !important;
}

.mxd-section-contact-page .form.contact-form input::placeholder,
.mxd-section-contact-page .form.contact-form textarea::placeholder,
.mxd-section-contact-page .form.contact-form input::-webkit-input-placeholder,
.mxd-section-contact-page .form.contact-form textarea::-webkit-input-placeholder,
.mxd-section-contact-page .form.contact-form input::-moz-placeholder,
.mxd-section-contact-page .form.contact-form textarea::-moz-placeholder,
.mxd-section-contact-page .form.contact-form input:-moz-placeholder,
.mxd-section-contact-page .form.contact-form textarea:-moz-placeholder,
.mxd-section-contact-page .form.contact-form input:-ms-input-placeholder,
.mxd-section-contact-page .form.contact-form textarea:-ms-input-placeholder {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

.mxd-section-contact-page input::placeholder,
.mxd-section-contact-page textarea::placeholder,
.mxd-section-contact-page input::-webkit-input-placeholder,
.mxd-section-contact-page textarea::-webkit-input-placeholder,
.mxd-section-contact-page input::-moz-placeholder,
.mxd-section-contact-page textarea::-moz-placeholder,
.mxd-section-contact-page input:-moz-placeholder,
.mxd-section-contact-page textarea:-moz-placeholder,
.mxd-section-contact-page input:-ms-input-placeholder,
.mxd-section-contact-page textarea:-ms-input-placeholder {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

.mxd-section-contact-page .mxd-section-title__hrcontrols .btn,
.mxd-section-contact-page .btn.btn-opposite {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
  color: #fff !important;
}

.mxd-section-contact-page .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section-contact-page .btn .btn-caption {
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.mxd-section-contact-page .mxd-section-title__hrcontrols .btn .btn-caption,
.mxd-section-contact-page .mxd-section-title__hrcontrols .btn i,
.mxd-section-contact-page .btn .btn-caption,
.mxd-section-contact-page .btn i {
  color: #fff !important;
}

.mxd-section-contact-page .contact-page__form-shortcode {
  width: 100%;
}

@media (max-width: 767px) {
  .mxd-section-contact-page .contact-page__office-copy,
  .mxd-section-contact-page .contact-page__narrow {
    max-width: 100%;
  }

  .mxd-section-contact-page .contact-page__office-card.leftcol,
  .mxd-section-contact-page .contact-page__office-card.rightcol {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Section Trusted by Key Clients / Tech Stack */
.mxd-tech-stack-cards__item {
  aspect-ratio: 1 / 1;
}

.mxd-tech-stack-cards__item .mxd-tech-stack-cards__inner-v2 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mxd-tech-stack-cards__item .mxd-tech-stack-cards__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxd-tech-stack-cards__item .mxd-tech-stack-cards__icon img {
  max-width: 60%;
  max-height: 60%;
  width: auto;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .mxd-project-item__promo {
    padding: 0 2rem;
  }
}

/* Section Statistics */
.mxd-stats-cards__item {
  height: auto !important;
}

.mxd-stats-cards .mxd-grid-item {
  margin-top: 0 !important;
}

.mxd-stats-cards .row.gx-0 {
  gap: 2rem 0 !important;
}

.mxd-stats-cards__inner {
  min-height: auto !important;
  height: 280px !important;
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.mxd-stats-cards .mxd-counter__number,
.mxd-stats-cards .mxd-counter__descr {
  color: #fff !important;
}

/* Box 01 */
.\30 1 .mxd-stats-cards__inner {
  background-color: #A6925F !important;
  position: relative !important;
  display: block !important;
}

.\30 1 .mxd-counter {
  align-items: flex-start !important;
}

.\30 1 .mxd-counter__number {
  text-align: left !important;
}

.\30 1 .mxd-counter__descr {
  font-family: "Montserrat", sans-serif !important;
  text-align: left !important;
}

.\30 1 .mxd-stats-cards__btngroup {
  position: absolute !important;
  bottom: 3.5rem !important;
  right: 3.5rem !important;
}

/* Box 02 */
.\30 2 .mxd-stats-cards__inner {
  background-color: transparent !important;
  border: 1px solid #A6925F !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.\30 2 .mxd-counter {
  align-items: center !important;
}

.\30 2 .mxd-counter__descr {
  font-family: "Cormorant", serif !important;
  font-size: 3.2rem !important;
  color: #fff !important;
  text-align: center !important;
}

/* Box 03 */
.\30 3 .mxd-stats-cards__inner {
  background-color: transparent !important;
  background-image: url('/wp-content/uploads/2023/01/well-deserved-dmc-events-ibiza-17.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: none !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
}

.\30 3 .mxd-stats-cards__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.\30 3 .mxd-counter,
.\30 3 .mxd-stats-cards__btngroup {
  position: relative;
  z-index: 1;
}

.\30 3 .mxd-counter__descr {
  font-family: "Montserrat", sans-serif !important;
  color: #fff !important;
}

.\30 3 .mxd-stats-cards__btngroup {
  position: relative !important;
  z-index: 1;
}

/* Box 04 */
.\30 4 .mxd-stats-cards__inner {
  background-color: transparent !important;
  background-image: url('/wp-content/uploads/2019/11/well_deserved_about_us.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: none !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
}

.\30 4 .mxd-stats-cards__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.\30 4 .mxd-counter,
.\30 4 .mxd-stats-cards__btngroup {
  position: relative;
  z-index: 1;
}

.\30 4 .mxd-counter__descr {
  font-family: "Montserrat", sans-serif !important;
  color: #fff !important;
}

/* Section Reliability */
.mxd-block__paragraph h4 {
  font-family: "Montserrat", sans-serif !important;
  color: #fff !important;
  font-size: 3.5rem !important;
  font-weight: 500 !important;
  padding-bottom: 0.5em;
}

/* Section CTA Ibiza */
.mxd-sectionw {
  background: #fff;
}

.mxd-sectionw.mxd-sectionw--bg-red {
  background: #2b334b;
}

.mxd-sectionw .mxd-promo__inner {
  min-height: 850px;
  position: relative;
}

.mxd-sectionw .mxd-promo__bg {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  border-radius: 10px;
}

.mxd-sectionw .mxd-promo__bg video,
.mxd-sectionw .mxd-promo__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mxd-sectionw .mxd-promo__content {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 4rem;
  z-index: 2;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

@media only screen and (min-width: 768px) {
  .mxd-sectionw .mxd-promo__content {
    left: 5rem;
    right: 5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-sectionw .mxd-promo__content {
    left: 6rem;
    right: 6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-sectionw .mxd-promo__content {
    left: 9rem;
    right: 9rem;
  }
}

.mxd-sectionw .mxd-promo__caption {
  font-size: 2.2rem !important;
  color: #fff !important;
}

@media only screen and (min-width: 768px) {
  .mxd-sectionw .mxd-promo__caption {
    font-size: 4rem !important;
  }
}

@media only screen and (min-width: 1400px) {
  .mxd-sectionw .mxd-promo__caption {
    font-size: 5rem !important;
  }
}

.mxd-sectionw .mxd-promo__title {
  width: 100% !important;
}

/* Section CTA Unique */
.mxd-section-cta-unique .mxd-promo__inner {
  background-color: #fff !important;
  border-radius: 10px !important;
}

.mxd-section-cta-unique .mxd-promo__content {
  margin: 0 !important;
  padding: 16rem 3rem !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 5rem;
}

.mxd-section-cta-unique .cta-unique__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxd-section-cta-unique .cta-unique__logo img {
  width: 100%;
  max-width: 140px;
  height: auto;
}

.mxd-section-cta-unique .cta-unique__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.mxd-section-cta-unique .mxd-promo__title,
.mxd-section-cta-unique .mxd-promo__caption {
  color: #2B334B !important;
}

.mxd-section-cta-unique .mxd-promo__caption {
  font-size: 4.8rem !important;
}

.mxd-section-cta-unique .mxd-btngroup .btn {
  border: 1px solid #BA9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.mxd-section-cta-unique .mxd-btngroup .btn .btn-caption,
.mxd-section-cta-unique .mxd-btngroup .btn i {
  color: #2B334B !important;
}

@media only screen and (max-width: 991px) {
  .mxd-section-cta-unique .mxd-promo__content {
    grid-template-columns: 1fr;
    padding: 4rem 3rem !important;
  }
}

/* Section Marquee Text */
.mxd-section-laufschrift.is-blue-bg {
  background-color: #2b334b;
}

.mxd-section-laufschrift.is-white-bg {
  background-color: #fff;
}

.mxd-section-laufschrift.is-blue-bg .marquee__text {
  color: #fff !important;
}

.mxd-section-laufschrift.is-white-bg .marquee__text {
  color: #2b334b !important;
}

.marquee-right--gsap .marquee__text {
  font-size: 9rem !important;
}

.mxd-stats-cards .mxd-btngroup .btn {
  border-color: #fff !important;
}

/* Section 19 - Services Scroll */
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__title,
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item p,
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item a,
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item span {
  color: #fff !important;
}

.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item p,
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item a,
.mxd-section.padding-pinned-img-pre-mtext .mxd-pinned__text-item span {
  font-family: "Montserrat", sans-serif !important;
}

/* Single Referenzen */
.single-referenzen .mxd-page-content.inner-page-content h1,
.single-referenzen .mxd-page-content.inner-page-content h2,
.single-referenzen .mxd-page-content.inner-page-content h3,
.single-referenzen .mxd-page-content.inner-page-content h4,
.single-referenzen .mxd-page-content.inner-page-content h5,
.single-referenzen .mxd-page-content.inner-page-content h6,
.single-referenzen .mxd-page-content.inner-page-content p,
.single-referenzen .mxd-page-content.inner-page-content a,
.single-referenzen .mxd-page-content.inner-page-content span,
.single-referenzen .mxd-page-content.inner-page-content li,
.single-referenzen .mxd-page-content.inner-page-content .btn-caption {
  color: #fff !important;
}

.single-referenzen .mxd-page-content.inner-page-content h2,
.single-referenzen .mxd-page-content.inner-page-content h3,
.single-referenzen .mxd-page-content.inner-page-content h4,
.single-referenzen .mxd-page-content.inner-page-content h5,
.single-referenzen .mxd-page-content.inner-page-content h6,
.single-referenzen .mxd-page-content.inner-page-content p,
.single-referenzen .mxd-page-content.inner-page-content a,
.single-referenzen .mxd-page-content.inner-page-content span,
.single-referenzen .mxd-page-content.inner-page-content li,
.single-referenzen .mxd-page-content.inner-page-content .btn-caption {
  font-family: "Montserrat", sans-serif !important;
}

.single-referenzen .mxd-project__navitem .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  white-space: nowrap;
}

.single-referenzen .mxd-project__navitem .btn i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  opacity: 1;
}

.single-referenzen .mxd-project__navitem .btn i::before {
  color: #fff !important;
  opacity: 1 !important;
}

.single-referenzen .mxd-project__navitem .mxd-project__link {
  display: block;
  margin-top: 0.6rem;
}

.single-referenzen .mxd-project__navitem.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Default Page Template (page.php) - legal pages */
.page-template-default #mxd-page-content {
  background-color: #2b334b;
}

.page-template-default #mxd-page-content > .mxd-section {
  padding-top: 15rem;
  padding-bottom: 8rem;
}
a.page-numbers {padding:10px;}

.page-template-default #mxd-page-content article.page h1,
.page-template-default #mxd-page-content article.page h2,
.page-template-default #mxd-page-content article.page h3,
.page-template-default #mxd-page-content article.page h4,
.page-template-default #mxd-page-content article.page h5,
.page-template-default #mxd-page-content article.page h6,
.page-template-default #mxd-page-content article.page p,
.page-template-default #mxd-page-content article.page a,
.page-template-default #mxd-page-content article.page span,
.page-template-default #mxd-page-content article.page li,
.page-template-default #mxd-page-content article.page strong,
.page-template-default #mxd-page-content article.page em {
  color: #fff !important;
}

.page-template-default #mxd-page-content article.page h1,
.page-template-default #mxd-page-content article.page h2,
.page-template-default #mxd-page-content article.page h1 strong,
.page-template-default #mxd-page-content article.page h2 strong {
  font-family: "Cormorant", serif !important;
  font-weight: 500 !important;
  line-height: 1.1;
}

.page-template-default #mxd-page-content article.page h1 {
  font-size: 6.2rem;
  margin: 0 0 2.4rem;
}

.page-template-default #mxd-page-content article.page h2 {
  font-size: 4.2rem;
  margin: 3.2rem 0 1.2rem;
}

.page-template-default #mxd-page-content article.page h3,
.page-template-default #mxd-page-content article.page h4,
.page-template-default #mxd-page-content article.page h5,
.page-template-default #mxd-page-content article.page h6,
.page-template-default #mxd-page-content article.page p,
.page-template-default #mxd-page-content article.page a,
.page-template-default #mxd-page-content article.page span,
.page-template-default #mxd-page-content article.page li,
.page-template-default #mxd-page-content article.page strong,
.page-template-default #mxd-page-content article.page em {
  font-family: "Montserrat", sans-serif !important;
}

.page-template-default #mxd-page-content article.page p,
.page-template-default #mxd-page-content article.page ul,
.page-template-default #mxd-page-content article.page ol {
  margin: 0 0 1.4rem;
}

.page-template-default #mxd-page-content article.page li {
  margin-bottom: 0.5rem;
}

.page-template-default #mxd-page-content article.page .entry-content > *:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .page-template-default #mxd-page-content > .mxd-section {
    padding-top: 15rem;
    padding-bottom: 5rem;
  }

  .page-template-default #mxd-page-content article.page h1 {
    font-size: 4.2rem;
    margin-bottom: 1.8rem;
  }

  .page-template-default #mxd-page-content article.page h2 {
    font-size: 3.2rem;
    margin: 2.6rem 0 1rem;
  }

  .page-template-default #mxd-page-content article.page p,
  .page-template-default #mxd-page-content article.page ul,
  .page-template-default #mxd-page-content article.page ol {
    margin-bottom: 1.2rem;
  }
}

/* Page Template - References */
.page-template-page-references .mxd-page-content.inner-page-content {
  background-color: #2b334b;
}

.page-template-page-references .mxd-page-content.inner-page-content h1,
.page-template-page-references .mxd-page-content.inner-page-content h2,
.page-template-page-references .mxd-page-content.inner-page-content h3,
.page-template-page-references .mxd-page-content.inner-page-content h4,
.page-template-page-references .mxd-page-content.inner-page-content h5,
.page-template-page-references .mxd-page-content.inner-page-content h6,
.page-template-page-references .mxd-page-content.inner-page-content p,
.page-template-page-references .mxd-page-content.inner-page-content a,
.page-template-page-references .mxd-page-content.inner-page-content span,
.page-template-page-references .mxd-page-content.inner-page-content li,
.page-template-page-references .mxd-page-content.inner-page-content .btn-caption,
.page-template-page-references .mxd-page-content.inner-page-content i {
  color: #fff !important;
}

.page-template-page-references .mxd-page-content.inner-page-content h3,
.page-template-page-references .mxd-page-content.inner-page-content h4,
.page-template-page-references .mxd-page-content.inner-page-content h5,
.page-template-page-references .mxd-page-content.inner-page-content h6,
.page-template-page-references .mxd-page-content.inner-page-content p,
.page-template-page-references .mxd-page-content.inner-page-content a,
.page-template-page-references .mxd-page-content.inner-page-content span,
.page-template-page-references .mxd-page-content.inner-page-content li,
.page-template-page-references .mxd-page-content.inner-page-content .btn-caption {
  font-family: "Montserrat", sans-serif !important;
}

.page-template-page-references .mxd-page-content.inner-page-content .btn,
.page-template-page-references .mxd-page-content.inner-page-content .btn.btn-outline,
.page-template-page-references .mxd-page-content.inner-page-content .btn.btn-additional {
  border: 1px solid #ba9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.page-template-page-references .mxd-page-content.inner-page-content .btn .btn-caption {
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.page-template-page-references .inner-headline__title.headline-img-after::after,
.page-template-page-references .inner-headline__title.headline-img-before::before {
  content: none !important;
  display: none !important;
}

/* Missing stack-project styles (not present in theme assets/css/main.css) */
.page-template-page-references .projects-stack {
  width: 100%;
  position: relative;
  height: 75vh;
  min-height: 600px;
}

@media only screen and (min-width: 992px) {
  .page-template-page-references .projects-stack {
    height: 600px;
    min-height: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .page-template-page-references .projects-stack {
    height: 760px;
  }
}

.page-template-page-references .mxd-projects-stack__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: var(--_radius-l);
  padding: 3rem;
  z-index: 0;
}

@media only screen and (min-width: 768px) {
  .page-template-page-references .mxd-projects-stack__inner {
    padding: 5rem;
  }
}

.page-template-page-references .mxd-projects-stack__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-template-page-references .mxd-projects-stack__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-page-references .mxd-projects-stack__image img.mobile {
  display: block;
}

.page-template-page-references .mxd-projects-stack__image img.desktop {
  display: none;
}

@media only screen and (min-width: 768px) {
  .page-template-page-references .mxd-projects-stack__image img.mobile {
    display: none;
  }

  .page-template-page-references .mxd-projects-stack__image img.desktop {
    display: block;
  }
}

.page-template-page-references .mxd-projects-stack__title {
  position: relative;
  margin-bottom: 2.4rem;
  max-width: 600px;
}

.page-template-page-references .mxd-projects-stack__title.no-margin {
  margin-bottom: 0;
}

.page-template-page-references .mxd-projects-list__image {
  display: none !important;
}

/* Page Template - News */
.page-template-page-news .mxd-page-content.inner-page-content h1,
.page-template-page-news .mxd-page-content.inner-page-content h2,
.page-template-page-news .mxd-page-content.inner-page-content h3,
.page-template-page-news .mxd-page-content.inner-page-content h4,
.page-template-page-news .mxd-page-content.inner-page-content h5,
.page-template-page-news .mxd-page-content.inner-page-content h6,
.page-template-page-news .mxd-page-content.inner-page-content p,
.page-template-page-news .mxd-page-content.inner-page-content a,
.page-template-page-news .mxd-page-content.inner-page-content span,
.page-template-page-news .mxd-page-content.inner-page-content li,
.page-template-page-news .mxd-page-content.inner-page-content .btn-caption,
.page-template-page-news .mxd-page-content.inner-page-content i,
.page-template-page-news .mxd-page-content.inner-page-content input {
  color: #fff !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .btn,
.page-template-page-news .mxd-page-content.inner-page-content .btn.btn-outline,
.page-template-page-news .mxd-page-content.inner-page-content .btn.btn-additional,
.page-template-page-news .mxd-page-content.inner-page-content .btn.btn-line-small,
.page-template-page-news .mxd-page-content.inner-page-content .btn.blog-pagination-number {
  border: 1px solid #ba9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .btn .btn-caption {
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: "Montserrat", sans-serif !important;
}

.page-template-page-news .mxd-section.padding-blog-default-pre-grid {
  padding-bottom: 0.4rem !important;
}

.page-template-page-news .mxd-section-inner-headline .mxd-block__inner-headline {
  margin-bottom: 0.4rem !important;
}

.page-template-page-news .mxd-section.padding-default {
  padding-top: 1.2rem !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form input {
  border-color: rgba(255, 255, 255, 0.35) !important;
  width: calc(100% - 5.6rem) !important;
  padding-right: 1.2rem !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form {
  position: relative;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form .btn-form {
  width: 5.6rem !important;
  height: 5.6rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form .btn-form i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar__widget.bg-base-tint {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar__widget p,
.page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar__widget a,
.page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar__widget span {
  font-family: "Montserrat", sans-serif !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget-about .widget__title p,
.page-template-page-news .mxd-page-content.inner-page-content .widget-socials .widget__title p,
.page-template-page-news .mxd-page-content.inner-page-content .widget-latest-posts .widget__title p {
  font-family: "Cormorant", serif !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title,
.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title a,
.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__meta .meta-date {
  font-family: "Montserrat", sans-serif !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title,
.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title a {
  font-size: 1.4rem !important;
  font-weight: 400 !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__meta .meta-date {
  font-size: 1.2rem !important;
}

.page-template-page-news .mxd-page-content.inner-page-content .post-featured {
  position: relative;
  overflow: hidden;
}

.page-template-page-news .mxd-page-content.inner-page-content .post-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
  pointer-events: none;
}

.page-template-page-news .mxd-page-content.inner-page-content .post-featured::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 2;
}

.page-template-page-news .mxd-page-content.inner-page-content .post-featured__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 2.4rem 2.6rem !important;
  top: auto !important;
  z-index: 3;
}

@media only screen and (min-width: 768px) {
  .page-template-page-news .mxd-section.padding-blog-default-pre-grid {
    padding-bottom: 0.8rem !important;
  }

  .page-template-page-news .mxd-section-inner-headline .mxd-block__inner-headline {
    margin-bottom: 0.8rem !important;
  }

  .page-template-page-news .mxd-section.padding-default {
    padding-top: 1.8rem !important;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__content {
    padding: 3.2rem 3.2rem 3.4rem !important;
  }
}

.page-template-page-news .mxd-page-content.inner-page-content .post-simple--empty {
  border-bottom: 1px solid var(--st-muted);
}

.page-template-page-news .mxd-page-content.inner-page-content .post-simple--empty .post-simple__title h3 {
  font-size: 2.2rem;
  color: #fff;
}

@media only screen and (max-width: 767px) {
  .page-template-page-news .mxd-page-content.inner-page-content .mxd-posts-area {
    gap: 2.4rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured {
    min-height: 46rem;
    padding: 2rem;
    margin-bottom: 3.2rem;
    justify-content: flex-end;
    gap: 0;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured::after {
    height: 62%;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__content {
    position: relative !important;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0 !important;
    max-width: none;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__meta span {
    font-size: 1.4rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__title {
    margin-bottom: 1.2rem;
    font-size: 2.8rem;
    line-height: 1.15;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__excerpt p {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.45;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-simple {
    padding: 3rem 0;
    gap: 1.8rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-simple__thumb {
    height: 22rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-simple__content {
    gap: 1.8rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-simple__title h3 {
    font-size: 2.2rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-simple__btn .btn {
    width: 100%;
    min-height: 4.8rem;
    justify-content: space-between;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .mxd-preview-hover__icon.icon-small {
    width: 6.4rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .mxd-blog-pagination {
    margin-top: 2.4rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar {
    margin-top: 1.6rem;
    gap: 1.6rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .mxd-sidebar__widget {
    gap: 1.8rem;
    padding: 2rem !important;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .widget__title p {
    font-size: 2.4rem !important;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .widget__recent-posts {
    gap: 1.8rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .recent-post__item {
    gap: 1.2rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .recent-post__thumb {
    flex-basis: 8.4rem;
    height: 8.4rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form input {
    width: calc(100% - 4.8rem) !important;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .widget-search .search-form .btn-form {
    width: 4.8rem !important;
    height: 4.8rem !important;
  }
}

@media only screen and (max-width: 480px) {
  .page-template-page-news .mxd-page-content.inner-page-content .post-featured {
    min-height: 40rem;
  }

  .page-template-page-news .mxd-page-content.inner-page-content .post-featured__title {
    font-size: 2.4rem;
  }
}

/* Search Results (based on News template) */
.search .mxd-page-content.inner-page-content h1,
.search .mxd-page-content.inner-page-content h2,
.search .mxd-page-content.inner-page-content h3,
.search .mxd-page-content.inner-page-content h4,
.search .mxd-page-content.inner-page-content h5,
.search .mxd-page-content.inner-page-content h6,
.search .mxd-page-content.inner-page-content p,
.search .mxd-page-content.inner-page-content a,
.search .mxd-page-content.inner-page-content span,
.search .mxd-page-content.inner-page-content li,
.search .mxd-page-content.inner-page-content .btn-caption,
.search .mxd-page-content.inner-page-content i,
.search .mxd-page-content.inner-page-content input {
  color: #fff !important;
}

body.search,
body.search-results,
body.search.lenis.lenis-stopped,
body.search-results.lenis.lenis-stopped,
html.lenis.lenis-stopped body.search,
html.lenis.lenis-stopped body.search-results {
  overflow: auto !important;
  height: auto !important;
}

html.search-scroll-fix,
html.search-scroll-fix.lenis,
html.search-scroll-fix.lenis.lenis-stopped,
html.search-scroll-fix.lenis.lenis-locked,
html.search-scroll-fix body.search,
html.search-scroll-fix body.search-results {
  overflow: auto !important;
  height: auto !important;
}

.search .mxd-page-content.inner-page-content .btn,
.search .mxd-page-content.inner-page-content .btn.btn-outline,
.search .mxd-page-content.inner-page-content .btn.btn-additional,
.search .mxd-page-content.inner-page-content .btn.btn-line-small,
.search .mxd-page-content.inner-page-content .btn.blog-pagination-number {
  border: 1px solid #ba9958 !important;
  border-radius: 0.8rem !important;
  background-color: transparent !important;
}

.search .mxd-page-content.inner-page-content .btn .btn-caption {
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: "Montserrat", sans-serif !important;
}

.search .mxd-section.padding-blog-default-pre-grid {
  padding-bottom: 0.4rem !important;
}

.search .mxd-section-inner-headline .mxd-block__inner-headline {
  margin-bottom: 0.4rem !important;
}

.search .mxd-section.padding-default {
  padding-top: 1.2rem !important;
}

.search .mxd-page-content.inner-page-content .widget-search .search-form {
  position: relative;
}

.search .mxd-page-content.inner-page-content .widget-search .search-form input {
  border-color: rgba(255, 255, 255, 0.35) !important;
  width: calc(100% - 5.6rem) !important;
  padding-right: 1.2rem !important;
}

.search .mxd-page-content.inner-page-content .widget-search .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.search .mxd-page-content.inner-page-content .widget-search .search-form .btn-form {
  width: 5.6rem !important;
  height: 5.6rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search .mxd-page-content.inner-page-content .widget-search .search-form .btn-form i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.search .mxd-page-content.inner-page-content .mxd-sidebar__widget.bg-base-tint {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.search .mxd-page-content.inner-page-content .mxd-sidebar__widget p,
.search .mxd-page-content.inner-page-content .mxd-sidebar__widget a,
.search .mxd-page-content.inner-page-content .mxd-sidebar__widget span {
  font-family: "Montserrat", sans-serif !important;
}

.search .mxd-page-content.inner-page-content .widget-about .widget__title p,
.search .mxd-page-content.inner-page-content .widget-socials .widget__title p,
.search .mxd-page-content.inner-page-content .widget-latest-posts .widget__title p {
  font-family: "Cormorant", serif !important;
}

.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title,
.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title a,
.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__meta .meta-date {
  font-family: "Montserrat", sans-serif !important;
}

.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title,
.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title a {
  font-size: 1.4rem !important;
  font-weight: 400 !important;
}

.search .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__meta .meta-date {
  font-size: 1.2rem !important;
}

@media only screen and (min-width: 768px) {
  .search .mxd-section.padding-blog-default-pre-grid {
    padding-bottom: 0.8rem !important;
  }

  .search .mxd-section-inner-headline .mxd-block__inner-headline {
    margin-bottom: 0.8rem !important;
  }

  .search .mxd-section.padding-default {
    padding-top: 1.8rem !important;
  }
}

/* Single Post */
.single-post .mxd-page-content.inner-page-content,
.single-post .mxd-page-content.inner-page-content p,
.single-post .mxd-page-content.inner-page-content a,
.single-post .mxd-page-content.inner-page-content span,
.single-post .mxd-page-content.inner-page-content li,
.single-post .mxd-page-content.inner-page-content input {
  color: #fff !important;
}

.single-post .single-news-section {
  padding-top: 2.4rem !important;
}

.single-post .single-post-featured-block {
  margin-bottom: 3.2rem;
}

.single-post .single-post-featured-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.single-post .single-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-post .mxd-article__content,
.single-post .mxd-article__content p,
.single-post .mxd-article__content li,
.single-post .mxd-article__content a,
.single-post .mxd-article__content span,
.single-post .mxd-article__content h2,
.single-post .mxd-article__content h3,
.single-post .mxd-article__content h4,
.single-post .mxd-article__content h5,
.single-post .mxd-article__content h6 {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
}

.single-post .mxd-article__content .meta-date {
  font-size: 1.2rem !important;
  margin-bottom: 2rem;
}

.single-post .mxd-article__content .mxd-article__block > h1:first-child {
  color: #fff !important;
  font-family: "Cormorant", serif !important;
  font-weight: 500 !important;
  margin: 0 0 1.6rem;
}

.single-post .mxd-article__content img {
  margin: 2em 0 !important;
}

.single-post .mxd-page-content.inner-page-content .widget-search .search-form {
  position: relative;
}

.single-post .mxd-page-content.inner-page-content .widget-search .search-form input {
  border-color: rgba(255, 255, 255, 0.35) !important;
  width: calc(100% - 5.6rem) !important;
  padding-right: 1.2rem !important;
}

.single-post .mxd-page-content.inner-page-content .widget-search .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.single-post .mxd-page-content.inner-page-content .widget-search .search-form .btn-form {
  width: 5.6rem !important;
  height: 5.6rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.single-post .mxd-page-content.inner-page-content .widget-search .search-form .btn-form i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.single-post .mxd-page-content.inner-page-content .mxd-sidebar__widget.bg-base-tint {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.single-post .mxd-page-content.inner-page-content .mxd-sidebar__widget p,
.single-post .mxd-page-content.inner-page-content .mxd-sidebar__widget a,
.single-post .mxd-page-content.inner-page-content .mxd-sidebar__widget span {
  font-family: "Montserrat", sans-serif !important;
}

.single-post .mxd-page-content.inner-page-content .widget-about .widget__title p,
.single-post .mxd-page-content.inner-page-content .widget-socials .widget__title p,
.single-post .mxd-page-content.inner-page-content .widget-latest-posts .widget__title p {
  font-family: "Cormorant", serif !important;
}

.single-post .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title,
.single-post .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__title a {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
}

.single-post .mxd-page-content.inner-page-content .widget__recent-posts .recent-post__meta .meta-date {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.2rem !important;
}

@media only screen and (min-width: 768px) {
  .single-post .single-news-section {
    padding-top: 3.2rem !important;
  }

  .single-post .single-post-featured-block {
    margin-bottom: 4rem;
  }
}

/* Element 19 - Pinned Services Image */
.mxd-pinned__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@supports (height: -webkit-fill-available) {
  .mxd-pinned__img {
    height: -webkit-fill-available !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned__img {
    height: -webkit-fill-available !important;
  }
}

/* Section 22 - Team */
.mxd-section-team .mxd-team-cards__photo {
  border-radius: 10px;
  overflow: hidden;
}

.mxd-section-team .mxd-team-cards__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.mxd-section-team .team-members-row--first {
  margin-top: 3rem;
}

.mxd-section-team .team-members-row--second {
  margin-top: 5rem;
}

.mxd-section-team .mxd-team-cards__media {
  margin-bottom: 2rem;
}

.mxd-section-team h2,
.mxd-section-team p,
.mxd-section-team span,
.mxd-section-team a {
  color: #fff !important;
}
.section-20 {
  padding-top: 8rem;
    padding-bottom: 8rem;
}

.mxd-section-team h2 {
  font-family: "Cormorant", serif !important;
  font-weight: 500 !important;
}

.mxd-section-team p,
.mxd-section-team span,
.mxd-section-team a {
  font-family: "Montserrat", sans-serif !important;
}

/* Footer */
.mxd-footer,
.mxd-footer p,
.mxd-footer a,
.mxd-footer span,
.mxd-footer li,
.mxd-footer input,
.mxd-footer button {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
}

.mxd-footer i[class^="ph"],
.mxd-footer i[class*=" ph"] {
  color: #fff !important;
  font-family: "Phosphor" !important;
}

.mxd-footer .footer-blocks__title-m {
  font-family: var(--_font-accent) !important;
}

.mxd-footer .footer-blocks__card {
  border: 1px solid #A6925F !important;
}

.mxd-footer .mxd-footer__footer-blocks {
  align-items: stretch;
}

.mxd-footer .footer-blocks__column {
  height: auto !important;
  min-height: 100%;
  align-self: stretch;
}

.mxd-footer .footer-blocks__card {
  min-height: 0;
  height: auto;
}

.mxd-footer .footer-blocks__card.fullheight-card {
  height: 100%;
}

.mxd-footer .footer-blocks__column:last-child .footer-blocks__card {
  justify-content: flex-start;
  gap: 2.4rem;
}

.mxd-footer .footer-blocks__column:last-child .footer-blocks__card.fullheight-card .footer-blocks__links {
  margin-top: auto;
}

.mxd-footer .footer-right-brand-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}

.mxd-footer .footer-right-brand-top img {
  width: 70%;
  max-width: 100%;
  height: auto;
  display: block;
}

.mxd-footer .footer-right-brand-top__logo {
  width: 70%;
  max-width: 100%;
  height: auto;
  display: block;
}

.mxd-footer .footer-right-brand-top svg {
  width: 70%;
  max-width: 100%;
  height: auto;
  display: block;
}

.mxd-footer .footer-right-brand-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.mxd-footer .footer-right-brand-bottom img {
  width: 50%;
  max-width: 220px;
  height: auto;
  display: block;
}

.mxd-footer .footer-right-brand-bottom__meta {
  font-size: 1.4rem !important;
  line-height: 1.4;
  margin: 0;
}

.mxd-footer ._notify-form input {
  color: #fff!important;
  border-bottom: 2px solid #A6925F !important;
}

.mxd-footer ._notify-form input:focus {
  border-bottom: 2px solid #A6925F !important;
}

.mxd-footer ._notify-form input::placeholder {
  color: #A6925F !important;
  opacity: 1;
}

.mxd-footer ._notify-form input::-webkit-input-placeholder {
  color: #A6925F !important;
}

.mxd-footer ._notify-form input::-moz-placeholder {
  color: #A6925F !important;
  opacity: 1;
}

.mxd-footer ._notify-form input:-ms-input-placeholder {
  color: #A6925F !important;
}

.mxd-footer ._notify-form .ph-arrow-up-right,
.mxd-footer .footer-blocks__links .ph-arrow-right {
  color: #A6925F !important;
}

.mxd-footer ._notify-form .frm_error_style {
  display: none;
}

.mxd-footer .footer-blocks__column:first-child .footer-nav__link {
  font-size: 2.5rem !important;
  font-weight: 300 !important;
}

.mxd-footer .footer-blocks__column:first-child .footer-nav__link .btn-caption {
  height: 3rem !important;
  line-height: 1.2 !important;
}
.mxd-block__inner-headline {
	margin-bottom: 5em;
}







@media (min-width: 767px) and (max-width: 1200px) {
    
    .mxd-hero-06__bottom {display: none;}
        .mxd-hero-06__wrap {padding-top: 6rem;}
        .mxd-hero-06 .mxd-hero-06__content {min-height: 750px;}
        .marquee__text {color: white !important;}
        .page-id-6 .section-02, .clientlogos {padding-top: 10rem;}
        .section-16 {padding-top: 14rem; padding-bottom: 10rem;}
        .section-16 .h1-text-img-cta__content {padding-bottom: 10rem;}
        .section-17 {padding-bottom: 10rem;padding-top: 10rem;}
        .page-id-1290 .bild01 {display: none;}
        .page-id-1290 .mxd-section-news-preview {padding-top: 10rem;}
        .mxd-posts-container .post-featured {min-height: 500px;}
        .single-post .mxd-article__block h1 {font-size: 6rem;}
    
}






@media only screen and (max-width: 767px) {
	
	.mxd-header__logo a svg {
		max-height: 41px !important;
	}
	
  .logobanner {
    padding: 4rem 2.4rem;
  }

  .logobanner__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.6rem;
  }

  .logobanner__item {
    flex: 0 0 calc(50% - 0.8rem);
    width: calc(50% - 0.8rem);
  }

  .mxd-stats-cards .row.gx-0 {
    display: flex;
    flex-direction: column;
    gap: 1.6rem !important;
  }

  .mxd-stats-cards .mxd-grid-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .mxd-stats-cards__inner {
    height: auto !important;
    min-height: 280px !important;
  }

  .two .mxd-counter__descr {
    padding-bottom: 0;
  }
  .mxd-block__paragraph h4 {
    font-size: 2.2rem !important;
  }
  .mxd-sectionw .mxd-promo__caption {
    font-size: 3.6rem !important;
  }
  .mxd-container.grid-container {
    padding: 1em 1.5rem 0;
  }
  .mxd-sectionw {
    padding-bottom: 5em;
    padding-top: 5em;
  }
  .mxd-hero-06__video {
    padding: 0 1.5em !important;
  }
  .mxd-section.padding-hero-06 {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
  .mxd-section.clientlogos {
    padding-top: 5em;
    padding-bottom: 5em;
  }
  .mxd-section.padding-mtext  {
    padding-bottom: 7rem ;
  }
  .mxd-section.padding-pre-title {
    padding-bottom: 8rem;
  }
  h1 {
    font-size: 3.5rem;
  }
  .mxd-section.padding-default {
    padding-top: 8rem;
  }
  .section-16 .h1-text-img-cta__content {
    padding-bottom: 6rem;
  }
  .section-16 {
    padding-bottom: 8rem !important;
  }
  .section-17 {
    padding: 7rem 2rem 8rem 2rem !important;
  }

  .section-19 .mxd-pinned__img-mobile {
    overflow: hidden;
  }

  .section-19 .mxd-pinned__img-mobile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0;
  }
  .section-14 {
    padding-bottom: 0rem !important;
    padding-top: 5rem !important;
  }
  .mxd-block__name.name-inner-headline {
    margin-bottom: 2rem;
  }
  .section-11 .mxd-block__inner-headline {
    margin-bottom: 2em;
  }
  .section-11 .bild01 .mxd-values__image {
    background-position: center bottom !important;
  }
  .bild01 {
        margin-bottom: 4rem !important;
  }
  .section-11 .pad-x4 {
    padding: 4em 1em 0 1em;
  }
  .section-11 {
    padding-bottom: 5rem !important;
  }
  .section-10 {
    padding-top: 5rem;
  }
  .page-id-1256 .section-16, .page-id-8 .section-16{
    padding-top: 15rem;
    padding-bottom: 5rem !important;
  }
  .page-id-1256 .section-16, .page-id-8 .rooted{
    padding-top: 0rem;
    padding-bottom: 5rem !important;
  }
  .page-id-1256 .section-16 .h1-text-img-cta__content {
        padding-bottom: 0;
  }
  .mxd-section-approaches-list {
    padding-top: 3em;
  }
  .section-13 .approaches-table__row .col-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-13 .approaches-table__icon {
    margin: 0 auto;
  }
  .section-13 .approaches-table__meta.d-xl-none {
    text-align: center;
        margin-top: 1.9rem;
        margin-bottom: 0;
        line-height: 1.2em;
  }
  p.approaches-table__copy {
    font-size: 14px;
  }
  .section-13 .mxd-section-title__hrtitle {
    padding-bottom: 2rem;
  }
  .section-13 .mxd-section-title {
    margin-bottom: 5rem;
  }
  .section-13 {
    padding-bottom: 5.5rem !important;
  }
  .page-id-1256 .section-04 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  .page-id-1256 .section-04 .mxd-section-title {
        margin-bottom: 3rem;
  }
  .page-id-1256 .section-23 .mxd-section-title  {
        margin-bottom: 0rem;
    margin-top: 3rem;
  }
  .page-id-1256 .section-23 .mxd-section.padding-blog {
    padding-bottom: 5rem;
  }
  .page-id-8 .section-16 .h1-text-img-cta__content {
        padding-bottom: 0rem;
  }
  .page-id-8 .section-02 {
    padding-bottom: 5rem !important;
  }
  .section-22 {
    padding-top: 0 !important;
    padding-bottom: 8rem !important;
  }
  .section-22 .team-members-row .mxd-team-cards__item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .section-22 .team-members-row--first .mxd-team-cards__item:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .section-22 .mxd-team-cards__name {
    font-size: 1.4rem;
    line-height: 1.25;
  }
  .section-22 .mxd-team-cards__position {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .mxd-section-team .team-members-row--second {
    margin-top: 0rem;
  }
  .mxd-section-cta-unique .mxd-promo__caption {
    font-size: 3.8rem !important;
  }
  .mxd-section-welldeserved .mxd-section-title .row > .col-xl-3 {
    justify-content: flex-start;
        padding-top: 1em;
  }
  .page-id-17 .mxd-section.padding-blog-descr-pre-grid {
    padding-bottom: 1.2rem;
  }
  .page-id-17 .mxd-section-inner-headline {
    padding-top: 7rem;
  }
  .page-id-17 .mxd-block__inner-headline {
    margin-bottom: 1em;
  }
  .page-id-17 .post-secondary__descr {
    gap: 1.0rem !important;
  }
  .referenzen-template-default .inner-headline__title {
    font-size: 4rem !important;
    padding-top: 2rem;
  }
  .referenzen-template-default h3.inner-headline__title {
    font-size: 2rem !important;
  }
  .referenzen-template-default .mxd-block__inner-headline {
    margin-bottom: 0em;
  }
  .single-referenzen .mxd-data-list .row {
    display: flex;
    flex-wrap: wrap;
  }
  .single-referenzen .mxd-data-list .mxd-data-list__column {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .mxd-section-inner-headline.padding-default {
    padding-bottom: 4rem;
  }
  .single-referenzen .section-12 {
    padding-bottom: 4rem;
  }
  .single-referenzen .section-12 .mxd-container {
    padding: 0 1rem;
  }
  .single-referenzen .section-21 h2.reveal-type {
    font-size: 3.4rem;
    padding-bottom: 0.6em;
  }
  .single-referenzen .section-21 .mxd-container {
    padding: 0 1rem;
  }
  .single-referenzen .section-20 {
    margin-bottom: 5rem;
  }
  .single-referenzen .mxd-project__navitem .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: auto;
    white-space: nowrap;
  }
  .single-referenzen .mxd-project__navitem .btn .btn-caption {
    font-size: 1.3rem;
    line-height: 3.3rem;
  }
  .single-referenzen .mxd-project__navitem .btn .btn-caption .btn-anim__block:last-child {
    display: none;
  }
  .single-referenzen .mxd-project__navitem .btn i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    color: #fff !important;
    opacity: 1;
  }
  .single-referenzen .mxd-project__navitem .btn i::before {
    opacity: 1 !important;
    color: #fff !important;
  }
  .single-referenzen .mxd-project__navitem.right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
  .single-referenzen .mxd-project__navitem .mxd-project__link {
    display: block;
    margin-top: 0.6rem;
  }
  .single-referenzen .mxd-project__navitem .mxd-project__link span {
    display: block;
    font-size: 1.2rem;
    line-height: 1.25;
  }
  .btn-to-top i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    opacity: 1;
  }
  .btn-to-top i::before {
    color: #fff !important;
    opacity: 1 !important;
  }
  .newsheadline {
    padding-top: 5rem !important;
  }
  .page-template-page-news .mxd-section.padding-default {
    padding-bottom: 0rem;
  }
  .page-id-21 .mxd-sectionw {
        padding-bottom: 0em;
  }
  .page-id-21 .mxd-sectionw .mxd-promo__content {
    bottom: 0rem;
  }
  .page-id-21 .mxd-section.padding-default {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .page-template-default .mxd-section .container {
    padding: 3em 2em 3em 2em;
  }





}

.single-post h3, .single-post h3 strong, .single-post h2, .single-post h2 strong {
	font-size: 3rem;
    padding: 1em 0;
        font-family: "Cormorant", serif !important;
}

h3.inner-headline__title {
	font-size: 3rem;
    padding-top: 20px;
}



.mxd-projects-archive__title p span, .post-secondary__title h3 a span {
    font-weight: 400;;
}

.main-menu__toggle .main-menu__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  min-height: 2.3rem;
  margin-left: 1.2rem;
  color: currentColor;
  line-height: 1;
}

.main-menu__toggle-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

.main-menu__toggle .main-menu__symbol::before {
  content: "+";
  font-size: 2.3rem;
  font-weight: 400;
}

.main-menu__item.open .main-menu__toggle .main-menu__symbol::before {
  content: "-";
}

.page-id-3 h3, .page-id-232 h3, .page-id-1933 h3, .page-id-3 h3, .page-id-234 h3 {
  font-size: 2rem;
}


::-webkit-input-placeholder {
    color: #ffffff !important;
    font-size: 16px;
}
:-ms-input-placeholder {
    color: #ffffff !important;
    font-size: 16px;

}
::-moz-placeholder {
    color: #ffffff !important;
    font-size: 16px;

}

/* Lang switcher */

.lang-switcher {
  margin-top: 20.6rem;
  display: flex;
  gap: 1.6rem;
  text-transform: uppercase;
}

.lang-switcher li {
  align-items: center;
}

.lang-switcher li a span {
  font-size: 80%;
}

.lang-switcher .main-menu__item {
	width: auto;
}

@media only screen and (min-width: 1200px) {
  .lang-switcher {
    margin-top: 8rem;
    gap: 2rem;
    border-top: white solid 1px;
  }
}


.frm_fields_container .row .mxd-grid-item .btn {
	    font-family: "Montserrat", sans-serif !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
.frm_checkbox input {
	float: left;
    width: 30px;
    margin-right: 15px;
}