
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    

    /* Footer: durchgehend Dark Theme (unabhängig vom System-Light/Dark-Mode) */
    #footer-embed {
      --hg-footer-link: #f8fafc;
      --hg-footer-muted: #cbd5e1;
      --hg-footer-accent: #ffc978;
      --hg-footer-bg-dark: #0f1014;
      --hg-footer-content-max: clamp(1100px, 90vw, 1640px);
      position: relative;
      z-index: 10100; /* über fixierter Sticky-CTA (stickywerbung), damit Leiste „dahinter“ liegt */
      width: 100%;
      max-width: none;
      font-family: "Inter", system-ui, -apple-system, sans-serif;
      color-scheme: dark;
    }

    #footer-embed .hg-footer {
      position: relative;
      overflow: hidden;
      width: 100%;
      margin: 0;
      padding: 0;
      border-top: none;
      box-shadow:
        0 -14px 36px -14px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.44);
      background-color: var(--hg-footer-bg-dark);
      isolation: isolate;
    }

    #footer-embed .hg-f-cosmic {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
      background-color: var(--hg-footer-bg-dark);
      background-image:
        linear-gradient(
          110deg,
          rgba(255, 255, 255, 0.038) 0%,
          rgba(92, 118, 158, 0.07) 22%,
          rgba(255, 145, 85, 0.04) 48%,
          rgba(110, 132, 168, 0.06) 72%,
          rgba(255, 255, 255, 0.032) 100%
        ),
        linear-gradient(
          110deg,
          #12131a 0%,
          #161922 26%,
          #1c202a 50%,
          #15171e 74%,
          #0c0d11 100%
        ),
        radial-gradient(ellipse 85% 70% at 78% -12%, rgba(255, 160, 95, 0.055), transparent 58%),
        radial-gradient(ellipse 75% 65% at -8% 108%, rgba(115, 140, 190, 0.06), transparent 55%);
      background-size: 240% 100%, 240% 100%, 100% 100%, 100% 100%;
      background-repeat: no-repeat;
      background-position: 8% 50%, 8% 50%, 0 0, 0 0;
      animation: hg-f-cosmic-aurora-dark 24s ease-in-out infinite;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.075),
        inset 0 -1px 0 rgba(0, 0, 0, 0.44),
        inset 0 0 120px rgba(0, 0, 0, 0.22);
    }

    @keyframes hg-f-cosmic-aurora-dark {
      0%,
      100% {
        background-position: 8% 50%, 8% 50%, 0 0, 0 0;
      }
      50% {
        background-position: 92% 50%, 92% 50%, 0 0, 0 0;
      }
    }

    #footer-embed .hg-f-cosmic__warp {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
      filter: saturate(0.92) brightness(0.88);
    }

    #footer-embed .hg-f-cosmic__warp::before,
    #footer-embed .hg-f-cosmic__warp::after {
      content: "";
      position: absolute;
      pointer-events: none;
      mix-blend-mode: screen;
      filter: blur(16px);
      opacity: 0.42;
    }

    #footer-embed .hg-f-cosmic__warp::before {
      width: 88%;
      height: 270%;
      left: -24%;
      top: -92%;
      border-radius: 44% 56% 52% 48% / 46% 44% 56% 54%;
      background: radial-gradient(
        ellipse 68% 58% at 48% 52%,
        rgba(255, 220, 185, 0.55) 0%,
        rgba(255, 155, 72, 0.28) 42%,
        transparent 70%
      );
      animation: hg-f-cosmic-swirl-a 60s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    #footer-embed .hg-f-cosmic__warp::after {
      width: 92%;
      height: 260%;
      right: -28%;
      top: -78%;
      left: auto;
      border-radius: 54% 46% 44% 56% / 52% 48% 44% 56%;
      background: radial-gradient(
        ellipse 62% 54% at 52% 46%,
        rgba(255, 245, 225, 0.42) 0%,
        rgba(230, 120, 32, 0.22) 48%,
        transparent 72%
      );
      opacity: 0.62;
      animation: hg-f-cosmic-swirl-b 76s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
      animation-delay: -28s;
    }

    @keyframes hg-f-cosmic-swirl-a {
      0%,
      100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 44% 56% 52% 48% / 46% 44% 56% 54%;
      }
      32% {
        transform: translate(6%, 7%) rotate(108deg) scale(1.07);
        border-radius: 56% 44% 46% 54% / 54% 46% 52% 48%;
      }
      64% {
        transform: translate(-5%, 5%) rotate(216deg) scale(0.93);
        border-radius: 48% 52% 58% 42% / 44% 54% 48% 52%;
      }
    }

    @keyframes hg-f-cosmic-swirl-b {
      0%,
      100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 54% 46% 44% 56% / 52% 48% 44% 56%;
      }
      38% {
        transform: translate(-9%, 9%) rotate(-118deg) scale(1.11);
        border-radius: 46% 54% 56% 44% / 48% 52% 56% 44%;
      }
      72% {
        transform: translate(7%, -4%) rotate(-236deg) scale(0.89);
        border-radius: 52% 48% 50% 50% / 56% 44% 48% 52%;
      }
    }

    #footer-embed .hg-f-cosmic__shimmer {
      position: absolute;
      inset: -15%;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(
        118deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 38%,
        rgba(255, 215, 175, 0.32) 50%,
        transparent 64%
      );
      background-size: 240% 240%;
      background-position: 50% 50%;
      mix-blend-mode: overlay;
      filter: blur(1px);
      opacity: 0.48;
      animation: hg-f-cosmic-shimmer 20s ease-in-out infinite;
    }

    @keyframes hg-f-cosmic-shimmer {
      0%,
      100% {
        background-position: 8% 42%;
        transform: rotate(-2deg) scale(1.02);
        opacity: 0.58;
      }
      50% {
        background-position: 92% 58%;
        transform: rotate(2.5deg) scale(1.06);
        opacity: 0.92;
      }
    }

    #footer-embed .hg-footer__inner {
      position: relative;
      z-index: 3;
      max-width: min(100%, var(--hg-footer-content-max));
      margin: 0 auto;
      padding: clamp(2.15rem, 4.5vw, 2.75rem) clamp(0.75rem, 3vw, 1.25rem) 1.15rem;
    }

    #footer-embed .hg-footer-links {
      background: transparent;
      padding: 0;
      margin: 0 0 1rem;
    }

    #footer-embed .hg-footer-links__list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 8px 18px;
    }

    #footer-embed .hg-footer-links a {
      display: inline-block;
      color: var(--hg-footer-link);
      text-decoration: none;
      font-size: 12.5px;
      line-height: 1.35;
      font-weight: 500;
      font-family: "DM Sans", system-ui, sans-serif;
      transition: color 0.18s ease, opacity 0.18s ease;
    }

    #footer-embed .hg-footer-links a:hover,
    #footer-embed .hg-footer-links a:focus-visible {
      color: var(--hg-footer-accent);
      outline: none;
    }

    @media (max-width: 767px) {
      /* 2 Spalten × 4 Zeilen, zentriert, kompakt mit klarem Rhythmus */
      #footer-embed .hg-footer-links__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        column-gap: 1rem;
        row-gap: 0.45rem;
        justify-items: center;
        justify-content: center;
        text-align: center;
        max-width: min(100%, 19.5rem);
        margin-left: auto;
        margin-right: auto;
      }

      #footer-embed .hg-footer-links a {
        font-size: 11px;
        line-height: 1.28;
        padding: 2px 0;
        word-break: break-word;
        hyphens: manual;
      }
    }

    @media (min-width: 768px) {
      #footer-embed .hg-footer__inner {
        padding-top: clamp(2.35rem, 4vw, 2.85rem);
        padding-bottom: 1.25rem;
      }

      #footer-embed .hg-footer-links__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px 24px;
      }

      #footer-embed .hg-footer-links a {
        font-size: 12px;
        color: var(--hg-footer-muted);
      }

      #footer-embed .hg-footer-links a:hover,
      #footer-embed .hg-footer-links a:focus-visible {
        color: var(--hg-footer-accent);
      }
    }

    #footer-embed .hg-footer__rule {
      margin: 0 0 1rem;
      border: none;
      height: 0;
      border-top: 1px dashed rgba(255, 255, 255, 0.28);
      opacity: 0.9;
    }

    #footer-embed .hg-footer__bar {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      gap: 0.85rem;
      text-align: center;
    }

    @media (min-width: 640px) {
      #footer-embed .hg-footer__bar {
        flex-direction: row;
        align-items: center;
        text-align: left;
      }
    }

    #footer-embed .hg-footer__copy {
      margin: 0;
      font-size: 12px;
      line-height: 1.4;
      color: rgba(232, 240, 250, 0.78);
      font-family: "DM Sans", system-ui, sans-serif;
    }

    #footer-embed .hg-footer__brand {
      display: inline-flex;
      align-items: center;
      line-height: 0;
      text-decoration: none;
    }

    /* Logo weiß auf Dark Theme */
    #footer-embed .hg-footer__brand img {
      display: block;
      height: clamp(26px, 5vw, 34px);
      width: auto;
      filter: brightness(0) invert(1);
    }

    @media (prefers-reduced-motion: reduce) {
      #footer-embed .hg-f-cosmic__shimmer {
        animation: none !important;
      }

      #footer-embed .hg-f-cosmic__shimmer {
        transform: none;
        opacity: 0.65;
      }

      #footer-embed .hg-f-cosmic__warp::before,
      #footer-embed .hg-f-cosmic__warp::after {
        animation: none !important;
      }

      #footer-embed .hg-f-cosmic {
        animation: none !important;
        background-position: 8% 50%, 8% 50%, 0 0, 0 0;
      }
    }
  