body {
  color: #333;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.hero-image {
  background-image: none;
  background-position: 0 0;
  background-size: auto;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  display: flex;
}

.hero-textblock {
  z-index: 3;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  inset: 0%;
}

.inner-textblock {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 495px;
  display: flex;
}

.crc-logo {
  width: 330px;
}

.hero-rubrik {
  color: #fff;
  letter-spacing: -2px;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 40px;
  font-size: 110px;
  font-weight: 700;
  line-height: 120px;
}

.hero-rubrik.small {
  display: none;
}

.hero-button {
  color: #fff;
  background-color: #0000;
  border: 2px solid #fff;
  height: auto;
  padding: 9px 31px;
  font-size: 20px;
  font-weight: 700;
}

.hero-button:hover {
  color: #000;
  background-color: #fff;
  transform: translate(0, -2px);
}

.hero-bg-video {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.section {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 85px 0 96px;
  display: flex;
}

.section.grey {
  background-color: #f1f1f1;
}

.rubrik-2 {
  text-align: center;
  letter-spacing: -2px;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 15px;
  font-size: 62px;
  font-weight: 200;
  line-height: 66px;
}

.grid {
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  max-width: 1440px;
  min-height: auto;
  margin-top: 8px;
  margin-bottom: 8px;
}

.box-1 {
  letter-spacing: -1px;
  background-color: #fff;
  border: 1px #e9e9e9;
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 400px;
  padding: 35px;
  font-size: 46px;
  line-height: 50px;
  display: flex;
  box-shadow: 1px 1px 3px #f1f1f1;
}

.box-1.image1 {
  background-image: url('../images/imge2.jpg');
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: 66.6%;
  background-attachment: fixed;
}

.box-1.mark {
  background-image: linear-gradient(#ffffffb8, #ffffffb8), url('../images/IMG_1978.JPG');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, 540px;
  transition: background-color .4s;
}

.box-1.mark:hover {
  background-image: linear-gradient(#fff3, #fff3), url('../images/IMG_1978.JPG');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, 540px;
}

.box-1.grunder {
  background-image: linear-gradient(#ffffffb8, #ffffffb8), url('../images/grund.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  transition: background-color .4s;
}

.box-1.grunder:hover {
  background-image: linear-gradient(#fff3, #fff3), url('../images/grund.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}

.box-1.grey {
  color: #fff;
  background-color: #5a5a5a;
  text-decoration: none;
}

.box-1.grey:hover {
  color: #333;
  background-color: #cf0;
}

.video-grid {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  display: grid;
}

.container {
  width: 100%;
  max-width: 1440px;
  padding-left: 25px;
  padding-right: 25px;
}

.hero-fallback-image {
  z-index: 0;
  background-image: url('../images/hero-bg.jpg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.ingress {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  line-height: 27px;
}

.intro-block {
  flex-direction: column;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
  display: flex;
}

.grid-kontakt {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  grid-auto-columns: 1fr;
  grid-auto-flow: row;
  width: 100%;
  max-width: 700px;
  min-height: auto;
  margin: 8px auto;
  display: grid;
}

.kontakt-box {
  box-shadow: none;
  text-align: center;
  letter-spacing: -1px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 100px;
  padding: 0 30px;
  font-size: 18px;
  line-height: 20px;
  display: flex;
}

.team-image {
  filter: grayscale();
  border-radius: 50%;
  width: 280px;
  margin-bottom: 15px;
}

.team-image:hover {
  filter: none;
}

.team-text {
  color: #333;
  padding-bottom: 4px;
  text-decoration: none;
}

.team-text.bold {
  font-weight: 600;
}

.gallery {
  padding-top: 100px;
  padding-bottom: 100px;
}

.centered-container {
  text-align: center;
  flex: 1;
}

.gallery-grid-container {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  grid-template: "."
                 "."
                 / 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-self: center;
  height: 100vh;
  margin-top: 40px;
  display: grid;
}

.gallery-lightbox {
  position: relative;
  overflow: hidden;
}

.gallery-thumbnail {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
}

.footer {
  color: #fff;
  background-color: #000;
  justify-content: center;
  width: 100%;
  padding: 25px 20px;
  display: flex;
}

.footer-text {
  text-align: left;
  font-size: 13px;
}

.footer-text.right {
  text-align: right;
}

.hero-overlay {
  z-index: 2;
  background-color: #0003;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.footer-grid {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  max-width: 1440px;
  padding-left: 25px;
  padding-right: 25px;
  display: grid;
}

@media screen and (max-width: 991px) {
  .hero-rubrik {
    padding-bottom: 10px;
    font-size: 60px;
    line-height: 71px;
  }

  .grid {
    max-width: 100%;
  }

  .box-1.image1 {
    background-image: url('../images/imge1.jpg');
    background-size: 99%;
  }

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

  .intro-block {
    width: 100%;
  }

  .team-image {
    width: 250px;
  }

  .gallery-grid-container {
    align-self: stretch;
  }
}

@media screen and (max-width: 767px) {
  .hero-image {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    height: 90vh;
    overflow: hidden;
  }

  .inner-textblock {
    width: 95%;
    height: 470px;
    padding-bottom: 60px;
  }

  .hero-rubrik {
    letter-spacing: -1px;
    padding-bottom: 25px;
    font-size: 46px;
    line-height: 51px;
  }

  .hero-rubrik.small {
    text-align: center;
    font-size: 35px;
    line-height: 39px;
    display: block;
  }

  .hero-rubrik.big {
    display: none;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .rubrik-2 {
    padding-bottom: 25px;
    font-size: 45px;
    line-height: 53px;
  }

  .box-1 {
    text-align: center;
    min-height: 140px;
    font-size: 37px;
    line-height: 40px;
  }

  .hero-fallback-image {
    display: none;
  }

  .kontakt-box {
    padding-left: 9px;
    padding-right: 9px;
  }

  .gallery {
    padding: 40px 20px;
  }

  .gallery-grid-container {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

@media screen and (max-width: 479px) {
  .hero-image {
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
  }

  .inner-textblock {
    padding-bottom: 58px;
  }

  .crc-logo {
    width: 280px;
  }

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

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .rubrik-2 {
    font-size: 35px;
    line-height: 37px;
  }

  .box-1 {
    min-height: 120px;
    font-size: 29px;
  }

  .box-1.image1 {
    background-image: url('../images/imge1.jpg');
    background-position: 50% 100%;
    background-size: cover;
    background-attachment: scroll;
    min-height: 240px;
  }

  .kontakt-box {
    padding-left: 10px;
    padding-right: 10px;
  }

  .centered-container {
    text-align: left;
  }

  .gallery-grid-container {
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    grid-template-rows: auto auto auto auto auto;
    grid-template-columns: 1fr;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

#w-node-ed4d7b7e-244c-f85a-90c3-ab16ac7b25bd-4578b25e {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-_33e2cbf4-6018-6822-3999-fd96de5b0296-4578b25e {
  grid-area: span 2 / span 2 / span 2 / span 2;
}

#w-node-b1e46670-bb2f-552b-829b-a511c3ee738e-4578b25e {
  grid-area: 3 / 3 / 5 / 5;
}

#w-node-a81c29eb-f434-18b0-f45c-17d18aee5ee5-4578b25e {
  grid-area: span 2 / span 2 / span 2 / span 2;
}

@media screen and (max-width: 479px) {
  #w-node-ed4d7b7e-244c-f85a-90c3-ab16ac7b25bd-4578b25e {
    grid-area: 1 / 1 / 2 / 3;
  }

  #w-node-b1e46670-bb2f-552b-829b-a511c3ee738e-4578b25e {
    grid-area: 5 / 1 / 7 / 3;
  }
}


