/* Basis-Klasse für alle Container */
    .ambient-container {
        position: relative;
        width: auto;
        color: white;
        z-index: 10;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        /* Fallback-Radius */
        border: 1px solid rgba(255, 255, 255, 0.64);

        /* Injektion der physikalischen Variablen */
        transform: translate3d(var(--js-x, 0px), var(--js-y, 0px), 0) rotateX(var(--js-rotX, 0deg)) rotateY(var(--js-rotY, 0deg));

        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        /* Verhindert das Rendern, wenn nicht im Sichtbereich */
        content-visibility: auto;
        contain-intrinsic-size: 0 500px;
        /* Schätzwert der Höhe, um Layout-Sprünge zu verhindern */

        /* Lagert die 3D-Effekte auf die Grafikkarte (GPU) aus */
        will-change: transform;
    }

    .ambient-container.frozen {
        transition: none !important;
    }

    /* Standard-Glashintergrund (Fallback, falls fx-liquid nicht aktiv ist) */
    .glass-bg-fallback {
        position: absolute;
        inset: 0;
        z-index: -4;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: inherit;
    }

    /* ==========================================================================
       MODULARE GLASS LAYER STYLES (Werden nur sichtbar bei Klasse .fx-liquid)
       ========================================================================== */
    .liquidGlass-effect,
    .liquidGlass-tint,
    .liquidGlass-shine {
        position: absolute;
        inset: 0;
        display: none;
        /* Standardmäßig aus */
        border-radius: inherit;
    }

    .ambient-container.fx-liquid .liquidGlass-effect {
        display: block;
        z-index: -3;
        backdrop-filter: blur(10px);
        filter: url(#glass-distortion);
    }

    .ambient-container.fx-liquid .liquidGlass-tint {
        display: block;
        z-index: -2;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ambient-container.fx-liquid .liquidGlass-shine {
        display: block;
        z-index: -1;
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0) 60%);
    }

    /* Inhaltsschutz */
    .glass-content {
        position: relative;
        z-index: 2;
    }

    .badge {
        background: rgba(255, 255, 255, 0.15);
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        text-transform: uppercase;
    }

    h3 {
        margin: 15px 0 10px;
        font-size: 1.3rem;
    }

    p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        line-height: 1.5;
    }

    @keyframes moveBackground {
        from {
            background-position: 0% 0%;
        }

        to {
            background-position: 0% -500%;
        }
    }

section {
  background: rgb(255, 255, 255);
  scroll-margin-top: calc(4rem + 76px) !important;
}

.site-width {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
}

.section-space {
  padding: 116px 0;
}



.section-space#kontakt {
  background: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #737986;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.display-title {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.06;
  font-weight: 800;
}

.intro-copy {
  color: var(--muted);
  line-height: 1.8;
  margin: 20px 0 0;
  max-width: 680px;
}

.line-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 19px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.solid-button:hover,
.line-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(31, 37, 48, 0.11);
}

.line-button {
  border: 1px solid #dfe3e8;
  color: #343944;
  background: #fff;
}

.line-button svg,
.solid-button svg {
  width: 15px;
  height: 15px;
}

.nav-shell {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 233, 238, 0.8);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f232b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  width: 23px;
  height: 23px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.wordmark-mark span {
  border-radius: 50%;
  background: #20232a;
}

.wordmark-mark span:nth-child(2) {
  background: #f40856;
}

.wordmark-mark span:nth-child(3) {
  background: #269de8;
}

.studio-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.studio-nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #676d78;
  transition: 0.2s ease;
}

.studio-nav a:hover {
  color: #009c9f;
  transform: scale(0.95);
}

.nav-cta {
  background: #009c9f;
  color: #fff;
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.nav-cta:hover {
    background: #006b6d;
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #20232a;
  padding: 8px;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  color: #505661;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}


@media (max-width: 820px) {
  .site-width {
    width: min(100% - 32px, 1240px);
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav.open {
    display: flex;
  }

  .studio-nav, .nav-cta {
    display: none;
  }
}