/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Thin */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

/* Extra Light */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

/* Light */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Semi Bold */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Extra Bold */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Italics (for each weight) */

/* Thin Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* Extra Light Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

/* Light Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* Regular Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* Medium Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

/* Semi Bold Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

/* Bold Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Extra Bold Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

/* Black Italic */
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/fonts/Trirong/static/Trirong-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

/* Thin */
@font-face {
  font-family: 'Work Sans';
  src: url('./fonts/fonts/Work_Sans/static/WorkSans-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

/* Extra Light */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

/* Light */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Semi Bold */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Extra Bold */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Italics (for each weight) */

/* Thin Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* Extra Light Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

/* Light Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* Regular Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* Medium Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

/* Semi Bold Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

/* Bold Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Extra Bold Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

/* Black Italic */
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/fonts/Work_Sans/static/WorkSans-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

html, body {
	width: 100vw;
	position: relative;
}

@media (min-width: 479px) and (max-width: 839px) {

#typelogo {
  font-size: 16px;
  font-weight: bold;
}

}

@media (max-width: 479px) {
  #typelogo {
    font-size: 11px;
    font-weight: bold;
  }
}
* {
  font-weight: 500!important;
  box-sizing: border-box!important;
}
/** aktuelles styles **/

/** **/
#teamtxt h3 {
  padding-top: 0px;
  margin-top: 0;
}
.headline-nomargintop {
  margin-top: 0; }

.linksidebar {
  color: #00983A;
  border-bottom: 2px solid #00983A; }

.linksidebar:hover {
  color: #00983A; }

.page_item a {
  color: rgba(0, 0, 0, 0.67);
  font-size: 14px; }

.page_item a:hover {
  color: rgba(0, 0, 0, 0.77); }

.txt-center {
  text-align: center; }

.txt-bold {
  font-weight: bold; }

.txt-light {
  opacity: 0.42; }

.txt-uppercase {
  text-transform: uppercase; }

.caption-large {
  font-size: 3em;
  line-height: 1.1; }

@media (max-width: 479px) {
  .caption-large {
    font-size: 1.5em;
    line-height: 1.125; } }
@media (min-width: 479px) and (max-width: 839px) {
  .caption-large {
    font-size: 2em;
    line-height: 1.05; } }
html, body {
  font-family: "Work Sans", sans-serif; }

.seriffont {
  font-family: "Trirong", sans-serif; }

body, caption, th, td, input, textarea, select, option, legend, fieldset, h1, h2, h3, h4, h5, h6 {
  font-size-adjust: 0.5; }

body {
  font-size: 1em;
  /* equivalent to 16px */
  line-height: 1.25;
  /* equivalent to 20px */ }

@media (min-width: 43.75em) {
  body {
    font-size: 1em;
    /* equivalent to 16px */
    line-height: 1.375;
    /* equivalent to 22px */ } }
h1 {
  font-size: 2em;
  /* 2x body copy size = 32px */
  line-height: 1.25;
  /* 45px / 36px */ }

@media (min-width: 43.75em) {
  h1 {
    font-size: 2.5em;
    /* 2.5x body copy size = 40px */
    line-height: 1.125; } }
@media (min-width: 56.25em) {
  h1 {
    font-size: 3em;
    /* 3x body copy size = 48px */
    line-height: 1.05;
    /* keep to a multiple of the 20px line height and something more appropriate for display headings */ } }
h2 {
  font-size: 1.625em;
  /* 1.625x body copy size = 26px */
  line-height: 1.15384615;
  /* 30px / 26px */ }

@media (min-width: 43.75em) {
  h2 {
    font-size: 2em;
    /* 2x body copy size = 32px */
    line-height: 1.25; } }
@media (min-width: 56.25em) {
  h2 {
    font-size: 2.25em;
    /* 2.25x body copy size = 36px */
    line-height: 1.25; } }
h3 {
  font-size: 1.375em;
  /* 1.375x body copy size = 22px */
  line-height: 1.13636364;
  /* 25px / 22px */ }

@media (min-width: 43.75em) {
  h3 {
    font-size: 1.5em;
    /* 1.5x body copy size = 24px */
    line-height: 1.25; } }
@media (min-width: 56.25em) {
  h3 {
    font-size: 1.75em;
    /* 1.75x body copy size = 28px */
    line-height: 1.25; } }
h4 {
  font-size: 1.125em;
  /* 1.125x body copy size = 18px */
  line-height: 1.11111111; }

@media (min-width: 43.75em) {
  h4 {
    line-height: 1.22222222;
    /* (22px / 18px */ } }
blockquote {
  font-size: 1.25em;
  /* 20px / 16px */
  line-height: 1.25;
  /* 25px / 20px */ }

@media (min-width: 43.75em) {
  blockquote {
    font-size: 1.5em;
    /* 24px / 16px = */
    line-height: 1.45833333;
    /* 35px / 24px */ } }


.dashicons {

    font-size: 48px;
    margin: 0;
    padding: 0;
    line-height: 0;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;

}

html, body {
  color: rgba(0, 0, 0, 0.77);
  background-color: #f4f1e6; }

.bl-primary {
  background-color: #f4f1e6; }

.bl-secondary {
  background-color: #f0ead6; }

.bl-sidebar {
  background-color: #e8e2ce; }

.txt-accent {
  color: #00983A; }

.bl-dark {
  background-color: #545148; }

.svgdivider {
  width: 200px;
  height: auto; }

.svgdividersmall {
  width: 120px;
  height: auto; }

.bl-padding {
  padding: 15px; }

.bl-padding-right {
  padding-right: 15px; }

.centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.top {
  -ms-flex-item-align: start;
      align-self: flex-start; }

.bottom {
  -ms-flex-item-align: end;
      align-self: flex-end; }

.strech {
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch; }

.sameheight {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch; }

.header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999999999999;
  color: rgba(0, 0, 0, 0.87); }

.header-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px; /* Adds spacing like MDL's original gutter */
  width: 95%;
  max-width: 1444px; /* Ensures a max width of 1444px */
  margin: 0 auto;
  box-sizing: border-box;
}

#ulnav {
  padding-left: 0;
  list-style-type: none;
  text-align: right;
  font-weight: bold; }

#ulnav li a {
  font-weight: bold; }

#ulnav li {
  display: inline-block;
  margin-left: 25px; }

#ulnav li:first-child {
  margin-left: 0px; }

#mobilenavopen {
  display: none;
  text-align: right; }

@media (max-width: 1480px) {
  #desktopnav {
    display: none; }

  #mobilenavopen {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer; } }

#mobileoverlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color:#f4f1e6;
  z-index: 9999;
  display: none;
  visibility: hidden; /* Reinforce hidden state */

}

#mobileoverlay.mobile-nav-open {
  display: block;
  visibility: visible; /* Reinforce visible state */

}

#ulnavmobile {
  list-style-type: none;
  padding-left: 0;
  padding: 1rem;
}

#ulnavmobile li {
  margin-bottom: 20px; }

#ulnavmobile li:last-child {
  margin-bottom: 0px; }

#ulnavmobile li a {
  font-weight: bold;
  font-size: 24px; }

#ulnavmobile li a:hover {
  border-bottom: 2px solid rgba(0, 0, 0, 0.77); }

#closemobile {

  cursor: pointer; }

.section {

  padding-top: 50px;
  padding-bottom: 50px; }

.content-section:nth-child(even) {
background-color: #f0ead6;
}

.content-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.event-box {
  border-bottom: 1px solid #444;
}

#hero {
  position: relative;
  height: auto;
  max-height: 650px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.87); }

#hero img {
  opacity: 0.77; }

#herocaption {
  padding: 15px;
  position: absolute;
  z-index: 999;
  color: #fff;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

#imgsection {
  position: relative;
  height: auto;
  max-height: 400px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.87); }

#imgsection-caption {
  padding: 15px;
  position: absolute;
  z-index: 999;
  color: #fff;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

.post-wrapper {
  padding: 15px;
  -webkit-transform: translateY(70px);
      -ms-transform: translateY(70px);
          transform: translateY(70px);
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease; }

.post-wrapper.reveal {
  opacity: 1;
  -webkit-transform: translateY(0px);
      -ms-transform: translateY(0px);
          transform: translateY(0px);
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease; }


.team-wrapper {
  position: relative; }

.teaminfo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 152, 58, 0.8);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  padding: 15px;
  color: #fff;
  cursor: default; }

.teaminfo-wrapper:hover {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease; }



#teambox {
  opacity: 0!important;
  height: 350px;
  background-size: cover;
  background-position: center; }

@media (max-width: 839px) {
  #teambox {
    height: 250px;
  }
}


@media (max-width: 479px) {
  #teambox {
    height: 250px;
  }
}

/* team neu */
.team-section:nth-child(even){
  background-color: #f0ead6;
}

.team-section:nth-child(even) .team-portrait--outer{
  background-color: #f4f1e6;
}

.team-entry {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 2.5em;
}

.team-portrait--outer{
  position: relative;
  display: block;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  width: 300px;
  height: 300px;
  background-color: #f0ead6;
}
.team-portrait--outer .team-portrait{
  width:100%;
  height:100%;
  background-size: cover;
  background-position: center;

}

.team-text {
  width: 100%;
  text-align: center;
}

.team-text h4 {
  margin-bottom: 0;
}
.team-text p {
  margin-top: 0.5em;
}
/* */


#sidebarul {
  padding-left: 15px; }

#sidebarul li {
  margin-bottom: 15px; }

#sidebarul li:last-child {
  margin-bottom: 0px; }

.info-wrapper ul {
  list-style-type: none;
  padding-left: 0; }

.info-wrapper ul li {
  margin-bottom: 5px; }


.footerul {
  list-style-type: none;
  padding-left: 0;
  font-size: 14px; }

.footerul li {
  margin-bottom: 5px; }

.footerul li:first-child {
  margin-bottom: 10px; }

#logofooter {
  width: 80%;
  height: auto; }


  /* The Gallery container (div) */
.gallery {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
    -webkit-column-gap: 1em;
       -moz-column-gap: 1em;
            column-gap: 1em;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin-top: 2em;
}

.gallery a {
  pointer-events: none;
}

@media (min-width: 480px) and (max-width: 840px) {
  .gallery {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
      -webkit-column-gap: 1em;
         -moz-column-gap: 1em;
              column-gap: 1em;
      -webkit-transition: all 0.2s ease;
      -o-transition: all 0.2s ease;
      transition: all 0.2s ease;

  }
}

@media (max-width: 479px) {
  .gallery {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
      -webkit-column-gap: 1em;
         -moz-column-gap: 1em;
              column-gap: 1em;
      -webkit-transition: all 0.2s ease;
      -o-transition: all 0.2s ease;
      transition: all 0.2s ease;
  }
}


/* A Gallery item container,
 for 3, 2 and 4 column galleries */
.gallery .gallery-item {
  display: inline-block;
    margin: 0 0 1em;
    width: 100%;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}






.gallery img {width: 100%; height: auto;}


/* new post archive */
section#aktuelles-headline {
  padding-bottom: 0;

}
section#post-archive-nav {
 padding-top: 1em;
}

#post-archive-nav-title {
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 1em;
}

ul#post-archive-years-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
ul#post-archive-years-ul li {
  display: inline;
  margin-right: 1em;
  padding: 0.25em;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.77);
  font-size: 1.75em;
  line-height: 1.25;
  cursor: pointer;
  margin-bottom: 1em;
  border-top: 1px dashed rgba(0, 0, 0, 0.77);
}

ul#post-archive-years-ul li.active-year {
  color: #00983A;
  pointer-events: none;
}



section#ajax-posts .mdl-grid {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

#posts-loading {
  height: 50vh;
  width: 100vw;
  background-color: #f0ead6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: top;
      -ms-flex-align: top;
          align-items: top;
  padding: 2em;
}

section#ajax-posts .content-section {
  display: none;
}
section#ajax-posts .content-section:nth-child(odd) {
  background-color: #f0ead6!important;
}

section#ajax-posts .content-section:nth-child(even) {
  background-color: #f4f1e6!important;
}

.loader {
  position: relative;
  width: 40px;
  margin: auto;
}
.loader .circle {
  position: absolute;
  width: 38px;
  height: 38px;
  opacity: 0;
  -webkit-transform: rotate(225deg);
      -ms-transform: rotate(225deg);
          transform: rotate(225deg);
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: orbit;
          animation-name: orbit;
  -webkit-animation-duration: 5.5s;
          animation-duration: 5.5s;
}
.loader .circle:after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #00983A;
  /* Pick a color */
}
.loader .circle:nth-child(2) {
  -webkit-animation-delay: 240ms;
          animation-delay: 240ms;
}
.loader .circle:nth-child(3) {
  -webkit-animation-delay: 480ms;
          animation-delay: 480ms;
}
.loader .circle:nth-child(4) {
  -webkit-animation-delay: 720ms;
          animation-delay: 720ms;
}
.loader .circle:nth-child(5) {
  -webkit-animation-delay: 960ms;
          animation-delay: 960ms;
}
@-webkit-keyframes orbit {
  0% {
    -webkit-transform: rotate(225deg);
            transform: rotate(225deg);
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  7% {
    -webkit-transform: rotate(345deg);
            transform: rotate(345deg);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  30% {
    -webkit-transform: rotate(455deg);
            transform: rotate(455deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  39% {
    -webkit-transform: rotate(690deg);
            transform: rotate(690deg);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  70% {
    -webkit-transform: rotate(815deg);
            transform: rotate(815deg);
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  75% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  76% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    opacity: 0;
  }
}
@keyframes orbit {
  0% {
    -webkit-transform: rotate(225deg);
            transform: rotate(225deg);
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  7% {
    -webkit-transform: rotate(345deg);
            transform: rotate(345deg);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  30% {
    -webkit-transform: rotate(455deg);
            transform: rotate(455deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  39% {
    -webkit-transform: rotate(690deg);
            transform: rotate(690deg);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  70% {
    -webkit-transform: rotate(815deg);
            transform: rotate(815deg);
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  75% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  76% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotate(945deg);
            transform: rotate(945deg);
    opacity: 0;
  }
}


/* fix mdl grid */
/* 🌟 Modernized MDL Grid System - Fixes Issues on Newer iPhones */

/* Ensure full height on new iPhones (Dynamic Viewport Height) */
html, body {
  height: 100dvh;
  min-height: 100dvh;
  overflow-x: hidden; /* Prevent accidental horizontal scrolling */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Modernize .mdl-grid */
.mdl-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12-column grid */
  gap: 16px; /* Adds spacing like MDL's original gutter */
  width: 95%;
  max-width: 1444px; /* Ensures a max width of 1444px */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Convert .mdl-cell into a flexible grid system */
.mdl-cell {
  display: block; /* Ensures proper wrapping */
  box-sizing: border-box;
  width: 100%; /* Ensures it spans its grid-column */
  min-width: 0; /* Prevents overflow issues */
}



/* Fix issues with cell spacing */
.mdl-cell--1-col  { grid-column: span 1; }
.mdl-cell--2-col  { grid-column: span 2; }
.mdl-cell--3-col  { grid-column: span 3; }
.mdl-cell--4-col  { grid-column: span 4; }
.mdl-cell--5-col  { grid-column: span 5; }
.mdl-cell--6-col  { grid-column: span 6; }
.mdl-cell--7-col  { grid-column: span 7; }
.mdl-cell--8-col  { grid-column: span 8; }
.mdl-cell--9-col  { grid-column: span 9; }
.mdl-cell--10-col { grid-column: span 10; }
.mdl-cell--11-col { grid-column: span 11; }
.mdl-cell--12-col { grid-column: span 12; }

/* Responsive adjustments */
@media (max-width: 1024px) { /* Tablet */
  .mdl-cell--1-col-tablet  { grid-column: span 1; }
  .mdl-cell--2-col-tablet  { grid-column: span 2; }
  .mdl-cell--3-col-tablet  { grid-column: span 3; }
  .mdl-cell--4-col-tablet  { grid-column: span 4; }
  .mdl-cell--5-col-tablet  { grid-column: span 5; }
  .mdl-cell--6-col-tablet  { grid-column: span 6; }
  .mdl-cell--7-col-tablet  { grid-column: span 7; }
  .mdl-cell--8-col-tablet  { grid-column: span 8; }
  .mdl-cell--9-col-tablet  { grid-column: span 9; }
  .mdl-cell--10-col-tablet { grid-column: span 10; }
  .mdl-cell--11-col-tablet { grid-column: span 11; }
  .mdl-cell--12-col-tablet { grid-column: span 12; }
}

/* Make all mdl-cell elements full width on mobile */
@media (max-width: 600px) { /* Mobile */
  .mdl-grid, .header-navigation {
    width: 100%;
    padding: 1rem!important;
  }
  .mdl-cell--1-col,
  .mdl-cell--2-col,
  .mdl-cell--3-col,
  .mdl-cell--4-col,
  .mdl-cell--5-col,
  .mdl-cell--6-col,
  .mdl-cell--7-col,
  .mdl-cell--8-col,
  .mdl-cell--9-col,
  .mdl-cell--10-col,
  .mdl-cell--11-col,
  .mdl-cell--12-col {
      grid-column: span 12; /* Ensure full width on mobile */
  }
}

.single-item {
  width: 75%!important;
}

.einrichtungen-wrapper {
  display: flex;
  gap: 8rem;
}

@media (max-width: 600px) { /* Mobile */
  .einrichtungen-wrapper{
    display: block;
  }
  .single-item {
    width: 100%!important;
  }
}

.home-centered {
	display: flex;
	justify-content: center;
	width: 50%;
}

@media (max-width: 600px) { /* Mobile */ 

.home-centered {
	display: flex;
	justify-content: center;
	width: 85%;
}
}