/* Reset Styles */
/* https://piccalil.li/blog/a-modern-css-reset */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;

}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}


/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* 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;
  }
}

/*  ---------------    Hier beginnen die eigenen Styles -------------    */

/* ==========================================================================
   Farben
   ========================================================================== */

/* Global Styles */
html {
  font-size: 15px;
  color: #636363;
  font-weight: normal;
  font-family: Verdana, Tahoma, sans-serif;
  background-color: white;
}

@media only screen and (min-width: 900px) {
  html {
    font-size: 18px;
  }

}

body {
  background-color: white;
  min-height: 80vh;
}

.main_wrapper {
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}

header {
  width: 100%;
}

.header-container {
  color: white;
  margin: 0 auto;
  text-align: center;
  line-height: normal;
  padding: 1em 0;
}

@media only screen and (min-width: 900px) {
  .header-container {
    padding-top: 70px;
  }
}

.logotext_big {
  font-size: 2.2rem;
  letter-spacing: .12rem;
  font-weight: bold;
}

.logotext_small {
  font-size: 1.2rem;
  letter-spacing: .1rem;
}


a.whitelink,
whitelink:visited {
  color: #2282c1;
  text-decoration: none;
  margin-left: .8rem;
}

a.whitelink:hover,
.whitelink:active {
  border-bottom: 3px solid #2282c1;
  color: #2282c1;
}

a.bluelink,
bluelink:visited {
  color: white;
  text-decoration: none !important;
  margin-left: .8rem;
}

a.bluelink:hover,
.bluelink:active {
  border-bottom: 3px solid white;
  color: white;
}

.bg_blue {
  background-color: #2282c1;
}

/* main-nav */
.main-nav {
  background-color: #2282c1;
  padding: 1rem 1rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;

}

@media only screen and (min-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
  }
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0 .5rem;
  display: none;
  /* bei Desktop auf display: initial setzen */
}

@media only screen and (min-width: 900px) {
  nav a {
    display: initial;
    /* bei Desktop auf display: initial setzen */
  }
}

#main-nav.sticky {
  position: fixed;
  top: 0;
}

.navbarOffsetMargin {
  display: none;
  /* padding-top: 45px; */
}

@media only screen and (min-width: 900px) {
  .navbarOffsetMargin {
    display: initial;
  }
}


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

section {
  padding-top: 2.5em;
}

.vorstand-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  row-gap: .5em;
}

@media only screen and (min-width: 550px) {
  .vorstand-container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1em;
    justify-content: center;
  }
}

.vorstand-item {
  display: flex;
  padding: .5em;
  border-radius: .5em;
  border: 1px solid color(srgb 0.047 0.3175 0.495 / 0.43);
  background-color: rgb(242 239 239);
  min-width: 310px;
}

@media only screen and (min-width: 550px) {
  .vorstand-item {
    max-width: 225px;
    flex-direction: column;
    min-width: initial;
  }
}

@media only screen and (min-width: 835px) {
  .vorstand-item {
    max-width: 220px;

  }
}

.vorstand-img-container {
  border-radius: .4em;
}


.vorstand-img-container img {
  width: 150px;
  height: auto;
}

@media only screen and (min-width: 550px) {
  .vorstand-img-container img {
    width: initial;
  }
}


.vorstand-text-container {
  width: 75%;
  padding-left: 1em;
  padding-top: 1rem;
  margin: 0;
}

@media only screen and (min-width: 550px) {
  .vorstand-text-container {
    padding: 0;
    padding-top: .5em;
    text-align: center;
    width: auto;

  }
}

.vorstand-name {
  font-size: 1rem;
  font-weight: bold;
  padding-bottom: .5em;
  margin: 0;
}

.vorstand-aufgabe {
  font-size: .9rem;
  margin: 0;
}

.topnav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style-type: none;
}

.topnav ul li {
  font-size: 1.1em;
  line-height: 2.3rem;
}

.topnav ul li a {
  text-decoration: none;
  color: #2282c1;
}

.topnav ul li a:hover {
  color: #ffffff;
}

.kontakt_container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.kontakt_container p {
  font-size: 1rem;
  padding-left: 1em;
}

@media only screen and (min-width: 500px) {
  .kontakt_container p {
    font-size: 1.1rem;
  }
}

.kontakt_container h3 {
  font-size: 1.1rem;
  padding-left: .5em;
}

.kontakt_item {
  padding-bottom: 1em;
  width: 100%;
}

@media only screen and (min-width: 650px) {
  .kontakt_item {
    width: 47%;
  }
}

@media only screen and (min-width: 900px) {
  .kontakt_item {
    width: 400px;
  }
}

.footernav {
  padding: 1em 0;
  text-align: center;
}

.footer_text {
  font-size: 1.4rem;
  color: white;
  margin-bottom: .5em;
}

.footer_links {
  margin-bottom: .5em;
}

.footer_links p {
  font-size: 1rem;
}

p {
  font-size: 1.2rem;
  font-weight: normal;
  margin-bottom: 1rem;
}


h2 {
  font-size: 1.7rem;
  font-weight: bold;
  margin: 0 0 .4rem 0;
  padding: 1em 0 .5em 0;
  text-align: center;
  color: #2282c1;
}

h3 {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0 0 .3rem 0;
  text-align: center;
}

h4 {
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 0 .2rem 0;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 .6rem 0;
}

.wichtig {
  color: #2382c1;
  font-size: 1.15rem;
}



.bg-grau {
  background-color: #eaeaea;
  padding: 0px;
  border-radius: 5px;
}


/* Cookie styles*/
#cookies {
  width: 250px;
  position: fixed;
  bottom: 0;
  right: 0;
  color: white;
  background-color: #4f4f4f;
  z-index: 1;
  display: none;

}

.subcontainer {
  padding: 1em;
}

.p_cookie_hinweis {
  font-size: .6rem;
  margin-bottom: 0;
}

.cookies {
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cookies a {
  color: #ef9990;
  text-decoration: none;
}

#cookies-btn {
  border-radius: 4px;
  padding: .1em .5em;
  font-size: .8rem;
  cursor: pointer;
  background-color: #e0e0e0;
  color: #212121;
}



#cookies-btn:hover {
  transform: scale(0.95);
}

/* more_less */
.hide {
  display: none;
}


.b_more_less {
  font-weight: normal;
  background-color: rgb(158, 158, 158);
  color: white;
  margin-left: 1em;
  padding: .25em 1em;
  border-radius: .2em;
  font-style: italic;
  font-size: 1rem;

}

.a_more_less {
  text-decoration: none;
  color: white;
}

.a_more_less,
.b_more_less,
.span_more_less {
  cursor: pointer;
}


/*  ---------- modal impressum / datenschutz------------*/
.modal {
  margin: 3em;
  padding: 2em;
  margin-inline: auto;
  border-radius: .5rem;
  max-width: 90%;
}

.modal::backdrop {
  background-color: black;
  opacity: 0.8;
}

.close-button-impressum,
.close-button-datenschutz {
  font-size: 1.3em;
  background: none;
  border: none;
}

.close-button-impressum:hover,
.close-button-datenschutz:hover {
  transform: scale(0.9);
}

.div-datenschutz-container a,
.div-impressum-container a {
  word-wrap: break-word;
}

.div-datenschutz-container h3,
.div-impressum-container h3 {
  font-size: 1rem;
  margin: 1rem 0;
}

.div-datenschutz-container p,
.div-impressum-container p {
  font-size: 1rem;
  margin: 1rem 0;
}

.div-datenschutz-container h2,
.div-impressum-container h2 {
  font-size: 1.2rem;
  margin: 1rem 0;
}

.btn-cont-more {
  background: none;
  border: none;
  border-radius: 0.3em;
  margin-right: 1rem;
  color: white;
  cursor: pointer;
}

.btn-cont-more:hover {
  color: var(--clr-text);
}

/* =========================   Media Queries ===================================== */