/* Grundlayout */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: rgb(31, 31, 31);
}
  
  /* Content Responsiv */
  .content {
    margin-left: 60px;
    padding: 20px;
    color: white;
    max-width: 900px; /* Textblock bleibt lesbar */
  }
  
  /* Logo */
  .logo {
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    width: 100%;
    border-bottom: none; /* Standard: kein Border */
    transition: border-bottom 0.3s ease;
  }
  
  /* Nur wenn Sidebar ausgefahren */
  .sidebar:hover .logo {
    border-bottom: 1px solid white;
    
  }
  
  /* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: fit-content;       /* passt sich dem Inhalt (z. B. B2L Logo) an */
    min-width: 80px;          /* niemals kleiner als 60px */
    height: 100%;
    background: black;
    color: white;
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 1000;
    font-weight: bold;
  }
  
  /* Sidebar Hover */
  .sidebar:hover {
    width: fit-content;             /* smooth nach vorne */
    min-width: 180px;
  }
  
  /* Links Navigation */
  .sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 20px;
    font-size: 18px;
    opacity: 0;                /* Start: unsichtbar */
    transform: translateX(-10px); /* leicht nach links verschoben */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  /* Text smooth einblenden */
  .sidebar:hover a {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
  }
  
  .sidebar a:hover {
    color: black;
    background-color: white;
  }
  
  /* Aktiver Link */
  .sidebar a.active {
    background: white;
    color: black;
  }
  
  /* Navigation Liste */
  .sidebar ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  .sidebar li {
    list-style: none;
    width: 100%;
  }
  
  /* Textvarianten */
  .full-text {
    display: none;
  }
  
  .sidebar:hover .short-text {
    display: none;
  }
  .sidebar:hover .full-text {
    display: inline;
  }
  
  /* Video Grid */
  .video-grid {
    margin-left: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    padding: 0;
  }
  
  .video-card {
    position: relative;
  }
  
  .video-card video {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
  }
  
  /* Responsive Anpassungen */
  @media (max-width: 768px) {
    .logo {
      font-size: 18px;
    }
  
    .sidebar a {
      font-size: 14px;
      padding: 15px;
    }
  
    .video-grid {
      grid-template-columns: 1fr; /* nur 1 Video pro Reihe */
      margin-left: 50px;
    }
  }
  