

.start-page {
    display: flex;
    background-color: #c7c6cc;
    width: 100%;
    height: 61vh;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    

}

.content {
    flex: 1; /* nimmt den restlichen Platz ein */
    padding: 2rem;
  }

.content div {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.content h1 {
    font-size: 40px;
    font-weight: 600;
}

.image-side {
    width: 50%; 
    background-image: url("https://cdn.discordapp.com/attachments/1005180978030989355/1474869821425582141/test.jpg?ex=699b6b0f&is=699a198f&hm=ab0d7e096de73babb2554babb7cf40e8975bc259d730bc8b164b496324edb311&");
    background-size: cover;  /* Bild deckt den Bereich komplett ab */
    background-position: center; /* zentriert das Bild */
    position: relative;
    border-radius: 0 15px 15px 0;
  }

  .image-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(249,250,251,0) 0%, #c7c6cc 100%);
  }


.end-page {
    width: 85%;
    background-color: white;
    height: 20vh;
    border-radius: 15px;
    position: relative;
    bottom: 5vh;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

    display: flex;
    align-items: center;
    justify-content: center;
    
}
.end-page div {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.end-page h1 {
    font-weight: bold;
    font-size: 40px;
}

form {
    
    display:flex;
    flex-direction:row;
    align-items: center;
    border:1px solid grey;
    padding:1px;
    width: 50%;
  }

form:focus-within {
    outline: none;  /* alternativ */
    border: none;
}


input {
    flex-grow: 2;
    border: none;
    height: 7vh;
    outline: none;               /* entfernt blaue Outline */
    box-shadow: none;            /* entfernt eventuell vorhandenen Schatten */
    border-radius: 8px;          /* runder Rand optional */
    padding: 0 0.5rem;
    font-size: 20px;
  }
  
  input:focus {
    outline: none;               /* wichtig */
    box-shadow: none; 
    border: none;           /* wichtig, entfernt blauen Glow */
  }
  


  

  form:focus-within { 
    outline: 1px solid blue 
  }
  
  button {
    height: 5vh;
    width: 20%;
    border-radius: 7px;
    border: none;
    background:#19a1a9;;
    color:white;
    font-size: 20px;
  }

  .content div button {
    width: 30%;
}
button:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

.slide-up {
  opacity: 0;
  transform: translateY(40px); /* kommt von unten */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #8e8e93;
    font-size: 0.9rem;
  }



/* Desktop (Standard bleibt) */
.start-page {
    flex-direction: row;
    height: 61vh;
    padding: 2rem 5%;
    box-sizing: border-box;
}

.image-side {
    width: 50%;
    min-height: 100%;
}

.content {
    flex: 1;
    padding: 2rem;
}

/* Tablets */
@media (max-width: 1024px) {
    .start-page {
        flex-direction: column; /* Text über Bild */
        height: auto;
        padding: 2rem 3%;
    }

    .content div {
        height: auto;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .content h1 {
        font-size: 32px;
    }

    .content h2 {
        font-size: 20px;
    }

    .image-side {
        width: 100%;
        height: 40vh;
        margin-top: 1.5rem;
    }

    .content div button {
        width: 60%;
    }

    .end-page {
        width: 95%;
        flex-direction: column;
        height: auto;
        padding: 2rem 1rem;
        bottom: 0;
    }

    .end-page div {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    form {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    input, button {
        width: 90%;
    }

    .end-page h1 {
        font-size: 28px;
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .start-page {
        padding: 1rem 1.5rem;
    }

    .content h1 {
        font-size: 24px;
    }

    .content h2 {
        font-size: 18px;
    }

    .image-side {
        height: 30vh;
    }

    input {
        font-size: 16px;
        height: 5vh;
        width: 90%;
    }

    button {
        font-size: 16px;
        height: 5vh;
    }

    .end-page {
        padding: 1.5rem 1rem;
    }

    .end-page h1 {
        font-size: 22px;
    }
}

/* Allgemein für Slide-Up Animation */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}
