:root {
    /* CONTENT */
    --width-content: calc(100vw - 5vh);
    --max-width-content: calc(1800px - 4vh);
    --max-width: 100%;
    --header-height: 80px;
    --gap: 2rem;
    --logo-width: 150px;
    --padding-content: 2rem;
    --button-size: 4.5rem;
    --transition: all 350ms ease-in-out;
    --font-body: "FS Me", sans-serif;
    --wave-height: 40px;
    --slider-gap: 5px;
    --header-height: 70px;
    --max-width-menu: calc(1400px - 40px);
    --logo-heigth: 15px;

    /* COLORS */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #E5E5E9;
    --darkgray: #2D3C4B;
    --green: #719751;
    --blue: #026488;
    --green-light: #a3c95c;
    --green-yellow: #80933a;


    --primary-clr: var(--blue);
    --secondary-clr: var(--green);
    --tertiary-clr: var(--yellow);
    --box-shadow: 0 1px 2px 0 rgba(15, 5, 5, 0.3), 0 1px 3px 1px rgba(10, 10, 10, 0.15);

    --text-clr: var(--darkgray);
    --link-clr: var(--black);
    --hl-clr: var(--black);
    --bg-clr: var(--white);
    --footer-clr: var(--green-light);

    --select-bg-clr: var(--black);
    --select-clr: var(--white);

    --scrollbar-foreground: var(--blue);
    --scrollbar-background: var(--white);
}


/* STYLED SCROLLBARS */
html {
    overflow-x: hidden;
    overflow-y: hidden;
}
html,
body,
.styled-scrollbars {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);
}

body::-webkit-scrollbar,
.styled-scrollbars::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body::-webkit-scrollbar-thumb,
.styled-scrollbars::-webkit-scrollbar-thumb {
    background: var(--scrollbar-foreground);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

body::-webkit-scrollbar-track,
.styled-scrollbars::-webkit-scrollbar-track {
    background: var(--scrollbar-background);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

/* DEFAULT */
*,
*:after,
*:before {
    box-sizing: border-box;
    outline: none;
}
/* body {
  cursor: move;  
} */

/* SELECTION */
::selection {
    background: var(--select-bg-clr);
    color: var(--select-clr);
}
a[href*="#skip"].invisible {
    height: 0;
    width: 0;
    position: absolute;
    opacity: 0;
}
a[href*="#skip"].invisible:focus-visible{
    display: block;
    color: var(--color-white);
    background-color: var(--color-lightblue);
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.25rem 0.75rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: 500;
    background-size: 0 0;
    z-index: 15;
    opacity: 1;
}

/* TYPO */
html {
    --font-size: 62.5%;
    font-size: var(--font-size);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-clr);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--wave-height));
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    font-variant: lining-nums;
}
body {
    font-size: 2rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: var(--bg-clr);
}


h1, h3, h4{
    color: var(--white);
    color: var(--darkgray);
}
h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}
h3 {
    color: var(--blue);
    font-weight: 900;
    font-style: bold;
    font-size: 2.2rem;
}
h4 {
    font-size: 2.2rem;
}
a {
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    color: var(--white);
    white-space: nowrap;
}
a:hover {
    color: var(--orange);
    transition: 0.3s;
}
.no-click {
  pointer-events: none;
}
/* start seite */

 #main svg  {
  height: 100vh;
  overflow: visible;
  width: 100vw;
  transition: 1s ease;
}

[id*="_block"], [id*="_popup"], [id*="_whiteshapeone"], [id*="_whiteshapetwo"] {
  will-change: opacity, transform;
}
.zoomable {
  transition: transform 0.5s ease;
}
#loader-3 {
  opacity: 1;
  transition: 0.3s ease;
}
body:active {
  cursor: grabbing;
}
/* HEADER */ 
#header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    -webkit-box-shadow: 0px 9px 44px -7px rgba(0,0,0,0.44);
    -moz-box-shadow: 0px 9px 44px -7px rgba(0,0,0,0.44);
    box-shadow: 0px 9px 44px -7px rgba(0,0,0,0.44);
}
#header.before-visible::before {
    opacity: 1;
}
#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    line-height: 21.6px;
    box-shadow: var(--box-shadow);
    z-index: 100;
}
#header .inside {
    height: 100%;
    margin: 0 auto;
    width: var(--width-content);
    max-width: 1600px;
    display: flex;
    gap: 15.5px;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    position: sticky;
    z-index: 120;
}
#header .header_text {
    display: none;
    color: var(--darkgray);
}
/* LOGO */
#header a.logo,
#header .logo svg {
    display: flex;
    width: auto;
    height: 32px;
    left: 0;
    position: absolute;
    flex-direction: column;
    justify-content: center;
}


/* NAVIGATION */
#header.header-nav-open{
    z-index: 105;
}
.mod_customnav.header {
    position: fixed;
    z-index: 1;
    overflow: auto;
    top: var(--header-height);
    left: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh;
    background-color: var(--blue);
    transition: ease 0.3s;
    opacity: 0;
    visibility: hidden;
}
.mod_customnav.header.active {
    overflow: scroll;
    overflow-x: hidden;
    opacity: 1;
    visibility: visible;
}
.level_1  {
    margin: auto;
    max-width: var(--max-width-menu);
    margin-bottom: 3rem;
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    list-style-type: none;
}
.level_1 li strong, 
.level_1 a {
    color: var(--white);
    font-size: 2.5rem;
    text-decoration: none;
    line-height: 3.5rem;
    transition: 0.3s;
}
li a:focus-visible, 
li a:hover {
    text-decoration: underline;
    text-decoration-thickness: from-font;
}
.level_1 li strong {
    text-decoration-line: underline;    
    text-decoration-thickness: from-font;
}
.hamburger {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 27px;
    height: 27px;
    padding: 10px;
    box-sizing: content-box;
    margin-left: auto;
    z-index: 1000;
}
.hamburger:hover, 
.hamburger:focus-visible {
    background-size: 0%;
}
.hamburger:focus-visible {
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: ease 0.3s;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--darkgray);
    border-radius: 3px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

#switchcircle {
  transition: cx 0.3s ease
}
.switchbody {
  transition: fill 0.5s;
}
.svg-container svg {
    cursor: move;
}

[id$="stage2"],
[id$="stage4"] {
    opacity: 0;
}
[id$="stage2"],
[id$="stage3"],
[id$="stage4"],
[id$="stage1"] {
    transition: 0.3s ease-out;
}
[id$="_popup"] {
    opacity: 0;
}
[id$="_popup"],
[id$="_popup"] {
    transition: 1s ease-out;
}
[id$="_whiteshapeone"] {
  opacity: 0;
}
[id$="_whiteshapetwo"] {
  opacity: 0;
}
[id$="_button"] {
  display: block;
  cursor: pointer;
}


[id$="_block"] {
  opacity: 0;
  transition: 0.3s ease-out;
}
[id$="_minus"] {
  transition: 0.3s ease-out;
}
[id$="_verbindung"] {
  opacity: 0;
  transition: 0.3s ease-out;
}

[id$="_plus"] {
  display: block;
  cursor: pointer;
  filter: drop-shadow( 0px 0px 0px  rgba(2, 100, 136, 0.9));
  animation: pulse 1.4s infinite;
}
[id$="_plus"]:hover {
  
}

[id$="_plus"].nopulse {
  animation: none;
}


/* @keyframes pulse {
  to {
    -webkit-filter: drop-shadow(0px 0px 9px rgba(2, 100, 136, 0.73));
    -moz-filter: drop-shadow(0px 0px 9px rgba(2, 100, 136, 0.73));
    filter: drop-shadow(0px 0px 9px rgba(2, 100, 136, 0.73));
  }
} */
@-webkit-keyframes pulse {
  0% {
    -webkit-filter: drop-shadow( 0px 0px 0px  rgba(2, 100, 136, 0.9));
  }
  70% {
      -webkit-filter: drop-shadow( 0px 0px 20px rgba(2, 100, 136, 0));
  }
  100% {
      -webkit-filter: drop-shadow( 0px 0px 0px rgba(2, 100, 136, 0));
  }
}
@keyframes pulse {
  0% {
    -moz-filter: drop-shadow( 0px 0px 0px  rgba(2, 100, 136, 0.9));
    filter: drop-shadow( 0px 0px 0px  rgba(2, 100, 136, 0.9));
  }
  70% {
      -moz-filter: drop-shadow( 0px 0px 20px rgba(2, 100, 136, 0));
      filter: drop-shadow( 0px 0px 20px rgba(2, 100, 136, 0));
  }
  100% {
      -moz-filter: drop-shadow( 0px 0px 0px rgba(2, 100, 136, 0));
      filter: drop-shadow( 0px 0px 0px rgba(2, 100, 136, 0));
  }
}

@media (min-width: 1024px) {
  #header .header_text {
    display: flex;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
  }
  #main svg {
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    transform: translateZ(0);
  }
}

@media screen and (min-width: 480px) {

}
@media (min-width: 568px) {
  
}
@media (min-width: 768px) {
    
}
@media (min-width: 1024px) {
}
@media (min-width: 1200px) {
 
}
@media (min-width: 1440px) {

}
@media (min-width: 1900px) {

}

@keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  #Fluegel_1,
  #Fluegel_2,
  #Fluegel_3
   {
    transform-origin: 50% 50%;
    animation: rotate 4s linear infinite; 
    position: absolute;
  }
  #Fluegel_4,
  #Fluegel_5,
  #Fluegel_6
   {
    transform-origin: 50% 50%;
    animation: rotate 3.4s linear infinite; 
  }
  #Fluegel_1 {
    transform-origin: 1329.70px 1079.97px ;
  }
  
  #Fluegel_2 {
    transform-origin: 1329.70px 1079.97px ; 
  }
  
  #Fluegel_3 {
    transform-origin: 1329.70px 1079.97px ;  
  }
  #Fluegel_4 {
    transform-origin: 1295.95px 1124.94px; 
  }
  
  #Fluegel_5 {
    transform-origin: 1295.95px 1124.94px; 
  }
  
  #Fluegel_6 {
    transform-origin: 1295.95px 1124.94px; 
  }

/* tree animation SVG */
  @keyframes sway {
    0% {
      transform: rotate(-1.5deg);
    }
    50% {
      transform: rotate(1.5deg);
    }
    100% {
      transform: rotate(-1.5deg);
    }
  }
  @keyframes sway1 {
    0% {
      transform: rotate(-1.8deg);
    }
    50% {
      transform: rotate(1.8deg);
    }
    100% {
      transform: rotate(-1.8deg);
    }
  }
  @keyframes sway2 {
    0% {
      transform: rotate(-2deg);
    }
    50% {
      transform: rotate(2deg);
    }
    100% {
      transform: rotate(-2deg);
    }
  }

.tree1
  {
  animation: sway 3s infinite;
  transform-origin: 50% 100%;
  transform-box: fill-box;
}
.tree2
{
  animation: sway1 2.8s infinite;
  transform-origin: 50% 100%;
  transform-box: fill-box;
}
.tree3
{
  animation: sway2 3.5s infinite;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

#kuh {
  animation: rotateCow 10s linear infinite;
  transform-origin: center;
}
#kuh1 {
  animation: rotateCow 15s linear infinite;
  transform-origin: center;
}
  
  @keyframes rotateCow {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(0.05deg);
    }
    50% {
        transform: rotate(0.08deg);
    }
    70% {
        transform: rotate(0.05deg);
    }
    100% {
        transform: rotate(0deg);
    }
  }
  
  @keyframes rotateBallon {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-0.1deg);
    }
    50% {
        transform: rotate(-0.2deg);
    }
    70% {
        transform: rotate(-0.1deg);
    }
    100% {
        transform: rotate(0deg);
    }
  }
  @keyframes fly {
    0% {
      transform: translateX(0) translateY(0);
    }
    5% {
      transform: translateX(65px) translateY(-60px);
    }
    10% {
      transform: translateX(130px) translateY(-85px);
    }
    15% {
      transform: translateX(195px) translateY(-85px);
    }
    20% {
      transform: translateX(260px) translateY(-85px);
    }
    25% {
      transform: translateX(325px) translateY(-85px);
    }
    30% {
      transform: translateX(390px) translateY(-85px);
    }
    35% {
      transform: translateX(455px) translateY(-65px);
    }
    40% {
      transform: translateX(520px) translateY(-55px);
    }
    45% {
      transform: translateX(585px) translateY(-35px);
    }
    47.5% {
      transform: translateX(617.5px) translateY(-25px);
    }
    50% {
      transform: translateX(650px) translateY(-5px);
    }
    52.5% {
      transform: translateX(617.5px) translateY(-10px);
    }
    55% {
      transform: translateX(585px) translateY(-11px);
    }
    60% {
      transform: translateX(520px) translateY(-13px);
    }
    65% {
      transform: translateX(455px) translateY(-15px);
    }
    70% {
      transform: translateX(390px) translateY(-12px);
    }
    75% {
      transform: translateX(325px) translateY(-9px);
    }
    80% {
      transform: translateX(260px) translateY(-8px);
    }
    85% {
      transform: translateX(195px) translateY(-15px);
    }
    90% {
      transform: translateX(130px) translateY(-20px);
    }
    95% {
      transform: translateX(65px) translateY(-10px);
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }
  
  #luftballon1 {
    animation: fly 500s linear infinite;
  }
  #luftballon2 {
    animation: fly 500s linear infinite;
  }
