/* kanit-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 200;
  src: url('../webfonts/kanit-v16-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 200;
  src: url('../webfonts/kanit-v16-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/kanit-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 400;
  src: url('../webfonts/kanit-v16-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/kanit-v16-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 800;
  src: url('../webfonts/kanit-v16-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  scroll-behavior: smooth;
}

*:focus {
  outline: none;
}

body {
  font-family: 'Kanit';
  font-weight: 300;
}

main {
  min-height: calc(100vh - 113px);
}

/* Header */

header {
  padding: 15px 0;
  border-bottom: 1px solid #cbcbcb;
  text-align: right;
}

header ul {
  margin: 0;
  padding: 0;
  text-align: right;
}

header ul li {
  display: inline-block;
  list-style: none;
  margin-left: 15px;
}

header ul li a {
  color: #000000;
  transition: all 0.3s;
  font-size: 20px;
}

header ul li a:hover {
  opacity: 0.7;
  color: #000000;
  text-decoration: none;
}

.mobile_nav_open {
  display: none;
  font-size: 25px;
  color: #000000;
  cursor: pointer;
}

header:has( + main > section.hero) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border: none;
  background: linear-gradient(180deg,rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

header:has( + main > section.hero) ul li a,
header:has( + main > section.hero) ul li a:hover {
  color: #ffffff;
}

header:has( + main > section.hero) .mobile_nav_open {
  color: #ffffff;
}

/* Hero */

section.hero {
  position: relative;
}

section.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
}

section.hero .hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  padding-bottom: 100px;
}

section.hero .hero_overlay h1 {
  font-weight: 800;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: 100px;
  line-height: 50px;
}


section.hero .hero_overlay h1 span {
  font-size: 40px;
}

/* About */

section.about {
  background-color: #efefef;
  padding: 100px 0;
}

section.about .textwrap {
  padding: 50px 100px 50px 50px;
  border-radius: 15px;
  background-color: #ffffff;
  font-size: 20px;
  text-align: justify;
  box-shadow: 0 0 15px 0px rgba(0,0,0,0.1);
}

section.about .image img {
  width: calc(100% + 50px);
  height: calc(100% - 150px);
  object-fit: cover;
  border-radius: 15px;
  position: absolute;
  left: -65px;
  top: 75px;
  box-shadow: 0 0 15px 0px rgba(0,0,0,0.1);
}

/* Logos */

.logo_slider {
  background-color: #ffffff;
  padding: 15px 0;
}

.logo_slider .logos_wrap img {
  height: 85px;
  padding: 15px 50px;
  object-fit: contain;
  filter: grayscale(1);
  transition: all 0.3s;
}

.logo_slider .logos_wrap img:hover {
  filter: grayscale(0);
}

/* CV */

section.cv {
  padding: 100px 0;
  background-color: #efefef;
  font-size: 20px;
}

section.cv .cv_row {
  padding: 15px 0;
  border-bottom: 1px solid #cbcbcb;
}

section.cv .cv_row:last-child {
  border: none;
}

/* Form */

.wpcf7-form {
  padding: 100px 0;
}

.wpcf7-list-item {
  margin: 0;
}

form label {
  margin: 0;
  font-size: 20px;
}

form label span:not(.um-field-checkbox-option) {
  color: #af0000;
}

form label input + span:not(.um-field-checkbox-option) {
  color: initial;
  font-size: 16px;
}

form .formfield {
  margin-bottom: 15px;
}

form .formfield p {
  margin: 0;
}

form input {
  width: 100%;
  border: 1px solid #000000;
  padding: 5px;
  border-radius: 5px;
  font-weight: 300;
}

form input[type="checkbox"] {
  width: auto;
}

form input[type="date"] {
  appearance: none;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #000000;
  padding: 5px;
  width: 100%;
  border-radius: 0;
  color: #000000;  
}

form textarea {
  width: 100%;
  border: 1px solid #000000;
  padding: 5px; 
  border-radius: 5px;
  font-weight: 300;
}

form #kontakt textarea {
  height: 160px; 
}

form input[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-style: italic;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: 1px solid #000000;
  width: auto;
  border-radius: 15px;
}

form input[type="submit"]:hover {
  opacity: 0.7;
}

.wpcf7-response-output {
  display: block;
  margin: auto !important;
  width: 1110px;
  max-width: 100%;  
}

/* References */

section.references {
  background-color: #efefef;
  padding: 100px 0;
}

.reference_single {
  padding: 15px;
}

.reference_inner {
  box-shadow: 0 0 15px 0px rgba(0,0,0,0.1);
  border-radius: 15px;
}

.reference_single img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.reference_information {
  padding: 15px;
  background-color: #ffffff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;  
  height: calc(100% - 300px);
}

.reference_information strong {
  font-size: 20px;
  display: block;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.reference_information a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: 1px solid #000000;
  width: auto;
  border-radius: 10px;
}

.reference_information a:hover {
  opacity: 0.7;
}

section.references .slick-arrow {
  position: absolute;
  top: calc(50% - 15px);
  font-size: 30px;
  cursor: pointer;
  z-index: 999;
  left: -30px;
}

section.references .slick-arrow.fa-chevron-right {
  left: initial;
  right: -30px;
}

section.references .slick-dots {
  padding: 0;
  margin: 0;
  text-align: center;
}

section.references .slick-dots li {
  list-style: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
  background-color: #000000;
  margin: 0 5px;
}

section.references .slick-dots li:hover,
section.references .slick-dots li.slick-active {
  opacity: 1;
}

section.references .slick-dots li button {
  display: none;
}

/* Legals */

section.legals {
  padding: 75px 0 100px 0;
}

section.legals a {
  color: initial;
  text-decoration: underline;
  transition: all 0.3s;
}

section.legals a:hover {
  opacity: 0.8;
}

/* Footer */

footer {
  padding: 15px 0;
  border-top: 1px solid #cbcbcb;
}

footer a {
  color: initial;
  transition: all 0.3s;
}

footer a:hover {
  color: initial;
  text-decoration: none;
  opacity: 0.7;
}

footer ul {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 0px;
}

footer ul li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
  line-height: 1;
}

footer ul li a {
  line-height: 1;
}

footer ul li a i {
  font-size: 20px;
  line-height: 1;
}

footer .copyright {
  display: flex;
  align-items: center;
}

footer .copyright span {
  line-height: 1;
  font-size: 18px;
  font-weight: 400;
}

footer .backlink {
  text-align: right;
  font-size: 0;
}

footer .backlink a {
  font-size: 14px;
}

.menu-footermenue-container {
  display: inline-block;
}

footer .backlink ul li a {
  font-size: 14px;
}

/* Responsive */

@media only screen and (max-width: 991px) {

  section.hero .hero_overlay h1 {
    font-size: 75px;
    line-height: 40px;
  }

  section.hero .hero_overlay h1 span {
    font-size: 30px;
  }

  section.about .textwrap {
    padding: 50px 50px 100px 50px;
  }

  section.about .image img {
    height: auto;
    width: calc(100% - 100px);
    position: initial;
    margin: -65px 0 0 50px;
  }

  footer .backlink {
    text-align: left;
    margin-top: 5px;
  }

}

@media only screen and (max-width: 767px) {

  section.hero .hero_overlay h1 {
    font-size: 55px;
    line-height: 30px;
  }

  section.hero .hero_overlay h1 span {
    font-size: 20px;
  }  

  .date_col {
    font-weight: bolder;
  }

  .description_col {
    padding-left: 0;
  }

  section.hero .hero_overlay {
    padding-bottom: 75px;
  }

  header .menu-hauptmenue-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 70vw;
    height: 100vh;
    z-index: 9;
    background-color: #ffffff;
    box-shadow: -5px 0px 10px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }

  header .menu-hauptmenue-container ul li {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
  }

  header .menu-hauptmenue-container ul li a,
  header:has( + main > section.hero) .menu-hauptmenue-container ul li a {
    font-size: 20px;
    display: block;
    padding: 5px 10px;
    border-bottom: 1px solid #efefef;
    color: #000000;
  }

  header .menu-hauptmenue-container.open {
    right: 0;
  }

  header .mobile_nav_open {
    display: inline-block;
  }  

}

@media only screen and (max-width: 565px) {

  section.hero .hero_overlay h1 {
    line-height: 50px;
  }  

  section.about .textwrap {
    padding: 20px 20px 70px 20px;
    font-size: 18px;
  }

  section.about .image img {
    height: auto;
    width: calc(100% - 40px);
    position: initial;
    margin: -50px 0 0 20px;    
  }

  section.cv {
    font-size: 18px;
  }

  section.about,
  section.cv,
  .wpcf7-form,
  section.references {
    padding: 50px 0;
  }

  section.hero .hero_overlay {
    padding-bottom: 50px;
  }  

  .menu-footermenue-container {
    display: block;
    margin-bottom: 3px;
  }

}