* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.5;
}

h2 {
  font-size: 27px;
  font-weight: 300;
}

h3 {
  font-size: 16px;
}

.intro-content aside h3 {
  margin: 0;
}

.intro-content aside p {
  margin: 0;
}

a {
  text-decoration: none;
}


.main-header {
  position: sticky;
  top: 0;
  max-width: auto;
  margin: 0 auto;
  padding: 20px;
  background-color: darkkhaki;
}

.logo {
  display: block;
  width: 300px;
  height: 130px;
  background: darkkhaki url(../img/layout/Icon.png) center no-repeat;
  background-size: 300px;
  border-bottom: 2px solid transparent;
  float: left;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.logo:hover {
  border-color: #fff;
}


.main-header nav {
  float: right;
  padding-top: 45px;
}

.main-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration-line: none;
}

.main-header li {
  float: left;
  /*margin: 0 10px;*/
}

.main-header ul a {
  font-size: 23px;
  font-weight: 300;
  display: block;
  color: #222;
  text-transform: uppercase;
  padding: 5px 20px 10px 20px;
  border-bottom: 2px solid transparent;
  -moz-transition: border-color .5s;
  -webkit-transition: border-color .5s;
  -o-transition: border-color .5s;
  transition: border-color .5s;
}

.main-header ul a:hover {
  border-color: whitesmoke;
  color: #fff;
}

.intro-container {
  background: transparent url(../img/layout/fp-bg.jpg) bottom center no-repeat;
  background-size: cover;
  height: 500px;
}

.intro {
  max-width: 960px;
  padding: 60px 20px;
  margin: 0 auto;
  text-align: center;
}

.intro h1 {
  text-transform: uppercase;
  font-size: 50px;
  line-height: 1;
  margin: 0;
  margin-bottom: 30px;
}

.intro h1 span {
  display: block;
  font-size: 23px;
}

.intro-content-container {
  background: #f1ede4;
}

.intro-content {
  max-width: 960px;
  padding: 40px 20px;
  margin: 0 auto;
}

.intro-content a {
  color: black;
}

.intro-content a:hover {
  color: #fff;
}

.intro-content h2 {
  margin: 0 0 10px 0;
}

.intro-text {
  width: 66.66%;
  float: left;
  padding-right: 20px;
}

.intro-text img {
  float: right;
}

.intro-text p {
  margin-top: 0;
}

.intro-aside {
  width: 33.33%;
  float: left;
  padding-left: 20px;
}

.columns-container {
  background: #e3d8c6;
}

.columns {
  max-width: 1000px;
  padding: 40px;
  margin: 0 auto;
}

.columns h2 {
  font-weight: 500;
}


.columns img {
  width: "220px";
  height: auto;
  float: right;
  margin-left: 12px;
}


.columns h2 {
  margin: 0;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  border: 1px solid #222;
  padding: 10px 20px;
  color: #222;
  text-transform: uppercase;
  font-weight: 500;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.button:hover {
  background: darkkhaki;
  color: #fff;
  border-color: white;
}

.btn-orange {
  border-color: #ec631c;
  color: #ec631c;
}

.btn-white {
  border-color: #fff;
  color: #fff;
}

.btn-orange:hover {
  background: #ec631c;
  color: #222;
}

.btn-white:hover {
  background: transparent;
  border-color: darkkhaki;
  color: darkkhaki;
}

.button {
  margin: 10px 10px 0 0;
}

.slogan-container {
  background: #f1ede4;
  border-top: 1px solid #222;
}

.slogan {
  max-width: 960px;
  padding: 20px;
  margin: 0 auto;
  font-size: 23px;
  line-height: 1.2;
}

.slogan span {
  display: block;
  font-weight: 700;
}

.legal-container {
  background: rgb(153, 153, 2);
}

.legal {
  max-width: 960px;
  padding: 40px 20px;
  margin: 0 auto;
  color: #f1ede4;


}

.legal img {
  margin: 0 2px;
  vertical-align: text-bottom;
}

.legal a {
  font-weight: 700;
  color: #e3d8c6;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;

}

.legal p {
  font-weight: 500;
}

.legal a:hover {
  color: #f1ede4;
  border-color: #f1ede4;
}

/* content-Seite */

.content-container {
  background: #f1ede4;
}

.content-header-container {
  border-bottom: 1px solid #222;
}

.content-header,
.content {
  max-width: 960px;
  padding: 20px;
  margin: 0 auto;

}

.content-header h1 {
  text-align: center;
}

#text {
  display: none;
}

/*Lebenslauf*/

.cv_ed {
  margin-top: 20px;
}

.cv-container {
  display: flex;
  width: 100%;

}

.cv .date {
  font-weight: bold;
  float: left;
  width: 125px;
  height: auto;

}

.cv .info {
  float: right;
  width: calc(100% - 125px);
  padding-left: 25px;
  position: relative;


}

.gallery-container {
  background: #e3d8c6;
  border-top: 1px solid #222;

}

.gallery {
  max-width: 960px;
  margin: 0 auto;
}

.gallery article {
  width: 100%;
  float: left;
}

.gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.gallery .overlay {
  position: absolute;
  top: 100%;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(25, 61, 28, 0.8);
  padding: 20px;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.gallery a:hover .overlay {
  top: 0;
}

.gallery .overlay h3,
.gallery .overlay p {
  margin: 0;
}

.gallery .overlay .button {
  margin-top: 10px;
}

.cv .hr {
  display: inline-block;
  width: 80px;
  margin: 0;
  padding: 0;
  line-height: 1px;
  vertical-align: middle;
  height: 3px;
  border: none;
  border-bottom: 1px solid #fff;
}

.gallery img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}


/* Clearfix */

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* Mediaqueries */

@media screen and (max-width: 850px) {

  .main-header {
    text-align: center;
  }

  .logo,
  .main-header nav li {
    float: none;
    display: inline-block;
  }

  .main-header nav {

    float: none;
    display: block;
    padding: 0;
    padding-top: 10px;
  }

  .intro-container {
    height: 400px;
  }

  .intro-text,
  .intro-aside {
    width: 50%;
  }
}

@media screen and (max-width: 600px) {

  .intro h1 {
    font-size: 30px;
  }

  .intro h1 span {
    font-size: 16px;
  }

  .columns article {
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #222;
  }

  .columns article:first-child {
    margin-top: 0;
    padding-top: 0;
  }

  .gallery article {
    width: 100%;
  }

  .intro-text,
  .intro-aside {
    width: 100%;
    padding: 0;
  }

  .intro-aside {
    border-top: 1px solid #222;
    margin-top: 20px;
    padding-top: 20px;
  }
}

/*Workshop Img slideshow*/
.slidershow {
  width: 900px;
  height: 600px;
  overflow: hidden;
}



.navigation_img_workshop {
  position: relative;
  bottom: 20px;
  left: 80%;
  transform: translateX(-50%);
  display: flex;
}

.navigation_img_workshop_2 {
  position: relative;
  bottom: 40px;
  left: 66%;
  transform: translateX(-50%);
  display: flex;
}

.bar {
  width: 50px;
  height: 30px;
  
  border: 2px solid #fff
  ;
  margin: 6px;
  cursor: pointer;
  transition: 0.4s;
  text-align: center;
}

.bar:hover {
  background: #fff;
}

input[name="r"] {
  position: absolute;
  visibility: hidden;
}

.slides {
  width: 1000%;
  height: 100%;
  display: flex;
}

.slide {
  width: 10%;
  transition: 0.6s;
}

.slide img {
  width: 100%;
  height: 100%;
}

#r1:checked~.s1 {
  margin-left: 0;
}

#r2:checked~.s1 {
  margin-left: -10%;
}

#r3:checked~.s1 {
  margin-left: -20%;
}

#r4:checked~.s1 {
  margin-left: -30%;
}

#r5:checked~.s1 {
  margin-left: -40%;
}

#r6:checked~.s1 {
  margin-left: -50%;
}

#r7:checked~.s1 {
  margin-left: -60%;
}

#r8:checked~.s1 {
  margin-left: -70%;
}

#r9:checked~.s1 {
  margin-left: -80%;
}

#r10:checked~.s1 {
  margin-left: -90%;
}

/*
  .text {
    
  }
  .moreText {
    display: none;
  }
  .read-more-btn {
    
  }
  .read-more-btn:hover{
    background: darkkhaki;
    color: #fff;
    border-color: white;
  }
  .text.show-more .moreText {
    display: inline;
  }
  .text.show-more .dots {
    display: none;
  }*/

.toggle-text-button {
  padding: 10px 20px;
  background-color: #f1ede4;
  color: rgb(53, 49, 49);
  border: 1px solid #222;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  text-transform: uppercase;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;

}

.toggle-text-button:hover {
  background: darkkhaki;
  color: #fff;
  border-color: white;
}

.toggle-text {
  display: none;
}

/*beratungs link*/

.beratung a:hover {
  text-decoration: underline;
  color: black;

}