/* === 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: Calibri, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #000;
  -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);
    padding: 2rem 4rem; 
  }

  .intro {
    padding: 1rem 1rem 1rem; 
    background: #f4f3f2;
  }

  .intro p {
    margin-bottom: 0; 
  }
  
  #header {
  }

  .looking {
    background: #fdfdfd;
    font-size: 1.8rem; 
    line-height: 1.4;
    padding: 1rem; 
  }

  .looking p {
    margin-bottom: 0; 
  }

  .header-headerbild img {
    width: 100%;
    vertical-align: bottom;
  }
  
  #main {
    padding: 2rem 1rem 0;
    background: #f4f3f2;
  }
  
  #footer {
    background: #f3eeeb;
  }

  .apply {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    -ms-flex-pack: distribute; 
        justify-content: space-around;
    padding: 0 6rem 2rem;
  }
  #footer img {
    margin-top: 2rem;
    width: 50px;
  }

  #footer p {
    margin-top: 2rem;
    margin-bottom: 0; 
    text-align: center;
    color: #cf000d;
  }


  /* === TEXT === */

  p {
    margin-bottom: 2rem;
  }

  b, strong  {
  }

  i, em {

  }

  h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 3rem; 
    color: #cf000d;
    font-weight: 400; 
  }


  h2 {
    font-weight: 400;
    font-size: 2.7rem;
    margin-bottom: .5rem;
    line-height: 1.2; 
    color: #cf000d;
    text-align: center; 
  }

  h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #cf000d;
    margin-bottom: .5rem;  
    font-weight: 400;
  }

  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: #0563C1;
  }

  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;
    list-style: none;
  }

  ul ul {
    margin-bottom: 0; 
  }

  li {
    margin-bottom: .2rem;
    background: url(bullet.svg) no-repeat 0 2px;
    background-size: 10px;
    padding-left: 2rem; 
  }

  /* === TABELLEN === */

  /* === SECTIONS === */ 

  .sections { /* Container des Freetextbereichs im Shopsystem */
    width: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    -ms-flex-wrap: wrap; 
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  [class*='section--'] {
    margin-bottom: 2rem; 
  }
/* 
  .section--1 {
    width: 57%;
  }

  .section--2 {
    width: 40%;
  }
   */
/* === 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;
      padding: 2rem; 
  }

  #main {
    padding: 2rem 2rem 0;
  }

  #footer {
    padding: 0 2rem 2rem;
  }

  .apply {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 2rem; 
  }

  .envelope {
    text-align: center;
    margin-bottom: 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) {
  
}