@charset "utf-8";

* {
  /* Border-Box-Modell -> Andere Berechnung von padding, border, margin */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


/* Äußerster Container */
body {
  margin: 0;
  padding: 12px 0;
  /*background: url(bg-wallpaper.jpg) no-repeat center center/cover, #000;*/
  background: #000;
  transition: all .5s ease-in-out;
  font-size: 16px;
}

/* Seiteninhalt */
article {
  color: #fff;
  font-family: open sans;
  line-height: normal;
  margin: 24px auto;
}

/* Container im Article mit zentriertem INhalt */
article .center {
  text-align:  center;
}

/* Weiten Begrenzer */
div.inner {
  margin: 0 auto;
  max-width: 800px;
  padding: 0 12px;
}

/* Großer Text und überschriften */
h2:not(.companyName), h3,
.button, article .big-text {
  font-family: 'Carrois Gothic SC', sans-serif
}

h2 {
  margin-top: 1rem;
  margin-bottom: 42px;
}

/* Großer Text */
article .big-text {
  font-size: 30px;
  line-height: 36px;
}

/* Kleiner Text */
article .small-text, p.small-text {
  font-size: 16px;
  line-height: 24px;
}

/* Zentrierter Text */
.center-text {
  text-align: center;
}

/* Hauptüberschrift */
h1 {
  font-family: 'Carrois Gothic SC', sans-serif;
  font-size: 50px;
  letter-spacing: 4px;
  margin: .2em 0;
}

h1.hide {font-size: 0;}
.logo-schriftzug.hide { display: none!important; }

h2:not(.companyName), h3 {
  font-size: 36px;
  line-height: 40px;
}


/* H3 mit Abstand oben */
h3.spacing-top {
  margin-top: 84px;
}

/* Links im Text */
a {
  color: #4e985a;
}

p.handwritten {
  font-family: 'Nothing You Could Do', sans-serif;
  font-size: 28px;
  z-index: 2;
  position: relative;
  transform: rotate(-2deg) translate(0,-64px);
  text-shadow: #000 1px -1px 3px;
}

/* Buttons */
.button {
  display: inline-block;
  background: #08280b;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  border-radius: 6px;
  border: solid #fff 3px;
  background: url(/inc/img/bg-button.png) center center no-repeat;

  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.button:hover {
}

/* Grau hinterlegte Kästen */
section.stripe {
  background: #fff;
  padding: 2px 44px 12px;
  margin: 114px 0 54px;
  /* border-radius: 46px; */
  color: #000;
}

.stripe h3 {
    background: black;
    display: inline-block;
    padding: 12px 32px;
    color: #fff;
    margin-top: -1em;
    margin-bottom: .2em;
}

/*Swiper Anpassungen */
/*.swiper-container {
padding: 0 12px;
}

.swiper-slide {
border-radius: 46px;
overflow: hidden;
}*/

.swiper-container-autoheight .swiper-wrapper {
  align-items: center!important; /* add this will all relevant prefixes */
}

/* Bildergalerie */
ul.gallery {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

ul.gallery li {
  width: 100%;
  border: solid #fff 3px;
  margin: .5%;
  transition: all .2s ease-in-out;
}

img {
  display: block;
  max-width: 100%;
}

/* Label für Firmen und Orte bei Referenzen */
i.label {
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 2px;
  font-size: 14px;
  border-radius: 3px;
  padding: 0 4px;
}

i.label a {
  text-decoration: none;
  color: #fff;
}

/* Eingebettete Facebook-Posts */
.fb-post {
  margin-bottom: 24px;
}

/* Rundes Logo und Portrait am Seitenanfang */
img.logo, img.portrait {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 50%;
  margin-bottom: 12px;
}
img.logo {
  position: relative;
  z-index: 2;
  margin-right: -12px;
}
img.portrait {
  margin-left: -12px;
}

/* Schriftzug am Seitenanfang */
img.logo-schriftzug {
  width: 100%;
  max-width: 600px;
  display: inline-block;
}

/* Social Media Links */
.social-links a {
  font-size: 16px;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

p.social-links {
    padding-top: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

p.social-links a {
    margin: 0 12px;
    display: flex;
    align-items: center;
}

p.social-links a svg {
    margin-right: 6px;
}

/* Impressum */
.imprint a {
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans';
    font-style: italic;
    font-size: 14px;
    margin-top: 42px;
    display: inline-block;
}

/* Für Desktop Auflösung */
@media screen and (min-width: 800px) {
  ul.gallery li {
    width: 24%;
  }

  ul.gallery li:hover {
    transform: rotate(2deg) scale(1.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 20px 20px 10px rgba(0, 0, 0, 0.5);
    background: #fff;
    cursor: zoom-in;
  }

  .swiper-slide img {
    transition: opacity .2s ease-in-out;
  }

  .swiper-slide:not(.swiper-slide-next) img {
    opacity: .5;
  }
  h1 {
    margin: .8em 0 0;
    font-size: 70px;
    letter-spacing: 8px;
    line-height: 74px;
  }
  article .small-text {
    font-size: 18px;
  }
  body {
    font-size: 24px;
  }
  article .big-text {
    line-height: normal;
  }
  img.logo, img.portrait {
    margin: 0 0 24px;
    max-width: 325px;
  }
  img.logo {
    transform: translateX(151px);
    animation: slide-left 2s forwards;
    animation-delay: 1s;
  }
  img.portrait {
    transition: all .2s ease-in-out;
    transform: translateX(-175px) scale(.98);
    animation: slide-right 2s forwards;
    animation-delay: 1s;
  }
  @keyframes slide-left {
    from {transform: translateX(151px);}
    to {transform: translateX(24px);}
  }

  @keyframes slide-right {
    from {transform: translateX(-175px) scale(.98);}
    to {transform: translateX(-24px) scale(1);}
  }





  /* Button Animation */
  /* Buzz Out */
  @-webkit-keyframes hvr-buzz-out {
    10% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    20% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    30% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    40% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    50% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    60% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    70% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    80% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    90% {
      -webkit-transform: translateX(1px) rotate(0);
      transform: translateX(1px) rotate(0);
    }
    100% {
      -webkit-transform: translateX(-1px) rotate(0);
      transform: translateX(-1px) rotate(0);
    }
  }
  @keyframes hvr-buzz-out {
    10% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    20% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    30% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    40% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    50% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    60% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    70% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    80% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    90% {
      -webkit-transform: translateX(1px) rotate(0);
      transform: translateX(1px) rotate(0);
    }
    100% {
      -webkit-transform: translateX(-1px) rotate(0);
      transform: translateX(-1px) rotate(0);
    }
  }
  .button {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
  }
  .button:hover, .button:focus, .button:active {
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
  }

  body .blurred-bg {
    content: '';
    width: 100vw;
    height: 100vh;
    background: black;
    display: block;
    z-index: -4;
    position: fixed;
    top: 0;
    left: 0;
    /*background-image: url(/images/florian-froehlich-photography-sampleshot-1.jpg);*/
    background-color: black;
    background-size: cover;
    filter: blur(100px);

    transition: background 4s ease-in-out;
    opacity: .5;
  }

}
