/*
	Theme Name: SKV Immobilien
	Author: Komplizen GmbH
    Version: 1.0
	Author URI: http://komplizen.ch
*/
/* fonts */
@font-face {
  font-family: "Effra";
  src: url("assets/fonts/Effra_W_Bd.woff2") format("woff2"), url("assets/fonts/Effra_W_Bd.woff") format("woff");
  /* Pretty Modern Browsers */
  font-weight: 700;
}
@font-face {
  font-family: "Effra";
  src: url("assets/fonts/Effra_W_Rg.woff2") format("woff2"), url("assets/fonts/Effra_W_Rg.woff") format("woff");
  /* Pretty Modern Browsers */
  font-weight: 400;
}
/* global styles */
* {
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*:after, *:before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  font-family: "Effra", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  /* 28.8px */
  letter-spacing: 0.5px;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.image-full {
  overflow: hidden;
  margin: 40px 0;
  height: 60vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.block {
  display: inline-block;
  width: 100%;
  margin: 40px auto;
  display: block;
}
.block__container {
  max-width: 1620px;
  margin: 0 auto;
  padding-left: 6vw;
  padding-right: 6vw;
}
@media screen and (max-width: 768px) {
  .block__container {
    padding-left: 25px;
    padding-right: 25px;
  }
}
.block__group-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .block__group-wrapper {
    gap: 15px;
  }
}
@media screen and (max-width: 768px) {
  .block__group-wrapper {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media screen and (max-width: 480px) {
  .block__group-wrapper {
    gap: 50px;
  }
}

h1 {
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 67.2px */
  letter-spacing: 1.6px;
  margin: 0;
}
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }
}
@media screen and (max-width: 768px) {
  h1 {
    word-break: break-word;
    -ms-hyphens: auto;
        hyphens: auto;
  }
}

h2 {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 48px */
  letter-spacing: 1.2px;
  margin: 0;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 24px;
  }
}

h3 {
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 36px */
  letter-spacing: 0.9px;
  margin: 0;
}
@media screen and (max-width: 768px) {
  h3 {
    font-size: 20px;
  }
}

.rubric {
  color: #8BCBB7;
  leading-trim: both;
  text-edge: cap;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 24px */
  letter-spacing: 0.6px;
  margin: 0 0 10px;
}
@media screen and (max-width: 480px) {
  .rubric {
    font-size: 16px;
  }
}

.lead {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 33.6px */
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1024px) {
  .lead {
    font-size: 18px;
  }
}

.text-content a {
  color: #8BCBB7;
  text-decoration: none;
  font-weight: 700;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.text-content a:hover {
  color: #667785;
}

.columns--2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.columns--2 p {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .columns--2 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .columns--2 p {
    width: 100%;
  }
}

.col__4 {
  width: calc(25% - 15px);
}
@media screen and (max-width: 1440px) {
  .col__4 {
    width: calc(50% - 15px);
  }
}
@media screen and (max-width: 480px) {
  .col__4 {
    width: 100%;
  }
}
.col__8 {
  width: 66.6666666667%;
}
@media screen and (max-width: 1024px) {
  .col__8 {
    width: 100%;
  }
}

.text {
  margin-top: 160px;
}
@media screen and (max-width: 768px) {
  .text {
    margin-top: 80px;
  }
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 6vw;
}

::-moz-selection {
  background-color: #8BCBB7;
}

::selection {
  background-color: #8BCBB7;
}

header {
  position: absolute;
  z-index: 1;
  width: 100%;
}
header .header__container {
  max-width: 1620px;
  margin: 0 auto;
  padding-left: 6vw;
  padding-right: 6vw;
}
header .header__inner {
  padding: 50px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 480px) {
  header .header__inner {
    padding: 20px 0;
  }
}
header .logo {
  display: block;
  width: 200px;
}
@media screen and (max-width: 480px) {
  header .logo {
    width: 120px;
  }
}
header .contact {
  display: block;
  width: 30px;
  height: 18.75px;
  background-image: url("images/contact.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
header .contact:hover {
  background-image: url("images/contact-hover.svg");
}
@media screen and (max-width: 1024px) {
  header .contact {
    display: none;
  }
}

.main-navigation ul#menu {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}
.main-navigation ul#menu li.menu-item {
  list-style: none;
}
.main-navigation ul#menu li.menu-item.mobile-only {
  display: none;
}
@media screen and (max-width: 1024px) {
  .main-navigation ul#menu li.menu-item.mobile-only {
    display: block;
  }
}
.main-navigation ul#menu li.menu-item a {
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.main-navigation ul#menu li.menu-item a:hover {
  color: #667785;
}
@media screen and (max-width: 1024px) {
  .main-navigation ul#menu li.menu-item a {
    font-size: 36px;
    color: #001B35;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation ul#menu li.menu-item {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation ul#menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: auto;
    width: 66.6666666667%;
  }
  .main-navigation ul#menu::before {
    content: "";
    position: absolute;
    top: 20vh;
    left: -14vw;
    width: 28vw;
    height: 28vw;
    border-radius: 28vw;
    border: 5.5vw solid #001B35;
  }
  .main-navigation ul#menu::after {
    content: "";
    position: absolute;
    bottom: 20vh;
    right: 10vw;
    width: 28vw;
    height: 28vw;
    border-radius: 28vw;
    border: 5.5vw solid #001B35;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation {
    display: none;
  }
  .main-navigation.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    height: 100vh;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #8BCBB7;
  }
}

.burger .line {
  display: none;
  width: 30px;
  height: 1px;
  background-color: #000;
  margin: 8px 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
  .burger .line {
    display: block;
  }
}

.burger.active .line:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
          transform: translateY(9px) rotate(45deg);
}

.burger.active .line:nth-child(2) {
  opacity: 0;
}

.burger.active .line:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
          transform: translateY(-9px) rotate(-45deg);
}

footer {
  background: #efefef;
  padding: 80px 0 0;
  font-size: 16px;
  line-height: 160%;
  position: relative;
}
@media screen and (max-width: 768px) {
  footer .block__group-wrapper {
    gap: 0;
  }
}
footer::after {
  content: "";
  position: absolute;
  top: -230px;
  right: 12vw;
  width: 300px;
  height: 300px;
  border-radius: 300px;
  border: 54px solid #8BCBB7;
}
@media screen and (max-width: 1024px) {
  footer::after {
    top: -20vw;
    width: 28vw;
    height: 28vw;
    border-radius: 28vw;
    border: 5.5vw solid #8BCBB7;
  }
}
footer .page-footer {
  margin-bottom: 40px;
}
footer .copyright {
  padding: 15px 6vw;
  background: #001B35;
  color: #ffffff;
}
footer .copyright__inner {
  max-width: 1620px;
  margin: 0 auto;
}

.main .image-full:last-child {
  margin-bottom: 0;
}

.fade-in {
  opacity: 0;
  -webkit-transform: translateY(50px);
          transform: translateY(50px);
  -webkit-transition: opacity 0.8s ease-out, -webkit-transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, -webkit-transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, -webkit-transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}