.Starttext h1 {
  color: var(--pink);
  font-size: 10em;
  background-color: white;
  display: inline;
  padding: 0.1em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.infotext h2 {
  color: var(--text);
  font-weight: 400;
  text-align: center;
}

.infotext {
  margin-top: 5%;
  margin-bottom: 6%;
  text-align: center;
  line-height: 1.6;
}

.Starttext {
  position: relative;
  padding: 5%;
  overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Starttext h1 {
    position: relative;
    z-index: 1;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  width: 100%;
}

.big-button {
  font-family: "Roboto Serif", serif;
  font-weight: 400 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  background-color: var(--pink);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  white-space: nowrap;
}

.big-button:hover {
  font-weight: 700 !important;
  background-color: var(--blau);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.big-button:active {
  transform: translateY(-1px);
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablets and medium screens */
@media (max-width: 1024px) {
  .Starttext h1 {
    font-size: 7em;
  }
  
  .infotext h2 {
    font-size: 1.3em;
  }
  
  .button-container {
    gap: 1.2rem;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }
  
  .big-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  .Starttext {
    padding: 3%;
  }
  
  .Starttext h1 {
    font-size: 5em;
    padding: 0.1em 0.15em;
  }
  
  .infotext {
    margin-top: 4%;
    margin-bottom: 5%;
    padding: 0 1em;
  }
  
  .infotext h2 {
    font-size: 1.2em;
    line-height: 1.5;
  }
  
  .button-container {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 0 1.5em;
  }
  
  .big-button {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile phones (portrait) */
@media (max-width: 480px) {
  .Starttext {
    padding: 2%;
  }
  
  .Starttext h1 {
    font-size: 3em;
    padding: 0.08em 0.12em;
    line-height: 1.1em;
  }
  
  .background-video {
    object-fit: cover;
  }
  
  .infotext {
    margin-top: 3%;
    margin-bottom: 4%;
  }
  
  .infotext h2 {
    font-size: 1em;
    line-height: 1.4;
  }
  
  .button-container {
    gap: 0.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1em;
  }
  
  .big-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    max-width: 280px;
  }
}
