
html {
  height: 100%;
  width: 100%;
  margin: 0;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #121212;
}



body {
  display: flex;
  min-height: 100vh;
  margin: 0;
  font-family: 'Franklin Gothic Medium', 'Arial', 'Arial Narrow';
  color: #ececec;
  background: url('../static/Wallpaper.png') no-repeat center center fixed;
  background-size: 100% 100%;
  box-sizing: border-box;
  flex-direction: column;
  overflow-y: hidden;
  overflow-x: hidden;
}



@media (max-width: 768px) {
  html {
    background-color: #121212;
  }
  body {
    background-image: url('Wallpaper_mobile.png');
    background-size: 100% 100%;
    background-position: center;
    background-attachment: scroll;
  }
}



/* Container für den Hauptinhalt, umschließt main */
.main-wrapper {
  min-height: calc(100vh - 8vh - 4vh);
  box-sizing: border-box;
}



/* Container für den Seiteninhalt */
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

p {
  font-size: clamp(1.0rem, 1.15vw, 1.3rem);
  color: white;
  line-height: 1.5;
  font-weight: 400;
}

.software-link {
  text-decoration: none;
  color: #c0c1f3;
}
.software-link:hover {
  color: #6e70df;
}



/* Zoom Effekt */
@keyframes ZoomZoom1 {
  0% {
    filter: blur(0px);
    opacity: 0;
  }
  33% {
    filter: blur(8px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}
.zoom-in-main {
  animation: ZoomZoom1 2.5s ease-out forwards;
}



/* Zoom Effekt About (kleine Schriften) */
@keyframes ZoomZoom2 {
  0% {
    filter: blur(0px);
    opacity: 0;
  }
  33% {
    filter: blur(8px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}
.zoom-in-sub {
  animation: ZoomZoom2 3.0s ease-out forwards;
}



.topbar {
  position: static;
  margin: 2vh 0 2vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.0),
    rgba(164, 107, 175, 0.3),
    rgba(0, 0, 0, 0.0)
  );
  border-radius: 0.5rem;
  height: 8vh !important;
  overflow: hidden;
}

.topbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topbar li {
  height: 100%;
}

.topbar li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #e3e2e2;
  text-decoration: none;
  font-size: 1rem;
  padding: 0 6vh;
  line-height: 8vh;
}

.topbar li a:hover {
  background-color: rgba(104, 44, 178, 0.7);
  color: #ffffff;
  transition: background-color 1.0s ease;
}

.topbar li a:active {
  background-color: rgba(132, 15, 15, 0.7);
  transition: color 1.5s ease-in;
}

.topbar a.active {
  color: rgba(132, 15, 15);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 1.0s ease-in;
  pointer-events: none;
}
.menu {
  justify-content: center;
  align-items: center;
  list-style: none;
}

@media (max-width: 768px) {
  .topbar ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .topbar ul::-webkit-scrollbar {
    display: none;
  }
  .topbar li a {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
}



/*Design für Kontaktformular*/
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.3),
    rgba(28, 1, 33, 0.3),
    rgba(194, 191, 191, 0.2),
    rgba(159, 83, 174, 0.2),
    rgba(47, 16, 147, 0.1)
  );
  box-shadow: 0.3rem 0.5rem 1.2rem 0.3rem rgba(141, 133, 239, 0.25);
  border-radius: 0.5rem;
  width: 66%;
  margin: 5vh auto;
  padding: 0 2rem 1.25rem 2rem;
}

.contact-wrapper {
  width: 100%;
  min-height: 66vh;
}

.contact-form h2 {
  font-size: 2.0rem;
  color: #ffffff;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #e3e2e2;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.4rem;
  margin-bottom: 1.25rem;
  background-color: rgba(255, 255, 255, 0.85);
  border: 0.1rem solid transparent;
  border-radius: 0.1rem;
  box-sizing: border-box;
  font-family: 'Arial';
  transition: 1.0s ease-out;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.95);
  border: 0.1rem solid #dcd9d9;
  transition: 0.5s ease-out;
}
.contact-form textarea {
  min-height: 20vh;
  max-height: 22vh;
}
.contact-countertext {
  margin: -0.25rem 0 0.5rem 0;
  font-size: 0.75rem;
}
.contact-form button {
  background-color: rgba(126, 60, 206, 0.8);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.contact-form button:hover {
  background-color: rgba(186, 45, 45, 0.75);
}
.contact-form button:active {
  transform: translateY(0.1rem);
  box-shadow: inset 0 0.15rem 0.25rem rgba(0, 0, 0, 0.3);
}
.contact-form button.wait {
  background-color: rgba(118, 113, 113, 0.75);
  transition: background-color 0.3s ease;
}
.contact-form button.sent {
  background-color: rgba(76, 175, 80, 0.7);
  transition: background-color 0.3s ease;
}
.contact-form button.sent::after {
  font-weight: bold;
}
.contact-form button.error {
  background-color: rgba(186, 45, 45, 0.85);
  transition: background-color 0.3s ease;
}
.contact-form button:disabled {
  pointer-events: none;
}
.contact-names {
    display: flex;
    gap: 2rem;
}
.contact-names div {
    flex: 1;
}

@media (max-width: 768px) {
  .contact-form {
    width: 90%;
    padding: 1rem;
  }
}



/*Design für Portfolio*/
.portfolio-kacheln {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 6.25rem 6.25rem;
  margin-left: 6.25rem;
  margin-right: 6.25rem;
}
.card {
  width: 100%;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.3),
    rgba(28, 1, 33, 0.3),
    rgba(255, 255, 255, 0.2),
    rgba(164, 107, 175, 0.3),
    rgba(0, 0, 0, 0.3)
  );
  box-shadow: 0.25em 0.65em 1.25em 0.25em rgba(132, 124, 237, 0.3);
  border-radius: 0.25em;
  box-sizing: border-box;
  padding: 1.25em;
  text-align: center;
  transition: transform 0.8s ease;
}
.card:hover {
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.5),
    rgba(28, 1, 33, 0.3),
    rgba(255, 255, 255, 0.3),
    rgba(164, 107, 175, 0.3),
    rgba(0, 0, 0, 0.4)
  );
  box-shadow: 0.25em 0.75em 1.5em 0.5em rgba(107, 143, 221, 0.6);
  transform: scale(1.04);
}
.card:active {
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.5),
    rgba(28, 1, 33, 0.3),
    rgba(186, 45, 45, 0.4),
    rgba(0, 0, 0, 0.5)
  );
  box-shadow: 0.25em 0.75em 1.5em 0.5em rgba(186, 45, 45, 0.6);
}
.card img {
  width: 90%;
  height: auto;
  border-radius: 0.65em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 0.3em;
  padding-right: 0.3em;
}
.card h2 a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}
.card p {
  color: #ececec;
}
.card p:hover {
  color: #ffffff;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .portfolio-kacheln {
    grid-template-columns: 1fr;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    gap: 2rem;
  }
}



.trennstrich-EJApp {
  border-top: 0.1em solid rgba(227, 195, 67, 0.3);
  margin: auto;
  padding-top: 0.2em;
  border-radius: 50%;
  width: 55%;
}
.trennstrich-WApp {
  border-top: 0.1em solid rgba(53, 50, 241, 0.6);
  margin: auto;
  padding-top: 0.2em;
  border-radius: 50%;
  width: 55%;
}
.trennstrich-PGApp {
  border-top: 0.1em solid rgba(172, 118, 216, 0.4);
  margin: auto;
  padding-top: 0.2em;
  border-radius: 50%;
  width: 55%;
}
.trennstrich-SpieleApp {
  border-top: 0.1em solid rgba(186, 45, 45, 0.4);
  margin: auto;
  padding-top: 0.2em;
  border-radius: 50%;
  width: 55%;
}



.fade-in {
  filter: blur(4px);
  opacity: 0;
  will-change: filter, opacity;
  transition: filter 1.5s ease, opacity 1.5s ease;
}
.fade-in.visible {
  filter: blur(0);
  opacity: 1;
  transition: filter 1.5s ease, opacity 1.5s ease;
}
.fade-out {
  filter: blur(0);
  opacity: 1;
  will-change: filter, opacity;
  transition: filter 1.0s ease, opacity 1.0s ease;
}
.fade-out.start {
  filter: blur(4px);
  opacity: 0;
}
.preload-hidden {
  visibility: hidden;
}



/*Swiper Standard*/
.swiper {
  position: relative;
  max-width: 75%;
  max-height: 100vh;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}
.swiper-wrapper {
  display: flex;
  position: relative;
  z-index: 1;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 1.2em;
  flex-shrink: 0;
  overflow: visible;
}
.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination-bullet {
  background: #7e3cce !important;
  width: 2em !important;
  height: 1em !important;
  margin: 0 0.5em !important;
  border-radius: 50%;
  transition: all 1.0s ease;
}



/* Swiper für Startseite */
.swiper.HomeSwiper {
  display: flex;
  position: relative;
  width: auto;
  height: 72vh;
  overflow: hidden;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 5vh;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.3),
    rgba(28, 1, 33, 0.3),
    rgba(194, 191, 191, 0.2),
    rgba(159, 83, 174, 0.2),
    rgba(47, 16, 147, 0.1)
  );
  box-shadow: 0.3rem 0 1.2rem 0.3rem rgba(141, 133, 239, 0.2);
  border-radius: 0.5rem;
}
.swiper-wrapper.HomeWrapper {
  display: flex;
  position: relative;
  transition-property: transform;
  box-sizing: border-box;
  font-family: 'PathwayGothicOne';
}
.swiper-slide.HomeSlide {
  display: flex;
  flex-shrink: 0;
  font-size: clamp(1rem, 1.15vw, 1.4rem);
  width: 100%;
  height: 100%;
  position: relative;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  overflow-y: auto;
}



/* Swiper für About */
.swiper.AboutSwiper {
  display: flex;
  position: relative;
  width: auto;
  height: 72vh;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 5vh;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.3),
    rgba(28, 1, 33, 0.3),
    rgba(194, 191, 191, 0.2),
    rgba(159, 83, 174, 0.2),
    rgba(47, 16, 147, 0.1)
  );
  box-shadow: 0.3rem 0 1.2rem 0.3rem rgba(141, 133, 239, 0.2);
  border-radius: 0.5em;
  overflow-y: visible;
  overflow-x: hidden;
}
.swiper-wrapper.AboutWrapper {
  position: relative;
  transition-property: transform;
  box-sizing: border-box;
  font-family: 'PathwayGothicOne';
}
.swiper-slide.AboutSlide {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: clamp(1rem, 1.15vw, 1.4rem);
  max-width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: auto;
}



.nebeneinander {
  height: 100%;
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
}
.nebeneinander_about {
  display: flex;
  margin: 2.5rem 0 1.5rem 0;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
}



.home-text1 {
  color: rgba(236, 236, 236);
  padding-bottom: 3.0rem;
  font-size: clamp(4.0rem, 5.0vw, 6.0rem);
  text-shadow: 0 0 1rem rgba(97, 13, 170, 1.0);
}
.home-text2_big {
  font-size: clamp(1.75rem, 2.0vw, 2.5rem);
  text-shadow: 0 0 1rem rgba(97, 13, 170, 1.0);
}
.home-text2 {
  padding-bottom: 3.0rem;
  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  text-shadow: 0 0 1rem rgba(15, 2, 27);
  letter-spacing: 0.03rem;
  max-width: 50%;
}
@media (max-width: 768px) {
  .home-text2 {
    max-width: 80%;
  }
}



.about-text1 {
  text-align: center;
  color: rgba(236, 236, 236);
  margin-right: 2.5rem;
  margin-bottom: 5.0rem;
  font-size: clamp(3.5rem, 3.8vw, 4.5rem);
  text-shadow: 0 0 1rem rgba(97, 13, 170, 1.0);
}
.about-text2 {
  color: rgba(236, 236, 236);
  font-size: clamp(2.5rem, 2.8vw, 3.5rem);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  text-shadow: 0 0 1rem rgba(97, 13, 170, 1.0);
}
.about-text3 {
  text-shadow: 0 0 1rem rgba(15, 2, 27);
  letter-spacing: 0.03rem;
  max-width: 55%;
}
.about-text4 {
  color: rgba(236, 236, 236);
  font-size: clamp(2.0rem, 2.5vw, 3.0rem);
  padding-top: 2.5vh;
  text-shadow: 0 0 1rem rgba(97, 13, 170, 1.0);
}
.about-text5 {
  text-shadow: 0 0 1rem rgba(15, 2, 27);
  justify-content: center;
  letter-spacing: 0.03rem;
  max-width: 90%;
}



.portfolio-schrift {
  text-align: center;
  margin-top: 2.0rem;
  margin-bottom: 2.0rem;
  color: rgba(227, 226, 226);
  font-family: 'PathwayGothicOne';
  font-size: clamp(2.0rem, 2.9vw, 3.5rem);
  text-shadow: 0 0 0.2em rgba(186, 45, 45, 0.9);
}
.portfolio-sw-banner {
  font-family: 'PathwayGothicOne';
  color: #ececec;
  letter-spacing: 0.025rem;
  padding-bottom: 0.1em;
  text-shadow: 0 0 1rem rgba(15, 2, 27);
}
.portfolio-sw-subline {
  font-size: clamp(0.8rem, 0.9vw, 1.1rem);
  text-shadow: 0 0 1rem rgba(15, 2, 27);
}
.portfolio-end {
  margin-bottom: 5rem;
}



.impressum-body {
  background: linear-gradient(
    100deg,
    rgba(186, 45, 45, 0.1),
    rgba(108, 107, 175, 0.2)
    );
  box-shadow: 0.3rem 0.0rem 1.2rem 0.3rem rgba(141, 133, 239, 0.2);
  border-radius: 0.5rem;
  margin-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
  margin-bottom: 4rem;
  text-align: center;
  justify-content: center;
  width: 57.5%;
}
.impressum-header {
  text-align: center;
  padding-bottom: 0.25rem;
  color: rgba(236, 236, 236);
  font-family: 'PathwayGothicOne';
  font-size: 3rem;
  text-shadow:  0 0 0.25rem rgba(164, 41, 230, 0.3),
                0 0 0.25rem rgba(167, 90, 214, 0.3),
                0 0 0.25rem rgba(127, 32, 229, 0.2),
                0 0 0.2rem rgba(97, 13, 170, 0.6);
}
.impressum-sub1 {
  margin-top: 2.5vh;
  margin-bottom: 5vh;
  text-align: center;
  color: white;
  line-height: 1.5rem;
  font-family: 'PathwayGothicOne';
  letter-spacing: 0.03rem;
  text-shadow: 0 0 1rem rgba(15, 2, 27);
}
.impressum-sub2 {
  margin: 0.25vh 0 0.5vh;
  text-align: center;
  font-family: 'PathwayGothicOne';
  font-size: clamp(1.1rem, 1.1vw, 1.2rem);
  letter-spacing: 0.03rem;
  color: white;
  text-shadow:  0 0.25rem rgba(164, 41, 230, 0.3),
                0 0 0.25rem rgba(167, 90, 214, 0.3),
                0 0 0.25rem rgba(127, 32, 229, 0.2),
                0 0 0.25rem rgba(97, 13, 170, 0.6);
}
.impressum-sub3 {
  font-family: 'PathwayGothicOne';
  font-size: clamp(1.0rem, 1.0vw, 1.15rem);
  letter-spacing: 0.03rem;
  line-height: 1.6;
  margin: 0 auto;
  color: white;
  max-width: 80%;
  text-shadow: 0 0 1rem rgba(15, 2, 27);
}
@media (max-width: 768px) {
  .impressum-sub3 {
    max-width: 90%;
  }
}



.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.0s ease forwards;
}
.modal-content {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 0.5em;
  box-shadow: 0 0 4em 4em rgba(129, 18, 143, 0.3);
  margin-bottom: 2rem;
  animation: slideIn 1.0s ease forwards;
}
.modal.hide {
  animation: fadeOut 2.0s ease forwards;
}
.modal-content.hide {
  animation: slideOut 2.0s ease forwards;
}
.modal-open {
  overflow: hidden;
}
body.modal-open {
  pointer-events: none;
  overflow: hidden;
}
body.modal-open .modal {
  pointer-events: auto;
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
}



.portfoliomodal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.0s ease forwards;
}
.portfoliomodal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 88vh;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: -4rem 0 4rem 3rem rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}
.portfoliomodal-content {
  position: fixed;
  width: auto;
  height: 80vh;
  border-radius: 0.5rem;
  margin-bottom: 8vh;
  box-shadow: 0 0 4rem 4rem rgba(38, 3, 43, 0.8);
  animation: slideIn 1.0s ease forwards;
}
.portfoliomodal.hide {
  animation: fadeOut 2.0s ease forwards;
}
.portfoliomodal-content.hide {
  animation: slideOut 2.0s ease forwards;
}
body.modal-open,
body.portfoliomodal-open {
  overflow: hidden;
  pointer-events: auto;
}
body.portfoliomodal-open .modal {
  pointer-events: auto;
  overflow: hidden;
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
}
body.modal-open #topbar,
body.portfoliomodal-open #topbar {
  pointer-events: none;
}



.modal-caption {
  position: absolute;
  top: calc(80vh);
  width: 100%;
  text-align: center;
  font-family: 'PathwayGothicOne';
  font-size: clamp(1.0rem, 1.1vw, 1.2rem);
  letter-spacing: 0.025rem;
  color: white;
  text-shadow: 0 0 1rem rgba(15, 2, 27);
}



@font-face {
    font-family: 'PathwayGothicOne';
    src: url('fonts/PathwayGothicOne.woff2') format('woff2');
    font-display: swap;
}
