@import url("source-sans/font.css");

* {
  margin: 0;
  padding: 0;
}

main, section, article, footer {
  display: block;
}

img {
  border: none;
}

html {
  font-size: 18.5px;
}

body {
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
}

a {
  color: #fff;
}

a.normal-text {
  text-decoration: none;
}

p {
  margin-bottom: 30px;
}
p:last-child {
  margin-bottom: 0;
}

dl {
  overflow: hidden;
  margin-bottom: 35px;
}

dt {
  float: left;
  width: 18%;
}

dd {
  float: left;
  width: 82%;
}

.hidden {
  display: none;
}

.light,
.box.color-1 h1,
.box.color-1 h2 {
  font-family: "Source Sans Pro Light", sans-serif;
  font-weight: normal;
}

.layer {
  padding: 115px 0;
  background: #000;
  background: rgba(0,0,0,0.75);
}

.button {
  display: inline-block;
  padding: 10px 10px 7px 10px;
  background: #000;
  background: rgba(0,0,0,0.3);
  text-decoration: none;
  border-radius: 13px;
}
.button:hover {
  background-color: #ec964b;
}

.boxes {
  padding-bottom: 85px;
}

.boxes p,
.boxes h1 {
  background: url("");
}

.boxes .container,
.logos .row {
  list-style: none;
  text-align: justify;
}
.boxes .container:after,
.logos .row:after {
  content: '';
  width: 100%;
  display: inline-block;
}

.boxes li {
  display: inline-block;
  width: 255px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: top;
  background-color: #ec964b;
  border: 25px solid #fff;
  font-size: 1.25rem;
  /*font-size: 25px;*/
  line-height: 1.25;
  text-align: center;
  border-radius: 50px;
}
.boxes li:last-child {
  margin-right: 0;
}

.boxes .content {
  height: 255px;
  padding: 0 20px;
  display: table-cell;
  vertical-align: middle;
}

.boxes .highlighted {
  font-size: 2.0rem;
  /*font-size: 50px;*/
  margin-bottom: 0px;
}

.box {
  padding: 25px 30px;
  margin-left: 130px;
  margin-right: 130px;
  border-radius: 30px;
}

.box h1,
.box p {
  }

.box.color-1 {
  background-color: #ec964b;
  margin-bottom: 40px;
}
.box.color-1 strong,
.box.color-2 strong {
  font-family: "Source Sans Pro", sans-serif;
}

.box.color-2 {
  background-color: #fff;
  background-color: rgba(255,255,255,0.75);
  line-height: 1.35;
}

.box.color-2,
.box.color-2 a {
  font-size: 0.95rem;
  /*font-size: 17.5px;*/
  color: #494949;
}
.box.color-2 a:hover {
  color: #b46533;
}

.box > h1,
.box > h2 {
  font-size: 2.55rem;
  /*font-size: 47px;*/
  font-weight: normal;
}

.box > h1 strong,
.box > h2 strong {
  font-size: 1.9rem;
  /*font-size: 35.15px;*/
}

.box .left,
.box .right {
  float: left;
  width: 50%;
}

.button:before {
  content: "> ";
}

.clearfix:after {
  content:"";
  display:table;
  clear:both;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.chapter.container {
  padding: 80px 50px;
}

#main-header {
  position: absolute;
  z-index: 600;
  top: 0;
  width: 100%;
  margin-top: 35px;
}

#logo {
  float: left;
}

#main-navigation {
  float: right;
  margin-top: 66px;
}

#main-navigation li {
  float: left;
  margin-left: 25px;
  list-style: none;
}

#main-navigation a {
  font-weight: bold;
  text-decoration: none;
}

#main-navigation .active a,
#main-navigation a:hover {
  color: #ec964b;
}

#main-navigation .imprint {
  margin-left: 0;
}

#main-navigation .imprint:before {
  content: "/";
}

/* BEGIN Referenzen */

.slider {
  position: relative;
  z-index: 500;
  top: 0;
  width: 100%;
  min-height: 835px;
}

.slide {
  display: none;
  position: relative;
  top: 0;
  width: 100%;
  min-height: 705px;
  overflow: hidden;
  padding-top: 130px;
  background-size: cover;
  background-position: right;
}

.slide .content {
  position: relative;
  z-index: 500;
}

.slide .text {
  width: 52%;
  line-height: 1.25;
  opacity: 0;
  transition: all 1.5s;
}

.slide .bodytext {
  font-size: 0.95rem;
  /*font-size: 17.6px;*/
  margin-bottom: 30px;
}

.slide h1 {
  font-size: 2.3rem;
  /*font-size: 42.5px;*/
  line-height: 1.1;
  margin-top: 115px;
  margin-bottom: 20px;
}

.slide h2 {
  margin-top: 50px;
  /*font-size: 1rem;*/
  font-size: 18.5px;
}

.slide h1 strong {
  font-size: 1.35rem;
  /*font-size: 25px;*/
}

.slide .button {
  margin-top: 15px;
}

.slide figure {
  position: absolute;
  opacity: 0;
  top: 30%;
  right: 0;
  width: 45%;
  max-width: 770px;
  min-width: 590px;
  text-align: right;
  transition: all 1.5s;
}

.slide figure img {
  display: block;
  width: 100%;
}

.slide.active {
  display: block;
  z-index: 100;
}

.slide.active figure {
  opacity: 1;
}

.slide.active .text {
  opacity: 1;
}

.slide .background {
  position: absolute;
  z-index: 0;
  bottom: -10%;
  left: 0;
  width: 100%;
}

.slider .nav-wrapper {
  position: absolute;
  bottom: -22px;
  width: 100%;
  text-align: center;
  z-index: 500;
}

.slider .nav {
  display: inline-block;
  padding: 15px 20px;
  line-height: 0;
  background-color: #fff;
  border-radius: 7px;
}

.slider .nav li {
  display: inline-block;
  margin-right: 20px;
}
.slider .nav li:last-child {
  margin-right: 0;
}

.slider .nav a {
  display: block;
  width: 17px;
  height: 17px;
  overflow: hidden;
  border-radius: 15px;
  background-color: #b3b3b3;
  text-indent: -7000em;
}
.slider .nav a:hover {
  background-color: #989898;
}
.slider .nav .active a {
  background-color: #ec964b;
}

/* END Slider */

.chapter {
  padding: 80px 0;
  background-size: cover;
  background-attachment: fixed;
}

main.chapter {
  padding-top: 0;
  padding-bottom: 0;
  background-image: url("../img/bg/kunden.jpg");
}

#leistungen { background-image: url("../img/bg/leistungen.jpg"); }

#kontakt    {
  padding-bottom: 190px;
  background-image: url("../img/bg/kontakt.jpg");
}

/* BEGIND Logos */

.logos {
  padding: 75px 0 15px 0;
  list-style: none;
  text-align: justify;
}
.logos:after {
  content: '';
  width: 100%;
  display: inline-block;
}

/*.logos li {
  display: inline-block;
  margin-right: 55px;
}

.logos li.row-3 {
  margin-right: 69px;
}

.logos li.last {
  margin-right: 0;
} @TODO REMOVE */

.logos .content {
  display: inline-block;
}

.logos .content-inner {
  height: 100px;
  display: table-cell;
  vertical-align: middle;
}

/* END Logos */

/* BEGIN Leistungen */

.services {
  webkit-columns: 2;
  -moz-columns: 2;
  -o-columns: 2;
  -ms-columns: 2;
  columns: 2;
}

.services li {
  font-size: 0.9rem;
  /*font-size: 16.65px;*/
  list-style: none;
  margin-bottom: 25px;
}

.services li ul {
  webkit-page-break-inside: avoid;
  -moz-page-break-inside: avoid;
  -o-page-break-inside: avoid;
  -ms-page-break-inside: avoid;
  page-break-inside: avoid;
}

.services li li {
  margin-bottom: 0;
}

.services strong {
  color: #b46533;
}

/* END Leistungen */

/* BEGIN Kontakt */

.tel {
  margin: 30px 0;
}

.social-media li {
  float: left;
  margin: 35px 15px 0 0;
  list-style: none;
}

/* END Kontakt */

/* BEGIN Footer */

footer {
  background-color: #3b3b3b;
}

footer h1,
footer h2 {
  font-size: 1rem;
  /*font-size: 18.5px;*/
}

footer .container > h1 {
  margin-bottom: 25px;
}

footer section:nth-child(2) h1 {
  margin-bottom: 35px;
}

footer h2 {
  font-weight: normal;
}

/* END Footer */

/* BEGIN Referenzen */

/* @TODO remove */

/*#silberpalais .fig-1 {
  right: 0;
  bottom: 0;
  width: 16%;
}

#silberpalais .fig-2 {
  right: 20%;
  bottom: 35%;
  width: 26.5%;
}

#silberpalais .fig-3 {
  right: 18%;
  bottom: 5%;
  width: 48%;
}

#silberpalais .fig-4 {
  right: 550px;
  bottom: 425px;
  width: 18.5%;
}

#silberpalais .fig-5 {
  right: 680px;
  bottom: 45px;
  width: 22.5%;
}*/

/* END Referenzen */

@media only screen and (max-width: 1450px) {
  .slide figure {
    top: auto;
    bottom: 0;
    min-width: 0;
  }
}

@media only screen and (max-width: 1300px) {
  .box {
    margin-left: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 1150px) {
  .logos .row {
    display: inline;
    text-align: left;
  }
  .logos .row:after {
    content: "";
    width: auto;
    display: none;
  }

  .logos .content {
    margin-right: 55px;
  }

  .logos .row-3 .content {
    margin-right: 69px;
  }

  .logos .row .content.last {
    margin-right: 0;
  }
}

@media only screen and (max-width: 1050px),
       only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 2100px) {
  #logo {
    float: none;
    text-align: center;
  }

  #main-navigation {
    display: none;
  }

  .boxes .container {
    text-align: center;
  }

  .slide h1 {
    margin-top: 50px;
  }

  .slide h1 {

  }

  .slide .bodytext {
    font-size: 14.5px;
  }

  .slide .bodytext p {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 910px),
       only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1820px) {

  html {
    font-size: 14px;
  }

  #logo img {
    width: 125px;
    height: 52px;
  }

  .slider {
    min-height: 530px;
  }

  .slide {
    min-height: 400px;
  }

  .slide h1 {
    margin-top: 20px;
  }

  .boxes,
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .boxes .container {
    text-align: center;
  }

  .box {
    margin-left: 0;
    margin-right: 0;
    padding: 25px;
  }
}

@media /*only screen and (max-width: 825px),*/
       only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 640px) {

  .layer,
  .chapter.container {
    padding: 20px 10px;
  }

  .chapter {
    background-size: contain;
    padding: 20px 0;
  }

  .boxes,
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .boxes {
    padding: 55px 0 10px 0;
  }

  p {
    margin-bottom: 15px;
  }

  .slider .nav li {
    margin-right: 15px;
  }
  
  .slider .nav {
    padding: 8px;
  }

  .slider .nav a {
    width: 22px;
    height: 22px;
    border-radius: 22px;
  }

  .slider,
  .slide {
    min-height: 0;
  }

  .slide {
    padding-top: 70px;
  }

  .slide h1 {
    padding-bottom: 35px;
  }

  .slide .bodytext {
    display: none !important;
  }

  .slide figure.float {
    bottom: 50px;
  }

  .boxes li {
    font-size: 1.1rem;
    /*font-size: 25px;*/
    width: 120px;
    margin-bottom: 12px;
    border-width: 10px;
    border-radius: 15px;
  }

  .boxes li:nth-child(2) {
    margin-right: 0;
  }

  .boxes li:last-child {
    margin-bottom: 0;
  }

  .boxes .content {
    width: 120px;
    height: 120px;
    padding: 0 7px;
  }

  .boxes .highlighted {
    margin-bottom: 15px;
  }

  .services {
    webkit-columns: auto;
    -moz-columns: auto;
    -o-columns: auto;
    -ms-columns: auto;
    columns: auto;
  }

  .box {
    padding: 10px;
    border-radius: 15px;
  }

  .box .left,
  .box .right {
    width: auto;
    float: none;
  }

  .box .left {
    margin-bottom: 25px;
  }

  .box > h1,
  .box > h2 {
    font-size: 1.35rem;
  }

  .box > h1 strong,
  .box > h2 strong {
    font-size: 1rem;
  }

  .box.color-1 {
    margin-bottom: 20px;
  }

  .box.color-2 {
    font-size: 1.1rem;
    /*font-size: 17.5px;*/
  }

  .logos .row:after {
    display: none !important;
    width: auto !important;
  }

  .logos .content {
    display: block;
    width: 50%;
    float: left;
    margin-right: 0 !important;
  }

  .logos .content-inner {
    height: 105px;
    text-align: center;
  }

  .logos img {
    width: 75%;
  }

  #kontakt {
    padding-bottom: 40px;
  }
}