
body {
  margin: 0;
  font-family: sans-serif;
  background: #0f0f1a;
  color: #e0e0e0;
}

header {
  text-align: center;
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: #181828;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.4);
}

.card h2 {
  margin: 0.5rem 0;
}

.status-badge {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  margin: 0.5rem 0;
  transition: box-shadow 0.3s, transform 0.2s;
}

/* Status Colors + Glow */
.status-online {
  background-color: #28a745;
  color: #fff;
  box-shadow: 0 0 15px #28a74588;
}

.status-ueberlastet {
  background-color: #ffc107;
  color: #000;
  box-shadow: 0 0 15px #ffc10788;
}

.status-down {
  background-color: #dc3545;
  color: #fff;
  box-shadow: 0 0 15px #dc354588;
}

/* Hover-Glow-Boost */
.status-badge:hover {
  box-shadow: 0 0 25px currentColor;
  cursor: pointer;
  transform: scale(1.05);
}

.users {
  font-size: 0.9rem;
  color: #aaa;
}

.gesamt-counter {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0;
  color: #00ff99;
  font-weight: bold;
}

.bewertung {
  margin: 2rem auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bewertungen ul {
  list-style: none;
  padding: 0;
}

.bewertungen li {
  background: #222;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: 8px;
}

button {
  padding: 0.5rem;
  background: #00ff99;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.sterne {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  color: #444;
  cursor: pointer;
  justify-content: center;
  margin: 0.5rem 0;
}

.sterne span {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.sterne span.active {
  color: #00ff99;
  text-shadow: 0 0 5px rgba(0,255,153,0.5);
}

footer {
  margin-top: 4rem;
  padding: 1rem;
  text-align: center;
  background: #181828;
  color: #00ff99;
  font-size: 0.9rem;
  border-top: 1px solid #00ff99;
}

footer a {
  color: #00ff99;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
  color: #00e68a;
}

.card .bewertung-score {
  margin-top: 0.5rem;
  color: #00ff99;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: center;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInBanner {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;

  opacity: 0;
  animation: fadeInOverlay 0.6s ease-out forwards;
}

.cookie-banner {
  background: rgba(34,34,34,0.9);
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 9999;
  font-size: 15px;
  line-height: 1.5;

  opacity: 0;
  animation: fadeInBanner 0.5s ease-out 0.2s forwards;
}

.cookie-banner p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
}

.cookie-banner a {
  color: #4da6ff;
  text-decoration: underline;
}

.cookie-banner button {
  margin: 0 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

#accept-cookies {
  background: #4caf50;
  color: white;
}
#accept-cookies:hover {
  background: #43a047;
}

#decline-cookies {
  background: #f44336;
  color: white;
}
#decline-cookies:hover {
  background: #e53935;
}

.cookie-banner.declined {
  background: rgba(200,0,0,0.95);
  color: #fff;
  animation: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.cookie-banner.declined #cookie-text {
  color: #fff !important;
  font-weight: bold;
}

