/* Verstecke Checkbox */
#toggle-theme {
    display: none;
  }
  
  /* Body Grundfarbe Light Mode */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
    color: #222;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
    transition: background 0.3s ease, color 0.3s ease;
    color: #222;
  }
  
  .container {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
  }
  
  h1 {
    margin: 10px 0;
    font-size: 24px;
  }
  
  .bio {
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .link-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-sizing: border-box;
  }
  
  .btn img {
    width: 24px;
    height: 24px;
  }
  
  .btn:hover {
    transform: scale(1.03);
    opacity: 0.95;
  }
  
  /* Plattform-Farben */
  .spotify {
    background-color: #1DB954;
  }
  
  .instagram {
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
  }
  
  .youtube {
    background-color: #5865F2;
  }
  
  .tiktok {
    background-color: #000000;
  }
  
  .email {
    background-color: #555;
  }
  
  /* Toggle-Button */
  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #222;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 100;
  }
  
  /* Standard: 🌙 */
  .theme-toggle::after {
    content: "🌙";
    transition: content 0.3s ease;
  }
  
  /* Light Mode aktiviert: ☀️ */
  #toggle-theme:checked + .theme-toggle {
    background-color: #f0c419;
    color: #222;
  }
  #toggle-theme:checked + .theme-toggle::after {
    content: "☀️";
  }
  
  /* Dark Mode */
  #toggle-theme:not(:checked) ~ .page-wrapper {
    background: linear-gradient(to bottom right, #1e1e1e, #2c2c2c);
    color: #f1f1f1;
  }
  #toggle-theme:not(:checked) ~ .page-wrapper .container {
    background-color: #2a2a2a;
    color: #f1f1f1;
  }
  #toggle-theme:not(:checked) ~ .page-wrapper .bio {
    color: #ccc;
  }
  
  /* Light Mode */
  #toggle-theme:checked ~ .page-wrapper {
    background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
    color: #222;
  }
  #toggle-theme:checked ~ .page-wrapper .container {
    background-color: #fff;
    color: #222;
  }
  #toggle-theme:checked ~ .page-wrapper .bio {
    color: #555;
  }
  
  /* Systemvoreinstellung: Dark Mode */
  @media (prefers-color-scheme: dark) {
    #toggle-theme:not(:checked) ~ .page-wrapper {
      background: linear-gradient(to bottom right, #1e1e1e, #2c2c2c);
      color: #f1f1f1;
    }
    #toggle-theme:not(:checked) ~ .page-wrapper .container {
      background-color: #2a2a2a;
      color: #f1f1f1;
    }
    #toggle-theme:not(:checked) ~ .page-wrapper .bio {
      color: #ccc;
    }
  
    #toggle-theme:not(:checked) + .theme-toggle {
      background-color: #222;
      color: #fff;
    }
    #toggle-theme:not(:checked) + .theme-toggle::after {
      content: "🌙";
    }
  }
  