:root {
  --accent: #cfe36e; /* gelbgrün wie Deko-Ecke */
  --accent-2: #f1d668; /* gelb wie zweite Ecke */
  --ink: #222;
}

.year-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px auto 24px;
  padding: 4px;
}

.year-switch button {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6)
    ),
    var(--accent);
  color: var(--ink);
  font-family: Roboto, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s;
}

.year-switch button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.year-switch button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.year-switch button.is-active {
  background: var(--accent-2);
  border-color: rgba(0, 0, 0, 0.18);
}

.year-switch button:focus {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .year-switch {
    gap: 8px;
  }
  .year-switch button {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}
