/*@font-face {
    font-family: 'Inter';
    src: url('font/Inter-Regular.woff2') format('woff2'),
    url('font/Inter-Regular.woff') format('woff'),
    url('font/Inter-Regular.ttf') format('truetype');
}*/
@font-face {
  font-family: "Mluvka";
  src: url("/font/Mluvka-Regular.otf") format("opentype");
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 20px;
  color: #1c1c1c;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mluvka", sans-serif;
  font-weight: normal;
}

header {
  position: relative;
  z-index: 999;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

#logoimg {
  position: relative;
  width: 10em;
  height: 3.25em;
  margin-left: 5px;
}

#nav-toggle {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

#nav-toggle-label {
  position: absolute;
  right: 0.5em;
  z-index: 1;
}

header nav {
  position: absolute;
  /* top: 4.6em; /*2.5em ohne logo*/
  top: 0;
  left: 0;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
  box-shadow: 0 6px 6px -1px rgba(0, 0, 0, 0.25);
}

#logowrap {
  z-index: 1;
}

.headernav {
  margin-top: 3.5em;
  padding: 0;
  list-style-type: none;
  font-weight: 600;
}

.headernav ul {
  list-style-type: none;
}

.headernav_a {
  text-decoration: none;
  display: block;
  padding: 1em 1.25em;
  letter-spacing: 0;
  color: #fff;
  position: relative;
  text-shadow: 1px 1px #000;
}

#nav-toggle:checked ~ nav {
  transform: scale(1, 1);
}

.menu-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.menu-btn__burger {
  width: 50px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  box-shadow:
    rgba(255, 255, 255, 0.2) 0px 0px 0px 2px inset,
    rgba(0, 0, 0, 0.9) 0px 0px 0px 2px;
  transition: all 400ms ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  box-shadow:
    rgba(255, 255, 255, 0.2) 0px 0px 0px 2px inset,
    rgba(0, 0, 0, 0.9) 0px 0px 0px 2px;
  transition: all 400ms ease-in-out;
}

.menu-btn__burger::before {
  transform: translateY(-16px);
}

.menu-btn__burger::after {
  transform: translateY(16px);
}

/* ANIMATION */
#nav-toggle:checked ~ #nav-toggle-label .menu-btn .menu-btn__burger {
  transform: translateX(-50px);
  background: transparent;
  box-shadow: none;
}

#nav-toggle:checked ~ #nav-toggle-label .menu-btn .menu-btn__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}

#nav-toggle:checked ~ #nav-toggle-label .menu-btn .menu-btn__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

.navactive > a {
  text-decoration: underline 3px;
  text-underline-offset: 3px;
}

.hide-element {
  /* used to hide element for screen reader*/
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* teaser-image */
#header_teaser_image {
  position: relative;
  top: -3.5em;
  background-image: url("/img/bg_header_450.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.image_rounded_corners {
  border-radius: 30px;
}

/*--Main--*/
.container {
  padding: 1em;
}

main li {
  margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
}

h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 41px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

p,
li {
  margin-top: 0;
  line-height: 1.5;
}

.button {
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  background-color: #2a70df;
  color: #fff !important;
  display: inline-block;
  box-shadow: 0 7px 24px #00000029;
  border-radius: 40px;
  font-size: 20px;
  font-weight: normal;
  padding: 16px;
  text-align: center;
  border: none;
}

.button:hover {
  background-color: #296bd5;
}

.mb_8_mobile {
  margin-bottom: 8px;
}

.pt_0 {
  padding-top: 0;
}

.text {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 140px;
}

.img_unterseite_wrapper {
  margin: 1.5em 0;
  text-align: center;

  img {
    width: 100%;
  }
}

.supporter_logo {
  max-width: 100%;
}

/*--Partner-Logos--*/
.partner_images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
  padding-left: 1em;
  padding-right: 1em;
}

.partner_image_wrap {
  max-width: 400px;
  max-height: 150px;
  align-content: center;
}

.partner_image {
  max-width: 100%;
  max-height: 150px; /* same as .partner_image_wrap */
}

.pruefungen_supporter {
  max-width: 200px;
  max-height: 150px;
}

/*--External Links--*/
main a[href^="http://"]::after,
main a[href^="https://"]::after {
  content: " ";
  background-image: url("/img/icon-external-link.svg");
  background-size: contain;
  display: inline-block;
  height: 1em;
  width: 1em;
  margin: 0 4px;
}

/*--Footer--*/
footer {
  margin: 0;
  padding: 1em;
  /* background-image: url("data:image/svg+xml;utf,<svg xmlns='http://www.w3.org/2000/svg' width='1440' height='664' viewBox='0 0 1440 664' fill='none'><path d='M0 15.0881C0 15.0881 191 38.7286 321.5 37.611C452 36.4933 697.5 0 844.5 0C991.5 0 1170 34.2581 1250 37.611C1330 40.9639 1440 15.0881 1440 15.0881V663.5H0V15.0881Z' fill='%23022E39'/></svg>"); */
  color: #fff;
  background-image: url("/img/bg_footer.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.footer_logo {
  max-width: 12em;
  margin-top: 4em;
  margin-bottom: 30px;
}

.footer_paragraph {
  max-width: 550px;
}

.footer-top-second {
  margin-top: 4em;
}

footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

footer a {
  padding: 0.25em 0;
  color: #fff;
  text-decoration: none;
}

.icon_place {
  content: url("/img/icon_place.png");
}

.icon_phone {
  content: url("/img/icon_phone_black.png");
}

.icon_mail {
  content: url("/img/icon_mail.png");
}

address {
  font-style: normal;
}

.footer_heading {
  display: block;
  margin-bottom: 1em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer-top,
.footer-bot,
.footer-top-second {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-top-width {
  width: 100%;
  margin-bottom: 3em;
}

.footer-top-width li {
  margin-bottom: 0.5em;
}

.footer-bot {
  border-top: 2px solid rgba(0, 0, 0, 0.16);
  gap: 2em;
  padding: 1em 0;
}

.footer_icon_container {
  display: flex;
  gap: 12px;
  text-align: left;
  margin-bottom: 24px;
  align-items: center;
  line-height: 1.5;
}

.footer_icon_container a {
  text-decoration: none;
}

.footer_icon_container a:hover {
  text-decoration: underline;
}

.footer_icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.footer_icon i {
  filter: invert(100%);
}

@media screen and (min-width: 499px) {
  #header_teaser_image {
    background-image: url("/img/bg_header_1440.png");
  }
}

@media screen and (min-width: 1199px) {
  body {
    max-width: 1920px;
    margin: 0 auto;
  }

  /* teaser-image */
  #header_teaser_image {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url("/img/bg_header_1440.png");
    background-position: center;
    top: -4.5em;
  }

  .wave {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 220px;
  }

  .wave::before {
    content: "";
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw;
    background-size: 100% 141px;
    background-position: 50% 100%;
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%23ffffff"/></svg>');
  }

  #start {
    position: absolute;
    bottom: 150px;
  }

  /* main */
  main.text {
    margin-top: -3em;
  }

  .mb_8_mobile {
    margin-bottom: unset;
  }

  .container {
    padding-left: 140px;
    padding-right: 140px;
  }

  .container_right-image {
    flex-direction: row-reverse;
  }

  .container h2 {
    margin-top: 0;
  }

  .container button {
    margin: auto;
  }

  .button {
    min-width: 320px;
  }

  /*--footer--*/
  footer {
    padding: 200px 140px 0;
  }

  .footer_logo {
    margin-top: 0;
  }

  .footer-top {
    gap: 90px;
  }

  .footer-top-first {
    max-width: 550px;
    flex: unset;
  }

  .footer-top-second {
    flex-grow: 1;
  }

  .footer-top-width {
    flex: 1 1 0;
    margin-bottom: 1.5em;
  }

  footer a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1499px) {
  header {
    justify-content: space-between;
  }

  #nav-toggle,
  #nav-toggle-label {
    display: none;
  }

  header nav {
    background-color: initial;
    background-image: initial;
    position: initial;
    transition: initial;
    transform: initial;
    top: initial;
    left: initial;
    box-shadow: initial;
  }

  .header_sub_menu a {
    width: 100%;
  }

  #logowrap {
    display: inline-flex;
  }

  #logoimg {
    height: 3.5em;
    position: initial;
    top: initial;
  }

  .headernav {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .headernav li {
    padding-left: 0;
  }

  .headernav_a {
    padding: 0.5em 18px;
  }

  .header_button {
    padding: 16px 64px;
    background-color: #249ed4;
    border-radius: 40px;
    border: none;
    color: #fff !important;
    font-weight: normal;
    margin-left: 48px;
    margin-right: 0.5em;
  }

  .header_button:hover {
    background-color: #2399cb;
  }

  .navactive {
    background-color: unset;
  }

  .navactive > a,
  .headernav_a:hover {
    color: #2399cb;
  }

  .header_sub_menu_parent:hover .header_sub_menu {
    display: block;
  }

  .header_sub_menu {
    position: absolute;
    top: 100%;
    padding-top: 1em;
    left: 0;
    background-color: #fff;
    width: 150%;
    z-index: 1;
    text-align: center;
  }

  .header_sub_menu li a {
    padding: 0.5em;
  }
}
@media screen and (min-width: 1699px) {
  .headernav {
    padding-top: 0.5em;
  }
}

@media screen and (min-width: 2100px) {
  .wave::before {
    background-size: 100% calc(2vw + 141px);
  }
}
