/* Fonts */

@font-face {
  font-family: "GT Super Display";
  src: url("../fonts/GTSuperDisplayMedium.eot");
  src: url("../fonts/GTSuperDisplayMedium.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/GTSuperDisplayMedium.woff") format("woff"),
    url("../fonts/GTSuperDisplayMedium.woff2") format("woff2"),
    url("../fonts/GTSuperDisplayMedium.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "GT Super Text Book";
  src: url("../fonts/GTSuperTextBook.woff") format("woff");
}
@font-face {
  font-family: "Mark OT Medium";
  src: url("../fonts/MarkMedium.woff2") format("woff2"),
    url("../fonts/MarkMedium.woff") format("woff");
}
@font-face {
  font-family: "Mark OT Book";
  src: url("../fonts/MarkBook.woff2") format("woff2"),
    url("../fonts/MarkBook.woff") format("woff");
}

/* Reset */

* {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
:focus,
:active,
a:focus,
a:active {
  outline: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html,
body {
  width: 100%;
  scroll-behavior: smooth;
  min-height: 100%;
  font-size: 100%;
  line-height: 1;
  -webkit-text-size-adjust: none;
}

input,
button,
textarea,
select {
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input:invalid {
  box-shadow: none;
}
input::-ms-clear {
  display: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
button,
.button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}
button[disabled],
input[disabled] {
  cursor: default;
}

a,
a:hover,
a:visited {
  text-decoration: none;
}
img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}
ol {
  counter-reset: myCounter;
}
ol li:before {
  counter-increment: myCounter;
  content: counter(myCounter);
  margin-right: 5px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: inherit;
}

/* Style only for FireFox */

@-moz-document url-prefix() {
}

/* Global */

body {
  font-family: "GT Super Display", sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  color: #0f214f;
  background: #ffffff;
  overflow-x: hidden;
}

button.slick-arrow.slick-disabled {
  display: none;
}

/*==========================================preloader=======================================*/
.preloader {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  min-height: 900px;
  z-index: 10000;
  background-color: #ececec;
  overflow: hidden;
  transition: all 0.5s;
}
.preloader.opacity {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}
.preloader__wrap {
  height: 100%;
  margin: 0px auto;
}
.preloader__logo {
  position: absolute;
  width: 1030px;
  height: 158px;
  top: calc(50% - 79px);
  left: calc(50% - 515px);
  overflow: hidden;
}
.preloader__logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preloader__box {
  position: absolute;
}
.preloader__box_1 {
  top: 15px;
  left: calc(50% - 830px);
  width: 247px;
  height: 345px;
  z-index: -1;
}
.preloader__box_2 {
  bottom: 5px;
  left: calc(50% - 650px);
  width: 209px;
  height: 307px;
  z-index: -1;
}
.preloader__box_3 {
  top: 35px;
  left: calc(50% - 192px);
  width: 383px;
  height: 596px;
  z-index: -1;
}
.preloader__box_4 {
  top: -90px;
  right: calc(50% - 790px);
  width: 237px;
  height: 345px;
  z-index: -1;
}
.preloader__box_5 {
  top: calc(50% + 56px);
  right: calc(50% - 635px);
  width: 197px;
  height: 271px;
  z-index: -1;
}
.preloader__box_6 {
  bottom: -150px;
  right: calc(50% - 305px);
  width: 247px;
  height: 345px;
  z-index: -1;
}
.preloader__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.preloader__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preloader__img-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: #ececec;
}

@media (max-width: 1500px) {
  .preloader__box_1 {
    left: calc(50% - 725px);
  }
}
@media (max-width: 1400px) {
  .preloader__logo {
    width: 840px;
    height: 130px;
    top: calc(50% - 65px);
    left: calc(50% - 420px);
  }
  .preloader__box_1 {
    left: calc(50% - 534px);
    width: 230px;
    height: 320px;
  }
  .preloader__box_2 {
    left: calc(50% - 445px);
    width: 190px;
    height: 275px;
  }
  .preloader__box_3 {
    top: 50px;
    left: calc(50% - 170px);
    width: 340px;
    height: 520px;
  }
  .preloader__box_4 {
    right: calc(50% - 550px);
    width: 220px;
    height: 320px;
  }
  .preloader__box_5 {
    top: calc(50% + 20px);
    right: calc(50% - 465px);
    width: 180px;
    height: 240px;
  }
  .preloader__box_6 {
    bottom: -130px;
    right: calc(50% - 210px);
    width: 210px;
    height: 290px;
  }
}
@media (max-width: 1010px) {
  .preloader__logo {
    width: 680px;
    height: 106px;
    top: calc(50% - 53px);
    left: calc(50% - 340px);
  }
}
@media (max-width: 760px) {
  .preloader__logo {
    width: 340px;
    height: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 170px);
  }
  .preloader__box_1 {
    left: calc(50% - 310px);
    width: 160px;
    height: 200px;
  }
  .preloader__box_2 {
    left: 15px;
    width: 150px;
    height: 215px;
    bottom: 110px;
  }
  .preloader__box_3 {
    top: 50px;
    left: calc(50% - 120px);
    width: 240px;
    height: 360px;
  }
  .preloader__box_4 {
    right: calc(50% - 310px);
    width: 160px;
    height: 220px;
  }
  .preloader__box_5 {
    top: calc(50% + 20px);
    right: calc(50% - 165px);
    width: 140px;
    height: 180px;
  }
  .preloader__box_6 {
    bottom: -20px;
    right: calc(50% - 220px);
    width: 150px;
    height: 220px;
  }
}

.page {
  overflow: hidden;
  position: relative;
}

section,
footer,
.container {
  max-width: 1440px;
  padding: 0 95px;
  margin: 0 auto;
}

.fullwidth {
  padding: 0;
  max-width: 100%;
}

.logo {
  /*width: 100px;*/
  position: relative;
  margin-left: 40px;
  position: relative;
}
.logo img {
  width: 100px;
}

a {
  transition: 0.3s;
}

.social {
  width: max-content;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 34px;
}
.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.social__link:hover {
  opacity: 0.7;
}

.photo {
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image-zoom {
  overflow: hidden;
  position: relative;
}
.image-zoom .photo {
  transition: 1.3s ease-out;
}
.image-zoom:hover .photo {
  transform: scale(1.1);
}
@media (pointer: coarse) {
  .image-zoom:hover .photo {
    transform: scale(1);
  }
}
.image-overlay:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(22, 43, 140, 0.66);
}
.list li {
  position: relative;
  padding-left: 50px;
  padding-bottom: 24px;
}
.list li::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 22px;
  background: url(../img/li.svg) center no-repeat;
}

.more-link {
  font-family: "Mark Medium", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f214f;
  padding-bottom: 5px;
  position: relative;
}
.more-link:hover {
}

.more-link:after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 1px;
  background: #000;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.more-link:before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.more-link:hover:after,
.more-link:focus:after,
.more-link:active:after {
  width: 0;
}
.more-link:hover:before,
.more-link:focus:before,
.more-link:active:before {
  width: 100%;
}

.blog__item-more-link:after,
.blog__item-more-link:before {
  background: #fff;
}

/* Buttons */

.button {
  font-family: "Mark Medium", sans-serif;
  min-width: 207px;
  width: max-content;
  height: 54px;
  padding: 0 35px;
  border: none;
  border-radius: 27px;
  background-color: #425bce;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border: 1px solid #425bce;
}
.button:hover {
  background: none;
  color: #425bce;
}
@media (pointer: coarse) {
  .button:hover {
    filter: brightness(100%);
  }
}
.button_transparent {
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid #fff;
}
.button_transparent:hover {
  background-color: #fff;
  border: 1px solid #fff;
  color: #0f214f;
}
.button_white {
  background-color: #ffffff;
  color: #0f214f;
}
.button_whiteblue {
  background-color: #ffffff;
  color: #425bce;
  border: 1px solid #425bce;
}
.button_whiteblue:hover {
  background-color: #425bce;
  color: #ffffff;
}
.button_map,
.button_filter,
.button_file {
  background-position: right 22px center !important;
  background-repeat: no-repeat !important;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.button_map {
  background-image: url(../img/map-icon.svg);
}
.button_filter {
  background-image: url(../img/filter-icon.svg);
}
.button_file {
  background-image: url(../img/file-icon.svg);
}
.button_map.button_transparent:hover {
  background-image: url(../img/map-icon_blue.svg);
}
.button_filter.button_transparent:hover {
  background-image: url(../img/filter-icon_blue.svg);
}
.button[disabled] {
  background: #ececec;
  border-color: #ececec;
  filter: brightness(100%);
}

/* Slider */

.slider {
  width: 100%;
  position: relative;
}
.slick-list {
  overflow: hidden;
}
.slick-track {
  display: flex;
}
.slider-fix {
  min-width: 0;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 42px;
  height: 42px;
  cursor: pointer;
  border: none;
  font-size: 0;
  z-index: 10;
  background: #425bce url(../img/arrow.svg) center no-repeat;
  border-radius: 150px;
  transition: filter 0.3s;
}
.slick-next {
  right: 90px;
}
.slick-prev {
  left: 90px;
  transform: translate(0, -50%) scale(-1, 1);
}
.slick-arrow:hover {
  filter: brightness(120%);
}

.slick-dots {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  padding-top: 20px;
}
.slick-dots li {
  border: 1px solid #fff;
  width: 6px;
  height: 6px;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}
.slick-dots li.slick-active {
  background: #cfd8dc;
}
.slick-dots li button {
  font-size: 0;
  border: none;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.logo,
.logo img {
  transition: all 0.3s;
}

.header.fixed {
  background: #fff;
  padding: 15px;
  height: 70px;
}
.header.fixed img {
  width: 90px;
}

.logo__dark {
  display: none;
}
.header.fixed .logo__dark {
  display: block;
}
.header.fixed .logo__white {
  display: none;
}
.header.fixed .menu-button_white .burger__line {
  background: #0f214f;
}
.header.fixed .menu-button_white .menu-button__text {
  color: #0f214f;
}

/* Burger */

.menu-button {
  padding: 7px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.menu-button__text {
  font-family: "Mark Medium", sans-serif;
  padding-left: 20px;
  text-transform: uppercase;
  font-size: 11px;
  color: #0f214f;
  letter-spacing: 2px;
}

.burger {
  width: 30px;
  height: 23px;
  position: relative;
  transition: 0.3s;
}
.burger__line {
  background: #0f214f;
  height: 3px;
  position: absolute;
  width: 100%;
  transition: 0.3s;
}
.burger__line_1 {
  top: 0;
}
.burger__line_2 {
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  right: 0;
}
.burger__line_3 {
  bottom: 0;
}

.menu-button_white .burger__line {
  background: #fff;
}
.menu-button_white .menu-button__text {
  color: #fff;
}

.menu-button:hover .burger__line_2 {
  width: 100%;
}

/* Menu */

.close {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 60px;
  right: 60px;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s;
}
.close::after,
.close::before {
  content: "";
  display: block;
  background: #fff;
  height: 2px;
  position: absolute;
  top: 50%;
  width: 140%;
  margin: 0 -20%;
}
.close::after {
  transform: translateY(-50%) rotate(45deg);
}
.close::before {
  transform: translateY(-50%) rotate(-45deg);
}
.close:hover {
  transform: scale(0.8);
}

.page__overlay {
  position: fixed;
  width: 100%;
  height: calc(100vh + 70px);
  background: #000;
  opacity: 0.8;
  display: none;
  z-index: 2000;
}

.menu {
  position: fixed;
  top: 0 !important;
  right: -100% !important;
  width: 100%;
  height: 100%;
  transition: 0.4s;
  z-index: 2002;
  /*transform: scale(0);*/
  padding: 0 !important;
}
.menu_open {
  /*transform: scale(1);*/
  right: 0 !important;
}
.menu__wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden auto;
  padding: 20px;
}

.menu__block {
  position: relative;
  padding: 140px 100px;
  background: #425bce;
}

.scroll_disable {
  overflow: hidden;
}

.menu__body {
  width: 100%;
  margin: auto;
  padding-bottom: 50px !important; /* отступ, чтобы меню не прилипало к низу */
}

.menu__item {
  color: #0f214f;
  font-size: 70px;
  font-weight: 500;
  display: block;
  padding: 35px 0;
}
.menu__item:hover {
  color: #ffffff;
}
.menu__after {
  padding-top: 100px;
}
.menu__item,
.menu__after {
  transition: transform 0.4s 0.2s, opacity 0.4s 0.2s, color 0.3s 0s;
  transform: translateY(-100%);
  opacity: 0;
}
.menu_open .menu__item,
.menu_open .menu__after {
  transform: translateY(0);
  opacity: 1;
}

.menu__links {
  display: none;
  margin-top: 54px;
}
.menu__links ul {
  display: flex;
}
.menu__links ul li:not(:last-child) {
  margin-right: 20px;
}
.menu__links ul li a {
  display: block;
  font-family: "Mark OT Medium";
  font-weight: 500;
  font-size: 11px;
  color: #0f214f;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Main */

.main {
  position: relative;
  height: 100vh;
  min-height: 375px;
  display: flex;
  align-items: center;
  background: url(../img/main-bg.jpg) center no-repeat;
  background-size: cover;
}
.main__content {
  width: 100%;
  padding-left: 200px;
}
.main__title {
  font-family: "GT Super Display", sans-serif;
  color: #ffffff;
  font-size: 70px;
  font-weight: 500;
  line-height: 75px;
  padding-bottom: 30px;
  text-shadow: 0px 0px 20px #000000;
}
.main__scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}
.main__scroll-text {
  font-family: "Mark Medium", sans-serif;
  transform: rotate(-90deg);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: absolute;
  top: -60px;
  left: -19px;
}
.main__contacts {
  width: 50px;
  height: 50px;
  border-radius: 1px;
  background-color: rgba(66, 92, 206, 0.8);
  padding: 15px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.main__contacts-item {
  display: block;
  height: 20px;
  width: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main__contacts a:hover {
  opacity: 0.7;
}

/* Intro */

.intro {
  position: relative;
  padding-top: 130px;
  padding-bottom: 130px;
  display: flex;
  align-items: center;
}
.intro::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.intro__item_1 {
  width: 36%;
}
.intro__item_2 {
  width: 51%;
}
.intro__item_3 {
  width: 13%;
}

.intro__item_text {
  padding: 0 100px;
}
.intro__title {
  font-size: 70px;
  line-height: 75px;
  font-weight: 500;
  padding-bottom: 45px;
}
.intro__text {
  font-size: 18px;
  line-height: 30px;
  font-family: "GT Super Text Book", sans-serif;
  padding-bottom: 45px;
}
.intro img {
  max-width: 100%;
}

/* Lastprojects */

.lastprojects {
  background-color: #0f214f;
  padding: 140px 50px 200px;
  color: #ffffff;
}
.lastprojects__title {
  color: #ffffff;
  font-size: 80px;
  font-weight: 500;
  line-height: 85px;
}
.lastprojects__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: -45px;
  position: relative;
  z-index: 3;
}
.lastprojects__button {
  margin-top: 20px;
}

.lastprojects__slider::after,
.lastprojects__slider::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  background: #0f214f;
  z-index: 2;
}
.lastprojects__slider::after {
  left: 0;
}
.lastprojects__slider::before {
  right: 0;
}
.lastprojects__body {
  padding: 0px 40px;
}
.lastprojects__slider {
  padding-right: 40px;
}
/*.lastprojects__slider .slick-prev {
	display: none!important;
}*/
.lastprojects__slider .slick-slide {
  margin: 0 20px;
}
.lastprojects__last-block {
  min-height: 500px;
}
.lastprojects__image {
  margin-bottom: 30px;
  height: 500px;
}
.lastprojects__photo {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 60%;
  overflow: hidden;
}
.lastprojects__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*.lastprojects__slider .slick-slide:not(.slick-center):not(:hover) .photo,*/
.lastprojects__slider .slick-slide .photo {
  filter: grayscale(100%);
  transition: 0.5s ease-out;
}
.lastprojects__slider .slick-slide.slick-current + .slick-active .photo,
.lastprojects__slider .slick-slide:hover .photo {
  filter: grayscale(0%);
  transition: 0.5s ease-out;
}

.lastprojects__name,
.lastprojects__description {
  transition: 0.5s ease-out;
}
.lastprojects__slider
  .slick-slide:not(.slick-center):not(:hover)
  .lastprojects__name,
.lastprojects__slider
  .slick-slide:not(.slick-center):not(:hover)
  .lastprojects__description {
  opacity: 0.5;
}
.lastprojects__photo:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #425bce;
  opacity: 0.42;
  transition: 0.7s ease-out;
}
.lastprojects__slider .slick-center .lastprojects__photo:after,
.lastprojects__slider .slick-active:hover .lastprojects__photo:after,
.lastprojects__slider .slick-current + .slick-active .lastprojects__photo:after,
.lastprojects__slider
  .slick-current:hover
  + .slick-active
  .lastprojects__photo:after {
  opacity: 0;
}
.lastprojects__name {
  display: flex;
  padding-bottom: 15px;
}
.lastprojects__number {
  font-family: "Mark Medium", sans-serif;
  font-size: 11px;
  letter-spacing: 0.92px;
  line-height: 40px;
  background: url(../img/separ_white2.svg) bottom left no-repeat;
  display: inline-block;
  height: 23px;
  padding-left: 23px;
  padding-right: 18px;
  position: relative;
  bottom: -2px;
}
.lastprojects__projectname {
  font-size: 25px;
  letter-spacing: 2px;
  line-height: 36px;
  text-transform: uppercase;
  color: #ffffff;
}
.lastprojects__projectname:hover {
  opacity: 0.7;
}
.lastprojects__description {
  font-family: "Mark OT Book", sans-serif;
  font-size: 14px;
  line-height: 23px;
  padding: 0 56px;
}

@media screen and (min-width: 767px) {
  .lastprojects {
    padding: 140px 0 200px;
  }
  .lastprojects__slider .slick-list {
    width: 111%;
    margin-left: -2%;
    padding-right: 4%;
  }
  .lastprojects__slider::after,
  .lastprojects__slider::before {
    display: none;
  }
  .lastprojects__slider .slick-next {
    right: 56px;
  }
  .lastprojects__slider .slick-prev {
    left: 56px;
  }
  /*.lastprojects__photo {
		padding-bottom: 61%;
	}*/
  .lastprojects__photo {
    padding-bottom: 0%;
  }
}

@media screen and (max-width: 3000px) {
  .lastprojects__slider .slick-list {
    padding-right: 5%;
  }
}
@media screen and (max-width: 2200px) {
  .lastprojects__image {
    height: 420px;
  }
  .lastprojects__last-block {
    min-height: 420px;
  }
}
@media screen and (max-width: 1800px) {
  .lastprojects__image {
    height: 340px;
  }
  .lastprojects__last-block {
    min-height: 340px;
  }
}
@media screen and (max-width: 1500px) {
  .lastprojects__slider .slick-list {
    padding-right: 4%;
  }
  .lastprojects__image {
    height: 300px;
  }
  .lastprojects__last-block {
    min-height: 300px;
  }
}
@media screen and (max-width: 1300px) {
  .lastprojects__image {
    height: 260px;
  }
  .lastprojects__last-block {
    min-height: 260px;
  }
}
@media screen and (max-width: 1100px) {
  .lastprojects__slider .slick-list {
    padding-right: 3%;
  }
}
@media screen and (max-width: 1023px) {
  .lastprojects__slider .slick-list {
    padding-right: 0%;
  }
  .lastprojects__slider .slick-slide .photo,
  .lastprojects__slider .slick-slide.slick-current + .slick-active .photo {
    filter: grayscale(100%);
    transition: 0.5s ease-out;
  }
  .lastprojects__slider .slick-slide.slick-current .photo {
    filter: grayscale(0%);
    transition: 0.5s ease-out;
  }
  .lastprojects__slider
    .slick-current
    + .slick-active
    .lastprojects__photo:after,
  .lastprojects__slider
    .slick-current:hover
    + .slick-active
    .lastprojects__photo:after {
    opacity: 0;
  }
  .lastprojects__slider .slick-current .lastprojects__photo:after,
  .lastprojects__slider .slick-current:hover .lastprojects__photo:after {
    opacity: 0;
  }
  .lastprojects__image {
    height: 275px;
  }
  .lastprojects__last-block {
    min-height: 275px;
  }
}
@media screen and (max-width: 767px) {
  .lastprojects__body {
    padding: 0 15px;
  }
  .lastprojects__slider {
    padding-right: 25px;
  }
  .lastprojects__slider::after {
    width: 25px;
    left: -15px;
  }
  .lastprojects__image {
    height: 210px;
  }
  .lastprojects__last-block {
    min-height: 210px;
  }
  .lastprojects__last-block {
    padding: 25px 0;
    height: 210px;
  }
  .lastprojects__last-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
}

/* Consulting */

.consulting {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  margin-top: 60px;
  margin-bottom: 60px;
}
.consulting__item {
  width: 50%;
  padding: 70px 120px;
}
.consulting__person {
  padding-left: 0;
  border-right: 1px solid#a6adbe;
}
.consulting__description {
  padding-right: 0;
}

.consulting__description-title {
  font-size: 50px;
  line-height: 50px;
  max-width: 450px;
  padding-bottom: 60px;
}
.consulting__description-text {
  font-family: "GT Super Text Book", sans-serif;
  font-size: 18px;
  line-height: 30px;
  padding-bottom: 70px;
}
.consulting__description-contacts a {
  color: #425bce;
  display: inline-block;
  white-space: nowrap;
  margin-right: 50px;
}
.consulting__description-contacts a:hover {
  /*filter: brightness(150%);*/
  color: #0f214f;
}
.consulting__description-contacts a::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 12px;
  background: url(../img/separ_blue.svg) bottom left no-repeat;
}

.consulting__person-photo {
  display: block;
  position: relative;
  width: calc(100% + 100px);
  margin-left: -100px;
  height: 300px;
  overflow: hidden;
  margin-bottom: 70px;
}
.consulting__person-text {
  color: #425bce;
  font-size: 25px;
  line-height: 30px;
  width: 350px;
  padding-bottom: 50px;
}
.consulting__person-name {
  height: 40px;
  max-width: 300px;
  padding-left: 38px;
  padding-top: 22px;
  color: #425bce;
  font-size: 18px;
  line-height: 22px;
  background: url(../img/separ_blue.svg) bottom left no-repeat;
}

.altersvororge_section {
	margin-bottom: 100px;
}

.vorsorge__about {
	padding-bottom: 200px;
}

/* Projekt Daten */

.projectlist__overview {
  position: relative;      /* wichtig für das absolut positionierte Pseudo-Element */
  display: flex;
  flex-direction: column;
  padding: 0 95px;
  margin: 0 auto;
  padding-top: 100px;
}

/* Pseudo-Element für den Vollbild-Hintergrund */
.projectlist__overview::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100% - 100vw) / 2);
  width: 100vw;
  background: #ececec;     /* hier deine gewünschte Farbe */
  z-index: -1;             /* hinter den Content setzen */
}



.project__data {
  position: relative;
  display: flex;
  align-items: center;
  
  overflow: visible;
  padding-top: 40px;
}

.project__data--left  { flex-direction: row;       }
.project__data--right { flex-direction: row-reverse; }

.project__data__title {
  font-size: 50px;
  line-height: 60px;
}



/* Content innen */
.project__data__content {
  display: flex;
  width: 50%;
  flex-direction: column;
  padding-right: 120px;
}

.project__data::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  /* horizontales Zentrieren relativ zum Flex-Container */
  left: calc((100% - 100vw) / 2);
  background: #ececec;
  z-index: -1;
}


/* Flächentext */
.project__data__text {
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  margin-bottom: 1rem;
}

/* Preis */
.project__data__content .about__title + .about__title {
  margin-top: 1rem;
}

.project__data__content .about__title {
  /* falls du es direkt auf das Element anwenden willst */
  flex-shrink: 1;
  min-width: 0;
  /* erzwinge normalen Zeilenumbruch */
  white-space: normal;
  /* optional, damit lange Wörter sauber umbrechen */
  overflow-wrap: break-word;
  padding-bottom: 15px;
}

/* 2) Bild-Wrapper auf 50% und relativ positionieren */
.project__data__image {
  position: relative;
  min-height: 900px;
 width: 50%;
}

.project__data__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}




/* Für left: Foto ganz am rechten Viewport‑Rand */
.project__data--left .project__data__photo {
  left: 0;
  width: 65%;
}

.project__data--right .project__data__content {
  padding-left: 120px;
  padding-right: 0;
}

/* 4) Bild füllt den Wrapper komplett */
.project__data__photo .photo {
  position: absolute;
  object-fit: contain; /* Bild füllt den Container */
}

.project__data--left .project__data__photo .photo {
  object-fit: scale-down;
}

/* Konaktformular */

.feedback.altersvorsorge {
  background-color: #ececec;
  max-width: 100%;
  padding-top: 100px;
}

/* About */

.about__item {
  position: relative;
  display: flex;
  align-items: center;
}
.about__item_1::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.about__image,
.about__content {
  width: 50%;
  position: relative;
}
.about__image {
  min-height: 900px;
}
.about__item_1 .about__content {
  padding-left: 120px;
}
.about__item_1 .about__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: calc(100% + (100vw - 100% * 2) / 2);
  background: #000;
}
.about__item_2 {
  flex-direction: row-reverse;
}
.about__item_2 .about__content {
  padding-right: 120px;
}
.about__item_2 .about__photo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(100% + (100vw - 100% * 2) / 2);
  background: #000;
}

.about__title {
  font-size: 50px;
  line-height: 60px;
  padding-bottom: 50px;
}
.about__text {
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
  padding-bottom: 37px;
}

.about__item_2 .about__title {
  display: flex;
}
.about__item_2 .about__title-number {
  font-size: 250px;
  line-height: 100px;
  position: relative;
  left: 5px;
  top: 2px;
}

.about__batch__image {
  width: 170px;
  height: auto;
  position: absolute;
  transform: rotate(5deg);
  top: -85px;
  right: clamp(
    -300px,
    /* minimaler Wert */ calc((1400px - 100vw) / 2),
    /* “Mittel” abhängig von VW */ 0px /* maximaler Wert */
  );
}

.purchase__batch__image {
  width: 170px;
  height: auto;
  position: absolute;
  transform: rotate(5deg);
  top: -40px;
  left: -85px;
}

@media screen and (max-width: 1023px) {
  .about__batch__image,
  .purchase__batch__image {
    width: 140px;
  }
}

@media screen and (max-width: 767px) {
  .about__batch__image,
  .purchase__batch__image {
    width: 100px;
  }

  .purchase__batch__image {
	left: auto;
	right: 40px;
  }
}

/* Blog */

.blog {
  position: relative;
  padding-top: 130px;
  padding-bottom: 40px;
}
.blog::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #425bce;
}

.blog__title {
  color: #ffffff;
  font-size: 100px;
  letter-spacing: 0.56px;
  line-height: 50px;
  text-align: center;
  padding-bottom: 105px;
}
.blog__alllink {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -50px;
}

.blog__list {
  display: flex;
  width: calc(100% + 80px);
  margin-left: -40px;
}
.blog__item {
  width: 33.333%;
  padding: 0 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}
.blog__item:nth-child(3n) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.blog__item-title {
  font-size: 25px;
  line-height: 30px;
  padding-bottom: 10px;
  color: #ffffff;
  width: max-content;
}
.blog__item-title:hover {
  opacity: 0.7;
}
.blog__item-text {
  font-family: "GT Super Text Book";
  font-size: 14px;
  line-height: 25px;
  padding-bottom: 10px;
}
.blog__item-more-link {
  color: #ffffff;
  border-color: #fff !important;
  width: max-content;
}
.blog__item-image {
  flex: 1;
  margin-top: 65px;
  display: flex;
  align-items: flex-end;
}
.blog__item-image img {
  width: 100%;
  transition: 0.5s;
}

.blog__item-photo {
  position: relative;
}
.blog__item-photo::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(22, 43, 140, 0.66);
  opacity: 0;
  transition: 0.5s;
}
.blog__item-photo::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: #ffffff url(../img/arrow_blue.svg) center no-repeat;
  border-radius: 150px;
  transition: 0.5s;
}
.blog__item-photo:hover img {
  filter: grayscale(100%);
  opacity: 0.5;
}
.blog__item-photo:hover::before {
  opacity: 1;
}
.blog__item-photo:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.page_blog .blog {
  padding-top: 170px;
}
.page_blog .blog__title {
  padding-bottom: 160px;
}
.page_blog .blog__list {
  flex-wrap: wrap;
}
.page_blog .blog__item {
  margin-bottom: 160px;
}
.page_blog .blog__alllink {
  margin: 0;
  justify-content: center;
  position: relative;
  top: -80px;
}

.instagram {
  position: relative;
  padding-top: 55px;
  padding-bottom: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.instagram::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.instagram__title {
  font-size: 50px;
  line-height: 40px;
}
.instagram__link {
  font-size: 50px;
  line-height: 40px;
  color: #0f214f;
}
.instagram__link:hover {
  color: #425bce;
}
.instagram__separ {
  width: 100px;
  height: 1px;
  background: #0f214f;
  margin-left: 20px;
  margin-right: 20px;
}

/* Footer */

.footer {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  justify-content: space-between;
  color: #f9f9f9;
  letter-spacing: 1px;
}
.footer::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  z-index: -1;
  background: #0f214f;
  bottom: -100px;
}

.page_contacts .footer::after {
  bottom: 0 !important;
}

.footer__adress {
  font-size: 25px;
  line-height: 30px;
}
.footer__logo {
  display: block;
  margin-top: 90px;
}

.footer__menu-item {
  display: block;
  color: #4057d1;
  font-family: "Mark OT Medium";
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.footer__menu-item:hover {
  color: #ffffff;
}

.footer__contacts b {
  display: block;
  font-family: "Mark OT Medium";
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 3px;
}
.footer__contacts p {
  font-family: "GT Super Text Book";
  font-size: 15px;
  padding-bottom: 3px;
}
.footer__contacts p a {
  color: #ffffff;
}
.footer__contacts p a:hover {
  opacity: 0.7;
}
.footer__button {
  min-width: 100px;
  height: 40px;
  padding: 0 30px;
  margin-top: 20px;
}

.footer__subscribe {
  width: 350px;
  font-size: 25px;
  line-height: 30px;
}
.footer__subscribe-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #4057d1;
  padding-top: 15px;
  padding-bottom: 6px;
  margin-bottom: 65px;
}
.footer__subscribe-form .form__input {
  border: none;
  background: none;
  color: #fff;
  font-family: "Mark OT Book";
  font-size: 18px;
  width: 80%;
  margin-right: 10px;
}
.footer__subscribe-form .form__input::placeholder {
  color: #4057d1;
}
.footer__subscribe-form .form__button {
  width: 42px;
  height: 42px;
  cursor: pointer;
  border: none;
  font-size: 0;
  background: #425bce url(../img/arrow.svg) center no-repeat;
  border-radius: 150px;
  flex-shrink: 0;
  transition: 0.3s;
}
.footer__subscribe-form .form__button:hover {
  filter: brightness(120%);
}

.footer__social {
  grid-gap: 22px;
  margin: 0 0 0 auto;
}
.footer__social img {
  width: 19px;
}

/* Up button */

.up {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #425bce;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2001;
}
.up:after {
  content: "";
  display: block;
  width: 30%;
  height: 30%;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 15%;
  transition: 0.3s;
}
.up:hover {
  background: #4054f9;
}
.up:hover:after {
  margin-top: 0;
}

@media (pointer: coarse) {
  .up:hover {
    background: #4054f9;
  }
  .up:hover:after {
    margin-top: 15%;
  }
}

/* Head */

.head {
  padding-top: 150px;
  padding-bottom: 70px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.head::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
}
.head__title {
  font-size: 115px;
  line-height: 120px;
  width: 44%;
}

.purchase-subline {
  margin-top: 70px;
  color: #425bce;
  font-size: 27px;
  font-family: "GT Super Text Book";
  line-height: 1.4;
}

.head__title_blue {
  color: #425bce;
}
.head__text {
  font-family: "GT Super Text Book";
  font-size: 25px;
  line-height: 35px;
  width: 44%;
}
.head__info {
  padding-top: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.head__count {
  font-size: 30px;
  line-height: 30px;
}

.head_blue::after {
  background: #425bce;
}
.head_gray::after {
  background: #ececec;
}

.head_notext .head__title {
  width: 80%;
}

.page_filter .head__info-left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.head_small {
  padding-top: 135px;
  padding-bottom: 30px;
}
.head_small .head__title {
  width: 100%;
  max-width: 700px;
  font-size: 50px;
  letter-spacing: 1px;
  line-height: 60px;
  text-transform: uppercase;
}
.head_small .head__info {
  padding-top: 64px;
}

.head_medium .head__title {
  font-size: 70px;
  line-height: 75px;
}

.head__item {
  color: #0f214f;
  font-family: "Mark OT Book";
  font-size: 14px;
  line-height: 20px;
  border-left: 1px solid rgba(15, 33, 79, 0.3);
  max-width: 150px;
  min-height: 70px;
  padding: 0 18px;
  font-weight: 300;
}
.head__item b,
.head__item a {
  font-family: "Mark OT Medium";
  font-weight: 500;
}
.head__item_autoheight {
  min-height: auto;
}
.head__item_stretch {
  flex: 1;
  max-width: 100%;
}
.head__item b {
  display: block;
  opacity: 0.5;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}
.head__item a {
  color: #0f214f;
}
.head__item a:hover {
  color: #425bce;
}

.page_planing .head {
  align-items: flex-end;
  padding-bottom: 55px;
}
.page_planing .head__title {
  width: 100%;
  max-width: 70%;
}
.page_planing .head__info {
  width: auto;
  padding-top: 0;
  padding-bottom: 14px;
}

.head_article {
  display: block;
  text-align: center;
}
.head_article .head__title {
  width: 100%;
  font-size: 70px;
  line-height: 75px;
  padding-bottom: 30px;
}
.head_article .head__info {
  padding-top: 0;
  display: block;
  text-align: center;
  opacity: 0.5;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}

.head_contacts {
  display: flex;
}
.head_contacts .head__title {
  width: 55%;
  font-size: 70px;
  line-height: 75px;
  padding-bottom: 100px;
  text-transform: none;
}
.head_contacts .head__info {
  width: 45%;
  justify-content: flex-end;
  padding-top: 0;
  margin-bottom: -65px;
}
.head_contacts .head__item {
  min-width: 200px;
}
.head_contacts {
  padding-top: 190px;
  padding-bottom: 30px;
}

.page_reference .head__info {
  justify-content: flex-start;
}
.page_referencedetail .head {
  padding-top: 50px;
}
.page_referencedetail .head_small .head__info {
  padding-top: 0;
}

.page_buy .head__title br {
  display: none;
}

.head_second {
  padding-top: 100px;
  padding-bottom: 100px;
  align-items: flex-start;
  position: relative;
}
.head_second::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 95px;
  right: 95px;
  height: 0px;
  border-bottom: 1px solid rgba(15, 33, 79, 0.3);
}
.head_second .head__title {
  font-size: 30px;
  line-height: 40px;
}

/* Projectlist */

.projectlist {
  position: relative;
  padding-top: 60px;
  padding-bottom: 130px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 60px;
}
.projectlist::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}

.card {
  display: block;
  width: 100%;
  background: #fff;
  color: #0f214f;
}
.card__image {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}
.card__title {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 28px;
  text-transform: uppercase;
  max-width: 220px;
  min-height: 66px;
}
.card__info {
  display: block;
  padding: 26px 20px;
}
.card__property {
  display: flex;
}
.card__property b {
  display: block;
  width: 130px;
  opacity: 0.51;
  font-family: "Mark OT Medium";
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.card__property i {
  display: block;
  font-family: "Mark OT Book";
  font-size: 13px;
  line-height: 20px;
  font-style: normal;
  flex: 1;
}

.card_big {
  grid-column: span 3;
  display: flex;
  align-items: center;
}
.card_big .card__image {
  width: 66%;
  padding-bottom: 37%;
}
.card_big .card__info {
  width: 34%;
  padding: 40px 5%;
}
.card_big .card__title {
  font-size: 30px;
  line-height: 40px;
  text-transform: uppercase;
  max-width: 100%;
  padding-bottom: 10px;
  min-height: auto;
}
.card_big .card__description {
  display: block;
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
  padding-bottom: 50px;
}
.card_reverse {
  flex-direction: row-reverse;
}
.card_special {
  background: #425bce;
  padding: 37px;
  text-align: center;
}
.card_special .photo__date {
  display: block;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
  padding-bottom: 24px;
  color: #ffffff;
}
.card_special .card__title {
  color: #0f214f;
  font-size: 50px;
  line-height: 55px;
  text-align: center;
  max-width: 100%;
  text-transform: none;
  margin-bottom: 40px;
  min-height: auto;
  transition: 0.3s;
}
.card_special .card__button {
  transition: 0.3s;
  margin: 0 auto;
}
.card:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.19);
  color: #425bce;
}
.card_special:hover .card__title {
  color: #fff;
}

.projectlist_filter {
  padding-bottom: 60px;
}
.projectlist_filter::after {
  display: none;
}
.projectlist_filter .card {
  background: #ececec;
}
.projectlist_filter .card:hover {
  background: #ffffff;
}

.wohnflaeche-table {
  width: 70%;
  border-collapse: collapse;
}

.wohnflaeche-table .wf-value {
  text-align: right;
}

/* Referencelist */

.referencelist {
  padding-top: 60px;
  padding-bottom: 60px;
}
.referencelist .card {
  margin-bottom: 60px;
  background: #ececec;
  align-items: stretch;
}
.referencelist .card:hover {
  background: #ffffff;
}
.referencelist .card__info {
  background: none;
  padding-top: 60px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.referencelist .card__property b {
  width: 100%;
}

.referencelist .card__title {
  padding-left: 5px;
}

/* Page navigation */

.pagenav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 130px;
}
.pagenav__button {
  flex-shrink: 0;
  display: inline-block;
  width: 27px;
  height: 27px;
  transition: 0.3s;
}
.pagenav__button:hover {
  background-color: #ececec;
}
.pagenav__button_prev {
  background: url(../img/arrow_nightblue.svg) center no-repeat;
  margin-right: 5px;
  transform: scale(-1, 1);
}
.pagenav__button_next {
  background: url(../img/arrow_nightblue.svg) center no-repeat;
  margin-left: 5px;
}
.pagenav__page {
  padding: 0px 9px;
  height: 27px;
  font-family: "Mark OT Medium";
  font-size: 13px;
  color: #0f214f;
  transition: 0.3s;
  display: flex;
  align-items: center;
}
.pagenav__page_active {
  background: #425bce;
  color: #ffffff;
  cursor: default;
  margin: 0 5px;
}
.pagenav__page:not(.pagenav__page_active):hover {
  background: #ececec;
}

/* Filter */

.filter {
  color: #ffffff;
  width: 100%;
  height: 100vh;
  max-width: 520px;
  padding: 150px 60px;
  background: #425bce;
  overflow-y: scroll;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2002;
  transform: translateX(100%);
  transition: 0.4s;
}
.filter_open {
  transform: translateX(0);
}
.filter__title {
  font-size: 30px;
  line-height: 30px;
  padding-bottom: 34px;
}
.filter__subtitle {
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 20px;
}
.filter__section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.filter .form__chekbox_label:before {
  border: 1px solid #7b8cdd;
}
.filter .form__chekbox_label:after {
  background: linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  transform: scale(0);
  transform-origin: top left;
}
.filter .form__chekbox_label:hover:before {
  border: 1px solid #a4afe4;
}
.filter .form__chekbox:checked + .form__chekbox_label:before {
  border: 1px solid #ffffff;
}

.filter .form__input {
  background: none;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-family: "Mark OT Book";
  font-size: 18px;
  padding: 0 20px;
  width: 100%;
  transition: 0.3s;
}
.filter .form__input::placeholder {
  color: #798bdc;
}
.filter .form__input:hover {
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.filter .form__input:focus {
  border: 1px solid #ffffff;
}

.filter .form__range-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter .form__range-inputs .form__field {
  width: 43%;
  max-width: 180px;
}
.filter .form__input-separ {
  border: 1px solid #ffffff;
  width: 10px;
  height: 1px;
}
.filter .form__input_from::-webkit-outer-spin-button,
.filter .form__input_from::-webkit-inner-spin-button,
.filter .form__input_to::-webkit-outer-spin-button,
.filter .form__input_to::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.filter .form__input_from,
.filter .form__input_to {
  -moz-appearance: textfield;
}

.filter__buttons {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.filter__buttons .button {
  min-width: 190px;
  padding: 0;
  border: 1px solid #fff;
}
.filter__buttons .button:hover {
  color: #fff;
}
.filter__buttons .button_transparent {
  margin-right: 10px;
}
.filter__buttons .button_transparent:hover {
  color: #0f214f;
}

/* Bigimage */

.bigimage__slider .slick-arrow {
  width: 60px;
  height: 60px;
  background-size: 28px;
}
.bigimage__limit {
  max-height: 740px;
  overflow: hidden;
}
.bigimage__image {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 51%;
  overflow: hidden;
}

.bigimage .container {
  position: relative;
}
.bigimage__sticker {
  width: 250px;
  height: 250px;
  background: #425bce;
  border-radius: 250px;
  position: absolute;
  top: -45px;
  right: 20%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 40px;
  letter-spacing: -0.4px;
  line-height: 40px;
  text-align: center;
}
.bigimage__sticker:after,
.bigimage__sticker:before {
  content: "";
  display: block;
  position: absolute;
  width: 40%;
  height: 1px;
  background: #ffffff;
  left: 50%;
  transform: translateX(-50%);
}
.bigimage__sticker:before {
  top: 45px;
}
.bigimage__sticker:after {
  bottom: 45px;
}

.page_referencedetail .bigimage {
  position: relative;
}
.page_referencedetail .bigimage__slider .bigimage__image.darken::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(11, 17, 34, 0.4);
}
.page_referencedetail .bigimage__title {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 70px;
  line-height: 75px;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page_referencedetail .bigimage__title h1 {
  max-width: 830px;
}

/* Video */

.video__link {
  display: block;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}
.video__link::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: url(../img/play-icon.svg) center no-repeat;
  transition: 0.4s;
  z-index: 2;
}
.video__link::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(11, 17, 34, 0.3);
}
.video__link:hover {
  filter: brightness(120%);
}
.video__link:hover::before {
  transform: translate(-50%, -50%) scale(1.2);
}
.video__image {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 49%;
  overflow: hidden;
}

/* Projectdetail */

.projectdetail {
  padding-top: 100px;
  padding-bottom: 0 !important;
  position: relative;
}
.projectdetail::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.projectdetail__item {
  display: flex;
}
.projectdetail__image,
.projectdetail__content {
  width: 50%;
}
.projectdetail__content {
  padding-left: 100px;
}
.projectdetail__image {
  text-align: center;
}
.projectdetail__image img {
  max-width: 100%;
}
.projectdetail__title {
  font-size: 40px;
  line-height: 40px;
  padding-bottom: 36px;
}
.projectdetail__text {
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
  padding-bottom: 80px;
}
.projectdetail__quote {
  font-size: 25px;
  line-height: 30px;
  padding-bottom: 20px;
  max-width: 420px;
}
.projectdetail__person {
  max-width: 300px;
  padding-left: 38px;
  padding-top: 5px;
  color: #425bce;
  font-size: 18px;
  line-height: 22px;
  background: url(../img/separ_blue.svg) top left no-repeat;
}
.projectdetail__item_intro .projectdetail__content {
  padding-top: 40px;
  padding-bottom: 0 !important;
}
.projectdetail__item_advantages {
  flex-direction: row-reverse;
}
.projectdetail__item_advantages img {
  width: calc(100% + 100px);
  margin-right: -100px;
  margin-top: 80px;
}
.projectdetail__item_advantages .projectdetail__content {
  padding-left: 0;
  padding-right: 130px;
}
.projectdetail__item_advantages .projectdetail__text {
  padding-bottom: 70px !important;
}

.projectdetail__item_about .projectdetail__title {
  max-width: 180px;
  padding-top: 90px;
}
.projectdetail__image_small {
  float: right;
  margin-right: 50px;
}

.projectdetail__item_about .projectdetail__image {
  text-align: left;
}

.page_referencedetail .projectdetail {
  margin-bottom: 100px;
}
.page_referencedetail .projectdetail__content {
  padding-bottom: 0;
}

.projectdetail__last {
  padding-bottom: 100px !important;
}

/* Projectinfo */

.projectinfo {
  position: relative;
  padding-top: 100px;
  padding-bottom: 140px;
}
.projectinfo:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}

.projectinfo__about {
  padding-bottom: 100px;
  max-width: 760px;
  margin: 0 auto;
  font-family: "GT Super Text Book";
  font-size: 30px;
  line-height: 40px;
  text-align: center;
}

.page_referencedetail .projectinfo__about {
  padding-bottom: 0 !important;
}

.projectinfo__title {
  font-size: 30px;
  line-height: 40px;
}

.projectinfo__details {
  height: 500px;
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-gap: 40px;
  margin-bottom: 113px;
}

.page_referencedetail .projectinfo__details {
  margin-bottom: 13px !important;
  height: auto;
}

.projectinfo__image {
  background: #ccc;
  position: relative;
}
.projectinfo__data {
  background: #fff;
  padding: 40px;
}
.projectinfo__data .projectinfo__title {
  padding-bottom: 24px;
}
.projectinfo__data-item {
  font-family: "Mark OT Book";
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 20px;
}
.projectinfo__data-item b {
  display: block;
  opacity: 0.5;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}
.projectinfo__button {
  margin-top: 10px;
}

.projectinfo__last {
  padding-bottom: 100px !important;
}

.projectinfo__advantages {
  padding-bottom: 100px;
}
.projectinfo__advantages .projectinfo__title {
  padding-bottom: 50px;
  text-align: center;
}
.projectinfo__list {
  max-width: 780px;
  margin: 0 auto;
  column-count: 2;
  column-gap: 60px;
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
}

.page_referencedetail .projectinfo__advantages {
  padding-bottom: 0 !important;
}

.page_referencedetail .projectinfo {
  padding-bottom: 0;
}
.page_referencedetail .projectinfo:after {
  background: #ffffff;
}
.page_referencedetail .projectinfo__data {
  background: rgba(236, 236, 236, 0.5);
}

/* Form */

.order {
  background: #ffffff;
  padding: 130px 200px 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.form__title {
  font-size: 50px;
  line-height: 40px;
  text-align: center;
  padding-bottom: 80px;
  width: 100%;
}

.form__text {
  font-family: "Mark OT Book";
  font-size: 18px;
  line-height: 20px;
  padding-bottom: 28px;
  max-width: 570px;
}

.order .form__input,
.order .form__label,
.order .form__group {
  width: 100%;
}
.order .form__radiogroup {
  width: 26%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order .form__radiogroup .form__radio_label {
  margin-right: 20px;
}
.order .form__input#name {
  width: 65%;
}
.order .form__input,
.order .form__radiogroup {
  margin-bottom: 34px;
}
.order .form__group {
  background-color: rgba(218, 218, 218, 0.3);
  padding: 25px;
  border-top: 1px solid #0f214f;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order .form__group-selects,
.order .form__group-chekboxes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order .form__group-selects {
  width: 54%;
}
.order .form__group-chekboxes {
  width: 42%;
}
.order .form__label {
  padding-top: 20px;
}
.order .form__select {
  width: 48%;
}
.order .form__chekbox_label {
  width: max-content;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 30px;
}

.order .form__chekbox_label a {
  text-decoration: underline;
  color: #0f214f;
}
.order .form__chekbox_label a:hover {
  text-decoration: none;
  color: #425bce;
}

/* Input */

.form__label {
  display: block;
  opacity: 0.5;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form__input {
  width: 100%;
  height: 54px;
  font-family: "Mark OT Book";
  font-size: 18px;
  line-height: 20px;
  color: #0f214f;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #0f214f;
  transition: 0.3s;
}
.form__input::placeholder {
  color: #0f214f;
}
.form__input:focus {
  border-color: #425bce;
}

.form__input_textarea {
  height: 240px;
  resize: none;
  background-color: rgba(218, 218, 218, 0.3);
  padding: 25px;
  border: none;
  border-top: 1px solid #0f214f;
}

/* Radio */

.form__radio {
  display: none;
}
.form__radio_label {
  display: block;
  padding-left: 35px;
  position: relative;
  cursor: pointer;
  margin: 10px 0;
  font-family: "Mark OT Book";
  font-size: 18px;
  line-height: 20px;
}
.form__radio_label:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #0f214f;
  border-radius: 50%;
  position: absolute;
  left: 0;
  transition: 0.3s;
  background: #fff;
  background-position: center;
}
.form__radio:checked + .form__radio_label:before {
  background: url(../img/radio-icon.svg) center no-repeat;
  background-size: contain;
}

/* Select */

.form__select {
  position: relative;
  height: 43px;
  width: 100%;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.form__select .form__input {
  font-family: "Mark OT Medium";
  font-size: 11px;
  background: url(../img/select-arrow.svg) right 20px center no-repeat;
  opacity: 1;
  border: 1px solid #0f214f;
  height: 43px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 41px; /*вертикальное выравнивание текста в блоке = высоте блока минус border (flex не подходит, тогда не обрезается с многоточием) */
  padding: 0 36px 0 20px;
  transition: 0.3s;
}
.form__select:hover,
.form__select:hover .form__input {
  cursor: pointer;
}

.form__select_open .form__input,
.form__select_open:hover .form__input {
  border: 1px solid #425bce;
  background-color: #ffffff;
}

.form__select-options {
  background: #ffffff;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 4px rgba(0, 0, 0, 0.04),
    0px 0px 8px rgba(0, 0, 0, 0.02), 0px 0px 16px rgba(0, 0, 0, 0.02),
    0px 0px 40px rgba(0, 0, 0, 0.01);
  padding: 10px 0;
  position: absolute;
  top: 47px;
  left: 0;
  z-index: 10;
  min-width: 100%;
  display: none;
}
.form__select-item {
  padding: 8px 20px;
  white-space: nowrap;
  cursor: pointer;
}
.form__select-item:hover {
  background: #efefef;
}

/* Chekbox */

.form__chekbox {
  display: none;
}
.form__chekbox_label {
  display: block;
  padding-left: 35px;
  position: relative;
  cursor: pointer;
  font-family: "Mark OT Book";
  font-size: 18px;
  line-height: 30px;
}
.form__chekbox_label:before,
.form__chekbox_label:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 5px;
  transition: 0.3s;
}
.form__chekbox_label:before {
  border: 1px solid #0f214f;
}
.form__chekbox_label:after {
  background: linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    #0f214f 50%,
    #0f214f 100%
  );
  transform: scale(0);
  transform-origin: top left;
}
.form__chekbox:checked + .form__chekbox_label:before {
  border: 1px solid #0f214f;
}
.form__chekbox:checked + .form__chekbox_label:after {
  transform: scale(1);
}

/* Add file */

.form__addfile {
  width: 100%;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
}
.form__selectfile {
  display: none;
}
.form__selectfile-button {
  margin-right: 20px;
}
.form__selectfile-count {
  color: #425bce;
  font-family: "Mark OT Book";
  font-size: 18px;
}

/* Table */

.table {
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.table__title {
  width: 60%;
  font-size: 50px;
  line-height: 60px;
}
.table__title_single {
  padding-bottom: 50px;
  font-size: 30px;
  line-height: 40px;
}
.table__filter,
.table__body {
  width: 100%;
}

.tables {
  width: 100%;
}
.tables__mob {
  display: none;
}
.tables th {
  text-align: left;
  padding: 10px 20px;
  color: #ffffff;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 15px;
  text-align: left;
  text-transform: uppercase;
  background-color: #425bce;
}
.tables td {
  padding: 15px 20px;
  font-family: "Mark OT Book";
  font-size: 16px;
}
.tables:not(#project-table) tr:not(.hide):nth-child(2n + 1) {
  background: #efefef;
}
.tables:not(#project-table) tr:not(.hide) {
  border: 1px solid #efefef;
}
.tables#project-table tr.gray {
  border: 1px solid #efefef;
  background: #efefef;
}
.tables tr td:first-child {
  border-left: none;
}
.tables tr td:last-child {
  border-right: none;
}
.tablesorter-header,
.tablesorter-headerDesc {
  cursor: pointer;
  background: url(../img/sortDesc-icon.svg) top 14px right 20px no-repeat;
}
.tablesorter-headerAsc {
  cursor: pointer;
  background: url(../img/sortAsc-icon.svg) top 14px right 20px no-repeat;
}
.sorter-false {
  cursor: default;
  background: none;
}

.download-link {
  position: relative;
  padding-left: 27px;
}
.download-link::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 17px;
  background: url(../img/download-icon.svg) center no-repeat;
}

.tables a {
  color: rgba(15, 33, 79, 0.5);
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tables a:hover {
  color: #425bce;
}

.table__filter {
  display: flex;
  justify-content: space-between;
  padding-bottom: 32px;
  padding-top: 75px;
}
.table__filter .form__select {
  width: 22%;
}

.table tr.hide {
  display: none;
}

/*.table tr.hide.active-größe {display: block;}

.table tr.hide.active-stockwerk {display: block;}

.table tr.hide.active-kaufpreis {display: block;}*/

@media screen and (min-width: 768px) {
  .table__filter {
    display: flex !important;
  }
  .table .button_filter {
    display: none;
  }
}

/* Location */

.location {
  padding-top: 150px;
  margin-bottom: 100px;
  position: relative;
}
.location__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}
.location__title {
  width: 50%;
  font-size: 50px;
  line-height: 50px;
}
.location__text {
  width: 50%;
  padding-right: 14%;
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
}
.location__map {
  background: #ccc;
  width: 100%;
  height: 500px;
}
.location__legend {
  background: #ffffff;
  padding: 30px;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
  transform: translateX(20px);
}
.location__legend li:nth-child(1) {
  color: #ca7676;
}
.location__legend li:nth-child(2) {
  color: #619a58;
}
.location__legend li:nth-child(3) {
  color: #d89611;
}
.location__legend li:nth-child(4) {
  color: #3c58af;
}
.location__legend li:nth-child(5) {
  color: #3b7b8e;
}
.location__legend li:nth-child(6) {
  color: #8574bb;
}

.page_contacts .location {
  padding-top: 80px;
}
.page_contacts .location::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 95px;
  right: 95px;
  height: 0px;
  border-top: 1px solid rgba(15, 33, 79, 0.3);
}
.page_contacts .location__info {
  width: 265px;
  background: #ffffff;
  padding: 30px;
  position: absolute;
  bottom: 280px;
  transform: translateX(20px);
}
.page_contacts .location__adress {
  padding-bottom: 25px;
  padding-left: 10px;
  color: #425bce;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}

/* Map objects */

.map {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}
.map::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.map__objects {
  height: 640px;
}
.map__objects-info {
  display: block;
  margin-right: -2px;
}
.map__objects-info img {
  width: 160px;
  height: 90px;
}
.map__objects-name {
  display: block;
  width: 160px;
  padding: 10px;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 15px;
  text-transform: uppercase;
  transition: 0.3s;
}
.map__objects-info:hover .map__objects-name {
  color: #425bce;
}

.map .gm-style .gm-style-iw-c {
  border-radius: 0;
  padding: 0;
}
.map .gm-style .gm-style-iw-d {
  overflow: hidden !important;
}
.map .gm-style .gm-style-iw-t::after {
  display: none;
}

/* Contuct Us */

.contactus {
  padding-bottom: 80px;
}
.contactus__title {
  color: #425bce;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 15px;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 47px;
}
.contactus__link {
  display: block;
  width: max-content;
  margin: 0 auto;
  color: #425bce;
  font-size: 50px;
  line-height: 60px;
  padding-bottom: 14px;
}
.contactus__link:hover {
  color: #0f214f;
}

.page_buy .contactus {
  padding-top: 100px;
}

/* Text */

.text {
  position: relative;
  padding-top: 200px;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
}
.text::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.text__title {
  width: 100%;
  font-size: 70px;
  line-height: 75px;
  padding-bottom: 120px;
}
.text__subtitle {
  font-size: 25px;
  line-height: 30px;
  padding-bottom: 18px;
  width: 45%;
}
.text__content {
  width: 55%;
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
  padding-bottom: 70px;
}
.text__content p {
  padding-bottom: 36px;
}

/* Article */

.article {
  max-width: 950px;
  padding-top: 100px;
  padding-bottom: 100px;
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
}
.article h2 {
  font-family: "GT Super Display";
  font-size: 40px;
  line-height: 40px;
  padding-bottom: 40px;
  padding-top: 40px;
}
.article p {
  padding-bottom: 40px;
}
.article__intro {
  font-size: 25px;
  line-height: 35px;
}
blockquote {
  font-family: "GT Super Display", sans-serif;
  padding: 60px 60px 90px;
  color: #425bce;
  font-size: 25px;
  line-height: 35px;
}
.author {
  padding-left: 38px;
  padding-top: 5px;
  color: #425bce;
  font-size: 18px;
  line-height: 22px;
  background: url(../img/separ_blue.svg) top left no-repeat;
}
blockquote .author {
  margin-top: 30px;
}

.article__image {
  margin-top: 20px;
  margin-bottom: 80px;
  width: auto;
}
.article__image img {
  max-width: 100%;
}
.article__image-caption {
  font-family: "Mark OT Book";
  font-size: 14px;
  line-height: 20px;
  padding-top: 18px;
}
.article__images {
  display: flex;
  justify-content: space-between;
}
.article__images .article__image {
  width: 47%;
}

.article__share {
  width: 120px;
  margin: 0 auto;
  padding: 60px 0;
}
.article__share b {
  display: block;
  padding-bottom: 12px;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}
.article__social {
  grid-gap: 32px;
  margin: 0 auto;
}

/* About Us */

.aboutus {
  padding-top: 50px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  position: relative;
}
.services {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  display: flex;
  align-items: center;
}
.aboutus::after,
.services::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -1;
  background: #ececec;
}
.aboutus__image,
.services__image {
  width: 50%;
}
.aboutus__image img,
.services__image img {
  max-width: 100%;
}
.aboutus__content {
  width: 50%;
  padding-right: 160px;
}
.services__content {
  width: 50%;
  padding-left: 140px;
}
.aboutus__title,
.services__title {
  font-size: 50px;
  line-height: 60px;
  padding-bottom: 40px;
}
.aboutus__text,
.services__text {
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
}
.aboutus__text p:not(:last-child),
.services__text p:not(:last-child) {
  padding-bottom: 40px;
}

.blockquote {
  padding-top: 100px;
  padding-bottom: 100px;
}
.blockquote__text {
  font-size: 50px;
  line-height: 65px;
}
.blockquote__author {
  margin-top: 50px;
}

/* Team */

.team {
  padding-top: 100px;
  padding-bottom: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 60px;
}
.team__card {
  background-color: rgba(236, 236, 236, 0.25);
}
.team__photo {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  /*padding-bottom: 100%;*/
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .team__photo {
    padding-top: 100%;
    height: auto;
  }
}

.team__info {
  padding: 30px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.team__name {
  color: #0f214f;
  font-size: 25px;
  letter-spacing: 1px;
  line-height: 30px;
}
.team__post,
.team__contacts b {
  opacity: 0.5;
  color: #0f214f;
  font-family: "Mark OT Medium";
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
}
.team__post {
  flex: 1;
}
.team__contacts {
  display: flex;
  flex-wrap: wrap;
}
.team__contacts b {
  display: block;
  width: 40px;
}
.team__contacts a {
  width: calc(100% - 40px);
  color: #0f214f;
  font-family: "Mark OT Book";
  font-size: 13px;
  line-height: 20px;
}
.team__contacts a:hover {
  color: #425bce;
}

.purchase__footer_headline {
  font-size: 50px;
  color: #425bce;
  text-align: center;
  width: 75%;
  margin: 0 auto;
}
.purchase__footer {
  line-height: 1.2;
  margin-bottom: 200px;
}

.purchase__footer a {
  display: inline-block;            /* macht aus dem Link eine Box, die Zeilen intern umbricht */
  position: relative;
  color: #425bce;
  text-decoration: none;
  transition: color 0.5s ease;
}

.purchase__footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;                        /* direkt unter der letzten Zeile */
  width: 100%;                      /* volle Breite der Link‑Box */
  height: 3px;
  background: #425bce;
  transform-origin: right center;   /* Animation startet rechts */
  transform: scaleX(1);             /* Linie ist voll dargestellt */
  transition: transform 0.5s ease;  /* animiere die Skalierung */
}

.purchase__footer a:hover {
  color: #0f214f;
}

.purchase__footer a:hover::after {
  transform-origin: left center;    /* beim Zurückskalieren die linke Seite fixieren */
  transform: scaleX(0);             /* skaliere die Linie auf 0 – animiert verschwindet sie von rechts nach links */
}


/* Tablet */
@media screen and (max-width: 1024px) {
  .purchase__footer_headline {
    font-size: 40px;
	width: 100%;
  }

  .purchase__footer {
    margin-bottom: 150px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .purchase__footer_headline {
    font-size: 30px;
  }

  .purchase__footer {
    margin-bottom: 100px;
    padding: 0;
  }
}

/* Steps */

.page_buy::after,
.page_foerderung::after,
.page_way::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  z-index: -2;
  background: #ececec;
}
.steps {
  padding-bottom: 100px;
  counter-reset: stepCounter;
}
.steps__title::before {
  counter-increment: stepCounter;
  content: counter(stepCounter);
  display: block;
  width: 80px;
  height: 105px;
  color: #0f214f;
  font-size: 150px;
  letter-spacing: 0.83px;
  text-transform: uppercase;
  position: absolute;
  top: 10px;
  left: 0;
}
.steps__step:nth-child(1) .steps__title::before,
.steps__step:nth-child(2) .steps__title::before {
  transform: scaleY(1.2);
  transform-origin: top;
}
.steps__step:nth-child(6) .steps__title::before {
  top: 28px;
}
.steps__title {
  color: #425bce;
  font-size: 50px;
  line-height: 60px;
  max-width: 350px;
  padding-bottom: 40px;
  position: relative;
  min-height: 160px;
  padding-left: 100px;
  display: flex;
  align-items: flex-end;
}
.steps__title_invert {
  color: #0f214f;
}
.steps__title_invert::before {
  color: #425bce;
}

.steps__step {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}
.steps__step_reverse {
  flex-direction: row-reverse;
  position: relative;
}
.steps__content,
.steps__image {
  width: 50%;
  position: relative;
}
.steps__image {
  text-align: center;
}
.steps__image img {
  max-width: 100%;
}
.steps__image_big img {
  width: calc(100% + 95px);
  max-width: calc(100% + 95px);
  margin-left: -95px;
}
.steps__step_reverse .steps__image_big img {
  margin-right: -95px;
  margin-left: 0;
}

.steps__content {
  padding-left: 140px;
  padding-right: 0;
}
.steps__step_reverse .steps__content {
  padding-right: 140px;
  padding-left: 0;
}

.steps__text {
  font-family: "GT Super Text Book";
  font-size: 18px;
  line-height: 30px;
}

/* 404 */

.page_404 .main {
  background: url(../img/404-bg.jpg) center no-repeat;
  background-size: cover;
}
.page_404 .main__content {
  padding: 0 10%;
  max-width: 1200px;
  text-align: center;
}
.page_404 .main .button {
  margin: 0 auto;
}

/* Popup */

.popup__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh + 140px);
  transform: translateY(-70px);
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh + 70px);
  padding: 15px;
  padding-bottom: calc(15px + 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  z-index: 1001;
  opacity: 0;
}
.popup__box {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 880px;
  background: #fff;
  box-shadow: 0 0 12px 1px rgba(93, 93, 93, 0.15);
  padding: 40px 120px;
  border-radius: 5px;
  z-index: 1001;
  left: -10px;
}
@media (pointer: coarse) {
  .popup__box {
    left: 0;
  }
}

.popup__close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 24px;
  height: 24px;
  margin: 10px;
  padding: 0px;
  cursor: pointer;
}
.popup__close-icon {
  transition: all 0.3s;
  position: relative;
  height: 100%;
  padding: 10px;
}
.popup__close-icon:after,
.popup__close-icon:before {
  content: "";
  display: block;
  width: 140%;
  left: -20%;
  position: absolute;
  top: 50%;
  height: 2px;
  background: #ffffff;
}
.popup__close-icon:after {
  transform: translateY(-50%) rotate(45deg);
}
.popup__close-icon:before {
  transform: translateY(-50%) rotate(-45deg);
}
.popup__close:hover .popup__close-icon {
  transform: scale(0.8);
}

#video .popup__box {
  padding: 0;
  max-width: 960px;
}
.popup__video {
  width: 100%;
  height: 540px;
  margin-bottom: -9px;
}

/* Responsive */

@media screen and (max-width: 1535px) {
  .lastprojects {
    padding: 140px 0px 200px;
  }

  .page_referencedetail .bigimage__title h1 {
    margin-left: 100px;
  }
}

@media screen and (max-width: 1395px) {
  .consulting {
    align-items: flex-start;
  }
  .consulting__description {
    border-left: 1px solid#a6adbe;
  }
  .consulting__person {
    border-right: none;
  }
}

@media screen and (max-width: 1365px) {
  .head__title {
    font-size: 100px;
    line-height: 110px;
  }

  .instagram {
    display: block;
    text-align: center;
  }
  .instagram__separ {
    display: block;
    margin: 30px auto;
  }

  .order {
    padding: 130px 150px 150px;
  }
}

/* iPad Pro, Laptops */

@media screen and (max-width: 1279px) {
  section,
  footer,
  .container,
  .menu__body {
    max-width: 1024px;
    padding: 0 30px;
  }

  .main__content {
    padding-left: 200px;
  }

  .menu__block {
    padding: 80px 50px;
  }
  .menu__item {
    font-size: 46px;
    padding: 24px 0;
  }

  .intro__item_text {
    padding: 0 65px;
  }

  .lastprojects {
    padding: 100px 0px 100px;
  }
  .lastprojects__slider {
    width: calc(100% + 60px);
    margin-left: -30px;
  }
  .lastprojects__title {
    font-size: 70px;
    line-height: 75px;
  }

  .consulting__item {
    padding: 50px 70px;
  }
  .consulting__description {
    padding-right: 20px;
  }
  .consulting__person {
    padding-left: 40px;
  }
  .consulting__person-photo {
    height: 285px;
  }

  .projectlist__overview {
    padding: 0 30px;
    max-width: 1024px;
    padding-top: 80px;
  }

  .about__item_1 .about__content {
    padding: 0 20px 0 70px;
  }
  .about__item_2 .about__content {
    padding: 0 70px 0 20px;
  }
  .about__image {
    min-height: 800px;
  }

  .footer__subscribe {
    width: 280px;
  }

  .head__title {
    font-size: 90px;
    line-height: 100px;
  }
  .head__text {
    font-size: 21px;
  }
  .head__info {
    padding-top: 60px;
  }

  .page_planing .head__title {
    max-width: 82%;
  }

  .head_contacts .head__title {
    font-size: 60px;
    line-height: 65px;
  }

  .head_second::after,
  .page_contacts .location::before {
    left: 30px;
    right: 30px;
  }

  .card_special .card__title {
    font-size: 42px;
    line-height: 42px;
  }
  .card__property b {
    width: 110px;
  }
  .card_big .card__description {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 30px;
  }
  .card_big .card__info {
    padding: 25px 5%;
  }
  .referencelist .card__info {
    padding: 50px 4% 40px;
  }

  .bigimage__slider .slick-arrow {
    width: 42px;
    height: 42px;
    background-size: unset;
  }
  .bigimage__slider .slick-next {
    right: 30px;
  }
  .bigimage__slider .slick-prev {
    left: 30px;
  }

  .page_referencedetail .bigimage__title {
    font-size: 60px;
    line-height: 65px;
  }
  .page_referencedetail .bigimage__title h1 {
    max-width: 730px;
  }

  .projectdetail__item_intro .projectdetail__content {
    padding-top: 0;
    padding-left: 0;
  }
  .projectdetail__item_advantages img {
    margin-right: 0;
  }
  .projectdetail__item_advantages .projectdetail__content {
    padding-right: 80px;
  }
  .projectdetail__item_advantages .projectdetail__text {
    padding-bottom: 100px;
  }
  .projectdetail__item_about .projectdetail__content {
    padding-left: 80px;
  }
  .projectdetail__item_about .projectdetail__text {
    padding-bottom: 50px;
  }

  .order {
    padding: 130px 100px 150px;
  }
  .order .form__group-selects {
    width: 52%;
  }
  .order .form__group-chekboxes {
    width: 44%;
  }

  .page_job .table {
    padding-bottom: 40px;
  }

  .location__text {
    padding-right: 10%;
  }

  .map {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .page_blog .blog__title {
    padding-bottom: 100px;
  }

  .article {
    max-width: 820px;
  }
  .head_article .head__title {
    font-size: 60px;
    line-height: 65px;
  }

  .aboutus__content {
    padding-right: 80px;
  }
  .services__content {
    padding-left: 80px;
  }
  .team {
    padding-bottom: 100px;
  }

  .steps__step_reverse .steps__content {
    padding-right: 60px;
  }
  .steps__content {
    padding-left: 60px;
  }
}

/* iPad */

@media screen and (max-width: 1023px) {
  section,
  footer,
  .container,
  .menu__body,
  .article {
    max-width: 768px;
  }

  .intro {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .intro__item_3 {
    display: none;
  }
  .intro__item_text {
    width: 64%;
    padding: 0 0 0 45px;
  }
  .intro__title {
    font-size: 60px;
    line-height: 65px;
  }

  .lastprojects__head {
    margin-bottom: -30px;
  }
  .lastprojects__slider {
    width: 70%;
    margin-left: -34px;
  }
  .lastprojects__slider .slick-list {
    overflow: visible;
  }
  .lastprojects__slider::after,
  .lastprojects__slider::before {
    display: none;
  }
  .lastprojects__slider .slick-next {
    right: -42%;
  }
  .lastprojects__slider .slick-prev {
    left: 10%;
  }
  .lastprojects__slider .slick-center .photo {
    opacity: 0.85;
  }

  .consulting {
    display: block;
  }
  .consulting__item {
    width: 100%;
    padding: 50px 0;
  }
  .consulting__description {
    border-left: none;
  }
  .consulting__description-title {
    max-width: 100%;
  }
  .consulting__person-photo {
    width: 100%;
    margin-left: 0;
    height: 300px;
  }
  .consulting__person-text {
    width: 100%;
  }
  .consulting__person-name {
    max-width: 100%;
  }

  .vorsorge__about {
	padding-bottom: 140px;
}

.projectlist__overview {

    max-width: 768px;
  }

 

  .project__data__title {
   max-width: 768px;
  }

  .project__data__content {
    max-width: 768px;
    width: 50%;
	padding-top: 50px;
  padding-right: 60px;
  }


  .project__data--right .project__data__content {
    padding-left: 60px;
  }

  .project__data--left, .project__data--right {
    padding-bottom: 80px;
  }


 .wohnflaeche-table {
    width: 100%;
  }

  .project__data__image {
    width: 50%;
    position: relative; /* damit das Photo-Wrapper relativ zu ihm ist */
    min-height: auto;
  }

  .project__data__photo {
    position: relative;
    height: auto; /* Höhe nach Bild-Innenmaß */
    overflow: visible;
  }

  /* falls das img selbst noch krumm liegt: */
  .project__data__photo .photo {
    position: static;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .about__item {
    display: block;
  }

  .about__image {
    width: 100%;
    min-height: 500px;
  }
  .about__item_1 .about__photo {
    width: calc(100% + (100vw - 100%));
    right: calc((100vw - 100%) / 2 * -1);
  }
  .about__item_2 .about__photo {
    width: calc(100% + (100vw - 100%));
    left: calc((100vw - 100%) / 2 * -1);
  }
  .about .about__content {
    width: 100%;
    padding: 70px 0 100px;
  }
  .about__item_2 .about__title-number {
    font-size: 180px;
    line-height: 80px;
    left: 0;
    padding-right: 20px;
  }

  .blog {
    padding-top: 100px;
  }
  .blog__list {
    width: calc(100% + 60px);
    margin-left: -30px;
  }
  .blog__item {
    padding: 0 30px;
  }
  .blog__item-image {
    margin-top: 45px;
  }

  .footer__menu {
    display: none;
  }
  .footer__adress {
    font-size: 20px;
    line-height: 26px;
  }
  .footer__subscribe-form {
    margin-bottom: 36px;
  }
  .footer__logo {
    margin-top: 70px;
  }

  .up {
    width: 45px;
    height: 45px;
  }

  .head__title {
    font-size: 66px;
    line-height: 80px;
  }
  .head__text {
    font-size: 15px;
    line-height: 24px;
  }
  .head__info {
    padding-top: 40px;
  }
  .head__count {
    font-size: 24px;
  }

  .head_small .head__title {
    font-size: 40px;
    line-height: 50px;
  }
  .head_small .head__info {
    padding-top: 50px;
  }

  .head_medium .head__title {
    font-size: 60px;
    line-height: 65px;
  }

  .page_planing .head__title {
    max-width: 100%;
  }

  .head_contacts {
    display: block;
  }
  .head_contacts .head__title {
    width: 80%;
    padding-bottom: 0;
    font-size: 60px;
    line-height: 65px;
  }
  .head_contacts .head__info {
    width: 100%;
    justify-content: flex-start;
  }

  .head_second {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .bigimage__sticker {
    right: 8%;
  }

  .projectlist {
    grid-gap: 30px;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 100px;
  }
  .card_big {
    grid-column: span 2;
  }
  .card_big .card__image {
    width: 50%;
    padding-bottom: 44%;
  }
  .card_big .card__info {
    width: 50%;
  }
  .card_big .card__title {
    font-size: 24px;
    line-height: 32px;
  }
  .card_special .card__title {
    font-size: 44px;
    line-height: 44px;
  }
  .projectlist_filter {
    padding-bottom: 60px;
  }
  .pagenav {
    padding-bottom: 100px;
  }
  .projectlist_filter .card:last-child {
    display: none;
  }
  .referencelist .card__info {
    padding: 50px 8% 40px;
  }

  .projectdetail__item_intro .projectdetail__image {
    padding-right: 45px;
  }
  .projectdetail__item_intro .projectdetail__text {
    padding-bottom: 40px;
  }
  .projectdetail__item_intro .projectdetail__content {
    padding-bottom: 70px;
  }
  .projectdetail__item_advantages .projectdetail__content {
    padding-right: 20px;
  }
  .projectdetail__item_advantages .projectdetail__text {
    padding-bottom: 0 !important;
  }
  .projectdetail__image_small {
    display: none;
  }
  .projectdetail__item_about .projectdetail__title {
    padding-top: 0;
    max-width: 250px;
  }
  .projectdetail__item_about .projectdetail__content {
    padding-left: 45px;
  }
  .projectdetail__item_about .projectdetail__text {
    padding-bottom: 0px;
  }

  .projectinfo__about {
    font-size: 26px;
    line-height: 36px;
  }
  .projectinfo__details {
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
  }

  .page_referencedetail .bigimage__title {
    font-size: 45px;
    line-height: 50px;
  }
  .page_referencedetail .projectdetail__content {
    padding-bottom: 0;
  }

  .order {
    padding: 100px 70px;
  }
  .order .button:not(.form__selectfile-button) {
    margin-top: 50px;
  }
  .order .form__group {
    display: block;
  }
  .order .form__group-selects,
  .order .form__group-chekboxes {
    width: 100%;
  }
  .order .form__select {
    margin-bottom: 20px;
  }

  .location {
    padding-top: 120px;
  }
  .location__text {
    padding-right: 0;
  }

  .table__filter {
    padding-top: 55px;
  }
  .table__filter .form__select {
    width: 23%;
  }
  .tablesorter-header,
  .tablesorter-headerDesc,
  .tablesorter-headerAsc {
    background-position: top 14px right 10px;
  }
  .tables__hide {
    display: none;
  }

  .page_job .table {
    padding-top: 80px;
  }

  .text__subtitle {
    width: 35%;
  }
  .text__content {
    width: 65%;
  }

  .head_article .head__title {
    font-size: 50px;
    line-height: 55px;
  }
  .article__share {
    padding: 30px 0;
  }

  .aboutus {
    padding-top: 30px;
  }
  .aboutus,
  .services {
    align-items: flex-start;
  }
  .aboutus__title,
  .services__title {
    font-size: 40px;
    line-height: 40px;
    padding-bottom: 36px;
  }
  .aboutus__text p:not(:last-child),
  .services__text p:not(:last-child) {
    padding-bottom: 30px;
  }
  .aboutus__content {
    padding-right: 45px;
  }
  .services__content {
    padding-left: 45px;
  }
  .blockquote__text {
    font-size: 40px;
    line-height: 50px;
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 45px;
  }

  .steps {
    padding-bottom: 50px;
  }
  .steps__title {
    font-size: 40px;
    line-height: 40px;
    min-height: 124px;
    padding-left: 65px;
  }
  .steps__title::before {
    font-size: 100px;
    height: 70px;
  }
  .steps__step:nth-child(6) .steps__title::before {
    top: 24px;
  }

  .page_404 .main__title {
    font-size: 56px;
    line-height: 65px;
  }

  .popup__box {
    padding-left: 40px;
    padding-right: 40px;
  }
  .popup__video {
    height: 430px;
  }
}

@media screen and (max-width: 767px) {
  .lastprojects__slider .slick-prev {
    left: -42%;
  }
}

/* Landscape */

@media screen and (max-height: 800px) {
  .menu__block {
    padding: 60px 100px 14px;
  }
  .menu__item {
    padding: 35px 0;
    font-size: 70px;
  }
  .menu__after {
    padding-top: 50px;
  }
}

/* Phones */

@media screen and (max-width: 767px) {
  section,
  footer,
  .container,
  .menu__body,
  .article {
    max-width: 414px;
    padding: 0 30px;
  }

  .projectlist.active {
    display: block !important;
  }
  .logo {
    margin-left: 0 !important;
  }
  .article__share {
    padding: 30px 0 60px;
  }

  .button {
    height: 40px;
    min-width: 187px;
    padding: 0 24px;
  }

  .header {
    height: 85px;
  }
  .logo img {
    width: 85px;
  }
  .logo__dark {
    width: 110px !important;
  }
  .header.fixed img {
    width: 75px !important;
  }

  .burger {
    width: 24px;
    height: 16px;
  }
  .burger__line {
    height: 2px;
  }

  .scroll_disable {
    overflow: hidden;
  }
  .menu__block {
    padding: 50px 0;
  }
  .menu__body {
    margin: 0 auto;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .menu__item {
    font-size: 25px;
    padding: 8px 0;
  }
  .menu__after {
    padding-top: 50px;
  }
  .menu__social {
    grid-gap: 24px;
  }
  .menu__social img {
    width: 20px;
  }
  .menu-button__text {
    display: none;
  }
  .close {
    width: 14px;
    height: 14px;
    top: 30px;
    right: 30px;
  }

  .main__content {
    padding-left: 50px;
  }
  .main__title,
  .page_404 .main__title {
    font-size: 30px;
    line-height: 40px;
  }
  .main__scroll-text {
    display: none;
  }
  .main__contacts {
    width: 44px;
    height: 104px;
    padding: 12px;
  }
  .main__contacts-item {
    margin-bottom: 8px;
  }

  .intro {
    padding-top: 50px;
    padding-bottom: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .intro__item_1 {
    width: 60%;
  }
  .intro__item_3 {
    width: 25%;
    display: block;
  }
  .intro__item_text {
    order: 3;
    width: 100%;
    padding: 35px 0 0 0;
  }
  .intro__title {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 16px;
  }
  .intro__text {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 16px;
  }

  .lastprojects {
    padding: 50px 0px 50px;
  }
  .lastprojects__head {
    margin-bottom: -20px;
  }
  .lastprojects__title {
    font-size: 50px;
    line-height: 50px;
  }
  /*.lastprojects__slider {width: 110%; margin-left: -34px;}*/
  .lastprojects__slider {
    width: 100%;
    margin-left: 0px;
  }
  .lastprojects__slider .slick-slide {
    margin: 0 10px;
  }
  .lastprojects__slider::after {
    display: block;
  }
  .lastprojects__projectname {
    font-size: 18px;
    line-height: 22px;
  }
  .lastprojects__number {
    bottom: 7px;
  }
  .lastprojects__description {
    padding: 0 0 0 56px;
  }
  .lastprojects__button {
    margin-left: 30px;
  }

  .consulting__item {
    padding: 0 0 50px;
  }
  .consulting__person {
    padding-bottom: 20px;
  }
  .consulting__description-title {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 20px;
  }
  .consulting__description-text {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 20px;
  }
  .consulting__description-contacts a,
  .consulting__person-name {
    font-size: 15px;
  }
  .consulting__person-name {
    padding-left: 33px;
  }
  .consulting__person-photo {
    height: 200px;
    margin-bottom: 35px;
  }
  .consulting__person-text {
    font-size: 19px;
    line-height: 23px;
    padding-bottom: 20px;
  }

  .vorsorge__about {
	padding-bottom: 80px;
}

  .projectlist__overview {
    padding: 0 30px;
    max-width: 414px;
    padding-top: 50px;
  }

  .project__data {
   display: block;
  }

  .project__data__content, .project__data__image {
    width: 100%;
    padding: 0;
    }

  .project__data__image {
    min-height: 320px;
  }

  .project__data__title {
    font-size: 30px;
    line-height: 40px;

  }

  .project__data__text {
    font-size: 16px;
    line-height: 25px;
  }

.project__data--right .project__data__content {
    padding-left: 0;
  }
 

  .about__image {
    min-height: 320px;
  }
  .about__title {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 22px;
  }
  .about__text {
    font-size: 16px;
    line-height: 25px;
  }
  .about .about__content {
    padding: 50px 0;
  }
  .about__item_1 .about__content {
    padding-bottom: 70px;
  }
  .about__item_2 .about__title-number {
    font-size: 150px;
    padding-right: 10px;
  }
  .about__item_2 .about__text {
    padding-bottom: 20px;
  }
  .about__item_2 .about__title {
    max-width: 300px;
  }

  .blog {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .blog__alllink {
    display: none;
  }
  .blog__title {
    font-size: 80px;
  }
  .blog__list {
    display: block;
    width: 100%;
    margin-left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
  .blog__item {
    width: 100%;
    border: none !important;
  }
  .page_blog .blog {
    padding-top: 130px;
  }
  .page_blog .blog__title {
    padding-bottom: 70px;
  }
  .page_blog .blog__list {
    border: none;
  }
  .page_blog .blog__item {
    margin-bottom: 100px;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  .page_blog .blog__alllink {
    display: flex;
    top: -30px;
  }

  .head_article .head__title {
    font-size: 30px;
    line-height: 35px;
  }
  .article {
    padding-top: 50px;
    font-size: 16px;
    line-height: 25px;
  }
  .article h2 {
    font-size: 30px;
    line-height: 40px;
    padding-top: 20px;
  }
  .article__intro {
    font-size: 18px;
    line-height: 25px;
  }
  blockquote {
    padding: 0 10px 40px 10px;
    font-size: 19px;
    line-height: 25px;
  }
  blockquote .author {
    font-size: 15px;
    line-height: 20px;
  }
  .article__image {
    margin-top: 10px;
    margin-bottom: 60px;
  }
  .article__images {
    display: block;
  }
  .article__images .article__image {
    width: 100%;
  }

  .instagram__title {
    font-size: 40px;
  }
  .instagram__link {
    font-size: 26px;
  }

  .footer {
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .footer__logo,
  .footer__contacts b {
    display: none;
  }
  .footer__adress {
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    padding-bottom: 8px;
  }
  .footer__contacts p {
    padding-bottom: 0;
    text-align: center;
  }
  .footer__button {
    min-width: 100px;
    margin: 16px auto 40px;
  }
  .footer__subscribe {
    width: 100%;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
  }
  .footer__subscribe-title {
    max-width: 200px;
    margin: 0 auto;
  }
  .form__input {
    font-size: 16px !important;
  }
  .footer__subscribe-form .form__button {
    width: 34px;
    height: 34px;
  }
  .footer__social {
    margin: 0 auto;
  }

  .up {
    right: -100%;
  }

  .head {
    display: block;
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .head__title,
  .head_medium .head__title {
    width: 100%;
    font-size: 50px;
    line-height: 50px;
    padding-bottom: 20px;
  }
  .head__text {
    width: 100%;
    font-size: 18px;
    line-height: 25px;
  }
  .head__info {
    padding-top: 30px;
  }
  .head__count {
    font-size: 14px;
    line-height: 20px;
  }
  .button_map,
  .button_filter,
  .button_file {
    width: 200px;
  }
  .button_filter,
  .button_file {
    margin-bottom: 20px;
  }
  .page_filter .head__info-left {
    display: block;
  }

  .head_small {
    padding-bottom: 0;
  }
  .head_small .head__title {
    font-size: 30px;
    line-height: 40px;
  }
  .head_small .head__info {
    flex-wrap: wrap;
    padding-top: 24px;
  }
  .head_small .head__item {
    margin-bottom: 30px;
    width: 50%;
    max-width: 50%;
  }

  .head_notext .head__title {
    width: 100%;
  }

  .head_contacts .head__title {
    font-size: 50px;
    line-height: 45px;
    width: 100%;
    padding-bottom: 20px;
  }

  .head_second {
    padding-top: 50px;
  }

  .page_planing .head {
    padding-bottom: 25px;
  }

  .page_buy .head__title br {
    display: none;
  }

  .projectlist {
    display: block;
    padding-bottom: 30px;
  }
  .card {
    margin-bottom: 30px;
  }
  .card__title {
    min-height: auto;
    margin-bottom: 20px;
  }
  .card__description {
    display: none;
  }
  .projectlist_filter {
    padding-bottom: 0;
  }
  .projectlist_filter .card:last-child {
    display: block;
  }
  .pagenav {
    padding-bottom: 60px;
  }

  .page_reference .head__info {
    display: none;
  }
  .referencelist .card {
    margin-bottom: 30px;
  }
  .referencelist .card__info {
    padding: 30px;
  }
  .referencelist .card__title {
    max-width: 250px;
  }

  .filter {
    padding: 55px 0 55px 30px;
  }
  .filter__title {
    font-size: 25px;
    padding-bottom: 20px;
  }
  .filter__body {
    height: calc(100vh - 55px);
    overflow-y: auto;
    padding-right: 30px;
    padding-bottom: 60px;
  }
  .filter__buttons {
    display: block;
  }
  .filter__buttons .button {
    width: 100%;
    margin-bottom: 20px;
  }

  .bigimage__image {
    padding-bottom: 60%;
  }
  .bigimage__slider .slick-arrow {
    background-color: rgba(255, 255, 255, 0);
  }
  .bigimage__slider .slick-next {
    right: 10px;
  }
  .bigimage__slider .slick-prev {
    left: 10px;
  }

  .page_planing .bigimage__image {
    padding-bottom: 85%;
  }
  .bigimage__sticker {
    width: 180px;
    height: 180px;
    top: -36px;
    font-size: 30px;
    line-height: 30px;
  }
  .bigimage__sticker:before {
    top: 36px;
  }
  .bigimage__sticker:after {
    bottom: 36px;
  }

  .page_referencedetail .bigimage__slider .bigimage__image {
    padding-bottom: 108%;
  }
  .page_referencedetail .bigimage__title {
    font-size: 30px;
    line-height: 40px;
  }
  .page_referencedetail .bigimage__title h1 {
    margin-left: 0;
  }
  .page_referencedetail .bigimage__slider .slick-dots {
    padding-top: 0;
    margin-top: -40px;
  }
  .page_referencedetail .head {
    padding-top: 30px;
  }
  .page_referencedetail .projectdetail {
    padding-bottom: 0;
    margin-bottom: 70px;
  }

  .projectdetail {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .projectdetail__last {
    padding-bottom: 60px !important;
  }
  .projectdetail__item {
    display: block;
  }
  .projectdetail__content,
  .projectdetail__image {
    width: 100%;
  }
  .projectdetail__title {
    font-size: 30px;
    padding-bottom: 20px;
  }
  .projectdetail__text {
    font-size: 16px;
    line-height: 25px;
  }
  .projectdetail__quote {
    font-size: 19px;
    line-height: 23px;
  }
  .projectdetail__person {
    font-size: 15px;
    padding-left: 33px;
  }
  .projectdetail__item_intro .projectdetail__content {
    padding-bottom: 80px;
  }
  .projectdetail__item_intro .projectdetail__image {
    padding-right: 0;
    padding-bottom: 30px;
    width: 70%;
  }
  .projectdetail__item_advantages img {
    margin-top: 0;
    margin-bottom: 30px;
  }
  .projectdetail__item_about .projectdetail__content {
    padding-left: 0;
  }
  .projectdetail__image_small {
    display: block;
    float: none;
    margin: 0;
  }
  .projectdetail__item_about .projectdetail__image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
  }
  .projectdetail__item_about .projectdetail__image img {
    width: 73%;
  }
  .projectdetail__item_about
    .projectdetail__image
    img.projectdetail__image_small {
    width: 20%;
  }

  .projectinfo {
    padding-top: 70px;
    padding-bottom: 0;
  }
  .projectinfo__about {
    padding-bottom: 70px;
    font-size: 18px;
    line-height: 25px;
    text-align: left;
  }
  .projectinfo__details {
    display: block;
    height: auto;
    margin-bottom: 70px;
  }
  .projectinfo__image {
    padding-bottom: 65%;
    margin-bottom: 20px;
  }
  .projectinfo__advantages {
    padding-bottom: 70px;
  }
  .projectinfo__advantages .projectinfo__title {
    padding-bottom: 30px;
  }
  .projectinfo__list {
    column-count: unset;
    font-size: 16px;
    line-height: 25px;
  }

  .order {
    padding: 80px 30px;
    width: calc(100% + 60px);
    margin-left: -30px;
  }
  .order .form__title {
    font-size: 30px;
    line-height: 40px;
    text-align: left;
    padding-bottom: 50px;
  }
  .order .form__radiogroup {
    width: 100%;
    justify-content: flex-start;
  }
  .order .form__radiogroup .form__radio_label {
    margin-right: 40px;
    font-size: 16px;
  }
  .order .form__input#name {
    width: 100%;
  }
  .order .form__group {
    display: flex;
  }
  .order .form__group-selects,
  .order .form__group-chekboxes {
    display: block;
  }
  .order .form__group-selects {
    width: 50%;
  }
  .order .form__group-chekboxes {
    width: 40%;
  }
  .order .form__select {
    width: 100%;
  }
  .order .form__chekbox_label {
    margin-bottom: 8px;
  }
  .order .form__select:last-child,
  .order .form__chekbox_label:last-child {
    margin-bottom: 0;
  }
  .order .form__text {
    font-size: 14px;
    line-height: 20px;
  }
  .order .form__selectfile-count {
    font-size: 16px;
  }
  #privacy ~ .form__chekbox_label {
    line-height: 16px;
  }
  #privacy ~ .form__chekbox_label:before,
  #privacy ~ .form__chekbox_label:after {
    top: -2px;
  }

  .location {
    padding-top: 100px;
  }
  .location__head {
    display: block;
  }
  .location__title {
    width: 100%;
    font-size: 40px;
    line-height: 40px;
    padding-bottom: 30px;
  }
  .location__text {
    width: 100%;
    font-size: 16px;
    line-height: 25px;
  }
  .location__legend {
    position: static;
    transform: none;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
  }
  .location__legend li {
    width: 50%;
  }

  .page_contacts .location__info {
    width: 225px;
    padding: 20px;
    bottom: 20px;
  }

  .map__objects {
    height: 500px;
  }

  .video__image {
    padding-bottom: 100%;
  }

  .list li {
    padding-left: 40px;
    padding-bottom: 18px;
  }
  .list li::before {
    width: 22px;
    height: 18px;
    background-size: contain;
  }

  .table {
    display: block;
  }
  .table__title {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 30px;
  }
  .table__filter {
    padding-top: 15px;
    padding-bottom: 0;
    display: none;
  }
  .table__filter .form__select {
    width: 100%;
    margin-bottom: 15px;
  }
  .form__select .form__input {
    font-size: 11px !important;
  }
  .table__body {
    padding-top: 30px;
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .tablesorter-header,
  .tablesorter-headerDesc,
  .tablesorter-headerAsc {
    background: none;
  }
  .tables__pc {
    display: none;
  }
  .tables__mob {
    display: block;
  }
  .tables th {
    padding: 10px;
  }
  .tables td {
    font-size: 13px;
    padding: 12px 10px;
  }
  .tables a.download-link {
    font-size: 0;
    padding-left: 15px;
  }
  .download-link::before {
    left: 10px;
  }

  .page_job .table {
    padding-top: 60px;
  }
  .page_job .table__body {
    padding-top: 0;
  }

  .contactus__title {
    padding-bottom: 30px;
  }
  .contactus__link {
    font-size: 26px;
    line-height: 40px;
    padding-bottom: 0;
  }

  .page_buy .contactus {
    padding-top: 80px;
  }

  .text {
    padding-top: 130px;
    padding-bottom: 30px;
  }
  .text__title {
    font-size: 30px;
    line-height: 30px;
    padding-bottom: 80px;
  }
  .text__subtitle {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
  }
  .text__content {
    width: 100%;
    font-size: 14px;
    line-height: 25px;
  }
  .text__content p {
    padding-bottom: 24px;
  }

  .aboutus {
    padding-top: 0;
    padding-bottom: 50px;
  }
  .aboutus,
  .services {
    display: block;
  }
  .aboutus__image {
    width: 67%;
    padding-bottom: 40px;
  }
  .services__image {
    width: 70%;
    padding-bottom: 40px;
  }
  .aboutus__content,
  .services__content {
    width: 100%;
    padding: 0;
  }
  .aboutus__title,
  .services__title {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 20px;
    max-width: 250px;
  }
  .aboutus__text,
  .services__text {
    font-size: 16px;
    line-height: 25px;
  }
  .aboutus__text p:not(:last-child),
  .services__text p:not(:last-child) {
    padding-bottom: 20px;
  }
  .services,
  .blockquote,
  .team {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .blockquote__text {
    font-size: 30px;
    line-height: 40px;
  }
  .blockquote__author {
    margin-top: 40px;
  }

  .team {
    display: block;
  }
  .team__card {
    margin-bottom: 30px;
  }
  .team__post {
    padding-bottom: 20px;
  }
  .team__info {
    display: block;
    min-height: auto;
  }

  .steps {
    padding-bottom: 0;
  }
  .steps__step {
    display: block;
    margin-bottom: 70px;
  }
  .steps__content {
    width: 100%;
    padding: 0 !important;
  }
  .steps__text {
    font-size: 16px;
    line-height: 25px;
  }
  .steps__title {
    font-size: 30px;
  }
  .steps__image {
    width: 100%;
    padding-bottom: 40px;
    text-align: left;
  }
  .steps__image img {
    max-width: 70%;
  }
  .steps__image_big img {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .page_404 .main {
    height: 100vh;
    min-height: 400px;
  }

  .popup__box {
    padding-left: 10px;
    padding-right: 10px;
  }
  .popup__video {
    height: 220px;
  }

  .projectinfo__last {
    padding-bottom: 70px !important;
  }

  .menu__links {
    display: block;
  }

  .social img {
    width: 23px;
  }

  .blog {
    padding-top: 60px;
  }
  .blog__title {
    font-size: 30px;
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 370px) {
  .menu__body {
    padding: 0 25px;
  }

  .projectinfo__data {
    padding: 30px;
  }

  .page_contacts .location__info {
    transform: translateX(12px);
  }
}

@media screen and (max-width: 350px) {
  section,
  footer,
  .container,
  .menu__body {
    padding: 0 15px;
  }

  .main__content {
    padding-left: 50px;
  }

  .menu__item {
    font-size: 22px;
  }

  .head_second::after,
  .page_contacts .location::before {
    left: 15px;
    right: 15px;
  }

  .blog__item-title {
    font-size: 22px;
  }

  .table__body {
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .tables th {
    padding: 10px 0 10px 10px;
  }
  .tables td {
    font-size: 12px;
  }

  .order {
    padding: 80px 15px;
    width: calc(100% + 30px);
    margin-left: -15px;
  }

  .location__legend {
    letter-spacing: 1px;
  }
  .page_contacts .location__info {
    width: 215px;
    padding: 15px;
  }
}

/* Phones Landscape */

@media screen and (max-height: 414px) and (max-width: 800px) {
  .header__container,
  .menu__body {
    max-width: 768px;
  }

  .main__scroll {
    display: none;
  }

  .lastprojects {
    max-width: 414px;
    padding: 50px 0;
    position: relative;
  }
  .lastprojects::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    left: calc((100% - 100vw) / 2);
    z-index: -1;
    background: #0f214f;
  }
  .lastprojects__slider::after,
  .lastprojects__slider::before {
    display: none;
  }
  .lastprojects__slider .slick-next {
    right: -22%;
  }

  .bigimage__slider .slick-arrow {
    width: 42px;
    height: 42px;
    background-size: unset;
    background-color: #425bce;
  }
  .bigimage__slider .slick-next {
    right: 30px;
  }
  .bigimage__slider .slick-prev {
    left: 30px;
  }

  .page_referencedetail .bigimage__slider .bigimage__image {
    padding-bottom: 50%;
  }

  .projectinfo {
    padding-bottom: 100px;
  }
  .order {
    padding: 80px 60px;
    width: calc(100% + 120px);
    margin-left: -60px;
  }

  .video__image {
    padding-bottom: 50%;
  }

  .page_planing .bigimage__limit {
    max-height: 440px;
  }

  .map__objects {
    width: calc(100vw - 60px);
    margin-left: calc((((100vw - 100%) / 2) - 30px) * -1);
  }

  .popup__video {
    height: 360px;
  }
}

@media screen and (max-height: 414px) and (max-width: 640px) {
  .lastprojects__slider .slick-next {
    right: -16%;
  }
}

@media screen and (max-height: 414px) and (max-width: 568px) {
  .lastprojects__slider .slick-next {
    right: -10%;
  }
}

/* iPhone 10 Landscape */

@media screen and (max-height: 375px) and (min-width: 800px) {
  .main__title,
  .page_404 .main__title {
    font-size: 40px;
    line-height: 45px;
  }
  .main__scroll {
    display: none;
  }
}

/************  scale   *************/
.main-body {
  position: relative;
  height: 200vh;
}
.main-body__promo {
  position: relative;
  height: 120vh;
}
.scale {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  top: 0px;
  left: 0px;
  z-index: 1001;
  opacity: 1;
  visibility: visible;
  transition: transform 0.8s, opacity 0.5s, visibility 0s;
}
.scale.active {
  transform: scale(4);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s, opacity 0.8s, visibility 1s;
}
.scale.active {
  transform: scale(4);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s, opacity 0.8s, visibility 1s;
}

.scale.hidden {
  display: none;
}
.scale .main__scroll {
  z-index: 1000;
}

.scale svg {
  position: relative;
  z-index: 999;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transform: scale(8);
  transform-origin: center;
}

.pin-spacer {
  z-index: 9999 !important;
  overflow: hidden !important;
}
.scale-top {
  position: absolute;
  width: 100%;
  height: 30%;
  left: 0px;
  top: 0px;
  background-color: rgb(66, 91, 206);
}
.scale-bottom {
  position: absolute;
  width: 100%;
  height: 30%;
  left: 0px;
  bottom: 0px;
  background-color: rgb(66, 91, 206);
}
.scale-left {
  position: absolute;
  width: 30%;
  height: 100%;
  left: 0px;
  bottom: 0px;
  background-color: rgb(66, 91, 206);
}
.scale-right {
  position: absolute;
  width: 30%;
  height: 100%;
  right: 0px;
  bottom: 0px;
  background-color: rgb(66, 91, 206);
}
@media (max-width: 1600px) {
  .scale svg {
    transform: scale(10);
  }
}
@media (max-width: 1420px) {
  .scale svg {
    transform: scale(12);
  }
}
@media (max-width: 1320px) {
  .scale svg {
    transform: scale(13);
  }
}
@media (max-width: 1220px) {
  .scale svg {
    transform: scale(14);
  }
}
@media (max-width: 1100px) {
  .scale svg {
    transform: scale(15);
  }
}
@media (max-width: 1010px) {
  .scale svg {
    transform: scale(18);
  }
}
@media (max-width: 760px) {
  .scale {
    display: none;
  }
  .scale svg {
    transform: scale(40);
  }
  .scale.active {
    transform: scale(3);
  }
  .scale.active {
    transform: scale(3);
  }
  .scale .main__scroll-text {
    display: block;
  }
}

.main-body {
  position: relative;
  height: 150vh;
}
.main-body__promo {
  position: relative;
  height: 120vh;
}
.main-content {
  position: relative;
  z-index: 800;
  background-color: white;
}
.main-promo {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 100;
  visibility: visible;
  opacity: 1;
}
.main-promo.active {
  visibility: hidden;
  opacity: 0;
}

.flex,
.flex-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  justify-content: center;
}

.checkbox {
  display: block;
}

.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
  display: none;
}

.checkbox.error span {
  color: red;
}

.checkbox span {
  position: relative;
  display: inline-block;
  padding-left: 34px;
  cursor: pointer;
  color: #eeebe3;
  font-size: 18px;
  line-height: 20px;
}

.checkbox span a,
.main-order__checkbox span a {
  color: #50535c;
  text-decoration: underline;
}

.checkbox span:after,
.checkbox span:before {
  content: "";
  position: absolute;
  transition: all 0.3s;
}

.checkbox.error span:before {
  border-color: red;
}

.checkbox span:before {
  display: block;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 1px solid #eeebe3;
}

.checkbox span:after {
  top: 2px;
  left: 2px;
  width: 15px;
  height: 14px;
  transform: scale(0);
  z-index: 1;
  background-image: url(../img/icons/checkbox.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.checkbox input[type="checkbox"]:checked + span:before,
.checkbox input[type="radio"]:checked + span:before {
  background-color: #f9f9f9;
}

.checkbox input[type="checkbox"]:checked + span:after,
.checkbox input[type="radio"]:checked + span:after,
.main-order__checkbox input[type="checkbox"]:checked + span:after {
  transform: scale(1);
}

.coocies {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 900;
  padding: 30px 0;
  background-color: #425bce;
  color: #eeebe3;
  font-size: 18px;
  line-height: 21px;
  transform: translateY(110%);
  transition: all 0.5s;
}

.coocies.active {
  transform: translateY(0);
  transition: all 0.5s;
}

.coocies a {
  color: inherit;
  text-decoration: underline;
}

.coocies a:hover {
  text-decoration: none;
}

.coocies__left {
  width: 555px;
}

.coocies__desc {
  max-width: 450px;
}

.coocies__subdesc {
  font-size: 14px;
  margin-top: 10px;
}

.coocies__checkboxs {
  margin-top: 22px;
  margin-bottom: 15px;
}

.coocies__btn {
  width: 315px;
}

.coocies__btn + .coocies__btn {
  margin-left: 20px;
}

@media (max-width: 1362px) {
  .coocies__checkboxs {
    margin-top: 20px;
  }

  .coocies__right {
    flex-wrap: wrap;
    width: 350px;
    margin-top: 0;
  }

  .coocies__btn + .coocies__btn {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 1010px) {
  .coocies__wrap {
    flex-wrap: wrap;
  }

  .coocies__left {
    width: 100%;
  }

  .coocies__desc {
    max-width: 100%;
  }

  .coocies__checkboxs {
    margin-top: 20px;
  }

  .coocies__right {
    flex-wrap: wrap;
    width: 100%;
    margin-top: 18px;
  }

  .coocies__btn {
    width: calc(50% - 10px);
  }

  .coocies__btn + .coocies__btn {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .coocies {
    padding: 33px 0;
  }

  .coocies__checkboxs {
    flex-wrap: wrap;
    margin-top: 23px;
    padding-left: 12px;
  }

  .coocies__checkboxs .checkbox + .checkbox {
    margin-top: 24px;
  }

  .coocies__right {
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
  }

  .coocies__btn,
  .coocies__checkboxs .checkbox {
    width: 100%;
  }

  .coocies__btn + .coocies__btn {
    margin-left: 0;
    margin-top: 15px;
  }
}
