.section {
  padding: 40px 20px;
  background: linear-gradient(145deg, #1a1a1a, #111);
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background-color: #1f1f1f;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 650px;
  width: 100%;
}

h2 {
  color: #ffd700;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* === Kompakte Formularstruktur === */
.kontakt-formular {
  display: flex;
  flex-direction: column;
}

.kontakt-formular label {
  font-weight: 600;
  color: #ccc;
  font-size: 0.95rem;
  margin: 6px 0 4px;
}

.kontakt-formular input,
.kontakt-formular textarea {
  width: 100%;
  padding: 8px 10px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 5px;
  color: #f8f8f8;
  font-size: 0.95rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.kontakt-formular input:focus,
.kontakt-formular textarea:focus {
  border-color: #ffd700;
  background-color: #2f2f2f;
  outline: none;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
}

textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

/* Button */
.cta-button {
  background: linear-gradient(to right, #ffd700, #caa200);
  color: #000;
  font-weight: bold;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(to right, #ffe97f, #ffcc00);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Meldungen */
.success-message,
.error-message {
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  font-size: 0.95rem;
}

.success-message {
  background: #d0ffd0;
  border: 1px solid #3eb489;
  color: #222;
}

.error-message {
  background: #ffd0d0;
  border: 1px solid #ff6666;
  color: #222;
}

/* Mobil */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 9px;
  }
}
