:root {
  --gruen: #6f9a1a;
  --gruen-dunkel: #4e6e10;
  --grau: #5f5f5c;
  --text: #22231f;
  --grund: #ffffff;
  --karte: #ffffff;
  --linie: #e3e6da;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
  background: var(--grund);
  display: flex;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

main {
  width: 100%;
  max-width: 440px;
}

.kopf {
  text-align: center;
  padding: 12px 8px 22px;
}

.kopf img {
  display: block;
  width: 78%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.kopf h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.kopf p {
  margin: 6px 0 0;
  color: var(--grau);
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 16px;
  overflow: hidden;
}

.zeile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--linie);
  min-height: 60px;
}

.zeile:first-child { border-top: 0; }

a.zeile:active { background: #f0f3e8; }

.zeile svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  stroke: var(--gruen);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zeile small {
  display: block;
  font-size: 0.8rem;
  color: var(--grau);
}

.zeile .wert { font-weight: 600; word-break: break-word; }

.offen .wert { font-weight: 400; color: var(--grau); }

.zeiten {
  margin-top: 16px;
  padding: 16px 18px;
}

.zeiten h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.zeiten p { margin: 0 0 10px; }
.zeiten p:last-child { margin-bottom: 0; }

.speichern {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 17px 20px;
  border-radius: 14px;
  background: var(--gruen-dunkel);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.speichern:active { background: #3d5609; }

.liste a {
  display: block;
  padding: 18px;
  border-top: 1px solid var(--linie);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.liste a:first-child { border-top: 0; }

footer {
  margin-top: 26px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grau);
}

footer a { color: inherit; }
