/* === SCHRIFTEN === */

@font-face {
  font-family:"Hind-Regular";
  src: url(Hind-Regular.woff) format("woff");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family:"Hind-Bold";
  src: url(Hind-Bold.woff) format("woff");
  font-style: normal;
  font-weight: 700;
}

/* === 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:"Hind-Regular", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
          hyphens: auto;
 }

 .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;
    -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); */
    background: #fff;
  }

  #header {
  }

  .logo {
    padding: 4rem 4rem;
  }

  .logo img {
    width: 200px;
    height: auto;
    float: right;
  }

  .header-headerbild {
    background-image: url("header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    width: 100%;
    vertical-align: bottom;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  #main {
    padding: 2rem 4rem 0rem 4rem;
  }

  #footer {
    padding: 0rem 4rem 2rem 4rem;
  }

  #footer p {
    margin-bottom: 0;
  }



  /* === TEXT === */

  p {
    margin-bottom: 2rem;
  }

  b, strong  {
    font-family:"Hind-Bold", Helvetica, Arial, sans-serif;
  font-weight: 700;
  }

  i, em {

  }

  h1 {
    font-weight: 400; 
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    margin-top: 5rem;
  }

  .smaller {
    font-size: .5em;
  }


  h2 {
    font-family:"Hind-Bold", Helvetica, Arial, sans-serif;
  font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: .5rem;
    line-height: 1.2;
    position: relative;
  }

  h3 {
    font-weight: 400; 
    color: #D8D8D8;
    font-size: 2rem;
    margin-bottom: .5rem;
  }

  h4 {
    font-size: 2.6rem;
    margin-bottom: .5rem;
    font-weight: 400; 
  }

  hr {
    margin: 3rem 0;
    clear: both;
    background-color: #D8D8D8;
    border-top: 3px solid #D8D8D8;
  }

  /* === IMAGES === */

  /* === BUTTONS === *

  /* === LINKS === */

  a:link {
    color: #0563C1;
    text-decoration: none;
  }

  a:visited {
    text-decoration: none;
    color: #7b217e;
  }

  a.inherit:link, a.inherit:visited {
    color: inherit;
    text-decoration: none;
  }

 a:hover {
   text-decoration: underline;
   color: #222056;
 }

  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;
     list-style-image:url("square.png");
  }


  /* === TABELLEN === */

  /* === SECTIONS === */

  .sections {
    /* Container des Freetextbereichs im Shopsystem */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  [class*="section--"] {
    margin-bottom: 2rem;
    width: 48.5%;
    hyphens: auto;
  }

/* === GRID-SYSTEM === */

.col-1 { width: 16.666%;  }
.col-2 { width: 33.333%;  }
.col-4 { width: 66.666%   }
.col-3 { width: 50%;      }
.col-5 { width: 50%;      }
.col-6 { width: 100%;     }

.row{
  display: flex;
  flex-wrap: nowrap;
}

.col-5{
  text-align: right;
  padding-top: 25px;
}

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

  .col-1 { width: 50%; }
  .col-2 { width: 100%; }
  .col-3 { width: 100%;}
  .col-4 {width: 100%; }


  #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) {

  .logo {
    padding: 4rem 0 0 10rem;
  }

  .logo img {
    width: 200px;
    height: auto;
    float: none;
  }

h1{
  margin-top: 3rem;
}

  .row{
    display: flex;
    flex-wrap: wrap;
  }

.col-3{
  text-align: center;
}

  .col-5{
    width: 100%;
    text-align: center;
    padding-top: 25px;
  }

}

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

  .logo {
    padding: 4rem 0 0 6rem;
  }

}
