body {
  background-color: #eee;
  font-family: Arial, sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* kein Seiten-Scrollen */
}

/* HEADER */
#header {
  text-align: center;
  padding: 15px;
  background-color: #eee;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
#boardTitle {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  width: 60%;
  border: none;
  outline: none;
  background: transparent;
}

/* SCROLLBAR-CONTAINER */
#board-container {
  flex: 1;
  position: relative;
  overflow: scroll;
  width: 100vw;
  height: calc(100vh - 70px);
  background: #f0f0f0;
  margin-top: 70px;
  margin-bottom: 60px;
  cursor: grab;
}

/* GROSSES BOARD */
#board {
  position: relative;
  width: 2000px;
  height: 1200px;
  transform-origin: center center;
}

/* Neue Notiz Button */
#newNoteBtn {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
}

/* Zoom Buttons */
#controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}
#controls button {
  padding: 6px 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255,255,255,0.9);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.1s;
}
#controls button:hover { transform: scale(1.1); }

/* Notiz-Styling (unverändert aus deinem Code) */
.note {
  position: absolute;
  min-width: 180px;
  min-height: 80px;
  padding: 5px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  cursor: grab;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 5px;
  user-select: none;
  background-color: #FFEFBA;
  box-sizing: border-box;
}

.note textarea {
  width: 100%;
  min-height: 40px;
  border: none;
  resize: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  overflow: hidden;
  box-sizing: border-box;
}

.note-header {
  display: flex;
  justify-content: flex-end;
}
.note .delete {
  cursor: pointer;
  font-weight: bold;
  color: red;
}
.note .colors {
  display: flex;
  gap: 5px;
  margin-top: auto;
  flex-wrap: nowrap;
}
.note .color-btn {
  width: 20px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid #aaa;
  cursor: pointer;
  flex-shrink: 0;
}
.note .size-buttons {
  display: flex;
  gap: 5px;
  margin-top: 3px;
  margin-bottom: 5px;
  justify-content: flex-start;
}
.note .size-buttons button {
  cursor: pointer;
  padding: 2px 6px;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fff;
}
.note .resize-handle {
  width: 12px;
  height: 12px;
  background: #555;
  position: absolute;
  right: 2px;
  bottom: 2px;
  cursor: se-resize;
  border-radius: 2px;
}
