/* Vollständige Ersatzdatei für den Demo-Footer
   Ziel: Disclaimer und Copyright nicht mehr in einer schmalen linken Spalte umbrechen,
   sondern breit und sauber unter Navigation und Markenblock darstellen. */

.checkcom-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  padding: 44px 0 38px;
}

.checkcom-footer .checkcom-footer-grid,
footer.footer .container.footer-grid.checkcom-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: start !important;
  gap: 18px 42px !important;
}

.checkcom-footer .footer-brand-block {
  min-width: 0;
  max-width: 340px;
}

.checkcom-footer .footer-brand-block strong {
  display: block;
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.35;
}

.checkcom-footer .checkcom-footer-links,
footer.footer .footer-links.checkcom-footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px 22px !important;
  min-width: 0;
  width: 100%;
}

.checkcom-footer .checkcom-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.35;
}

.checkcom-footer .checkcom-footer-links a:hover,
.checkcom-footer .checkcom-footer-links a:focus-visible {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkcom-footer .footer-meta-block {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
  padding-top: 8px;
}

.checkcom-footer .footer-disclaimer,
.checkcom-footer .footer-copyright {
  margin: 0 0 12px;
  width: 100%;
  max-width: none;
  color: #64748b;
  line-height: 1.7;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.checkcom-footer .footer-copyright {
  margin-bottom: 0;
}

.checkcom-footer .footer-domain-link {
  color: inherit;
  text-decoration: none;
}

.checkcom-footer .footer-domain-link:hover,
.checkcom-footer .footer-domain-link:focus-visible {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .checkcom-footer .checkcom-footer-grid,
  footer.footer .container.footer-grid.checkcom-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .checkcom-footer .footer-brand-block {
    max-width: none;
  }

  .checkcom-footer .footer-meta-block {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .checkcom-footer {
    padding: 34px 0 30px;
  }

  .checkcom-footer .checkcom-footer-links,
  footer.footer .footer-links.checkcom-footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-items: start !important;
    gap: 10px 16px !important;
  }

  .checkcom-footer .checkcom-footer-links a {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .checkcom-footer .checkcom-footer-links,
  footer.footer .footer-links.checkcom-footer-links {
    grid-template-columns: 1fr;
  }
}
