/* ==================================================
    Reset
   ================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ==================================================
    Main
   ================================================== */

@font-face {
  font-family: 'din-pro-regular';
  src: url('../fonts/DINPro-Regular.eot') format('embedded-opentype');
  src: url('../fonts/DINPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ncsr';
  src: url('../fonts/ncsr.eot') format('embedded-opentype'),
       url('../fonts/ncsr.woff') format('woff'),
       url('../fonts/ncsr.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#wrapper {
  width: 980px;
  margin: 0 auto;
  display: block;
  font-family: 'din-pro-regular';
}

.small-screen-size, .beratung-small-screen-size {
  display: none;
}

/* ==================================================
    Header
   ================================================== */

header {
  height: 99px;
  position: relative;
}

header #logo {
  float: left;
  margin: 20px 0 0 0;
}
header #logo img {
  width: 300px;
}


/* ==================================================
    Nav
   ================================================== */
section.nav-wrapper {
  width: 600px;
  float: right;
}
nav {
  float: right;
}

nav ul {
  list-style:none;
  margin: 0;
  padding: 0 10px;
  text-align:right;
}
nav ul li {
  display: inline;
}
nav ul li img {
  visibility: hidden;
  margin: 5px 5px 0 0;
  width: 20px;
}
nav ul a {
  color: black;
  display: inline-block;
  width: 100px;
  
  padding: 5px 20px;

  text-align: center;
  text-decoration: none;
  font-size: 0.9em;
}
nav ul a.active {
  color: #DD7A24;
}

nav ul a:hover {
  color: #555;
  text-decoration: none;
}

nav#nav-bottom {

}
nav#nav-bottom ul a {
  width: 250px;
  color: #777777;
}

body.index nav li.index img {
  visibility: visible;
}
body.beratung nav li.beratung img {
  visibility: visible;
}
body.team nav li.team img {
  visibility: visible;
}
body.kontakt nav li.kontakt img {
  visibility: visible;
}
body.datenschutz nav li.datenschutz img {
  visibility: visible;
}


/* ==================================================
    Content
   ================================================== */

#content {
  clear: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;

  min-height: 500px;
}

.column-header.text {
  color: white;
  font-weight: 400;
}
.column-header.text .text-wrapper {
  padding: 40px;  
}
.column-header h1 {
  font-family: 'ncsr';
  font-size: 29px;
  line-height: 1.2em;
}
.column-header p {
  font-family: 'din-pro-regular';
  line-height: 1.45;

  margin-top: 1em;
}

.column-content h1 {
  font-family: 'ncsr';
  font-size: 1.8em;
  padding: 1.2em 0 0.6em 0;
}
.column-content h2 {
  color: #888;  
  font-family: 'ncsr';
  font-size: 1.7em;
  padding-bottom: 0.2em;
}
.column-content p {
  color: #888;  
  font-size: 1em;
  line-height: 1.5em  ;
}
.column-content ul {
  /*list-style-image: url('../img/gleichzeichen-list-img.png');*/
}
.column-content li {
  background: url(../img/gleichzeichen-list-img.png) no-repeat left top;
  line-height: 1.5em;
  margin: 30px 0;
  padding: 0px 0px 3px 35px;
}

/* === INDEX ======================================== */


.index #content .column {
  width: 320px;
  min-height: 200px;
}

.index #one.column {
  margin-top: 50px;
}
.index #one .column-header {
  background-color: #333333;
}
.index #one.column .column-header.text {
  height: 360px;
  width: 360px;
}
.index #one.column .column-header .text-wrapper {
  padding-right: 57px;
}

.index #two.column {
  margin-top: -70px;
}
.index #two .column-header {
  background-color: #af6b47;
}
.index #two.column .column-header.text {
  height: 440px;
  width: 440px;
}
.index #two.column .column-header .text-wrapper {
  padding-right: 128px;
}

.index #three.column .column-header.img {
  margin-top: 40px;
  height: 360px;
  width: 360px;
}

.index .column-header img {
  width: 100%;
}

/* column content */

.index section.column-content {
  margin-left: 54px;
  padding: 0px;
}


/* === BERATUNG ==================================== */

.beratung .beratung-headline {
  font-family: 'ncsr';
  font-size: 2em;
  font-weight: 400;
  margin-top: -19px;
}

.beratung #content .column {
  width: 480px;
}
.beratung .column-header p {
  color: #000000;
}
.beratung .column-header .text-wrapper {
  padding-left: 66px;
  padding-bottom: 60px;
}
.beratung .column-content {
  margin-left: 55px;
}


.beratung #one.column {
  z-index: 2;
  margin-top: 120px;
}
.beratung #two.column {
  margin-top: 30px;
  z-index: 1;
}

.beratung #one .column-header {
  background-color: #af6b47;
  width: 479px;
}
.beratung #two .column-header {
  background-color: #C0C0C0;
  z-index: 1;
  margin-left: -60px;
}

.beratung #three.column {
  margin-top: 80px;
}
.beratung #three .column-header {
  width: 520px;
}
.beratung #three .column-content {
  margin-bottom: 30px;
  position:relative;
  background-color: #333333;
  color: #ffffff;
  margin-top: -50px;
  padding: 15px 30px;
  z-index: 300 !important;
}

.beratung #four.column {
  margin-top: 40px;
  z-index: 2;

}
.beratung #four .column-header {
  background-color: #af6b47;
  margin-left: 30px;
}
.beratung #four .column-content {

}

/* === TEAM ==================================== */

.team #content {
  justify-content: flex-start;
  margin-top: 90px;
}
.team #content #one.column {
  width: 230px;
  margin-right: 100px;
}
.team #one.column img {
  width: 100%;
}

.team #content #two.column {
  width: 550px;
}
.team #content #two.column p {
  font-size: 1.1em;
  line-height: 1.7em;
  margin-bottom: 1.6em;
}

/* === KONTAKT ==================================== */

.kontakt .column {
  width: 480px;
  justify-content: center;
}
.kontakt #one.column {

}

.kontakt form {
  margin-top: 50px;
  width: 300px;
}

.kontakt form label {
  font-size: 0.9em;
  margin-top: 10px;
}
.kontakt p.email-status-msg {
  margin-top: 20px;
}
input[type=text], 
input[type=email], 
textarea {
  font-size: 1.2em;
  width: 100%;
  padding: 12px 20px;
  margin: 18px 0;
  box-sizing: border-box;
  background-color: #eee;
  border: 1px solid #eee;
  border-radius: 4px;
}
textarea {
  resize: none;
}
input[type=text].error, 
input[type=email].error, 
textarea.error {
  border: 2px solid #af6b47;
  outline-color: none;
}

input:focus[type=text].error, 
input:focus[type=email].error, 
textarea:focus.error {
  border: none;
}

input[type=button], input[type=submit], input[type=reset] {
  background-color: #af6b47;
  border-radius: 3px;
  border: 1px solid #af6b47;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  font-size: 0.8em;
}
span.warning-msg {
  color: #af6b47;
}

/* === DATENSCHUTZ ==================================== */

.datenschutz #one.column {
  width: 200px;
  margin-top: 10px;
}
.datenschutz #two.column {
  margin-top: 84px;
  width: 600px;
}

.datenschutz #content p.small {
  font-size: 0.7em;
}
.datenschutz h1 {
  font-size: 2.2em;
  padding: 2.2em 0 2.2em 0;

}
.datenschutz h2 {
  font-family: 'din-pro-regular';
  font-size: 1.6em;
  color: #333333;
  padding-bottom: 0px;
}
.datenschutz h3 {
  color: #333333;
  font-size: 1.3em;
  margin-top: 35px;
  margin-bottom: 4px;
}
.datenschutz .credentials p {
  color: #333333;
}
.datenschutz .kontakt {
  padding: 70px 0 0 0;
}
.datenschutz .kontakt h2 {
  padding-bottom: 20px;
}




footer {
  clear: both;
  margin-top: 30px;
  height: 60px;
}

@media only screen and (max-width: 980px) {
  #wrapper {
    width: 85%;
    margin: 0 !important;
  }
  .small-screen-size {
    display: inline;
  }
  .big-screen-size {
    display: none;
  }
  section#content, #logo {
    padding-left: 10%;
  }
  
  section.nav-wrapper {

    width: inherit;
  }
  nav {
    float: none;
  }
  nav ul {

    margin: 30px 0;
  }
  nav ul a {
    font-size: 1.1em;
  }
  .column {
    margin: 0 auto 50px auto !important;
  }
  .beratung .beratung-headline {
    float: left;
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: 20px ;
  }
  .beratung .beratung-headline span.divider {
    display: none;
  }
  .beratung .column-header .text-wrapper {
    padding-left: 40px;
  }
  .beratung #one.column {
    order: 1;
  }
  .beratung #two.column {
    order: 2;
  }
  .beratung #two .column-header {
    margin-left: 0;
  }
  .beratung #three.column {
    order: 4;
  }
  .beratung #four .column-header {
    margin-left: 0;
  }
  .beratung #four.column {
    order: 3;
  }
  .beratung #four.column .column-header h1 {
    font-size: 1.8em;
  }
  .beratung .beratung-headline.small-screen-size {
    float: left;
  }
  .kontakt .column {
    width: inherit;
  }
  .kontakt #content {
    flex-direction: column-reverse;
  }
  img { width: 100%; }
}
@media only screen and (max-width: 700px) {
  .beratung .column-content {
    margin: 5px !important;
  }
  .beratung-small-screen-size {
    display: inline;
  }
  .beratung-big-screen-size {
    display: none;
  }
  .column-header {
    width: 100% !important;
  }
  .index #two.column .column-header .text-wrapper {
    padding-right: 20px;
  }
}