/* === SCHRIFTEN === */

@font-face {
  font-family:"WorkSans-Light";
  src: url(WorkSans-Light.ttf) format("truetype");
  font-style: normal;
  font-weight: 200;
}

/* === GLOBAL === */
*,
*::after,
*::before {
    margin: 0;
    padding: 0; 
    -webkit-box-sizing: inherit; 
            box-sizing: inherit; 
}

html {
  font-size: 62.5%;
  text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; 
}


body {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #464646;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; 
 }

 .clearfix::after {
   content: ""; 
   clear: both; 
   display: block;
 }

 /* === HILFSKLASSEN === */
.u-justify-text {
  text-align: justify;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto; 
}

.u-left-text {
  text-align: left;
}

.u-right-text {
  text-align: right;
}

 .u-center-box {
   margin:0 auto;
 }

 .u-center-text {
  text-align: center;
}

.margin-bottom-xs {
  margin-bottom: 1rem;
}

 .margin-bottom-small {
   margin-bottom: 2rem;
 }

 .margin-bottom-middle {
   margin-bottom: 3rem;
 }

 .margin-bottom-medium {
  margin-bottom: 4rem;
}

.margin-bottom-large {
  margin-bottom: 6rem;
}

.margin-bottom-big {
  margin-bottom: 8rem;
}

.margin-top-xs {
  margin-top: 1rem;
}

.margin-top-small {
  margin-top: 2rem;
}

.margin-top-middle {
  margin-top: 3rem;
}

.margin-top-medium {
 margin-top: 4rem;
}

.margin-top-large {
 margin-top: 6rem;
}

.margin-top-big {
 margin-top: 8rem;
}

.no-margin {
  margin: 0; 
}

  /* === IDS === */ 

  #wrapper {
    border: 1px solid grey; 
    margin: 25px auto;
    width: 700px; 
    background: #fff; 
    -webkit-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); 
            box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    /* width: 940px;
    -webkit-box-shadow: 0 1px 5px 1px rgba(0,0,0, .25); 
    box-shadow: 0 1px 5px 1px rgba(0,0,0, .25); */
  }
  
  #header {

  }
  .logo {
    padding: 2rem 4rem; 
    text-align: center;
  }

  .logo img {
    width: 200px;
  }

  .header-headerbild img {
    width: 100%;
    vertical-align: bottom;
  }
  
  #main {
    padding: 2rem 4rem 0;
  }
  
  .trenner {
    height: 2px; 
    width: 100%;
    background: #831d2f;
    margin-bottom: 1.5rem; 
  }

  #footer {
    padding:  0 4rem; 
  }

  #footer p {
  }


  /* === TEXT === */

  p {
    margin-bottom: 2rem;
  }

  b, strong  {
  }

  i, em {

  }

  h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 0; 
    color: #831d2f;
  }


  h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;  
  }

  h3 {
    font-size: 2rem;
    margin-bottom: .5rem;  
    color: #831d2f;
  }

  h4 {
    font-size: 2.2rem;
    margin-bottom: .5rem;  
  }

  hr {
    margin: 3rem 0;
    clear: both;
    background-color: #D8D8D8;
    border-top: 3px solid #D8D8D8;
  }

  /* === IMAGES === */

  /* === BUTTONS === */

  /* === LINKS === */

  a:link {
    color: #e87e15;
  }

  a.visited {
    text-decoration: none;
    color: #7b217e;
  }
  
  a.inherit:link, a.inherit:visited {
    color: inherit;
  }

 a:hover {
   text-decoration: underline;
   color: #464646;
 }

  a:active {}

  a:focus {
    -webkit-transform: rotate();
        -ms-transform: rotate();
            transform: rotate();
  }


  /* === LISTEN === */

  ul {
    margin-bottom: 2rem;
    margin-left: 2rem; 
  }

  ul ul {
    margin-bottom: 0; 
  }

  li {
    margin-bottom: .5rem;
  }

  /* === TABELLEN === */

  /* === SECTIONS === */ 

  .sections { /* Container des Freetextbereichs im Shopsystem */
    width: 100%;
    margin: 0 auto;
  }

/* === GRID-SYSTEM === */



/* ===RESPONSIVE DESIGN === */

@media only screen and (max-width: 940px) and (max-width: 850px) and (max-width: 700px) {
  #wrapper {
     width: 100%;
  }
}


@media only screen and (max-width: 768px) {
  #wrapper {
      margin: 0;
      width: 100%;
      border: none;
  }

  #main {
    padding: 2rem 2rem;
  }

  #footer {
    padding: 2rem 2rem;
  }

  .sections {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

    [class*='section--'] {
    width: 100%;
  }

}

@media only screen and (max-width: 480px) {

}

@media only screen and (max-width: 320px) {
  
}