html {
  scroll-behavior: smooth;
}

body {
  /* font-family: 'PT serif', serif; */
  font-family: 'Quicksand', sans-serif;
  color: #6c6d74;
  background-color: #fcfcfc;
}

/* ACHTUNG: Die Margin bei .main muss noch angepasst werden!!!!! */

main {
  margin: 0; /* früher 0 2.5% */
}

.wrapper {
  width: 800px;
  margin: 0 auto;
  padding: 30px 0;
}

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

  /* Titel  */

h1 {
  font-weight: 400;
  color: #74c1ca;
  font-family: 'Amatic SC', 'Times', serif;
  font-size: 2.8em;
  margin: 15px 0;
  letter-spacing: 1px;
}

h2 {
  font-family: 'Amatic SC', 'Times', serif;
  color: #74c1ca;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.4;
  margin: 15px 0 5px 0;
}

.colored h2 {
  color: white;
}

h3 {
  font-family: 'Amatic SC', 'Times', serif;
  color: #74c1ca;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1.4;
  margin: 15px 0 5px 0;
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 2.5em;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.2em;
  }
  h3 {
    font-size: 1.8em;
  }
}

p {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

ul {
  margin-left: 20px;
}

address {
  color: #6c6d74;
  line-height: 1.5;
  font-style: normal;
  margin-bottom: 30px;
}

@media screen and (max-width: 800px) {
  p,ul,address {
    font-size: 1em;
  }
}

@media screen and (max-width: 400px) {
  p,ul,address {
    line-height: 1.7;
  }
}

hr {
  border: 1px dotted #fff;
}

#downloads hr {
  margin: 0.5em 0;
}

#downloads a {
  transition: margin-left 500ms;
}

#downloads a:hover {
  margin-left: 5px;
  color: #fff;
}

#jobs a {
  transition: margin-left 500ms;
}

#jobs a:hover {
  margin-left: 5px;
  color: #fff;
}

.elternstimmen .wrapper hr, .links .wrapper hr {
  border: 1px dotted #74c1ca;
  opacity: 50%;
}

.quotes i {
  color: #74c1ca;
}
/* Hero Image*/

.hero-flex-container {
  display: flex;
  justify-content: center;
  padding-bottom: 15px;
}

.stoerer {
  position: absolute;
  display: block;
  margin-top: 10%;
  right: 10%;
}

@media screen and (max-width: 600px) {
  .stoerer {
    display: none;
  }
}

@media screen and (max-width: 800px) {
  .hero-flex-container {
    width: 75%;
    margin: 0 auto;
    padding-top: 5%;
  }
  /* .hero-flex-container img {
     width: 50%;
     height: 50%;
     padding-top: 5%;
  } */
}

  /* Navigation  */

.headerImg {
  max-width: 800px;
}

.lead {
  width: 700px;
}

/*
START BUTTONS
*/

.button {
  background: transparent;
  padding: 10px;
  color: #74c1c4;
  border: 1px solid #74c1c4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background-color: #74c1c4;
  color: #fff;
}

.button_white {
  border: 1px solid #fff;
  color: white;
  cursor: pointer;
}

.button_white:hover {
  background-color: #fff;
  color: #74c1c4;
}

.mainButtonContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 2%;
}

.mainButton {
  margin-right: 0px;
  margin: 2% 2% 0 0;
  transition: all 500ms ease-in-out;
}

.news_button {
  display: block;
  margin: 2% 2% 0 0;
  transition: all 500ms ease-in-out;
  width: 200px;
  width: max-content;
}

@media screen and (max-width: 600px) {
  .button {
    width: 100%;
  }
  .button_white {
    width: 100%;
  }
  .news_button {
    width: 100%;
  }
}


/*
.colored .newsButton:hover {
  background-color: #fff;
  color: #74c1c4;
}


END BUTTONS
*/


/* News Section  */

.white {
  background-color: #fff;
}

.colored {
    background-color: #74c1ca;
    color: white;
}

.colored h3 {
    color: white;
}

.colored a {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

#news > h2 {
    color: white;
}

/* #news a:hover {
    color: #C0C0C0;
} */

/* Start Styling Contact-Div */

.twoCol .wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.twoCol .wrapper:first-child {
  align-items: center;
}

.twoCol .wrapper > div {
  width: 50%;
}

@media screen and (max-width: 800px) {
  .twoCol .wrapper div {
    width: 100%;
  }
  /* .twoCol .wrapper div a {
    width: 50%;
  } */
}

#contactDesktop {
  display: none;
}

.contactMobileButtons {
  display: flex;
  flex-direction: column;
  width: max-content;
}

.contactMobileButtons a {
  text-align: center;
  margin: 16px 16px 16px 0;
}

.contactMobileButtons a:hover {
  border: 1px solid #74c1ca;
  color: #fff;
  background-color: #74c1ca;
}

@media screen and (min-width: 1500px) {
  #contactDesktop {
    display: block;
    position: fixed;
    width: 220px;
    top: 450px;
    left: 30px;
    border: 2px solid #74c1c4;
    padding: 15px;
    background-color: #fff;
    animation-name: rotateInDownLeft;
    animation-delay: 1s;
    box-shadow: 0 5px 40px #74c1ca;
    font-size: 14px;
  }

  .contactButtons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 5px 0;
  }

  .contactButtons a {
    margin: 5px 0;
    padding: 10px 0;
  }

  .contactMobile {
    display: none;
  }

  .contactMobileButtons {
    display: none;
  }

}

/* Ende Styling Contact-Div */

/* Start Footer */

#footerSection {
  border: 15px solid #74c1ca;
}

.footer {
  width: 1000px;
  margin: 0 auto;
  padding: 60px 0 80px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* justify-content: space-evenly; */
  flex-wrap: wrap;
}

@media screen and (max-width: 1000px) {
  .footer {
      width: 90%;
      margin: 0 5%;
  }
}

@media screen and (max-width: 600px) {
  .footer {
    padding: 30px 0;
  }
}

.footerNav {
  display: flex;
  flex-direction: column;
}

.footerNav a {
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 150%;
  transition: color 500ms;
}

.footerNav a:hover {
  color: #10a2b3;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .footerNav a {
    font-size: 175%;
  }
}

#footerLine {
  border-top: 1px solid #74c1ca;
  width: 95%;
  margin: 50px auto;
}

#footer_button {
  display: block;
  margin-right: 0px;
  margin-top: 5%;
}

#footer_button:hover {
  border: 1px solid #74c1ca;
}

@media screen and (max-width: 800px) {
  .footer div {
    width: 100%;
    line-height: 1.4;
  }
  .footer div nav {
    margin: 2% 0 0 0;
  }
  #footer_button {
    width: 50%;
    margin: 3% 0;
  }
  .label {
    margin-top: 5%;
  }
}

@media screen and (max-width: 600px) {
  #footer_button {
    width: 100%;
  }
}

/* Ende Footer */

a {
  background-color: rgba(0, 0, 0, 0);
  color: #74c1ca;
  cursor: pointer;
  transition: color 500ms;
}

a:hover {
  color: #10a2b3;
}

/* Start
Navigation
*/

nav {
  font-weight: 400;
  color: #74c1ca;
  font-family: 'Amatic SC', 'Times', serif;
  text-transform: uppercase;
  padding-bottom: 15px;
}

nav li {
	list-style: none;
}

nav ul {
	margin-left: 0;
}

nav ul li ul {
    background: #fff;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease;
    display: none;
}

nav ul li ul li {
  padding: 8px 0;
}

nav ul li:hover > ul {
	visibility: visible;
  opacity: 1;
  display: block;
  padding-left: 0;
}

.dropdown-kva {
  border: 1px dotted #74c1ca;
}

@media screen and (max-width: 800px) {
  nav {
    padding-bottom: 0px;
    margin: 0 5%;
  }
  .dropdown-kva {
    display: none;
  }
  nav ul li:hover > ul {
    opacity: 0;
  }
}

.topnav {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background-color: transparent;
  justify-content: center;
}

.topnav a {
  padding: 0 16px;
  text-decoration: none;
  font-size: 30px;
  transition: color 500ms;
}

.topnav a:hover {
  color: #10a2b3;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 800px) {
  .logo_mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .topnav a {
    display: none;
    padding: 15px;
   }

  .topnav a.icon {
    display: block;
    padding: 5px 20px 5px 20px;
    font-size: 50px;
  }

  .topnav.responsive {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 15px;
    background-color: #74c1c4;
    border: 1px solid #74c1ca;
   }

  .topnav.responsive #logo_nav {
    display: none;
  }
  .topnav.responsive a {
    display: block;
    border-bottom: 1px solid #fff;
    color: #fff;
  }
  .responsive a.icon {
    border-bottom: none;
  }
}

/* Mobile Nav Start*/

.mobNav {
    display: none;
}

@media screen and (max-width: 800px) {
  .mobNav {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: flex-start;
      margin-left: 5%;
      font-family: 'Amatic SC', 'Times', serif;
      text-transform: uppercase;
      align-items: center;
      margin-bottom: 2px;
  }

  a.icon2:first-child {
      width: 60%;
      margin-left: 0%;
      border-radius: 0%;
      /* font-size: 50px; */
      padding: 5px 5px 5px 15px;
      text-align: left;
  }

  a.icon2 {
      width: 15%;
      margin-left: 2.5%;
      border: 1px solid #74c1ca;
      text-align: center;
      font-size: 30px;
      padding: 5px;
      text-decoration: none;
  }
  a.responsiveMob:hover {
    color: #fff;
    background-color: #74c1ca;
  }
}
/*
  Ende Styling Navigation
*/


/*
  Styling markierte Texte
*/

::selection {
    background: rgba(255,103,51,0);
    color: #74c1ca;
    text-shadow: none;
}

::selection {
    background: rgba(159, 210, 216, 0.6);
    color: white;
    text-shadow: none;
}

/*
  Styling Galerie Grid */

  .flex-container {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      -webkit-flex-flow: row wrap;
      justify-content: center;
  }
  .flex-item {
      /* padding: 5px; */
      width: 250px;
      height: 250px;
      margin-top: 5px;
      margin-right:15px;
      /* background-color: #74c1ca; */
  }
  .flex-item > a > img {
      width: 240px;
      height: 240px;
      object-fit: cover;
  }
  .flex-item > img {
      width: 240px;
      height: 240px;
      object-fit: cover;
  }

@media screen and (max-width: 600px) {
  .flex-item {
    width: 100%;
    height: fit-content;
    padding: 5px 5px 0px 5px;
    margin-right: 0px;
  }
  .flex-item > img {
      width: 100%;
      height: 100%;
  }
  .flex-item > a > img {
      width: 100%;
      height: 100%;
  }
}

/*
Start Sticky back to top Button
*/

.top-link {
	 transition: all 0.25s ease-in-out;
	 position: fixed;
	 bottom: 0;
	 right: 0;
	 display: inline-flex;
	 cursor: pointer;
	 align-items: center;
	 justify-content: center;
	 margin: 0 1.5em 1.5em 0;
	 border-radius: 50%;
	 padding: 0.25em;
	 width: 80px;
	 height: 80px;
	 background-color: #f8f8f8;
   border: 1px solid #74c1c4;
   font-family: 'Amatic SC', 'Times', serif;
   font-weight: 400;
   text-decoration: none;
   font-size: 1.6em;
}

@media screen and (max-width: 800px) {
  .top-link {
      margin: 0 0.5em 0.5em 0;
  }
}

.top-link.show {
	 visibility: visible;
	 opacity: 1;
}
.top-link.hide {
	 visibility: hidden;
	 opacity: 0;
}

.top-link:hover {
	 background-color: #74c1c4;
   border: 1px solid #fff;
   color: #fff;
   text-decoration: underline;
}

.screen-reader-text {
	 position: absolute;
	 clip-path: inset(50%);
	 margin: -1px;
	 border: 0;
	 padding: 0;
	 width: 1px;
	 height: 1px;
	 overflow: hidden;
	 word-wrap: normal !important;
	 clip: rect(1px, 1px, 1px, 1px);
}
 .screen-reader-text:focus {
	 display: block;
	 top: 5px;
	 left: 5px;
	 z-index: 100000;
	 clip-path: none;
	 background-color: #eee;
	 padding: 15px 23px 14px;
	 width: auto;
	 height: auto;
	 text-decoration: none;
	 line-height: normal;
	 color: #444;
	 font-size: 1em;
	 clip: auto !important;
}

/*
Ende Sticky back to top Button
*/

/*
Start Team Galerie

.galerie_section_1, .galerie_section_2, .galerie_section_3, .galerie_section_4, .galerie_section_5  {
  display: none;
}

*/

.gallery {
  position: relative;
  max-width: 800px;
/*  padding: 0 10px; */
}

.gallery_scroller {
   /* snap mandatory on horizontal axis  */
  scroll-snap-type: x mandatory;

  overflow-x: scroll;
  overflow-y: hidden;

  display: flex;
  /* align-items: center; */

  height: 450px;

  /* Enable Safari touch scrolling physics which is needed for scroll snap */
  -webkit-overflow-scrolling: touch;
}


.gallery_scroller > div {
   /* snap align center  */
  scroll-snap-align: start;
  /* margin: 10px; */
  position: relative;
}

.gallery_scroller div:first-of-type {
  /* margin-left: 0px; */
}

.gallery_scroller img {
  border-radius: 50%;
  /* margin-top: 15px; */
  width: 300px;
}

.gallery_scroller div.card {
  min-width: 50%;
  min-height: 95%;
/*border-radius: 10px;*/
  max-width: 400px;
  padding: 0 20px;
  /* border: 1px solid #74c1c4; */
  overflow: hidden;
 }

 p.card_body {
   line-height: 1.75;
 }

@media screen and (max-width: 600px) {
 .gallery_scroller div.card {
   min-width: 100%;
   min-height: 95%;
   padding: 0 2%;
  }
}

@media screen and (max-width: 400px) {
 .gallery_scroller div.card {
   min-width: 100%;
   min-height: 95%;
  }
  .gallery_scroller div {
     /* snap align center  */
    scroll-snap-align: start;
    margin: 0;
  }
}

div.card {
  text-align: center;
}

.gallery div.note {
  position: absolute;

  /* vertically align center */
  top:  50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;

  background: rgba(0,0,0, 0.6);
  padding: 20px;
  position: absolute;

  font-size: 4em;
  color: white;
}


.gallery .btn {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  height: 30px;
  width: 30px;

  border-radius: 2px;
  background-color: #74c1c4;
  background-position: 50% 50%;
  background-repeat: no-repeat;

  z-index: 1;
}

.gallery .btn.next {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg width="18" height="18" viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path d="M25.557 14.7L13.818 2.961 16.8 0l16.8 16.8-16.8 16.8-2.961-2.961L25.557 18.9H0v-4.2z" fill="%23FFF" fill-rule="evenodd"/></svg>');
  right: 10px;
}

.gallery .btn.prev {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg width="18" height="18" viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path d="M33.6 14.7H8.043L19.782 2.961 16.8 0 0 16.8l16.8 16.8 2.961-2.961L8.043 18.9H33.6z" fill="%23FFF" fill-rule="evenodd"/></svg>');
  left: 10px;
}

/* Start Hover Text */

.container {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #74c1ca;
  border-radius: 50%;
  width: 305px;
  /* height: 310px; */
  margin: auto;
  overflow: hidden;
}

.container:hover .overlay {
  opacity: 1;
}

@media screen and (max-width: 800px) {
  .container:hover .overlay {
    opacity: 0;
  }
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.team-separator {
  color: #74c1ca;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .mobile-only {
    display: block;
  }
  .card hr {
    display: block;
    border: 1px dotted #74c1ca;
    margin: 2.5px 35% 10px 35%;
  }
  .gallery_scroller {
    height: 550px;
  }
}


/*

.gallery_scroller > div.card:nth-of-type(1) { background-color: #e8eaf6; }
.gallery_scroller > div.card:nth-of-type(2) { background-color: #c5cae9; }
.gallery_scroller > div.card:nth-of-type(3) { background-color: #9fa8da; }
.gallery_scroller > div.card:nth-of-type(4) { background-color: #7986cb; }
.gallery_scroller > div.card:nth-of-type(5) { background-color: #5c6bc0; }
.gallery_scroller > div.card:nth-of-type(6) { background-color: #3f51b5; }
.gallery_scroller > div.card:nth-of-type(7) { background-color: #3949ab; }
.gallery_scroller > div.card:nth-of-type(8) { background-color: #303f9f; }
.gallery_scroller > div.card:nth-of-type(9) { background-color: #283593; }
.gallery_scroller > div.card:nth-of-type(10) { background-color: #1a237e; }

Ende Team Galerie
*/

/*
Start Anmeldeformular
*/

form {
    display: block;
    text-align: left;
    margin: 0 5%;
}

input {
  font-family: 'Quicksand', sans-serif;
  color: #74c1ca;
}

input:focus {
    border: 1px solid #74c1ca;
}

input[type="submit"] {
  -webkit-appearance: none;
}

@media screen and (max-width: 600px) {
    form {
      margin: 0 1%;
    }
}

.form-section {
    border-bottom: 1px solid #74c1ca;
}

.form-section:last-child {
    border-bottom: transparent;
}

label {
    display: inline-block;
    margin-bottom: 2%;
    margin-right: 2%;
}

.form-control {
    display: inline;
    width: 45%;
    margin: 0 2% 20px 2%;
    padding: .375rem 3%;
    font-size: 1rem;
    line-height: 1.5;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

@media screen and (max-width: 600px) {
    .form-control {
      width: 100%;
    }
}

.form-group {
  width: 90%;
  margin: 0 2% 20px 2%;
  font-size: 1rem;
  background-color: transparent;
  background-clip: padding-box;
}

.form-area {
  width: 90%;
}

.form-group label {
    margin: 0 2%;
}

.form-group input[type="radio"] {
    margin: 3px 8px 0px 12px;
    vertical-align: text-top;
}
.form-paragraph {
  margin: 1em 2% 20px 2%;
}
.check {
  margin-right: 10px;
  /* border: 1px solid yellow; */
  display: inline;
  font-size: 100%;
  vertical-align: initial;
}

.form-group > label > input[type="checkbox"] {
    vertical-align: initial;
    margin-bottom: 10px;
}

.formButton {
  display: inline-block;
  font-size: 18px;
  padding: 20px 20px;
  white-space: nowrap;
  vertical-align: middle;
  margin: 20px 10px 20px 0px;
  min-width: 150px;
}

/*
Ende Anmeldeformular
*/

/*
Start SVG Icons
*/

.quote-svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #74c1ca;
}

.icon2-svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  vertical-align: middle;
}

.qualikita-svg {
  width: 10rem;
  height: 10rem;
}

.qualikita-png {
  width: 10rem;
}

.cls-1 {
  fill:#f39200;
}

.cls-2 {
  fill:#fff;
}

/* alte qualikita styles
.cls-1, .cls-2 {
  fill: #fff;
}

.cls-1 {
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 3.5px;
}

.cls-3 {
  fill: #fa5000;
}
*/

/*
Ende SVG Icons
*/

/* bootstrap Korrekturen

ol, ul {
    padding-left: 0;
}

*/

/* Start Accordion Kontakt */

.accordion {
  color: #000;
  cursor: pointer;
  padding: 18px 0;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 1.25em;
  transition: 0.6s;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  border-top: 2px solid #eee;
  margin-top: 50px;
}

.accordion-container button {
    font-family: 'Amatic SC', 'Times', serif;
    color: #74c1ca;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.4;
    margin: 0;
}

.accordion:after {
  content: '\002B';
  color: #74c1ca;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active, .accordion:hover {
  color: #74c1ca;
  border-top: 2px solid #74c1ca;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel p {
  padding: 0 25px 0 0;
  margin-top: unset;
}

/* ENDE accordion Kontakt */
