/* Grundlayout */
body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #d0e6f6, #fef6e4);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
  color: #222;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Infobar */
#infoleiste {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Spielbereich */
#spielbereich {
  width: 800px;
  height: 500px;
  background: white;
  border: 3px solid #555;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.3);
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease-in-out;
  cursor: crosshair;
}

#spielbereich:hover {
  box-shadow: 0 0 35px rgba(0, 123, 255, 0.5);
}

/* Fernwartung Button */
.fernwartung-button {
  position: absolute;
  background-color: #0077c8;
  color: white;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.fernwartung-button:hover {
  background-color: #005fa3;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

/* Neustart Button */
#neuStartBtn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s;
}

#neuStartBtn:hover {
  background-color: #1e7e34;
  transform: scale(1.05);
}

/* Sticky Footer */
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #444;
  z-index: 10;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

/* Responsives Layout */
@media (max-width: 850px) {
  #spielbereich {
    width: 95%;
    height: 300px;
  }

  h1 {
    font-size: 1.5em;
  }

  #infoleiste {
    flex-direction: column;
    align-items: center;
  }
}
