.lusitana-regular {
  font-family: "Lusitana", serif;
  font-weight: 400;
  font-style: normal;
}

.lusitana-bold {
  font-family: "Lusitana", serif;
  font-weight: 700;
  font-style: normal;
}

.inter-regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

::selection {
  background: lightgreen; /* Hintergrundfarbe des ausgewählten Textes */
  color: red; /* Textfarbe des ausgewählten Textes */
}

body {
  font-family: "Lusitana", serif;
  line-height: 1.2em;
  letter-spacing: 0.3em;
  font-weight: 400;

  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: white;
}

/* :root {
  --color-gray: #464646;
} */

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  display: none;
}

html {
  /* scroll-behavior: smooth; */
  scrollbar-width: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

p:not(:last-of-type) {
  padding-bottom: 1em;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

button {
  cursor: pointer;
  border: none;
  color: inherit;
  font: inherit;
  background: none;
  appearance: none;
  transition: color 0.2s;
}

main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.contauiner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

nav {
  position: fixed;
  z-index: 100;
  font-size: 25px;
  letter-spacing: 0.3em;
  top: 40px;
  right: 20px;
  color: white;
  mix-blend-mode: difference !important;

  ul {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }
}

/* Button zunächst ausblenden */
.menu-button {
  display: none;
  color: white;
  mix-blend-mode: difference !important;
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 200;
  background: none;
  font-size: 30px;
}

.container {
  position: absolute;
  top: 0;
  width: 100%;
}

.head-container {
  width: 100vw;
  height: 100svh;
  transition: height 0.8s ease;
}

.video-container,
.image-container {
  position: relative;
  z-index: -1;
}

.iframe-container {
  position: relative;
  /* width: 100vw;
  height: 80svh; */
  z-index: 1;
  overflow: hidden;

  & iframe {
    margin-left: -8vw;
    width: calc(100% + 15vw);
    margin-top: -10svh;
    height: calc(100% + 14svh);
    filter: grayscale(1);
  }
}

.background-video-home,
.background-video-services,
.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.desktop {
  display: block !important;
}

.desktop-contact {
  display: grid !important;
}

.mobile {
  display: none !important;
}

.location-container-mobile {
  display: none;
}

.flex-row {
  display: flex;
  flex-direction: row;

  & .padding-left {
    padding-left: 30px;
  }
}

.logo-wrapper {
  position: fixed !important;
  top: 30px;
  left: 20px;
  transform: none;
  width: 268px;
  pointer-events: auto;
  height: auto;
  z-index: 1000;
  mix-blend-mode: difference !important;

  & .logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.logo-wrapper-Home {
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 610px;
  height: auto;
  z-index: 1000;
  transition: all 0.6s ease;
  pointer-events: none; /* damit es bei Interaktionen nicht stört */
  mix-blend-mode: difference !important;

  & .logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.logo-wrapper-Home.shrink {
  top: 30px;
  left: 20px;
  transform: none;
  width: 268px;
  pointer-events: auto;
}

.intro-container {
  margin-bottom: 100px;
  margin-inline: 20px;
}

.block {
  --container-margin: 20px;
  margin-inline: var(--container-margin);
  display: flex;
  flex-direction: column;

  & > *:not(:last-child) {
    margin-bottom: 150px;
  }

  & > .artist-figure {
    margin-bottom: 20px;

    &:has(.artist-caption) {
      margin-bottom: 10px;
    }
  }

  & .headline {
    margin-bottom: 70px;
  }
}

.gap {
  margin-bottom: 80px;
}

.pagetext-container {
  display: flex;
  flex-direction: column;
  & a {
    font-size: 20px;
    display: inline-block;
    letter-spacing: 0.3em;
    margin-inline: auto;
    text-align: center;
    padding: 5px 15px 5px 20px;
    border: black 1px solid;
    border-radius: 30px;
    margin-top: 15px;
  }
}

.lead {
  font-size: 50px;
  letter-spacing: 0.13em;
  line-height: 1.1em;
  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 10px;
}

.intro {
  display: flex;
  flex-direction: column;
  font-size: 23px;
  letter-spacing: 0.13em;
  line-height: 1.28em;
  max-width: 699px;
  margin-inline: auto;
  text-align: left;
}

.caption-Lusitana {
  font-size: 18px;
  line-height: 1.1em;
  letter-spacing: 0.3em;
}

.caption-Inter {
  font-size: 14px;
  letter-spacing: 0.13em;
}

.nowrap {
  text-wrap: nowrap;
}

.imageblock {
  display: grid;
  width: 100%;
  gap: 10px;
}

.imageblock-2column {
  display: flex;
  flex-direction: row;
  width: 80%;
  gap: 10px;
  margin-inline: auto;
}

.imageOne,
.imageTwo,
.imageThree {
  display: flex;
  width: 100%;
  flex-direction: column;
  & img {
    margin-inline: auto;
  }
}

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

.imageTwo img {
  width: 100%;
}
.imageTwo figcaption {
  text-align: center;
  margin-inline: auto;
  width: 80%;
  padding-top: 2px;

  & > *:not(:last-child) {
    padding-inline: 7.5px;
    text-wrap: nowrap;
  }
}

.imageThree img {
  width: 100%;
}

figure {
  display: flex;
  flex-direction: column;
  & img,
  picture {
    max-width: 100%;
    max-height: 90svh;
    margin-inline: auto;
  }
  & figcaption {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-top: 2px;

    & > *:not(:last-child) {
      padding-inline: 7.5px;
      /* text-wrap: nowrap; */
    }
  }
}

.location-container {
  width: 90%;
  max-width: fit-content;
  column-gap: 130px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-size: 20px;
  line-height: 1.3em;
  letter-spacing: 0.3em;
  padding-block: 200px 50px;
  text-align: left;
}

.location {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.contact-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-inline: 20px;
  font-size: 20px;
  line-height: 1.3em;
  letter-spacing: 0.3em;
  padding-bottom: 50px;
  text-align: center;

  & > * {
    width: 100%;
    margin-inline: auto;
  }
}

.contact,
.copyright,
.contact div {
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: center;
  column-gap: 40px;
}

.copyright .year {
  column-gap: 20px;
}

.contact a {
  color: inherit;
}

.desktop .contact-btn {
  display: flex;
  flex-direction: column;
}

a:hover .red,
button:hover .red {
  color: rgb(255, 0, 0, 1);
}

a:hover .blue,
button:hover .blue {
  color: rgb(0, 0, 255, 1);
}

a span,
button span {
  transition: color 0.3s ease-in-out;
}

.padding-left {
  padding-left: 0.7em;
}

.padding-bottom {
  padding-bottom: 1em;
}

.color-white {
  color: white !important;
}

.text-center {
  text-align: center !important;
}

.lowercase {
  text-transform: unset !important;
}

.bottom150 {
  margin-bottom: 150px !important;
}

.spacing03 {
  letter-spacing: 0.3em;
}

.headline {
  width: 100%;
  text-align: center;
  font-size: 50px;
  letter-spacing: 0.4em;
  line-height: 1.1em;
  /* text-transform: uppercase; */
}

/* .services-grid-wrapper {
  max-width: 2060px;
  margin: 0 auto;
} */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, min(100%, 410px)));
  gap: 80px 50px;
  justify-content: center;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, min(100%, 610px)));
  gap: 80px 50px;
  justify-content: center;
}

.services-element {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.services-title {
  font-size: 23px;
  letter-spacing: 0.4em;
  line-height: 1.28em;
  height: 57px;
}

.services-title.fit-content {
  height: fit-content !important;
}

.services-text {
  font-size: 23px;
  letter-spacing: 0.13em;
  line-height: 1.28em;
}

.legal-title {
  font-size: 23px;
  line-height: 128%;
  letter-spacing: 0.4em;
  text-align: left;
}

.legal-text {
  font-size: 23px;
  line-height: 128%;
  letter-spacing: 0.1em;
  text-align: left;

  & a {
    letter-spacing: 0.3em;
    color: inherit;
    transition: color 0.3s;
  }
  & a:hover span[data-group="0"] {
    color: red;
  }

  & a:hover span[data-group="1"] {
    color: blue;
  }
}

.legal,
.information {
  width: 100%;
  max-width: 740px;
  margin-inline: auto;
}

.legal {
  margin-bottom: 100px !important; /* Standard: kein Abstand */
}

.legal + .legal {
  margin-top: -60px !important; /* Abstand zwischen direkt aufeinanderfolgenden .legal-Divs */
}

.slide-container {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  position: relative;
}

.scroller {
  display: flex;
  width: max-content;
  height: 100%;
}

.scroller.animate {
  animation: slider 20s linear infinite;
}

@keyframes slider {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.slide {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & p {
    font-size: 50px;
    letter-spacing: 0.13em;
    line-height: 1.1em;
    position: absolute;
    white-space: nowrap;
  }
}

.times {
  padding-top: 1em;
}

.color-pattern span {
  color: inherit;
  transition: color 0.3s;
}

.color-pattern:hover span[data-group="0"] {
  color: red;
}

.color-pattern:hover span[data-group="1"] {
  color: blue;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

/* nav a:hover::after {
  transform: scaleX(0.96);
  } */

nav a.active-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.96);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 150px;
}

@media (max-width: 1000px) {
  nav {
    display: none;
  }

  .nav a {
    position: relative;
    text-decoration: none;
  }

  .nav a.active-nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0.98);
    transform-origin: left;
  }

  .lead {
    font-size: 28px;
    letter-spacing: 0.13em;
    line-height: 1.1em;
    max-width: 1200px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 15px;
  }

  .menu-button {
    display: block;
  }

  /* Overlay verstecken */
  .mobile-overlay {
    position: fixed;
    display: flex;
    z-index: 50;
    top: 0;
    left: 0;
    margin: 70px 20px 20px 20px;
    width: calc(100% - 40px);
    height: calc(100% - 90px);
    background-color: rgba(255, 255, 255, 0.95);
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;

    & ul {
      display: flex;
      flex-direction: column;
      gap: 30px;
      font-size: 28px;
      list-style: none;
      margin-top: 100px;
      text-align: center;
    }
  }

  .mobile-overlay.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .social-mobile {
    display: flex;
    width: 100%;
    padding-inline: 2px;
    justify-content: space-between;
    position: absolute;
    bottom: 2px;
    font-size: 20px;
    line-height: 1.13em;
    letter-spacing: 0.3em;
  }

  .mobile {
    display: block !important;
  }

  .desktop {
    display: none !important;
  }

  .desktop-contact {
    display: none !important;
  }

  .intro {
    font-size: 20px;
    letter-spacing: 0.13em;
    line-height: 1.28em;
    max-width: 699px;
    margin-inline: auto;
    text-align: left;
  }

  .services-title {
    font-size: 20px;
    letter-spacing: 0.4em;
    line-height: 1.28em;
    height: 57px;
  }

  .services-text {
    font-size: 20px;
    letter-spacing: 0.13em;
    line-height: 1.28em;
  }

  .legal-title {
    font-size: 20px;
    line-height: 128%;
    letter-spacing: 0.4em;
    text-align: left;
  }

  .logo-wrapper {
    position: fixed !important;
    top: 70px;
    left: 20px;
    width: 193px;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    height: auto;
    z-index: 1000;
    transition: all 0.6s ease;
    mix-blend-mode: difference !important;

    & .logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .logo-wrapper-Home {
    position: fixed !important;
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 500px;
    height: auto;
    z-index: 1000;
    transition: all 0.6s ease;
    pointer-events: none; /* damit es bei Interaktionen nicht stört */
    mix-blend-mode: difference !important;

    & .logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .logo-wrapper-Home.shrink {
    top: 70px;
    left: 20px;
    transform: none;
    width: 193px;
    pointer-events: auto;
  }

  figure {
    display: flex;
    flex-direction: column;
    margin-inline: calc(-1 * var(--container-margin, 20px));
    & img,
    picture {
      max-width: 100vw;
      width: 100vw;
      max-height: 100%;
    }
    & figcaption {
      text-align: center;
      width: 100%;
      max-width: 100%;
      margin-inline: auto;
      padding-top: 2px;

      & > *:not(:last-child) {
        padding-inline: 7.5px;
        /* text-wrap: nowrap; */
      }
    }
  }

  .imageOne,
  .imageTwo,
  .imageThree {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-inline: calc(-1 * var(--container-margin, 20px));

    & img {
      margin-inline: unset;
      width: calc(100% + 40px);
    }
  }

  .imageTwo figcaption {
    text-align: center;
    margin-inline: 0;
    width: calc(100% + 40px);
    padding-top: 2px;

    & > *:not(:last-child) {
      padding-inline: 7.5px;
      text-wrap: nowrap;
    }
  }

  .block {
    --container-margin: 20px;
    margin-inline: var(--container-margin);
    display: flex;
    flex-direction: column;

    & > *:not(:last-child) {
      margin-bottom: 100px;
    }

    & > .artist-figure {
      margin-bottom: 20px;

      &:has(.artist-caption) {
        margin-bottom: 10px;
      }
    }

    & .headline {
      margin-bottom: 70px;
    }
  }

  .imageblock {
    display: grid;
    width: 100%;
    gap: 20px;
  }

  .imageblock-2column {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 20px;
    margin-inline: unset;
  }

  .contact,
  .copyright {
    display: flex;
    flex-direction: column;

    /* & span {
      gap: 0;
    } */
  }

  .contact div {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    column-gap: 20px;
  }

  .contact-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: 20px;
    font-size: 18px;
    line-height: 1.3em;
    letter-spacing: 0.3em;
    padding-bottom: 50px;
    text-align: center;
    margin-top: 150px;

    & > * {
      width: 100%;
      margin-inline: auto;
    }
  }

  .mobile .contact-btn {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: -15px;

    a {
      padding: 5px 15px 5px 20px;
      border: black 1px solid;
      border-radius: 30px;
      line-height: 1.2em !important;

      display: inline-block;
    }
  }

  .location-container-mobile {
    width: 100%;
    column-gap: 50px;
    padding-inline: 2px;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    line-height: 1.13em;
    letter-spacing: 0.3em;
    text-align: left;
    margin-top: 60px;
    margin-inline: 0 !important;
  }

  .location-mobile {
    display: flex;
    width: 370px;
    padding: 0px !important;
    flex-direction: column;
    margin-bottom: 20px;

    & .country,
    .company {
      letter-spacing: 0.13em;
    }
  }

  .iframe-container {
    position: relative;
    width: 100vw;
    height: 80svh;
    z-index: 1;
    overflow: hidden;

    & iframe {
      border: 0;
      left: 0;
      margin-left: -15vw;
      width: calc(100% + 30vw);
      margin-top: -10svh;
      height: calc(100% + 15svh);
      filter: grayscale(1);
    }
  }

  .headline {
    width: 100%;
    text-align: center;
    font-size: 28px;
    letter-spacing: 0.4em;
    line-height: 1.1em;
    /* text-transform: uppercase; */
  }

  .services-title.fit-content-mobile {
    height: fit-content !important;
  }

  .times {
    padding-top: 1em;

    li {
      display: flex;
      flex-direction: column;
    }
  }
  .legal-text {
    font-size: 20px;
    line-height: 128%;
    letter-spacing: 0.1em;
  }

  .legal-text a[href^="mailto:"] {
    position: relative;
    color: inherit;
  }

  .legal-text a[href^="mailto:"]::before {
    content: "Mail";
    position: absolute;
    left: 50%;
    transform: translate(-50%);
  }

  .legal-text a[href^="mailto:"] > * {
    display: none;
  }
}
