* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--text);
}

.card {
  width: 100%;
  max-width: 920px;
  background: var(--bg);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 32px;
  padding: 40px;
  backdrop-filter: blur(18px);
  box-shadow: var(--boxshdw);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--badge);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.intro {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 700px;
}

.eingabeform{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

/* Roter Rand, wenn das Feld noch leer oder fehlerhaft ist */
input:invalid {
  border-color: #e74c3c;
}

/* Grüner Rand, sobald die Eingabe gültig ist */
input:valid {
  border-color: #2ecc71;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
}

.btn-secondary:hover {
  background: #334155;
}

.btn-primary {
  background: #10b981;
  color: #052e16;
  box-shadow: 0 18px 30px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: #34d399;
  transform: translateY(-2px);
}




@media (max-width: 768px) {
  .card {
	padding: 28px;
	border-radius: 24px;
  }

  form {
	grid-template-columns: 1fr;
  }

  .actions {
	flex-direction: column;
  }
}
	
	
	
/* Bestätigung */
.summary {
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid #334155;
  padding: 28px;
  margin-bottom: 15px;
}

.summary h2 {
  font-size: 1.1rem;
  color: var(--h2);
  margin-bottom: 20px;
}

.bestaetform{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.labelb {
  color: var(--primary);
}

.value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
	
.actions {
  display: flex;
  gap: 14px;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 18px 30px rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(239, 68, 68, 0.45);
}
	
	
	
	
	
@media (max-width: 700px) {
  .card {
	padding: 28px;
	border-radius: 24px;
  }

  .row {
	flex-direction: column;
	gap: 8px;
  }

  .value {
	text-align: left;
  }

  .actions {
	flex-direction: column;
  }
}

