* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: 12px;
  scrollbar-color: var(--value_background_color_dark) #111;
}

/* For better look of the file */
:root {
  --value_background: url('/media/hintergrund_kontrastreich_gWPaVj3.jpeg');
  --value_background_color_light: #007a99;
  --value_background_color_dark: #003d4d;
}

/* Chrome, Edge, and Safari */

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #8f54a0;
  border-radius: 0px;
  border: 0px solid #ffffff;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: scroll !important;
}

.header {
  width: 100%;
  min-height: 100vh;
}

.bg {
  background: var(--value_background) no-repeat 50%;
}

.navigation {
  width: 100%;
  padding: 18px 0 18px 4px;
  text-align: left;
  background-color: #000;
  z-index: 5;
}

.navigation a {
  font-size: 20px;
  text-transform: uppercase;
  padding: 0 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 20px #000;
  transition: 0.3s;
}

.navigation a:hover {
  color: #555;
}

.nav {
  position: fixed;
  background: #000;
  text-align: left;
}

@media (max-width: 500px) {
  .navigation {
    text-align: center;
  }

  .nav {
  text-align: center;
  }
}

.box {
  height: 100vh;
  width: 100%;
  background-size: cover;
  display: table;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
}

.bg-text {
  background-color: rgb(0,0,0, 0.8);
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  padding: 20px;
  text-align: center;
}

.about {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(90deg,var(--value_background_color_light) 40%, #111 40%);
  padding: 48px 0 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .main {
  width: 1000px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.about .main img {
  height: auto;
  width: 420px;
  max-width: 100%;
  border-radius: 10px;
}

.about .main .about-text {
  width: 550px;
  max-width: 100%;
  padding: 0 20px;
}

.about .main .about-text h1 {
  color: #fff;
  font-size: 60px;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.about .main .about-text h5 {
  color: #fff;
  font-size: 25px;
  text-transform: capitalize;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.about .main .about-text p {
  color: white;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 18px;
  margin-bottom: 45px;
  text-align: justify;
}

@media screen and (max-width: 1020px) {
  .about {
    width: 100%;
    height: auto;
  }

  .about .main {
    justify-content: left;
    align-items: center;
    flex-wrap: nowrap;
  }

  .about .main .about-text h1 {
    font-size: 50px;
  }

  .about .main .about-text h5 {
    font-size: 25px;
  }

  .about .main .about-text p {
    line-height: 20px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 830px) {
  .about {
    background: #111;
  }
  .about .main {
    justify-content: center;
    align-items: space-around;
    flex-wrap: wrap;
  }
  .about .main img {
    margin-bottom: 35px;
    width: 300px;
  }
  .about .main .about-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .about .main .about-text h5 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .about .main .about-text p {
    margin-bottom: 0px;
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  position: relative;
  flex-wrap: wrap;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.container .card {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
}

.container .card .imgBox, .container .card .contentBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 2px 2px 14px 4px rgb(0,0,0);
}

.container .card .imgBox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .card .contentBox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 250, 250, 0.9);
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
  transition-delay: 0.2s;
}

.container .card:hover .contentBox::before {
  transform: scaleX(1);
  transition: transform 0.3s ease-in-out;
  transform-origin: left;
  transition-delay: 0s;
}

.container .card:hover .contentBox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .card .contentBox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .card .contentBox .content {
  position: relative;
  padding: 28px;
  z-index: 1;
  transition: 0.5s;
  transform: translateX(-400px);
  transition-delay: 0.2s;
}

.container .card:hover .contentBox .content {
  transform: translateX(0px);
  transition-delay: 0.5s;
}

.container .card .contentBox .content h2 {
  font-size: 1.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.container .card .contentBox .content p {
  font-size: 1em;
  line-height: 1.3em;
  font-weight: 300;
}

.container .card .contentBox .content a {
  font-size: 0.8em;
  line-height: 1.3em;
  font-weight: 300;
  text-decoration: none;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  animation: fadeIn ease 300ms;
}

.modal:target {
  display: flex;
}

.modal-overlay {
  width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
}

.modal-overlay a {
  height: 100%;
  display: block;
  cursor: zoom-out;
}

.modal-content {
  width: 60%;
  position: relative;
  background: #fff;
  margin: auto;
  padding: 10px 30px 0 30px;
}

@media (max-width: 750px) {
  .modal-content {
    width: 100%;
  }
  .modal-content .modal-image {
    width: 100%;
  }
}
/*
@media (min-width: 1000px) {
  .modal-content .modal-image {
    height: 420px;
  }

}*/

.modal_high .modal-content .modal-image {
  height: 80vh;
}

.modal-content header {
  display: flex;
  justify-content: space-between;
  margin: 0 -30px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-content .modal-title {
  margin-top: 0;
}

.modal-content .modal-image {
  max-width: 100%;
  overflow: hidden;
  padding-top: 20px;
}

/*body.modal-open look on bottom*/

.modal-content .modal-image img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-content .modal-image img:hover {
  cursor: pointer;
}

.modal-content .modal-description {
  max-height: 50vh;
  overflow: auto;
  color: #323232;
  line-height: 1.5;
  margin-right: -30px;
  padding: 20px 30px 0px 0;
  font-size: 18px;
}

.modal-close {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.c_section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--value_background_color_light);
}

.c_section .c_container {
  position: relative;
  min-width: 1100px;
  min-height: 700px;
  display: flex;
  z-index: 2;
}

.c_section .c_container .c_contactInfo {
  position: absolute;
  top: 38px;
  width: 350px;
  height: calc(100% - 80px);
  background: var(--value_background_color_dark);
  z-index: 1;
  padding: 38px;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.c_section .c_container .c_contactInfo h2 {
  color: rgb(250, 250, 250);
  font-size: 1.3em;
  font-weight: 800;
}

.c_section .c_container .c_contactInfo ul.c_info {
  position: relative;
  margin: 18px 0;
  padding: 0px;
}

.c_section .c_container .c_contactInfo ul.c_info li {
  position: relative;
  list-style: none;
  display: flex;
  margin: 18px 0;
  cursor: pointer;
  align-items: flex-start;
}

.c_section .c_container .c_contactInfo ul.c_info li span:nth-child(1) {
  width: 32px;
  height: 22px;
  min-width: 32px;
  max-height: 22px;
}

.c_section .c_container .c_contactInfo ul.c_info li span:nth-child(1) svg {
  min-width: 100%;
  min-height: 100%;
  filter: invert(1);
}

.c_section .c_container .c_contactInfo ul.c_info li span:nth-child(2) {
  color: rgb(250, 250, 250);
  margin-left: 10px;
  font-weight: 300;
}

.c_section .c_container .c_contactInfo ul.c_info li span {
  hyphens: auto;
}

.c_section .c_container .c_contactForm {
  position: absolute;
  padding: 68px 48px;
  padding-left: 248px;
  margin-left: 148px;
  width: calc(100% - 148px);
  height: 100%;
  background: rgb(250, 250, 250);
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
}

.c_section .c_container .c_contactForm h2 {
  color: var(--value_background_color_dark);
  font-size: 1.3em;
  font-weight: 800;
}

.c_section .c_container .c_contactForm .c_formBox {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 28px;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox {
  position: relative;
  margin-bottom: 32px;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox.w50 {
  width: 47%;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox.w100 {
  width: 100%;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox input, .c_section .c_container .c_contactForm .c_formBox .c_inputBox textarea {
  width: 100%;
  resize: none;
  padding: 4px;
  font-size: 1em;
  font-weight: 300;
  color: #111;
  border: none;
  outline: none;
  border-bottom: 1px solid #666;
  background: rgba(0, 0, 0, 0);
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox textarea {
  height: 162px;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox span {
  position: absolute;
  left: 0;
  padding-top: 4px;
  padding-left: 4px;
  pointer-events: none;
  font-size: 1.1em;
  font-weight: 300;
  transition: 0.3s;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox input:focus ~ span,
.c_section .c_container .c_contactForm .c_formBox .c_inputBox textarea:focus ~ span,
.c_section .c_container .c_contactForm .c_formBox .c_inputBox input:not(:placeholder-shown) ~ span, /* alternative for valid, see contact/forms.py */
.c_section .c_container .c_contactForm .c_formBox .c_inputBox textarea:not(:placeholder-shown) ~ span {
  transform: translateY(-30px);
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--value_background_color_light);
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox button {
  position: relative;
  cursor: pointer;
  background: var(--value_background_color_dark);
  color: rgb(250, 250, 250);
  border: none;
  width: 150px;
  max-width: 250px;
  padding: 12px;
  outline: none;
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox button:hover {
  background: var(--value_background_color_light);
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox button:active {
  border-color: rgb(0, 0, 0, 0);
}

.c_section .c_container .c_contactForm .c_formBox .c_inputBox button:focus {
  border-color: rgb(0, 0, 0, 0);
  box-shadow: 0 0 0 .15rem rgba(67, 53, 133, 0.8);
}

p.error-message {
  word-wrap: break-word;
}

@media (max-width: 1200px) {
  .c_section .c_container {
    width: 90%;
    min-width: auto;
    margin: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 1200px) {
  .c_section .c_container .c_contactInfo {
    top: 0;
    height: 500px;
    position: relative;
    box-shadow: none;
  }
}

@media (max-width: 1200px) {
  .c_section .c_container .c_contactForm {
    position: relative;
    width: calc(100% - 350px);
    padding-left: 0;
    margin-left: 0;
    padding: 40px;
    height: 550px;
    box-shadow: none;
  }
}

@media (max-width: 991px) {
  .c_section {
    background: #d4d470;
  }
}

@media (max-width: 991px) {
  .c_section::before {
    display: none;
  }
}

@media (max-width: 991px) {
  .c_section .c_container {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 991px) {
  .c_section .c_container .c_contactForm {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 991px) {
  .c_section .c_container .c_contactInfo {
    width: 100%;
    height: auto;
    flex-direction: row;
  }
}

@media (max-width: 600px) {
  .c_section .c_container .c_contactForm {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .c_section .c_container .c_contactForm {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .c_section .c_container .c_contactForm .c_contactBox .c_inputBox.w50 {
    width: 100%;
  }
}

/*Honeypot Field*/
.more_message {
  display: none;
  !important;
}

/*Imprint and Privacy Info*/
.info-box {
  width: 50%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: rgb(0,0,0, 0.8);
  color: white;
  border: 3px solid #f1f1f1;
  padding: 20px;
}

.info-box .content h1 {
  text-align: center;
  font-weight: bold;
}

.info-box .content {
  text-align: justify;
}

@media (max-width: 1000px) {
  .info-box {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
}

.footer {
  width: 100%;
  height: auto;
  text-align: center;
  padding: 0 18px;
  background-color: #000;
}

.footer a, .footer span {
  padding: 0 8px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  text-shadow: 0 0 20px #000;
  transition: 0.3s;
  line-height: 50px;
}

.footer a:hover {
  color: #555;
}

@media (max-width: 500px) {
  .footer {
    text-align: center;
  }
}

.content a {
  color: var(--value_background_color_light);
  text-decoration: none;
}

.content a:hover {
  color: var(--value_background_color_dark);
  text-decoration: underline;
}

/*Cookie Consent*/
.cookie .modal-body {
  text-align: justify;
}

.cookie button.true {
  background-color: #var(--value_background_color_dark);
  opacity: 1;
}
/*
body.modal-open {
  overflow: hidden; /*Does not work?*/
  /*position: fixed;
}

body {
  overflow: hidden;
}*/

.checkbox-left {
  display: flex;
  justify-content: flex-start; /* nach links */
}

.checkbox-left label {
  display: inline-flex; 
  align-items: center; /* Checkbox und Text schön ausgerichtet */
  gap: 8px;            /* kleiner Abstand zwischen Checkbox und Text */
}

.checkbox-left input {
  height: auto;
  width: 20px !important;
  appearance: auto;
}