@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --base-clr: #ffffff;
  --line-clr: #42434a;
  --hover-clr: #6e7075;
  --text-clr: #202022;
  --texthover-clr: white;
  --accent-clr: #f8693e;
  --secondary-text-clr: #777575;
  --sidebar-clr: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

html {
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dhv;
  background-color: var(--base-clr);
  color: var(--text-clr);
  display: grid;
  grid-template-columns: auto 1fr;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

body::before {
  background-image: url("../images/danke.jpg");
  content: "";
  position: fixed; /* Fixiert, damit es beim Scrollen bleibt */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Bild-Einstellungen */

  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;

  /* Fade-In Effekt */
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;

  /* Damit der Inhalt vor dem Bild bleibt */
  z-index: -1;
}

/* Animation definieren */
@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255));
  }
  50% {
    filter: drop-shadow(0 0 75px rgba(255, 255, 255));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255));
  }
}

main {
  padding: min(30px, 7%);
}
main p {
  color: var(--secondary-text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}

#sidebar.close ~ .watermark {
  left: calc(50% + 24px);
}

#container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.1rem;
  height: auto;
  border-radius: 1em;
  margin-bottom: 25px;
  margin-left: 25px;
  padding: min(2em, 10%);
  color: rgb(0, 0, 0);
  text-align: center;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  h1 {
    margin-top: 0.5em;
    color: var(--accent-clr);
    text-shadow: 0px 1px 3px rgb(119, 118, 118);
  }
}

.text-wrapper {
  font-size: 130px;
}

.text-wrapper span {
  animation: fadeInBackground 1s ease-in forwards;
  text-shadow: 0px 1px 3px rgb(15, 15, 15);
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 2.7));
  opacity: 0;
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  display: inline-block;
  color: rgb(0, 0, 0);
  letter-spacing: 0px;
  animation: waveAnim 3s infinite;
  animation-delay: calc(0.1s * var(--i));
  opacity: 80%;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 50px;
}

@keyframes waveAnim {
  0%,
  40%,
  100% {
    transform: translateY(o);
  }
  20% {
    transform: translateY(-70px);
  }
}

#containerinhalt h1 {
  font-size: 40px;
  opacity: 0;
  color: rgb(255, 119, 28);
  text-shadow: 0px 2px 3px rgb(22, 22, 22);
  text-align: center;
  animation: fadeInBackground 1s ease-in forwards;
}

h2 {
  margin: 10px;
  font-size: 24px;
  opacity: 0;
  color: rgb(255, 119, 28);
  text-shadow: 0px 1px 3px rgb(58, 57, 56);
  animation: fadeInBackground 1s ease-in forwards;
}

h3 a {
  margin-top: 4px;
  font-size: 20px;
  opacity: 0;
  text-decoration: none;
  color: rgb(209, 211, 211);
  text-shadow: 0px 1px 3px rgb(119, 118, 118);
  animation: fadeInBackground 1s ease-in forwards;
}

h3 {
  padding: 4px;
  margin-top: 4px;
  font-size: 18px;
  opacity: 0;
  color: rgb(255, 119, 28);
  text-shadow: 0px 1px 2px rgb(22, 22, 22);
  animation: fadeInBackground 1s ease-in forwards;
}

#partner {
  background-color: rgb(0, 0, 0);
  opacity: 75%;
  padding: 6px;
  height: auto;
  width: auto;
  margin-bottom: 10px;
  mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

#sidebar.close ~ .aktuell {
  left: 100px; /* Muss der Breite der Sidebar entsprechen */
}

/* -----------------------SMARTPHONE ANSICHT--------------------------------- */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1r;
  }
  .swiper-navBtn {
    display: none;
  }
  main {
    padding: 0em 1em 20px;
   
  }
 
  #container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.1rem;
  height: auto;
  border-radius: 1em;
  margin-bottom: 25px;
  margin-left: 25px;
  padding: min(2em, 10%);
  color: rgb(0, 0, 0);
  text-align: center;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  h1 {
    margin-top: 0.5em;
    color: var(--accent-clr);
    text-shadow: 0px 1px 3px rgb(119, 118, 118);
  }
}

  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }

  .text-wrapper {
    font-size: 55px;
  }

  .text-wrapper span {
    margin-top: 0;
    margin-bottom: 20px;
  }

  #containerinhalt h1 {
    font-size: 26px;
    color: rgb(255, 119, 28);
    text-shadow: 0px 2px 3px rgb(22, 22, 22);
    text-align: center;
    animation: fadeInBackground 1s ease-in forwards;
  }

  h2 {
    
    font-size: 14px;
    opacity: 0;
    color: rgb(255, 119, 28);
    text-shadow: 0px 1px 3px rgb(58, 57, 56);
    animation: fadeInBackground 1s ease-in forwards;
  }

  h3 a {
    margin-top: 4px;
    font-size: 10px;
    opacity: 0;
    text-decoration: none;
    color: rgb(209, 211, 211);
    text-shadow: 0px 1px 3px rgb(119, 118, 118);
    animation: fadeInBackground 1s ease-in forwards;
    white-space: nowrap;
  }

  h3 {
    padding: 4px;
    margin-top: 4px;
    font-size: 18px;
    opacity: 0;
    color: rgb(255, 119, 28);
    text-shadow: 0px 1px 2px rgb(22, 22, 22);
    animation: fadeInBackground 1s ease-in forwards;
  }

  #partner {
    background-color: rgb(0, 0, 0);
    opacity: 75%;
    padding: 1px;
    line-height: 0.2rem;
    height: auto;
    width: auto;
    margin-bottom: 6px;
    mask-image: radial-gradient(
      circle,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0) 60%
    );
    -webkit-mask-image: radial-gradient(
      circle,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}
