#hd-katalog-launch {
  position: fixed;
  z-index: 990;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 5px 19px;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #153e39;
  color: #fff;
  font: 600 16px/1.3 system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 3px 15px #193f392e;
}
#hd-katalog-launch:hover, #hd-katalog-close:hover { background: #28574e; color: #fff; }
#hd-katalog-launch:focus-visible, #hd-katalog-close:focus-visible { outline: 3px solid #ce7b4a; outline-offset: 3px; }
#hd-katalog-dialog:not([open]) { display: none; }
#hd-katalog-dialog[open] {
  position: fixed; inset: 0; margin: auto; padding: 0; box-sizing: border-box;
  width: min(96vw, 1380px); max-width: none; height: 94vh; height: 94dvh; max-height: none;
  display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: 9px;
  background: #f7f5ef; color: #153e39;
}
#hd-katalog-dialog::backdrop { background: rgba(13, 27, 23, .68); }
#hd-katalog-dialog .hd-katalog-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 5px 12px; background: #153e39; color: white; font: 16px/1.3 system-ui, sans-serif;
}
#hd-katalog-close { padding: 8px 12px; min-height: 44px; border: none; border-radius: 3px; background: transparent; color: white; cursor: pointer; font: inherit; }
#hd-katalog-dialog .hd-katalog-pages { flex: 1; min-height: 0; }
#hd-katalog-dialog iframe { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; display: block; }
html.hd-katalog-open { overflow: hidden; }
@media (max-width: 680px) {
  #hd-katalog-dialog[open] { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
}
@media print { #hd-katalog-launch, #hd-katalog-dialog[open] { display: none; } }

.hd-katalog-bildlink { display: inline-block; max-width: 100%; }
.hd-katalog-bildlink:focus-visible { outline: 3px solid #ce7b4a; outline-offset: 3px; }
