/* === Global === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fefce8;
  color: #212529;
}

/* === Navigation === */
nav {
  background-color: #1e293b;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #facc15;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* === Header === */
header {
  background: linear-gradient(135deg, #facc15 0%, #fef08a 100%);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

header img.logo {
  height: 60px;
  display: block;
  margin: 0 auto 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
  color: #1e293b;
}

header p {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: #334155;
}

/* === Start Button === */
.start-button {
  text-align: center;
  margin: 2rem auto 0;
}

.start-button a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  background-color: #facc15;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.start-button a:hover {
  background-color: #eab308;
}

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.steps, .info-boxes {
  flex: 1 1 45%;
  min-width: 280px;
}

/* === Step Balken === */
details {
  background: #facc15;
  border-left: 5px solid #d4af0f;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

details:hover {
  transform: scale(1.02);
  background-color: #fde047;
}

summary {
  cursor: pointer;
  font-weight: bold;
  color: #1e293b;
}

/* === Info Boxes === */
.info-boxes .info {
  background: white;
  border-left: 4px solid #94a3b8;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.info-boxes .info:nth-child(1) { animation-delay: 0.2s; }
.info-boxes .info:nth-child(2) { animation-delay: 0.4s; }
.info-boxes .info:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.info h3 {
  margin-top: 0;
  color: #0f172a;
}

/* === Formularseiten (Vorgang starten / Status prüfen) === */
.container {
  max-width: 600px;
  margin: 3rem auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  color: #1e293b;
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  margin-top: 0.5rem;
  font-size: 1rem;
  resize: vertical;
  min-height: 100px;
  box-sizing: border-box;
}

.btn, button {
  background-color: #facc15;
  color: #1e293b;
  font-weight: bold;
  border: none;
  padding: 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.btn:hover, button:hover {
  background-color: #eab308;
}

/* === Statusseite Elemente === */
.status-box {
  margin-top: 2rem;
  background: #fef9c3;
  padding: 1rem;
  border-radius: 8px;
  border-left: 5px solid #facc15;
}

.progress-bar {
  margin-top: 1rem;
  width: 100%;
  background: #e2e8f0;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 20%;
  background: #22c55e;
  transition: width 0.5s ease-in-out;
}

.sendungsnummer-box {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px dashed #9ca3af;
  border-radius: 6px;
  color: #6b7280;
}

.confirm-btn {
  background: #4ade80;
  color: #1e293b;
}

/* === Footer === */
footer {
  background-color: #1e293b;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer img {
  height: 40px;
  margin: 0 10px;
}

footer a {
  color: #facc15;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}
