body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 1rem;
  background: #f3f3f3;
}

.ansicht-toggle {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.ansicht-toggle input[type="radio"] {
  margin-right: 0.3rem;
  accent-color: #333;
}

.week-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#weekLabel {
  font-weight: bold;
  font-size: 1.3rem;
}

.board.grid-datum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* Genau 7 Spalten ab 1400px */
@media screen and (min-width: 1400px) {
  .board.grid-datum {
    grid-template-columns: repeat(7, 1fr);
  }
}

.dienst-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInCard 0.4s ease forwards;
}

.dienst-card.heute {
  border: 2px solid red;
  box-shadow: 0 0 0 3px #ffeb3b80;
}

.icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #333;
}

.icon .text-icon {
  font-weight: bold;
  font-size: 1.2rem;
  background: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.textblock {
  flex-grow: 1;
}

.datum {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #222;
}

.diensttitel {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  color: #111;
}

.beschreibung {
  font-size: 1rem;
  margin-bottom: 0.1rem;
  color: #333;
}

.zeit {
  font-size: 0.9rem;
  color: #555;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ⏱ Neue Styles für Zeiterfassung */

.stempel-icon {
  font-size: 1.8rem;
  margin-left: auto;
  cursor: pointer;
  color: #111;
  transition: transform 0.1s ease;
}

.stempel-icon:hover {
  transform: scale(1.1);
}

.dienst-card .stempel-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.stempel-zeiten {
  font-size: 0.75rem;
  color: #444;
  text-align: center;
  margin-top: 0.3rem;
  white-space: normal; /* Wichtig */
  display: inline;      /* Macht alles einzeilig */
}
.arbeitszeit {
  margin-left: 0.3rem;
  display: inline;
}
.stempel-zeiten {
  font-size: 0.75rem;
  color: #444;
  text-align: center;
  margin-top: 0.3rem;
}

.stempel-zeiten-zeile {
  margin-bottom: 0.2rem;
}

.arbeitszeit {
  font-weight: bold;
  color: #222;
}
