/* HEADER01: ursprünglicher Kopf, identische Regeln auf sämtlichen Inhaltsseiten. */
.ssg-hauptnavigation { --farbe-gold-hell:#e8b830; --farbe-gold:#c8961a;
  --ssgh-nav-fadenkreuz-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044.31%2047.31%22%3E%3Cg%3E%3Cpath%20d%3D%22M31.52%2C27.86c.37-1.04.57-2.15.57-3.31s-.2-2.28-.57-3.31h-.98c.41%2C1.03.63%2C2.14.63%2C3.31s-.23%2C2.29-.63%2C3.31h.98Z%22%20fill%3D%22%23e8b82f%22%2F%3E%3Cpath%20d%3D%22M13.13%2C24.55c0-1.17.23-2.29.63-3.31h-.98c-.37%2C1.04-.57%2C2.15-.57%2C3.31s.2%2C2.28.57%2C3.31h.98c-.41-1.03-.63-2.14-.63-3.31Z%22%20fill%3D%22%23e8b82f%22%2F%3E%3Cpath%20d%3D%22M14.18%2C20.32c1.52-2.85%2C4.52-4.8%2C7.97-4.8s6.45%2C1.95%2C7.97%2C4.8h1.02c-1.59-3.37-5.02-5.71-8.99-5.71s-7.4%2C2.34-8.99%2C5.71h1.02Z%22%20fill%3D%22%23e8b82f%22%2F%3E%3Cpath%20d%3D%22M30.13%2C28.78c-1.52%2C2.85-4.52%2C4.8-7.97%2C4.8s-6.45-1.95-7.97-4.8h-1.02c1.59%2C3.37%2C5.02%2C5.71%2C8.99%2C5.71s7.4-2.34%2C8.99-5.71h-1.02Z%22%20fill%3D%22%23e8b82f%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Cline%20x1%3D%2222.16%22%20y1%3D%2210.38%22%20x2%3D%2222.16%22%20y2%3D%2238.72%22%20fill%3D%22none%22%20stroke%3D%22%23e8b82f%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%22.75%22%2F%3E%3Cline%20x1%3D%227%22%20y1%3D%2224.55%22%20x2%3D%2237.31%22%20y2%3D%2224.55%22%20fill%3D%22none%22%20stroke%3D%22%23e8b82f%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%22.75%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%2222.16%22%20cy%3D%2224.55%22%20r%3D%224.19%22%20fill%3D%22none%22%20stroke%3D%22%23e8b82f%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%22.75%22%2F%3E%3C%2Fsvg%3E");
}

nav.ssg-hauptnavigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 300;
  overflow: visible;
  background: rgba(10, 18, 12, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav.ssg-hauptnavigation::after {
  content: "";
  position: absolute;
  left: 7.25rem;
  right: 1rem;
  bottom: 0;
  z-index: 1;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 150, 26, 0.22) 10%,
    rgba(232, 184, 48, 0.88) 50%,
    rgba(200, 150, 26, 0.22) 90%,
    transparent 100%
  );
  box-shadow: 0 1px 8px rgba(232, 184, 48, 0.22);
}

.ssg-hauptnavigation .hauptnavigation-logo,
.ssg-hauptnavigation .hauptnavigation-linkliste,
.ssg-hauptnavigation .hauptnavigation-menueschalter {
  position: relative;
  z-index: 2;
}

.ssg-hauptnavigation .hauptnavigation-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  white-space: nowrap;
}

.ssg-hauptnavigation .hauptnavigation-logo-bild {
  width: 92px;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  position: relative;
  top: 18px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.ssg-hauptnavigation .hauptnavigation-logo-text {
  font-family: "Playfair Display", serif;
  color: var(--farbe-gold-hell);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: -4px;
}

.ssg-hauptnavigation .hauptnavigation-linkliste {
  display: none;
  list-style: none;
  align-items: center;
}

.ssg-hauptnavigation .hauptnavigation-linkliste a,
.ssg-hauptnavigation .mobile-hauptnavigation a {
  position: relative;
  color: var(--farbe-gold-hell);
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(200, 150, 26, 0.08);
  transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease;
}

.ssg-hauptnavigation .hauptnavigation-linkliste a::before,
.ssg-hauptnavigation .mobile-hauptnavigation a::before {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background-image: var(--ssgh-nav-fadenkreuz-symbol);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 6px rgba(232, 184, 48, 0.28));
}

.ssg-hauptnavigation .hauptnavigation-linkliste a:hover,
.ssg-hauptnavigation .hauptnavigation-linkliste a:focus,
.ssg-hauptnavigation .hauptnavigation-linkliste a:focus-visible,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:hover,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus-visible,
.ssg-hauptnavigation .mobile-hauptnavigation a:hover,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus-visible,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:hover,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

.ssg-hauptnavigation .hauptnavigation-linkliste a:hover::before,
.ssg-hauptnavigation .hauptnavigation-linkliste a:focus::before,
.ssg-hauptnavigation .hauptnavigation-linkliste a:focus-visible::before,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:hover::before,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus::before,
.ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus-visible::before,
.ssg-hauptnavigation .mobile-hauptnavigation a:hover::before,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus::before,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus-visible::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:hover::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus-visible::before {
  opacity: 1;
}

.ssg-hauptnavigation .hauptnavigation-menueschalter {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.ssg-hauptnavigation .hauptnavigation-menueschalter span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ssg-hauptnavigation .hauptnavigation-menueschalter.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ssg-hauptnavigation .hauptnavigation-menueschalter.active span:nth-child(2) {
  opacity: 0;
}

.ssg-hauptnavigation .hauptnavigation-menueschalter.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ssg-hauptnavigation .mobile-hauptnavigation {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  background: rgba(17, 26, 20, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ssg-hauptnavigation .mobile-hauptnavigation.open {
  display: flex;
}

.ssg-hauptnavigation .mobile-hauptnavigation a {
  padding: 1rem 1.25rem 1rem calc(2.66rem + 10px);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ssg-hauptnavigation .mobile-hauptnavigation a::before {
  left: 1.2rem;
  top: 50%;
  width: 1.46rem;
  height: 1.56rem;
  transform: translateY(-50%) scale(0.82);
}

.ssg-hauptnavigation .mobile-hauptnavigation a:hover,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus-visible,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:hover,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.ssg-hauptnavigation .mobile-hauptnavigation a:hover::before,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus::before,
.ssg-hauptnavigation .mobile-hauptnavigation a:focus-visible::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:hover::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus::before,
.ssg-hauptnavigation .mobile-hauptnavigation a.active:focus-visible::before {
  transform: translateY(-50%) scale(1);
}

.ssg-hauptnavigation .hauptnavigation-dropdown {
  display: none;
}

@media (min-width: 1401px) {
  nav.ssg-hauptnavigation {
    --ssgh-navbar-seitenabstand: clamp(5rem, calc((100vw - 1370px) / 2), 18rem);
    position: fixed;
    min-height: 58px;
    padding-left: var(--ssgh-navbar-seitenabstand);
    padding-right: var(--ssgh-navbar-seitenabstand);
    background: linear-gradient(
      180deg,
      rgba(10, 18, 12, 0.82) 0%,
      rgba(17, 26, 20, 0.74) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  nav.ssg-hauptnavigation::after {
    left: calc(var(--ssgh-navbar-seitenabstand) + clamp(9.5rem, 10.5vw, 12.75rem));
    right: var(--ssgh-navbar-seitenabstand);
  }

  .ssg-hauptnavigation .hauptnavigation-logo {
    gap: 0.55rem;
  }

  .ssg-hauptnavigation .hauptnavigation-logo-bild {
    width: 84px;
    top: 6px;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.24));
  }

  .ssg-hauptnavigation .hauptnavigation-logo-text {
    font-size: 0.98rem;
    margin-top: -3px;
  }

  .ssg-hauptnavigation .hauptnavigation-menueschalter,
  .ssg-hauptnavigation .mobile-hauptnavigation {
    display: none;
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste {
    display: flex;
    align-self: stretch;
    gap: clamp(1.7rem, 2.25vw, 3rem);
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste > li {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    height: 100%;
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease, text-shadow 0.2s ease;
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste a::before {
    left: calc(-1.22rem - 5px);
    top: calc(50% - 2px);
    width: 1.22rem;
    height: 1.31rem;
    transform: translateY(-50%) scale(0.82);
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste a:hover::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste a:focus::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste a:focus-visible::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste a.active:hover::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste a.active:focus-visible::before {
    transform: translateY(-50%) scale(1);
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown {
    display: flex;
    z-index: 365;
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown-ausloeser {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown-ausloeser::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    margin-left: 0.12rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    opacity: 0.85;
    transition: transform 180ms ease-in-out, opacity 180ms ease-in-out;
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown:hover .hauptnavigation-dropdown-ausloeser,
  .ssg-hauptnavigation .hauptnavigation-dropdown:focus-within .hauptnavigation-dropdown-ausloeser {
    color: #ffffff;
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown:hover .hauptnavigation-dropdown-ausloeser::after,
  .ssg-hauptnavigation .hauptnavigation-dropdown:focus-within .hauptnavigation-dropdown-ausloeser::after {
    opacity: 1;
    transform: rotate(225deg) translateY(-1px);
  }

  .ssg-hauptnavigation .hauptnavigation-untermenue {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 13.5rem;
    list-style: none;
    display: block;
    padding: 0.58rem;
    margin: 0;
    border: 1px solid rgba(200, 150, 26, 0.34);
    border-top: 1px solid rgba(232, 184, 48, 0.62);
    border-radius: 0 0 12px 12px;
    background: linear-gradient(
      180deg,
      rgba(10, 18, 12, 0.96) 0%,
      rgba(17, 26, 20, 0.92) 100%
    );
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 180ms ease-in-out, transform 180ms ease-in-out, visibility 180ms ease-in-out;
    z-index: 370;
  }

  .ssg-hauptnavigation .hauptnavigation-untermenue::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.85rem;
    height: 0.85rem;
  }

  .ssg-hauptnavigation .hauptnavigation-dropdown:hover .hauptnavigation-untermenue,
  .ssg-hauptnavigation .hauptnavigation-dropdown:focus-within .hauptnavigation-untermenue {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue li {
    display: block;
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a {
    position: relative;
    display: block;
    padding: 0.62rem 0.8rem 0.62rem 2.1rem;
    border-radius: 7px;
    color: var(--farbe-gold-hell);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: nowrap;
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a::before {
    left: 0.58rem;
    top: 50%;
    width: 1.02rem;
    height: 1.1rem;
    transform: translateY(-50%) scale(0.78);
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:hover,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:focus,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:focus-visible,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
  }

  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:hover::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:focus::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a:focus-visible::before,
  .ssg-hauptnavigation .hauptnavigation-linkliste .hauptnavigation-untermenue a.active::before {
    opacity: 1;
    transform: translateY(-50%) scale(0.92);
  }
}

@media (min-width: 1600px) {
  nav.ssg-hauptnavigation {
    --ssgh-navbar-seitenabstand: clamp(12rem, 14.5vw, 17rem);
  }
}

@media (max-width: 700px) {
  .ssg-hauptnavigation .hauptnavigation-logo-bild {
    width: 86px;
  }

  .ssg-hauptnavigation .mobile-hauptnavigation a {
    padding-left: calc(2.42rem + 10px);
  }

  .ssg-hauptnavigation .mobile-hauptnavigation a::before {
    left: 1.05rem;
    width: 1.37rem;
    height: 1.46rem;
  }
}


/* Nur Abmessungen und Scrollzustand vereinheitlichen; Logo, Farben und Hover bleiben. */
html { scroll-padding-top: 100px; }
nav.ssg-hauptnavigation {
  --ssgh-navbar-seitenabstand: clamp(20px, 3vw, 64px);
  position: fixed; min-height: 0; height: 88px; z-index: 900;
  box-sizing: border-box; margin: 0; padding: 0 var(--ssgh-navbar-seitenabstand);
  gap: 24px; background: linear-gradient(180deg,rgba(10,18,12,.9),rgba(17,26,20,.82));
  transition: height 180ms ease;
  font-family: "Source Sans 3",system-ui,sans-serif;
}
.ssg-hauptnavigation * { box-sizing: border-box; }
.ssg-hauptnavigation ul, .ssg-hauptnavigation li { margin: 0; }
.ssg-hauptnavigation .hauptnavigation-linkliste { padding: 0; gap: clamp(16px,1.7vw,32px); }
.ssg-hauptnavigation .hauptnavigation-linkliste > li { height: auto; }
.ssg-hauptnavigation .hauptnavigation-logo-bild { width: 84px; height: 84px; top: 0; transition: width 180ms ease,height 180ms ease; }
.ssg-hauptnavigation .hauptnavigation-logo-text { margin-top: 0; }
.ssg-hauptnavigation .hauptnavigation-logo { flex-shrink: 0; }
.ssg-hauptnavigation .hauptnavigation-untermenue { padding: .58rem; }
.ssg-hauptnavigation .hauptnavigation-linkliste a { line-height: 1.3; }
.ssg-hauptnavigation .mobile-hauptnavigation { top: 100%; max-height: calc(100dvh - 140px); overflow-y: auto; }
.ssg-hauptnavigation .hauptnavigation-menueschalter { flex-shrink: 0; margin: 0; }
.ssg-hauptnavigation .ssg-mitglieder-neu { margin-left: 4px; padding: 2px 5px; border-radius: 4px; color: #142019; background: #e8b830; font: 700 10px/1.2 system-ui,sans-serif; }
.ssg-hauptnavigation [hidden] { display:none!important; }
.ssg-hauptnavigation a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color:#e8b830; text-underline-offset:6px; }
nav.ssg-hauptnavigation.ist-schmal { height: 52px; }
.ssg-hauptnavigation.ist-schmal .hauptnavigation-logo-bild { width: 42px; height: 42px; }
body.ssg-portal-mit-kopf { padding-top: 88px; }
.ssg-portal-mit-kopf .kopf-innen { min-height: 64px; justify-content: flex-end; padding-top: 10px; padding-bottom: 10px; }
.ssg-portal-mit-kopf .kopf nav { justify-content: flex-end; }
@media(max-width:700px) {
  nav.ssg-hauptnavigation { height:76px; gap:12px; padding:0 14px; }
  .ssg-hauptnavigation .hauptnavigation-logo-bild { width:66px; height:66px; }
  .ssg-hauptnavigation .hauptnavigation-logo-text { font-size:.9rem; }
  nav.ssg-hauptnavigation.ist-schmal { height:52px; }
  body.ssg-portal-mit-kopf { padding-top:76px; }
  .ssg-portal-mit-kopf .kopf nav { justify-content:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  nav.ssg-hauptnavigation,.ssg-hauptnavigation .hauptnavigation-logo-bild { transition:none; }
}
@media print {
  nav.ssg-hauptnavigation { display:none!important; }
  body.ssg-portal-mit-kopf { padding-top:0!important; }
}
