/* Shared footer credit and precise cleanup for the supplied header mark. */
body.has-cinematic-hero .brand img[src$="ackermann-bau-logo-header-trimmed.png"] {
  clip-path: inset(10% 0 0 0);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.28rem 0.72rem 0.28rem 0.34rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(11, 20, 32, 0.12);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 20, 32, 0.08);
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.footer-credit img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-credit span {
  display: grid;
  line-height: 1.08;
}

.footer-credit small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.footer-credit strong {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(27, 73, 101, 0.34);
  transform: translateY(-2px);
}

.footer-credit:focus-visible {
  outline: 3px solid rgba(27, 73, 101, 0.28);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .footer-credit {
    margin-top: 0.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-credit {
    transition: none;
  }
}
