body {
  font-family: Arial, sans-serif;
  background: #f6f6f6;
  padding: 1em;
  margin: 0;
}

h1 {
  color: #2f7833;
  margin-top: 0;
}

h2 {
  margin-top: 1.5em;
}

section {
  margin-top: 2em;
  max-width: 620px;
}

textarea {
  width: 100%;
  height: 80px;
  padding: 0.5em;
}

button {
  padding: 0.35em 0.8em;
  margin: 0.5em 0;
  cursor: pointer;
  max-width: 620px;
  width: 100%;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Speziell für gegossen-Button */
#wateringBtn:disabled {
  background-color: #c6f6d5;
  color: #22543d;
  border: 2px solid #38a169;
  font-weight: bold;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: #fff;
  border: 1px solid #ccc;
  margin-top: 0.4em;
  padding: 0.4em;
  position: relative;
}

li .date {
  font-weight: bold;
}

.controls {
  position: absolute;
  top: 4px;
  right: 4px;
}

.controls button {
  padding: 0.2em 0.4em;
  margin-left: 0.25em;
}

/* Pflanzplan */
#pflanzplanContainer {
  display: flex;
  justify-content: center;
}

#pflanzplan {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin: left;
}

#pflanzplan table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#pflanzplan td {
  border: 1px solid #666;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9em;
  padding: 0.3em;
}

/* Farben */
.kartoffel { background: #d2b48c; }
.blume     { background: #ffd700; }
.knoblauch { background: #f5f5dc; }
.koriander { background: #8fbc8f; }
.spinat    { background: #90ee90; }

/* Wachstumsphase Buttons */
.phase-buttons {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  margin-top: 0.5em;
}

.phase-buttons input[type="radio"] {
  display: none;
}

.phase-buttons label {
  background: #e0e0e0;
  padding: 0.5em 1em;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
  border: 2px solid transparent;
  transition: border 0.2s, background 0.2s;
}

.phase-buttons input[type="radio"]:checked + label {
  border-color: #3182ce;
  background: #dbeafe;
  color: #1a202c;
}

@media (max-width: 600px) {
  .zelle {
    font-size: 0.75em;
  }
}
