/* === 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%; 
  hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}


body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; 
  background: #fff;
 }

 .clearfix::after {
   content: ""; 
   clear: both; 
   display: block;
 }

 /* === HILFSKLASSEN === */
.u-justify-text {
  text-align: justify;
}

 .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: 850px; 
  }
  
  #header {
  position: relative;
  padding: 2rem 4rem 0; 
  }

  .header-logo {
    width: 300px;
    margin-bottom: 2rem;
  }

  .header-logo img {
    width: 100%;
  }
  .header-headerbild img {
    width: 100%;
  }
  
  #main {
    padding: 2rem 4rem;
  }

  .kennziffer {
    color: #000;
    margin-bottom: .5rem;
  }

  .sections p {
    line-height: 1.8;
  }

  #footer {
    background: #F2F2F2;
    padding: 4rem;
  }

    .flex {
        display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  span.orange {
    color: #F84914;
  }

  
  .siegel {
    display: flex; 
    justify-content: space-around;
    padding: 4rem;
    align-items: center;
  }

  .siegel img:first-child {
    margin-right: 4rem;
  }

  .kontakt {
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 48%;
    padding: 2rem;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .kontaktperson {
    font-size: 2rem;
  }

  .apply {
    color: #000;
    background: #F84914;
    width: 48%;
    padding: 3px;
    font-size: 3rem;
    position: relative;
    text-align: center;
  }

  .apply span {
    display: inline-block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }

  .container {
    background: #fff; 
    height: 100%;
    width: 100%;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
  }


  a.inherit:link:hover > .container {
    background: -o-linear-gradient(45deg,#f84914,#f84914 44%);
    background: linear-gradient(45deg,#f84914,#f84914 44%);
}

  .apply:hover {
    color: #fff;
  }

  .asp {
    width: 48.5%;
  }
  /* === TEXT === */

  p {
    margin-bottom: 1rem;
  }

  p.intro {
    text-align: justify;
  }

  h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 1rem; 
  }

  h2 {
    font-size: 1.4rem;
    color: #007A8C;
    margin-bottom: 1rem; 
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.4rem; 
    margin-bottom: .5rem;
  }

  hr {}

  /* === IMAGES === */

  /* === BUTTONS === */
  .cta {
    margin-top: 2rem; 
  }

  .btn {
    background: #007A8C;
    color: #fff;
    display: inline-block;
    padding: .5rem 2rem;
    font-size: 1.8rem;
  }

  /* === LINKS === */

  a {}

  a.orange:link,
  a.orange:visited {
    text-decoration: none; 
    color: #f84914;
  }
  a.inherit:link, a.inherit:visited {
    color: inherit;
  }

  a.link:hover {
    color: #fff;
  }

 a:hover {
   text-decoration: underline;
 }

  a:active {}

  /* === LISTEN === */

  ul {
    margin-bottom: 2rem;
    list-style: none;
  }

  li {
    background: url(73996788-3ffb-4924-a306-facd8b8a9bfa.svg) no-repeat 0 5px;
    padding-left: 2rem; 
  }

  /* === TABELLEN === */

  /* === SECTIONS === */ 

  .sections { /* Container des Freetextbereichs im Shopsystem */
    width: 100%;
    margin: 0 auto;
    margin-top: 3rem;
  }

  
/* === 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;
  }

  #header {
    padding: 2rem 2rem 0;
  }

  .header-logo {
    width: 250px;
  }

  #main {
    padding: 2rem 2rem 0;
  }


  #footer {
    padding: 2rem 2rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  #footer > * {
    width: 100%;
  }

  .kontakt {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .kontakt img {
    margin-bottom: 2rem;
  }

  .apply {
    height: 200px;
    margin-top: 2rem; 
  }

  .apply span {
  }
  .sections {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

    [class*='section--'] {
    width: 100%;
  }
}