body{
    background-color: black;
}
#main5{
    background-color: black;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    height: 2px;
    margin-top: 50px;
    border-bottom: 2px dotted gray;
}

@media only screen and (max-width: 500px) {
    #main5{
    background-color: black;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    height: 2px;
    margin-top: 50px;
    border-bottom: 2px dotted gray;
    }
}

/*Header*/
  .split-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: black;
  color: white;
  padding: 4rem 10%;
  flex-wrap: wrap;
  gap: 2rem;
}

.split-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #dfa83c;
  letter-spacing: 1px;
}

.split-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #eee;
  max-width: 500px;
}

.split-logo {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-logo img {
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  background-color: transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.split-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(223, 168, 60, 0.6);
}

@media (max-width: 900px) {
  .split-header {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .split-text h1 {
    font-size: 2.4rem;
  }

  .split-text p {
    font-size: 1rem;
  }

  .split-logo img {
    max-width: 220px;
  }
}

/*Textanimation*/
#main1 {
  background-color: #dfa83c;
  width: 100%;
  height: 60px;
  margin-top: 50px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 30px;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#main1 .typewriter {
  display: inline-block;
  white-space: nowrap;
  border-right: 3px solid white;
  overflow: hidden;
  animation: typing 3s steps(22, end), blink 0.7s step-end infinite;
  animation-fill-mode: forwards;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 18ch; /* Anzahl der Buchstaben von "Herzlich Willkommen" */
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
#main1 .typewriter.typing-done {
  border-right: none;
}

@media (max-width: 600px) {
  #main1 {
    font-size: 20px;
    height: 50px;
  }
  #main1 .typewriter {
    border-right: 2px solid white;
  }
}

/*Textblock*/
  #main2 {
  background-color: #000;
  border-radius: 0px;
  max-width: 80%;
  margin: 60px auto;
  padding: 40px 60px;
  color: #fff;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

#main2 h1 {
  font-family: 'Poppins', sans-serif;
  color: #dfa83c;
  font-size: 2rem;
  margin-bottom: 0.8rem;
  border-left: 4px solid #dfa83c;
  padding-left: 12px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

#main2 h1:hover {
  color: #fff;
}

#main2 p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #eaeaea;
  margin-bottom: 2rem;
  padding-left: 15px;
  border-left: 1px dotted rgba(223, 168, 60, 0.3);
}

#main2 p br {
  display: none;
}

#main2 p span {
  display: block;
  margin-bottom: 4px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#main2 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

@media only screen and (max-width: 600px) {
  #main2 {
    max-width: 90%;
    padding: 25px 20px;
  }

  #main2 h1 {
    font-size: 1.5rem;
  }

  #main2 p {
    font-size: 0.95rem;
    padding-left: 10px;
  }
}