/* miriam-libre-regular - latin */
@font-face {
  font-family: 'Miriam Libre';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/miriam-libre-v10-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
  url('../fonts/miriam-libre-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/miriam-libre-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/miriam-libre-v10-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/miriam-libre-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/miriam-libre-v10-latin-regular.svg#MiriamLibre') format('svg'); /* Legacy iOS */
}

/* miriam-libre-700 - latin */
@font-face {
  font-family: 'Miriam Libre';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/miriam-libre-v10-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
  url('../fonts/miriam-libre-v10-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/miriam-libre-v10-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/miriam-libre-v10-latin-700.woff') format('woff'), /* Modern Browsers */ url('../fonts/miriam-libre-v10-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/miriam-libre-v10-latin-700.svg#MiriamLibre') format('svg'); /* Legacy iOS */
}

html {
  font-size: 62.5%;
  line-height: 1.4;
  scroll-behavior: smooth;
  scroll-padding-top: 12rem;
  transition: background-color .3s;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

textarea {
  resize: vertical;
}

body {
  background: #fff;
  color: #070707;
  font-family: 'Miriam Libre', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  font-size: 2rem;
  padding: 0;
}

img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

b,
strong {
  font-weight: 900;
}

.header {
  position: absolute;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 20;
}

.logo {
  display: block;
  height: 50px;
  left: 20px;
  mix-blend-mode: difference;
  position: absolute;
  position: fixed;
  top: 20px;
  transition: all .4s;
  z-index: 20;
}

.logo svg {
  height: 50px;
  width: auto;
}

.home .header {
  align-items: center;
  background: #eee;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  right: auto;
  top: auto;
  transition: min-height .4s;
}

.scrolled .home .header {
  min-height: 50vh;
}

.home .logo {
  height: auto;
  left: 50%;
  margin: -42px 0 0 -180px;
  position: fixed;
  top: 50%;
}

.home .logo svg {
  height: auto;
  width: auto;
}

.scrolled .logo {
  height: 50px;
  left: 20px;
  margin: 0;
  /*mix-blend-mode: difference;*/
  overflow: hidden;
  position: fixed;
  top: 20px;
  width: 50px;
}

.scrolled .logo svg {
  height: 50px;
  width: auto;
}

.header a.button {
  display: none;
  font-size: 1.8rem;
  margin: 0 50px 0 0;
}

.section.section-nav {
  mix-blend-mode: difference;
  position: fixed;
  right: 10px;
  top: 20px;
  z-index: 20;
}

.nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav li {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
}

.nav > ul > li:first-child {
  display: none;
}

.nav li a {
  color: #fff;
  display: inline-block;
  padding: 12px 7px 10px;
  position: relative;
  text-decoration: none;
  /*text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;*/
}

.nav li a:focus:before,
.nav li a:hover:before {
  background: rgba(112, 112, 112, .5);
  bottom: -4px;
  content: '';
  height: 4px;
  left: 10px;
  position: absolute;
  right: 10px;
}

.nav li a:active {
  background: red;
}

.nav li.current > a {
  background: #070707;
  color: #fff;
}

.nav li.current > a:before {
  display: none;
}


.checkbox {
  display: none;
}

.js #leistungen,
.js #ueber-mich {
  color: transparent;
  font-family: monospace; /* This is mandatory */
  font-size: 6rem;
  font-weight: 700;
}

.js #ueber-mich {
  text-align: center;
}

.js #leistungen h2,
.js #ueber-mich p {
  color: transparent;
  display: inline-block;
  margin: 0 0 .4em;
}

.js #leistungen h2 {
  padding: 0 0 .2em;
}

.js #leistungen.in h2,
.js #ueber-mich.in p {
  --c: #070707; /* the color */
  --s: .3s; /* control the speed of the animation */
  --d: .3s; /* control the delay */
  --n: 29; /*the number of character */

  --_g: conic-gradient(at calc(100% - 1ch) 50%, var(--c) 90deg, #0000 0);
  background: var(--_g) 0 -100%, var(--_g) 0 0,
  linear-gradient(-90deg, #0000 1ch, var(--c) 0) 0 0;
  background-size: calc(var(--n) * 1ch) 200%;
  background-repeat: no-repeat;
  -webkit-background-clip: padding-box, text, text;
  background-clip: padding-box, text, text;
  animation: pos var(--s) calc(var(--n) + 1) linear var(--d),
  size calc(var(--n) * var(--s)) steps(var(--n)) both var(--d);
}

.js #ueber-mich.in p {
  --c: #fff;
}

@keyframes size {
  0% {
    background-size: 0 200%
  }
}

@keyframes pos {
  0% {
    background-position: 0 100%
  }
}

h1 {
  font-size: 1px;
  margin: 0;
  padding: 0;
}

.content h1 {
  font-size: 6rem;
  line-height: 1;
  margin: 0 0 .3em;
}

.home .content h1 {
  color: #FF3939;
  font-size: 10rem;
  margin: 0 0 .3em;
  text-align: center;
}

h2,
h3 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 .5em;
  word-wrap: break-word;
}

h2 {
  text-transform: lowercase;
}

h3 {
  font-size: 2.4rem;
  margin: 0 0 .5em;
}

* + h3 {
  padding-top: 1em;
}

.main {
  min-height: 100vh;
  position: relative;
}

p {
  line-height: 1.7;
  margin: 0 0 1.4em;
  padding: 0;
}

a {
  color: #070707;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

time {
  font-size: 1.2rem;
  font-style: italic;
}

.buttons {
  margin: 0 0 3em;
  padding: 20px 0;
  text-align: center;
}

button,
a.button {
  background: #FF3939;
  border: 1px solid #FF3939;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 11px 40px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .4s;
  transform: rotate(0);
}

a.button-light {
  background: transparent;
}

.section-content a + a {
  margin-left: 30px;
}

button:focus,
button:hover,
a.button:focus,
a.button:hover {
  background: #fff;
  color: #000;
}

footer {
  background: #fff;
  color: #070707;
  font-size: 1.6rem;
  line-height: 1;
  padding: 1.5em 16px 1.7em;
  position: relative;
  text-align: left;
}

footer,
footer a {
  color: #070707;
}

footer a:hover,
footer a:focus {
  color: #000;
}

.author {
  float: right;
  font-size: 1.2em;
  font-weight: 700;
  padding: 0 0 0 30px;
  position: relative;
  text-decoration: none;
  text-transform: none;
}

.author:before {
  background: url(../images/logo-anecker.svg) no-repeat 0 0;
  background-size: auto;
  background-size: 100% auto;
  content: '';
  height: 24px;
  left: 0;
  margin: -12px 0 0;
  position: absolute;
  top: 50%;
  transition: transform 2.4s;
  width: 24px;
}

.anecker-e {
  animation: anecker-e 4s 1s infinite;
  display: inline-block;
  transform: rotateY(180deg);
  transform-origin: center center;
}

.author:hover:before,
.author:focus:before {
  transform: rotateY(360deg) rotateX(360deg);
}

@keyframes anecker-e {
  0%, 40% {
    transform: rotateY(180deg);
  }
  20% {
    transform: rotateY(0deg);
  }
}

.customstyle-highlight {
  background: #040404;
  color: #fff;
  padding: 5rem 0;
}

.cols.customstyle-highlight {
  margin: 0;
}

#kontakt {
  padding-top: 2em;
  text-align: center;
}

/*.headerpic img,
.headerpic-dummy {
  height: 30vh;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.home .headerpic img,
.headerpic-dummy {
  height: 100vh;
}

.home .headerpic {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

.home .headerpic:after {
  background: red;
  content: '';
  height: 300px;
  left: 50%;
  margin: -150px 0 0 -127px;
  position: absolute;
  top: 40%;
  width: 254px;
}

.home .headerpic:before {
  animation: rainbow 9s ease infinite;
  background: linear-gradient(124deg, rgb(229, 0, 0), rgb(255, 141, 0), rgb(255, 238, 0), rgb(0, 129, 33), rgb(0, 76, 255), rgb(118, 1, 136));
  background-size: 1800% 1800%;
  bottom: 0;
  content: '';
  left: 0;
  opacity: .3;
  position: absolute;
  right: 0;
  top: 0;
}

@keyframes rainbow {
  0%{background-position:0% 82%}
  30%{background-position:100% 65%}
  70%{background-position:100% 32%}
  100%{background-position:0% 82%}
}*/

.cols {
  margin: 0 0 3em;
}

.col iframe,
.col iframe {
  max-width: 560px;
  width: 100%;
}

.col-pic img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.col-pic a {
  display: block;
  position: relative;
}

.col-pic a:after {
  background: rgba(255, 255, 255, 0);
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color .4s;
}

.col-pic a:hover:after {
  background: rgba(255, 255, 255, .2);
}

.col-txt a.button {
  margin: 1em 0 0;
}

.hidden {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

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

.clearfix:after {
  clear: both;
}

.baguetteBox-button {
  background: transparent;
  border-radius: 0;
}

.content {
  padding: 12rem 0 4rem;
}

.home .content {
  padding-top: 4rem;
}

.content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
  width: 90%;
}

.content > .cols-full {
  max-width: 100%;
  width: 100%;
}

.cols-full .col-txt {
  padding: 20px 4% 0;
}

.col-tool-slider {
  background: #070707;
  border-bottom: 40px solid #070707;
  margin: 0 auto;
  min-height: 80vh;
}

.leistung.dynamic h3 {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 1em 30px;
  padding: 0;
  position: relative;
  transition: all .4s;
}

.leistung.dynamic h3:before {
  content: '- ';
  left: -30px;
  position: absolute;
}

.leistung.dynamic h3:after {
  background: #070707;
  bottom: -4px;
  content: '';
  height: 2px;
  position: absolute;
  right: 0;
  transition: width .4s;
  width: 50%;
}

.leistung.dynamic.inactive h3 {
  font-size: 3rem;
  cursor: pointer;
}

.leistung.dynamic.inactive h3:after {
  width: 0;
}

.leistung.dynamic .leistung-inhalt {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#leistung h4 {
  font-size: 3rem;
  margin-bottom: 0;
}

#leistung li {
  line-height: 1.7;
}

@media only screen and (min-width: 640px) {

  .projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

}

@media only screen and (min-width: 55em) {

  .section.section-nav {
    right: 40px;
  }

  .nav li {
    font-size: 1.8rem;
    margin: 0 0 0 10px;
  }

  .nav li a {
    padding: 12px 10px 10px;
  }

  .cols {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 35px;
  }

  .cols-100 {
    display: block;
  }

  .cols > div {
    min-width: 0;
  }

  .col {
    display: inline-block;
    margin: 0;
    vertical-align: top;
  }

  .cols-100 > .col {
    display: block;
  }

  .cols-50-50 > .col {
    width: 48.8%;
  }

  .cols-25-25-25-25 > .col {
    width: 24%;
  }

  .cols-20-20-20-20-20 > .col {
    width: 19%;
  }

  .cols-33-33-33 > .col,
  .cols-33-66 > .col:first-child,
  .cols-66-33 > .col:last-child {
    width: 31.2%;
  }

  .cols-33-66 > .col:last-child,
  .cols-66-33 > .col:first-child {
    width: 66%;
  }

  .cols .col-full {
    width: 100%;
  }

  .cols.customstyle-highlight {
    align-items: flex-start;
    justify-content: center;
    margin: 0;
  }

  .customstyle-highlight.cols-50-50 .col-pic,
  .customstyle-highlight.cols-50-50 .col-pic + .col-txt {
    margin: 0;
    max-width: 38%;
  }

  .cols-50-50 .col-txt + .col-txt {
    max-width: 45%;
  }

  .customstyle-highlight.cols-50-50 .col-pic {
    margin: 0 80px 0 0;
  }

  .customstyle-highlight.cols-50-50 .col-pic img {
    margin: 0 0 0 200px;
    width: auto;
  }

  .customstyle-highlight.cols-50-50 .col-pic + .col-txt {
    margin-top: 200px;
  }

  .customstyle-highlight.cols-25-25-25-25 {
    margin: -130px 0 200px;
  }

  .customstyle-highlight.cols-25-25-25-25 .col-pic {
    bottom: -130px;
    margin: 0 20px;
    max-width: 19%;
    position: relative;
  }

  .customstyle-highlight.cols-25-25-25-25 .col-pic:nth-child(2n) {
    bottom: -150px;
  }

  .project {
    margin: 0 0 2em;
    padding: 0;
    position: relative;
    width: 48%;
  }

  .project img {
    height: 320px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
  }

  .project-info {
    font-size: 3rem;
  }

  .project:hover .project-info {
    opacity: 1;
  }

}

@media only screen and (min-width: 90em) {

  h2 {
    font-size: 6rem;
  }

  h3 {
    font-size: 3rem;
  }

  .project {
    max-width: 480px;
    width: 31%;
  }

  #kontakt h2 {
    font-size: 20rem;
  }

}

@media only screen and (min-width: 120em) {

  #kontakt h2 {
    font-size: 24rem;
  }

}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
}

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}