@import url(normalize.css);
@import url("https://use.typekit.net/ubn3bcz.css");
@import url(all.min.css); /* fontawesome */
@import url(flickity.min.css); /* flickity carousel */


/* Allgemeine Regeln ///////////////////////////////////////  */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #333;
  background: white;
  -webkit-font-smoothing: antialiased;
  font-family: skolar-sans-latin, sans-serif;
  color: #364f6b;
  background: #f5f5f5;
}

a, a:link, a:visited {
  font-family: skolar-sans-latin, sans-serif;
  text-decoration: none;
  color: #3fc1c9;
  }

a:hover {
  color: #fc5185;
}

em {
  font-weight: 700;
  display: inline-block;
  color: #3fc1c9;
  margin: 2rem 0;
  padding: 2px 0 4px;
  border-top: 1px solid #3fc1c9;
  border-bottom: 1px solid #3fc1c9;
}

.noscriptzone {
  text-align:center;
  width:100%;
  background-color:red;
  position:absolute;
  z-index:9999;
  height:30px;
  line-height:28px;
  color: white;
  }

.innerbox {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

.flex-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.flex-box-center {
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  margin: 3rem 0;
}

section {
  padding: 5rem 0 5rem;
}

section:first-of-type {
  padding: calc(3rem - 48px) 0 3rem; /* arrow-cutout abziehen */
}

ul, li {
  list-style: none;  
}

.button {
  display: inline-block;
  background: #3fc1c9;
  border: 0;
  padding: 10px 30px;
  margin: 2rem 0;
  color: #f5f5f5 !important;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-top: 1.5rem;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button:hover{
  background: #fc5185;
  color: #f5f5f5;
  text-decoration: none !important;
}

.dark-bg {
  background: #364f6b;
  color: #f5f5f5;
}

/* Typografie ///////////////////////////////////////  */

h1, h2 {
  font-family: skolar-latin, serif;
  font-weight: 500;
  font-size: 3rem;
  line-height: 3.4rem;
  color: #fc5185;
  margin: 2rem 0;
}

h3 {
  font-family: skolar-sans-latin, sans-serif;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 2rem;
  margin: 1rem 0;
}

h4 {
  font-family: skolar-sans-latin, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

p {
  font-family: skolar-sans-latin, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6rem;
  margin: 0 0 1rem 0;
  hyphens: auto;
}

.compressed {
    font-family: skolar-sans-latin-compressed, sans-serif; 
    font-weight: 500;
}

/* Header ///////////////////////////////////////  */

.sticky-header {
  position: fixed;
	z-index: 9;
	min-height: 95px;
  width: 100%;
  padding-top: 25px;
	background: rgba(28,44,62,0);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
	-webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s;
}

.active {
  background-color: rgba(28,44,62,0.85);
  min-height: 85px;
}


/* Desktop Navigation ///////////////////////////////////////  */

#comp-name {  
  flex: 50%;
  display: block;
  font-size: 1.3rem;
}

#comp-name #name {
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#comp-name a, #comp-name a:hover {
  color: #3fc1c9;
}

#comp-name img {
  height: 20px;
  padding: 5px 2px 0;
}


.logo {
  width: 100px;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  z-index: 10;
	-webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s;  
}

.shrink {
  width: 85px;
}

/* Hauptnavigation */

nav {
  flex: 50%;
  padding-top: 3px;
}

nav ul {
  text-align: right;
}

nav ul li {
  display: inline-block;
  margin-left: 35px;
  font-size: 1.3rem;  
  line-height: 1.5;
}

nav ul li a {
  color: #f5f5f5 !important;
  text-transform: uppercase;
	-webkit-transition: all ease-out .3s;
  -moz-transition: all ease-out .3s;
  -o-transition: all ease-out .3s;
  transition: all ease-out .3s;
}

nav ul li a:hover {
  color: #3fc1c9 !important;
}

#aktiv {
  color: #3fc1c9 !important;
}


/* Mobile Navigation ///////////////////////////////////////  */

.mobile-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.mobile-toggle img {
  width: 50px;
}

.rotate {
   transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}


/* Hero-Image ///////////////////////////////////////  */

#hero {
   height: 600px; /*fallback*/
   height: calc(100vh + 60px);
   background: #131B2D url(../images/bg/3d-rendering-colorful-glas-bottles.jpg) no-repeat center center;
   background-size: cover;
   position: relative
}

#hero .innerbox {
  position: relative;
  height: calc(100vh + 60px); /* Browserfenster plus arrow-cutout */
}

#hero h1 {
   margin: 0 5rem 0 5rem;
   position: absolute;
   max-width: 40%;
   left: 0;
   top: 35%;
   color: #f5f5f5;
   font-size: 4rem;
   line-height: 4.4rem;
}

#hero h1 span {
   display: block;
   padding-top: 1rem;
   font-family: skolar-sans-latin, sans-serif;
   font-size: 1.6rem;
   line-height: 2.2rem;
}

.unterseite #hero {
   height: 300px; /*fallback*/
   height: 30vh;
   background: #131B2D url(../images/bg/3d-rendering-blue-gears.jpg) no-repeat center center;
   background-size: cover;
}


/* Animierter Pfeil nach unten */

#arrow-down {
  width: 85px;
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
}

.bounce {
  -webkit-animation: ca3_fade_move_down 4s ease-in-out infinite;
  -moz-animation:    ca3_fade_move_down 4s ease-in-out infinite;
  animation:         ca3_fade_move_down 4s ease-in-out infinite;
}

@-webkit-keyframes ca3_fade_move_down {
  0%   { -webkit-transform:translate(-50%,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(-50%,20px); opacity: 0; }
}
@-moz-keyframes ca3_fade_move_down {
  0%   { -moz-transform:translate(-50%,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(-50%,20px); opacity: 0; }
}
@keyframes ca3_fade_move_down {
  0%   { transform:translate(-50%,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(-50%,20px); opacity: 0; }
}

/* Dreieckiger Ausschnitt des Hero-Bildes */

.arrow-cutout {
  position: absolute;
  z-index: 8;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: #364f6b;
}

.arrow-cutout:before, .arrow-cutout:after {
  content:'';
  position: absolute;
  bottom: 100%;
  width: 50%;
  box-sizing: border-box;
}

.arrow-cutout:before {
  right: 50%;
  border-bottom: 24px solid #364f6b;
  border-right: 44px solid transparent;
}

.arrow-cutout:after {
  left: 50%;
  border-bottom: 24px solid #364f6b;
  border-left: 44px solid transparent;
}

.arrow-cutout.light-bg {
  background-color: #f5f5f5;
}

.arrow-cutout.light-bg:before {
  right: 50%;
  border-bottom: 24px solid #f5f5f5;
  border-right: 44px solid transparent;
}

.arrow-cutout.light-bg:after {
  left: 50%;
  border-bottom: 24px solid #f5f5f5;
  border-left: 44px solid transparent;
}

/* Gestaltungs-Layout ///////////////////////////////////////  */

.column-flex {
  flex: 1;
  margin-right: 2rem;
}

.column-flex:last-child {
  margin-right: 0;
}

.column-2 {
  flex: 1;
  margin: 0 65px 0 0;
}

.column-2:last-child {
  flex: 1;
  margin: 0 0 0 65px;
}

.center-img {
  text-align: center;
}

.center-img img {
  max-width: 100%;
}


/* Dreieckiger Pfeil nach unten/oben */

.arrow-bottom {
  position:relative;
}

.arrow-bottom:after {
  content:"";
  position:absolute;
  bottom:-24px; /* value = - border-top-width - border-bottom-width */
  left:50%; /* controls horizontal position */
  transform: translateX(-50%);
  border-width:25px 44px 0; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color: #f5f5f5 transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

.dark-bg.arrow-bottom:after {
  border-color: #364f6b transparent !important;
}

.arrow-top {
  position:relative;
}

.arrow-top:after {
  content:"";
  position:absolute;
  top: -24px; /* value = - border-top-width - border-bottom-width */
  left:50%; /* controls horizontal position */
  transform: translateX(-50%);
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-bottom: 24px solid #364f6b;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* Blockquote //////////////////////////////////////////////*/

blockquote {
  width: 60%;
  margin: 10% auto;
  font-style: italic;
  padding: 2rem 2rem 2rem 4rem;
  border-left: 8px solid #fc5185;
  line-height: 1.6;
  position: relative;
  background: rgba(255,255,255,0.8);
}

blockquote::before{
  font-family: Arial;
  content: "\201C";
  color: #fc5185;
  font-size: 7rem;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

/* Image Separators mit Parallax-Effekt //////////////////////////////////////////////*/

#image-separator-1 {
   height: 70vh;
   background: #364f6b url(../images/bg/3d-rendering-vintage-wooden-violin.jpg) no-repeat center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   background-size: cover;
   text-align: center;
}

#image-separator-2 {
   min-height: 50vh;
   background: #364f6b url(../images/bg/3d-rendering-colorful-glas-bottles-2.jpg) no-repeat center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   background-size: cover;
   text-align: center;
}

#image-separator-3 {
   height: 200px;
   background: #364f6b url(../images/bg/3d-rendering-blue-gears.jpg) no-repeat center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   background-size: cover;
   text-align: center;
}

#image-separator-4 {
   height: 50vh;
   background: #364f6b url(../images/bg/3d-rendering-industrial-lamps.jpg) no-repeat center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   background-size: cover;
   text-align: center;
}


/* Startseite Flickety Carousel //////////////////////////////////////////////////////////////// */


#work-teaser .carousel-cell {
  width: 70%;
  height: auto;
  margin-right: 1rem;
}

#work-teaser .carousel-cell img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#work-teaser .carousel-cell img:hover {
  opacity: 0.8;
}

#work-teaser figure {
   margin: 0;
   background: #f5f5f5;
   line-height: 0;
   position: relative;
   overflow: hidden;
}

#work-teaser figcaption {
   background-color: #364f6b;
   background-color: rgba(54,79,107,0.8);
   line-height: 1.5rem;
   position: absolute;
   left: 20px;
   right: 20px;
   bottom: 20px;
   padding: 1rem 2rem;
   color: #fc5185;
   text-transform: uppercase;
   letter-spacing: 2px;
}

#work-teaser figcaption span {
   display: block;
   color: #f5f5f5;
   font-family: skolar-latin, serif;
   font-size: 1.5rem;
   font-weight: 500;
   line-height: 1.6rem;
   text-transform: none;
}

#work-preview p {
  text-align: center;
  margin-top: 2rem;
}

#intro img {
  margin-top: 3rem;
}

#intro video {
  margin: 5rem 0;
}

/* About me Seite //////////////////////////////////////////////////////////////// */

/* Vorteile Flickety Carousel */

#vorteile .carousel-cell {
  width: 49%;
  height: auto;
  color: #364f6b;
  padding: 3rem 2rem 3rem 0;
  margin-right: 1rem;
}

#vorteile .carousel-cell div:first-child {
  flex: 1;
  margin-right: 5%;
}

#vorteile .carousel-cell div:last-child {
  flex: 3;
}

#vorteile .carousel-cell img {
  width: 100%;
}

#vorteile .carousel-cell h3 {
  color: #3fc1c9;
  margin-top: 0;
}

.flickity-prev-next-button {
  top: -75px;
  -webkit-transform: none;
          transform: none;
}

.flickity-prev-next-button.previous {
  left: calc(50% - 2rem);
  transform: translateX(-50%);
}

.flickity-prev-next-button.next {
  left: calc(50% + 0.5rem);
}

.flickity-page-dots {
  bottom: 0;
}


/* Definition */

dl {
  margin-top: 2rem;
  padding: 3%;
  border-left: 2px dotted #fc5185;
  background: #fff;
}

abbr {
  text-decoration: none;  
}

dt {
  color: #fc5185;
  font-weight: 700;
  text-decoration: none;
}

dd {
  margin-bottom: 1rem;
}

#myself h3 {
  margin: 1rem 0;
}

#myself img {
  width: 100%;
}

/* Timeline */

.timeline p {
  margin: 0.2rem 0 0 0;
  padding: 0;
}

.timeline-item {
  padding-left: 7%;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-info {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 0.2rem 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
}
.timeline-marker:before {
  background: transparent;
  border: 3px solid #fc5185;
  border-radius: 100%;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  top: 1px;
  left: 0;
  width: 10px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
  content: "";
  width: 3px;
  background: #f5f5f5;
  display: block;
  position: absolute;
  top: 21px;
  bottom: 3px;
  left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item.last .timeline-marker:before {
  background: #fc5185;
  border: 3px solid transparent;
}

.timeline-content {
  padding-bottom: 2rem;
}
.timeline-content p:last-child {
  margin-bottom: 0;
}


/* Work Seite //////////////////////////////////////////////////////////////// */


/* Featured Project 1 */

#featured-1 .project-info {
  flex: 100%;
  order: 3;
  margin-top: 2rem;
  margin-left: calc(20% + 0.5rem);
}

#featured-1 .project-thumbnails {
  flex: 1;
  order: 1;
  display: flex;
  flex-direction: column;
  margin-right: 0.5rem;
}

#featured-1 .project-thumbnails li {
  line-height: 0;
  margin: 0 0 0.5rem 0;
  }

#featured-1 #project-1-hero {
  flex: 4;
  order: 2;
}


/* Featured Project 2 */

#featured-2 .project-info {
  flex: 100%;
  order: 3;
  margin-top: 2rem;
  margin-left: 0;
  margin-right: calc(20% + 0.5rem);
}

#featured-2 .project-thumbnails {
  flex: 1;
  order: 2;
  display: flex;
  flex-direction: column;
  margin-right: 0;
  margin-left: 0.5rem;
}

#featured-2 .project-thumbnails li {
  line-height: 0;
  margin: 0 0 0.5rem 0;
  }

#featured-2 #project-2-hero {
  flex: 4;
  order: 1;
}


/* Featured Project allgemein */

.project-thumbnails img {
  width: 100%;
}

#project-1-hero img, #project-2-hero img {
  width: 100%;
}

.project-thumbnails figure {
   margin: 0;
   position: relative;
}

.project-thumbnails figcaption {
   background-color: #000;
   background-color: rgba(0,0,0,0.6);
   line-height: 1.5em;
   position: absolute;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   opacity: 0;
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
}

.project-thumbnails figcaption:hover {
   opacity: 1;
}

.project-thumbnails figcaption span {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%,-50%);
   font-size: 2rem;
   color: white;
   }
   

/* Portfolio Gallerie */

#portfolio .grid img {
  width: 100%;
}

#portfolio figure {
   margin: 0;
   line-height: 0;
   position: relative;
   overflow: hidden;
}

#portfolio figcaption {
   background-color: #364f6b;
   background-color: rgba(54,79,107,0.8);
   line-height: 1.5rem;
   position: absolute;
   top: 0;
   left: -100%;
   width: 50%;
   height: 100%;
   text-align: center;
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
}

#portfolio a:hover figcaption {
   left: 0;
}

.category {
  color: #fc5185;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 75%;
}

.project-name {
  color: #f5f5f5;
  font-family: skolar-latin, serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6rem;
  margin-bottom: 5%;
}

/* Videos responsive */

video {
    width: 100%;
}
   
/* Work - Projekt-Unterseiten */

.project main{
  padding-top: 150px;
}

#project-hero {
  line-height: 0;
}
   
#project-hero img {
  width: 100%;
}
   
.project .project-thumbnails {
  display: flex;
  margin-bottom: 3rem;
}

.project .project-thumbnails li {
  flex: 1;
  line-height: 0;
  margin-top: 1rem;
  margin-right: 1rem;
}

.project .project-thumbnails li:last-child {
  margin-right: 0;
}

.project .project-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.project .project-info h3 {
  margin-top: 0;
}

.project .project-info div:first-of-type {
  flex: 64%;
  padding: 0.5rem 2rem 0 0;
  margin-right: 1rem;
}

.project .project-info div:last-of-type {
  background: #fff;
  background: rgba(255,255,255,0.5);
  color: #364f6b;
  flex: 30%;
  padding: 2rem;
}

.project .project-info li {
  display: block;
  margin: 0.5rem 0;
}

.project .project-info span {
  font-family: skolar-sans-latin, sans-serif;
  font-weight: 700;
  margin-left: 10px;
  color: #364f6b;
}

.project .project-info span a {
  color: #364f6b;
}

   
 /* Kontakt ///////////////////////////////////////////////////////////////////////////////////*/

#kontaktformular input[type="text"],
#kontaktformular input[type="email"],
#kontaktformular textarea {
  width: 100%;
  background: #f5f5f5;
  color: #364f6b !important;
  border: 1px solid #eee;
  padding: 0.625rem;
  margin-bottom: 1rem;
  border-radius: 0;
}

/* focus = beim Setzen des Cusors */
#kontaktformular input[type="text"]:focus,
#kontaktformular input[type="email"]:focus,
#kontaktformular textarea:focus {
  background: #fff;
  border: 1px solid #fc5185;
  padding: 0.625rem;
  outline: 0 !important; /* extra Befehlfür Chrome */
}

#kontaktformular textarea {
  width: 100%;
  height: 300px;
}

#kontaktformular input[type="submit"] {   
  border: 0;
  border-radius: 0;
}

#kontaktformular .flex-box div:first-of-type {
  flex: 1;
  margin-right: 1rem;
}

#kontaktformular .flex-box div:nth-of-type(2) {
  flex: 2;
}

#kontaktformular .flex-box div:nth-of-type(3) {
  text-align: right;
  flex: 100%;
}

.antispam { display:none;}
   
 /* Impressum und Datenschutz ///////////////////////////////////////  */
   
#impressum address {
  font-style: normal;
}

#datenschutz h4 {
  text-transform: none;
}

#datenschutz ul {
  margin-bottom: 1rem;
}

#datenschutz ul li {
  margin-left: 2rem;
  list-style: square;
}

/* Footer ////////////////////////////////////////////////////////  */

footer {
    padding: 6rem 0 4rem;
}


footer .innerbox > div {
  flex: 26%;
  border-left: 2px solid #f5f5f5;
  padding: 0 0 0 1rem;
  margin: 1rem 0;
}

footer .innerbox > div:first-child {
  flex: 4%;
  border-left: none;
  padding: 0 1rem;
  margin: 1rem 0 0;
  text-align: center;
}

footer .innerbox > div:first-child img {
  width: 100%; 
}

footer a[href^="mailto:"] {
   background: url(../images/icons/mail-icon.svg) no-repeat left;
   background-size: 17px;
   padding-left: 1.5rem;
   line-height: 1.7rem;
   color: #f5f5f5;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;   
}

footer a[href^="tel:"] {
   background: url(../images/icons/phone-icon.svg) no-repeat left;
   background-size: 17px;
   padding-left: 1.5rem;
   line-height: 1.7rem;
   color: #f5f5f5;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;   
}

footer a[href^="mailto:"]:hover, footer a[href^="tel:"]:hover {
    color: #3fc1c9;
}

footer a {
   line-height: 1.7rem;
   color: #f5f5f5 !important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;   
}

footer a:hover {
   color: #3fc1c9 !important;
}

footer i {
  color: #f5f5f5;
  margin-right: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;  
}

footer a:hover i {
   color: #f5f5f5;
}

#back-to-top {
  width: 85px;
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 10px;
  transform: rotate(180deg) translateX(50%);
}


/*Breakpoint bis 1920px ///////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 1920px) {
      .innerbox {
        max-width: 1200px;
      }

/*Breakpoint bis 1100px - Mobile Navigation ///////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 1100px) {
  
      /* Mobiler Header */
      header .innerbox {
        padding: 0;
      }
      
      .logo {
        width: 87px;
        position: absolute;
        left: 20px;
        top: 10px;
        transform: translateX(0);
      }
      
      #comp-name {  
        flex: 70%;
        display: block;
        font-size: 1.1rem;
        padding-left: 120px;
      }
      
      #comp-name #name {
        font-size: 1.3rem;
        display: block;
        line-height: 1rem;
        margin: 5px 0 1px;
      }
        
      #comp-name #profession img:first-child {
         display: none;
      }
      
      .mobile-toggle {
        display: block;
      }
      
      nav {
        flex: 100%;
      }              
      
      nav ul {
        padding-top: 50px;
        margin-bottom: 22px;
        text-align: center;
        width: 100%;
      }              
                
      nav ul li {
        width: 100%;
        background-color: rgba(28,44,62,0.85);
        margin: 10px 0;
        padding: 10px 0;
        display: none;
      }
      
      nav ul li a {
        display: block;
        width: 100%;
      }
      
      .main-nav {
        opacity: 0;
        height: 0;
        -webkit-transition: all ease-out .3s;
        -moz-transition: all ease-out .3s;
        -o-transition: all ease-out .3s;
        transition: all ease-out .3s;  
      }
      
      .open-nav {
        opacity: 1;
        height: 350px !important;
      }
      
      .open-nav li {
        display: block;
      }
      
      /* Allgemeine Anpassungen */
      .section {
        padding: 0 7%;
      }
      
      .column-2 {
        margin: 0 2% 0 0; /* mittiges margin reduziert */
      }
      
      .column-2:last-child {
        margin: 0 0 0 2%; /* mittiges margin reduziert */
      }
            
      #hero h1 {
        max-width: 80%;
        text-align: center;
      }
      
      #work-teaser .carousel-cell {
        width: 100%;
      }
      
      #image-separator-1 {
         height: 35vh;
      }
      
      #image-separator-2 {
         min-height: 35vh;
      }
           
      #image-separator-3 {
         height: 20vh;
      }
      
      #image-separator-4 {
         height: 30vh;
      }
      
      blockquote {
        width: 100%;
      }

      /* About Seite */
      #vorteile .carousel-cell {
        width: 100%;  /* 1 statt 2 Vorteile auf einmal sichtbar */
      }
      
      #vorteile .carousel-cell div:first-child {
      margin-right: 2%
      }
      
      #vorteile .carousel-cell img {
        width: 70%;
      }
      
      /* Work Seite */
      
      #featured-1 #project-1-hero,
      #featured-2 #project-2-hero {
        flex: 100%;
        order: 1; /* thumbails unter hero statt daneben */
      }      
      
      #featured-1 .project-info {
        margin-left: 0;
      }
      
      #featured-2 .project-info {
        margin-right: 0;
      }
           
      #featured-1 .project-thumbnails,
      #featured-2 .project-thumbnails {
        flex: 100%;
        order: 2;
        flex-direction: row;
        margin-right: 0;
        margin-left: 0;
      }
      
      #featured-1 .project-thumbnails li {
        margin: 0.5rem 0.5rem 0.5rem 0;
      }
        
      #featured-1 .project-thumbnails li:last-child,
      #featured-2 .project-thumbnails li:last-child {
        margin-right: 0;
      }
              
      #featured-2 .project-thumbnails li {
       margin: 0 0.5rem 0 0;
      }       
      
      #portfolio .grid figcaption { /* figcaption immer sichtbar */
         top: auto;
         bottom: 0;
         left: 0;
         width: 100%;
         height: auto;
         text-align: left;
      }
      
      .category {
        margin: 3% 0 0;
        padding-left: 3%;
      }
      
      .project-name {
        margin: 0 0 3%;
        padding-left: 3%;
      }
      
      /* Work Unterseite */
      .project .project-info div:first-of-type { /* Spalten halb/halb statt zwei drittel/ein drittel */
        flex: 1;
      }
      
      .project .project-info div:last-of-type {
        flex: 1;
      }      
          
      
      /* Footer */         
      footer .innerbox > div { /* Anpassung Logo Größe */
        flex: 24%;
      }
      
      footer .innerbox > div:first-child {
        flex: 6%;
      }
         
}


/*Breakpoint bis 900px ///////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 900px) {
  
      /* Allgemeine Anpassungen */     
      .column-flex {
        flex: 100%; /* Spalten untereinander */
        margin: 0;
      }
      
      .column-2,
      .column-2:last-child {
        flex: 100%; /* Spalten untereinander */
        margin: 0;
      }
      
      .center-img img {
        max-width: 90%;
      }
            
      .change-order .column-2:first-child {
        order:2;  /* Spaltenreihenfolge vertauschen */
      }
      
      .change-order .column-2:last-child {
        order:1;  /* Spaltenreihenfolge vertauschen */
        margin:0 0 1rem;
      }
        
      .grid {
        grid-template-columns: 1fr;  /* Grid untereinander */
      }
      
      .carousel-cell {
        width: 100%;
      }
      
      .flickity-prev-next-button.previous {
        display: none;   /* Pfeil-Buttons ausblenden */
      }
      
      .flickity-prev-next-button.next {
        display: none;
      }
      
      /* About-Seite */       
      #vorteile .carousel-cell div:first-child {
        display: none;
      }
      
      
      /* Kontakt-Seite */ 
      #kontaktformular .flex-box div:first-of-type {
        flex: 100%; /* Spalten untereinander */
        margin-right: 0;
      }
      
      #kontaktformular .flex-box div:nth-of-type(2) {
        flex: 100%; /* Spalten untereinander */
      }
      
      /* Work Unterseite */
      .project .project-info div:first-of-type {
        flex: 100%; /* Spalten untereinander */
        margin-right: 0;
      }
      
      .project .project-info div:last-of-type {
        flex: 100%;
      }
      
      /* Footer */ 
      footer .innerbox {
        text-align: center;
      }
      
      footer .innerbox > div {
        flex: 100%;
        border: none;
        padding: 0;
      }
      
      footer .innerbox > div:first-child {
        display: none;
      }
      
}


/*Breakpoint bis 600px ///////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 600px) {
  
      #work-teaser figcaption {
        display: none;
      }
      
      #hero h1 {
        max-width: 100%;
        font-size: 3rem;
        line-height: 3.2rem;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
     
      #hero h1 span {
         padding-top: 1rem;
         font-size: 1.6rem;
         line-height: 2.2rem;
      }
      
}

/*Breakpoint bis 400px ///////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 400px) {
  
      .logo {
        width: 60px;
      }
  
      #comp-name {
        display: none;
      }
      
      #hero h1 {
        font-size: 2.2rem;
        line-height: 2.3rem;        
      }
     
      #hero h1 span {
         font-size: 1.2rem;
         line-height: 1.5rem;
      }
      
      h1, h2 {
        font-size: 2rem;
        line-height: 2.3rem;
        margin: 1rem 0;
      }
      
      h3 {
        font-size: 1.4rem;
        line-height: 1.8rem;
      }
      
      section {
        padding: 3rem 0 3rem;
      }
      
      .button {
        letter-spacing: 2px;
      }
            
}

/*Breakpoint Tocu Devices Parallax Effekt Fix ///////////////////////////////////////////////////////////////////////////////////*/
 @supports (-webkit-touch-callout: inherit) {
  #image-separator-1 {
      background-attachment: scroll;
    }
    
    #image-separator-2 {
      background-attachment: scroll;
    }
    
    #image-separator-3 {
      background-attachment: scroll;
    }
    
    #image-separator-4 {
      background-attachment: scroll;
    }
    
  }


              

              
