@font-face {
  font-family: "Roboto Flex";
  src: url("../fonts/RobotoFlex.ttf") format("truetype");
}

strong {
  font-weight: 1000;
}

.link-blocks {
  font-variation-settings: "opsz" 8, "GRAD" 150;
  font-weight: 165;
  line-height: 1.4;
  font-size: 2.2rem;
}

.link-block p.headline {
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-size: 3.6rem;
}

h1.hyphenate {
  font-variation-settings: "opsz" 8;
  font-weight: 232;
  font-stretch: 96%;
  letter-spacing: 0.065em;
}



:root {
  --headline-color: #c4b5a1;
  --white: #fff;
  --primary: #00848b;
  --secondary: #c4b5a1;
  --secondary: rgb(196, 181, 161);
  --black: #333;
}

html {
  color: var(--black);
}

body {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 150;
  font-variation-settings: "opsz" 8;
}

header {
  background-color: var(--white);
  /* min-height: 20rem; */
  position: unset;
  /* -ms-flex-wrap: wrap;
      flex-wrap: wrap; */
  position: relative;
  z-index: 10;
  gap: 2rem;
  padding-bottom: 2rem;
}

header .logo {
  flex-shrink: 1;
  display: block;
  padding: 3.5rem 0 0 0;
}

header .logo .desktop-logo {
  position: relative;
}

header .logo .desktop-logo .signet {
  position: absolute;
  left: -11rem;
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  width: calc(100% - 0.5rem);
  height: calc(100% - 0.5rem);
}

header .logo img {
  max-width: 35rem;
}

.content-wrapper header {
  min-height: unset;
  margin-top: 5rem;
  margin-bottom: 2rem;
  z-index: 9;
}

header.header-wrapper {
  width: calc(100% / 12 * 10);
  margin: 0 auto;
}

footer {
  padding: 2rem calc(100% / 12);
}

input {
  border: 1px solid;
}

main {
  width: 100%;
}

main,
aside {
  /* padding: 2rem; */
}

ol, ul {
  padding-left: 2rem;
  margin-bottom: 2rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main header {
  padding: 0;
  background: none;
}

/* .lg_10 {
  max-width: 80vw;
} */

@media screen and (min-width: 1921px) {
  .lg_10 {
    max-width: 160rem;
  }

  header, footer {
    padding-left: calc((100% - 180rem) / 2);
    padding-right: calc((100% - 180rem) / 2);
  }
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.headline {
  color: var(--headline-color);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  display: block;
}

header h1 {
  text-transform: uppercase;
  font-size: 6rem;
  font-weight: 300;
}

h2:not(:first-child),
.h2:not(:first-child),
h3:not(:first-child),
.h3:not(:first-child),
h4:not(:first-child),
.h4:not(:first-child),
h5:not(:first-child),
.h5:not(:first-child),
h6:not(:first-child),
.h6:not(:first-child) {
  margin-top: 2rem;
}

.h2,
h2 {
  margin-bottom: 5rem;
  text-transform: uppercase;
  font-weight: 1000;
  font-size: 2.5rem;
}

.h3,
h3 {
  text-transform: uppercase;
  font-size: 2.5rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-10 {
  margin-top: 10rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.only_print {
  display: none;
}

.headline-context {
  width: 80%;
}

.two-line-headline {
  font-size: 5rem;
  font-weight: 400;
  color: var(--headline-color);
  text-transform: uppercase;
}

p, li {
  color: var(--secondary);
  font-size: 2.2rem;
  line-height: 3.2rem;
}

p {
  margin-bottom: 2rem;
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-secondary-light {
  /* background-color: rgb(196, 181, 161, 0.1) */
  background-color: #f9f8f5
}

.font-bold {
  font-weight: 600;
}

.flex-content {
  display: flex;
}

.flex-content.flex-wrap {
  flex-wrap: wrap;
}

.flex-content.flex-column {
  flex-direction: column;
}

.flex-content.align-center {
  align-items: center;
}

.flex-content.align-start {
  align-items: start;
}

.flex-content.justify-center {
  justify-content: center;
}

.flex-content.justify-between {
  justify-content: space-between;
}

.button {
  background-color: var(--secondary);
  color: var(--white);
  padding: 1rem 4rem;
  display: inline-block;
  border: 4px solid var(--secondary);
  transition: .2s ease all;
  -webkit-transition: .2s ease all;
  -moz-transition: .2s ease all;
  -ms-transition: .2s ease all;
  -o-transition: .2s ease all;
}

.button.white {
  background-color: var(--white);
  color: var(--secondary);
  border-color: var(--secondary);
}

.button:hover {
  text-decoration: none;
  background-color: transparent;
  color: var(--secondary);
  font-weight: bold;
}

.button.white:hover {
  border-color: var(--secondary);
  background-color: var(--secondary);
  color: var(--white)
}

footer {
  background-color: var(--primary);
  color: var(--white);
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

header .meta_panel {
  -ms-flex-item-align: end;
  align-self: flex-end;
  /* padding-bottom: 2rem; */
  /* max-width: 100rem; */
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

header nav a {
  text-transform: uppercase;
  color: var(--primary);
  font-size: 2.35rem;
  font-weight: 180;
  transition: .2s ease all;
  -webkit-transition: .2s ease all;
  -moz-transition: .2s ease all;
  -ms-transition: .2s ease all;
  -o-transition: .2s ease all;
}

@media (max-width: 1550px) and (min-width: 1025px) {
  header nav a {
    font-size: 2rem;
  }
}

header nav a:hover {
  text-decoration: none;
}

nav a[selected="selected"],
nav a.active {
  font-weight: 500;
}

nav li a:hover {
  color: var(--secondary);
}

nav ul ul {
  background-color: var(--white);
  left: -2rem;
  padding: 2rem;
  transition: all .3s ease;
}

nav li li {
  margin-top: 2rem;
}

nav li:hover>ul {
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

nav.menu_main .social_media {
  height: 27px;
  width: auto;
}

.nav_special a[href="#"],
.social_media a[href="#"] {
  display: none;
}

nav.menu_main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  min-width: 80rem;
  font-size: 2.2rem;
  letter-spacing: 0.49px;
  font-variation-settings: "opsz" 8;
  font-weight: 180;
}

nav.menu_main>ul>li:not(:first-child):before {
  content: "";
  background-color: var(--secondary);
  width: 0.5rem;
  height: 2rem;
  display: inline-block;
  border-radius: 0.5rem;
  position: absolute;
  top: 0.5rem;
  left: -2rem;
}

nav.menu_main ul li ul {
  /* position: relative; */
}

nav.menu_main ul li ul:before {
  content: "";
  background-color: var(--secondary);
  width: 0.5rem;
  height: 5.5rem;
  display: inline-block;
  border-radius: 0.5rem;
  position: absolute;
  top: -1em;
  left: 0;
  height: 0%;
  transition: all .3s ease;
}

nav.menu_main ul li:hover ul:before {
  height: calc(100% + 1em + 0.25rem);
}

nav.menu_main ul li ul>li:first-child::before {
  height: 10.2rem;
  top: -5.1rem;
}

nav.menu_main>ul>li:hover:not(:first-child)::before {
  /* height: 3rem;
  top: -16px; */
}

nav.menu_main>ul>li {
  margin: 0 2rem;
}

nav.menu_main>ul>li+li {
  /* margin-left: 0; */
}

nav.menu_main .social_media {
  height: 29px;
  width: auto;
}

.social_media img {
  max-height: 100%;
  margin: 0px 0.3rem;
  width: auto;
}

footer nav.nav_special img,
footer .footer-wrapper #footer img {
  height: 52px;
  width: auto;
}

footer nav.nav_special {
  gap: 1rem;
}

footer a {
  margin: 0;
  color: var(--white);
}

footer .footer-menu a:hover {
  text-decoration: underline !important;
}

footer .footer-wrapper #footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer .footer-wrapper #footer a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
}

footer .footer-wrapper #footer a:not(:last-child) {
  margin-right: 5rem;
}

footer .footer-wrapper #footer a img {
  margin-right: 2rem;
  transition: .2s ease all;
  -webkit-transition: .2s ease all;
  -moz-transition: .2s ease all;
  -ms-transition: .2s ease all;
  -o-transition: .2s ease all;
}

footer .footer-wrapper #footer a:hover img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}

footer .footer-wrapper #footer .contact-infos {
  display: flex;
}

footer .footer-wrapper #footer .footer-menu {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

footer .footer-wrapper #footer {
  display: flex;
  flex-direction: column;
}

.content_block+.content_block {
  margin-top: 10rem;
}

.content_block.intro+.content_block {
  /* margin-top: 0; */
}

.content_block:last-child {
  margin-bottom: 10rem;
}

.content_block .h1,
.content_block h1 {
  /* color: var(--primary); */
}

.content_block .pre-line {
  color: var(--secondary)
}

.news_box+.news_box {
  margin-top: 2rem;
}

.content-wrapper {
  margin: 0 auto;
}

/* 404 */

.errorpage {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.errorpage .h1 strong,
.errorpage h1 strong {
  font-size: 5em;
}

.errorpage img {
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.errorpage .lg_6 {
  width: calc(100% / 12 * 6);
}

.errorpage_img {
  position: relative;
  background: -o-radial-gradient(circle,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(255, 255, 255, 0) 60%);
  background: radial-gradient(circle,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(255, 255, 255, 0) 60%);
  min-height: 20rem;
  max-width: 35rem;
}

.errorpage_img .mond {
  position: absolute;
  left: 12.5%;
  top: 0%;
  z-index: 1;
  width: 40%;
  height: auto;
}

.errorpage_img .astronaut {
  position: absolute;
  right: 12.5%;
  bottom: 0%;
  z-index: 2;
  width: 40%;
  height: auto;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-animation-duration: 10s;
  animation-duration: 10s;
  -webkit-animation-name: rotate;
  animation-name: rotate;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.wrapper_content {
  margin: 0 auto;
}

.page-home .nav_breadcrumb {
  display: none;
}

.nav_breadcrumb {
  color: var(--secondary);
  margin-top: 3rem;
}

.nav_breadcrumb a {
  color: var(--secondary)
}

nav.nav_breadcrumb>ul>li+li {
  margin-left: 0;
}

nav.nav_breadcrumb>ul>li:last-child span {
  color: var(--primary);
}

.nav_breadcrumb li:not(.lpage)::before {
  content: ">";
  margin: 0 0.5rem 0 1rem;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@media only screen and (max-width: 768px) {
  .errorpage .md_12 {
    width: 100%;
  }

  .errorpage {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

/* ENDE 404 */

.form-row label {
  width: 100%;
  margin-bottom: .5rem;
}

input, textarea {
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 1rem 2rem;
  width: calc(100% - 1rem);
  font-size: 1.8rem;
  font-family: "Avenir LT", sans-serif;
  transition: .2s ease all;
  -webkit-transition: .2s ease all;
  -moz-transition: .2s ease all;
  -ms-transition: .2s ease all;
  -o-transition: .2s ease all;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

input:focus, textarea:focus,
input:hover, textarea:hover {
  border-color: var(--primary);
  outline: none;
}

input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
}

textarea {
  resize: vertical;
  min-height: 15rem;
}

.arrow_down {
  text-align: center;
  margin-top: 5rem;
}

.arrow_down img {
  cursor: pointer;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
}

.arrow_down img:hover {
  transform: translateY(25%);
}

::placeholder {
  color:
    rgba(196, 181, 161, 0.5);
  opacity: 1;
}

:-ms-input-placeholder {
  color:
    rgba(196, 181, 161, 0.5);
}

::-ms-input-placeholder {
  color:
    rgba(196, 181, 161, 0.5);
}

.content_block.block ul,
.content_block.block p {
  max-width: 1000px;
}

label {
  color: var(--secondary)
}

.swiper-container p:last-of-type {
  margin-bottom: 0rem;
}

