:root {
  --gruen: #113f45;
  --gruen-hell: #e8f0f1;
  --text: #1b2426;
  --grau: #5b676a;
  --rand: #c9d2d4;
  --fehler: #b3261e;
  --flaeche: #f5f7f7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--flaeche);
}
.innen { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.kopf { background: var(--gruen); color: #fff; padding: 14px 0; }
.marke { font-weight: 700; font-size: 20px; letter-spacing: 0.01em; }
main.innen { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; color: var(--gruen); text-wrap: balance; }
.einleitung { margin: 0 0 24px; color: var(--grau); }
section {
  background: #fff;
  border: 1px solid var(--rand);
  border-radius: 10px;
  padding: 20px 18px 6px;
  margin: 0 0 18px;
}
h2 { font-size: 19px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.nr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gruen); color: #fff; font-size: 15px; flex: none;
}
.feld { margin: 0 0 16px; }
label { display: block; font-weight: 600; margin: 0 0 6px; }
.optional { font-weight: 400; color: var(--grau); font-size: 14px; margin-left: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 11px 12px;
  min-height: 48px;
  border: 1px solid #8a979a;
  border-radius: 8px;
  background: #fff;
}
select:disabled { background: var(--flaeche); color: var(--grau); }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, canvas:focus-visible {
  outline: 3px solid #2f8f9b; outline-offset: 2px;
}
.hinweis { margin: 6px 0 0; font-size: 14.5px; color: var(--grau); }
.fehlertext { margin: 6px 0 0; font-size: 14.5px; color: var(--fehler); font-weight: 600; }
.fehlerhaft input, .fehlerhaft select, .fehlerhaft canvas { border-color: var(--fehler); border-width: 2px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; }
.zwei.schmal-breit { grid-template-columns: 150px 1fr; }
@media (max-width: 560px) {
  .zwei, .zwei.schmal-breit { grid-template-columns: 1fr; }
  h1 { font-size: 24px; }
}
.meldung {
  background: #fdecea; border: 1px solid #f1b5b0; color: #7a1a14;
  border-radius: 8px; padding: 12px 14px; margin: 0 0 18px; font-weight: 600;
}
.vollmacht {
  margin: 0 0 18px; padding: 14px 16px;
  background: var(--gruen-hell); border-left: 4px solid var(--gruen); border-radius: 0 8px 8px 0;
}
.haken { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; margin: 0 0 14px; align-items: start; }
.haken input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--gruen); }
.haken label { font-weight: 400; margin: 0; }
.haken .fehlertext { grid-column: 2; margin-top: 2px; }
.unterschrift-kopf { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px; }
.unterschrift-kopf label { margin: 0; }
canvas#unterschrift-feld {
  display: block; width: 100%; height: auto; aspect-ratio: 1000 / 400;
  background: #fff; border: 1px dashed #8a979a; border-radius: 8px;
  touch-action: none; cursor: crosshair;
}
button { font: inherit; cursor: pointer; }
.leise { background: none; border: 1px solid var(--rand); border-radius: 6px; padding: 6px 12px; color: var(--text); min-height: 36px; }
.leise:hover { background: var(--flaeche); }
.absenden {
  display: block; width: 100%; min-height: 54px;
  background: var(--gruen); color: #fff; border: 0; border-radius: 10px;
  font-size: 18px; font-weight: 700; padding: 14px 18px;
}
.absenden:hover { background: #0c2f34; }
.absenden:disabled { opacity: 0.6; cursor: default; }
.knopf-zweit {
  display: inline-block; padding: 12px 18px; border: 2px solid var(--gruen); border-radius: 10px;
  color: var(--gruen); font-weight: 700; text-decoration: none;
}
a { color: var(--gruen); }
.nicht-ausfuellen { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fuss { color: var(--grau); font-size: 14px; padding: 0 0 32px; }
.fuss a { color: var(--grau); }
table.liste { border-collapse: collapse; width: 100%; font-size: 14px; background: #fff; }
table.liste th, table.liste td { border: 1px solid var(--rand); padding: 6px 8px; text-align: left; vertical-align: top; }
table.liste th { background: var(--gruen-hell); }
.breit { max-width: 1280px; }
.rollen { overflow-x: auto; }
.werkzeuge { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; align-items: center; }
.ok { color: #1c6b2f; font-weight: 600; }
.schlecht { color: var(--fehler); font-weight: 600; }
