body {
    margin: 0;
    background-color: #111;
    min-height: 100vh;
    color: #ccc;
    font-family: 'Courier New', monospace;
  }
  
  /* Header */
  .header {
    width: 100%;
    height: 200px;
    background-image: url("../../../Images/header_4css_1.png");
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
  
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 2rem;
  }
  
  .header img {
    height: 175px;
    margin-bottom: 2px;
    align-self: center;
  }
  
  /* Hauptlayout */
.main-layout {
    display: flex;
    min-height: calc(100vh - 200px);
}
  
  /* Sidebar / Navigation */
  .sidebar {
    width: 20%;
    background-color: #111;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;  
  }
  
  .sidebar li {
    margin-bottom: 2rem;
  }
  
  .sidebar a {
    color: #ff0033;
    text-decoration: none;
  }
  
  .sidebar a:hover {
    text-decoration: underline;
  }
  
  /* Hauptinhalt */
  .main-content {
    background-color: #111 !important;
    width: 60%;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column; /* ⬅️ wichtig! */
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .main-content p {
    text-align: left;
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
  }
  
  /* Rechte Infoleiste */
  .profile {
    width: 20%;
    background-color: #111;
    padding: 2rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
  }
  
  .profile img {
    max-width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
  }

  .main-content h2 {
    color: #ff5555; /* etwas weicheres Rot */
    font-style: italic;
    opacity: 0.9;
  }

  html {
    background-color: #111;
  }

  .main-layout, .sidebar, .main-content, .profile {
    background-color: #111 !important;
  }

  /* Mobile Layout für Bildschirme kleiner als 768px */
  @media (max-width: 768px) {
    .main-layout {
      flex-direction: column;
    }

    .sidebar,
    .profile {
      width: 100%;
      text-align: center;
      padding: 1rem;
    }

    .main-content {
      width: 100%;
      padding: 1rem;
    }

    .profile img {
      max-width: 50%;
    }

    .sidebar ul {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }

    .sidebar li {
      margin: 0;
    }
  }
