
/* General */

body {
  margin: 0;
  padding: 0;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #000814, #001d3d);
  background-size: cover;
  color: #fff;
  line-height: 1;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* Start Animation */

#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 1s ease-in-out;
}

#overlay-logo {
  width: 150px;
  opacity: 0;
  transform: translateY(20px);
  animation: logoFadeIn 1.5s ease-in-out forwards;
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


/*Background*/

.light-follow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(150, 220, 255, 0.15) 0%, transparent 80%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    z-index: 2;
    transition: background 0.2s ease;
}

.ocean-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.light {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(130, 200, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLight 10s ease-in-out infinite alternate;
    filter: blur(40px);
}

.light1 { top: 20%; left: 10%; animation: floatLight1 15s ease-in-out infinite; background: radial-gradient(circle, rgba(129, 198, 238, 0.2) 0%, transparent 70%); }
.light2 { top: 40%; left: 50%; width: 1400px; height: 1400px; animation: floatLight2 25s ease-in-out infinite; background: radial-gradient(circle, rgba(90, 170, 250, 0.15) 0%, transparent 70%); }
.light3 { top: 60%; left: 30%; width: 1000px; height: 1000px; animation: floatLight3 30s ease-in-out infinite; background: radial-gradient(circle, rgba(110, 180, 255, 0.12) 0%, transparent 70%); }
.light4 { top: 30%; left: 70%; width: 600px; height: 600px; animation: floatLight4 20s ease-in-out infinite; background: radial-gradient(circle, rgba(100, 190, 255, 0.15) 0%, transparent 70%); }

  @keyframes floatLight1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-40px, 30px);
    }
    50% {
        transform: translate(60px, -50px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
  }

  @keyframes floatLight2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(100px, 80px);
    }
  }

  @keyframes floatLight3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    30% {
        transform: translate(-80px, 50px);
    }
    70% {
        transform: translate(50px, -60px);
    }
  }

  @keyframes floatLight4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    40% {
        transform: translate(70px, -40px);
    }
    80% {
        transform: translate(-90px, 60px);
    }
  }


/* Header */

header {
    box-sizing: border-box;
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 9999;
    overflow-x: hidden;
    transition: top 0.7s ease;
}

.logo { 
    width: 100px; 
    height: auto; 
    margin: 2rem; 
    display: block;
}

.header-right a {
    display: inline-block;
}


/* Text */

h1 {
  font-size: 4rem;
  font-family: "poppins", sans-serif;
  font-weight: 800;
  text-align: center;
  max-width: 60%;
  margin: 15vh auto 2rem auto;
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.blue-text { 
    color: #A4E2FF;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.title2 {
    margin-top: 0 !important;
}

h2 {
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-size: 2.2rem;
    color: #A4E2FF;
    margin-top: 5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

h3 {
    font-family: "poppins", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #A4E2FF;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


*/ Form */

form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
}

.form-section {
  max-width: 75vw;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-in-out;
  border-radius: 12px;
  z-index: 2;
  position: relative;
}

.form-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  background: rgba(2, 39, 58, 0.151);
  box-shadow: 0 0 30px rgba(86, 118, 134, 0.151);
  padding: 2rem;
  border-radius: 30px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.form-group.visible {
  opacity: 1;
  transform: translateY(0);
}


label, p {
  font-family: 'owners-text', sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  color: #fff;
  text-align: left;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

input, textarea {
  width: 100%;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 0.5px solid #A4E2FF;
  border-radius: 30px;
  background: transparent;
  color: #fff;
  font-family: 'owners-text', sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  resize: vertical;
  min-height: 3.5rem;
  box-sizing: border-box;
}

select {
  width: 100%;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 0.5px solid #A4E2FF;
  border-radius: 30px;
  background: transparent;
  color: #007bff;
  font-family: 'owners-text', sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  resize: vertical;
  min-height: 3.5rem;
  box-sizing: border-box;
  cursor: pointer;
}

textarea {
  overflow: hidden;
  min-height: 5rem;
}

input[type="date"] {
    color: #fff;
    border: 0.5px solid #A4E2FF;
    border-radius: 30px;
    padding: 1.5rem;
    font-family: 'owners-text', sans-serif;
    font-size: 1.5rem;
    min-height: 3.5rem;
    box-sizing: border-box;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

input[type="date"]::-moz-calendar-picker-indicator {
    filter: invert(1);
}

/* Range Styling */

input[type="range"] {
  border: none;
  width: 100%;
  background: transparent;
  left: 0;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(164, 226, 255, 0.5);
  border: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #A4E2FF;
  cursor: pointer;
  margin-top: -7.5px;
  box-shadow: 0 0 10px rgba(164, 226, 255, 0.8);
}

input[type="range"]::-moz-range-track {
  height: 2px;
}

input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #A4E2FF;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(164, 226, 255, 0.8);
}

/* Checkboxes & Radios */

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  left: 0;
  right: 1rem;
  accent-color: #A4E2FF;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.3s ease;
}

label.inline-label {
  display: block;
  font-family: 'owners-text', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-align: left;
  margin-bottom: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}


/* Buttons */

button {
  background-color: #A4E2FF;
  color: #001d3d;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.5rem;
  font-family: "poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  align-self: center;
}

button:hover {
  background-color: #ffffff;
  color: #007bff;
}

input[type="file"] {
  display: none;
}

label.upload-label {
  background-color: #A4E2FF;
  color: #001d3d;
  border-radius: 30px;
  font-size: 1.5rem;
  font-family: "poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  padding: 1.5rem;
  display: inline-block;
  width: 100%;
  padding: 1.5rem;
  resize: vertical;
  min-height: 3.5rem;
  box-sizing: border-box;
}

label.upload-label:hover {
  background-color: #fff;
  color: #007bff;
}


/* Footer */

footer {
  width: 100%;
  text-align: center;
  padding: 2rem;
  color: #fff;
  font-family: 'owners-text', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-text {
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-in-out;
}

.footer-text.visible {
  opacity: 1;
  transform: translateY(0);
}

footer a {
  color: #A4E2FF;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

footer a:hover {
  color: #fff;
}

footer a:hover::after {
  width: 100%;
}


/* Error Message */

.modal {
    font-family: 'owners-text', sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    color: #fff;
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;  
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 29, 61, 0.9); /* leicht transparenter Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background-color: #001d3d;
    color: #A4E2FF;
    padding: 2rem 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 80%;
    box-shadow: 0 0 20px #001d3d;
    text-align: left;
    animation: slideIn 0.5s ease;
    position: relative;
}

.close-button {
    color: #A4E2FF;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #ffffff;
}


/* Media Queries */

@media (max-width: 600px) {

    body {
      overflow-x: hidden;
    }

    .logo {
        width: 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    label, p {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    input, textarea, select {
        font-size: 1.1rem;
        padding: 1rem;
        min-height: 2.5rem;
        box-sizing: border-box;
    }

    .form-group {
        padding: 1rem;
        border-radius: 20px;
        box-sizing: border-box;
    }

    label.upload-label {
        font-size: 1.2rem;
        padding: 1rem;
        min-height: 2.5rem;
    }

    button {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }

    footer {
        font-size: 1.2rem;
        padding: 1rem;
        margin: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .form-group {
        border-radius: 15px;
        padding: 0.8rem;
    }

    input, textarea, select {
        font-size: 1rem;
        box-sizing: border-box;
        border: 0.3px solid #A4E2FF;
    }
}