@font-face {
  font-family: "Neue Montreal Medium";
  src: url("../fonts/PPNeueMontreal-Medium.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/MartianMono-Regular.woff2") format("woff");
  font-weight: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Neue Montreal Medium', sans-serif;
  font-size: 16px;
  font-weight: 530;
  margin: 0;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow: hidden;
  /*-webkit-font-smoothing: antialiased;*/
  /*-moz-osx-font-smoothing: grayscale;*/
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
  transition: outline 0.2s ease;
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: -40px;
  background-color: #ff8052;
  z-index: 99999999;
}


@keyframes blink {
  0% {
    opacity: 0.1;
  }

  100% {
    opacity: 1.0;
  }
}

#status {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 56px;
  right: 40px;
  border-radius: 80px;
  background-color: #000000;
  animation: blink 0.5s infinite alternate;
  animation-timing-function: ease-in-out;
}


@keyframes logo-reveal {
  0% {
    translate: 0px 60px;
  }

  100% {
    translate: 0px 0px;
  }
}

.logo-intro {
  font-size: 3em;
  line-height: normal;
  padding-left: 24px;
  animation: logo-reveal 0.75s;
  animation-timing-function: cubic-bezier(1, 0, 0, 1);
}

.name {
  position: absolute;
  left: calc(100% * 0.382);
}

.name-intro {
  animation: logo-reveal 0.75s;
  animation-timing-function: cubic-bezier(1, 0, 0, 1);
  animation-delay: 100ms;
}

.claim {
  line-height: 1.2em;
  font-size: 0.9em;
}

 .kontaktlink {
    font-size: 0.9em;
  }

.section-switch {
  position: absolute;
  top: 28px;
  right: 24px;
  text-align: right;
  font-size: 0.9em;
  display: flex;
  grid-gap: 24px;
}


.field-btn {
  background: none;
  border-bottom: 0px solid transparent;
  transition: all 0.2s ease;
}

.field-btn::before {
    content: "";
    box-sizing: border-box;
    border: 1px solid #000;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 40px;
    transition: all 0.1s ease;
}

.field-btn:hover {
  /*border-color: #000;*/
}

.field-btn:hover::before {
    border: 5px solid #000;
}

.field-btn-active {
  /*border-color: #000;*/
  border-bottom: 0px solid transparent;
  transition: all 0.2s ease;
}

.field-btn-active::before {
    content: "";
    background: #000;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 40px;
}


.main {
  background: #ffffff;
  position: relative;
  transition: background-color 0.5s ease, filter 2s ease;
  z-index: 100;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}

.row {
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
}

.col-s {
  width: calc(100% * 0.382);
  padding-right: 8%;
  float: left;
}

.col-l {
  width: calc(100% * 0.618);
  float: left;
}

.col-f {
  width: 100%;
}

.info {
  width: calc((100vw - 80px) * 0.382) !important;
  background-size: cover !important;
  background-position: center !important;
}


.header_intro {
  padding-top: 24px;
  overflow: hidden;
}

.header {
  padding-left: 24px;
  padding-top: 24px;
  padding-right: 24px;
  overflow: hidden;
  position: sticky;
  top: 0px;
  z-index: 1;
  background: #ffffff;
}

.header_hide {
  z-index: 0;
}

#footer {
  padding: 160px 24px 24px 24px;
  margin-top: -80px;
  position: sticky;
  bottom: 0;
  overflow: auto;
  background: #fff;
  z-index: 0;
}

.social-link-1 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: left;
}

.social-link-2 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: center;
}

.social-link-3 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: right;
}

.footer-link-1 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: left;
}

.footer-link-2 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: center;
}

.footer-link-3 {
  width: 33.33%;
  display: block;
  float: left;
  text-align: right;
}

.rechts {
  width: 50%;
  display: block;
  float: left;
  text-align: right;
}

.links {
  width: 50%;
  display: block;
  float: left;
}



.flex-fix {
  display: flex;
  flex-flow: column nowrap;
}




h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-weight: 530;
  margin: 0;
  color: #000000;
}

p {
  line-height: 1.4em;
  font-size: 0.9em;
}

.copy-hero {
  font-size: 3em;
  line-height: 1.2;
  text-indent: calc(100% * 0.382);
  position: relative;
  top: -56px;
}

.rechtsbuendig {
  text-align: right;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.6em;
}

.nav-item {
  font-size: 1.6em;
}

a {
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0.2em 0;
  border-bottom: 1px solid transparent;
}

.textlink {
  padding: 0;
  margin-left: 0;
  text-decoration: underline;
  border: 0px;
}

.textlink-blank {
  padding: 0;
  margin-left: 0;
}

@media(hover: hover) and (pointer: fine) {
  a:hover {
    border-color: #000;
  }

  .textlink:hover {
    background: none;
    text-decoration: underline;
    opacity: 0.4;
  }

  .textlink-blank:hover {
    background: none;
    text-decoration: none;
  }

}

a:active {
  color: #000000;
}

.section-header {
  border-top: 1px solid #000000;
  padding-top: 40px;
}

.trenner {
  border-top: 1px solid #000000;
  padding-top: 120px;
}

.p-t-s {
  padding-top: 40px;
}

.p-t-m {
  padding-top: 80px;
}

.p-t-l {
  padding-top: 120px;
}

.p-t-xl {
  padding-top: 200px;
}

.p-b-s {
  padding-bottom: 40px;
}

.p-b-m {
  padding-bottom: 80px;
}

.p-b-l {
  padding-bottom: 120px;
}

.p-b-xl {
  padding-bottom: 200px;
}

.minor {}

.leistungen {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  padding-inline: 0;
  max-width: 400px;
}

.leistungen li {
  padding-bottom: 16px;
  font-size: 0.9em;
}


.beschreibung {
  width: 70%;
  float: left;
}

.kategorie {
  width: 70%;
  float: left;
}

.kategorie span {
  background: #ebebeb;
  display: inline;
  padding: 2px 6px 2px 6px;
  border-radius: 4px;
}

.meta {
  width: 30%;
  float: left;
  text-align: right;
}

.meta-foto {
  width: 30%;
  float: left;
  text-align: right;
}

.jahr {
  background: #ebebeb;
  display: inline;
  padding: 2px 6px 2px 6px;
  border-radius: 4px;
}

.nummern {
  font-family: 'Martian Mono', sans-serif;
  font-size: 0.75em;
}

table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

table tr {
  border-bottom: 1px solid #000000;
}

table td {
  vertical-align: top;
  padding-top: 24px;
  padding-bottom: 24px;
}


.slick-slider {
  float: left;
}

.slick-list {
  background: #f8f8f8;
}

.slick-slide {
  margin-bottom: -4px;
  cursor: grab;
}

.slick-track {
  display: flex !important;
}

.slider {
  width: calc(100% + 40px);
}

.slick-slide img {
  height: 46vw;
  width: auto;
}

.slick-slide video {
  height: 46vw;
  width: auto;
}

.slick-prev, .slick-next {
    width: 20vw !important;
    height: 100% !important;
    z-index: 1;
}

.slick-prev, .slick-next :focus { 
    background: #ff8052;
}

.slick-prev:before {
    content: none !important;
}

.slick-next:before {
    content: none !important
    ;
}

.slick-prev {
cursor: w-resize !important;
}

.slick-next {
cursor: e-resize !important;
}

.slick-prev.slick-disabled,
.slick-next.slick-disabled {
  cursor: default !important;
}

.custom-arrows {
    display: flex ;
    justify-content: flex-end;
    float: right;
    gap: 8px;
    position: relative;
    top: -12px;
}

.custom-arrow {
    font-family: 'Neue Montreal Medium', sans-serif;
    width: 40px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    font-size: 1.6em;
    cursor: pointer;
    transition: opacity .4s ease;
    padding-top: 0;
    color: #000;
}

.custom-arrow:disabled {
  opacity: .2;
	cursor: default;
	pointer-events: none;
}

.custom-arrow:active { 
    padding-top: 4px;
}

.slick-dots {
  bottom: auto !important;
  margin: 24px 0 0 -12px !important;
  text-align: left !important;
  width: 70% !important;
}

.slick-dots li button:before {
  font-family: 'Neue Montreal Medium', sans-serif;
  font-size: 16px !important;
}


.slick-slide img,
.slick-slide video {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.slick-slide.loaded img,
.slick-slide.loaded video {
  opacity: 1;
}



/* Unterseite Fotografie */

.filter {}

.filter-btn {
  background: none;
  border: none;
  font-size: 0.9em;
  font-family: inherit;
  cursor: pointer;
  padding: 0.2em 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  margin-right: 24px;
}

.filter-btn::before {
    content: "";
    box-sizing: border-box;
    border: 1px solid #000;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 40px;
    transition: all 0.1s ease;
}

.filter-btn:hover {
  /*border-color: #000;*/
}

.filter-btn:hover::before {
    content: "";
    box-sizing: border-box;
    border: 5px solid #000;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 40px;
}

.filter-btn.active {
  /*border-color: #000;*/
}

.filter-btn.active::before {
    content: "";
    background: #000;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 40px;
}


body.lightbox-open {
  overflow: hidden !important;
  width: 100%;
}

.caption {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #555;
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  justify-content: start;
}

@media only screen and (min-width: 1440px)  {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1 / 1;
  position: relative;
  /*padding-left: 1.75em;*/
  overflow: hidden;
}

/* Pseudoelement für pulsierenden Ladeplatzhalter */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  animation: pulse 1.5s infinite ease-in-out;
  z-index: 0;
  pointer-events: none;
  /*margin: 0 0 2.5em 2.5em;*/
}

.gallery-item img {
  position: relative;
  z-index: 1;
  flex: 1;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.gallery-item img.loaded {
  opacity: 1;
}

/* Entferne das Pulsieren, wenn das Bild geladen ist */
.gallery-item img.loaded~ ::before {
  animation: none;
  background: none;
}

.gallery-item.loaded::before {
  animation: none;
  background: none;
}

@keyframes pulse {
  0% {
    background: #fff;
  }

  50% {
    background-color: #f8f8f8;
  }

  100% {
    background-color: #fff;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  width: 100%;
  max-width: 100%;
  padding: 40px 0 0 0;
  box-sizing: border-box;
}

.lightbox-image-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 80px;
  width: calc(100vw - 112px);
}

.lightbox-img-number {
  flex-shrink: 0;
  width: 2.5em;
  text-align: right;
  color: #444;
  user-select: none;
  pointer-events: none;
  font-family: 'Martian Mono', monospace;
  font-size: 0.75em;
}

.lightbox-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
}

.img-number {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #444;
  user-select: none;
  pointer-events: none;
  width: auto;
  text-align: left;
  font-family: 'Martian Mono', monospace;
  font-size: 0.6em;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 8px;
  font-size: 1.4em;
  color: #000;
  cursor: pointer;
  z-index: 1000;
  padding: 0.5rem 1rem;
}

.row.case {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.row.case.fade-in {
  animation: fadeInCase 0.6s ease forwards;
}

@keyframes fadeInCase {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row.case.fade-out {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

.row.case.hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.0s ease;
}

/* Unterseite Fotografie ENDE */


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

  p {
    font-size: 0.85em;
  }

  .nummern {
    font-size: 0.7em;
  }

  .copy-hero {
    font-size: 1.4em;
    text-indent: 0;
    top: 0px;
  }

  h1 {
    font-size: 2.0em;
  }

  h2 {
    font-size: 1.4em;
  }

  .nav-item {
    font-size: 1.4em;
  }

  #status {
    left: 16px;
    bottom: 56px;
    top: initial;
  }

  .main {
    border-radius: 0 0 40px 40px;
  }

  .logo-intro {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 2.0em;
    padding: 0 16px;
  }

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

  .name {
    left: unset;
    right: unset;
    position: relative;
  }

  .claim {
    position: initial;
    text-align: left;
    font-size: 0.85em;
  }

  .section-switch {
    top: 198px;
    font-size: 0.85em;
  }

  .kontaktlink {
    font-size: 0.85em;
  }

  .sticky-kontakt {
    height: 38px;
    right: 50%;
    top: auto;
    bottom: -40px;
    transform: translate(50%, 0px);
  }

  .sticky-kontakt-show {
    top: auto;
    bottom: 24px;
  }

  .sticky-kontakt span:before {
    margin: 8px 28px 0 0;
  }

  .filter-btn {
    font-size: 0.85em;
  }

  .profilbild {
    max-width: 120px;
  }

  .col-s {
    width: 100%;
    padding-right: 0;
    padding-bottom: 16px;
    float: left;
  }

  .col-l {
    width: 100%;
    float: left;
  }

  .section-header {
    padding-top: 20px;
  }

  .p-b-xl {
    padding-bottom: 120px;
  }

  .p-b-l {
    padding-bottom: 80px;
  }

  .p-b-m {
    padding-bottom: 64px;
  }

  .header {
    padding-left: 16px;
    padding-top: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .header_intro {
    padding-top: 16px;
    overflow: hidden;
  }

  .profilbild-fix {
    display: block;
  }

  .leistungen {
    max-width: 100%;
  }

  .leistungen li {
    padding: 6px 12px 6px 6px;
    font-size: 0.85em;
  }

  #footer {
    padding: 120px 16px 16px 16px;
    margin-top: -40px;
  }

  .social-link-1 {
    width: 100%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 16px;
  }

  .social-link-2 {
    width: 100%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 16px;
  }

  .social-link-3 {
    width: 100%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 16px;
  }

  .footer-link-1 {
    width: 100%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 16px;
  }

  .footer-link-2 {
    width: 80%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 16px;
  }

  .footer-link-3 {
    width: 20%;
    display: block;
    float: left;
    text-align: right;
    margin-bottom: 16px;
  }

  .row {
    padding-left: 16px;
    padding-right: 16px;
  }

  /*.case-gal {
    width: calc(100% + 16px);
  }
  .case-item img {
    height: 50vw;
    width: calc(50vw * 1.777);
  }
  .case-item video {
    height: 50vw;
    width: calc(50vw * 1.777);
  }*/
  .beschreibung {
    width: 100%;
    float: left;
    margin-bottom: 24px;
  }

   .kategorie {
    width: 50%;
    float: left;
  }

  .meta {
    width: auto;
  }

  .meta-foto {
    width: 50%;
  }

  .jahr {
    padding: 2px 4px 2px 4px;
  }

  .slider {
    width: calc(100% + 16px);
  }

  .slick-slide img {
    height: 50vw;
    width: auto;
  }

  .slick-slide video {
    height: 50vw;
    width: auto;
  }

  .lightbox-image-wrapper {
    width: calc(100vw - 64px);
  }

  .lightbox-close {
    top: 0px;
    right: 0px;
    padding: 1em 1rem;
    background: #fff;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .lightbox-inner {
    padding: 72px 0 0 0;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
}
