/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/


/* Allgemein*/

/*Schriften */


@font-face{
  font-family:"caveat";
  src: url("../fonts/caveat-regular-webfont.woff") format("woff"),
  url("../fonts/caveat-regular-webfont.eot#iefix") format("embedded-opentype"),
  url("../fonts/caveat-regular-webfont.ttf") format('truetype'),
  url("../fonts/caveat-regular-webfont.svg") format("svg");
}

 /*@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap'); */



html{
    background-color: rgb(248, 248, 248);
    color: #140a0a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    font-size: 1.05em;
    scroll-behavior: smooth;}

body{
    padding: 0;
    margin: 0;
    }

 #header{
    background-image: url("../img/start/yoga-in-gusborn-1920x575.jpg");   
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    min-width: 800px;
    position: relative;
    z-index:0;      
    }

    .mobile{display: none;}
    .tab{display: none;}
    .web{display:block;}
    .close{display: none;}

  .wrapper{
      width: 100%;
      margin-left: auto;
      margin-right: auto;
  }
  
  .wrap{
      width: 70%;
      margin: auto;
      margin-left: 15%  
  }
/* textelemente*/

    p{
      font-weight:500;
      line-height: 1.4em;
      padding: 1% 0;
      margin: 1% 0;
    }

    a{
        color: #840e29;
        font-weight: 600;
        text-decoration: none;
    }

    a:hover, span a:hover, a:focus-within, span a:focus-within{
      text-decoration: none;
      font-weight: 600;
      color: #ef910d;
    }

    h1{
        color: white;
        font-weight:600;
        font-size: 2.5vw;
        position: absolute;
        top: 55%;
        left: 40%;
        text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    }

    h2{
      font-weight:300;
      font-size: 3em;
      color:rgb(248, 248, 248);
      letter-spacing: -0.05em;
      text-transform: uppercase;
      margin: 0.5em 0;
    }

    h2:before{
      content:url("../img/Krieger-weiss.svg");
      display: inline-block;
      width: 100px;
      vertical-align: bottom;
    }

    #segment2-oben h2:before, #segment3 h2:before{
      content:url("../img/Baum_animiert-weiss.svg");
    }

    h3{
      font-family: caveat, 'Caveat', cursive;
      font-weight:500;
      font-size: 2.2em;
      color: #ef910d;
      font-style: italic;
      margin: 2% 0;
      letter-spacing: -0.05em;
    }

    #segment1-unten h3, #segment2 h3, #segment3 h3{
        color:#840e29;
    }


    h1 span{
        display: block
    }


    h1 span:nth-of-type(2){
    margin-left: 3em;}


/* Navigation*/
    #menue{
        position: fixed; 
        width: 100%;
        height: auto;
       min-width: 800px;       
        top: 0;
        left: 0;
        z-index:1;
    }

    #logo{
        width: 7%;
        min-width: 100px;
        height: auto;
        position: absolute;
        top: 10px;
        left: 14%;}


    nav #header-menue-bg{
       width:100%;
       min-width: 800px;
        height:auto;
        display:block;}
        
    nav ul{
      width: 70%; 
      min-width: 400px;
      position: absolute;
      top: -0.8em; 
      left: 25%;
      padding:0;
      margin:0; 
      color:#840e29;
      font-size: 1.5em;
      font-family: caveat, 'Caveat', cursive;
      font-style: italic;
          }
    
    nav li, #nav-unten li{
      float:left;
      list-style: none;
      display: block;
      padding: 1%; 
    }
    
    nav a{
      text-decoration: none;
      line-height: 3em;
      padding: 0.5em;
      font-weight: 500; 
    }

    nav a:hover, nav a:focus{
      text-decoration: none;
      font-weight: 500;
      color: #ef910d;
      }
      
     li.active>a, #nav-unten.active>a{
      color:#ef910d;
      font-weight: 500;
      }

    #header-text>span {
      display: inline-block;
      padding: 0;
      width: 75%;
      color: #840e29;
      font-weight: 600;
      font-size: 1.2em;
   }

   #header-text>span span {
      display: block;
      padding: 0.5% 2%;
      width: 100%;
      margin-left: 25%;
      text-align: left;
      }    
              
   #header-text span span:first-of-type{
      padding-top: 7%;
      }    
      
    #header-text span span a:hover{
      color:#ef910d;        
      } 

    #header-text span span a:before{
      content:">> " "";
      display: inline-block;
      vertical-align: top;
      font-weight: 600;
      }

    #header-text span span a:hover:before{
      border-color: transparent  transparent transparent #ef910d; 
    }

    #header-text>span:before{
      content:url("../img/Krieger-animiert.svg");
      display: block;
      width: 200px;
      float: left;       
    }

    #header-text span a {     
      display: inline;}

    #header-text p{
      padding: 0;
    }
    
    #header-bild{
        display: block;
      }

      /* Bildelemente*/

   [class*="col-"]{margin-bottom:0.5em;}

.col-100{width:100%;}
.col-50{width: 50%;}
.col-33{width:33.3333%;}
.col-66{width: 66.6666667%;}
.col-16{width: 16.6666667%;}
.col-83{width: 83.3333%;}
.col-25{width: 25%;}
.col-75{width: 75%;}

[class*="col-"]{min-width:280px;}

/* Abstände */
.mar-l{margin-left:1%;}
.mar-r{margin-right: 1%;}
.mar-lr{margin-left: 1%; margin-right: 1%;}

/* Spalten mit Abständen*/
.col-50.mar-r, .col-50.mar-l{width: 49%}
.col-66.mar-r, .col-66.mar-l{width: 65%}
.col-33.mar-r, .col-33.mar-l{width: 32%}
.col-75.mar-r, .col-75.mar-l{width: 73%}
.col-25.mar-r, .col-25.mar-l{width: 24%}
.fl-l{float: left;}
.fl-r{float: right;}
.clear{clear: both;}
.clear:after{
    content:"";
    display:table;
    clear:both;}


/*Flexcontainer*/
.flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;}

.flex-w{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;}

/*Flex-Child*/
.grow{
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex: 1 1 30%;
        flex: 1 1 30%;}

.flex-reverse{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;}

/*weitere Hilfsklassen*/
.hide-offset{
    position:absolute;
    left:-9999em;}
[class*="hide-"]:hover{
    left: auto;
    max-height: none;
    max-height: none;
    overflow: visible;}

.hide-display{
    display:none;}

.imgscale{
    width:100%;
    height:auto;
    display:block;}


 figure[class*="col-33"]{
    padding: 0;
    margin: 0;
    min-width: 230px;
    max-width: 330px;
    margin-top: auto;
    margin-bottom: auto;
    }


    figure[class*="col-50"]{
        padding: 0;
        margin: 0;
        min-width: 400px;
        max-width: 600px;
        margin-top: auto;
        margin-bottom: auto;
    }

    figure[class*="col-66"]{
        padding: 0;
        margin: 0;
        min-width: 300px;
        max-width: 700px;
        margin-top: auto;
        margin-bottom: auto;
    }


    article{
       margin-top: auto;
    }

    figcaption{
      font-size: 0.8em;
      width: 70%;
      text-align: center;
      line-height: 1em;
      margin-left: auto;
      margin-right: auto;}

    .link{
      color:#840e29;
      font-weight:400;
      font-size: 1.3em;
      letter-spacing: -0.05em;}

    .link:hover{
       color:rgb(248, 248, 248);}


    .link:before{
      content:">> " "";
      display: inline-block;
      vertical-align: top;
      font-weight: 600;
    }

    #segment1{
      background-image: url("../img/welle-oben-gelb-hell_1920x610.svg");
      background-position: 0;
      background-size: cover;
      background-repeat: no-repeat;
      background-color: rgb(248, 248, 248);
      min-height: 300px;
      margin-top: 0;
    }


    #segment1-unten article{
      margin: auto 1%;}

    .kurse #segment1-unten{
      padding-top: 5em;}

    .kurse #segment1-unten img{
      padding-top: 1em; }

    .kurse #segment1-unten article{
      margin-top:-5%;}



    #segment2{
        background-image: url("../img/welle-unten-gelb-hell_1920x610.svg");
        background-position: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        background-color:#da8d6d;
        min-height: 200px;
        margin-top: 0;
        padding-top: 3em;
    }

   .kurse #segment2{
      background-image: url("../img/welle-unten-gelb-hell_1920x610.svg");
      background-position: 0;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: bottom;
      background-color:#da8d6d;
      min-height: 200px;
      margin-top: 0;
      padding-top: 5em;
  }


    #segment3{
        background-image: url("../img/welle-unten-orange-hell2_1920x610.svg");
        background-position: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        background-color: #b66e80;
        min-height: 200px;
        margin-top: 0;
        padding-top: 5em;
    }

    #footer{
        background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/footer_1920x800.svg");
        background-position: 0;
        background-size: 13%, auto;
        background-repeat: no-repeat;
        background-position: bottom 15% left 10%, bottom;
        background-color: #b66e80;
        min-height: 700px;
        margin-top: 0;
        padding-top: 5em;
        position: relative;
    }

    #footer-unten{
      position: relative;
      min-width: 400px;
    }

    #footer-links{
      position: absolute;
      bottom: 3%;
      left: 20%;
      width: 70%;
       }

    #nav-unten{
      position: absolute;
      bottom: 6%;
      left: 50%;            
      }

    #footer p{
      color: #b66e80;
      text-align: right;
      font-weight: 400;
      position: absolute;
      width: 20%; 
      bottom: 6%;
      left: 60%;  
      }
  
    #footer-kontakt, #footer-kontakt a, #nav-unten a{
      list-style: none;
      color: rgb(248, 248, 248);
      font-weight: 600; 
      font-style: normal;     
    }   

    #footer-links dd, #footer-links dd a{
      color: rgb(248, 248, 248);
      font-weight: 600;
      display: inline;
      font-style: normal;
      line-height: 2em;
    }

    #footer-kontakt li, #footer-links dt{
      color: #b66e80;
      display: inline;
      font-style: normal;
      line-height: 2em;
      font-weight: 600;
    }

     #footer-links dd{
      display: block;
      padding: 2% 0;      
    }

    #footer-links dd a:before{
      display: inline-block;
      width: 30px;
      vertical-align: middle;
      margin: 3px 5px 2px 0;
    }

    [itemprop*="email"]:before{
      content: url("../img/icons-at.svg")
    }
    [itemprop*="telephone"]:before{
      content: url("../img/icons-tel.svg")
    }

    [itemprop*="sameAs"]:first-of-type:before{
      content: url("../img/icons-fb.svg");
    }

    [itemprop*="sameAs"]:last-of-type:before{
      content: url("../img/icons-wa.svg");}

    [itemprop*="email"]:hover:before{
    content: url("../img/icons-at2.svg")}

    [itemprop*="telephone"]:hover:before{
     content: url("../img/icons-tel2.svg")}
      
     [itemprop*="sameAs"]:first-of-type:hover:before{
            content: url("../img/icons-fb2.svg"); }
      
     [itemprop*="sameAs"]:last-of-type:hover:before{
      content: url("../img/icons-wa2.svg");}

   
    ul#footer-kontakt, #nav-unten ul, #footer-links dd{
      margin: 0;
      padding: 0;
    }

   #nav-unten ul {
      color:rgb(248, 248, 248);
      display: block          
    }

  #footer-links a:hover, #nav-unten a:hover, #footer-links a:focus, #nav-unten a:focus{
      color:#b66e80;
    }

  #footer-links h2:before{
      content: none;
      }

  #footer-links h2{
      margin: 0;
      font-size: 2em;
      color:#b66e80;
    }

   #footer-links h3{
      color:rgb(248, 248, 248);
      font-size: 1.8em;
      font-weight: 500;
    }

/*Impressum*/




.impressum body{
width: 80%;
height: auto;
margin: auto;
padding-bottom: 50px;}

.impressum html{
font-family:'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
color: black;}

.impressum h1{
font-size: 3em;
font-weight: 400;
position:static;
color:#840e29;
text-shadow: none;
margin-top: 5em;
}

.impressum h2{
color:#720a35;
font-size: 2em;}

.impressum h2:before{
  content: none;
}

.impressum #footer ul{
list-style: none;
font-size: 1em;
font-weight: 500;}

.impressum #nav-unten li.active>a{
  color:#b66e80;
  font-weight: 600;
}

.impressum a{
color:#720a35;
text-decoration: none;}


.impressum a:hover{
color:#ef910d;
font-weight: 500;}

.impressum #baustelle>a{
float: right;
font-size: 1.3em;
font-weight: 500;}

.impressum #footer-kontakt li{
  display:block;
  color:#840e29;
}

.impressum #footer-kontakt a{
  color:#840e29;
}

.impressum #footer-kontakt a:hover{
  color:#ef910d;
}

.impressum .bullet{
  font-size: 1em;
  list-style: disc;
}

.impressum .bullet li{
padding: 1em;
}

/* KURSE, ASHTANGA*/

.kurse #header{
  background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/kurse/kurse-header-1920x575.jpg"); 
    background-size: 17%, cover;
    background-repeat: no-repeat;
    background-position: bottom 10% right 15%, bottom;
    height: auto;
    min-width: 800px;
    z-index:0;      
  }

  .ashtanga #header{
    background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/ashtanga/ashtanga-header-1920x700-rot.jpg"); 
      background-size: 17%, cover;
      background-repeat: no-repeat;
      background-position: bottom 10% right 15%, bottom;
      height: auto;
      min-width: 800px;
      z-index:0;      
    }
  /* .ashtanga h1{
    color:#ef910d;
  } */

  /* .ashtanga #header-text>span:before{
    content:url("../img/ashtanga/krieger-animiert-gelb.svg");
    display: block;
    width: 200px;
    float: left;       
  } */

  .kurse #segment1-unten h2{
    color:#720a35;
    padding-top: 1em;
  }

  .ashtanga #segment1-unten h2{
    color:#720a35;
    padding-top: 2em;
  }

  .kurse #segment1-unten h2:before{
    content:none;
  }

  .ashtanga #segment1-unten figure{
    background-image: url("../img/ashtanga/kreise-animiert.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    background-position-y: center;
  }

  .tabelle{
    padding: 1%;
    background-color: rgba(248, 248, 248, 0.2);
    border-radius:10px;
  }

  .kurse .spalte{
    width: 30%;
    display: block;
  }

  .kurse .spalte a{
    text-decoration: underline;
    
  }

  .kurse #segment1-unten span, .kurse #segment2 span{
    display: block;
    padding: 3% 0.5%;
    font-weight: 600;
    font-size: 1em;
    color:#840e29;
  }

  .close-akkordeon, .show{
    display: none;}

    .open-akkordeon:target~.show, .open-akkordeon:target~.close-akkordeon{
    display: block;}

    .open-akkordeon:target{display: none;}

    .link-unten{
      vertical-align: text-top;
      display: inline-block;
    }

    .link-unten:before{
      content:" ";
      width: 0; 
    line-height: 1em; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;  
    border-top: 17px solid rgba(131, 21, 45, 0.8);
    vertical-align: bottom;
    display: inline-block;
    margin-right: 10px;
    }

    .link-unten:hover:before{
      border-top: 17px solid rgba(239, 144, 14, 0.8);
    }



    .link-unten2:before{
      content:" ";
      width: 0; 
    line-height: 1em; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;  
    border-bottom: 17px solid rgba(131, 21, 45, 0.8);
    vertical-align: bottom;
    display: inline-block;
    margin-right: 10px;
    }
    .kurse #segment2 span[class*="quote"], #segment3 span[class*="quote"]{
      display: block;
      padding: 5% 0.5%;
      padding-bottom: 0;
      font-family: caveat, 'Caveat', cursive;
      font-weight:500;
      font-size: 2.9em;
      color: #840e29;
      font-style: italic;
      /* margin: 2% 0; */
      margin-bottom:-0.2em;
      letter-spacing: -0.05em;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      
    }

    .kurse #segment2 span[class*="quote"] span, #segment3 span[class*="quote"] span{
      display: block;
      padding: 0.5%;
      font-weight:500;
      font-size: 0.6em;
      color: #840e29;
    }

    .kurse #segment2-oben{
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-direction: row;
              flex-direction: row;
    }





    /* responsive*/

@media screen and (max-width: 1500px) {
  nav .tab{display: block;}  
  nav .web{display:none;}  

  #logo{left: 9%;}

   nav ul{
    width: 70%; 
    left: 20%;        
           }

  #footer{
    background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/footer_1500x800.svg");
    background-size: 15%, auto;
    background-repeat: no-repeat;
    background-position: bottom 15% left 10%, bottom;
    min-height: 800px;
    margin-top: 0;
    padding-top: 2em;      
    }

  #footer-links{
    width: 40%;  
    left: 25%
       }

  #nav-unten{
    margin-top: 75%;               
      }
}

 @media screen and (max-width: 1300px) {

  nav ul{
     width: 70%; 
     left: 20%;        
     font-size: 1.3em; 
    }
      
 nav li{
    padding: 0.5%;
    margin: 0.5%;
    padding-top: 1%; 
    margin-right: 0%;        
    }

  nav a{
    padding: 0.3em; 
    margin-right: 0%;       
  }

  .tab{display: block;}  
  .web{display:none;} 

  #header{
    background-image: url("../img/start/yoga-in-gusborn-header-1300x600-tab.jpg");
    min-width: 600px;  }


    .kurse #header{
      background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/kurse/kurse-header-1300x600-tab.jpg"); 
      background-size: 20%, cover;
      background-repeat: no-repeat;
      background-position: bottom 15% right 10%, bottom;
      height: auto;
      min-width: 600px;
      z-index:0;      
      }

      .ashtanga #header{
        background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/ashtanga/ashtanga-header-1300x600-tab-rot.jpg"); 
        background-size: 20%, cover;
        background-repeat: no-repeat;
        background-position: bottom 15% right 10%, bottom;
        height: auto;
        min-width: 600px;
        z-index:0; }

    /* .kurse #header{
      background-image: url("../img/kurse/kurse-header-550x450-mobil.jpg");}
    .ashtanga #header{
      background-image: url("../img/ashtanga/ashtanga-header-550x450-mobil.jpg"); } */

   #footer{
     background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/footer_1300x800.svg");
     background-size: 20%, auto;
     background-repeat: no-repeat;
     background-position: bottom 15% left 8%, bottom;
     min-height: 800px;
     margin-top: 0;
    padding-top: 2em;      
    }

  h1{
    font-size: 1.5em;
    top: 50%;
    left: 40%;
    }

    .kurse #segment1-unten h2{
      padding-top: 0;
     }

}


@media screen and (max-width: 1000px){

  html{font-size: 1em;}

  #footer{min-height: 600px}

  #footer-links{
      width: 75%;
      bottom: 10%;
         }
  
  #nav-unten{
      bottom: 8%;
      left: 15%;                  
        }

 #footer p{
      left: 0%;
      bottom: 4%;
      width: 80%;
      text-align: right;
           }
  

  #nav-unten ul{
      text-align: left;
      margin-left: 30%;             
        }

  #nav-unten li{
      text-align: left;     
        }

  .wrap{
      width: 95%;
      margin-left: auto;
      margin-right:auto;}

  #header-text>span {
       font-size: 1.1em;
       }

 #logo{
      width: 6%;
      min-width: 80px;
      height: auto;
      position: absolute;
      top: 8px;
      left: 8%;
    }
}






@media screen and (max-width: 680px){

      #header{
        background-image: url("../img/start/yoga-in-gusborn-header-550x600-mobil.jpg");
        width: 100%;
        height: auto;
        min-width: 200px;
        position: relative;
        z-index:0;
      }

      #header-text p{
        padding-top: 1em;
      }

      #header-text>span:before{
        content:url("../img/Krieger-animiert.svg");
        display: block;
        width: 200px;
        float: left;       
      }


      .kurse #header{
        background-image: none, url("../img/kurse/kurse-header-550x600-mobil.jpg"); 
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        height: auto;
        min-width: 200px;
        z-index:0;      
        }

        .ashtanga #header{
          background-image: none, url("../img/ashtanga/ashtanga-header-550x600-mobil-rot.jpg"); 
          background-size: cover;
          background-repeat: no-repeat;
          background-position: bottom;
          height: auto;
          min-width: 200px;
          z-index:0; }

      .kurse h1{
        top: 55%;
        left: 40%;
        font-size:1.5em;
      }

      .kurse #segment1-unten h2{
       padding-top: 0;
      }

      .mobile{
        display: block;
      }
  
      .tab, nav .tab{
        display: none;
      }
  
      .web{
        display:none;
      }

      #menue{
        width: 100%;
        min-width: 100px;       
        top: 0;
        left: 0;
        z-index:1;
    }

    nav #header-menue-bg{
        width:100%;
        height: auto;
        min-width: 100px;}

    #logo{
        width: 15%;
        min-width: 95px;
        height: auto;
        position: absolute;
        top: 6px;
        left: 8%;
        }

   [class*="col-"]{
      -webkit-box-flex: 0;
          -ms-flex: none;
              flex: none;
    float: none;}

      [class*="mar-"]{margin-right: auto; margin-left: auto;}
      .col-50.mar-r, .col-50.mar-l{width: 95%}
      .col-66.mar-r, .col-66.mar-l{width: 95%}
      .col-33.mar-r, .col-33.mar-l{width: 95%}
      .col-75.mar-r, .col-75.mar-l{width: 95%}
      .col-25.mar-r, .col-25.mar-l{width: 95%}

      .imgscale{
          width:80%;
          height:auto;
          display:block;
          margin-left: auto;
          margin-right: auto;
      }

      figure[class*="col-33"], figure[class*="col-50"], figure[class*="col-66"]{
        margin-right: auto; margin-left: auto;
      }

      h1{
        font-weight:600;
        font-size: 1.5em;
        position: absolute;
        top: 55%;
        left: 33%;   }

      h1 span:nth-of-type(2){
        margin-left: 0;}

      h3{
      font-size: 1.8em;}

      h2{
        font-size: 2em;
        margin-left: auto;
        margin-right: auto;
        /* text-align: center; */
        font-weight: 300;
        letter-spacing: -0.05em;
        -webkit-transform:scale(1,1.3); /* Safari and Chrome */
        -moz-transform:scale(1,1.3); /* Firefox */
        -ms-transform:scale(1,1.3); /* IE 9 */
        -o-transform:scale(1,1.3); /* Opera */
        transform:scale(1,1.3); /* W3C */
        
            }

      h2:before{
        width: 80px;
            }

  /*Navigation */

      nav ul, .close{
              display:none; 
          }



    /* Menü einblenden*/
      .open{display:block;}

      nav .open:target~ul, .open:target~.close{
        display:block;} 
        
         nav .open:target~ul{
          display:block;
        height: 260px;
        transition: all 5s;
      }  


      .open:target{display: none;} 

     /* Buttons stylen*/
      .open, .close{
        width: 5em;
        border-radius: 70% 30% 61% 39% / 29% 58% 42% 71% ;
        border: 2px solid #840e29;
        margin:auto; 
        text-decoration: none;
        text-align: center;
        background-color: rgb(248, 248, 248);
          }

      .open, .close{
        position: absolute;
        right: 5%;
        top: 8%;
        z-index: 1;}

    .close{
        background: none;
    
    }

    .open:hover,.open:focus-within{
        border: 2px solid #ef910d;}

    .open:hover .balken {
        border-bottom: 2px solid #ef910d;}

    .close:hover, .close:focus-within{
        color:#ef910d;
        border: 2px solid #ef910d; }

    .balken{
        display:block;
        width: 5em;
        margin: auto;
        border-bottom: 2px solid #840e29;
        line-height: 1.2em;
        font-size: 0.6em;
    }

    #hamburger{
        border: none;
        padding:0.1em;
        padding-bottom: 0.3em;
        margin: 1%;
        display:block;
    }

    nav ul li{
      float:none;
      padding: 1%; 
      text-align: right;  
      width: 90%;
  }

  nav ul li a{
    line-height: 2em;
  }

    nav ul{
      display: block;
      height: 1px;
      overflow:hidden;
      font-size: 1.2em;     
      min-width: 160px;
      width: 30%;
      /* height: 260px; */
     padding-right: 5%;
      padding-top: 3.5em;
      position: absolute;
      right: 0;
      left: auto;
      top: 10px; }


    nav .open:target~ul{
      display:block;
    height: 280px;
    background-image: url("../img/menue-bg-mobile-open.svg");
      background-size: cover ;
   transition: all 1.5s;}  



   #header-text>span {
      font-size: 1em; }

  #header-text>span span {
      padding: 3% 2%;
      display: block;} 

  .kurse #header-text>span span {
        padding: 3% 1%;
        width: 100%;
        margin-left: 25%;
        text-align: left;
        font-size: 1.2em;
        }                  
  .kurse #header-text span span:first-of-type{
        padding-top: 10%;
        } 
        
  .ashtanga #header-text>span {
          font-size: 0.8em;
        color:#140a0a;
      font-weight: 400; }
        
  #footer{
      background-image: url("../img/Baum_animiert-weiss.svg"), url("../img/footer_680x700.svg");
      background-position: 0;
      background-size: 35%, auto;
      background-repeat: no-repeat;
      background-position: bottom 35% left 3%, bottom;
      min-height: 700px;
      width: 100%;
      margin-top: 0em;
      padding-top: 1em;
      }

  #footer-links{
      width: 65%; 
      left: 30%
         }

  #nav-unten{
      width: 60%
      }
  #footer p{
      text-align: left;
      left: 5%;
      bottom: 1%;
      }

  #footer h2{
    color: rgb(248, 248, 248);
  }


      #segment1{
        background-image: url("../img/welle-oben-gelb-hell_680x610.svg");
        background-position: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: rgb(248, 248, 248);
        min-height: 300px;
        margin-top: 0;
        padding-top: 0;
      }
  
      #segment1-unten article{
        margin: auto 1%;
      }

      #segment1-unten {
        padding-top: 3em;
      }

      .kurse #segment1{
        background-image: url("../img/welle-oben-gelb-hell_680x610-2.svg");
        background-position: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: rgb(248, 248, 248);
        min-height: 300px;
        margin-top: 0;      
      }
  
  
      #segment2{
          background-image: url("../img/welle-unten-gelb-hell_680x610.svg");
          background-position: 0;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: bottom;
          background-color:#da8d6d;
          min-height: 200px;
          margin-top: 0;
          padding-top: 2em;
      }
  
  
      #segment3{
          background-image: url("../img/welle-unten-orange-hell2_680x610.svg");
          background-position: 0;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: bottom;
          background-color: #b66e80;
          min-height: 200px;
          margin-top: 0;
          padding-top: 5em;
      }

      .kurse #segment1-unten{
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse; }

      .kurse #segment3-oben{
          -webkit-box-orient: vertical;
          -webkit-box-direction: reverse;
              -ms-flex-direction: column-reverse;
                  flex-direction: column-reverse;}

        #segment3-oben{
                    -webkit-box-orient: vertical;
                    -webkit-box-direction: reverse;
                        -ms-flex-direction: column-reverse;
                            flex-direction: column-reverse;}

        .ashtanga #segment2-unten{
          -webkit-box-orient: vertical;
          -webkit-box-direction: reverse;
              -ms-flex-direction: column-reverse;
                  flex-direction: column-reverse;}



}

@media screen and (max-width: 480px) {
   
  html{font-size: 1em;}
  
  #menue-bg-mobile embed{
    height: 80px;
  }

  #logo{
    width: 15%;
    min-width: 80px;
    height: auto;
    position: absolute;
    top: 4px;
    left: 7%;
    }

  #header-text>span {
    display: inline-block;
    padding: 0;
    width: 78%;
    color: #840e29;
    font-weight: 600;
    font-size: 0.8em;
 }

 #header-text>span span {
    display: block;
    padding: 2% 1%;
    width: 100%;
    margin-left: 20%;
    text-align: left;

    }    
            
 #header-text span span:first-of-type{
    padding-top: 3%;
    }
    
  #header-text>span:before{
      width: 150px;  
    }

  .kurse #header-text>span {
      display: inline-block;
      padding: 0;
      width: 78%;
      color: #840e29;
      font-weight: 600;
      font-size: 1em;
   }
  

.kurse #header-text>span span {
      padding: 4% 1%;
      margin-left: 22%;
      text-align: left;
      font-size: 1em; }    
              
.kurse #header-text span span:first-of-type{
      padding-top: 7%;}    

#header-text>span:before{
  width: 120px;}

  .ashtanga #header-text>span {
    font-size: 0.8em;
    color:#140a0a;
    font-weight: 400; }

  #footer{
      background-image: url("../img/footer_550x700.svg");
      background-size: auto;
      background-repeat: no-repeat;
      background-position: bottom;
      min-height: 550px;
      width: 100%;
      margin-top: 0em;
      padding-top: 1em;
    }

    #footer-links{
      width: 60%;
      left: 2%;
    }

    #footer-links dt, #footer-links dd{
      font-size: 0.8em;
      width: 100%;
      color: #840e29;
       }
  
    #footer-kontakt li, #footer-links dt{
         color:rgb(248, 248, 248);
       }

    #nav-unten{
      left: 2%;
      width: 40%;
      bottom: 7%;
    }

    #nav-unten ul{
      margin-left: 0;
    }




   figure[class*="col-33"]{
      min-width: 130px;  
      }
  
  figure[class*="col-50"]{
      min-width: 150px;
      }
  
   figure[class*="col-66"]{
       min-width: 150px;
       max-width: 700px;
      } 
}




@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
  html{font-size: 0.7em;}
  h1{font-size: 2.5em;}
  h2{font-size: 2em; color: black}
  h3{font-size: 1.5em;}
  span{font-size: 0.8em;}

  .imgscale{
    width:60%;}

    #segment1{
      min-height: 600px;
      margin-top: -30px;
    }



    #segment2{
        min-height: 600px;
        margin-top: 0;
        padding-top: 3em;
    }


    #segment3{
        min-height: 600px;
        margin-top: 0;
        padding-top: 5em;
    }

    h2:before{
      content:url("../img/Krieger-weiss.svg");
      display: inline-block;
      width: 10%;
      height: auto;
      vertical-align: bottom;
    }  
}
