
/*  Hilfe zur Barrierefreiheit- Responsive Anpassungen ---768----------- */
@media (max-width: 768px) {
  #accessibility-popup {
    width:100%;
    padding: 0.3rem 0.3rem;
    max-height: 85vh;	
  }

  .popup-header h2 {
    font-size: 1.25rem;
  }

  .accessibility-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .icon-and-text {
    gap: 0.5rem;
  }

  .slider:before {
    height: 20px;
    width: 20px;
  }

  input:checked + .slider:before {
    transform: translateX(22px);
  }
   .switch {
    width: 46px;
    height: 24px;
  }

  .slider.round:before {
    height: 20px;
    width: 20px;
  } 
}

/* --------- Hilfe zur Barrierefreiheit---Responsive Anpassungen --------480-------------- */
@media (max-width: 480px) {
  #access-widget {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
 
  .popup-content {  
  padding: 0.5rem;
  border-radius: 0.5rem;
  max-width: 100%;
  width: 100%; 
  }
  
  .label-text {
    font-size: 0.95rem;
  }
  .toggle-description {
    font-size: 0.7rem;
	color:#000;	
  }

  #accessibility-popup {
    padding: 0.8rem 1rem;
  }

  .popup-header h2 {
    font-size: 1.1rem;
  }

 .accessibility-toggle {
  display: flex;
  align-items: center;
  gap: 0rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.5rem;   
  border-radius: 0.2rem;
  min-height: 40px;
 }

  .accessibility-toggle .icon {
  display: inline-flex;
  align-items: center;       /* richtiges Alignment für vertikale Zentrierung */
  justify-content: center;   /* zentriert das Bild horizontal */
  height: 3.25rem;
  border: 1px solid black;
  color: #222;
  }

.icon-image {
  width: 45px;       /* oder z. B. 2.5rem */
  height: 45px;
  max-width: 100%;
  max-height: 100%;  
  object-fit: contain;  /* sorgt für korrektes Einpassen */
}

  .label-text {
    font-size: 1.05rem;
  }
}
/*----------- --- Responsive Anpassungen -----480----------------- */


