* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

figure img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
}

a {
  text-decoration: none;
}


/* ------------------------------------------------ */

/*	!Animationen	*/

/* ------------------------------------------------ */

a {
  transition: color .1s ease;
}

@keyframes showPulldown {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ------------------------------------------------ */

/*	!Fonts	*/

/* ------------------------------------------------ */

/* pt-serif-regular - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/pt-serif-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/pt-serif-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* pt-serif-700 - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/pt-serif-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/pt-serif-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-700 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ------------------------------------------------ */

/*  !Vars  */

/* ------------------------------------------------ */

:root {
  --green-light: #D2DED3;
  --olive: #6b8e85;
  --orange: #e19014;
  --red: #e84a5c;
  --white: #ffffff;
}

/* ------------------------------------------------ */

/*	!Body	*/

/* ------------------------------------------------ */

body {
  font-family: 'Source Sans Pro';
  font-weight: 400;
  color: var(--white);
  background: var(--green-light);
  line-height: 1.4;
  font-size: 16px;
}


/* ------------------------------------------------ */

/*  !Container  */

/* ------------------------------------------------ */

.container {
  max-width: 1280px;
  padding: 0 40px;
  margin: 0 auto;
}

.w-small {
  max-width: 1000px;
}

@media screen and (max-width: 639px) {
  .container {
    padding: 0 24px;
  }
}

/* ------------------------------------------------ */

/*  !Header  */

/* ------------------------------------------------ */

header {
  position: relative;
  padding: 24px 0 24px 0;
  z-index: 10;
}

header .logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

header .logo a {
  display: block;
  width: 155px;
  height: 155px;
  text-indent: -99999px;
  background-image: url('../images/layout/logo.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  flex-shrink: 0;
}

header .logo-text ul {
  text-align: right;
}

.logo-text li:first-child {
  font-family: 'PT Serif';
  color: var(--red);
  font-size: 125%;
  font-weight: 700;
  letter-spacing: 0.10rem;
  text-transform: lowercase;
}

.logo-text li:last-child {
  color: var(--orange);
  font-size: 125%;
  font-weight: 400;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
}

/* Navigation */
header nav {
  display: flex;
  justify-content: flex-end;
}

header nav > ul {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,190px));
  column-gap: 2px;
}

header nav > ul > li {
  position: relative;
  
}

header nav > ul > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  color: var(--orange);
  background-color: var(--white);
  font-size: 93.75%;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05rem;
}

header nav a:hover {
  color: var(--red);
}

.submenu {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 24px 0;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transform-origin: top left;
  background-color: var(--white);
  box-shadow: 0 1px 8px hsla(125, 58%, 28%, 0.1);
}

.submenu.active {
  animation: showPulldown .1s .1s ease-in forwards;
}

.submenu li {
  padding: 8px 0;
}

.submenu a {
  color: var(--orange);
  font-size: 93.75%;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05rem;
}

@media screen and (max-width: 639px) {
  
  header {
    padding: 24px 0 40px 0;
  }
  
  header .logo {
    flex-direction: column;
  }
  
  header .logo a {
    margin-bottom: 16px;
  }
  
  header .logo-text ul {
    text-align: center;
  }
  
  header nav {
    display: block;
  }
 
  header nav > ul {
    grid-template-columns: repeat(1,minmax(0,1fr));
    row-gap: 1px;
  }
  
  .submenu {
    position: relative;
    display: none;
    transform: none;
    left: auto;
    top: auto;
    border-top: 1px solid var(--green-light);
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
    width: calc(100% - 24px);
  }
  
  .submenu.active {
    animation: none;
    opacity: 1;
    visibility: visible;
    display: block;
  }
  
  .submenu li {
    background-color: var(--white);
    padding: 0;
    margin-bottom: 1px;
  }
  
  .submenu li:last-child {
    margin: 0;
  }
  
  .submenu a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
  }
}

/* ------------------------------------------------ */

/*	!Zitat	*/

/* ------------------------------------------------ */

.zitat {
  padding: 80px 0 40px 0;
  color: var(--orange);
  background-color: var(--white);
}

.zitat p:first-child {
  font-family: 'PT Serif';
  font-size: 225%;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.zitat p:last-child {
  margin: 0;
  font-size: 112.5%;
  text-transform: uppercase;
}

.zitat + .text {
  padding: 0 0 80px 0;
}

/* ------------------------------------------------ */

/*	!Text	*/

/* ------------------------------------------------ */

.text {
  color: var(--olive);
  background-color: var(--white);
  padding: 80px 0;
  font-size: 18px;
  line-height: 1.5;
}

.text a {
  color: var(--red);
}

strong {
  font-weight: 700;
}

.text p, .text ul {
  margin-bottom: 24px;
}

.text ul li {
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 12px;
  background-image: url('/resources/images/layout/bullet.svg');
  background-repeat: no-repeat;
  background-position: 0 12px;
}

.text h1 {
  font-family: 'PT Serif';
  font-size: 225%;
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 400;
}

.text h2 {
  font-family: 'PT Serif';
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.text h3 {
 font-family: 'PT Serif';
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

/* ------------------------------------------------ */

/*	!Heroimage	*/

/* ------------------------------------------------ */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.image {
  position: relative;
  text-align: center;
  background-color: var(--olive);
}

.image figure {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  max-height: 620px;
}

.image figure::after {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}

.image figure.active {
  visibility: visible;
  opacity: 1;
  animation: fadeIn .5s ease-out;
}

.image figure img {
  max-width: 100%;
  height: auto;
}

@keyframes loader {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-top: 4px solid var(--orange);
  border-right: 4px solid var(--green-light);
  border-bottom: 4px solid var(--red);
  border-left: 4px solid var(--green-light);
  transform: translate(-50%, -50%);
  animation: loader 1s linear infinite;
}

/* ------------------------------------------------ */

/*	!Footer	*/

/* ------------------------------------------------ */

footer {
  background-color: var(--olive)
}

footer > .container {
  display: flex;
  justify-content: space-between;
  padding: 80px 40px;
}

footer .content {
  font-size: 106.25%;
}

footer span {
  display: inline-block;
  width: 56px;
  font-weight: 700;
  text-transform: uppercase;
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--green-light);
}

footer ul:nth-child(2) {
  margin-bottom: 24px;
}

footer ul:nth-child(1) li:nth-child(1) {
  font-family: 'PT Serif';
  font-size: 125%;
  text-transform: lowercase;
  letter-spacing: .15rem;
}

footer .logo {
  width: 100px;
  height: 100px;
  background-image: url('../images/layout/logo.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  text-indent: -99999px;
}

@media screen and (max-width: 639px) {
  footer > .container {
    flex-direction: column;
    justify-content: center;
    padding: 80px 24px;
  }
  
  footer .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  footer .content ul {
    text-align: center;
  }
  
  footer .content ul:nth-child(3) {
    margin-bottom: 40px;
  }
  
  footer .content ul:nth-child(3) li {
    margin-bottom: 8px;
  }
  
  footer .logo {
    margin-inline: auto;
  }
  
  footer span {
    display: block;
    margin: 0 auto 0 auto;
  }
}

/* ------------------------------------------------ */

/*	!Legal	*/

/* ------------------------------------------------ */

.legal {
  padding: 20px 0;
}

.legal ul {
  display: flex;
  justify-content: flex-end;
}

.legal ul li:last-child {
  margin-left: 20px;
}

.legal a {
  color: var(--olive);
}

.legal a:hover, .legal a:active {
  color: var(--red);
}


/* ------------------------------------------------ */

/*  !Consent-Overlay + -Modal  */

/* ------------------------------------------------ */


/* Animation */
@keyframes slideIn {
  
  0% {
  visibility: hidden;
  transform: translateY(-100%);
  }

  100% {
  visibility: visible;
  transform: translateY(0);
  }
}

/* Styles */

.consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 24px;
  min-height: 100vh;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  overflow-y: scroll;
  z-index: 20;
}

.consent-modal {
  color: var(--olive);
  background: var(--white);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.4;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .3);
  visibility: hidden;
  transform: translateY(-100%);

  /* Animation Modal */
  animation: slideIn .3s ease-out 1s forwards;
}

.consent-modal-inner {
  padding: 40px;
}

.consent-modal-inner h3 {
  font-size: 150%;
  margin-bottom: 20px;
  font-weight: 600;
}

.consent-modal-inner p {
  font-size: 100%;
  line-height: 1.6;
  margin-bottom: 40px;
}

.consent-modal-inner p a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.consent-modal-inner ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.consent-modal-inner ul:last-child {
  margin: 0;
}

.consent-modal-inner ul li:first-child {
  margin-right: 20px;
}

.consent-btns a {
  color: var(--white);
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  transition: background-color .1s ease, border-color .1s ease;
  white-space: nowrap;
}

.consent-btns a:hover, #consent-btn-primary:hover {
  color: var(--white);
  background-color: var(--olive);
  border-color: var(--olive);
}

#consent-btn-primary {
  color:#323B45;
  background-color: var(--white);
  border: 1px solid var(--olive);
}

@media screen and (max-width: 840px) {
  .consent-modal {
  margin: 0 auto;
  }
}


@media screen and (max-width: 560px) {
  .consent-modal-inner ul {
  display: block;
  }

  .consent-modal-inner ul li:first-child {
  margin: 0 0 10px 0;
  }

  .consent-btns a {
  display: block;
  width: 100%;
  }
}

@media screen and (max-width: 414px) {
  .consent-overlay {
  padding: 0 10px 10px 10px;
  }

  .consent-modal {
  margin: 0 auto;
  }
}
