body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #04030F;
  font-size: 25px;
  color: white;
  margin: 0;

}



.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0f0a21;
  width: 100%;
  height: 65px;
  padding: 0 15px;
  box-sizing: border-box;
  margin-bottom: 300px;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 900000;
  opacity: 0.95;
}

.socials {
  display: flex;
  gap: 20px;
  margin: 10px;
}

.socials img {
  height: 40px;
  width: auto;
  filter: invert(1);
  transition: filter 0.3s;
  align-self: center;
  object-fit: contain;
  border-radius: 0;
}

.socials>img:hover {

  filter: invert(0) sepia(1) saturate(10) hue-rotate(260deg) brightness(1.2);
}

.menue {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 30px;
  margin-right: 15px;
}

.nav>a {
  color: white;
  text-decoration: none;
  font-size: 25px;
  transition: color 0.3s;
  margin: 0 5px;

}

.nav>a:hover {
  color: #a46ed6;
}

h1,
h3 {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  margin: 0;
}

h1 {
  font-size: 120px;
}

h3 {
  font-size: 100px;
}

.head {
  padding-top: 120px;
  position: relative;
  height: 70vh;
}

.hover>iframe {
  pointer-events: none
}

.text-overlay {


  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: white;
  height: 175vh;

}



.intro-video {

  position: relative;
  width: 100%;
  height: 100%;
}

.intro-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  background-color: #0f0a21;
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  column-gap: 50px;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  position: sticky;
  margin-top: 65px;
  z-index: 9999;


}

.container>img {
  border-radius: 40px;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 40%;
  height: auto;

}


.uemi {

  box-sizing: border-box;
  flex-basis: 50%;
  max-width: 50%;

}

.uemi>h4 {
  font-size: 80px;
  text-align: center;
  justify-content: center;
  margin-bottom: 20px;
}

.uemi>p {
  z-index: 99999;
  flex: 1 1 100%;
  width: 100%;
  padding: 20px;
}

a {
  color: #d57bec;
  z-index: 99999;
}
a:hover {
  color: #a46ed6;
}

img {
  border-radius: 40px;
}



.overlay-video {
  display: none;
  /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
  opacity: 0;
  -ms-transition: opacity 600ms ease-in;
  transition: opacity 600ms ease-in;
  -ms-transition: opacity .6s;
  transition: opacity .6s;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, .7);
  z-index: 999999;
}

.o1 {
  /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";*/
  opacity: 1;
  -ms-transition: opacity 600ms ease-out;
  transition: opacity 600ms ease-out;
  -ms-transition: opacity .6s;
  transition: opacity .6s;
}

.videoWrapperExt {
  position: relative;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 982px;
  padding: 0 20px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close {
  position: absolute;
  top: -50px;
  right: 0px;
  cursor: pointer;
  z-index: 9999;
  height: 40px;
  width: 40px;
  background-size: 40px;

  @media (max-width: 767px) and (orientation: landscape) {
    .close {
      display: none;
    }
  }

}


.thumbnail-quer {
  position: relative;
  width: 700px;
  height: 394px;
  cursor: pointer;
  z-index: 999;
  transition: filter 0.3s ease-in-out;

}

.thumbnail-hoch {
  position: relative;
  width: 325px;
  height: 578px;
  cursor: pointer;
  z-index: 999;
  transition: filter 0.3s ease-in-out;

}

.carousel .thumbnail-hoch{
  width: auto;
  height: 300px;
  margin: 30px;
}

.carousel .thumbnail-quer{
  width: auto;
  height: 300px;
  margin: 30px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 30px 0;
  scrollbar-width: thin;
  scrollbar-color: #a46ed6 #0f0a21;
}

.carousel::-webkit-scrollbar {
  height: 8px;
  background: #0f0a21;
}
.carousel-btn{
  background: linear-gradient(90deg, #a46ed6, #d57bec);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 10px;
  box-shadow: 0px 0px 10px rgba(164, 110, 214, 0.2);
  align-self: flex-end;
  float: right;
}

.carousel-btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(213, 123, 236, 0.7);
  background: linear-gradient(90deg, #d57bec, #a46ed6);
}


.carousel {
  width: 100vw;
  max-width: 100vw;
  scrollbar-width: none; /* Firefox */
}
.carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel > * {
  scroll-snap-align: center;
  flex: 0 0 auto;
  transition: transform 0.3s;
}

.carousel > .thumbnail-hoch,
.carousel > .thumbnail-quer {
  cursor: pointer;
}

.carousel > .thumbnail-hoch:hover,
.carousel > .thumbnail-quer:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(164, 110, 214, 0.2);
}
.carousel .hover-text{
  font-size: 20px;
  padding: 5px;
}

.carousel-title{
  font-size: 50px;
  text-align: center;
  margin: 20px;
}

.js-overlay-start:hover .thumbnail-quer,
.js-overlay-start:hover .thumbnail-hoch {
  filter: blur(8px) brightness(50%);
}

.js-overlay-start {
  position: relative;
  display: inline-block;
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 40px;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 99992;
}

.js-overlay-start:hover .hover-text {
  opacity: 1;
}

.ueberschrift {
  margin: 65px;
}

.unter-container {
  display: flex;
  margin: 65px;
  column-gap: 100px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 100px;

}

.unter-container1 {
  display: flex;
  column-gap: 50px;
  flex-wrap: wrap;
  align-items: center;

}
.mehr-projekte {
  background: linear-gradient(90deg, #a46ed6, #d57bec);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 50px;
  display: block;
  flex-basis: 100%;
 

}
.mehr-projekte:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(213, 123, 236, 0.7);
}
.collapsible {
  background-color: #1C1938;
  color: #ffffff;
  cursor: pointer;
  width: 100%;
  padding: 10px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 50px;
  border-radius: 40px;
  text-align: center;
  margin-bottom: none;

}

.active,
.collapsible:hover {
  background-color: #a46ed6;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #1C1938;
  border-radius: 40px;
  margin-top: 0px;
  font-size: 25px;
}

.faq {
  background-color: #1C1938;
  color: #ffffff;
  cursor: pointer;
  margin: 20px;
  width: 100%;
  border: none;
  outline: none;
  font-size: 50px;
  border-radius: 40px;
  text-align: center;
  margin-bottom: none;
}

.footer {

  background-color: #0f0a21;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-top: 10px;
}

.footer>a {
  color: white;
  text-decoration: none;

}

.impressum {
  margin: 10px;
  font-size: 18px;
  font-weight: lighter;
}


li {
  padding: 10px;
  font-size: 25px;
}

.kontakt {
  font-size: 30px;
  flex: 1 1 100%;
  text-align: center;
}

form {
  background-color: #1C1938;
  padding: 80px;
  border-radius: 40px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
}


/* ============================
   Optimierte Mobilansicht
============================ */
@media (max-width: 1000px) {

  /* Header */
  .header {
    flex-direction: column;
    height: auto;
    padding: 10px 8px;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
    margin-right: 0;
    width: 100%;
  }

  .nav a {
    font-size: 30px;
    margin: 4px 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(164, 110, 214, 0.08);
    display: inline-block;
  }

  .socials {
    display: none;
  }

  /* Intro Video & Text */
  .head {
    padding-top: 100px;
    height: auto;
  }

  .intro-video {
    height: auto;
  }

  .intro-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .text-overlay {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    font-size: 1.2rem;
    height: auto;
  }

  h1 {
    font-size: 70px;
  }

  h3 {
    font-size: 50px;
  }

  /* Container & Inhalte */
  .container {
    padding: 20px;
    flex-direction: column;
    gap: 25px;
  }

  .container>img {
    width: 80%;
    height: auto;
  }



  .uemi {
    flex-basis: 100%;
    max-width: 100%;
    padding: 15px;
  }

  .uemi h4 {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .uemi p {
    font-size: 35px;
    padding: 15px;
  }

  /* Projekte Thumbnails */
  .thumbnail-quer {
    width: 100%;
    height: auto;
  }

  .unter-container1 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .thumbnail-hoch {
    width: auto;
    height: 700; /* gleiche Höhe wie .thumbnail-quer */
    display: inline-block;
    margin: 0;
    object-fit: cover;
  }

  .hover-text {
    font-size: 24px;
    padding: 5px;
  }

  /* Listen & Kontakt */
  li,
  p.kontakt {
    font-size: 35px;
    padding: 10px;
  }

  /* Collapsible / FAQ */
  .collapsible {
    font-size: 32px;
    padding: 8px;
    
  }

  .content {
    font-size: 30px;
    padding: 10px 15px;
   
  }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    text-align: center;
  }

  .footer a {
    margin-bottom: 5px;
  }

}

/* Für sehr kleine Smartphones */
@media (max-width: 600px) {
  h1 {
    font-size: 50px;
  }

  h3 {
    font-size: 36px;
  }

  .uemi h4 {
    font-size: 40px;
  }

  .uemi p {
    font-size: 16px;
  }

  .nav a {
    font-size: 20px;
  }

  li,
  p.kontakt {
    font-size: 16px;
  }

  .collapsible {
    font-size: 28px;
    padding: 6px;
  }

  .content {
    font-size: 16px;
    padding: 8px 10px;
  }
}



form {
  background-color: #1C1938;
  padding: 80px;
  border-radius: 40px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

form label {
  font-size: 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input,
form textarea {
  font-size: 20px;
  padding: 15px 20px;
  border-radius: 20px;
  border: none;
  outline: none;
  background-color: #0f0a21;
  color: white;
  transition: all 0.3s ease;
  resize: vertical;
  width: 500px;
}

form textarea {
  min-height: 150px;
}

form input:focus,
form textarea:focus {
  border: 2px solid #a46ed6;
  box-shadow: 0px 0px 10px #a46ed6;
}

form button {
  font-size: 22px;
  padding: 15px;
  background: linear-gradient(90deg, #a46ed6, #d57bec);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(213, 123, 236, 0.7);
}

/* Mobile Anpassung */
@media (max-width: 800px) {
  form {
    padding: 25px;
    border-radius: 25px;
  }

  form label {
    font-size: 28px;
  }

  form input,
  form textarea {
    font-size: 24px;
  }

  form button {
    font-size: 26px;
    padding: 20px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 100000000000000;
}

.cookie-banner a {
  color: #4da3ff;
  text-decoration: underline;
}

.cookie-banner button {
  margin-left: 15px;
  padding: 6px 12px;
  background: #d57bec;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: #dd9eed;
}