.sg-kopf {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 75px;
  padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  background: #c61b1b;
  color: #fff;
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.sg-kopf a, .sg-kopf button, #sg-menue a { color: #fff; text-decoration: none; }

.sg-logo { display: block; width: 44px; flex: 0 0 44px; }
.sg-logo img { display: block; width: 44px; height: auto; }

.sg-nav { margin-left: auto; }
.sg-nav > ul { display: flex; align-items: center; gap: 36px; margin: 0; padding: 0; list-style: none; }
.sg-nav a, .sg-mehr > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
}
.sg-nav a[aria-current="page"], .sg-mehr.sg-aktiv > button,
.sg-nav a:hover, .sg-mehr > button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.sg-mehr { position: relative; }
.sg-mehr > button svg { width: 10px; height: 10px; transition: transform .2s; }
.sg-mehr > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sg-mehr > ul {
  position: absolute;
  top: calc(100% + 18px);
  right: -24px;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #c61b1b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.sg-mehr > ul a { display: block; padding: 10px 24px; white-space: normal; }

.sg-fb { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; }
.sg-fb svg { width: 20px; height: 20px; }

.sg-burger {
  display: none;
  margin-left: auto;
  margin-right: -10px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.sg-burger span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .25s, opacity .2s;
}
.sg-burger span:nth-child(1) { top: 16px; }
.sg-burger span:nth-child(2) { top: 23px; }
.sg-burger span:nth-child(3) { top: 30px; }
.sg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#sg-menue {
  position: fixed;
  top: 75px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2100;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  background: #c61b1b;
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.35;
}
#sg-menue[hidden] { display: none; }
#sg-menue ul { margin: 0; padding: 0; list-style: none; }
#sg-menue li a { display: block; padding: 13px 0; overflow-wrap: anywhere; }
#sg-menue li a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
#sg-menue .sg-fb { margin: 24px 0 0 -10px; }

html.sg-menue-offen, html.sg-menue-offen body { overflow: hidden; }

.sg-kopf :focus-visible, #sg-menue :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 999px) {
  .sg-nav, .sg-kopf > .sg-fb { display: none; }
  .sg-burger { display: block; }
}

main section { scroll-margin-top: 75px; }

a.iLLnT { display: block; }

.sg-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sg-status { margin: 16px 0 0; font-size: 1rem; line-height: 1.5; }
.sg-status[data-art="fehler"] { color: #a31616; }
.sg-status[data-art="ok"] { padding: 16px 18px; border-left: 4px solid #c61b1b; background: #fbeaea; color: #3b1010; }
.sg-status a { color: inherit; text-decoration: underline; }
.sg-hilfe { margin-top: 6px; font-size: .875em; opacity: .75; }
form[data-sg-form] button[aria-busy="true"] { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  .sg-burger span, .sg-mehr > button svg { transition: none; }
}
