* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #e3e3e3;
  display: flex; justify-content: center; align-items: flex-start;
  min-height: 100vh; padding: 20px 20px 20px;
}
.card {
  background: #f4f4f4; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 40px 36px; width: 100%; max-width: 420px;
}
.card-center { text-align: center; padding: 48px 40px; }
.zurueck {
  display: inline-flex; align-items: center; gap: 5px;
  color: #31642b; font-size: 0.875rem; text-decoration: none; font-weight: 600;
  margin-bottom: 24px;
}
.zurueck:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; color: #31642b; font-weight: normal; margin-bottom: 6px; }
.untertitel { color: #666; font-size: 0.875rem; margin-bottom: 28px; line-height: 1.5; }
.feld { margin-bottom: 18px; }
label { display: block; font-size: 0.875rem; font-weight: 600; color: #333; margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: 10px 13px; border: 1.5px solid #ccc; border-radius: 6px;
  font-size: 0.95rem; color: #111; background: #fff; outline: none; transition: border-color 0.2s;
}
input:focus { border-color: #31642b; box-shadow: 0 0 0 3px rgba(49,100,43,0.15); }
input.fehler { border-color: #c0392b; }
.feld-fehler { color: #c0392b; font-size: 0.8rem; margin-top: 4px; display: block; }
.feld-hinweis { color: #888; font-size: 0.78rem; margin-top: 4px; display: block; }
.pw-wrapper { position: relative; }
.pw-wrapper input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #888; font-size: 1rem; padding: 0;
}
.pw-toggle:hover { color: #31642b; }
.zeile { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 0.85rem; }
.checkbox-label { display: flex; align-items: center; gap: 6px; color: #333; cursor: pointer; }
.checkbox-label input { accent-color: #31642b; width: 15px; height: 15px; }
.link { color: #31642b; text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.btn {
  display: block; width: 100%; padding: 12px;
  background: #31642b; color: #f4f4f4; border: none; border-radius: 6px;
  font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center;
  text-decoration: none; transition: background 0.2s;
}
.btn:hover { background: #264f22; }
.btn-leer {
  background: transparent; color: #31642b; border: 2px solid #31642b; margin-top: 10px;
}
.btn-leer:hover { background: #31642b; color: #f4f4f4; }
.trenner { text-align: center; color: #aaa; font-size: 0.85rem; margin: 18px 0; position: relative; }
.trenner::before, .trenner::after { content: ''; position: absolute; top: 50%; width: 43%; height: 1px; background: #ccc; }
.trenner::before { left: 0; } .trenner::after { right: 0; }
.meldung { padding: 12px 14px; border-radius: 6px; font-size: 0.875rem; line-height: 1.5; margin-bottom: 22px; border-left: 4px solid; }
.meldung-ok     { background: #e8f5e3; border-color: #31642b; color: #31642b; }
.meldung-fehler { background: #fdecea; border-color: #c0392b; color: #c0392b; }
.meldung-info   { background: #fff8e1; border-color: #f0a500; color: #7a5200; }
.unter-formular { text-align: center; font-size: 0.875rem; color: #666; margin-top: 20px; }
.start-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
@media (max-width: 480px) { .card { padding: 28px 16px; } .card-center { padding: 32px 16px; } }
