/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* PAGE WRAPPER */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* CONTENT - Formular zentriert */
.page-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px; /* optional Abstand oben/unten */
  background: linear-gradient(135deg, #f9fafb, #e5e7eb); /* optional */
  color: #0f172a;
}

/* FORM CONTAINER */
form {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.5s ease;
}

/* TITLES */
form h1 {
  margin-bottom: 24px;
  font-size: 1.5rem;
  text-align: center;
}

/* LABELS */
label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: #334155;
}

/* INPUTS */
input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  background: #fff;
  font-size: 0.95rem;
  transition: border 0.2s, box-shadow 0.2s;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* FOCUS STATE */
input:focus,
textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* BUTTON */
button {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  /* background: linear-gradient(135deg, #6366f1, #4f46e5); */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
}

button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* SUCCESS / ERROR */
.success,
.error {
  max-width: 480px;
  padding: 18px 24px;
  border-radius: 14px;
  text-align: center;
  font-weight: 500;
  animation: fadeIn 0.4s ease;
}

.success {
  background: #dcfce7;
  color: #166534;
}

.error {
  background: #fee2e2;
  color: #991b1b;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.site-footer {
  background-color: #111827;
  color: #e5e7eb;
  width: 100%;
  padding: 20px 40px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  margin-bottom: 12px;
}

.footer-right a {
  color: #9ca3af;
  text-decoration: none;
  margin-left: 10px;
}

.footer-right a:hover {
  color: #ffffff;
}

/* ANIMATION: optional für Footer */
@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  form {
    padding: 24px;
  }
}

/* Formular zentrieren innerhalb des Content Containers */
.content-article form {
  display: flex;
  flex-direction: column;
  max-width: 480px; /* Formularbreite */
  margin: 0 auto;    /* horizontal zentrieren */
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}

.content-article form h1 {
  text-align: center;
}

.content-article label {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #334155;
}

.content-article input,
.content-article textarea {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 0.95rem;
  background: #fff;
}

.content-article button {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.content-article button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(79,70,229,0.35);
}
