html, body  {
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
}

section {
  min-height: 100%;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

h1, h2, h3, header a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: #494949;
  /*text-transform: uppercase;*/
}

h2  {
  color: #5d7177;
}

h3  {
  font-size: 40px;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 5px;
}

h4, p, #about ul li, #jugendcoaching ul li, #jugendcoaching ol li, #jugendcoaching ul li, #datenschutz ul li {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 18pt;
}

h4 {
  font-size: 30px;
}

hr {
  width: 30px;
  height: 3px;
  background-color: #494949;
  border: 0;
  margin: 0 auto 40px auto;
}
#logo, li, #home img, #jugendcoaching_teaser img, #about img, .fa-bars {
  transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;
}

.fa-bars { display: none; }

img.abbinder {
  width: 50px;
  margin: 50pt;
}


table.preise {
  width: 500px;
  text-align: left;
  margin: 100px auto 10pt auto;
  border-collapse: collapse;
  border: 1px solid #CD1719;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
tr.detail {
  background: #dfdfdf;
}
td, th {
  padding: 10pt 0;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}
th {
  background: none;
  font-weight: 300;
  font-size: 20pt;
  padding: 5px 0 0 0;
}
td {
  font-weight: bold;
  font-weight: 800;
  font-size: 24pt;
}

img.sparpreis {
  width: 100px;
  position: relative;
  left: 270px;
  top: -80px;
}

.preis_hinweis {
  font-size: 10pt;
  font-weight: 100;
  padding: 0 0 3px 0;
}

/* HEADER ********************/

header {
  width: 100%;
  height: 127px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

#logo {
  width: 490px;
  float: left;
  margin: 10px 0 0 50px;
}
#logo:hover {
  opacity: 0.5;
}
#logo img {
  width: 100%;
  margin-top: 10px;
}

header nav {
  float: right;
  margin: 34px 50px 0 0;
}

header nav ul li {
  float: left;
  margin-left: 25px;
}

header nav ul a li {
  font-size: 16px;
}

header nav ul li:hover {
  padding-top: 5px;
}


/* HOME ********************/

#home {
  background: url("../img/background_haende.jpg");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

#home h1 {
  margin: 240px 40pt 0 40pt;
  text-align: left;
}
#home h2 {
  margin: 0 40pt;
  text-align: right;
}

#home h1, #home h2 {
  color: #CD1719;
  font-weight: bold;
  font-size: 80px;
  font-weight: 600;
}

#home h3 {
  text-align: right;
  margin: 0 40pt 0 0;
  padding: 0;
  font-size: 20pt;
}

#home img, #jugendcoaching_teaser img {
  margin-top: 30px;
  opacity: 0.7;
}
#home img:hover, #jugendcoaching_teaser img:hover {
  opacity: 1;
}

/* COACHING ********************/
#coaching {
  padding-bottom: 40pt;
  margin-top: 60pt;
}

#coaching p, #jugendcoaching p, #elternberatung p, #jugendcoaching ul, #jugendcoaching ol, #about ul, #datenschutz p, #datenschutz ul, #impressum p {
  width: 900px;
  text-align: left;
  margin: 0 auto 10pt auto;
}

#jugendcoaching ul, #jugendcoaching ol, #about ul {
  margin: 20pt auto 20pt auto;
}

#jugendcoaching ul li, #jugendcoaching ol li, #about ul li {
  margin-left: 40pt;
}
#jugendcoaching ul li, #about ul li {
  list-style-type: inherit;
}
#jugendcoaching ol li {
  list-style-type: decimal;
}

#jugendcoaching_teaser {
  background: url("../img/background_jugendliche.jpg");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

#jugendcoaching_teaser img {
  margin: 50% auto 0 auto;
}

/* ABOUT ********************/

#about {
  background-color: #dfdfdf;
  margin-top: 60pt;
}

#about p {
  width: 900px;
  text-align: left;
  margin: 0 auto 10pt auto;
}

#about img.avatar {
  margin-bottom: 30px;
}
#about img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/* CONTACT ********************/

#contact {
  margin-top: 60pt;
}

#contact a {
  color: #CD1719;
}

/* FOOTER ********************/

footer {
  width: 100%;
  height: 70px;
  background-color: #dfdfdf;
}
footer p {
    font-size: 12px;
    color: #CD1719;
    padding-top: 30px;
}
footer a, section p a {
  color: #CD1719;
}

/* DATENSCHUTZ ********************/

#datenschutz ul li {
  font-size: 14pt;
}

/* MEDIA QUERIES ********************/

@media screen and (min-width: 701px) {

  table.kleinepreise, img.kleinersparpreis {
    display: none;
  }

}

@media screen and (max-width: 1350px) {


  #home, #jugendcoaching_teaser {
    background-attachment: scroll;
  }

  header {
    height: auto;
  }
  #logo {
    width: 200px;
    margin: 5px 0 0 20px;
  }

  header nav {
    margin-top: 5px;
  }
  header nav ul a li {
    font-size: 12px;
  }

}

/* TABLET */

@media screen and (max-width: 1024px) {


  #home, #jugendcoaching_teaser {
    background-attachment: scroll;
  }

  header {
    height: auto;
  }
  #logo {
    width: 200px;
    margin: 5px 0 0 20px;
  }
  header nav {
    margin-top: 5px;
  }
  header nav ul a li {
    font-size: 12px;
  }
  #home h1, #home h2 {
    font-size: 40pt;
  }
  #home h1 {
    margin-top: 200px;
  }
  #home img {
    margin-top: 260px;
  }
  #datenschutz p, #coaching p, #jugendcoaching p, #elternberatung p, #jugendcoaching ul, #jugendcoaching ol, #about p, #about ul, #datenschutz p, #datenschutz ul, #impressum p {
    width: 80%;
  }

}

/* MOBILE */

@media screen and (max-width: 900px) {

  #home, #jugendcoaching_teaser {
    background-attachment: scroll;
  }

  #jugendcoaching_teaser img {
    margin: 180% auto 0 auto;
  }

  table.preise, img.sparpreis {
    display: none;
  }

  header nav {
    margin: 0;
    float: none;
  }

  .fa-bars {
    font-size: 17px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;;
    float: right;
    margin: -35px 30px 0 0;
  }

  .fa-bars:hover {
    opacity: 0.5;
  }

  header nav ul {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  header nav ul.open {
    height: auto;
  }

  header nav ul li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
    border-top: 1px solid #ddd;
  }

  header nav ul li:hover {
    background-color: #eee;
  }

  #home h1, #home h2 {
    font-size: 25pt;
  }
  #home h1 {
    margin-top: 100px;
  }
  #home h3 {
    font-size: 12pt;
    font-weight: bold;
  }
  h3 {
    padding-top: 15%;
  }

  p, #coaching ul li, #coaching ol li, #jugendcoaching ul li, #about ul li, #datenschutz ul li {
    font-size: 12pt;
  }

  #coaching ul li, #coaching ol li, #about ul li, #datenschutz ul li {
    margin-left: 4pt;
  }

  img.abbinder {
    width: 40px;
    margin: 20pt 20pt 0 20pt;
  }

  table.kleinepreise {
    width: 80%;
    text-align: left;
    margin: 100px auto 10pt auto;
    border-collapse: collapse;
    border: 1px solid #CD1719;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  }
  table.kleinepreise td {
    font-size: 12pt;
  }
  table.kleinepreise td span {
    font-size: 8pt;
  }
  table.kleinepreise td.headline {
    font-weight: 300;
    background-color: #dfdfdf;
  }
  table.kleinepreise td.detail {
    font-weight: bold;
    background-color: #fff;
  }

  img.kleinersparpreis {
    width: 70px;
    position: relative;
    left: 170px;
    top: -60px;
  }


}


/* Blockquote main style */
.blockquote {
    position: relative;
    color: #ffffff;
    padding: 30px 0;
    width: 100%;
    max-width: 500px;
    z-index: 1;
    margin: 80px auto;
    align-self: center;
    border-top: solid 1px;
    border-bottom: solid 1px;
}

/* Blockquote header */
.blockquote h1 {
    position: relative;
    color: #aaa;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    text-transform: none;
}

/* Blockquote right double quotes */
.blockquote:after {
    position: absolute;
    content: "”";
    color: rgba(255, 255, 255, 1);
    font-size: 10rem;
    line-height: 0;
    bottom: -43px;
    right: 30px;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
    .blockquote h1 {
        font-size: 30px;
   }

}

/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    color: #292a2b;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    padding-top: 20px;
    z-index: 1;
}
