html[data-public-tenant-page="true"] .header,
html[data-public-tenant-page="true"] .impressum-header,
html[data-public-tenant-page="true"] .datenschutz-header {
  background-image: none;
}

html[data-public-tenant-page="true"] .footer-logo,
html[data-public-tenant-page="true"] #foto-name,
html[data-public-tenant-page="true"] .footer .footer-logo {
  background-image: none;
}

html.public-site-bootstrapping #root,
html.public-site-unavailable #root,
html.public-site-load-error #root {
  display: none;
}

.public-site-status {
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 48px 24px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #3a2b24;
  background: #f5ebe0;
  text-align: center;
}

html.public-site-unavailable .public-site-status--unavailable,
html.public-site-load-error .public-site-status--load-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.public-site-status h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.public-site-status p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.5;
}

.public-site-footer-pickup:empty,
.public-site-footer-contact:empty {
  display: none;
}

.public-site-footer-pickup p,
.public-site-footer-contact p {
  margin: 0 0 6px;
}

.public-site-legal-empty {
  color: inherit;
}

.public-site-about-empty {
  text-align: center;
  padding: 24px 16px;
}

.public-site-content-load-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.public-site-content-load-error__text {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 769px) {
  html[data-gallery-columns="2"] .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-gallery-columns="3"] .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-gallery-columns="5"] .gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}