@import url("reset.css");

/*-----------FONTS-----------*/
/* dm-sans-300 - 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: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/dm-sans-v14-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-300italic - 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: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/dm-sans-v14-latin-300italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v14-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/dm-sans-v14-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-500 - 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: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v14-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-500italic - 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: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/dm-sans-v14-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-600 - 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: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v14-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-600italic - 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: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/dm-sans-v14-latin-600italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-700 - 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: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v14-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-700italic - 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: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/dm-sans-v14-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*-----------FONTGESTALTUNG-----------*/
body {
  font-family: 'DM Sans'
}

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  margin-bottom: 15px;
  line-height: 1.6;
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

h1 {
  font-size: 55px;
  line-height: 1.3;
  z-index: 99;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

h1 b {
  font-size: 30px;
}

h2 {
  font-size: 25px;
  margin-bottom: 35px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  color: #182c7c;
  letter-spacing: 5px;
  line-height: 1.3;
}

h3 {
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 1.3;
  color: #182535;
}

h4 {
  font-size: 16px;
}

li {
  font-size: 14px;
  list-style: disc;
}

strong {
  font-weight: 500;
  color: #182535;
}

.button {
  padding: 10px 15px;
  background-color: #182c7c;
  border-radius: 20px;
  color: #fff;
  transition: 0.3s ease;
  display: inline-block;
}

.button:hover {
  background-color: #182535;
  transition: 0.3s ease;
}

.button strong {
  color: #fff;
}

.vor-button {
  margin-bottom: 25px;
}

/*-----------NAVI-----------*/
.logo {
  position: absolute;
  width: 150px;
  height: auto;
  top: 5%;
  left: 5%;
  z-index: 9999;
}

/*-----------SUBNAV-----------*/
.subnav {
  position: fixed;
  bottom: 0;
  color: #fff;
  z-index: 999;
  transition: 0.5s;
  width: 100%;
  text-align: right;
}

.subnav a {
  color: #fff;
  padding: 8px 15px;
  font-size: 12px;
  background-color: #182535;
  line-height: 23px;
}

.subnav a:hover {
  background-color: #000;
}

/*-----------HEADER-----------*/
header {
  background: url("../images/header.jpg") no-repeat;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.headline {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0, -50%);
  width: 80%;
}

.headline p {
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.headline .button{
  font-size: 16px;
  background-color: transparent;
  border:solid 1px #fff;
  transition: 0.3s ease;
}

.headline .button:hover{
  border: solid 1px grey;
  transition: 0.3s ease;
}

.down {
  position: absolute;
  left: 5%;
  bottom: 5%;
}

.down img {
  width: 100%;
}

/*-----------AUFBAU-----------*/
html {
  scroll-behavior: smooth;
}

.content {
  display: flex;
  width: 100%;
}

.col {
  flex-basis: 50%
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 5%;
  box-sizing: border-box;
}

.bild {
  max-height: 950px;
}

#vorteile .bild {
  max-height: fit-content;
}

.bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrow-down {
  width: 20px;
  margin-bottom: 15px;
}

/*-----------BEREICH2-----------*/
#vorteile .col:nth-of-type(1) {
  background-image: url(../images/vorteile.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#vorteile h3 {
  text-align: center;
  color: #fff;
}

.vorteile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vorteil {
  background-color: #00000045;
  padding: 10%;
  box-sizing: border-box;
  border-radius: 10px;
  min-height: 200px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vorteil h3 {
  color: #fff;
  text-align: center;
}

.vorteil p {
  margin-bottom: 0;
}

#vorteile .bild {
  padding: 100px 5%;
  box-sizing: border-box;
}

/*-----------BEREICH4-----------*/
#kunden .col:nth-of-type(1) {
  background-image: url(../images/zufriedenheit.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vorteile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vorteil {
  background-color: #00000045;
  padding: 10%;
  box-sizing: border-box;
  border-radius: 10px;
  min-height: 200px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vorteil h3 {
  color: #fff;
  text-align: center;
}

.vorteil p {
  margin-bottom: 0;
}

#kunden .bild {
  padding: 100px 5%;
  box-sizing: border-box;
}

#kunden .bild img {
  object-fit: contain;
}

/*--------KONTAKTFORMULAR------*/
.flex {
  display: flex;
  gap: 1rem;
}

.flex div {
  flex-basis: 50%;
}

label {
  display: block;
  margin-top: 25px;
  font-size: 16px;
  color: #fff;
}

.submit {
  padding: 10px 15px;
  background-color: #fff;
  border-radius: 20px;
  color: #182c7c;
  margin-top: 25px;
  cursor: pointer;
  border: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.submit:hover {
  background: #182535;
  color: #fff;
}

#capticha_img {
  padding-top: 0px;
  margin-bottom: 20px;
  max-width: 200px;
}

#capticha {
  max-width: 200px;
}

#form1 div {
  position: relative;
}

#form1 .text-input, #form1 textarea {
  font: 12px/20px DM Sans, sans-serif;
  border: 1px solid #fff;
  background: none;
  margin-bottom: 5px;
  display: block;
  width: 100%;
  padding: 2%;
  outline: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  box-sizing: border-box;
  color: #fff;
}

#form1 select {
  width: 100%;
  border: none;
  background: none;
}

.selectbox {
  width: 96%;
  padding: 1% 2%;
  background: #F0F0F0;
}

#form1 .text-input:hover, #form1 textarea:hover {
  border-color: #4a5254;
}

#form1 textarea {
  min-height: 100px;
  max-height: 350px;
  margin-top: 10px;
  resize: none;
}

#status_message_ok, #status_message_error {
  background: #DCEBD0;
  border: 1px solid #B2C0A2;
  display: none;
  height: auto;
  margin-bottom: 45px;
}

#status_message_ok strong, #status_message_error strong {
  font-size: 15px;
  display: inline-block;
  margin-bottom: 5px;
}

#status_message_ok span, #status_message_error span {
  display: block;
  font-size: 13px;
  padding: 15px;
}

label.error {
  font-size: 10px;
  margin: 0;
  font-style: italic;
  padding: 4px 12px;
  display: block;
  background: rgb(228, 19, 19);
  color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
}

input.error, textarea.error {
  border-color: rgb(228, 19, 19) !important;
}

span.info {
  font-size: 10px;
  color: #9E9E9E;
  display: inline-block;
}

.captcha {
  display: block ruby;
}

/*-----------FOOTER-----------*/
footer {
  background-color: #182535;
}

footer p, footer h2, footer h3, footer a {
  color: #fff;
}

/*-----------RESPONSIVE-----------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 45px;
  }

  #dilemma .content, #prozess .content, #kontakt .content {
    flex-direction: column;
  }

  #vorteile .content, #kunden .content {
    flex-direction: column-reverse;
  }

  .bild {
    max-height: 500px;
  }

  .vorteile {
    grid-template-columns: repeat(3, 1fr);
  }

  #kontakt .col:nth-of-type(1) {
    padding: 100px 5% 0 5%;
    margin-bottom: 50px;
  }

  #kontakt .col:nth-of-type(2) {
    padding: 0 5% 100px 5%;
  }
}

@media screen and (max-width: 1200px) {
  .headline {
    width: 90%;
  }
}

@media screen and (max-width: 860px) {
  main {
    text-align: center;
  }

  .logo {
    left: 50%;
    transform: translate(-50%, 0);
  }

  .down {
    left: 50%;
    transform: translate(-50%, 0);
  }

  .headline {
    text-align: center;
    width: 90%;
    left: 5%;
  }

  .arrow-down {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .vorteile {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 650px) {
  h1 {
    font-size: 40px;
  }

  .headline p {
    font-size: 16px;
  }

  .headline .button{
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 30px;
  }

  .headline p {
    font-size: 15px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }


  .vorteile {
    grid-template-columns: repeat(1, 1fr);
  }
}

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

  h1{
    font-size: 25px;
  }

}


/* Popups */

body.popup__shown {
	 overflow-y: hidden;
}
 .popups {
	 position: fixed;
	 z-index: 999;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 opacity: 0;
	 transition-duration: 250ms;
	 transition-timing-function: ease-out;
	 pointer-events: none;
}
 .popups.show {
	 opacity: 1;
	 backdrop-filter: brightness(0.6) saturate(0) blur(2px);
	 pointer-events: auto;
}
 .popup {
	 box-sizing: border-box;
	 position: fixed;
	 z-index: 999;
	 width: 95%;
	 max-height: 85%;
	 overflow-y: auto;
	 background-color: #fff;
	 transform: translateX(-50%) translateY(-10px);
	 box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.45);
	 opacity: 0;
	 left: 50%;
	 padding: 2.5rem 1.75rem 1.75rem;
	 border-radius: 25px;
	 bottom: -85%;
	 transition-duration: 250ms;
	 pointer-events: none;
}
 @media screen and (min-width: 900px) {
	 .popup {
		 width: 95%;
		 max-width: 750px;
		 bottom: unset !important;
		 top: 30%;
		 max-height: 80%;
		 padding: 3rem;
		 transform: translate(-50%, -50%);
	}
}
 .popup.show {
	 opacity: 1;
	 transform: translateX(-50%) translateY(0);
	 pointer-events: auto;
	 bottom: 1rem;
}
 .popup.full {
	 top: 0;
	 max-width: unset;
	 max-height: unset;
	 height: 100%;
	 width: 100%;
	 border-radius: 0;
	 transform: translateX(-50%) translateY(0);
	 transition-duration: 350ms;
}
 .popup .popup__content > strong:first-child {
	 color: var(--col-green);
	 font-size: 1.5rem;
	 display: block;
	 margin-bottom: 0.5rem;
}
 .popup .popup__content__backup {
	 display: none;
}
 .popup .popup__close {
	 position: absolute;
	 top: 1.5rem;
	 right: 1rem;
	 width: 1.5rem;
	 height: 1.5rem;
	 cursor: pointer;
}
 .popup .popup__close::before, .popup .popup__close::after {
	 position: absolute;
	 content: "";
	 width: 100%;
	 height: 5px;
	 background: #333;
	 border-radius: 5px;
	 transition-duration: 250ms;
}
 .popup .popup__close::before {
	 transform: rotate(-45deg);
}
 .popup .popup__close::after {
	 transform: rotate(45deg);
}
 .popup .popup__navigation {
	 display: flex;
	 align-items: center;
	 gap: 1rem;
	 margin-bottom: 2rem;
}
 .popup .popup__navigation > * {
	 margin: 0;
}
 body > .popup__anim {
	 position: relative;
	 overflow: hidden;
	 margin-inline: auto;
	 width: 100%;
	 top: 0;
	 transition-duration: 250ms;
}
 body.popup__shown body > .popup__anim {
	 position: relative;
}
 
