/* --- Grundlayout --- */
/* --- Grundlayout --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

body {
  min-height: 100vh; /* Body passt sich dem Inhalt an */
  color: #000;
  background-image: url("img/background_quer.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Header --- */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  color: red; /* Schriftfarbe */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  font-family: 'Luckiest Guy', cursive; /* Google-Font */
  font-size: clamp(40px, 10vw, 100px); /* Reagiert auf Bildschirmgröße */
  text-align: center;
  flex-wrap: wrap; /* Mehrere <h1> umbrechen, falls nötig */
}



/* --- Steuerung (Datum + Senderwahl) --- */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

/* --- Radio-Buttons --- */
.sender-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sender-buttons label {
  cursor: pointer;
}

/* Die Radio-Buttons nicht verstecken! */
/* .sender-buttons input[type="radio"] {
  display: none;
} */

/* --- Baum und Bubbles --- */
.tree-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.tree {
  width: 400px;
}

#bubbles {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 100%;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 3px solid white;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.bubble:hover {
  transform: scale(1.1);
}

/* --- Tooltip beim Hover --- */
.tooltip {
  position: absolute;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-size: 0.9em;
  display: none;
  white-space: nowrap;
}

/* --- Infotext (Zettel) --- */
.zettel {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 60px auto;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
}

.zettel::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background: url('paper-edge.svg') no-repeat center bottom;
  background-size: cover;
}

/* --- Datumseingabe --- */
#datepicker {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  cursor: pointer;
}
