body {
  font-family: -apple-system, Segoe UI, Arial, sans-serif;
  background: #f4f5f7;
  color: #1c1e21;
  margin: 0;
}
header {
  background: #1c1e21;
  color: #fff;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 { font-size: 1.1rem; margin: 0; }
header a.logout { color: #cfd3d8; text-decoration: none; font-size: 0.85rem; }
main { max-width: 640px; margin: 2rem auto; padding: 0 1rem; }
.karte {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h2 { margin-top: 0; }
.typ-badge {
  font-size: 0.7rem;
  background: #e5e7eb;
  color: #4b5563;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
}
label { display: block; margin: 0.85rem 0; font-size: 0.95rem; }
input[type=text], input[type=number], input[type=date], input[type=month],
input[type=password], select, textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.3rem;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}
textarea.mail-text { font-family: Consolas, monospace; font-size: 0.9rem; }
.checkbox-zeile { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-zeile input { width: auto; }
fieldset { border: 1px solid #e5e7eb; border-radius: 6px; margin: 1rem 0; padding: 0.75rem 1rem; }
fieldset label { display: inline-block; margin-right: 1rem; }
.unterfeld { margin-top: 0.5rem; }
button, .knopf {
  display: inline-block;
  background: #e5e7eb;
  color: #1c1e21;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
button.primaer, .knopf.primaer { background: #2563eb; color: #fff; }
.knopfleiste { display: flex; gap: 0.6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.hinweis { font-size: 0.85rem; color: #6b7280; }
.hinweis-warnung { color: #92400e; background: #fef3c7; padding: 0.5rem 0.75rem; border-radius: 6px; }
.fehler { color: #b91c1c; }
.fortschritt { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.25rem; }
.liste-klein { font-size: 0.85rem; padding-left: 1.2rem; }
section { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid #eee; }
