:root {
  --color-white:    #ffffff;
  --color-gray:     #e0e0e0;
  --color-text:     #1a1a1a;
  --color-hover:    #0073e6;
  --color-heading:  #444444;
}

.footer-widgets-container {
  border-top: 1px solid var(--color-gray) !important;
  border-bottom: 1px solid var(--color-gray) !important;
  background-color: var(--color-white);
  padding: 3rem 3rem;
}

.footer-widgets .inside-footer-widgets {
  display: grid;                                 
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;                                              
  margin-left: auto;                                
  margin-right: auto;                               
  padding: 0 1rem;                                  
  box-sizing: border-box;                          
}

.footer-widgets .inside-footer-widgets > div {
  min-width: 400px;
}


.footer-widgets h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);;
  margin-bottom: 1rem;
  line-height: 1.4;
}


.footer-widgets p {
  margin: 0 0 0.2rem 0;
}

.footer-widgets p a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: 0.1rem 0;
  transition: color 0.2s ease-in-out;
}

.footer-widgets p a:hover {
  color: var(--color-hover);
}

.site-info,
.footer-bottom {
  display: none !important;
}

@media (max-width: 768px) {
  .footer-widgets .inside-footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-widgets .inside-footer-widgets > div {
    grid-template-columns: 1fr;
  }
}


.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}


.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: -1.5rem;          
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}


.footer-social .social {
  line-height: 0;           
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px; 
  border-radius: 6px;        
  text-decoration: none;
}

.footer-social .social img {
  display: block;
  width: 22px; height: 22px; 
}

.footer-social .social:hover {
  transform: translateY(-1px);
  opacity: 0.8;
  transition: transform 120ms ease, opacity 120ms ease;
}

@media (max-width: 600px) {
  .footer-social {
    padding: 0.75rem 1rem;
  }
}



@media (max-width: 600px) {
  .footer-widgets .inside-footer-widgets {
    grid-template-columns: 1fr;
    gap: 1.2rem; 
  }

  .footer-widgets .inside-footer-widgets > div {
    min-width: unset;
  }

  .footer-widgets h1 {
    font-size: clamp(1rem, 1.2vw + 0.75rem, 1.15rem);
  }
  .footer-widgets p a {
    font-size: clamp(0.85rem, 0.4vw + 0.7rem, 0.95rem);
    line-height: 1.35;
  }

  .footer-social {
    justify-content: center;
    padding-left: 0;
    margin-top: 1rem;
  }
}


@media (min-width: 601px) and (max-width: 992px) {
  .footer-widgets h1 {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, 1.05rem);
  }

  .footer-widgets p a {
    font-size: clamp(0.8rem, 0.3vw + 0.65rem, 0.9rem);
    line-height: 1.3;
  }
}


@media (max-width: 992px) {
  .footer-widgets .inside-footer-widgets aside,
  .footer-widgets .inside-footer-widgets .widget,
  .footer-widgets .inside-footer-widgets .widget-inner {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  
  .footer-widgets .inside-footer-widgets > .grid-parent,
  .footer-widgets .inside-footer-widgets > [class*="footer-widget-"] {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* Letztes Element ohne Zusatz-Abstand nach unten */
  .footer-widgets .inside-footer-widgets aside > :last-child {
    margin-bottom: 0 !important;
  }
}
