/* Basis-Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
  color: #0a84c6;
}

/* Inhalt der Seite */
.content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

/* Info-Text */
.info-text {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Kontakt-Info */
.contact-info {
  background-color: #333333;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: #0a84c6;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Adressänderungsformular */
.contact-form-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Grid für zwei Spalten */
.contact-form {
  display: grid;
  gap: 1rem;
}

/* Labels */
.contact-form label {
  text-align: start;
  font-weight: bold;
  color: #0a84c6;
}

.contact-form input,
.contact-form textarea {
  color: #ffffff;
  width: 100%;
  padding: 0.75rem;
  background-color: #2d2d2d;
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
}

/* Zwei Spalten bei genügend Platz */
@media (min-width: 600px) {
  .contact-form {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    column-gap: 1rem;
  }

  /* Einzelfelder (textarea & button) sollen die gesamte Breite einnehmen */
  .contact-form textarea,
  .contact-form button {
    grid-column: span 2;
  }
}

/* Erfolg (gültige Eingabe) */
.contact-form input:valid {
  background: url("../images/icons8-ok.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Senden-Button */
.contact-form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #0a84c6;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}
