/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  background-color: white;
  scroll-behavior: smooth;
}

/* Set core body defaults */
body,
textarea,
input {
  text-rendering: optimizeSpeed;
  font-family: "Lato", sans-serif;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*********************   MENU   *********************/

.menu {
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0%;
  z-index: 99;
  text-align: center;
  background-color: white;
}

.nav-wrap {
  max-width: 75rem;
  height: 4rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  text-align: center;
  display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
}

.nav-wrap .logo {
  margin: auto 0;
  cursor: pointer;
}

nav {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  flex-wrap: nowrap;
  white-space: nowrap;
}

nav a {
  font-size: 1.15em;
  text-align: center;
  list-style-type: none;
  margin-left: 0.8rem;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  color: #002d54;
}

.menu a:hover {
  color: grey;
  text-decoration: underline;
}

/*********************   INVISIBLE MENU HEIGHT   *********************/

.menu-ghost {
  background-color: white;
  width: 100%;
  height: 4rem;
}

/*********************   MOBILE-NAV   *******************************/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  background-color: #002d54;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 55px;
}

.sidenav a {
  padding: 8px 8px /*14px*/ 18px 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.375em;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.nav-wrap span {
  height: 2.75rem;
  margin: auto 0;
  font-size: 1.9rem;
  cursor: pointer;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/*********************   HEADER   *******************************/

.header {
  max-width: 100%;
  position: relative;
  overflow: hidden;
  /*  text-align: center;*/
}

.header img {
  max-width: 100%;
  display: block;
}

.header-title-box {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  position: absolute;
  padding-left: 2%;
  right: 0;
  z-index: 1;
  background-color: #002d54;
  opacity: 0.65;
}

.header-title-box h1 {
  width: 40rem;
  display: inline-block;
  font-size: 3.5em;
  color: white;
  font-weight: 400;
  letter-spacing: 0.1rem;
  line-height: 1.35;
}

/*********************   LEISTUNGEN   ***************************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: #002d54;
}

.services {
  padding: 80px 60px;
  margin: auto;
}

.services h1 {
  text-align: center;
  font-size: 36px;
  margin-top: 50px;
  margin-bottom: 30px;
  position: relative;
  font-weight: 600;
}

.services h1:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background-color: #002d54;
}

.cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card {
  width: calc(34% - 22px);
  background-color: #f2f2f2;
  padding: 40px 12px;
  margin: 0 30px;
  text-align: center;
  cursor: pointer;
  transition: 3s;
  position: relative;
  left: 3%;
}

.sbox h3 {
  font-size: 30px;
}

.sbox p {
  margin: 20px 0;
  font-size: 30px;
}

.sbox a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  background: #347ebf;
  padding: 10px 15px;
  border-radius: 18px;
  transition: 0.5s;
  margin: 20px 0;
}

.sbox a:hover {
  background: transparent;
  border: 1px solid white;
  transform: scale(1.2);
  background: #002d54;
}

.card:after {
  content: "";
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
}

.card:hover:after {
  transform: rotate(7deg);
  background-color: #002d54;
}

.button-mobile {
  display: none;
  background-color: #002d54;
  margin-top: 2rem;
  padding: 10 20;
  word-wrap: break-word;
  white-space: nowrap;
  font-size: 1.15em;
  color: white;
}

/*********************   ABOUT-US   *******************************/

.about-us {
  background-image: url("aboutus.jpg");
  max-width: 100%;
  padding-top: 7rem;
  padding-bottom: 8rem;
  margin: 0 auto;
}

.about-us-wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2em;
  word-wrap: break-word;
  color: white;
  font-size: 1.15em;
  line-height: 1.65;
  text-align: center;
}

.about-us h2 {
  margin-bottom: 5rem;
  text-align: center;
  font-size: 2em;
  font-weight: normal;
  color: white;
}

/*********************   CONTACT-FORM   *******************************/

.contact-form {
  background-color: rgb(235, 235, 235);
  max-width: 100%;
  padding-top: 7rem;
  padding-bottom: 8rem;
}

.contact-form-wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 2em;
  display: block;
  word-wrap: break-word;
  color: white;
  font-size: 1.15em;
  line-height: 1.5;
  text-align: center;
}

.contact-form h2 {
  margin-bottom: 5rem;
  text-align: center;
  font-size: 2em;
  font-weight: normal;
  color: #002d54;
}

.feedback-input {
  width: 100%;
  background-color: white;
  padding: 0.75rem;
  margin-bottom: 0.9rem;
  transition: all 0.3s;
  font-size: 1em;

  border: 0;
}

.feedback-input:focus {
  border: 1px solid #002d54;
}

textarea {
  height: 175px;
  font-size: 1em;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  width: 100%;
  background-color: #002d54;
  font-size: 16px;
  color: white;
  padding-top: 14px;
  padding-bottom: 15px;
  transition: all 0.3s;
}

/*********************   CONTACT-INFO   ***************************/

.contact_info_wrap {
  background-color: #002d54;
  /* min-height: 400px; */
  max-width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact_info {
  margin: 50 auto 75 auto;
  display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  column-gap: 7%;
}

.contact_info p {
  width: 225px;
  padding: 0;
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
  color: white;
  text-align: center;
}

.contact_info p .h4 {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  line-height: 4em;
}

/*********************   FOOTER   ***************************/

.footer {
  padding: 20px;
  display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  justify-content: space-between;
  bottom: 0;
}

.footer-child {
  width: 40%;
  color: #002d54;
}

.contact-form-title-job {
  font-size: 30px;
  color: #002d54;
}

.under {
  margin-left: auto;
  margin-right: auto;
  width: 30%;
  font-size: 20px;
  color: #002d54;
}

.head-wrap {
  background-color: white;
  max-width: 100%;
  padding-top: 75px;
  padding-bottom: 75px;
}

.head {
  font-size: 30px;
  padding: 50px;
  width: 100%;
  margin: 50px auto 0 auto;

  text-align: center;

  color: #002d54;
}

.job-box {
  margin: auto;
  width: 50%;

  display: grid;
  display: -webkit-grid;
  display: -moz-box;
  display: -ms-flexbox;

  grid-template-columns: repeat(2, 1fr);

  justify-items: center;
  grid-gap: 50px;

  font-size: 20px;
  padding: 0;
  color: #002d54;
  background-color: rgb(235, 235, 235);
  /* border: solid 1px green;*/
}

.job-box div {
  width: 60%;
}

.footer {
  background-color: white;

  padding: 20px;
  display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  justify-content: space-between;
  bottom: 0;
}

.footer-child {
  width: 40%;
  color: #002d54;
}

.maps {
  background-color: #002d54;
  color: cadetblue;
}

iframe {
  opacity: 0.9;
}

@media (min-width: 800px) {
  .nav-wrap span {
    display: none;
  }
}

@media (max-width: 800px) {
  .header-title-box h1 {
    font-size: 2em;
  }

  .nav-wrap nav {
    display: none;
  }

  .nav-wrap img {
    widows: 198px;
    height: 33px;
  }

  .leistungen-wrap {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .leistungen {
    padding-bottom: 0;
  }

  .leistungen-wrap div:nth-child(-n + 2) {
    margin-bottom: 2em;
  }

  .leistungen-wrap .l-button {
    display: none;
  }

  .button-mobile {
    display: block;
  }

  .contact-form-wrap form {
    width: 100%;
  }

  .contact-info {
    margin: 25 auto 50 auto;
    flex-direction: column;
  }

  .contact-info div {
    width: 225px;
    margin: auto;
    flex-direction: column-reverse;
    text-align: center;
  }

  .contact_info p {
    width: 225px;
    margin: auto;
  }

  .contact-info div:nth-child(-n + 2) {
    margin-bottom: 3.5em;
  }

  .contact-info p .h3 {
  }

  .p {
    margin-left: 32px;
    margin-right: 32px;
  }

  .footer {
    display: flex;
    flex-direction: column-reverse;
  }

  .welcome p {
    font-size: 18px;
    display: flex;
    align-items: center;
    text-align: center;
  }

  p {
    height: ;
  }
}
