/* === Grundlayout === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top left, #0ff, #111);
  color: white;
  height: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* === Logo-Banner oben === */
.logo-banner {
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.logo-banner img {
  width: 100px;
  height: auto;
}
.logo-banner h3 {
  font-family: 'Orbitron', sans-serif;
  color: #000;
  margin-top: 1rem;
}

/* === Sidebar – Floating Style === */
.sidebar {
  position: fixed;
  top: 2rem;
  left: 2rem;
  width: 220px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  z-index: 1000;
}
.side-nav a {
  display: block;
  margin: 0.8rem 0;
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.side-nav a.active {
  background: #0ff;
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  box-shadow: 0 0 8px #0ff;
}
.side-nav a:hover {
  text-shadow: 0 0 6px #0ff;
}

/* === Inhalt === */
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* === Textblock Style === */
.textblock {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  margin-bottom: 2rem;
}
.textblock h1 {
  font-family: 'Orbitron', sans-serif;
  color: #0ff;
  text-align: center;
  margin-bottom: 1rem;
}
.textblock p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* === Footer (weiterhin mittig & abgerundet) === */
footer {
  background: rgba(0, 0, 0, 0.4); /* halbtransparent */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
  padding: 2rem 1.5rem;
  max-width: 960px;
  margin: 4rem auto 2rem auto;
  color: #ddd;
  text-align: center;
  font-size: 0.95rem;
  transition: all 0.4s ease;
}

footer .nav a {
  color: #0ff;
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: bold;
  transition: 0.2s;
}

footer .nav a:hover {
  text-shadow: 0 0 6px #0ff;
  color: #fff;
}

.sidebar {
  overflow-y: auto;
  max-height: 90vh;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}


.card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

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

.card h2 {
  font-family: 'Orbitron', sans-serif;
  color: #0ff;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #0ff;
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,255,255,0.2);
  transition: background 0.3s ease;
}
.btn:hover {
  background: #00cccc;
}
.filter-button {
  display: inline-block;
  background: rgba(0, 255, 255, 0.15);
  color: #0ff;
  border: 1px solid #0ff;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Orbitron', sans-serif;
}

.filter-button:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 10px #0ff;
}

.filter-button.active {
  background: #0ff;
  color: #000;
}
@media (max-width: 768px) {

  /* Sidebar unterhalb als Panel statt links fixiert */
  .sidebar {
    position: static;
    width: 100%;
    max-width: none;
    padding: 1rem;
    margin: 1rem auto;
    box-shadow: none;
    border-radius: 0;
  }

  .side-nav a {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    text-align: center;
  }

  /* Logo kleiner */
  .logo-banner img {
    width: 70px;
  }

  .logo-banner h3 {
    font-size: 1.1rem;
  }

  /* Main Content Abstand anpassen */
  .main-content {
    padding: 2rem 1rem;
  }

  /* Textblock kompakter */
  .textblock {
    padding: 1rem;
  }

  .textblock p {
    font-size: 1rem;
  }

  /* Grid auf 1 Spalte */
  .card-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  /* Footer lesbarer */
  footer {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }

  footer .nav a {
    display: block;
    margin: 0.5rem 0;
  }
}
img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  transition: border-radius 0.2s ease;
}
