/* Constantin Stimm Digital Solutions · Modernes CS in Gold · 15.09.2026
   Nach den übrigen Styles laden. Die Bildmarke wird lokal eingebunden. */
.wordmark.sds-brand {
  display: inline-grid;
  grid-template-columns: 46px max-content;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  justify-content: start;
  justify-self: start;
  column-gap: 10px;
  row-gap: 4px;
  min-height: 48px;
  flex: 0 0 auto;
  text-decoration: none;
}

.sds-brand .brand-logo {
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  width: 46px;
  height: 46px;
  position: relative;
  overflow: hidden;
}

/* Zeigt den freigegebenen CS-Teil des unveränderten Logo-Lockups.
   Der Firmenname daneben bleibt echter, zugänglicher HTML-Text. */
.sds-brand .brand-logo img {
  position: absolute;
  display: block;
  width: 510%;
  height: auto;
  max-width: none;
  left: -33%;
  top: -35.5%;
}

.wordmark.sds-brand strong {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  color: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.wordmark.sds-brand > span:not(.brand-logo) {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: #655b4f;
  font-size: 8px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: .19em;
  white-space: nowrap;
}

.footer .wordmark.sds-brand > span:not(.brand-logo) { color: #d4c6b3; }
.wordmark.sds-brand:focus-visible {
  outline: 2px solid #8c6c40;
  outline-offset: 5px;
  border-radius: 4px;
}
.footer .wordmark.sds-brand:focus-visible { outline-color: #e5d2ad; }

@media (max-width: 600px) {
  .wordmark.sds-brand {
    grid-template-columns: 40px max-content;
    column-gap: 8px;
    row-gap: 4px;
    min-height: 44px;
  }
  .sds-brand .brand-logo { width: 40px; height: 40px; }
  .wordmark.sds-brand strong { font-size: 14px; }
  .wordmark.sds-brand > span:not(.brand-logo) { font-size: 7.5px; letter-spacing: .16em; }
  .nav { column-gap: 12px; }
  .menu-toggle { flex-shrink: 0; }
  .legal-nav { flex-wrap: wrap; gap: 10px 18px; padding-block: 12px; }
}
