/* Roboto */

@font-face {
  font-family: "Roboto light";
  src:
    url("Roboto/roboto-light.woff") format("woff"),
    url("Roboto/roboto-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto bold";
  src:
    url("Roboto/roboto-bold.woff") format("woff"),
    url("Roboto/roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* Typo */

* {
  font-family: "Roboto light", Arial, sans-serif;
}

h1 {
  font-family: "Roboto light", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 1.8rem);
  text-align: center;
  line-height: 1.3;
  padding: 0 0 4rem 0;
}

h2 {
  font-family: "Roboto light", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 1.5vw, 2rem);
  text-align: center;
  line-height: normal;
}

h3 {
  font-family: "Roboto bold", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  line-height: normal;
}

h4 {
  font-family: "Roboto bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 13.5vw, 14rem);
  text-transform: uppercase;
  text-align: center;
}

h5 {
  font-family: "Roboto bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 10rem);
  text-transform: uppercase;
  text-align: left;
  margin: 1rem 0 0.5rem 0;
}

h6 {
  font-family: "Roboto bold", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.5px;
  margin: 1rem 0 0.5rem 0;
}

p {
  font-size: 1rem;
}

li {
  font-size: 1rem;
}

/* Default */

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

button {
  cursor: pointer;
  border: none;
}

button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

body {
  font-family: "Roboto light", Arial, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin: 0;
}

select:focus {
  outline: none !important;
}

select {
  padding: 0.5rem;
  border: none;
}

@media (max-width: 1048px) {
  /* Für moderne Browser (Firefox hat eine eigene Eigenschaft) */
  html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer und Edge */
  }
  /* Für Chrome, Safari und Opera */
  html::-webkit-scrollbar {
    display: none;
  }
}

/* Main */

#main {
  display: block;
  text-align: center;
  width: 100%;
  position: relative;
}

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navigation */

.nav {
  position: fixed;
  top: 0;
  transition: background-color 0s;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0);
  padding: 2rem;
  z-index: 6;
}

.nav-scroll {
  background-color: #fff;
}

.logo {
  width: 50%;
  display: flex;
  justify-content: flex-start;
}

.logo a {
  display: block;
  flex-direction: column;
  justify-content: left;
  text-align: left;
  font-size: 1.2rem;
  color: #7c7c7c;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.click-button-open,
.click-button-close {
  display: none;
  overflow: hidden;
  width: 20%;
}

.click-button-open i,
.click-button-close i {
  font-size: 2rem;
  color: #7c7c7c;
}

.main-menu {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

/* Let translated navigation labels wrap rather than clipping links. */
@media (min-width: 1049px) {
  .main-menu {
    /*
    width: auto;
    max-width: 65%;
    */
    flex-wrap: wrap;
  }
}

.main-menu li {
  margin: 0 5px;
  list-style: none;
}

.main-menu li a {
  display: block;
  font-size: 1.2rem;
  color: #7c7c7c;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: rgba(0, 0, 0, 1);
}

.underline,
li a:hover {
  text-decoration: underline;
}

.display-none-l {
  display: none;
}

@media (min-width: 1049px) {
  .black {
    color: #000;
  }
}

@media (max-width: 1048px) {
  .black {
    color: #000;
  }

  .nav-height .logo a,
  .nav-height .main-menu a,
  .nav-height button i {
    color: #fff !important;
  }

  .nav {
    align-items: start;
    flex-wrap: wrap;
    padding: 1.4rem;
  }

  .nav button {
    width: auto;
    background: transparent;
  }

  .nav-height {
    position: relative;
    height: -moz-fit-content;
    height: fit-content;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 1);
    overflow: hidden;
  }

  .main-menu {
    display: none;
    width: 100%;
  }

  .main-menu li a {
    font-size: clamp(4rem, 10vw, 8rem);
    text-align: left;
    width: 100%;
    color: #fff;
  }

  .main-menu li:nth-child(6) a,
  .main-menu li:nth-child(7) a {
    margin-right: 10px;
  }

  .main-menu li:nth-child(6),
  .main-menu li:nth-child(7),
  .main-menu li:nth-child(8) {
    float: left;
  }

  .click-button-open {
    cursor: pointer;
    display: block;
    font-size: 16px;
    text-align: center;
  }

  .click-button-close {
    cursor: pointer;
    display: none;
    font-size: 16px;
    text-align: center;
  }

  .display-none {
    display: none;
  }

  .display-none-l {
    display: unset;
  }

  .display-block {
    display: block;
  }

  .display-block:focus {
    background: none;
  }

  .logo {
    width: 80%;
    align-items: flex-start;
    justify-content: left;
  }

  .white {
    color: #fff;
  }

  .logo a {
    display: flex;
  }

  .logo a span {
    display: none;
  }

  .logo a {
    font-size: clamp(0.5rem, 3vw, 1.2rem);
  }
}

/* Video */

video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

source {
  width: 100%;
  height: auto;
}

/* Section */

.section-container {
  width: 100%;
}

section .section-container h1 {
  margin: 0 10%;
}

section .section-container img {
  width: clamp(150px, 30vw, 250px);
  border-radius: 50%;
  margin: 30px;
  filter: brightness(95%);
}

/* Section #about */

#about {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  padding-top: 108px;
}

/* Section #work */

#work {
  padding-top: 108px;
}

/* Grundaufbau der Sektion */
.work-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 Spalten standardmaessig */
  gap: 0px; /* Abstand zwischen den Containern */
  width: 100%;
  margin: 0 auto;
}

/* Quadratische Container erzwingen */
.work-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Garantiert die quadratische Form */
  overflow: hidden;
}

.work-item:hover {
  cursor: pointer;
}

.work-item img {
  transition: transform 0.4s ease-in-out;
}

.work-item:hover img {
  transform: scale(1.1);
}

/* Styling fuer Medien (Bilder & Videos fuellen den Container komplett) */
.work-item img,
.work-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Verhindert Verzerrungen */
  display: block;
}

#box-16 {
  display: none;
}

/* Standard-Reihenfolge explizit zuweisen (wichtig für die spätere Änderung) */
.work-item {
  order: var(--default-order);
}
#box-01 {
  --default-order: 1;
}
#box-02 {
  --default-order: 2;
}
#box-03 {
  --default-order: 3;
}
#box-04 {
  --default-order: 4;
}
#box-05 {
  --default-order: 5;
}
#box-06 {
  --default-order: 6;
}
#box-07 {
  --default-order: 7;
}
#box-08 {
  --default-order: 8;
}
#box-09 {
  --default-order: 9;
}
#box-10 {
  --default-order: 10;
}
#box-11 {
  --default-order: 11;
}
#box-12 {
  --default-order: 12;
}
#box-13 {
  --default-order: 13;
}
#box-14 {
  --default-order: 14;
}
#box-15 {
  --default-order: 15;
}
#box-16 {
  --default-order: 16;
}

@media (max-width: 1048px) {
  .work-section {
    grid-template-columns: repeat(3, 1fr); /* Wechsel auf 3 Spalten */
  }
  #box-02 {
    order: 1;
  }
  #box-01 {
    order: 2;
  }
  #box-04 {
    order: 3;
  }
  #box-03 {
    order: 4;
  }
  #box-12 {
    order: 7;
  }
  #box-07 {
    order: 8;
  }
  #box-14 {
    order: 9;
  }
  #box-08 {
    order: 10;
  }
  #box-09 {
    order: 11;
  }
  #box-10 {
    order: 12;
  }
  #box-11 {
    order: 13;
  }
  #box-13 {
    order: 14;
  }
}

@media (max-width: 430px) {
  .work-section {
    grid-template-columns: repeat(2, 1fr);
  }
  #box-04 {
    order: 4;
  }
  #box-05 {
    order: 5;
  }
  #box-14 {
    order: 10;
  }
  #box-07 {
    order: 9;
  }
  #box-16 {
    display: block;
  }
}

.work-copy {
  position: absolute;
  top: 0px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  opacity: 0;
  transition: all 0.5s;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.work-copy:hover {
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Section #sec-60 */

#sec-60 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  padding: 108px 0;
}

/* Section #service */

.line {
  height: 10px;
  background: red;
  width: 100%;
  margin: 3rem 0;
}

#service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  padding-top: 108px;
}

.service-container {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  width: 90%;
  height: auto;
  flex-wrap: wrap;
}

.service-container h1 {
  text-align: left;
}

.service-container-col {
  text-align: left;
  width: 30%;
  font-size: 1.2rem;
  color: #000;
  padding: 0 0 4rem 0;
}

.service-container:nth-child(4) .service-container-col {
  padding: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  background: red;
  height: 200px;
}

.fa-solid.fa-bullseye {
  font-size: 8rem;
}

.service-container-col img {
  display: block;
}

.service-container-col-l {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  width: 65%;
  color: #000;
  padding: unset;
}

.service-container-col-l p,
.service-container-col-l p ul li {
  font-size: 1.2rem !important;
  color: #000;
}

@media (max-width: 1048px) {
  .service-container-col,
  .service-container-col-l {
    width: 45%;
  }
}

@media (max-width: 848px) {
  .service-container:nth-child(4) .service-container-col {
    margin-bottom: 1rem;
  }

  .service-container-col,
  .service-container-col-l {
    width: 100%;
  }

  .service-container {
    display: unset;
  }
}

.opacity {
  opacity: 0.5;
}

.unicode::before {
  content: "▶"; /* Das ausgefüllte Dreieck nach rechts */
  display: inline-block;
  margin: 0 0.2rem;
  font-size: 1rem; /* Macht es etwas kleiner, passend zum Details-Tag */
  vertical-align: middle;
  opacity: 0.5;
}

details p {
  margin: 1rem 0 0 0;
}

summary {
  cursor: pointer;
}

/* Für moderne Browser (Firefox, Chrome, Edge, Safari) */
summary {
  list-style: none;
}

/* Für ältere Versionen von Chrome, Edge und Safari */
summary::-webkit-details-marker {
  display: none;
}

summary h1 {
  text-align: left;
  line-height: 1.2rem;
  padding: 0 0 2rem 0;
}

/* Section #contact */

#contact {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  padding-top: 108px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  width: 90%;
  height: auto;
  flex-wrap: wrap;
}

.contact-container img {
  display: block;
}

.contact-container-col {
  width: 30%;
}

.contact-container-col-l {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-container-col-l p {
  font-size: 1.2rem;
  text-align: left;
}

.contact-container-col-l h4 {
  font-size: 14rem;
  line-height: 10.5rem;
  margin: 1rem 0 -0.4rem -0.9rem;
  text-align: left;
}

.contact-container-footer {
  width: 100%;
}

.contact-container-footer div {
  margin: 1rem 0;
}

.contact-container-footer div i {
  color: #000;
  font-size: 2rem;
}

.contact-container-footer div:nth-child(1) {
  display: flex;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
}

@media (max-width: 1048px) {
  .contact-container-col,
  .contact-container-col-l {
    width: 45%;
  }
}

@media (max-width: 848px) {
  .contact-container {
    display: unset;
  }

  .contact-container-col,
  .contact-container-col-l {
    width: 100%;
  }

  .contact-container-col img {
    height: 300px;
    margin-bottom: 1rem;
  }

  .contact-container-col-l h4 {
    font-size: 14rem;
    line-height: 10.5rem;
    margin: 5rem 0 -0.4rem -0.9rem;
  }
}

/* Button-to-top */

.btt {
  height: 70px;
  width: 70px;
  border: solid 1px #fff;
  border-radius: 35px;
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 20px;
  right: 20px;
  visibility: hidden;
  opacity: 1;
  transition: all 0.5s;
  z-index: 6;
}

.btt i {
  font-size: 50px;
  color: #fff;
  opacity: 1;
}

/* Modals */

.modal-01,
.modal-02,
.modal-03,
.modal-04,
.modal-05,
.modal-06,
.modal-07,
.modal-08,
.modal-09,
.modal-10,
.modal-11,
.modal-12,
.modal-13,
.modal-14,
.modal-15,
.modal-16,
.modal-17,
.modal-18 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  z-index: 6;
  overscroll-behavior: contain; /* IMPORTANT! */
}

@media (max-width: 1048px) {
  .modal-01,
  .modal-02,
  .modal-03,
  .modal-04,
  .modal-05,
  .modal-06,
  .modal-07,
  .modal-08,
  .modal-09,
  .modal-10,
  .modal-11,
  .modal-12,
  .modal-13,
  .modal-14,
  .modal-15,
  .modal-16,
  .modal-17,
  .modal-18 {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer und Edge */
  }

  .modal-01::-webkit-scrollbar,
  .modal-02::-webkit-scrollbar,
  .modal-03::-webkit-scrollbar,
  .modal-04::-webkit-scrollbar,
  .modal-05::-webkit-scrollbar,
  .modal-06::-webkit-scrollbar,
  .modal-07::-webkit-scrollbar,
  .modal-08::-webkit-scrollbar,
  .modal-09::-webkit-scrollbar,
  .modal-10::-webkit-scrollbar,
  .modal-11::-webkit-scrollbar,
  .modal-12::-webkit-scrollbar,
  .modal-13::-webkit-scrollbar,
  .modal-14::-webkit-scrollbar,
  .modal-15::-webkit-scrollbar,
  .modal-16::-webkit-scrollbar,
  .modal-17::-webkit-scrollbar,
  .modal-18::-webkit-scrollbar {
    display: none;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer und Edge */
  }
}

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

.hidden {
  visibility: hidden;
  opacity: 0;
}

.modal-01 button,
.modal-02 button,
.modal-03 button,
.modal-04 button,
.modal-05 button,
.modal-06 button,
.modal-07 button,
.modal-08 button,
.modal-09 button,
.modal-10 button,
.modal-11 button,
.modal-12 button,
.modal-13 button,
.modal-14 button,
.modal-15 button,
.modal-16 button,
.modal-17 button,
.modal-18 button {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
}

/* Important! */

#modalContent01,
#modalContent02,
#modalContent03,
#modalContent04,
#modalContent05,
#modalContent06,
#modalContent07,
#modalContent08,
#modalContent09,
#modalContent10,
#modalContent11,
#modalContent12,
#modalContent13,
#modalContent14,
#modalContent15,
#modalContent16 {
  width: 100%;
  height: 100%;
}

/* Important! End */

.cbt-01,
.cbt-02,
.cbt-03,
.cbt-04,
.cbt-05,
.cbt-06,
.cbt-07,
.cbt-08,
.cbt-09,
.cbt-10,
.cbt-11,
.cbt-12,
.cbt-13,
.cbt-14,
.cbt-15,
.cbt-16,
.cbt-17,
.cbt-18 {
  background: unset;
  z-index: 8;
}

@media (max-width: 1048px) {
  .cbt-01,
  .cbt-02,
  .cbt-03,
  .cbt-04,
  .cbt-05,
  .cbt-06,
  .cbt-07,
  .cbt-08,
  .cbt-09,
  .cbt-10,
  .cbt-11,
  .cbt-12,
  .cbt-13,
  .cbt-14,
  .cbt-15,
  .cbt-16,
  .cbt-17,
  .cbt-18 {
    position: fixed;
    top: 0;
  }
}

div > button > .fa-xmark {
  font-size: 3rem;
  color: #4a4a4a;
  margin: 0.7rem;
}

.modal-carousel {
  width: 100%;
  height: 100vh;
}

/* Modal #privacy policy */

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.modal-overlay[data-open="true"] {
  display: flex;
}

.modal {
  width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.modal-body {
  overflow-y: auto;
  line-height: 1.5;
}

.block {
  border-radius: 8px;
}

.modal-body::-webkit-scrollbar {
  width: 0px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.privacy-content {
  padding: 20% 10%;
}

.privacy-content .copy-container h4 {
  margin: 2rem 0 1rem 0;
  text-align: left;
  line-height: normal;
}

.privacy-content .copy-container ul {
  margin: 0 0 1rem 0;
}

.privacy-content .copy-container p {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 1rem;
}

.privacy-content .copy-container p a {
  font-size: 1rem;
  text-align: left;
}

.privacy-content .copy-container ul li {
  font-size: 1rem;
  list-style: circle;
  margin-left: 2rem;
  text-align: left;
  line-height: 1.5;
  margin: 0;
}

.btt {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
:focus-visible {
  outline: unset;
  outline-offset: 5px;
}

.work-item:focus-visible {
  outline-offset: -5px;
}

/* All visible project cards can also reveal captions through keyboard focus. */
.work-item:focus-visible .work-copy {
  opacity: 1;
}

.privacy-content .privacy-cookie-settings {
  display: inline-block;
  width: auto;
  background: transparent;
  color: #000;
  text-decoration: underline;
  padding: 0.5rem 0;
  font: inherit;
}

/* CSS selects the hero poster before JavaScript and while playback is unavailable. */
#bg-video {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  background: #000 url("../img/poster.jpg?v=20261113-poster2") center / cover no-repeat;
}

.hero-video-play {
  position: absolute;
  top: calc(50vh - 24px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  font: inherit;
  cursor: pointer;
}

.hero-video-play[hidden] {
  display: none;
}

@media (max-width: 768px) {
  #bg-video {
    background-image: url("../img/poster-mobile.jpg?v=20261113-poster2");
  }
}
