html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.5;

  background-color: #00345E05;
  color: #00335E;
}

.container {
  max-width: 1364px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
}

h1 {
  font-size: 2.2em;
  line-height: 1;
  font-weight: 600;
  color: #B7BF3A;
  padding-bottom: 0.3em;
}

.legal {
  padding-top: 8em;
  padding-bottom: 3em;
}

.legal a {
  color: #B7BF3A;
}
.legal a:hover {
  color: #496470;
}

h2 {
  font-size: 1.7em;
  line-height: 1;
  font-weight: 400;
  color: #FFFFFF;
}

.legal h2 {
  color: #B7BF3A;
}

h3 {
  font-size: 2em;
  line-height: 1;
  font-weight: 600;
  color: #00335E;
  padding-bottom: 0.5em;
}

h3 span {
  color: #B7BF3A;
}

h4 {
  font-size: 1.5em;
  line-height: 1;
  font-weight: 600;
  color: #B7BF3A;
  padding-bottom: 0.5em;
}

h6 {
  font-size: 1em;
  line-height: 1;
  font-weight: 600;
  color: #B7BF3A;
}

p {
  padding-bottom: 1em;
}

p.info {
  font-size: 0.6em;
  color: #FFFFFF;
  padding-bottom: 0;
}

p b {
  font-weight: 600;
}

header {
  overflow: hidden;
}

.logo {
  position: absolute;
  top: 50px;
  left: calc(50px-1em);
  padding-left: 1em;
  z-index: 6;
}

.logo_mobile {
  display: none;
}

.nav_burger {
  position: fixed;
  top: 50px;
  right: 50px;
  z-index: 9;
  cursor: pointer;
}

.menu_top {
  position: fixed;
  top: 0;
  right: 0;
  height: 200px;
  width: auto;
  z-index: 8;
}

.menu_btm {
  position: fixed;
  height: 100vh;
  height: 100svh;
  width: 100vw;
  pointer-events: none;
  background-image: url("../img/menu_btm.svg");
  background-size: auto 101vh;
  background-repeat: no-repeat;
  background-position-x: 100vw;
  background-position-y: -2px;
  z-index: 7;
  transition: all ease-in-out 0.5s;
}

.menu_open {
  background-position-x: right;
  pointer-events: all;
}

.nav {
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  padding-right: 4em;
  transform: translateX(100vw);
  transition: all ease-in-out 0.5s;
}
.nav_open {
  transform: translateX(0vw);
}

header nav a {
  font-size: 2.25em;
  line-height: 2;
  font-weight: 600;
  color: #496470;
  text-decoration: none;
}

header nav a:hover {
  color: #B7BF3A;
}

.aktiv {
  color: #B7BF3A;
}

.hero {
  background-color: #00335E;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-intro {
  width: 60%;
  position: relative;
  top: 35vh;
  z-index: 2;
}

.hero img {
  position: absolute;
  bottom: 0;
  right: 10vw;
  max-height: 80vh;
  max-width: 40vw;
}

.hero img.karriere_img {
  right: 0;
  max-height: 85vh;
  max-width: 95vw;
}

.content {
  margin-top: 5em;
  margin-bottom: 5em;
}

.teammember {
  min-width: 10.6em;
}

.teammemberpic {
  position: relative;
  margin-bottom: 10px;
}

.corner {
  position: absolute;
  width: 2.8em;
  top: 0;
  right: 0;
  z-index: 1;
}

.teammemberinfo {
  position: relative;
  text-align: center;
  background-color: #496470;
  padding: 0.5em;
}

.teamgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  row-gap: 10px;
  padding-bottom: 1.5em;
}

.buttoncontainer {
  margin-top: 0.5em;
  margin-bottom: 2.5em;
}


.button {
  background-color: #00335E;
  text-decoration: none;
  color: #FFFFFF;
  padding: 0.5em 1.75em 0.5em 1em;
  position: relative;
  font-size: 1em;
  font-weight: 600;
}

.buttoncontainer button {
  font-family: 'Baloo 2', sans-serif;
  background-color: #00335E;
  text-decoration: none;
  color: #FFFFFF;
  padding: 0.5em 1.75em 0.5em 1em;
  position: relative;
  font-size: 1em;
  font-weight: 600;
  border: none;
}

.button:hover {
  background-color: #496470;
}

.button:active {
  color: #B7BF3A;
}

footer {
  background-color: #00335E;
  padding-top: 1.5em;
}

footer p {
  color: #FFFFFF;
  padding-left: 1.5em;
  padding-bottom: 1.7em;
}

.footercontent {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
}

.footercontent img {
  padding-top: 1.3em;
}

.footercontact {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.footercontact a {
  color: #FFFFFF;
  text-decoration: none;
}

.footercontact a:hover {
  color: #B7BF3A;
}

footer nav {
  background-color: #B7BF3A;
}

footer nav div {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  display: flex;
  justify-content: flex-end;
}

footer nav a {
  color: #FFFFFF;
  text-decoration: none;
  margin-right: 1em;
  margin-left: 2em;
  font-weight: 600;
}

footer nav a:hover {
  color: #00335E;
}

footer nav a:active {
  color: #496470;
}


.dropcontainer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.leistungen_img {
  width: 39%;
  height: auto;
  padding-top: 1em;
}

.my-accordion {
  width: 59%;
}

.leistungen_img img {
  width: 100%;
  height: 100%;
}



.my-accordion .menu {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 600;
  background-color: #00335E;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5em 1.75em 0.5em 1em;
  text-align: left;
  border: none;
  outline: none;
  margin-top: 10px;
  font-size: 1em;
  width: 100%;
}
.my-accordion .panel {
  background-color: #FFFFFF;
  color: #00335E;
  overflow: hidden;
  margin-top: 10px;
  padding: 0.5em;
  font-size: 0.8em;
}
.my-accordion .open {
  display: block;
}
.my-accordion .close {
  display: none;
}
.my-accordion .active {
  background-color: #00335E;
  color: #fff;
}
.my-accordion .arrow {
  float: right;
  display: block;
	color: #B7BF3A;
  font-weight: 500;
  transform: scale(1.5);
}
.my-accordion .darrow {
  display: none;
}
.my-accordion .active .darrow {
  display: block;
}
.my-accordion .active .rarrow {
  display: none;
}
.my-accordion b {
  font-weight: 600;
  padding-bottom: 0;
  line-height: 1;
}

.my-accordion li {
  list-style: disc;
  list-style-position: outside;
  margin-left: 30px;
}


.marquee-container {
  height: 330px;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}


.marquee {
position: relative;
overflow: hidden;
width: 100vw;
height: 500px;
//margin-bottom: -3em;
}

.marquee img {
padding-left: 10px;
height: auto;
object-fit: contain;
//margin-top: -2em;
}






.contact_rows {
  display: flex;
  align-items: flex-start;
}

.contact_rows div:first-child {
  padding-right: 3em;
}

.contact_rows a {
  text-decoration: none;
  color: #00335E;
}



  /* Formular */
  form#kontaktform {
   width: 100%;
   color: #00335E;
  }

  form input, form textarea {
    width: 100%;
    padding: 0.4em;
    box-sizing: border-box;
    color: #00335E;
    border: none;
    border-bottom: 3px solid #B7BF3A;
  }

  .form_rows {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .form_rows p {
    width: 48%;
  }

  /* Focus */
  :focus-visible {
   outline: Solid 3px #B7BF3A;
  }

  /* Pflichtangaben markieren */
  var, noscript {
   color: #B7BF3A;
  }

  .checkbox > input {
    height: 1em;
    width: 1em;
		-webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    outline: none;
    background-color: #fff;
		transform: translateY(0.3em);
		margin-right: 0.5em;
    margin-left: 0;
    border: 3px solid #B7BF3A;
  }

.checkbox > input:checked {
    border: 3px solid #B7BF3A;
    background-color: #496470;
}

.checkbox a {
  text-decoration: none;
  color: #00335E;
  font-weight: 600;
}

.checkbox a:hover {
  color: #B7BF3A;
}

  .form_rows .check {
    width: 70%;
  }


#scaledown {
    padding-right: 2rem;
}

.btnaktiv {
  background-color: #496470;    
}

.register {
    display: flex;
}






@media (max-width: 1600px) {
  body {
  font-size: 28px;
}

.hero-intro {
  width: 50%;
}

.hero img {
  right: 5vw;
}


}

@media (max-width: 1200px) {
  body {
  font-size: 26px;
}

.container {
  padding-left: 2em;
  padding-right: 2em;
}

.logo {
  top: 1.5em;
  left: 0;
  padding-left: 2em;
}

.nav_burger {
  top: 1.5em;
  right: 2em;
}

.menu_top {
  height: 160px;
  width: auto;
}

.hero-intro {
  width: 65%;
  top: 25vh;
}

.marquee-container {
  height: 255px;
}

.marquee {
height: 384px;
}

}


@media (max-width: 1080px) {
  .teamgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    row-gap: 6px;
  }

  .teammemberpic {
    margin-bottom: 6px;
  }

  .hero-intro {
  width: 70%;
  top: 20vh;
}



.hero img.karriere_img {
  max-width: 100vw;
}

.leistungen_img {
  width: 24%;
  height: auto;
  padding-top: 1em;
}

.my-accordion {
  width: 74%;
}

.my-accordion .menu {
  margin-top: 6px;
}
.my-accordion .panel {
  margin-top: 6px;
}

.contact_rows div:first-child {
  padding-right: 1.5em;
}

.footercontent img {
  display: none;
}

footer p {
  padding-left: 1em;
}

}


@media (max-width: 850px) {
.contact_rows {
  flex-direction: column;
}

.contact_rows div:first-child {
  padding-right: 0;
}

  .form_rows {
    flex-direction: column;
    align-items: flex-end;
  }

  .form_rows p {
    width: 100%;
  }
  .form_rows .check {
    width: 100%;
  }

  .footercontact {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

footer p {
  padding-bottom: 0.6em;
}

footer nav div {
  padding-right: 1em;
  justify-content: center;
}

footer nav a {
  margin-right: 1.4em;
  margin-left: 1.4em;
}

.hero img {
  max-width: 50vw;
}

}


@media (max-width: 800px) {
.leistungen_img {
  display: none;
}

.my-accordion {
  width: 100%;
}
}




@media (max-width: 750px) {
  .teammember {
  min-width: 8em;
}

  .info {
    display: none;
  }

}

@media (max-width: 645px) {
  .teamgrid {
    grid-template-columns: repeat(1, 1fr); 
  }

  body {
  font-size: 22px;
}

.container {
  padding-left: 1.4em;
  padding-right: 1.4em;
}

.logo {
  top: 1.4em;
  padding-left: 1.4em;
}

.nav_burger {
  top: 1.4em;
  right: 1.4em;
}

.menu_top {
  height: 130px;
}
}

@media (max-width: 550px) {

  .logo_mobile {
  position: absolute;
  top: 1.4em;
  padding-left: 1.4em;
  z-index: 6;
  display: block;
}

.logo {
  display: none;
}

  .hero-intro {
  width: 100%;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.8em;
}

}


@media (max-width: 480px) {
    body {
  font-size: 20px;
}
  .nav {
  padding-right: 2em;
}

}

@media (max-width: 300px) {

  footer nav div {
  flex-direction: column;
}

footer nav a {
  text-align: center;
}

footer nav a:first-child {
  padding-bottom: 1em;
}

}










