/* Allgemein */
@font-face {
  font-family: 'Nunito Sans';
  src: url('fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #FFFEF9;
}

main {
  display: flex;
  min-height: 100vh;
  flex-wrap: nowrap;
  width: 100%;
}

.home main {
  height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 36px;
  line-height: 44px;
  margin-top: 10px;
}

.home h1 {
  margin-bottom: 0;
}

h2 {
  font-size: 27px;
  line-height: 28px;
  margin: 40px 0 20px;
}

h3 {
  font-size: 21px;
  line-height: 28px;
  margin: 25px 0 10px;
}

body,
p {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  margin-top: 0;
}

.content_footer {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 20px;
  font-size: 14px;
  display: flex;
  gap: 20px;
  line-height: 21px;
}

a:not(.btn):not(.cst_link) {
  color: #2a544a;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

a:not(.btn):not(.cst_link)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #d0d9cf;
  transition: width 0.3s ease, left 0.3s ease;
}

a:not(.btn):not(.cst_link):hover::after,
a:not(.btn):not(.cst_link):active::after,
a:not(.btn):not(.cst_link):focus::after {
  width: 100%;
  left: 0;
}

.coming_soon_info {
  font-size: 20px;
  margin: 15px 0 30px;
}

.content {
  flex: 0 1 55%;
  max-width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image {
  flex: 1 0 45%;
  max-width: 45%;
}

.content_wrapper {
  padding: 100px 40px 160px 100px;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
}

.content_header img {
  width: 180px;
  height: 100%;
}

/* Icons */
.contact_info {
  display: flex;
  gap: 7px;
  align-items: center;
  line-height: 26px;
}

.contact_info:first-of-type {
  margin-top: 10px;
}

.contact_info:not(:last-of-type) {
  margin-bottom: 6px;
}

/* Button */
.contact_info:not(:first-of-type) {
  max-width: max-content;
  position: relative;
}

.contact_info:not(:first-of-type)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #d0d9cf;
  transition: width 0.3s ease, left 0.3s ease;
}

.contact_info:not(:first-of-type):hover::after {
  width: 100%;
  left: 0;
}

.content_info {
  max-width: 430px;
}

.content_info a:not(.btn) {
  color: #2a544a;
  text-decoration: none;
  font-weight: 500;
}

.content_info a:not(.btn):hover,
.content_info a:not(.btn):active,
.content_info a:not(.btn):focus {
  transition: color 0.3s ease;
}

.content_info .btn {
  color: #2a544a;
  padding: 15px 30px;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  background: transparent;
  transition: color 0.3s ease;
  font-weight: 700;
  margin-top: 25px;
  text-transform: uppercase;
  font-size: 16px;
  display: inline-block;
}

.content_info .btn::before,
.content_info .btn::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #d0d9cf;
  border-style: solid;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.content_info .btn::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  border-radius: 20px 0 0 0;
}

.content_info .btn::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 20px 0;
}

.content_info .btn:hover::before,
.content_info .btn:hover::after,
.content_info .btn:active::before,
.content_info .btn:active::after,
.content_info .btn:focus::before,
.content_info .btn:focus::after {
  width: 100%;
  height: 100%;
}

.content_info .btn:hover,
.content_info .btn:active,
.content_info .btn:focus {
  color: #3d5a4a;
}

.contact_title {
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 20px;
}

/* Legal Seiten */

.legal a {
  word-break: break-all;
}

.legal_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 110px;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider_track {
  width: 100%;
  height: 100%;
}

.slider_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider_slide.active {
  opacity: 1;
}

.slider_arrow {
  position: absolute;
  right: 50px;
  bottom: 60px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 60px;
  height: auto;
  font-size: 155px;
  color: #d0d9cf;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s ease;
  line-height: 60px;
}

.slider_arrow:hover {
  opacity: 1;
}

/* Responsiveness */
@media screen and (max-width: 1024px) {
  .content,
  .image {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 992px) {
  main,
  .home main {
    height: auto;
    min-height: calc(100vh - 61px);
    flex-wrap: wrap;
    align-content: start;
  }
  .legal main {
    align-content: space-between;
  }
  .content {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
  }
  .image {
    flex: 0 0 100%;
    max-width: 100%;
    height: 400px;
  }
  .content_wrapper {
    padding: 60px 20px;
  }
  .content_footer {
    position: relative;
  }
  .legal_content {
    padding: 40px 20px 20px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 33px;
    line-height: 40px;
    margin-top: 10px;
  }
  .content_wrapper {
    padding: 40px 20px;
  }
  .content_header img {
    width: 150px;
    height: 100%;
  }
  .image {
    height: 340px;
  }
  .slider_arrow {
    position: absolute;
    right: 40px;
    bottom: 20px;
    width: 40px;
    height: auto;
    font-size: 105px;
    line-height: 60px;
  }
  .coming_soon_info {
    margin: 20px 0;
  }
  .contact_info {
    align-items: start;
  }
  .contact_info svg {
    margin: 5px 0 0;
  }
}
