/* Kontakt SECTION auf volle Höhe, alles zentrieren */
.contact-page {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Container zentriert und schmaler */
.contact-page .container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Überschrift weiß + Türkis Glow */
.section-title {
  text-align: center;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  opacity: 1;
  text-shadow:
    0 2px 14px rgba(0,0,0,0.23),
    0 0 7px #00FFD088;    /* Hauch Türkis Glow */
}

/* Unterzeile heller, besser lesbar */
.section-subtitle {
  text-align: center;
  color: #e2f7f3;
  font-size: 1.18rem;
  margin-bottom: 2rem;
  opacity: 0.98;
  font-weight: 400;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.13),
    0 0 5px #00FFD044;
  line-height: 1.55;
}

/* Fehlerausgabe im Formular */
.errors {
  background: #ffe6e6;
  border: 1px solid #ffcccc;
  color: #900;
  padding: 1rem;
  border-radius: 1.2rem;
  list-style: none;
  margin-bottom: 2rem;
  font-size: 1.08rem;
  box-shadow: 0 1px 8px #fd9797cc;
}

/* Kontakt-Box zentriert, leichter Schatten */
.contact-box {
  background: rgba(255,255,255,0.99);
  border-radius: 1.2rem;
  box-shadow: 0 12px 36px rgba(0,0,0,0.14), 0 2px 10px #00FFD055;
  max-width: 370px;
  width: 100%;
  margin: 0 auto;
  padding: 2.3rem 1.7rem 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Formular wie gehabt */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form label {
  font-weight: 700;
  font-size: 1.08rem;
  color: #22336B;
  margin-bottom: 0.1rem;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form textarea {
  padding: 0.65rem 1.05rem;
  border: 1px solid #cdd7e6;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #f7f9fc;
  color: #22336B;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00FFD0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,255,208,0.08);
}
.contact-form textarea {
  min-height: 75px;
  max-height: 200px;
  resize: vertical;
}

/* Button im Gradient Türkis */
.cta {
  background: linear-gradient(90deg, #00FFD0 0%, #28d3e4 100%);
  color: #22336B;
  font-weight: 600;
  padding: 0.82rem 1.45rem;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.17s, transform 0.16s, box-shadow 0.18s;
  width: auto;
  align-self: flex-end;
  font-size: 1.08rem;
  margin-top: 0.7rem;
  box-shadow: 0 2px 10px rgba(0,255,208,0.10);
}
.cta:hover {
  background: linear-gradient(90deg, #00e5ba 0%, #44e0ea 100%);
  color: #22336B;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px #00FFD088;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-box, .contact-page .container {
    max-width: 99vw;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 1rem; }
}
